/* ============================================================================
   Thème « rachat » — Rachat Assurance vie
   Palette : bleu nuit (#0b2136) + émeraude (#0f766e / #10b981)
   ========================================================================== */
:root{
  --nightblue:#0b2136; --nightblue-2:#14344f; --nightblue-3:#1d4666;
  --emerald:#0f766e; --emerald-2:#10b981; --emerald-3:#34d399; --emerald-soft:#e7f6f1;
  --ink:#122130; --text:#2b3a48; --muted:#61707c; --line:#e2eae6;
  --bg:#eef4f1; --surface:#ffffff; --surface-2:#f6faf8;
  --accent:var(--emerald); --accent-2:var(--emerald-2);
  --content-w:760px; --wide-w:1200px;
  --serif:Georgia,'Iowan Old Style','Times New Roman',serif;
  --sans:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --font-heading:var(--serif); --font-body:var(--sans);
  --radius:14px; --radius-sm:9px;
  --shadow:0 1px 2px rgba(11,33,54,.06),0 8px 28px rgba(11,33,54,.08);
  --shadow-sm:0 1px 3px rgba(11,33,54,.08);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-body);
  font-size:17px;line-height:1.75;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:var(--emerald);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{font-family:var(--font-heading);color:var(--ink);line-height:1.25;font-weight:700}
.hero-eyebrow{display:inline-block;font-family:var(--sans);font-size:.72rem;letter-spacing:.14em;
  text-transform:uppercase;font-weight:700;color:var(--emerald-3);margin-bottom:.9rem}

/* ── Reading progress ─────────────────────────────────────────────────────── */
.reading-progress{position:fixed;top:0;left:0;height:3px;width:0;z-index:2000;
  background:linear-gradient(90deg,var(--emerald),var(--emerald-3))}

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header{position:sticky;top:0;z-index:1000;background:var(--nightblue);
  box-shadow:0 2px 18px rgba(11,33,54,.22)}
.header-inner{max-width:var(--wide-w);margin:0 auto;display:flex;align-items:center;
  gap:1rem;padding:.7rem 1.4rem;min-height:66px}
.site-logo{display:flex;align-items:center;gap:.7rem;color:#fff;text-decoration:none}
.site-logo:hover{text-decoration:none}
.brand-mark{flex-shrink:0;display:block;filter:drop-shadow(0 2px 5px rgba(0,0,0,.25))}
.logo-img{max-height:46px;width:auto;display:block}
.logo-text{display:flex;flex-direction:column;font-family:var(--serif);font-weight:700;
  font-size:1.16rem;line-height:1.1;letter-spacing:.01em}
.logo-tag{font-family:var(--sans);font-weight:500;font-size:.66rem;letter-spacing:.04em;
  color:#9fd8c8;margin-top:.2rem;text-transform:none}
.site-nav-wrap{margin-left:auto}
.site-nav{list-style:none;display:flex;align-items:center;gap:.3rem;margin:0;padding:0}
.site-nav>li{position:relative}
.site-nav>li>a{display:block;color:#e7eef2;font-weight:600;font-size:.95rem;
  padding:.55rem .85rem;border-radius:8px;transition:background .15s,color .15s}
.site-nav>li>a:hover{background:rgba(255,255,255,.1);color:#fff;text-decoration:none}
.site-nav li.has-children>a{padding-right:.5rem}
.sub-toggle{display:none;background:none;border:none;color:#cfe;cursor:pointer;font-size:.9rem}
.sub-menu{list-style:none;margin:0;padding:.4rem;position:absolute;top:100%;left:0;min-width:230px;
  background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);
  opacity:0;visibility:hidden;transform:translateY(6px);transition:.16s;z-index:1200}
.site-nav>li:hover>.sub-menu{opacity:1;visibility:visible;transform:translateY(4px)}
.sub-menu a{display:block;color:var(--ink);padding:.5rem .7rem;border-radius:8px;font-size:.92rem}
.sub-menu a:hover{background:var(--emerald-soft);color:var(--emerald);text-decoration:none}
.header-accent{height:3px;background:linear-gradient(90deg,var(--emerald),var(--emerald-3),var(--emerald))}
.nav-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:42px;height:42px;
  background:none;border:none;cursor:pointer;padding:8px}
.nav-toggle span{display:block;height:2.5px;width:100%;background:#fff;border-radius:2px;transition:.2s}
.nav-toggle[aria-expanded=true] span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
.nav-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded=true] span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}
.nav-overlay{position:fixed;inset:0;background:rgba(11,33,54,.5);opacity:0;visibility:hidden;
  transition:.2s;z-index:900}
.nav-overlay.open{opacity:1;visibility:visible}

/* ── Breadcrumb ───────────────────────────────────────────────────────────── */
.breadcrumb-wrap{background:var(--surface-2);border-bottom:1px solid var(--line)}
.breadcrumb{max-width:var(--wide-w);margin:0 auto;padding:.7rem 1.4rem;font-size:.83rem;color:var(--muted)}
.breadcrumb a{color:var(--muted)}
.breadcrumb a:hover{color:var(--emerald)}
.breadcrumb .sep{margin:0 .45rem;color:#b9c6cd}
.breadcrumb .current{color:var(--ink);font-weight:600}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn{display:inline-block;font-family:var(--sans);font-weight:700;font-size:.95rem;
  padding:.8rem 1.5rem;border-radius:40px;cursor:pointer;transition:.18s;border:2px solid transparent}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-primary{background:var(--emerald-2);color:#fff;box-shadow:0 6px 18px rgba(16,185,129,.32)}
.btn-primary:hover{background:var(--emerald);box-shadow:0 10px 24px rgba(15,118,110,.4)}
.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.btn-ghost:hover{background:rgba(255,255,255,.12);border-color:#fff}

/* ── Home hero ────────────────────────────────────────────────────────────── */
.home-hero{background:radial-gradient(1200px 500px at 70% -10%,rgba(16,185,129,.28),transparent 60%),
  linear-gradient(160deg,var(--nightblue) 0%,var(--nightblue-2) 55%,#0d3b3a 100%);
  background-size:cover;background-position:center;color:#fff;padding:5rem 1.4rem 5.5rem;text-align:center}
.home-hero-inner{max-width:840px;margin:0 auto}
.home-hero h1{color:#fff;font-size:2.85rem;margin:0 0 1.1rem;letter-spacing:-.01em}
.hero-sub{font-size:1.22rem;line-height:1.6;color:#d3e4e0;max-width:680px;margin:0 auto 2rem}
.hero-cta{display:flex;gap:.9rem;justify-content:center;flex-wrap:wrap}

/* ── Layout containers ────────────────────────────────────────────────────── */
.home-main,.site-main{max-width:var(--wide-w);margin:0 auto;padding:2.6rem 1.4rem 3.5rem}
.site-main.with-sidebar{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:2.4rem;align-items:start}
.page-head{background:linear-gradient(160deg,var(--nightblue),var(--nightblue-2));color:#fff;
  padding:2.8rem 1.4rem 2.4rem}
.page-head-inner{max-width:var(--wide-w);margin:0 auto}
.page-head h1{color:#fff;font-size:2.15rem;margin:0}
.cat-desc{color:#cfe1dc;font-size:1.1rem;margin:.9rem 0 0;max-width:720px}
.cat-main{max-width:920px}
.content-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow);padding:2.4rem 2.6rem}

/* ── Article body typography ──────────────────────────────────────────────── */
.article-body{color:var(--text);font-size:1.06rem;line-height:1.82}
.article-body>*:first-child{margin-top:0}
.article-body p{margin:0 0 1.25rem}
.article-body h2{font-size:1.7rem;margin:2.6rem 0 1rem;padding-top:.4rem;color:var(--ink);
  position:relative}
.article-body h2::before{content:"";display:block;width:52px;height:4px;border-radius:3px;
  background:linear-gradient(90deg,var(--emerald),var(--emerald-3));margin-bottom:.8rem}
.article-body h3{font-size:1.28rem;margin:1.9rem 0 .8rem;color:var(--nightblue-2)}
.article-body h4{font-size:1.08rem;margin:1.5rem 0 .6rem}
.article-body strong{color:var(--ink);font-weight:700}
.article-body em{font-style:italic}
.article-body a{color:var(--emerald);font-weight:600;border-bottom:1px solid rgba(15,118,110,.3)}
.article-body a:hover{border-bottom-color:var(--emerald);text-decoration:none}
.article-body ul,.article-body ol{margin:0 0 1.35rem;padding-left:1.4rem}
.article-body li{margin:.4rem 0}
.article-body ul li::marker{color:var(--emerald-2)}
.article-body blockquote{margin:1.6rem 0;padding:1.1rem 1.4rem;background:var(--emerald-soft);
  border-left:4px solid var(--emerald);border-radius:0 10px 10px 0;color:var(--nightblue-2);font-style:italic}
.article-body blockquote p:last-child{margin-bottom:0}
.article-body table{width:100%;border-collapse:collapse;margin:1.7rem 0;font-size:.97rem;
  border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:var(--shadow-sm)}
.article-body th,.article-body td{padding:.8rem 1rem;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.article-body thead th{background:var(--nightblue);color:#fff;font-family:var(--sans);font-weight:700;
  border-bottom:none}
.article-body tbody tr:nth-child(even){background:var(--surface-2)}
.article-body tbody tr:last-child td{border-bottom:none}
.article-body figure{margin:1.7rem 0}
.article-body figure img{border-radius:10px;display:block}
.article-body figcaption{font-size:.85rem;color:var(--muted);text-align:center;margin-top:.5rem}
.article-body details{margin:.7rem 0;border:1px solid var(--line);border-radius:10px;
  background:var(--surface);overflow:hidden}
.article-body details summary{cursor:pointer;padding:.9rem 1.2rem;font-weight:700;color:var(--ink);
  list-style:none;position:relative;padding-right:2.6rem}
.article-body details summary::-webkit-details-marker{display:none}
.article-body details summary::after{content:"+";position:absolute;right:1.1rem;top:50%;
  transform:translateY(-50%);color:var(--emerald);font-size:1.3rem;font-weight:400}
.article-body details[open] summary::after{content:"–"}
.article-body details[open] summary{border-bottom:1px solid var(--line)}
.article-body details .details-body,.article-body details>p{padding:.4rem 1.2rem 1.1rem}
.article-body .lead,.article-body .chapo{font-size:1.16rem;color:var(--nightblue-2);line-height:1.7}
.article-body img{border-radius:10px}

/* Callouts optionnels utilisables dans le contenu */
.article-body .note,.article-body .callout{margin:1.6rem 0;padding:1.1rem 1.3rem;border-radius:12px;
  background:var(--surface-2);border:1px solid var(--line);font-size:1rem}
.article-body .note-emerald{background:var(--emerald-soft);border-color:#bfe6da}
.article-body .key-figures{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin:1.7rem 0}
.article-body .key-figures .kf{background:var(--surface-2);border:1px solid var(--line);border-radius:12px;
  padding:1.1rem;text-align:center}
.article-body .key-figures .kf b{display:block;font-family:var(--serif);font-size:1.7rem;color:var(--emerald)}
.article-body .key-figures .kf span{font-size:.82rem;color:var(--muted)}

/* ── Home content ─────────────────────────────────────────────────────────── */
.hp-home{max-width:var(--content-w);margin:0 auto;font-size:1.08rem;line-height:1.82;color:var(--text)}
.hp-home>*:first-child{margin-top:0}
.hp-home h2{font-family:var(--serif);font-size:1.9rem;margin:2.8rem 0 1rem;color:var(--ink)}
.hp-home h2::before{content:"";display:block;width:52px;height:4px;border-radius:3px;
  background:linear-gradient(90deg,var(--emerald),var(--emerald-3));margin-bottom:.85rem}
.hp-home h3{font-size:1.3rem;margin:1.9rem 0 .7rem;color:var(--nightblue-2)}
.hp-home p{margin:0 0 1.25rem}
.hp-home strong{color:var(--ink)}
.hp-home a{color:var(--emerald);font-weight:600;border-bottom:1px solid rgba(15,118,110,.3)}
.hp-home a:hover{border-bottom-color:var(--emerald);text-decoration:none}
.hp-home ul,.hp-home ol{margin:0 0 1.3rem;padding-left:1.4rem}
.hp-home li{margin:.4rem 0}
.hp-home ul li::marker{color:var(--emerald-2)}
.hp-home table{width:100%;border-collapse:collapse;margin:1.7rem 0;font-size:.97rem;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.hp-home th,.hp-home td{padding:.8rem 1rem;text-align:left;border-bottom:1px solid var(--line)}
.hp-home thead th{background:var(--nightblue);color:#fff}
.hp-home tbody tr:nth-child(even){background:var(--surface-2)}
.hp-home details{margin:.7rem 0;border:1px solid var(--line);border-radius:10px;background:var(--surface);overflow:hidden}
.hp-home summary{cursor:pointer;padding:.9rem 1.2rem;font-weight:700;color:var(--ink)}
.hp-home blockquote{margin:1.6rem 0;padding:1.1rem 1.4rem;background:var(--emerald-soft);border-left:4px solid var(--emerald);border-radius:0 10px 10px 0}

/* hp-grid : cartes d'articles auto */
.hp-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.2rem;margin:1.6rem 0 2.4rem;max-width:none}
.hp-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);transition:.18s;color:var(--ink)}
.hp-card:hover{text-decoration:none;transform:translateY(-3px);box-shadow:var(--shadow)}
.hp-card-imgwrap{display:block;overflow:hidden;line-height:0;aspect-ratio:16/9;background:var(--surface-2)}
.hp-card-img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.hp-card:hover .hp-card-img{transform:scale(1.05)}
.hp-card-body{padding:1.1rem 1.2rem 1.2rem;display:flex;flex-direction:column;gap:.5rem}
.hp-card-title{font-family:var(--serif);font-weight:700;font-size:1.08rem;line-height:1.35;color:var(--ink)}
.hp-card-exc{font-size:.9rem;color:var(--muted);line-height:1.55}
.hp-card-more{font-size:.85rem;font-weight:700;color:var(--emerald);margin-top:auto}

/* Section grille de rubriques sur l'accueil */
.hp-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;margin:1.8rem 0 2.4rem}
.hp-cat{display:block;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.6rem;box-shadow:var(--shadow-sm);transition:.18s;color:var(--ink)}
.hp-cat:hover{text-decoration:none;transform:translateY(-3px);box-shadow:var(--shadow);border-color:#bfe6da}
.hp-cat h3{margin:.2rem 0 .5rem;color:var(--nightblue-2)}
.hp-cat p{font-size:.94rem;color:var(--muted);margin:0 0 .8rem}
.hp-cat .hp-cat-link{font-weight:700;color:var(--emerald);font-size:.9rem}

/* ── Category / blog list ─────────────────────────────────────────────────── */
.cat-content{max-width:920px;margin:0 auto}
.cat-editorial{margin:0 auto 2.2rem}
.cat-editorial-top{max-width:var(--content-w)}
.cat-editorial-bottom{max-width:var(--content-w);margin-top:2.6rem;padding-top:2rem;border-top:1px solid var(--line)}
.cat-list-section{margin:2rem 0}
.posts-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.4rem}
.post-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);transition:.18s}
.post-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.post-card-thumb{display:block;overflow:hidden;line-height:0;aspect-ratio:16/9;background:var(--surface-2)}
.post-card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.post-card:hover .post-card-thumb img{transform:scale(1.05)}
.post-card-body{padding:1.2rem 1.3rem 1.3rem;display:flex;flex-direction:column;gap:.55rem;flex:1}
.post-card-body h2{font-size:1.18rem;margin:0;line-height:1.35}
.post-card-body h2 a{color:var(--ink)}
.post-card-body h2 a:hover{color:var(--emerald);text-decoration:none}
.post-card .excerpt{font-size:.92rem;color:var(--muted);margin:0;line-height:1.6}
.post-card .read-more{font-size:.85rem;font-weight:700;color:var(--emerald);margin-top:auto}
.empty-note{text-align:center;color:var(--muted);padding:2rem}

/* ── Pagination ───────────────────────────────────────────────────────────── */
.pagination{margin:2.4rem 0 0;display:flex;justify-content:center}
.page-list{display:flex;gap:.4rem;flex-wrap:wrap}
.page-btn{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;
  padding:0 .6rem;border-radius:10px;background:var(--surface);border:1px solid var(--line);
  color:var(--ink);font-weight:600;transition:.15s}
.page-btn:hover{background:var(--emerald-soft);border-color:var(--emerald);color:var(--emerald);text-decoration:none}
.page-btn.active{background:var(--emerald);border-color:var(--emerald);color:#fff}
.page-ellipsis{display:inline-flex;align-items:center;padding:0 .3rem;color:var(--muted)}

/* ── Post page ────────────────────────────────────────────────────────────── */
.post-article{min-width:0}
.post-header{margin-bottom:1.6rem}
.cat-badge{display:inline-block;background:var(--emerald-soft);color:var(--emerald);font-family:var(--sans);
  font-weight:700;font-size:.78rem;letter-spacing:.03em;text-transform:uppercase;padding:.35rem .8rem;
  border-radius:30px;margin-bottom:1rem}
.cat-badge:hover{background:var(--emerald);color:#fff;text-decoration:none}
.post-title{font-size:2.3rem;line-height:1.2;margin:0 0 1rem}
.post-meta{font-size:.88rem;color:var(--muted);display:flex;flex-wrap:wrap;gap:.4rem}
.post-featured{margin:0 0 1.8rem}
.post-featured img{width:100%;max-height:460px;object-fit:cover;border-radius:var(--radius);display:block;box-shadow:var(--shadow)}
.page-featured{margin:0 0 1.8rem}
.page-featured img{width:100%;max-height:420px;object-fit:cover;border-radius:12px;display:block}

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.sidebar{min-width:0;display:flex;flex-direction:column;gap:1.4rem;position:sticky;top:90px}
.sidebar-widget{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow-sm);overflow:hidden}
.sidebar-widget .widget-title{background:var(--surface-2);padding:.85rem 1.2rem;font-family:var(--serif);
  font-weight:700;color:var(--nightblue-2);border-bottom:1px solid var(--line);font-size:1rem}
.sidebar-widget .widget-body{padding:1.1rem 1.2rem}
.widget-list{list-style:none;margin:0;padding:0}
.widget-list li{margin:0;border-bottom:1px solid var(--line)}
.widget-list li:last-child{border-bottom:none}
.widget-list a{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.6rem 0;
  color:var(--text);font-size:.93rem;font-weight:500}
.widget-list a:hover{color:var(--emerald);text-decoration:none}
.widget-list .count{background:var(--emerald-soft);color:var(--emerald);font-size:.72rem;font-weight:700;
  padding:.1rem .5rem;border-radius:20px;min-width:24px;text-align:center}
.note-widget .widget-body p{font-size:.87rem;color:var(--muted);line-height:1.6;margin:0}
.toc-widget .widget-body{font-size:.9rem}
.toc-widget a{color:var(--text)}
.toc-widget a:hover{color:var(--emerald)}

/* ── 404 ──────────────────────────────────────────────────────────────────── */
.error-main{max-width:720px;text-align:center}
.error-card{padding:3rem 2.4rem}
.error-code{font-family:var(--serif);font-size:4.5rem;font-weight:700;color:var(--emerald);line-height:1}
.error-card h1{margin:.4rem 0 1rem;font-size:1.9rem}
.error-card p{color:var(--muted);max-width:480px;margin:0 auto 1.6rem}
.error-cats{margin-top:2rem;text-align:left;border-top:1px solid var(--line);padding-top:1.5rem}
.error-cats h2{font-size:1.1rem;margin:0 0 .8rem}
.error-cats ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}
.error-cats a{font-weight:600}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer{background:var(--nightblue);color:#c7d5db;margin-top:2rem}
.footer-inner{max-width:var(--wide-w);margin:0 auto;padding:2.6rem 1.4rem 1.6rem;display:flex;
  gap:2rem;justify-content:space-between;flex-wrap:wrap;align-items:flex-start}
.footer-brand{max-width:520px}
.footer-logo{display:flex;align-items:center;gap:.6rem;color:#fff;font-family:var(--serif);
  font-weight:700;font-size:1.15rem;margin-bottom:.7rem}
.footer-brand p{font-size:.92rem;line-height:1.65;color:#9fb2bb;margin:0}
.footer-links{display:flex;flex-direction:column;gap:.6rem}
.footer-links a{color:#c7d5db;font-weight:600;font-size:.95rem}
.footer-links a:hover{color:var(--emerald-3);text-decoration:none}
.footer-bottom{border-top:1px solid rgba(255,255,255,.09);padding:1.2rem 1.4rem;max-width:var(--wide-w);
  margin:0 auto;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.8rem;color:#8ba0a9}
.footer-disclaimer{max-width:620px}

/* ── Back to top ──────────────────────────────────────────────────────────── */
.back-to-top{position:fixed;bottom:22px;right:22px;width:46px;height:46px;border-radius:50%;
  background:var(--emerald);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;
  justify-content:center;box-shadow:0 6px 18px rgba(15,118,110,.4);opacity:0;visibility:hidden;
  transform:translateY(10px);transition:.2s;z-index:800}
.back-to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
.back-to-top svg{width:22px;height:22px}
.back-to-top:hover{background:var(--emerald-2)}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media(max-width:1024px){
  .site-main.with-sidebar{grid-template-columns:1fr}
  .sidebar{position:static;order:2}
}
@media(max-width:900px){
  body{font-size:16px}
  .nav-toggle{display:flex;order:-1}
  .site-nav-wrap{margin-left:auto}
  .site-nav{position:fixed;top:0;left:0;bottom:0;width:82%;max-width:340px;background:var(--nightblue-2);
    transform:translateX(-100%);transition:transform .25s;z-index:1100;overflow-y:auto;
    flex-direction:column;align-items:stretch;gap:0;padding:4.5rem 1rem 2rem;
    box-shadow:4px 0 30px rgba(0,0,0,.3)}
  .site-nav.open{transform:translateX(0)}
  .site-nav>li{width:100%}
  .site-nav>li>a{padding:.85rem 1rem;border-radius:10px}
  .sub-toggle{display:inline-flex;position:absolute;right:.6rem;top:.5rem;width:38px;height:38px;
    align-items:center;justify-content:center}
  .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:none;
    background:rgba(0,0,0,.16);display:none;margin:.2rem 0 .4rem;border-radius:10px}
  .sub-menu.open{display:block}
  .sub-menu a{color:#dbe8ec}
  .header-inner{padding:.6rem 1rem}
  .home-hero{padding:3.4rem 1.2rem 3.8rem}
  .home-hero h1{font-size:2.05rem}
  .hero-sub{font-size:1.08rem}
  .content-card{padding:1.5rem 1.3rem}
  .hp-grid,.posts-grid,.hp-cats{grid-template-columns:1fr}
  .page-head h1{font-size:1.7rem}
  .post-title{font-size:1.8rem}
  .article-body h2{font-size:1.42rem}
  .footer-bottom{flex-direction:column}
}
