:root{
  --bg:#f3f6fb;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
  --line:#e7ecf3;
  --accent:#2f5f9e; /* SOHO soft blue */
  --accent2:#1f4d86;
  --shadow:0 8px 22px rgba(15,23,42,.08);
  --radius:16px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
}

.wrap{max-width:1100px; margin:0 auto; padding:0 16px;}
.muted{color:var(--muted)}
.small{font-size:.92rem}
.dot{margin:0 8px; color:var(--muted)}

.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; padding:10px 0;}
.brand{font-weight:700; letter-spacing:.2px}
.nav a{
  text-decoration:none; color:var(--text);
  padding:8px 10px; border-radius:10px;
}
.nav a:hover{background:#eef3ff}

.hero{position:relative; overflow:hidden}
.hero__bg{
  height:340px;
  background:
    linear-gradient(0deg, rgba(243,246,251,.92), rgba(243,246,251,.65)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1600&q=60");
  background-size:cover;
  background-position:center;
}
.hero__content{
  margin-top:-220px;
  padding:22px;
  border-radius:var(--radius);
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero h1{margin:0 0 10px; font-size:2rem}
.lead{margin:0 0 10px; color:#374151}
.meta{display:flex; align-items:center; flex-wrap:wrap; gap:6px; color:var(--muted)}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
}
.article{
  padding:18px;
  max-width:780px;
  margin:16px auto 0;
}

.pad{padding:18px; margin:16px auto}

.section{padding:14px 4px; border-top:1px solid var(--line)}
.section h2{margin:4px 0 8px; font-size:1.35rem}
.section p{margin:10px 0}
.section ul{margin:8px 0 0 18px}
.section li{margin:6px 0}

.toc{padding:10px 4px 14px}
.toc h2{margin:0 0 10px}
.toc__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:8px 12px;
}
.toc__grid a{
  text-decoration:none;
  color:var(--accent2);
  background:#f3f6ff;
  border:1px solid #e6ecff;
  padding:10px 12px;
  border-radius:12px;
}
.toc__grid a:hover{background:#eef3ff}

.adcard{
  display:flex; gap:12px;
  padding:14px;
  border:1px solid #e7eefc;
  background:#fbfcff;
  border-radius:var(--radius);
  margin:4px 0 14px;
}
.adcard__label{
  font-size:.8rem;
  color:var(--accent2);
  font-weight:700;
  letter-spacing:.3px;
  min-width:120px;
  text-transform:uppercase;
}
.adcard__title{font-weight:700; margin-bottom:4px}
.adcard__desc{color:var(--muted); font-size:.95rem; margin-bottom:10px}

.btn{
  display:inline-block;
  background:var(--accent);
  color:white;
  text-decoration:none;
  padding:10px 14px;
  border-radius:12px;
  border:0;
  cursor:pointer;
  font-weight:600;
  box-shadow: 0 8px 18px rgba(47,95,158,.16);
}
.btn:hover{background:var(--accent2)}
.btn:active{transform:translateY(1px)}

.callout{
  margin-top:12px;
  border:1px dashed #cfe0ff;
  background:#f7fbff;
  border-radius:14px;
  padding:12px;
}
.checkgrid{
  margin-top:8px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:8px;
}
.checkgrid label{display:flex; align-items:center; gap:8px; margin:0}

.imageBlock{
  margin:18px 0;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
}
.imageBlock__img{
  height:260px;
  background:
    linear-gradient(0deg, rgba(255,255,255,.35), rgba(255,255,255,.05)),
    url("https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&w=1600&q=60");
  background-size:cover;
  background-position:center;
}
.imageBlock__cap{
  padding:10px 12px;
  color:var(--muted);
  font-size:.92rem;
}

/* Embedded ad container (opens inside the page) */
.adEmbed{
  display:none;
  margin-top:12px;
  padding:14px;
  border:1px dashed #cfd9ee;
  background:#f9fbff;
  border-radius:14px;
}
.adEmbed__slot{
  margin-top:10px;
}
.adFallbackLink{
  display:inline-block;
  margin-top:10px;
  color:var(--accent2);
  text-decoration:none;
  font-weight:600;
}
.adFallbackLink:hover{text-decoration:underline}

.footer{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.footer__links a{color:var(--accent2); text-decoration:none; margin-left:10px}
.footer__links a:hover{text-decoration:underline}

.topBtn{
  position:fixed;
  right:16px;
  bottom:16px;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#ffffff;
  box-shadow: var(--shadow);
  cursor:pointer;
  display:none;
}
.topBtn:hover{background:#f3f6ff}

@media (max-width: 980px){
  .toc__grid{grid-template-columns:1fr}
  .checkgrid{grid-template-columns:1fr}
  .hero__content{margin-top:-200px; padding:16px;}
  .hero h1{font-size:1.55rem}
}


/* 🔒 HIDE FALLBACK / PLACEHOLDER (USER WILL NOT SEE) */
.adFallbackLink,
.adEmbed__hint{
  display:none !important;
}


/* ✅ Minimal ad box text: only show the title line + button */
.adcard__label{ display:none !important; }
.adcard__desc{ display:none !important; }
.adFallbackLink{ display:none !important; }
.adEmbed__hint{ display:none !important; }
