/* Keep shared school layouts and the established SERŠTG green. */
/* Match SZKŠ's 150px feature thumbnail even when the illustration is full size. */
.unit-serstg.unit-home .wp-block-scnm-fullscreen-image-window .wp-block-gallery { width:150px; max-width:100%; }
.unit-serstg .scnm-serstg-related { margin-top:2.5rem; border-top:1px solid #ddd; padding-top:1.5rem; }
.unit-serstg .scnm-serstg-related ul { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr)); gap:.7rem 2rem; padding-left:1.2rem; }
.unit-serstg .scnm-serstg-related a { color:#006d29; text-underline-offset:.2em; }
.unit-serstg .serstg-program-cta a,
.unit-serstg .serstg-fact-label,
.unit-serstg .scnm-news-card__date { color:#006d29; }
.unit-serstg .serstg-legacy-content { overflow-wrap:anywhere; }
.unit-serstg .scnm-info-main { min-width:0; max-width:100%; }
.unit-serstg .serstg-legacy-content table { max-width:100%; }
.unit-serstg .serstg-legacy-content img { max-width:100%; height:auto; }
.unit-serstg .serstg-archive-notice { padding:1rem 1.25rem; background:#eef7f0; border-left:4px solid #006d29; color:#173b24; line-height:1.6; }
.unit-serstg details { scroll-margin-top:7rem; }
.unit-serstg details > summary { cursor:pointer; padding:1rem 1.25rem; background:#eef7f0; color:#173b24; font-weight:700; border-left:4px solid var(--wp--preset--color--primary); }
.unit-serstg details[open] > summary { margin-bottom:1rem; }
.unit-serstg .scnm-news-card__no-img { background:#eef7f0 url('/wp-content/uploads/2026/03/scnmLogo.png') center / 50% auto no-repeat; }
.unit-serstg .serstg-video { position:relative; width:100%; max-width:100%; min-width:0; aspect-ratio:16/9; background:#eef7f0; }
.unit-serstg .serstg-video iframe { width:100%; height:100%; border:0; }
.unit-serstg .serstg-video [data-scnm-external-placeholder] { position:absolute; inset:0; padding:clamp(1rem,4vw,3rem); display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.unit-serstg .serstg-video [data-scnm-external-placeholder][hidden] { display:none; }
.unit-serstg .serstg-video button { padding:.8rem 1.2rem; border:0; background:#006d29; color:white; cursor:pointer; }
@media(max-width:781px){
 .unit-serstg .serstg-legacy-content { overflow-x:auto; }
 .unit-serstg .serstg-video { min-height:19rem; }
}
