/* Shared school palette and spacing; native posts stay editable in WordPress. */
.stvm-category-blog {display:block; color:#18322e; font-family:Roboto,sans-serif}
.stvm-category-blog__layout {display:grid;grid-template-columns:minmax(0,840px) 320px;grid-template-rows:min-content 1fr;column-gap:40px;row-gap:32px;align-items:start;padding-top:52px!important;padding-bottom:100px!important}
.stvm-category-blog__filters {grid-column:2;grid-row:1;display:grid;gap:32px}
.stvm-category-blog__results {grid-column:1;grid-row:1 / span 2;min-width:0}
.stvm-category-blog__recent {grid-column:2;grid-row:2;display:grid;gap:32px}
.stvm-category-blog h2 {font:700 22px/1.3 Roboto,sans-serif;color:#18322e;margin:0 0 20px}
.stvm-category-blog__results>h2 {font-size:32px;margin-bottom:26px}
.stvm-category-blog h2 label {font:inherit;margin:0;cursor:pointer}
.stvm-category-blog__search {display:flex;height:52px;border:1px solid #d7e3dc;border-radius:6px;background:#fff;overflow:visible}
.stvm-category-blog__search input[type=search] {width:100%;min-width:0;height:50px;border:0;background:transparent;padding:0 4px 0 16px;font:400 16px/1.5 Roboto,sans-serif;color:#18322e;border-radius:6px}
.stvm-category-blog__search button {display:flex;align-items:center;justify-content:center;flex:0 0 48px;min-width:44px;height:50px;padding:0;border:0;background:transparent;color:#007a70;border-radius:6px}
.stvm-category-blog__search svg {width:18px;height:18px}
.stvm-category-blog__tag-list,.stvm-category-blog__badges {display:flex;gap:8px;flex-wrap:wrap}
.stvm-category-blog__tag {display:inline-flex;align-items:center;min-height:32px;padding:5px 11px;background:#e6f2ed;border:1px solid transparent;border-radius:6px;color:#007a70;font:500 14px/1.45 Roboto,sans-serif;overflow-wrap:anywhere}
.stvm-category-blog__tag:hover,.stvm-category-blog__tag[aria-current] {border-color:#007a70;color:#005c54;text-decoration:underline}
.stvm-category-blog__cards {display:grid;gap:28px}
.stvm-category-blog__card {background:#fff;border:1px solid #d7e3dc;border-radius:10px;overflow:hidden;box-shadow:none}
.stvm-category-blog__card-body {padding:24px;display:flex;flex-direction:column;gap:18px}
.stvm-category-blog__meta {display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#52665f;font-size:14px;line-height:1.6}
.stvm-category-blog__meta time {padding-top:5px;white-space:nowrap}
.stvm-category-blog__badges {justify-content:flex-end;margin-left:auto;flex:1 1 160px}
.stvm-category-blog__card .stvm-category-blog__meta {flex-direction:column;align-items:flex-start;gap:18px}
.stvm-category-blog__card .stvm-category-blog__badges {justify-content:flex-start;margin-left:0;flex:none}
.stvm-category-blog__card .stvm-category-blog__meta time {padding-top:0}
.stvm-category-blog__card :is(h2,h3) {font:700 28px/1.25 Roboto,sans-serif;overflow-wrap:anywhere}
/* Card spacing comes from the flex gap, including below responsive H2 titles. */
.stvm-category-blog .stvm-category-blog__card-body > :is(h2,h3) {margin:0}
.stvm-category-blog__card :is(h2,h3) a {color:#18322e}
.stvm-category-blog__excerpt {font:400 16px/1.65 Roboto,sans-serif;color:#52665f;margin:0;overflow-wrap:anywhere}
.stvm-category-blog__read-more {align-self:flex-start;display:inline-flex;align-items:center;gap:14px;color:#007a70;font:700 15px/1.6 Roboto,sans-serif;min-height:36px}
.stvm-category-blog a:hover {text-decoration:underline}
.stvm-category-blog a:focus-visible,.stvm-category-blog button:focus-visible,.stvm-category-blog input:focus-visible {outline:2px solid #007a70;outline-offset:3px}
.stvm-category-blog__status {color:#52665f;margin:0 0 20px;font-size:16px;line-height:1.6}
.stvm-category-blog__status a,.stvm-category-blog__empty a,.stvm-category-blog__return {color:#007a70;font-weight:500}
.stvm-category-blog__empty {padding:24px;border:1px solid #d7e3dc;border-radius:10px;line-height:1.65}
.stvm-category-blog__empty p {color:#52665f;margin-bottom:14px}
.stvm-category-blog__recent-list {list-style:none;margin:0;padding:0;display:grid;gap:22px}
.stvm-category-blog__recent-list a {display:flex;align-items:flex-start;gap:14px;color:#18322e}
.stvm-category-blog__recent-list img {width:64px;height:64px;object-fit:cover;border-radius:6px;flex:0 0 64px}
.stvm-category-blog__recent-list span {display:grid;gap:5px;min-width:0}
.stvm-category-blog__recent-list time {font-size:13px;line-height:1.5;color:#52665f}
.stvm-category-blog__recent-list strong {font-size:16px;line-height:1.45;font-weight:500}
.stvm-category-blog__return {display:inline-block;min-height:36px;font-size:15px;line-height:1.6}
.stvm-category-blog .pagination {margin-top:32px}
.stvm-category-blog .nav-links {display:flex;flex-wrap:wrap;gap:8px}
.stvm-category-blog .page-numbers {display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #d7e3dc;border-radius:6px;color:#007a70}
.stvm-category-blog .page-numbers.current {background:#007a70;color:white}
.stvm-category-blog__article-header {padding:26px 0 38px;background:#f1f6f3}
.stvm-category-blog__article-header h1 {font:700 42px/1.2 Roboto,sans-serif;margin:16px 0 24px;color:#18322e;max-width:960px;overflow-wrap:anywhere}
.stvm-category-blog__article-header .stvm-category-blog__meta {max-width:840px}
.stvm-category-blog__eyebrow {font-size:14px;font-weight:700;color:#007a70;letter-spacing:1px;margin:28px 0 0}
.stvm-category-blog .stvm-category-blog__article {padding-top:44px!important;padding-bottom:80px!important;max-width:840px}
.stvm-category-blog__content {font-size:18px;line-height:1.75;color:#52665f;overflow-wrap:anywhere}
.stvm-category-blog__content p {font:inherit;color:inherit;margin:0 0 24px}
.stvm-category-blog__content .gallery {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:32px 0}
.stvm-category-blog__content .gallery-item {width:auto!important;float:none!important;margin:0!important}
.stvm-category-blog__content .gallery img {display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border:0!important;border-radius:6px}
.stvm-category-blog__content .gallery br {display:none}
.stvm-category-blog__content .gallery a {display:block}
.stvm-category-blog__fallback {padding:40px}
@media(max-width:1024px){.stvm-category-blog__layout {grid-template-columns:minmax(0,1fr);gap:34px}.stvm-category-blog__filters {grid-column:1;grid-row:1;grid-template-columns:1fr 1fr;gap:28px}.stvm-category-blog__results {grid-column:1;grid-row:2}.stvm-category-blog__recent {grid-column:1;grid-row:3}.stvm-category-blog__recent-list {grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}}
@media(max-width:767px){.stvm-category-blog__layout {padding-top:34px!important;padding-bottom:70px!important;gap:32px}.stvm-category-blog__filters {grid-template-columns:1fr;gap:26px}.stvm-category-blog h2 {font-size:22px;margin-bottom:16px}.stvm-category-blog__results>h2 {font-size:28px;margin-bottom:22px}.stvm-category-blog__card-body {padding:22px;gap:16px}.stvm-category-blog__card :is(h2,h3) {font-size:21px;line-height:1.3}.stvm-category-blog__cards {gap:22px}.stvm-category-blog__recent-list {grid-template-columns:1fr;gap:20px}.stvm-category-blog__article-header h1 {font-size:32px}.stvm-category-blog .stvm-category-blog__article {padding-top:30px!important}.stvm-category-blog__content {font-size:17px}.stvm-category-blog__content .gallery {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

/* Saved archive heroes share the reset; Elementor defaults otherwise add 10px side gutters. */
.stvm-about.stvm-category-blog-hero-template {width:100%;max-width:none;padding:0;gap:0;--gap:0;--padding-top:0;--padding-bottom:0;--padding-left:0;--padding-right:0}
@media(prefers-reduced-motion:reduce){.stvm-category-blog *,.stvm-category-blog *::before,.stvm-category-blog *::after{transition:none!important;scroll-behavior:auto!important}}

/* The frame owns the crop; intrinsic attachment dimensions never change its ratio. */
.stvm-category-blog__photo-frame {position:relative;aspect-ratio:16/9;overflow:hidden}
.stvm-category-blog .stvm-category-blog__photo-frame img {position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:center;margin:0}
.stvm-category-blog__article-photo-frame {border-radius:10px;margin-bottom:32px}

/* Single category blog article: shared archive sidebar, with editorial metadata in reading order. */
.stvm-category-blog__single-layout > .stvm-category-blog__article {grid-column:1;grid-row:1 / span 2;min-width:0;padding:0!important;max-width:none}
.stvm-category-blog--single .stvm-category-blog__article-photo-frame {margin-bottom:18px}
.stvm-category-blog__article-tags {display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 18px;font-size:18px;color:#18322e}
.stvm-category-blog__article-tags .stvm-category-blog__badges {flex:initial;margin:0;justify-content:flex-start}
.stvm-category-blog--single .stvm-category-blog__content .gallery {grid-template-columns:repeat(auto-fill,minmax(min(160px,100%),1fr));gap:12px}
.stvm-category-blog--single .stvm-category-blog__content .gallery-item {max-width:none;padding:0}
.stvm-category-blog--single .stvm-category-blog__content .gallery a {width:100%;max-width:100%;border-radius:6px}
.stvm-category-blog--single .stvm-category-blog__content .gallery img {width:100%;height:auto;aspect-ratio:4/3}
.stvm-history-lightbox [tabindex="0"]:focus-visible {outline:2px solid #fff;outline-offset:3px;border-radius:0}
@media(max-width:1024px){.stvm-category-blog__single-layout > .stvm-category-blog__article {grid-row:1}.stvm-category-blog__single-layout .stvm-category-blog__filters {grid-row:2}.stvm-category-blog__single-layout .stvm-category-blog__recent {grid-row:3}}
/* Migrated inline logos and schedules retain source width, position and proportions. */
.stvm-category-blog__content > p img {max-width:100%;height:auto;vertical-align:middle}
