/* Solar Team Twente - WordPress overrides (loaded after site.css) */

/* ---- logged-in admin bar: the menu is position:fixed ---- */
body.admin-bar .full-menu-holder{top:32px}
@media (max-width:782px){body.admin-bar .full-menu-holder{top:46px}}

/* ---- buttons: core/button renders <a class="wp-block-button__link">, the original used <a class="button"> ---- */
.wp-block-buttons,.wp-block-buttons.is-layout-flex{display:block;margin:0}
.wp-block-buttons .wp-block-button{display:inline-block}
.wp-block-buttons .wp-block-button .wp-block-button__link{background-color:var(--button-background);color:var(--button-color);text-decoration:none!important;transition:all .4s;border-radius:0;padding:14px 25px;border:1px solid var(--button-background);display:inline-block;cursor:pointer;font-family:Avenir-Medium,sans-serif;font-size:inherit;line-height:inherit}
.wp-block-buttons .wp-block-button .wp-block-button__link:hover{background-color:var(--hover-button-background);color:var(--hover-button-color);border:1px solid var(--hover-button-color)}
.wp-block-buttons .wp-block-button .wp-block-button__link::after{content:"";display:inline-block;width:9px;height:15px;margin-left:10px;margin-top:-4px;vertical-align:middle;background-color:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 15'%3E%3Cpolyline points='1.8 1.4 7.9875 7.5875 1.8 13.775' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 15'%3E%3Cpolyline points='1.8 1.4 7.9875 7.5875 1.8 13.775' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;transition:all .4s}
.wp-block-buttons .wp-block-button .wp-block-button__link:hover::after{margin-left:20px}

/* ---- overview cards: the whole card is clickable through the "Read more" link ---- */
.overzicht-item{cursor:pointer}
.overzicht-item p{margin-bottom:0}
.overzicht-item .read-more a{color:inherit;text-decoration:none}
.overzicht-item .read-more a::before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1}
.overzicht-item .read-more a::after{content:"";display:inline-block;width:9px;height:15px;margin-left:10px;margin-top:-2px;vertical-align:middle;background-color:var(--purple);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 15'%3E%3Cpolyline points='1.8 1.4 7.9875 7.5875 1.8 13.775' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 15'%3E%3Cpolyline points='1.8 1.4 7.9875 7.5875 1.8 13.775' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;transition:all .4s}
.overzicht-item:hover .read-more a::after{margin-left:20px}

/* ---- block editor output ---- */
figure.wp-block-image{margin:0}
.image-holder figure.wp-block-image,.large-image figure.wp-block-image{height:100%;margin:0}
.has-gap-top{padding-top:30px}
.stt-p-image{margin-bottom:20px}
.wp-block-image img{max-width:100%}
.text-holder .wp-block-buttons .wp-block-button .wp-block-button__link{color:var(--button-color)}
.text-holder .wp-block-buttons .wp-block-button .wp-block-button__link:hover{color:var(--hover-button-color)}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}

/* ---- form feedback ---- */
.stt-form-message{padding:14px 20px;margin-bottom:25px;border-left:4px solid var(--purple);background:#fff}
.stt-form-message.is-success{border-color:#2e9e4f}
.stt-hp{position:absolute!important;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

/* ---- news list (posts page) ---- */
.stt-news{padding-bottom:75px}
.stt-news .stt-pagination{margin-top:50px;text-align:center}
.stt-news .stt-pagination .page-numbers{display:inline-block;padding:8px 14px;margin:0 3px;background:#fff;text-decoration:none}
.stt-news .stt-pagination .current{background:var(--button-background);color:#fff}
.stt-news .overzicht-item .date{color:var(--card-date-color);font-size:15px;padding-top:0}
.stt-article{max-width:870px;margin:0 auto 100px;padding:0 40px}
.stt-article img{max-width:100%;height:auto}

/* ---- dividers: match the original <hr> (thin light grey line) and beat WordPress' separator block styles ---- */
hr.wp-block-separator,.wp-block-separator.has-alpha-channel-opacity{border:0!important;border-top:1px solid #e5e7eb!important;background:none!important;color:inherit!important;opacity:1!important;width:auto!important;max-width:none!important;height:0!important;margin:0!important}

/* ---- latest news block ([stt_news]) ---- */
.stt-latest-news .stt-news-intro{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px 30px}
.stt-latest-news .stt-news-intro .intro-container,.stt-latest-news .stt-news-intro .button-column{padding-bottom:0}
.stt-latest-news .stt-news-intro h2{margin-bottom:0}
.stt-latest-news .overview-button{margin-top:0;padding:16px 25px}
.stt-latest-news .overview-button::after{content:"";display:inline-block;width:9px;height:15px;margin-left:10px;margin-top:-2px;vertical-align:middle;background-color:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 15'%3E%3Cpolyline points='1.8 1.4 7.9875 7.5875 1.8 13.775' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 15'%3E%3Cpolyline points='1.8 1.4 7.9875 7.5875 1.8 13.775' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;transition:all .4s}
.stt-latest-news .overview-button:hover::after{margin-left:20px}

/* the rows: photo | date | title | read more */
.stt-latest-news .item{color:var(--body-color-dark);display:block}
.stt-latest-news .stt-news-row{display:grid;grid-template-columns:200px 175px 1fr auto;align-items:stretch;min-height:140px}
.stt-latest-news .item .item-column-holder{height:100%}
.stt-latest-news .item .image-grid-column{overflow:hidden}
.stt-latest-news .item .image-grid-column .item-column-holder,.stt-latest-news .item .image-grid-column figure{height:100%;width:100%;margin:0}
.stt-latest-news .item .image-grid-column img{height:100%;width:100%;object-fit:cover;display:block}
.stt-latest-news.svelte-fvauz4 .item .date-column.svelte-fvauz4{display:flex;align-items:center;justify-content:center;height:100%;width:100%;padding:0 20px 0 5px}
.stt-latest-news.svelte-fvauz4 .item .date.svelte-fvauz4{font-size:15px;line-height:1.4;text-align:center;color:var(--card-date-color)}
.stt-latest-news.svelte-fvauz4 .item .title-column.svelte-fvauz4{display:flex;flex-direction:column;justify-content:center;padding:30px 25px}
.stt-latest-news.svelte-fvauz4 .item .title-column h3.svelte-fvauz4{margin:0}
.stt-latest-news.svelte-fvauz4 .item .stt-news-excerpt{margin:8px 0 0;font-size:16px;line-height:1.5;color:var(--body-color);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.stt-latest-news .item .read-more{white-space:nowrap}
.stt-latest-news .item .read-more::after{content:"";display:inline-block;width:9px;height:15px;margin-left:10px;margin-top:-2px;vertical-align:middle;background-color:var(--purple);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 15'%3E%3Cpolyline points='1.8 1.4 7.9875 7.5875 1.8 13.775' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 15'%3E%3Cpolyline points='1.8 1.4 7.9875 7.5875 1.8 13.775' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;transition:all .4s}
.stt-latest-news .item:hover .read-more::after{margin-left:20px}

/* site.css hides the photo and date columns below 1024px, so drop their tracks too */
@media only screen and (max-width:1024px){
	.stt-latest-news .stt-news-row{grid-template-columns:1fr auto;min-height:0}
}
@media only screen and (max-width:767px){
	.stt-latest-news .stt-news-row{grid-template-columns:1fr}
	.stt-latest-news .item .read-more-column{display:flex}
	.stt-latest-news.svelte-fvauz4 .item .title-column.svelte-fvauz4{padding:25px 20px 10px}
	.stt-latest-news.svelte-fvauz4 .item .stt-news-excerpt{-webkit-line-clamp:3}
}