/* AffordaLive blog: shared styles for /blog.html and the /blog/ article pages (added 1 Oct 2026).
   Nav + footer rules mirror the other subpages, including the 30 Sep narrow-phone nav fix. */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{--navy:#0e1b2f;--teal:#0a7c6e;--teal-h:#08695d;--honey:#e8b840;--bg:#f7f6f2;--surface:#fff;--border:#e4e4df;--text:#1c1c1a;--text2:#5f6368;--body:#2e2e2b;--font:'Sora',system-ui,sans-serif;--font-d:'DM Serif Display',Georgia,serif}
body{font-family:var(--font);background:var(--bg);color:var(--text);font-size:14px;line-height:1.6}
h1,h2,h3{font-weight:400}
a{color:var(--teal)}
:focus-visible{outline:2px solid var(--honey);outline-offset:3px;border-radius:3px}


/* ---------- nav (identical to live subpages, incl. 30 Sep fix) ---------- */
nav{background:var(--navy);padding:.75rem 1.5rem;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:50;min-height:60px}
.logo{display:flex;align-items:center;text-decoration:none;flex:0 1 auto;min-width:0;margin-right:.75rem}
.logo img{width:186px;max-width:100%;height:auto;display:block}
.nav-links{display:flex;gap:1.25rem;align-items:center;flex-shrink:0}
.nav-link{color:rgba(255,255,255,.7);font-size:13px;text-decoration:none;white-space:nowrap;padding:10px 2px}
.nav-link:hover{color:#fff}
.nav-btn{background:var(--teal);color:#fff;border-radius:7px;padding:7px 16px;font-size:12.5px;font-weight:600;text-decoration:none;white-space:nowrap}
.nav-btn:hover{background:var(--teal-h)}
.progress{position:sticky;top:60px;z-index:49;height:3px;background:var(--navy)}
.progress i{display:block;height:100%;width:0;background:var(--honey);transition:width .1s linear}

/* ---------- shared hero ---------- */
.hero{background:var(--navy);color:#fff;position:relative;overflow:hidden}
.hero::after{content:"";position:absolute;inset:auto -10% -40% auto;width:520px;height:520px;border-radius:50%;background:radial-gradient(closest-side,rgba(232,184,64,.10),transparent);pointer-events:none}
.wrap{max-width:780px;margin:0 auto;padding:0 1.5rem;position:relative;z-index:1}
.crumb{font-size:12.5px;color:rgba(255,255,255,.6);padding-top:2.5rem}
.crumb a{color:rgba(255,255,255,.8);text-decoration:none}.crumb a:hover{color:#fff;text-decoration:underline}
.crumb span{margin:0 .4rem;opacity:.5}

/* ---------- article hero ---------- */
.a-title{font-family:var(--font-d);font-size:clamp(2.4rem,6vw,3.6rem);line-height:1.05;margin:1.25rem 0 .5rem;letter-spacing:-.01em}
.a-dek{font-family:var(--font-d);font-style:italic;font-size:clamp(1.25rem,3vw,1.7rem);color:var(--honey);line-height:1.25;margin-bottom:1.75rem}
.byline{display:flex;align-items:center;gap:12px;font-size:13px;color:rgba(255,255,255,.75)}
.mono{width:40px;height:40px;border-radius:50%;background:var(--honey);color:var(--navy);display:grid;place-items:center;font-family:var(--font-d);font-size:1.25rem;flex-shrink:0}
.byline strong{color:#fff;font-weight:600;display:block}
.byline small{font-size:12.5px}

/* series rail: a real sequence, so numbering earns its place */
.rail{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:2.5rem 0 0;padding:0 0 9rem;position:relative}
.rail li:not(:last-child)::after{content:"";position:absolute;top:6px;left:13px;right:0;height:1px;background:rgba(255,255,255,.25)}
.rail li{position:relative;padding:1.4rem 1rem 0 0;font-size:12.5px;color:rgba(255,255,255,.55)}
.rail li::before{content:"";position:absolute;top:0;left:0;width:13px;height:13px;border-radius:50%;border:1.5px solid rgba(255,255,255,.45);background:var(--navy)}
.rail li.now::before{background:var(--honey);border-color:var(--honey)}
.rail .pt{display:block;font-weight:600;color:rgba(255,255,255,.8);margin-bottom:.15rem}
.rail .t{display:block;font-family:var(--font-d);font-size:1.02rem;line-height:1.25;color:rgba(255,255,255,.7)}
.rail li.now .t{color:#fff}
.rail .st{display:block;margin-top:.3rem;font-size:11.5px}
.rail li.now .st{color:var(--honey)}

/* feature image overlaps hero edge, echoing the landing suburb cards over the photo */
.feature{max-width:980px;margin:-8rem auto 0;padding:0 1.5rem;position:relative;z-index:2}
.caption{font-size:12px;color:var(--text2);margin-top:.6rem;padding-left:.25rem}

/* ---------- article body ---------- */
.body{max-width:680px;margin:0 auto;padding:3rem 1.5rem 1rem}
.body p{font-size:17px;line-height:1.8;color:var(--body);margin-bottom:1.35rem}
.body p.lead{font-size:20px;line-height:1.65;color:var(--text)}
.body h2{font-family:var(--font-d);font-size:1.85rem;line-height:1.2;color:var(--navy);margin:2.75rem 0 1rem}
.pull{margin:2.5rem 0;padding:.25rem 0 .25rem 1.5rem;border-left:3px solid var(--honey)}
.body .pull p{font-family:var(--font-d);font-style:italic;font-size:clamp(1.7rem,4vw,2.25rem);line-height:1.2;color:var(--navy);margin:0}
.body p.beat{font-weight:600;color:var(--navy)}

/* ---------- end of article ---------- */
.end{max-width:680px;margin:0 auto;padding:1rem 1.5rem 3.5rem}
.next{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:1.5rem;display:grid;grid-template-columns:1fr auto;gap:1rem 1.5rem;align-items:center}
.next .lbl{font-size:12.5px;color:var(--text2);margin-bottom:.25rem}
.next h3{font-family:var(--font-d);font-size:1.4rem;line-height:1.2;color:var(--navy);margin-bottom:.35rem}
.next p{font-size:14px;color:var(--text2);margin:0}
.btn-o{font:600 13px var(--font);color:var(--teal);background:#fff;border:1.5px solid var(--teal);border-radius:8px;padding:9px 16px;cursor:pointer;white-space:nowrap;text-decoration:none}
.btn-o:hover{background:#eef6f4}
.author{display:flex;gap:14px;align-items:flex-start;margin-top:2rem;padding-top:2rem;border-top:1px solid var(--border)}
.author .mono{width:52px;height:52px;font-size:1.5rem}
.author p{font-size:14px;color:var(--text2);margin:0;line-height:1.65}
.author strong{color:var(--text);display:block;font-size:15px;margin-bottom:.1rem}

/* CTA band reuses the landing hero search pattern */
.cta{background:var(--navy);color:#fff}
.cta .wrap{padding:3.5rem 1.5rem;text-align:center;max-width:640px}
.cta h2{font-family:var(--font-d);font-size:clamp(1.8rem,4.5vw,2.4rem);line-height:1.15;margin-bottom:.6rem}
.cta h2 em{color:var(--honey)}
.cta p{color:rgba(255,255,255,.72);font-size:14.5px;margin-bottom:1.5rem}
.search{display:flex;background:#fff;border-radius:10px;padding:5px;gap:5px;max-width:480px;margin:0 auto}
.search input{flex:1;min-width:0;border:0;font:400 15px var(--font);padding:10px 12px;color:var(--text);background:transparent}
.search input:focus{outline:none}
.search button{font:600 14px var(--font);background:var(--teal);color:#fff;border:0;border-radius:7px;padding:0 20px;cursor:pointer}
.search button:hover{background:var(--teal-h)}
.cta small{display:block;margin-top:.9rem;font-size:12px;color:rgba(255,255,255,.55)}

/* ---------- blog index ---------- */
.i-hero .wrap{padding-bottom:3.5rem}
.i-title{font-family:var(--font-d);font-size:clamp(2.2rem,5.5vw,3.2rem);line-height:1.08;margin:1.25rem 0 .75rem}
.i-title em{color:var(--honey)}
.i-dek{font-size:15px;color:rgba(255,255,255,.72);max-width:520px}
.index{max-width:980px;margin:0 auto;padding:3rem 1.5rem 4rem}
.later{margin-top:2.5rem;font-size:14px;color:var(--text2)}

/* ---------- footer (live, unchanged) ---------- */
footer{background:#060e1a;color:rgba(255,255,255,.4);padding:1.75rem 1.5rem;font-size:12px;line-height:1.9}
.footer-content{max-width:1200px;margin:0 auto}
.footer-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,auto));gap:1rem 3rem;margin-bottom:2rem;justify-content:center}
.footer-col h4{color:#fff;font-size:13px;font-weight:600;margin-bottom:1rem;text-transform:uppercase;letter-spacing:.05em}
.footer-col a{color:rgba(255,255,255,.7);text-decoration:none;font-size:13px;display:block;margin-bottom:10px}
.footer-col a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:2rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;font-size:12px}
.footer-copy{color:rgba(255,255,255,.6)}.footer-copy a{color:rgba(255,255,255,.7)}

@media(max-width:720px){
  .next{grid-template-columns:1fr}
}
@media(max-width:680px){.footer-grid{grid-template-columns:repeat(2,auto);gap:1.25rem 2.5rem}}
@media(max-width:560px){
  nav{padding:.75rem 1rem}.nav-links{gap:.75rem}.nav-btn{padding:6px 12px;font-size:11.5px}
  .wrap,.body,.end,.index,.feature{padding-left:1.15rem;padding-right:1.15rem}
  .rail{grid-template-columns:1fr;gap:.9rem;padding-bottom:7rem}
  .rail li:not(:last-child)::after{top:13px;bottom:-.9rem;left:6px;right:auto;width:1px;height:auto}
  .rail li{padding:0 0 0 1.75rem}
  .rail .t{font-size:.98rem}
  .feature{margin-top:-5.5rem}  .body{padding-top:2.25rem}
  .body p{font-size:16.5px;line-height:1.75}.body p.lead{font-size:18.5px}
  .body h2{font-size:1.6rem;margin-top:2.25rem}
  .footer-bottom{flex-direction:column;align-items:flex-start}
}
@media(max-width:380px){.footer-grid{grid-template-columns:1fr}.nav-btn{padding:5px 10px;font-size:11px}}

/* ---------- v2 additions ---------- */
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.news-err{color:#b91c1c;font-size:12.5px;margin:.6rem 0 0}
.fimg{width:100%;height:auto;display:block;border-radius:14px;box-shadow:0 18px 40px rgba(14,27,47,.22);background:#ece9e1}
.rail a.t{text-decoration:none}.rail a.t:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
a.next{text-decoration:none;color:inherit;transition:border-color .15s}
a.next:hover{border-color:#c9c3b4}a.next:hover h3{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.news{margin-top:1.5rem;background:#efece4;border-radius:14px;padding:1.5rem}
.news h3{font-family:var(--font-d);font-size:1.35rem;color:var(--navy);margin-bottom:.3rem}
.news > p{font-size:14px;color:var(--text2);margin-bottom:1rem}
.news-f{display:flex;gap:6px;max-width:460px}
.news-f input{flex:1;min-width:0;font:400 15px var(--font);padding:10px 12px;border:1.5px solid #d6d1c4;border-radius:8px;background:#fff;color:var(--text)}
.news-f input:focus{outline:none;border-color:var(--teal)}
.news-f input[aria-invalid=true]{border-color:#dc2626}
.news-f button{font:600 14px var(--font);background:var(--teal);color:#fff;border:0;border-radius:8px;padding:0 18px;cursor:pointer}
.news-f button:hover{background:var(--teal-h)}
.news .news-fine{font-size:12px;margin:.75rem 0 0}
.news .news-ok{font-weight:600;color:var(--teal);margin:.75rem 0 0}
.index .news{margin-top:3rem}
.sec-h{margin-bottom:1.5rem;max-width:620px}
.sec-h h2{font-family:var(--font-d);font-size:1.9rem;color:var(--navy);margin-bottom:.35rem}
.sec-h p{font-size:14.5px;color:var(--text2)}
.pcard{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow:hidden;text-decoration:none;color:inherit;transition:border-color .15s}
.pcard:hover{border-color:#c9c3b4}.pcard:hover h2{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.pc-media .fimg{border-radius:0;box-shadow:none;aspect-ratio:16/9;object-fit:cover}
.pc-media .pcard .txt{padding:1.5rem 1.6rem 1.6rem}
.pcard .lbl{font-size:12.5px;font-weight:600;color:var(--teal);margin-bottom:.5rem}
.pcard h2{font-family:var(--font-d);font-size:1.6rem;line-height:1.12;color:var(--navy);margin-bottom:.3rem}
.pcard .dk{font-family:var(--font-d);font-style:italic;font-size:1.1rem;color:#8a6a12;margin-bottom:.8rem}
.pcard .bl{font-size:14.5px;line-height:1.7;color:var(--text2);margin-bottom:1rem}
.pcard .meta{font-size:12.5px;color:var(--text2);margin-top:auto}
.pcard.big{display:grid;grid-template-columns:1.25fr 1fr}
.pcard.big .pc-media .fimg{height:100%}
.pcard.big .txt{padding:2rem;display:flex;flex-direction:column;justify-content:center}
.pcard.big h2{font-size:2.1rem}
.pair{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin-top:1.25rem}
.pair .pcard .txt{display:flex;flex-direction:column;flex:1}
@media(max-width:820px){.pcard.big{grid-template-columns:1fr}.pcard.big .pc-media .fimg{height:auto}.pcard.big .txt{padding:1.5rem}.pcard.big h2{font-size:1.75rem}.pair{grid-template-columns:1fr}}
@media(max-width:420px){.news-f{flex-direction:column}.news-f button{padding:11px}}

@media(prefers-reduced-motion:reduce){.progress i{transition:none}}
