/** 
 *  News display styles 
 */


/** News item poster */
.section--news_poster {
    position: relative;
    width: 100%;
    height: 430px;
    background-color: var(--Grey);
}
    .section--news_poster .poster--bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
        object-position: center center;
    }

    .news_poster--button_wrap {
        position: relative;
        padding-top: 104px;
        z-index: 2;
    }
    .news_poster--button_wrap .news_poster--back_button {
        width: max-content;
    }


/** News item */
.section-news_item {
    margin-bottom: 52px;
    --Max-Width: 1168px;
}
.section-news_item h2 {
    margin-top: 36px;
    margin-bottom: 36px;
    max-width: var(--Max-Width);
}
.section-news_item h4 {
    margin-top: 24px;
    margin-bottom: 24px;
    max-width: var(--Max-Width);
}
.section-news_item h3 {
    max-width: var(--Max-Width);
    margin-top: 38px;
    margin-bottom: 12px;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.6em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--Black);
}
.section-news_item p {
    max-width: var(--Max-Width);
    font-size: 14px;
    font-style: normal;
    font-weight: 350;
    line-height: 1.6em;
    letter-spacing: 0.05em;
    margin-bottom: 1em;
}
.section-news_item p strong {
    font-weight: 700;
}
.section-news_item p.has-small-font-size {
    font-size: 12px;
}
.section-news_item ol.references {
    margin-left: 1.5em;
}
.section-news_item ul,
.section-news_item ol {
    margin-bottom: 1em;
}
.section-news_item li {
    max-width: var(--Max-Width);
    font-size: 14px;
    font-style: normal;
    font-weight: 350;
    line-height: 1.6em;
    letter-spacing: 0.05em;
}
.section-news_item a {
    font-weight: 500;
    text-decoration-line: underline;
    transition: color 0.3s;
}
.section-news_item .gb_gallery--container + h3 {
    margin-top: -12px;
}

@media (hover: hover) {
    .section-news_item a:hover {
        color: var(--Dark-Violet);
    }
}



@media (max-width: 1066px) {
}
@media (max-width: 768px) {
    .section-news_item h2 {
        margin-top: 28px;
        margin-bottom: 28px;
    }
    .section-news_item h3 {
        margin-top: 35px;
        font-size: 14px;
    }
}
@media (max-width: 450px) {
    .news_poster--button_wrap {
        padding-top: 82px;
    }
    .section-news_item h2 {
        margin-top: 24px;
        margin-bottom: 24px;
    }
    .section-news_item h3 {
        margin-top: 32px;
        font-size: 14px;
    }
}


/** News archive */
.news_cat--container {
    display: flex;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px;
    margin-top: 32px;
}
.news_cat--container .news_block--item {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 24px;
    width: 33.333333%;
}

@media (max-width: 1066px) {
    .news_cat--container .news_block--item {
        width: 50%;
    }
}
@media (max-width: 650px) {
    .news_cat--container .news_block--item {
        width: 100%;
    }
}



/* Board members template */
.wp-block-media-text.board-members {
    margin: 30px 0; 
}
.wp-block-media-text.board-members figure img {
    height: auto; 
}

@media (max-width: 900px) {
    .wp-block-media-text.board-members {
        grid-template-columns: 40% auto !important;
    }
}
@media (max-width: 785px) {
	.wp-block-media-text.board-members {
		grid-template-columns: 100% !important;
	}
	.wp-block-media-text.board-members .wp-block-media-text__media {
		grid-column: 1;
		grid-row: 1;
	}	
	.wp-block-media-text.board-members .wp-block-media-text__content {
		grid-column: 1;
		grid-row: 2;
		padding: 20px 0;
	}	
}
@media (max-width: 592px) {
	.wp-block-media-text.board-members .wp-block-media-text__content {
		padding: 20px 0 10px;
	}	
}

/** Youtube embed */
.section-news_item .wp-block-embed-youtube .wp-block-embed__wrapper {
    padding-top: 56.25%;
    width: 100%;
}
.section-news_item .wp-block-embed-youtube iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


