/* ============================================================
   Minipops Blog stylesheet v1 (2026-08-28)
   Mirrors the locked design system in index.html. Do not add
   colors, fonts, or radii outside the token set.
   Versioned filename: on any edit, save as blog.v2.css and
   update every <link> (assets are cached immutable).
============================================================ */
:root{
  --ink:#35275B;
  --ink-soft:#5C4E85;
  --cream:#FFF9F2;
  --blush:#FBEDE4;
  --white:#FFFFFF;
  --coral:#F0685B;
  --coral-deep:#D9503F;
  --mustard:#F4B33F;
  --teal:#2E9E98;
  --lilac:#A48AD4;
  --wa:#25D366;
  --wa-deep:#1DA851;
  --radius:24px;
  --shadow:0 12px 40px rgba(53,39,91,.10);
  --shadow-sm:0 6px 18px rgba(53,39,91,.08);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
body{
  font-family:'IBM Plex Sans Arabic',system-ui,sans-serif;
  background:var(--cream);
  color:var(--ink);
  line-height:1.85;
  overflow-x:hidden;
}
h1,h2,h3,.display{font-family:'Baloo Bhaijaan 2','IBM Plex Sans Arabic',sans-serif;line-height:1.5}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
:focus-visible{outline:3px solid var(--teal);outline-offset:3px;border-radius:8px}
.container{width:min(1120px,92%);margin-inline:auto}

/* ---------- pops ---------- */
.pops{display:inline-flex;align-items:center;gap:7px}
.pop{width:12px;height:12px;border-radius:50%;display:inline-block}
.pop.s{width:8px;height:8px}
.pop.l{width:16px;height:16px}
.c-coral{background:var(--coral)}
.c-mustard{background:var(--mustard)}
.c-teal{background:var(--teal)}
.c-lilac{background:var(--lilac)}
.c-ink{background:var(--ink)}

/* ---------- top bar ---------- */
.topbar{
  position:sticky;top:0;z-index:50;
  background:rgba(255,249,242,.85);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(53,39,91,.07);
}
.topbar .container{display:flex;align-items:center;justify-content:space-between;padding-block:14px}
.brand{display:flex;align-items:center;gap:10px}
.brand-name{font-family:'Baloo Bhaijaan 2',sans-serif;font-weight:800;font-size:1.5rem;color:var(--ink)}
.brand-name span{color:var(--coral)}
.nav{display:flex;gap:26px;font-weight:500;font-size:.95rem;color:var(--ink-soft)}
.nav a:hover{color:var(--coral)}
.nav a.active{color:var(--coral);font-weight:700}
@media(max-width:820px){.nav{display:none}}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-family:'IBM Plex Sans Arabic',sans-serif;font-weight:700;
  border:none;cursor:pointer;border-radius:999px;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0)}
.btn-wa{
  background:var(--wa-deep);color:#fff;
  padding:12px 22px;font-size:1.19rem;
  box-shadow:0 8px 20px rgba(37,211,102,.35);
}
.btn-wa:hover{background:#128C7E}
.btn-primary{
  background:var(--coral);color:#fff;
  padding:16px 32px;font-size:1.19rem;
  box-shadow:0 10px 26px rgba(240,104,91,.35);
}
.btn-primary:hover{background:var(--coral-deep)}
.btn-ghost{
  background:transparent;color:var(--ink);
  padding:16px 28px;font-size:1.02rem;
  border:2px solid rgba(53,39,91,.18);
}
.btn-ghost:hover{border-color:var(--ink);background:rgba(53,39,91,.04)}
.wa-icon{width:20px;height:20px;flex:none}

/* ---------- section primitives ---------- */
.sec-tag{
  display:inline-flex;align-items:center;gap:8px;
  font-weight:700;font-size:.85rem;color:var(--coral);
  margin-bottom:10px;letter-spacing:.02em;
}

/* ---------- blog hub ---------- */
.bhub-hero{padding:56px 0 34px}
.bhub-hero h1{font-size:clamp(1.9rem,4.2vw,2.9rem);font-weight:800;margin-bottom:12px}
.bhub-hero h1 .hl{color:var(--coral)}
.bhub-hero .lead{font-size:1.1rem;color:var(--ink-soft);max-width:38rem}
.bhub-group{padding:26px 0 8px}
.bhub-group-head{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.bhub-group-head h2{font-size:1.35rem;font-weight:800}
.bhub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:26px}
@media(max-width:900px){.bhub-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.bhub-grid{grid-template-columns:1fr}}
.bcard{
  background:var(--white);border-radius:var(--radius);
  padding:26px 24px;border:1px solid rgba(53,39,91,.06);
  box-shadow:var(--shadow-sm);position:relative;overflow:hidden;
  display:flex;flex-direction:column;gap:10px;
  transition:transform .18s ease, box-shadow .18s ease;
}
.bcard:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.bcard::before{
  content:"";position:absolute;top:0;right:0;left:0;height:6px;
  background:var(--c,var(--coral));
}
.bcard .bcat{
  display:inline-flex;align-items:center;gap:8px;
  font-size:.78rem;font-weight:700;color:var(--ink-soft);
}
.bcard .bcat .pop{width:9px;height:9px;background:var(--c,var(--coral))}
.bcard h3{font-size:1.12rem;font-weight:800;line-height:1.6}
.bcard h3 a::after{content:"";position:absolute;inset:0}
.bcard p{color:var(--ink-soft);font-size:.92rem;flex:1}
.bcard .bmeta{font-size:.8rem;color:var(--ink-soft);opacity:.8;display:flex;gap:14px}

/* ---------- article ---------- */
.crumb{padding:22px 0 0;font-size:.85rem;color:var(--ink-soft)}
.crumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.crumb li:not(:last-child)::after{content:"‹";margin-inline-start:6px;opacity:.5}
.crumb a:hover{color:var(--coral)}
.art-head{padding:18px 0 8px}
.art-head h1{font-size:clamp(1.7rem,3.8vw,2.6rem);font-weight:800;max-width:46rem;margin-bottom:14px}
.art-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:6px}
.art-meta .chip{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--white);border:1px solid rgba(53,39,91,.08);
  padding:7px 15px;border-radius:999px;font-size:.82rem;font-weight:600;color:var(--ink);
}
.art-meta .chip .pop{width:9px;height:9px}
.art-body{padding:26px 0 60px}
.art-grid{display:grid;grid-template-columns:minmax(0,46rem);justify-content:center}
.prose{font-size:1.02rem}
.prose h2{font-size:1.45rem;font-weight:800;margin:44px 0 14px;scroll-margin-top:90px}
.prose h2 .pop{width:11px;height:11px;margin-inline-end:8px}
.prose h3{font-size:1.15rem;font-weight:700;margin:30px 0 10px}
.prose p{color:#473A6E;margin-bottom:16px}
.prose ul,.prose ol{margin:0 0 18px;padding-inline-start:22px;color:#473A6E}
.prose li{margin-bottom:8px}
.prose li strong,.prose p strong{color:var(--ink)}
.prose a{color:var(--coral);font-weight:600;border-bottom:1px solid rgba(240,104,91,.35)}
.prose a:hover{border-bottom-color:var(--coral)}

/* article hero image */
.art-hero{margin:0 0 22px;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);border:1px solid rgba(53,39,91,.06)}
.art-hero img{width:100%;height:auto;display:block;aspect-ratio:16/9;object-fit:cover}

/* direct answer box: the GEO extraction block */
.answer-box{
  background:var(--blush);border-radius:var(--radius);
  padding:24px 26px;margin:10px 0 8px;
  border:1px solid rgba(53,39,91,.06);
}
.answer-box .ab-tag{display:flex;align-items:center;gap:8px;font-weight:800;font-size:.9rem;color:var(--coral);margin-bottom:8px}
.answer-box p{color:var(--ink);font-weight:500;margin:0;font-size:1.04rem}

/* summary table */
.tbl-wrap{overflow-x:auto;margin:18px 0 22px;border-radius:20px;box-shadow:var(--shadow-sm);border:1px solid rgba(53,39,91,.07)}
table.tbl{width:100%;border-collapse:collapse;background:var(--white);font-size:.95rem;min-width:480px}
.tbl th{
  background:var(--ink);color:#fff;font-family:'Baloo Bhaijaan 2',sans-serif;
  font-weight:700;padding:13px 16px;text-align:right;font-size:.92rem;
}
.tbl td{padding:12px 16px;border-top:1px solid rgba(53,39,91,.08);color:#473A6E;vertical-align:top}
.tbl tr:nth-child(even) td{background:var(--cream)}
.tbl td:first-child{font-weight:700;color:var(--ink);white-space:nowrap}

/* callout: when to consult */
.callout{
  background:var(--white);border:1px solid rgba(53,39,91,.07);
  border-right:6px solid var(--coral);
  border-radius:20px;padding:22px 24px;margin:26px 0;box-shadow:var(--shadow-sm);
}
.callout.teal{border-right-color:var(--teal)}
.callout.mustard{border-right-color:var(--mustard)}
.callout.lilac{border-right-color:var(--lilac)}
.callout strong.co-title{display:block;font-family:'Baloo Bhaijaan 2',sans-serif;font-size:1.08rem;margin-bottom:8px;color:var(--ink)}
.callout p{margin-bottom:10px;color:#473A6E}
.callout p:last-child{margin-bottom:0}

/* FAQ (same as home) */
.faq-list{display:flex;flex-direction:column;gap:14px;margin:16px 0 8px}
.faq-item{
  background:var(--white);border-radius:20px;border:1px solid rgba(53,39,91,.07);
  overflow:hidden;box-shadow:var(--shadow-sm);
}
.faq-item summary{
  list-style:none;cursor:pointer;padding:20px 24px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  font-weight:700;font-size:1rem;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary .plus{
  flex:none;width:30px;height:30px;border-radius:50%;
  background:var(--blush);color:var(--coral);
  display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:1.2rem;transition:transform .2s ease;
}
.faq-item[open] summary .plus{transform:rotate(45deg)}
.faq-item .answer{padding:0 24px 22px;color:var(--ink-soft);font-size:.96rem}

/* sources + author */
.sources{margin:30px 0 0;font-size:.85rem;color:var(--ink-soft)}
.sources strong{display:block;margin-bottom:6px;color:var(--ink)}
.sources ul{list-style:none;padding:0}
.sources li{margin-bottom:4px}
.author-box{
  display:flex;gap:16px;align-items:center;
  background:var(--white);border:1px solid rgba(53,39,91,.07);
  border-radius:20px;padding:20px 22px;margin:30px 0 0;box-shadow:var(--shadow-sm);
}
.author-box .avatar{
  flex:none;width:56px;height:56px;border-radius:50%;
  background:var(--blush);display:flex;align-items:center;justify-content:center;
}
.author-box .avatar .pops .pop{width:10px;height:10px}
.author-box strong{display:block;font-family:'Baloo Bhaijaan 2',sans-serif}
.author-box span{font-size:.85rem;color:var(--ink-soft)}

/* CTA band */
.art-cta{background:var(--ink);color:#fff;position:relative;overflow:hidden;padding:64px 0;margin-top:20px}
.art-cta .container{text-align:center;max-width:44rem;position:relative;z-index:1}
.art-cta h2{font-size:clamp(1.5rem,3.2vw,2.1rem);font-weight:800;margin-bottom:12px}
.art-cta p{opacity:.85;font-size:1.05rem;margin-bottom:26px}
.art-cta .btn-primary{background:var(--wa-deep);box-shadow:0 10px 30px rgba(37,211,102,.4)}
.art-cta .btn-primary:hover{background:#128C7E}
.art-cta .bg-pop{position:absolute;border-radius:50%;opacity:.16}
.art-cta .bp1{width:220px;height:220px;background:var(--coral);top:-70px;right:-60px}
.art-cta .bp2{width:160px;height:160px;background:var(--mustard);bottom:-50px;left:8%}
.art-cta .cta-privacy{margin-top:14px;font-size:.85rem;opacity:.65}

/* related */
.related{background:var(--white);padding:56px 0}
.related h2{font-size:1.4rem;font-weight:800;margin-bottom:20px}

/* footer + float (same as home) */
footer{background:#2A1F49;color:#fff;padding:40px 0}
footer .container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px}
footer .brand-name{color:#fff;font-size:1.3rem}
footer .fine{font-size:.85rem;opacity:.65}
footer .fnav{display:flex;flex-wrap:wrap;gap:18px;font-size:.88rem;opacity:.85}
footer .fnav a:hover{color:var(--mustard)}
.wa-float{
  position:fixed;bottom:22px;left:22px;z-index:60;
  width:60px;height:60px;border-radius:50%;
  background:var(--wa);display:flex;align-items:center;justify-content:center;
  box-shadow:0 12px 30px rgba(37,211,102,.45);
  transition:transform .18s ease;
}
.wa-float:hover{transform:scale(1.08)}
.wa-float svg{width:30px;height:30px}
.wa-float::before{
  content:"";position:absolute;inset:-6px;border-radius:50%;
  border:2px solid rgba(37,211,102,.5);animation:pulse 2.2s ease-out infinite;
}
@keyframes pulse{
  0%{transform:scale(.9);opacity:.9}
  100%{transform:scale(1.35);opacity:0}
}

/* ---------- tagline (v2, 2026-08-28) ---------- */
.brand .tagline{font-size:.76rem;font-weight:600;color:var(--ink-soft);border-inline-start:1px solid rgba(53,39,91,.15);padding-inline-start:12px;margin-inline-start:4px;line-height:1.4}
@media(max-width:1000px){.brand .tagline{display:none}}
.f-brand{display:flex;flex-direction:column;gap:2px}
footer .f-tagline{font-size:.82rem;opacity:.75}
