/* Shared 2027 navigation/footer shell across all site pages. */
.site-header{background:#fff;border-bottom:1px solid #e3e8f1}
.site-header .head-inner{max-width:1080px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;min-height:78px;padding:12px 20px}
.site-header .brand{display:flex;align-items:center;gap:12px;color:#15294f;font-size:20px;font-weight:800;text-decoration:none}
.site-header .flag{display:inline-block;width:29px;height:21px;border:1px solid #dce1ea;border-radius:3px;background:linear-gradient(to bottom,#fff 0 33.33%,#1745a3 33.33% 66.66%,#c52b3a 66.66%)}
.site-header .site-nav{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px}
.site-header .site-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border-radius:10px;color:#263d78;text-decoration:none;font-size:15px;font-weight:700;line-height:1.35;white-space:nowrap}
.site-header .site-nav a:hover,.site-header .site-nav a:focus-visible{background:#edf1fc;text-decoration:none}
.site-header .site-nav a[aria-current="page"]{background:#e8edff;color:#1e3e94}
.site-footer{margin-top:0;padding:40px 0 36px;background:#fff;border-top:1px solid #dfe6f2;color:#52627d;font-size:14px}
.site-footer .footer-layout{max-width:1080px;margin:auto;padding:0 20px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:32px;align-items:start}
.site-footer .footer-brand{font-size:21px;line-height:1.25;font-weight:800;color:#15294f;text-decoration:none}
.site-footer .footer-identity p{margin:10px 0 22px;color:#5c6c86}
.site-footer .footer-copyright{display:block;font-size:13px;color:#64748b}
.site-footer .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 30px}
.site-footer .footer-group{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.site-footer .footer-heading{font-size:12px;text-transform:uppercase;letter-spacing:.11em;font-weight:800;color:#263d78;margin-bottom:3px}
.site-footer .footer-group a{display:inline-flex;align-items:center;min-height:40px;padding:7px 0;color:#24468e;text-decoration:none;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.site-footer .footer-group a:hover{text-decoration:underline;text-underline-offset:4px;color:#1745a3}
.back-to-top{position:fixed;right:24px;bottom:24px;z-index:1000;width:56px;height:56px;display:grid;place-items:center;background:#3048a5;color:#fff;border:3px solid #fff;border-radius:17px;box-shadow:0 6px 20px #14254a55;cursor:pointer;transition:transform .15s,background .15s}
.back-to-top[hidden]{display:none!important}.back-to-top:hover{background:#1745a3;transform:translateY(-2px)}
.site-header a:focus-visible,.site-footer a:focus-visible,.back-to-top:focus-visible{outline:3px solid #e03a4b;outline-offset:3px}
@media(max-width:760px){.site-header .head-inner{align-items:flex-start;flex-direction:column;gap:10px;padding:12px 16px}.site-header .site-nav{width:100%;justify-content:flex-start}.site-header .site-nav a{padding:9px 12px}.site-footer .footer-layout{grid-template-columns:1fr;gap:25px;padding:0 16px}.site-footer .footer-links{gap:16px}.back-to-top{right:14px;bottom:calc(16px + env(safe-area-inset-bottom,0px));width:52px;height:52px}}
@media(max-width:350px){.site-footer .footer-links{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.back-to-top{transition:none}}

/* Mobile-only vocabulary category selector; desktop category cards unchanged. */
.category-mobile-picker{display:none}
@media(max-width:767px){
 .categories .category-grid{display:none!important}
 .category-mobile-picker{display:block;margin-top:14px}
 .category-mobile-picker label{display:block;margin-bottom:8px;font-weight:700;color:#19263c}
 .category-mobile-picker select{display:block;width:100%;min-height:52px;padding:12px 42px 12px 14px;border:1.5px solid #bdcdec;border-radius:13px;background:#fff;color:#192f65;font-size:16px;font-weight:600;cursor:pointer}
 .category-mobile-picker select:focus-visible{outline:3px solid #3048a5;outline-offset:3px}
}

/* Category discovery refresh: responsive, accessible cards on every screen. */
.categories-refresh{margin-top:32px}
.category-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:20px}
.category-section-heading h2{margin:5px 0 5px;font-size:clamp(24px,2.8vw,31px);letter-spacing:-.035em;color:#182747}
.category-section-heading p{margin:0;color:#65728b;font-size:15px}
.category-eyebrow{font-size:11px;font-weight:850;letter-spacing:.13em;color:#344ba3}
.category-total{white-space:nowrap;padding:8px 12px;background:#e8edff;border-radius:999px;color:#314ba0;font-weight:750;font-size:12px}
.categories-refresh .category-grid.category-cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.categories-refresh .category-cards .category{min-width:0;min-height:112px;display:flex;align-items:center;justify-content:flex-start;gap:14px;padding:18px;border:1px solid #dce4f3;border-radius:18px;background:#fff;color:#182747;text-decoration:none;box-shadow:0 5px 18px rgba(27,52,106,.035);transition:transform .16s,box-shadow .16s,border-color .16s,background .16s}
.categories-refresh .category-cards .category:hover{transform:translateY(-2px);border-color:#9caee3;box-shadow:0 12px 24px rgba(27,52,106,.1)}
.categories-refresh .category-cards .category:focus-visible{outline:3px solid #3048a5;outline-offset:3px}
.categories-refresh .category-symbol{flex:0 0 46px;width:46px;height:46px;display:grid;place-items:center;background:#edf1ff;color:#3048a5;border-radius:14px;font-size:24px;font-weight:800;line-height:1}
.categories-refresh .category-copy{min-width:0;display:flex;flex-direction:column;gap:6px;flex:1}
.categories-refresh .category-copy strong{font-size:15px;line-height:1.3;overflow-wrap:break-word;text-decoration:none}
.categories-refresh .category-copy small{font-size:12px;color:#687792;font-weight:550}
.categories-refresh .category-count{flex:0 0 auto;padding:6px 9px;border-radius:9px;background:#f1f4fb;color:#4a5b81;font-size:12px;font-weight:800}
.categories-refresh .category-cards .category.active{background:#3048a5;border-color:#3048a5;color:white;box-shadow:0 10px 24px rgba(48,72,165,.2)}
.categories-refresh .category-cards .category.active .category-symbol{background:rgba(255,255,255,.18);color:white}
.categories-refresh .category-cards .category.active .category-copy small{color:#e2e9ff}
.categories-refresh .category-cards .category.active .category-count{background:rgba(255,255,255,.17);color:white}
@media(max-width:900px){.categories-refresh .category-grid.category-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.categories-refresh .category-grid.category-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.categories-refresh .category-cards .category{min-height:116px;padding:13px;gap:9px;flex-wrap:wrap;align-content:center}.categories-refresh .category-symbol{width:38px;height:38px;flex-basis:38px;border-radius:11px;font-size:20px}.categories-refresh .category-copy strong{font-size:13px}.categories-refresh .category-copy small{font-size:11px}.categories-refresh .category-count{display:none}.category-section-heading{align-items:center}.category-total{font-size:11px}}
@media(max-width:390px){.categories-refresh .category-grid.category-cards{grid-template-columns:1fr}.categories-refresh .category-cards .category{min-height:76px;flex-wrap:nowrap}.categories-refresh .category-count{display:block}}
@media(prefers-reduced-motion:reduce){.categories-refresh .category-cards .category{transition:none}}

/* Category card polish and restore the compact mobile selector. */
.categories-refresh .category-copy strong{color:#192747;font-weight:750}
.categories-refresh .category-symbol svg{display:block;width:24px;height:24px}
.categories-refresh .category-cards .category.active .category-copy strong{color:#fff}
@media(max-width:767px){
 .categories-refresh .category-grid.category-cards{display:none!important}
 .categories-refresh .category-mobile-picker{display:block;margin:14px 0 22px}
 .categories-refresh .category-mobile-picker select{width:100%;min-height:56px;font-size:16px;background:#fff;color:#192747}
 .categories-refresh .category-section-heading{align-items:flex-start;gap:8px}
 .categories-refresh .category-section-heading p{font-size:14px}
}
