/* Shared header access; result styling is scoped to the search templates. */
.o-header-row{position:relative}
.s-header{margin-left:auto;flex-shrink:0;color:var(--b-white)}
.o-header-row:has(>.s-header)>.wp-block-navigation{margin-left:0;flex-grow:0}
.o-header-row>.s-header{margin-left:auto}
.s-header summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid var(--b-soft);border-radius:8px;cursor:pointer;font-size:1rem;font-weight:600;list-style:none}
.s-header summary::-webkit-details-marker{display:none}
.s-toggle-open,.s-header[open] .s-toggle-closed{display:none}
.s-header[open] .s-toggle-open{display:inline}
.s-header[open] summary>svg{display:none}
.s-header summary:hover,.s-header[open] summary{background:var(--b-deep)}
.s-header-panel{position:absolute;z-index:20;right:0;top:calc(100% - 8px);width:min(580px,100%);box-sizing:border-box;padding:24px;background:white;color:var(--b-night);border:1px solid var(--o-border);border-radius:14px;box-shadow:0 12px 32px #03182b26}
.s-form label{display:block;font-weight:700;margin-bottom:12px}
.s-form-row{display:flex;gap:12px}
.s-form input{min-width:0;flex:1;width:100%;box-sizing:border-box;padding:14px 16px;font:inherit;color:var(--b-night);background:#fff;border:1px solid #7C8793;border-radius:8px;min-height:52px}
.s-form button{font:inherit;font-weight:700;border:0;border-radius:8px;padding:14px 20px;background:var(--o-blue);color:#fff;cursor:pointer;min-height:52px}
.s-form button:hover{background:#004B7D}
.s-form button span{margin-left:12px}
.s-header-panel{padding:16px;width:min(460px,100%)}
.s-header-panel .s-form label{padding-right:44px;margin-bottom:16px;min-height:24px}
.s-header-panel .s-form-row{flex-direction:row;gap:8px}
.s-header-panel .s-form input{padding:10px 12px;min-height:48px;font-size:1rem}
.s-header-panel .s-form button{flex:0 0 48px;width:48px;min-height:48px;padding:0;font-size:1.5rem}
.s-header-panel .s-form button span{margin:0}
.s-close{position:absolute;right:6px;top:6px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--b-night);font:inherit;font-size:1.75rem;cursor:pointer}
.s-close[hidden]{display:none}
.s-close:hover{background:var(--o-surface)}
.s-header :focus-visible,.s-page :focus-visible{outline:3px solid var(--o-blue);outline-offset:4px;box-shadow:0 0 0 3px white}
.s-page{background:var(--o-surface);padding-bottom:48px}
.s-page .s-hero{margin:0;background:linear-gradient(125deg,var(--b-night),var(--b-deep));color:var(--b-white);padding:24px 0 40px}
.s-back{color:var(--b-soft);font-size:1rem;display:inline-flex;align-items:center;min-height:44px}
.s-kicker{color:var(--b-soft);font-size:.8125rem;letter-spacing:.12em;font-weight:700;margin:24px 0 12px}
.s-hero h1{font-size:clamp(2rem,4vw,3rem);line-height:1.12;letter-spacing:-.025em;max-width:30ch;margin:0;overflow-wrap:anywhere;color:inherit}
.s-lead{font-size:1.125rem;color:var(--b-soft);margin:20px 0 28px}
.s-search-box{background:#fff;color:var(--b-night);padding:24px;border:1px solid var(--o-border);border-radius:14px;box-shadow:0 12px 32px #03182b26}
.s-hint{font-size:.9375rem;color:var(--o-muted);margin:20px 0 8px}
.s-suggestions{display:flex;flex-wrap:wrap;gap:8px}
.s-suggestions a{gap:4px}
.s-suggestions a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:999px;background:var(--b-surface);color:var(--o-blue);font-size:.9375rem;text-decoration:none;font-weight:600}
.s-suggestions a:hover{text-decoration:underline;background:var(--o-surface)}
.s-results{padding-top:32px}
.s-results-heading{margin-bottom:24px}
.s-results-heading h2{font-size:1.5rem;color:var(--b-night);margin:0}
.s-results-heading p{font-size:.9375rem;color:var(--o-muted);margin:8px 0 0}
.s-page .e-card-grid .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.s-page .e-card-grid .wp-block-post{box-shadow:0 5px 16px #03182b0d;border-radius:14px}
.s-page .e-card-grid .wp-block-post-featured-image img{height:240px;object-fit:cover}
.s-page .e-card-grid .e-card-copy{padding:24px;gap:16px}
.s-page .e-card-grid .wp-block-post:hover,.s-page .e-card-grid .wp-block-post:focus-within{border-color:var(--o-blue);box-shadow:0 12px 32px #03182b26}
@media(prefers-reduced-motion:no-preference){.s-page .e-card-grid .wp-block-post{transition:transform .2s,box-shadow .2s,border-color .2s}.s-page .e-card-grid .wp-block-post:hover{transform:translateY(-4px)}}
@media(max-width:1500px){.o-header.o-header--pro .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}.o-header.o-header--pro .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex}}
@media(max-width:700px){.s-page .e-card-grid .wp-block-post-template{grid-template-columns:minmax(0,1fr)}.s-form-row{flex-direction:column}.s-search-box,.s-header-panel{padding:20px}.s-page .e-card-grid .wp-block-post-featured-image img{height:auto;aspect-ratio:16/9}}
@media(max-width:599px){.o-header-row{flex-wrap:wrap;gap:12px}.o-header-row>.s-header{display:none}.o-header-row>.wp-block-navigation{margin-left:auto}.s-hero h1{font-size:2rem}.s-page .s-hero{padding-bottom:28px}}
