/* Structural Designs — theme-level helpers (accessibility, WordPress glue, generic pages).
   Page designs live in their own per-view stylesheets. */

/* --- base reset (the designs were authored for a bare <body>) --- */
html{-webkit-text-size-adjust:100%}
body{margin:0}

/* --- accessibility --- */
.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!important;width:1px;word-wrap:normal!important}
.screen-reader-text:focus,.skip-link:focus{background:#fff;clip:auto!important;clip-path:none;color:#153247;display:block;font:600 14px/1 "Inter",sans-serif;height:auto;left:8px;padding:14px 20px;top:8px;width:auto;z-index:100000;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,.25)}

/* --- header: let the sticky header travel the whole page (wrapper must not become its containing block) --- */
#sd-header-lock{display:contents}
.admin-bar #sd-header-lock header{top:32px!important}
@media (max-width:782px){.admin-bar #sd-header-lock header{top:46px!important}}

/* --- WordPress core alignment / media --- */
.alignleft{float:left;margin:0 1.5em 1em 0}
.alignright{float:right;margin:0 0 1em 1.5em}
.aligncenter{display:block;margin:0 auto 1em}
.wp-caption{max-width:100%}
.wp-caption-text{font-size:.85rem;color:#63798C;text-align:center}

/* --- blog glue: featured images, load-more anchor, featured card link --- */
.post-thumb img,.card-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.recent-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.hero-figure img{width:100%;height:auto;display:block}
a.load-more{display:inline-block;text-decoration:none;cursor:pointer}
a.load-more.is-loading{opacity:.6;pointer-events:none}
a.featured-link{display:block;color:inherit;text-decoration:none}
a.recent-item{color:inherit;text-decoration:none}
.comment-form{display:block}
.comment-form p{margin:0}

/* --- generic pages (page.php, search, archive, 404) --- */
.sd-gen-hero{position:relative;background:#153247;color:#fff;padding:64px 0 56px;overflow:hidden}
.sd-gen-hero::before{content:"";position:absolute;inset:0;opacity:.08;background-image:linear-gradient(rgba(255,255,255,.7) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.7) 1px,transparent 1px);background-size:52px 52px}
.sd-gen-wrap{position:relative;width:min(1100px,92%);margin:0 auto}
.sd-gen-hero h1{font-family:"Space Grotesk",sans-serif;font-weight:700;font-size:clamp(28px,4vw,44px);line-height:1.15;margin:0;color:#fff}
.sd-gen-body{padding:56px 0 80px;font-family:"Inter",sans-serif;color:#243748;line-height:1.7}
.sd-gen-body h2{font-family:"Space Grotesk",sans-serif;color:#153247;margin:0 0 6px}
.sd-gen-body a{color:#153247}
.sd-gen-body a:hover{color:#6798BA}
.sd-gen-item{padding:22px 0;border-bottom:1px solid #DCE6ED}
.sd-gen-meta{font:12.5px "Space Mono",monospace;color:#63798C;margin-bottom:6px}
.sd-gen-btn{display:inline-block;background:#81A6C6;color:#fff!important;font-weight:600;padding:12px 22px;border-radius:10px;text-decoration:none;margin:0 10px 10px 0}
.sd-gen-btn:hover{background:#6798BA}
.sd-gen-btn--ghost{background:transparent;color:#153247!important;border:1.5px solid #DCE9F2}
.sd-gen-pager{margin-top:28px}
.sd-gen-content img{max-width:100%;height:auto}

/* the supplied blog design sets the featured-post title in a navy that disappears on its navy card */
.featured-card .featured-title{color:#EAF2F8}
