/** 
 *  Poster styles 
 */

.section--poster {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: 136px;
    padding-bottom: 56px;
    background-color: var(--Dark-Grey);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}
    .poster--bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }
    .poster--mask {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        background: rgba(0, 0, 0, 0.50);
        z-index: 2;
    }

/** Home page - box style */
.poster--box_container {
    position: relative;
    z-index: 5;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
    .poster--box_container h1 {
        line-height: 1.25em;
        color: var(--White); 
    }
    .poster--box_container p {
        margin-bottom: 6px;
        letter-spacing: 0.07em;
        color: var(--White);
    }
    .poster--box_container .button--item {
        margin-top: 24px;
        width: max-content;
    }
    /* .poster--box_container .button--item.button--style_contacts {
        margin-top: 72px;
    } */


.poster--top_frame {
    padding-bottom: 28px;
    max-width: 550px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.poster--bottom_frame {
    padding-top: 28px;
    max-width: 540px;
}
    .poster--bottom_box {
        padding: 24px 96px 24px 24px;
        background: var(--Blue); 
    }

.poster_style--box_centered .poster--bottom_frame {
    flex-grow: 1;
}

@media (max-width: 1024px) {
    .poster--top_frame,
    .poster--bottom_frame {
        max-width: calc(100vw - 400px);
    }
    .poster--bottom_box {
        padding-right: 64px;
    }
    .poster_style--box_centered .poster--bottom_frame {
        flex-grow: 0;
    }
    .poster--box_container h1 {
        font-size: 48px; 
        line-height: 1.15em;
    }
    /* .poster--box_container .button--item.button--style_contacts {
        margin-top: 52px;
    } */
}
@media (max-width: 900px) {
    .poster--top_frame,
    .poster--bottom_frame {
        max-width: calc(100vw - 300px);
    }
}
@media (max-width: 768px) {
    .poster--top_frame,
    .poster--bottom_frame {
        max-width: calc(100vw - 200px);
    }
    .poster--box_container h1 {
        font-size: 44px; 
    }
    /* .poster--box_container .button--item.button--style_contacts {
        margin-top: 40px;
    } */
}
@media (max-width: 600px) {
    .poster--top_frame,
    .poster--bottom_frame {
        max-width: calc(100vw - 140px);
    }
    .poster--top_frame {
        padding-bottom: 24px;
    }   
    .poster--bottom_frame {
        padding-top: 24px;
    }    
    .poster--bottom_box {
        padding-right: 24px;
    }
    .poster--box_container h1 {
        font-size: 42px; 
    }
}
@media (max-width: 450px) {
    .section--poster {
        padding-top: 116px;
        padding-bottom: 104px;
    }
    .poster--top_frame,
    .poster--bottom_frame {
        max-width: calc(100vw - 80px);
    }
    .poster--top_frame {
        padding-bottom: 20px;
    }   
    .poster--bottom_frame {
        padding-top: 20px;
    }    
    .poster--bottom_box {
        padding-right: 24px;
    }
    .poster--box_container h1 {
        font-size: 38px; 
    }
}



/** Cross */
.poster--hair_line {
    position: absolute;
    background: transparent;
    opacity: 0.25;
    pointer-events: none;
    z-index: 3;
}
    .poster--mouseout .poster--hair_line {
        transition: all 1s;
    }
    .poster--hair_hl {
        left: 0;
        border-top: 1px solid var(--Light-Grey);
    }
    .poster--hair_hr {
        right: 0;
        border-top: 1px solid var(--Light-Grey);
    }
    .poster--hair_vt {
        top: 80px;
        border-left: 1px solid var(--Light-Grey);
    }
    .poster--hair_vb {
        bottom: 0;
        border-left: 1px solid var(--Light-Grey);
    }



/** About us page - box style */
/* .page--about_us .poster--bottom_box {
    padding-bottom: 82px;
}
@media (max-width: 600px) {
    .page--about_us .poster--bottom_box {
        padding-bottom: 24px;
    }
} */




/** News page */
.poster_style--news.section--poster {
    padding-bottom: 124px;
}
.poster_style--news .poster--mask {
    background: rgba(0, 0, 0, 0.50);
}
.poster--news_container {
    position: relative;
    z-index: 5;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

}
.poster--news_container > * {
    max-width: 865px;
}


.poster--news_tags {
    margin-bottom: 16px;
}
    .poster--news_tags button {
        cursor: default;
    }
.poster--news_container h1 {
    color: var(--White);
    margin-bottom: 16px;
}
.poster--news_summary {
    font-size: 16px;
    font-style: normal;
    font-weight: 350; 
    line-height: 1.75em;
    letter-spacing: 0.04em;
    color: var(--Soft-Grey);
}
.poster--news_button {
    margin-top: 26px;
    width: fit-content;
}

@media (max-width: 1200px) {
    .poster--news_container > * {
        max-width: 720px;
    }
}
@media (max-width: 900px) {
    .poster_style--news.section--poster {
        padding-bottom: 72px;
    }
    .poster--news_container > * {
        max-width: unset;
    }
    .poster--news_container h1 {
        font-size: 48px;
    }
}
@media (max-width: 720px) {
    .poster--news_container h1 {
        font-size: 42px;
        line-height: 1.25em;
    }
    .poster--news_summary {
        line-height: 1.6em;
    }
}
@media (max-width: 450px) {
    .poster_style--news.section--poster {
        padding-bottom: 104px;
    }
    .poster--news_container h1 {
        font-size: 38px;
        line-height: 1.25em;
    }
    .poster--news_summary {
        line-height: 1.5em;
    }
}






.poster_style--events.section--poster {
    padding-bottom: 124px;
}
.poster_style--events .poster--mask {
    background: rgba(0, 0, 0, 0.60);
    background-blend-mode: multiply;
}

.poster--events_container {
    position: relative;
    z-index: 5;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

}
.poster--events_container > * {
    max-width: 865px;
}

.poster--events_buttons {
    margin-bottom: 20px;
    font-size: 12px;
    height: 32px;
    border-radius: 16px;
    padding-left: 16px;
    cursor: default;
    width: fit-content;
}
    .poster--events_date svg .object {
        fill: var(--White);
    }
.poster--events_container h1 {
    color: var(--White);
    margin-bottom: 16px;
}
.poster--events_summary p {
    font-size: 16px;
    font-style: normal;
    font-weight: 350; 
    line-height: 1.75em;
    letter-spacing: 0.04em;
    color: var(--Soft-Grey);
}
.poster--events_link {
    margin-top: 26px;
    width: fit-content;
}


@media (max-width: 1200px) {
    .poster--events_container > * {
        max-width: 720px;
    }
}
@media (max-width: 900px) {
    .poster_style--events.section--poster {
        padding-bottom: 72px;
    }
    .poster--events_container > * {
        max-width: unset;
    }
    .poster--events_container h1 {
        font-size: 48px;
    }
}
@media (max-width: 720px) {
    .poster--events_container h1 {
        font-size: 42px;
        line-height: 1.25em;
    }
    .poster--events_summary p {
        line-height: 1.6em;
    }
}
@media (max-width: 450px) {
    .poster_style--events.section--poster {
        padding-bottom: 104px;
    }
    .poster--events_container h1 {
        font-size: 38px;
        line-height: 1.2em;
    }
    .poster--events_summary p {
        line-height: 1.5em;
    }
    .poster--events_buttons {
        font-size: 11px;
        height: 30px;
        margin-bottom: 16px;
    }
    .poster--events_location {
        margin-bottom: 24px;
    }
}
