/*
Theme Name: Afiya Institute
Theme URI: https://afiyainstitute.com.au/
Author: Afiya Institute
Description: Navy & gold brand-matched theme for hands-on STEM incursions for early learning centres and primary schools. Self-installing theme that builds all pages, menus, incursions and content on activation.
Version: 13.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: afiya-institute
*/

/* ============================================================
   TOKENS — bright, high-energy STEM palette
   ============================================================ */
:root{
  /* brand — sampled from the Afiya Institute logo */
  --navy:     #001C47;
  --navy-d:   #00122F;
  --navy-m:   #0F2E63;
  --navy-l:   #24487F;
  --gold:     #BE963F;
  --gold-l:   #DFC98B;
  --gold-d:   #94722C;

  /* year-band accents — refined, all sit with navy/gold */
  --c-gold:   #BE963F;
  --c-copper: #B4643A;
  --c-teal:   #1D6B75;
  --c-blue:   #2F5498;

  /* neutrals */
  --ink:      #001C47;
  --ink-soft: #4E5C79;
  --paper:    #FFFFFF;
  --cream:    #FBF8F2;
  --sand:     #F3EDE1;
  --line:     #E4DDCC;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body:    "Source Sans 3", system-ui, sans-serif;
  --font-tag:     "Source Sans 3", system-ui, sans-serif;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --max:  1200px;
  --nav-h: 76px;   /* measured live by script.js */

  --shadow:    0 12px 30px rgba(0,28,71,.08);
  --shadow-lg: 0 24px 56px rgba(0,28,71,.16);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:var(--font-body); font-size:17.5px; line-height:1.72;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
img,svg{ max-width:100%; display:block; }
a{ color:inherit; }
.wrap{ max-width:var(--max); margin:0 auto; padding:0 28px; position:relative; z-index:2; }

h1,h2,h3,h4{ font-family:var(--font-display); color:var(--ink); line-height:1.08; margin:0 0 .45em; letter-spacing:-.015em; }
h1{ font-weight:600; font-size:clamp(2.2rem,3.8vw,3.4rem); letter-spacing:-.005em; }
h2{ font-weight:600; font-size:clamp(1.9rem,3.5vw,2.8rem); }
h3{ font-weight:600; font-size:1.4rem; }
p{ margin:0 0 1em; color:var(--ink-soft); }
.lede{ font-size:1.2rem; max-width:660px; }

/* ---------- accents ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--font-tag); font-size:.72rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase;
  color:var(--gold-d); background:var(--sand);
  padding:8px 16px; border-radius:999px; margin-bottom:18px;
}
.eyebrow::before{
  content:""; width:9px; height:9px; border-radius:50%;
  background:var(--gold);
}
.section-dark .eyebrow{ background:rgba(255,255,255,.14); color:#fff; }

h1 .hl, h2 .hl{
  color:var(--gold-d); font-style:italic;
  border-bottom:2px solid var(--gold); padding-bottom:.02em;
  box-decoration-break:clone; -webkit-box-decoration-break:clone;
}
.section-dark h1 .hl, .section-dark h2 .hl, .cta-banner .hl{ color:var(--gold-l); border-color:var(--gold-l); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--font-body); font-weight:700; font-size:1rem;
  letter-spacing:.01em; padding:15px 32px; border-radius:4px; text-decoration:none;
  border:none; cursor:pointer;
  transition:transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease, background .2s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--navy); color:#fff; box-shadow:0 8px 20px rgba(0,28,71,.24); }
.btn-primary:hover{ background:var(--navy-m); box-shadow:0 12px 28px rgba(0,28,71,.32); }
.btn-pink{ background:var(--gold); color:var(--navy); font-weight:700; box-shadow:0 8px 20px rgba(190,150,63,.3); }
.btn-ghost{ background:transparent; color:var(--navy); box-shadow:inset 0 0 0 1.5px var(--navy); }
.btn-ghost:hover{ background:var(--navy); color:#fff; }
.btn-on-dark{ background:var(--gold); color:var(--navy); box-shadow:0 10px 26px rgba(190,150,63,.28); }
.btn-on-dark:hover{ background:var(--gold-l); }

/* ---------- nav ---------- */
.site-nav{
  position:sticky; top:0; z-index:80;
  background:rgba(255,255,255,.92); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.site-nav .wrap{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:12px; padding-bottom:12px; }
.brand{ display:flex; align-items:center; gap:14px; font-family:var(--font-display); font-weight:600; font-size:1.7rem; flex-shrink:0; text-decoration:none; color:var(--ink); }
.brand .mark{ width:62px; height:62px; }

/* uploaded logo (Appearance > Customize > Site Identity) */
.brand .custom-logo-link,
.brand img.custom-logo{ display:block; }
.brand img.custom-logo{
  height:82px; width:auto; max-width:400px; object-fit:contain;
}
footer .brand img.custom-logo{
  height:84px; max-width:400px;
  background:#fff; padding:12px 18px; border-radius:8px;
}
@media (max-width:1080px){
  .brand img.custom-logo{ height:60px; max-width:260px; }
  .brand .mark{ width:50px; height:50px; }
}
@media (max-width:520px){
  .brand img.custom-logo{ height:50px; max-width:200px; }
}
.nav-links{ display:flex; align-items:center; gap:4px; list-style:none; margin:0; padding:0; }
.nav-links li{ list-style:none; position:relative; }
.nav-links > li > a{
  display:block; text-decoration:none; font-weight:600; font-size:.96rem;
  color:var(--ink); padding:10px 12px; border-radius:4px; white-space:nowrap;
  transition:background .18s ease, color .18s ease;
}
.nav-links > li > a:hover{ background:var(--sand); color:var(--gold-d); }
.nav-links > li.current-menu-item > a,
.nav-links > li.current_page_item > a{ background:var(--navy); color:#fff; }

.nav-links .sub-menu{
  position:absolute; top:calc(100% + 10px); left:0; min-width:280px;
  background:#fff; border-radius:var(--r); padding:10px; margin:0; list-style:none;
  box-shadow:var(--shadow-lg); border:1px solid var(--line); border-top:3px solid var(--gold);
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s; z-index:90;
}
.nav-links li:hover > .sub-menu, .nav-links li:focus-within > .sub-menu{ opacity:1; visibility:visible; transform:translateY(0); }
.nav-links .sub-menu a{ display:block; padding:12px 16px; border-radius:var(--r-sm); font-size:.97rem; font-weight:700; text-decoration:none; }
.nav-links .sub-menu li:nth-child(1) a:hover{ background:var(--sand); color:var(--c-gold); }
.nav-links .sub-menu li:nth-child(2) a:hover{ background:var(--sand); color:var(--c-copper); }
.nav-links .sub-menu li:nth-child(3) a:hover{ background:var(--sand); color:var(--c-teal); }
.nav-links .sub-menu li:nth-child(4) a:hover{ background:var(--sand); color:var(--c-blue); }
.menu-item-has-children > a::after{
  content:""; display:inline-block; margin-left:8px;
  width:6px; height:6px; border-right:2.5px solid currentColor; border-bottom:2.5px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
}
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; background:var(--navy); border:none; color:#fff; }

@media (max-width:1180px){

  /* IMPORTANT: backdrop-filter creates a containing block for fixed-position
     descendants, which traps the mobile panel inside the nav bar (very visible
     on iOS Safari). It is switched off at mobile widths so position:fixed
     resolves against the viewport as intended. */
  .site-nav{ backdrop-filter:none; -webkit-backdrop-filter:none; background:#fff; }

  .nav-links{
    position:fixed;
    top:var(--nav-h); left:0; right:0; bottom:0;
    height:calc(100vh - var(--nav-h));
    height:calc(100dvh - var(--nav-h));   /* excludes iOS browser chrome */
    background:#fff;
    flex-direction:column; justify-content:flex-start; align-items:stretch;
    padding:20px 22px calc(40px + env(safe-area-inset-bottom));
    gap:4px; margin:0;
    transform:translateX(100%);
    transition:transform .28s ease;
    overflow-y:auto; -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    z-index:70;
    border-top:1px solid var(--line);
  }
  .nav-links.open{ transform:translateX(0); }

  .nav-links > li{ border-bottom:1px solid var(--line); }
  .nav-links > li:last-child{ border-bottom:none; }
  .nav-links > li > a{
    font-size:1.1rem; padding:16px 6px; border-radius:0;
    display:flex; align-items:center; min-height:52px;
  }
  .nav-links > li.current-menu-item > a,
  .nav-links > li.current_page_item > a{
    background:transparent; color:var(--gold-d);
  }

  .nav-links .sub-menu{
    position:static; opacity:1; visibility:visible; transform:none;
    box-shadow:none; border:none; border-left:2px solid var(--gold);
    border-radius:0; padding:0 0 10px 14px; margin:0 0 8px 8px; min-width:0;
    background:transparent;
  }
  .nav-links .sub-menu a{ padding:12px 8px; font-weight:400; min-height:44px; display:flex; align-items:center; }

  .menu-item-has-children > a::after{ display:none; }

  .nav-toggle{
    display:flex; align-items:center; justify-content:center;
    width:48px; height:48px; border-radius:6px; cursor:pointer; flex-shrink:0;
  }
  .nav-toggle .bar{ transition:transform .25s ease, opacity .2s ease; transform-origin:center; }
  .nav-toggle[aria-expanded="true"] .bar-1{ transform:translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar-2{ opacity:0; }
  .nav-toggle[aria-expanded="true"] .bar-3{ transform:translateY(-6px) rotate(-45deg); }

  .nav-cta .btn{ display:none; }

  /* lock the page behind the open panel */
  body.nav-open{ overflow:hidden; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative; padding:88px 0 74px; overflow:hidden;
  background:
    radial-gradient(900px 480px at 84% -10%, rgba(190,150,63,.14), transparent 62%),
    radial-gradient(700px 440px at 4% 10%, rgba(0,28,71,.07), transparent 62%),
    linear-gradient(170deg,var(--cream) 0%,#fff 74%);
}
.hero.compact{ padding:64px 0 54px; }
.hero-grid{ display:grid; grid-template-columns:1.12fr .88fr; gap:48px; align-items:center; }
@media (max-width:940px){ .hero-grid{ grid-template-columns:1fr; gap:36px; } }

.blob{ position:absolute; border-radius:50%; opacity:.5; z-index:1; pointer-events:none; }
.blob.b1{ width:190px; height:190px; background:var(--gold); opacity:.16; top:6%;  left:-100px; }
.blob.b2{ width:130px; height:130px; background:var(--navy);   opacity:.07; bottom:5%; left:-50px; }
.blob.b3{ width:220px; height:220px; background:var(--gold);   top:-88px; right:6%; opacity:.14; }

@media (prefers-reduced-motion:no-preference){
  .float{ animation:float 7s ease-in-out infinite; }
  .float.d1{ animation-delay:-2.2s; }
  .float.d2{ animation-delay:-4.4s; }
}
@keyframes float{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-20px);} }

.hero-badges{ display:flex; gap:9px; flex-wrap:wrap; margin-top:28px; }
.hero-badges span{
  font-weight:600; font-size:.83rem; white-space:nowrap;
  padding:9px 16px; border-radius:4px; background:#fff; border:1px solid var(--line);
  box-shadow:none; display:inline-flex; align-items:center; gap:9px;
}
.hero-badges span::before{ content:""; width:9px; height:9px; border-radius:50%; }
.hero-badges span:nth-child(1)::before{ background:var(--c-teal); }
.hero-badges span:nth-child(2)::before{ background:var(--gold); }
.hero-badges span:nth-child(3)::before{ background:var(--c-blue); }

/* ---------- colour strip ---------- */
.color-strip{ display:flex; height:4px; }
.color-strip i{ flex:1; }
.color-strip i:nth-child(1){ background:var(--c-gold); }
.color-strip i:nth-child(2){ background:var(--c-copper); }
.color-strip i:nth-child(3){ background:var(--gold); }
.color-strip i:nth-child(4){ background:var(--c-teal); }
.color-strip i:nth-child(5){ background:var(--c-blue); }
.color-strip i:nth-child(6){ background:var(--navy); }

/* ============================================================
   SECTIONS
   ============================================================ */
section{ padding:92px 0; position:relative; }
section.tight{ padding:64px 0; }
.section-cloud{ background:var(--cream); }
.section-dark{
  background:
    radial-gradient(720px 400px at 88% 6%, rgba(190,150,63,.22), transparent 62%),
    var(--navy);
  color:#fff;
}
.section-dark h1,.section-dark h2,.section-dark h3{ color:#fff; }
.section-dark p{ color:#C3CBDC; }

.section-head{ max-width:760px; margin-bottom:52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ============================================================
   CARDS
   ============================================================ */
.grid{ display:grid; gap:28px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:1000px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:720px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

.card{
  background:#fff; border-radius:var(--r); padding:34px;
  box-shadow:var(--shadow); border:1px solid var(--line);
  transition:transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.card ul{ margin:0 0 1em; padding-left:20px; color:var(--ink-soft); }
.card li{ margin-bottom:8px; }

/* colour-coded band cards */
.band-card{
  background:#fff; border-radius:var(--r); overflow:hidden;
  box-shadow:var(--shadow); display:flex; flex-direction:column;
  border:1px solid var(--line); position:relative;
  transition:transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s ease;
}
.band-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.band-card .thumb{ height:210px; overflow:hidden; position:relative; }
.band-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.band-card .body{ padding:32px; flex:1; display:flex; flex-direction:column; }
.band-card .years{
  align-self:flex-start; font-weight:700; font-size:.76rem;
  letter-spacing:.1em; text-transform:uppercase; color:#fff;
  padding:6px 14px; border-radius:3px; margin-bottom:16px;
}
.band-card .btn{ margin-top:auto; align-self:flex-start; }

.band-c1 .thumb{ background:var(--c-gold); }
.band-c1 .years{ background:var(--c-gold); }
.band-c2 .thumb{ background:var(--c-copper); }
.band-c2 .years{ background:var(--c-copper); }
.band-c3 .thumb{ background:var(--c-teal); }
.band-c3 .years{ background:var(--c-teal); }
.band-c4 .thumb{ background:var(--c-blue); }
.band-c4 .years{ background:var(--c-blue); }

/* incursion cards */
.prog-card{
  background:#fff; border-radius:var(--r); overflow:hidden;
  box-shadow:var(--shadow); border:1px solid var(--line);
  display:flex; flex-direction:column;
  transition:transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s ease;
}
.prog-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.prog-card .thumb{ height:190px; overflow:hidden; }
.prog-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.prog-card .body{ padding:30px; flex:1; display:flex; flex-direction:column; }
.tag{
  display:inline-block; align-self:flex-start;
  font-weight:700; font-size:.73rem;
  letter-spacing:.1em; text-transform:uppercase;
  padding:6px 13px; border-radius:3px; margin-bottom:14px;
  background:var(--sand); color:var(--gold-d);
}
.tag.t-pink{  background:#F7EFE0; color:#8A6A24; }
.tag.t-amber{ background:#F6EBE3; color:#8E4A26; }
.tag.t-teal{  background:#E4EFF0; color:#155158; }
.tag.t-mint{  background:#E7ECF5; color:#26427A; }
.tag.t-violet{background:#E9EBF2; color:#001C47; }
.meta{
  display:flex; gap:10px; flex-wrap:wrap; margin-top:auto; padding-top:18px;
  border-top:1px solid var(--line);
}
.meta span{
  font-weight:600; font-size:.83rem;
  color:var(--ink-soft); background:var(--cream); padding:6px 12px; border-radius:3px;
}

/* icon tiles */
.icon-tile{
  width:70px; height:70px; border-radius:8px;
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
  box-shadow:0 8px 18px rgba(0,28,71,.14);
}
.icon-tile svg{ width:36px; height:36px; }
.ic-pink{   background:var(--c-gold); }
.ic-amber{  background:var(--c-copper); }
.ic-teal{   background:var(--c-teal); }
.ic-mint{   background:var(--c-blue); }
.ic-violet{ background:var(--navy); }
.ic-coral{  background:var(--gold-d); }

/* steps */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
@media (max-width:900px){ .steps{ grid-template-columns:1fr; } }
.step{ background:#fff; border-radius:var(--r); padding:34px; box-shadow:var(--shadow); border:1px solid var(--line); border-top:3px solid var(--gold); }
.step .num{
  width:56px; height:56px; border-radius:6px; display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:600; font-size:1.7rem; color:#fff; margin-bottom:20px;
}
.step:nth-child(1) .num{ background:var(--navy); }
.step:nth-child(2) .num{ background:var(--gold); }
.step:nth-child(3) .num{ background:var(--c-teal); }

/* stats */
.stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
@media (max-width:820px){ .stats{ grid-template-columns:repeat(2,1fr); } }
.stat{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.18); border-radius:var(--r-sm); padding:28px; text-align:center; }
.stat b{ display:block; font-family:var(--font-display); font-weight:600; font-size:2.7rem; line-height:1; margin-bottom:10px; color:var(--gold-l); }
.stat:nth-child(1) b{ color:var(--gold-l); }
.stat:nth-child(2) b{ color:var(--gold-l); }
.stat:nth-child(3) b{ color:var(--gold-l); }
.stat:nth-child(4) b{ color:var(--gold-l); }
.stat span{ font-size:.9rem; color:#C3CBDC; font-weight:600; }

/* quote */
.quote-card{
  background:var(--navy);
  color:#fff; border-radius:var(--r); padding:42px; box-shadow:var(--shadow-lg);
  border-left:4px solid var(--gold);
}
.quote-card p{ font-family:var(--font-display); font-size:1.42rem; font-weight:500; font-style:italic; color:#fff; line-height:1.45; }
.quote-card span{ font-weight:600; font-size:.88rem; color:var(--gold-l); letter-spacing:.04em; }
.placeholder-note{ font-size:.87rem; color:#9A4A28; font-weight:600; }
.section-dark .placeholder-note, .quote-card .placeholder-note{ color:var(--gold-l); }

/* CTA */
.cta-banner{
  background:var(--navy);
  border-radius:var(--r); padding:66px; text-align:center; color:#fff;
  border-top:4px solid var(--gold);
  box-shadow:var(--shadow-lg);
}
.cta-banner h2{ color:#fff; }
.cta-banner p{ color:#C3CBDC; max-width:560px; margin:0 auto 28px; font-weight:400; }
.cta-banner .btn-on-dark{ background:var(--gold); color:var(--navy); }

/* ============================================================
   GALLERY / FAQ / CONTACT / BLOG
   ============================================================ */
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:940px){ .gallery-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .gallery-grid{ grid-template-columns:1fr; } }
.gallery-grid figure{
  margin:0; border-radius:var(--r-sm); overflow:hidden; box-shadow:var(--shadow);
  border:1px solid var(--line); background:#fff;
  transition:transform .22s ease;
}
.gallery-grid figure:hover{ transform:translateY(-4px); }
.gallery-grid img{ width:100%; height:250px; object-fit:cover; }
.gallery-grid figcaption{ padding:16px 20px; font-weight:600; font-size:.92rem; color:var(--navy); }

.faq-list{ max-width:880px; }
.faq-item{
  border:1px solid var(--line); border-radius:var(--r-sm); background:#fff;
  margin-bottom:16px; overflow:hidden; box-shadow:var(--shadow);
}
.faq-item summary{
  cursor:pointer; padding:24px 28px; font-family:var(--font-display);
  font-weight:600; font-size:1.16rem; color:var(--ink);
  list-style:none; display:flex; justify-content:space-between; align-items:center; gap:18px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:"+"; width:34px; height:34px; flex-shrink:0; border-radius:4px;
  background:var(--sand); color:var(--gold-d);
  display:flex; align-items:center; justify-content:center; font-size:1.4rem; line-height:1;
}
.faq-item[open] summary::after{ content:"–"; background:var(--navy); color:#fff; }
.faq-item .answer{ padding:0 28px 26px; }
.faq-item .answer p{ margin:0; }

.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:38px; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-detail{ display:flex; gap:18px; align-items:flex-start; margin-bottom:26px; }
.contact-detail .icon-tile{ width:52px; height:52px; border-radius:6px; margin-bottom:0; }
.contact-detail .icon-tile svg{ width:26px; height:26px; }
.contact-detail strong{ display:block; color:var(--ink); font-size:1.05rem; }

.post-card{
  background:#fff; border-radius:var(--r); overflow:hidden;
  box-shadow:var(--shadow); border:1px solid var(--line);
  transition:transform .22s ease, box-shadow .22s ease;
}
.post-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.post-card .thumb{ height:190px; overflow:hidden; background:var(--sand); }
.post-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.post-card .body{ padding:30px; }
.post-card .date{ font-weight:600; font-size:.83rem; letter-spacing:.05em; text-transform:uppercase; color:var(--gold-d); }
.pagination{ display:flex; gap:10px; justify-content:center; margin-top:46px; }
.pagination a,.pagination span{ padding:11px 20px; border-radius:4px; text-decoration:none; font-weight:600; background:#fff; border:1px solid var(--line); }
.pagination .current{ background:var(--navy); color:#fff; border-color:var(--navy); }

.single-post-body{ max-width:800px; margin:0 auto; }
.single-post-body img{ border-radius:var(--r); margin:26px 0; }
.single-post-body h2{ margin-top:1.4em; }

/* ============================================================
   FOOTER
   ============================================================ */
footer{
  background:var(--navy);
  border-top:4px solid var(--gold);
  color:#C3CBDC; padding:74px 0 32px;
}
.footer-grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:38px; }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
footer h4{ color:#fff; font-size:1.05rem; font-weight:600; letter-spacing:.03em; margin-bottom:18px; }
footer ul{ list-style:none; margin:0; padding:0; }
footer li{ margin-bottom:12px; }
footer a{ text-decoration:none; color:#C3CBDC; font-weight:400; }
footer a:hover{ color:var(--gold-l); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.14); margin-top:48px; padding-top:26px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:.86rem; color:#8794AD;
}

.center{ text-align:center; }
.mt-lg{ margin-top:54px; }
:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; }
.screen-reader-text{ position:absolute !important; left:-9999px; }
