/* CSS Variables */
:root {
  --bg: #0c0c0f;
  --surface: #121219;
  --text: #e9e9ef;
  --muted: #b9bcc6;
  --accent: #e7c66a;
  --accent-2: #b88900;
  --accent-3: #6b4f00;
  --link: #4ea1ff;
  --success: #2ecc71;
  --danger: #ff4d4f;
  --shadow: rgba(0,0,0,0.3);
  --maxw: 1180px;
  --radius: 12px;
  --radius-sm: 8px;
}

/* Reset & Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
svg { display: inline-block; vertical-align: middle; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-light { background: #15151d; }
.section-alt { background: linear-gradient(180deg, #101015, #14141c); }
.h2 { font-size: 2rem; margin: 0 0 18px; letter-spacing: 0.3px; }
.p { color: var(--muted); margin: 0 0 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0a0a0c; font-weight: 700; text-decoration: none;
  padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 24px rgba(231,198,106,0.2);
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); transition: all 160ms ease; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--accent); }
.badge { display:inline-block; padding: 6px 10px; border-radius: 999px; background:#1a1a22; color: var(--accent); font-weight: 600; border:1px solid rgba(231,198,106,0.25); }

/* Header & Navigation */
.header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(120%) blur(8px); background: rgba(15,15,22,0.75); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display:flex; align-items:center; gap: 12px; text-decoration:none; color: var(--text); font-weight:800; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.brand span { font-size: 1.05rem; letter-spacing: 0.2px; }
.menu { display: flex; align-items: center; gap: 18px; }
.menu a { color: var(--muted); text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: 8px; }
.menu a:hover { color: var(--text); background: #1a1a22; }
.nav-cta { display:flex; align-items:center; gap: 12px; }
.live-indicator { display:flex; align-items:center; gap:8px; color:#7dd97e; font-weight:700; }
.live-dot { width:8px; height:8px; background:#2ecc71; border-radius:50%; box-shadow:0 0 0 6px rgba(46,204,113,0.12); }

/* Mobile Nav */
.mobile-toggle { display:none; background:#1a1a22; border:1px solid rgba(255,255,255,0.08); color:var(--text); padding:8px 12px; border-radius:8px; }
@media (max-width: 900px) {
  .menu { display:none; position:absolute; top:64px; left:0; right:0; background:#121219; border-bottom:1px solid rgba(255,255,255,0.06); padding:12px 20px; flex-direction:column; }
  .menu.open { display:flex; }
  .nav { position:relative; }
  .mobile-toggle { display:inline-flex; }
}

/* Hero */
.hero { position: relative; min-height: 68vh; display:flex; align-items:center; }
.hero .bg { position:absolute; inset:0; background: url('images/hero1.jpg') center/cover no-repeat; filter: brightness(0.7); }
.hero .overlay { position:absolute; inset:0; background: radial-gradient(1200px 600px at 25% 10%, rgba(231,198,106,0.15), transparent), linear-gradient(180deg, rgba(10,10,12,0.55), rgba(10,10,12,0.88)); }
.hero .content { position:relative; z-index:2; padding: 64px 0; }
.hero h1 { font-size: 2.6rem; margin:0 0 14px; }
.hero p { color: var(--muted); max-width: 780px; }
.hero-actions { display:flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }

/* Grid Helpers */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
/* Fix: apply 1-column only on mobile, not globally */
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Cards */
.card { background: var(--surface); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: 18px; box-shadow: 0 10px 24px var(--shadow); }
.card h3 { margin:0 0 10px; font-size:1.2rem; }
.card p { color: var(--muted); }

/* Feature Icons */
.icon-wrap { width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; background:#1b1b23; border:1px solid rgba(255,255,255,0.06); margin-bottom:12px; }
.icon-wrap svg { width:26px; height:26px; fill: url(#grad-gold); }

/* Media Blocks */
.media { display:grid; grid-template-columns: 1.2fr 1fr; gap:22px; align-items:center; }
.media .text { padding: 6px; }
.media .image { overflow:hidden; border-radius: var(--radius); }
@media (max-width: 900px) { .media { grid-template-columns: 1fr; } }
#districts .card.media { grid-template-columns: 1fr; }
#districts .card.media .image { border-radius: var(--radius); }

/* List styles */
.list { list-style: none; padding:0; margin:0; }
.list li { padding: 8px 0; color: var(--muted); }
.list .check::before { content: "✔"; color: var(--accent); margin-right: 8px; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--text); }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
.footer { background: #0d0d12; border-top: 1px solid rgba(255,255,255,0.06); }
.footer .cols { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap:22px; }
.footer a { color: var(--muted); text-decoration:none; }
.footer a:hover { color: var(--text); }
@media (max-width: 900px) { .footer .cols { grid-template-columns: 1fr; gap:18px; align-items:start; } }
.footer .copy { color: #8d90a0; font-size: 0.95rem; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.06); margin-top: 22px; }

/* Utility */
.muted { color: var(--muted); }
.center { text-align:center; }
.spacer-16 { height:16px; }
.spacer-24 { height:24px; }
.spacer-32 { height:32px; }

/* Gold gradient definition for SVG icons */
svg defs linearGradient#grad-gold stop:first-child { stop-color: var(--accent); }
svg defs linearGradient#grad-gold stop:last-child { stop-color: var(--accent-2); }

/* Features Page Scoped Styles */
#features-page .feature-hero .media { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 900px) { #features-page .feature-hero .media { grid-template-columns: 1fr; } }
#features-page .feature-grid .card img { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 12px; box-shadow: 0 10px 24px var(--shadow); }
#features-page .feature-grid .card { padding: 16px; }
#features-page .feature-grid .card h3 { margin-top: 8px; }
#features-page .feature-cta { background: linear-gradient(180deg, #101015, #15151d); }

/* About Page Scoped Styles */
#about-page .about-hero .media { grid-template-columns: 1.2fr 1fr; }
@media (max-width: 900px) { #about-page .about-hero .media { grid-template-columns: 1fr; } }
#about-page .about-grid .card img { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 12px; box-shadow: 0 10px 24px var(--shadow); }
#about-page .about-grid .card { padding: 16px; }
#about-page .about-grid .card h3 { margin-top: 8px; }
#about-page .pill { display:inline-block; padding:6px 10px; border-radius:999px; background:#1a1a22; color:var(--accent); border:1px solid rgba(231,198,106,0.25); font-weight:700; }

/* Safety Page Scoped Styles */
#safety-page .safety-hero .media { grid-template-columns: 1.2fr 1fr; }
@media (max-width: 900px) { #safety-page .safety-hero .media { grid-template-columns: 1fr; } }
#safety-page .badge-safety { background:#142015; color:var(--success); border-color: rgba(46,204,113,0.25); }
#safety-page .safety-grid .card img { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 12px; box-shadow: 0 10px 24px var(--shadow); }
#safety-page .safety-grid .card { padding: 16px; }
#safety-page .safety-grid .card h3 { margin-top: 8px; }
#safety-page .callout { background:#10151a; border:1px solid rgba(46,204,113,0.35); border-radius: var(--radius); padding:16px; }
#safety-page .tip-list li { padding:10px 0; }
#safety-page .tip-list .check::before { content: "✔"; color: var(--success); margin-right: 8px; }

/* Scoped styles for Sugar Baby page */
#sugar-baby-page a { color: #ffffff; }
#sugar-baby-page .menu a { color: #ffffff; }
#sugar-baby-page .menu a:hover { color: #e7c66a; }
#sugar-baby-page .brand span { color: #ffffff; }
#sugar-baby-page .nav-cta .btn { color: #0a0a0c; }

#sugar-baby-page .section { padding: 56px 0; }
#sugar-baby-page .container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
#sugar-baby-page .feature-hero { background: linear-gradient(180deg, #0a0f1f, #12182b); color:#ffffff; padding:56px 0; }
#sugar-baby-page .media { display:grid; grid-template-columns: 1.2fr 0.8fr; gap:24px; align-items:center; }
#sugar-baby-page .badge { display:inline-block; background:#1e2944; color:#e7c66a; padding:6px 10px; border-radius:8px; font-weight:600; }
#sugar-baby-page .p { font-size:16px; opacity:0.92; }
#sugar-baby-page .image img { width:100%; border-radius:12px; box-shadow:0 12px 28px rgba(0,0,0,0.35); }
#sugar-baby-page .grid { display:grid; gap:20px; }
#sugar-baby-page .grid-3 { grid-template-columns: repeat(3, 1fr); }
#sugar-baby-page .grid-2 { grid-template-columns: 1fr 1fr; }
#sugar-baby-page .card { background:#0f1426; color:#fff; border:1px solid #1f2a44; border-radius:12px; padding:20px; }
#sugar-baby-page .h2 { font-size:28px; margin:0 0 12px; color:#fff; }
#sugar-baby-page .list { list-style:none; padding:0; margin:0; }
#sugar-baby-page .list .check { padding-left:24px; position:relative; margin:8px 0; }
#sugar-baby-page .list .check::before { content:"✓"; position:absolute; left:0; color:#ff5a3c; }
#sugar-baby-page .image-row { display:grid; grid-template-columns: repeat(4, 1fr); gap:12px; }
#sugar-baby-page .image-row img { width:100%; border-radius:10px; }
#sugar-baby-page .callout { background:#061022; border:1px solid #1e2944; border-radius:12px; padding:16px; color:#e8eef8; }
#sugar-baby-page .callout a { color:#ffffff; text-decoration:underline; }

#sugar-baby-page .header { backdrop-filter: saturate(120%) blur(8px); background: rgba(15,15,22,0.75); border-bottom: 1px solid rgba(255,255,255,0.06); }
#sugar-baby-page .footer { background: #0d0d12; border-top: 1px solid rgba(255,255,255,0.06); }
#sugar-baby-page .footer .cols { display:grid; grid-template-columns: 1.6fr 1fr 1fr; gap:22px; }
#sugar-baby-page .copy { color: #8d90a0; font-size: 0.95rem; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.06); margin-top: 22px; }

@media (max-width: 900px) {
  #sugar-baby-page .media { grid-template-columns: 1fr; }
  #sugar-baby-page .grid-3 { grid-template-columns: 1fr; }
  #sugar-baby-page .grid-2 { grid-template-columns: 1fr; }
  #sugar-baby-page .image-row { grid-template-columns: repeat(2, 1fr); }
}

/* Ensure header/footer spacing aligns */
#sugar-daddy-page .header { backdrop-filter: saturate(120%) blur(8px); background: rgba(15,15,22,0.75); border-bottom: 1px solid rgba(255,255,255,0.06); }
#sugar-daddy-page .footer { background: #0d0d12; border-top: 1px solid rgba(255,255,255,0.06); }
#sugar-daddy-page .footer .cols { display:grid; grid-template-columns: 1.6fr 1fr 1fr; gap:22px; }
#sugar-daddy-page .copy { color: #8d90a0; font-size: 0.95rem; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.06); margin-top: 22px; }

/* PC layout refinements (scoped) */
#sugar-daddy-page .section { padding: 56px 0; }
#sugar-daddy-page .container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
#sugar-daddy-page .hero-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; align-items: center; }
#sugar-daddy-page .hero h1 { font-size: 2.4rem; margin: 0 0 12px; }
#sugar-daddy-page .hero .p { font-size: 16px; opacity: 0.92; }
#sugar-daddy-page .hero-media img { width: 100%; border-radius: 12px; box-shadow: 0 12px 28px rgba(0,0,0,0.35); }
#sugar-daddy-page .grid { display: grid; gap: 20px; }
#sugar-daddy-page .grid-3 { grid-template-columns: repeat(3, 1fr); }
#sugar-daddy-page .grid-2 { grid-template-columns: 1fr 1fr; }
#sugar-daddy-page .card { border-radius: 12px; padding: 20px; }
#sugar-daddy-page .h2 { font-size: 28px; margin: 0 0 12px; }
#sugar-daddy-page .list { list-style: none; padding: 0; margin: 0; }
#sugar-daddy-page .list li { padding: 8px 0; }
#sugar-daddy-page .image-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
#sugar-daddy-page .image-row img { width: 100%; border-radius: 10px; }

/* Better contrast for callout links */
#sugar-daddy-page .callout a { color: #ffffff; text-decoration: underline; }
#sugar-daddy-page .callout strong { color: #ffffff; }

/* responsive */
@media (max-width: 900px) {
  #sugar-daddy-page .hero-inner { grid-template-columns: 1fr; }
  #sugar-daddy-page .grid-3 { grid-template-columns: 1fr; }
  #sugar-daddy-page .grid-2 { grid-template-columns: 1fr; }
  #sugar-daddy-page .image-row { grid-template-columns: repeat(2, 1fr); }
}

/* Lifestyle Page Scoped Styles */
#lifestyle-page a { color: #ffffff; }
#lifestyle-page .menu a { color: #ffffff; }
#lifestyle-page .menu a:hover { color: #e7c66a; }
#lifestyle-page .brand span { color: #ffffff; }
#lifestyle-page .nav-cta .btn { color: #0a0a0c; }
#lifestyle-page .section { padding: 56px 0; }
#lifestyle-page .container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
#lifestyle-page .lifestyle-hero { background: linear-gradient(180deg, #0a0f1f, #10162a); color:#ffffff; padding:56px 0; }
#lifestyle-page .media { display:grid; grid-template-columns: 1.2fr 0.8fr; gap:24px; align-items:center; }
#lifestyle-page .badge { display:inline-block; background:#1e2944; color:#e7c66a; padding:6px 10px; border-radius:8px; font-weight:600; }
#lifestyle-page .p { font-size:16px; opacity:0.92; }
#lifestyle-page .image img { width:100%; border-radius:12px; box-shadow:0 12px 28px rgba(0,0,0,0.35); }
#lifestyle-page .grid { display:grid; gap:20px; }
#lifestyle-page .grid-3 { grid-template-columns: repeat(3, 1fr); }
#lifestyle-page .grid-2 { grid-template-columns: 1fr 1fr; }
#lifestyle-page .card { background:#0f1426; color:#fff; border:1px solid #1f2a44; border-radius:12px; padding:20px; }
#lifestyle-page .h2 { font-size:28px; margin:0 0 12px; color:#fff; }
#lifestyle-page .list { list-style:none; padding:0; margin:0; }
#lifestyle-page .list .check { padding-left:24px; position:relative; margin:8px 0; }
#lifestyle-page .list .check::before { content:"✓"; position:absolute; left:0; color:#ff5a3c; }
#lifestyle-page .image-row { display:grid; grid-template-columns: repeat(4, 1fr); gap:12px; }
#lifestyle-page .image-row img { width:100%; border-radius:10px; }
#lifestyle-page .callout { background:#061022; border:1px solid #1e2944; border-radius:12px; padding:16px; color:#e8eef8; }
#lifestyle-page .callout a { color:#ffffff; text-decoration:underline; }
#lifestyle-page .header { backdrop-filter: saturate(120%) blur(8px); background: rgba(15,15,22,0.75); border-bottom: 1px solid rgba(255,255,255,0.06); }
#lifestyle-page .footer { background: #0d0d12; border-top: 1px solid rgba(255,255,255,0.06); }
#lifestyle-page .footer .cols { display:grid; grid-template-columns: 1.6fr 1fr 1fr; gap:22px; }
#lifestyle-page .copy { color: #8d90a0; font-size: 0.95rem; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.06); margin-top: 22px; }

/* Responsive */
@media (max-width: 900px){
  #lifestyle-page .media { grid-template-columns: 1fr; }
  #lifestyle-page .grid-3 { grid-template-columns: 1fr; }
  #lifestyle-page .grid-2 { grid-template-columns: 1fr; }
  #lifestyle-page .image-row { grid-template-columns: repeat(2, 1fr); }
}

/* Header CTA visibility control */
.header .nav-cta .btn { display: inline-flex; }
@media (max-width: 900px) {
  .header .nav-cta .btn { display: none; /* Hide CTA on mobile */ }
}
@media (min-width: 901px) {
  .header .nav .btn { display: inline-block; }
}

/* FAQ page scoped styles */
#faq-page .media { display:grid; grid-template-columns: 1.3fr 1fr; gap:24px; align-items:center; }
@media (max-width: 900px) { #faq-page .media { grid-template-columns: 1fr; } }
#faq-page .image img { width:100%; height:auto; border-radius: var(--radius); box-shadow: 0 10px 24px var(--shadow); }
#faq-page .grid-2 { display:grid; grid-template-columns: 1fr 1fr; gap:22px; }
@media (max-width: 900px) { #faq-page .grid-2 { grid-template-columns: 1fr; } }
#faq-page .card { background: var(--surface); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: 16px; }
#faq-page .faq h3 { margin: 0 0 10px; }
#faq-page .faq details { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 12px; }
#faq-page .image-row { display:grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px){ #faq-page .image-row { grid-template-columns: repeat(2, 1fr); } }
#faq-page .faq-cta .btn { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color:#0d0d12; }

/* Lifestyle page feature grid images refinement */
#lifestyle-page .feature-grid .card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 10px 24px var(--shadow);
}

/* Blog page extended components */
/* Blog content anchor styles */

.blog-page .lead { font-size: 1.05rem; color: var(--muted); }
.blog-page .guide-banner { background: linear-gradient(180deg, #10161d, #0f1320); border:1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: 18px; display:flex; gap:14px; align-items:center; }
.blog-page .guide-banner .icon { width:36px; height:36px; border-radius: 50%; background:#132033; display:flex; align-items:center; justify-content:center; color:#e7c66a; font-weight:700; }
.blog-page .example-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.blog-page .example { background:#10151a; border:1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: 14px; }
.blog-page .example h4 { margin:0 0 6px; font-size:1.05rem; }
.blog-page .faq { margin-top: 24px; }
.blog-page .faq h3 { margin: 0 0 8px; }
.blog-page .faq .qa { border-top:1px solid rgba(255,255,255,0.08); padding: 12px 0; }
.blog-page .faq .q { font-weight:600; }
.blog-page .faq .a { color: var(--muted); }
.blog-page .glossary { margin-top: 24px; }
.blog-page .glossary .term { display:flex; gap:12px; padding:10px 0; border-top:1px dashed rgba(255,255,255,0.08); }
.blog-page .glossary .t { font-weight:600; min-width: 140px; }
.blog-page .cta-box { background:#121620; border:1px solid rgba(231,198,106,0.35); border-radius: var(--radius); padding: 16px; display:flex; gap:12px; align-items:center; }
@media (max-width: 900px){
  .blog-page .example-grid { grid-template-columns: 1fr; }
  .blog-page .guide-banner { flex-wrap: wrap; }
}

/* ---- Tips Page (tips.html) — strictly scoped ---- */
#tips-page .post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
#tips-page .post-card {
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.02) inset, 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
#tips-page .post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
  border-color: rgba(255, 198, 79, 0.35);
}
#tips-page .post-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
#tips-page .post-card .post-body { padding: 16px 18px 18px; }
#tips-page .post-card h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0 0 8px;
  color: #ffffff;
}
#tips-page .post-card .meta { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin-top: 8px; }
#tips-page .post-card .read-more { margin-top: 12px; }
#tips-page .post-card .btn.btn-outline { border-color: #e1b85a; color: #e1b85a; }
#tips-page .post-card .btn.btn-outline:hover { background: #e1b85a; color: #0b0b0b; }

/* Responsive columns for tips page */
@media (max-width: 1100px) {
  #tips-page .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  #tips-page .post-grid { grid-template-columns: 1fr; }
}

/* ---- Blog Detail Enhancements: Breadcrumbs + Screenshot (strictly scoped) ---- */
.blog-page .breadcrumbs { margin: 8px 0 12px; font-size: 0.92rem; color: rgba(255,255,255,0.7); }
.blog-page .breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.blog-page .breadcrumbs li { display: inline-flex; align-items: center; }
.blog-page .breadcrumbs li+li::before { content: "/"; margin: 0 6px; color: rgba(255,255,255,0.4); }
.blog-page .breadcrumbs a { color: #ffffff; text-decoration: none; }
.blog-page .breadcrumbs a:hover { color: #ffd572; text-decoration: underline; text-underline-offset: 3px; }

/* Hero screenshot container polish */
.blog-page .article-hero .image { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 14px 34px rgba(0,0,0,0.45); background: #0e1014; }
.blog-page .article-hero .image::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(120% 60% at 50% 0%, rgba(255,255,255,0.06), rgba(0,0,0,0) 60%),
  linear-gradient(180deg, rgba(0,0,0,0.20), rgba(0,0,0,0) 30%);
}
.blog-page .article-hero .image > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; box-shadow: none; }

@media (max-width: 760px) {
  .blog-page .breadcrumbs { font-size: 0.86rem; }
  .blog-page .article-hero .image { border-radius: 12px; }
}
.blog-page .content p { color: rgba(255,255,255,0.86); }
.blog-page .content .lead { font-size: 1.05rem; color: rgba(255,255,255,0.9); }
.blog-page .example {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
}
.blog-page .card-muted {
  background: #121212;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 16px;
}
.blog-page .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.blog-page table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  min-width: 640px;
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.08);
}
.blog-page table th, .blog-page table td {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 14px;
}
.blog-page thead th { background: rgba(255,198,79,0.08); color: #ffd572; }
.blog-page .content a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.blog-page .content a:hover { color: #ffd572; }
.blog-page .content a:focus-visible { outline:2px dashed #ffd572; outline-offset:2px; }
/* Blog TOC anchor styles (strictly scoped) */
.blog-page .toc a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.blog-page .toc a:hover { color: #ffd572; }
.blog-page .toc a:focus-visible { outline: 2px dashed #ffd572; outline-offset: 2px; }

/* Blog Detail Tables (Scoped to .blog-page) */
.blog-page .content table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  margin: 12px 0;
}
.blog-page .content thead {
  background: #1a1a22;
}
.blog-page .content th,
.blog-page .content td {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Blog Detail Tables — use wrapper .table-wrap for horizontal scroll; aligned with sugar-daddy-starter */
.blog-page .content thead,
.blog-page .content tbody,
.blog-page .content tr,
.blog-page .content th,
.blog-page .content td {
  white-space: nowrap;
}

.blog-page .content a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.blog-page .content a:hover { color: #ffd572; }
.blog-page .content a:focus-visible { outline:2px dashed #ffd572; outline-offset:2px; }
/* Blog TOC anchor styles (strictly scoped) */
.blog-page .toc a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.blog-page .toc a:hover { color: #ffd572; }
.blog-page .toc a:focus-visible { outline: 2px dashed #ffd572; outline-offset: 2px; }