/* --------------------------------------------|
|                                              |
| PAGE & SINGLE-POST                           |
|                                              |
|-------------------------------------------- */
/* --------------------------------------------|
|                                              |
| Header                                       |
|                                              |
|-------------------------------------------- */

.page:not(.home) .container_wrap_first .template-page.content,
.single-post .container_wrap_first .template-page.content {
    padding-top: 0 !important;
}

.page:not(.home) .header_bg,
.single-post .header_bg {
    display: none;
}

.page:not(.home) .logo.avia-svg-logo,
.single-post .logo.avia-svg-logo {
    margin-left: 200px;
}

@media (max-width: 768px) {
    .page:not(.home) .logo.avia-svg-logo,
    .single-post .logo.avia-svg-logo {
        margin-left: 60px;
    }
}

.page:not(.home) .logo.avia-svg-logo .logo__eles,
.page:not(.home) .logo.avia-svg-logo .logo__studienwerk,
.single-post .logo.avia-svg-logo .logo__eles,
.single-post .logo.avia-svg-logo .logo__studienwerk {
    fill: white !important;
}

.page:not(.home) #wrap_all,
.single-post #wrap_all {
    display: grid;
    grid-template-areas: "stack";
    align-items: start;
    background-color: transparent;
    background-image: url("../img/header-bg-contentpage-left.png"),
        url("../img/header-bg-contentpage-right.png");
    background-position: left top, right top;
    background-size: auto, auto;
    background-repeat: no-repeat, no-repeat;
}

.page:not(.home) #header,
.single-post #header {
    grid-area: stack;
}

.page:not(.home) #main,
.single-post #main {
    grid-area: stack;
}

.post-headerimage {
    width: 100%;
    height: 100%;
}

.page:not(.home) .container_wrap_first .post-entry > div,
.home .page:not(.home) .container_wrap_first .post-entry > div,
.single-post .container_wrap_first .post-entry > div {
    display: grid;
    grid-template-areas:
        "top top top"
        "left content right"
        "content_bottom content_bottom content_bottom";
    grid-template-columns: 160px auto 310px;
    grid-template-rows: 360px 1fr auto;
}

@media (max-width: 1100px) {
    .page:not(.home) .container_wrap_first .post-entry > div,
    .home .page:not(.home) .container_wrap_first .post-entry > div,
    .single-post .container_wrap_first .post-entry > div {
        grid-template-columns: 160px auto 160px;
    }
}

@media (max-width: 768px) {
    .page:not(.home) .container_wrap_first .post-entry > div,
    .home .page:not(.home) .container_wrap_first .post-entry > div,
    .single-post .container_wrap_first .post-entry > div {
        grid-template-columns: 40px auto 40px;
        grid-template-rows: 360px 1fr auto;
    }
}

.hauptnavigation .page:not(.home) .container_wrap_first .post-entry > div,
.hauptnavigation .single-post .container_wrap_first .post-entry > div {
    grid-template-rows: 200px 1fr auto;
}

.post-content {
    grid-area: content;
}

.post-content + * {
    grid-area: content_bottom;
}

.post-headerimage {
    grid-area: top-start / left-start / top-end / right-end;
}

.post-content__text,
.page:not(.home) .post-entry .avia_textblock,
.post-content__accordion,
.page:not(.home) .post-entry .tabcontainer,
.page:not(.home) .post-entry .togglecontainer,
/* .page:not(.home) .post-entry .avia-icon-list-container,*/
.page:not(.home) .post-entry .avia-team-member,
.single-post .post-entry .avia_textblock,
.single-post .post-entry .tabcontainer,
.single-post .post-entry .togglecontainer,
.single-post .post-entry .avia-icon-list-container,
.single-post .post-entry .avia-team-member {
    padding-left: 40px;
    padding-right: 40px;
    background-color: transparent;
}

.post-content__text,
.page:not(.home) .post-entry .avia_textblock,
.single-post .post-entry .avia_textblock {
    padding-top: 35px;
    padding-bottom: 1px;
}

.post-content__text--intro,
.page:not(.home) .post-entry .post-content *:nth-child(2) .avia_textblock,
.page:not(.home)
    .post-entry
    .post-content
    .av-special-heading
    + .av_textblock_section
    .avia_textblock,
.single-post .post-entry .post-content *:nth-child(2) .avia_textblock,
.single-post
    .post-entry
    .post-content
    .av-special-heading
    + .av_textblock_section
    .avia_textblock {
    padding-top: 0;
    padding-bottom: 20px;
    background-color: rgba(254, 254, 254, 0.85) !important;
    position: relative;
    font-weight: bold;
}

.page:not(.home) .post-entry .post-content .av-special-heading,
.single-post .post-entry .post-content .av-special-heading {
    padding-top: 35px;
    padding-left: 40px;
    padding-right: 40px;
    background-color: rgba(254, 254, 254, 0.85);
}

.post--inhaltsseite #main > .main_color:first-of-type {
    background-color: transparent !important;
}

.post-content__text--intro,
.page:not(.home) .post-entry .post-content *:nth-child(3) .avia_textblock,
.single-post .post-entry .post-content *:nth-child(3) .avia_textblock {
    background: linear-gradient(
        to bottom,
        rgba(248, 248, 248, 1),
        rgba(248, 248, 248, 1) 80%,
        rgba(248, 248, 248, 0.5) 100%
    );
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.page-id-6528 .team-member-name {
    font-size: 23px;
    margin-bottom: 15px;
}
.page-id-6528 .post-entry section.avia-team-member {
    padding-left: 20px !important;
    padding-right: 20px !important;
}
.page-id-6528 .post-entry section.avia-team-member .team-member-job-title {
    line-height: 24px;
}
.page-id-6528 .post-entry section.avia-team-member.avia-builder-el-127 .team-member-job-title {
    line-height: 22px;
}