﻿/* =============================================
   Digital Minds Solutions — Blog Post Styles
   ============================================= */

/* ── Design Tokens ── */
:root {
  --deep-space:   #0A0E1A;
  --klein-blue:   #0047AB;
  --amber-gold:   #F5A623;
  --cobalt-shade: #0A2463;
  --muted-blue:   #1B2A4A;
  --card-dark:    #0F1624;
  --card-border:  #1E2D4D;
  --text-primary:   #FFFFFF;
  --text-secondary: #B8CBE8;
  --text-muted:     #8BA5C8;
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-code: 'Fira Code', monospace;
  --nav-h: 72px;
  --container: 1280px;
}
[data-theme="light"] {
  --deep-space:     #F4F7FF;
  --card-dark:      #FFFFFF;
  --card-border:    #C5D3F0;
  --text-primary:   #0A0E1A;
  --text-secondary: #3A4F7A;
  --text-muted:     #6B7A99;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--deep-space);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Reading Progress ── */
.reading-progress {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--amber-gold);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ── Navigation ── */
#navbar, .nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30,45,77,0.6);
}
[data-theme="light"] #navbar, [data-theme="light"] .nav { background: rgba(244,247,255,0.92); border-bottom-color: rgba(0,47,167,0.12); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active {
  background: #E5A820;
  color: #1a1a1a;
  font-weight: 700;
  border-radius: 10px;
  padding: 8px 14px;
}
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta {
  background: var(--amber-gold);
  color: #000;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }
.theme-toggle {
  background: var(--card-dark);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.theme-toggle:hover { background: var(--muted-blue); }
.icon-sun, .icon-moon { display: none; width: 18px; height: 18px; color: var(--text-primary); }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="light"] .icon-moon { display: block; }
.hamburger, .nav-hamburger {
  display: none;
  background: transparent !important;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
  appearance: none;
  -webkit-appearance: none;
}
.hamburger span, .nav-hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: #fff;
  margin: 0;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
[data-theme="light"] .hamburger span,
[data-theme="light"] .nav-hamburger span { background: var(--deep-space); }

/* Lang switcher button — kill browser default */
.lang-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-family: var(--font-code);
  font-size: 12px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, border-color 0.2s;
}
.lang-btn:hover { background: rgba(255,255,255,0.06); }
.lang-btn svg { width: 12px; height: 12px; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card-dark);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 6px;
  min-width: 100px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.lang-menu.open { display: flex; }
.lang-menu button {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  color: var(--text-secondary);
  text-align: left;
  font-family: inherit;
}
.lang-menu button:hover { background: rgba(255,255,255,0.06); color: var(--text-primary); }
.lang-menu button.active { color: var(--amber-gold); font-weight: 600; }
.lang-switcher { position: relative; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger, .nav-hamburger { display: flex; }
  .nav-actions .nav-cta { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--deep-space);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--card-border);
    z-index: 99;
  }
}
@media (max-width: 768px) { .nav-inner { padding: 0 24px; } }

/* ── Mobile menu (slide-in panel toggled by JS) ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: var(--deep-space);
  padding: 40px 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: opacity .35s cubic-bezier(.16,1,.3,1), transform .35s cubic-bezier(.16,1,.3,1), visibility .35s;
  z-index: 99;
  overflow-y: auto;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mobile-menu .nav-links {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  list-style: none;
}
.mobile-menu .nav-links a {
  font-size: 22px;
  font-weight: 600;
  padding: 12px 0;
  width: 100%;
  color: var(--text-primary);
  display: block;
}
.mobile-menu .nav-links a.active { color: var(--amber-gold); }
.mobile-menu .nav-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.mobile-menu .btn-ghost {
  display: block;
  padding: 14px 20px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  color: var(--text-primary);
}

/* ── Inline Article Image ── */
.article-img{width:100%;border-radius:12px;overflow:hidden;margin:36px 0}
.article-img img{width:100%;height:400px;object-fit:cover;display:block}
.article-img-caption{font-size:13px;color:var(--text-muted);margin-top:10px;text-align:center;font-style:italic;line-height:1.5}
@media(max-width:768px){
  .article-img img{height:200px}
  .article-hero{padding-top:calc(var(--nav-h) + 36px);padding-bottom:40px}
  .hero-container{padding:0 20px}
}

/* ── Article Hero ── */
.article-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 72px;
  background-color: #050a14;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(5,10,20,0.82) 0%, rgba(5,15,40,0.72) 50%, rgba(5,10,20,0.85) 100%);
  pointer-events: none;
  z-index: 0;
}
[data-theme="light"] .article-hero { background: linear-gradient(160deg, #0A2463 0%, #1B3A8A 55%, #0A2463 100%); }
.hero-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) { .hero-container { padding: 0 24px; } }

/* Category badges */
.article-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-code);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.badge-seo     { background: rgba(0,71,171,0.9);    color: #fff; }
.badge-paid    { background: rgba(195,125,5,0.88);  color: #fff; border: 1px solid rgba(245,166,35,0.7); }
.badge-ai      { background: rgba(109,62,216,0.88); color: #fff; border: 1px solid #8B5CF6; }
.badge-cro     { background: rgba(5,150,100,0.88);  color: #fff; border: 1px solid #10B981; }
.badge-brand   { background: rgba(196,32,113,0.88); color: #fff; border: 1px solid #EC4899; }
.badge-social  { background: rgba(210,90,10,0.88);  color: #fff; border: 1px solid #F97316; }
.badge-strategy{ background: rgba(70,72,200,0.88);  color: #fff; border: 1px solid #6366F1; }

.article-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
}
.article-hero h1 em { font-style: normal; color: var(--amber-gold); }
.article-hero .hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.92);
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 28px;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255,255,255,0.82);
}
.byline-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--klein-blue), var(--amber-gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800; font-size: 14px; color: #fff;
  flex-shrink: 0;
}
.byline-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); }
.byline-author strong { color: #fff; font-weight: 600; }

/* ── Article Layout ── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 48px 96px;
  align-items: flex-start;
}
@media (max-width: 1024px) { .article-layout { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 768px) { .article-layout { padding: 40px 20px 64px; } }

/* ── Prevent content overflow on mobile ── */
.article-body { overflow-x: hidden; max-width: 100%; word-wrap: break-word; overflow-wrap: break-word; }
.article-body p, .article-body li, .article-body h2, .article-body h3, .article-body h4 { max-width: 100%; }
.article-body pre, .article-body code { max-width: 100%; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.article-body table { max-width: 100%; overflow-x: auto; display: block; width: 100%; }
.article-body figure, .article-body iframe, .article-body img { max-width: 100%; height: auto; }
.article-body .inline-cta { padding: 28px 20px; }
@media (max-width: 480px) {
  .article-body .inline-cta { padding: 20px 16px; }
  .article-body blockquote { padding: 16px 18px; margin: 24px 0; }
}

/* ── Article Body ── */
.article-body h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(20px, 2.8vw, 28px);
  letter-spacing: -0.02em;
  margin: 52px 0 16px;
  color: var(--text-primary);
  line-height: 1.2;
}
.article-body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(17px, 2.2vw, 22px);
  margin: 36px 0 12px;
  color: var(--text-primary);
  line-height: 1.3;
}
.article-body h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  margin: 24px 0 8px;
  color: var(--text-primary);
}
.article-body p { margin-bottom: 22px; color: var(--text-secondary); }
.article-body ul, .article-body ol { margin: 4px 0 22px 28px; color: var(--text-secondary); }
.article-body li { margin-bottom: 10px; }
.article-body strong { color: var(--text-primary); font-weight: 700; }
.article-body a { color: var(--amber-gold); text-decoration: underline; text-underline-offset: 3px; transition: opacity 0.2s; }
.article-body a:hover { opacity: 0.8; }
.article-body blockquote {
  border-left: 3px solid var(--amber-gold);
  padding: 20px 28px;
  margin: 36px 0;
  background: rgba(245,166,35,0.06);
  border-radius: 0 10px 10px 0;
}
.article-body blockquote p {
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

/* Data callout */
.data-callout {
  background: var(--card-dark);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 28px 32px;
  margin: 36px 0;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.data-callout .stat-big {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 44px;
  color: var(--amber-gold);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.data-callout .stat-label { font-size: 15px; color: var(--text-secondary); margin-top: 6px; line-height: 1.55; }
@media (max-width: 560px) {
  .data-callout { flex-direction: column; gap: 10px; padding: 22px 20px; }
  .data-callout .stat-big { font-size: 36px; white-space: normal; }
  .data-callout .stat-label { margin-top: 0; }
}

/* Inline CTA */
.inline-cta {
  background: linear-gradient(135deg, rgba(0,71,171,0.22) 0%, var(--card-dark) 100%);
  border: 1px solid var(--klein-blue);
  border-radius: 16px;
  padding: 36px 40px;
  margin: 52px 0;
  text-align: center;
}
.inline-cta h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.inline-cta p { color: var(--text-secondary); margin-bottom: 22px; font-size: 15px; }
.inline-cta .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-gold);
  color: #000;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
}
.inline-cta .cta-btn:hover { opacity: 0.9; transform: translateY(-2px); }

/* Key takeaway box */
.key-takeaway {
  background: rgba(245,166,35,0.08);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0;
}
.key-takeaway strong { color: var(--amber-gold); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 8px; font-family: var(--font-code); }
.key-takeaway p { color: var(--text-secondary); margin: 0; font-size: 15px; }

/* ── Article Sidebar ── */
.article-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 1024px) { .article-sidebar { position: static; } }

.sidebar-box {
  background: var(--card-dark);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 24px;
}
.sidebar-box h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-gold);
  margin-bottom: 16px;
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.toc-list a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s;
  display: block;
  padding: 5px 0 5px 12px;
  border-left: 2px solid transparent;
  line-height: 1.4;
}
.toc-list a:hover { color: var(--text-primary); border-left-color: var(--amber-gold); text-decoration: none; }

.sidebar-cta-box {
  background: linear-gradient(135deg, rgba(0,71,171,0.28) 0%, var(--card-dark) 100%);
  border: 1px solid var(--klein-blue);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}
.sidebar-cta-box h4 { font-family: var(--font-head); font-weight: 800; font-size: 17px; margin-bottom: 8px; color: var(--text-primary); letter-spacing: normal; text-transform: none; }
.sidebar-cta-box p { font-size: 13px; color: var(--text-secondary); margin-bottom: 18px; line-height: 1.6; }
.sidebar-cta-box a {
  display: block;
  background: var(--amber-gold);
  color: #000;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
}
.sidebar-cta-box a:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── FAQ Section ── */
.faq-section {
  background: var(--card-dark);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 80px 48px;
  overflow: hidden;
}
@media (max-width: 768px) { .faq-section { padding: 56px 20px; } }
@media (max-width: 480px) { .faq-section { padding: 40px 16px; } }
.faq-section .faq-grid,
.faq-section h2,
.faq-section .eyebrow { max-width: 100%; width: 100%; }
.faq-section .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-code);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-gold);
  margin-bottom: 16px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.faq-section .eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--amber-gold); }
.faq-section h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 36px);
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.faq-grid { max-width: 820px; margin: 0 auto; width: 100%; }
.faq-item { border-bottom: 1px solid var(--card-border); }
.faq-q {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: var(--text-primary);
  position: relative;
  gap: 16px;
  line-height: 1.35;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
  /* Reset button defaults for pages using <button class="faq-q"> */
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  border: none;
  outline: none;
  margin: 0;
}
button.faq-q { font: inherit; color: var(--text-primary); }
.faq-q:focus-visible { outline: 2px solid var(--amber-gold); outline-offset: 2px; }
.faq-q::after {
  content: '+';
  font-size: 26px;
  font-weight: 300;
  color: var(--amber-gold);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  padding-bottom: 24px;
  display: none;
}
.faq-item.open .faq-a { display: block; }
.faq-a a { color: var(--amber-gold); text-decoration: underline; text-underline-offset: 3px; }

/* ── Related Posts ── */
.related-section {
  padding: 80px 48px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) { .related-section { padding: 56px 20px; } }
@media (max-width: 480px) { .related-section { padding: 40px 16px; } }
.related-section .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-code);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-gold);
  margin-bottom: 12px;
}
.related-section .eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--amber-gold); }
.related-section h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  background: var(--card-dark);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
  text-decoration: none;
  padding: 24px;
  gap: 10px;
}
/* Classes actually used in HTML */
.related-card-badge {
  font-family: var(--font-code);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber-gold);
}
.related-card-icon {
  font-size: 36px;
  line-height: 1;
}
.related-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-primary);
  transition: color 0.2s;
  flex: 1;
}
.related-card:hover h3 { color: var(--amber-gold); }
.related-card-arrow {
  margin-top: 4px;
  font-size: 13px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--amber-gold);
}
.related-card:hover { transform: translateY(-5px); border-color: rgba(0,71,171,0.5); box-shadow: 0 18px 44px rgba(0,0,0,0.3); }
.related-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--cobalt-shade), #0A1A3A);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  position: relative;
}
.related-thumb-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,71,171,0.35) 0%, rgba(10,14,26,0.5) 100%); }
.related-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.related-cat {
  font-family: var(--font-code);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber-gold);
}
.related-body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-primary);
  transition: color 0.2s;
}
.related-card:hover .related-body h3 { color: var(--amber-gold); }
.related-read {
  margin-top: auto;
  font-size: 13px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--amber-gold);
  padding-top: 12px;
}

/* ── Footer ── */
.footer {
  background: #050810;
  border-top: 1px solid var(--card-border);
  padding: 80px 0 40px;
}
[data-theme="light"] .footer { background: #0A0E1A; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .footer-inner { padding: 0 24px; } }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-logo { display: block; margin-bottom: 14px; }
.footer-logo img { height: 40px; width: auto; display: block; }
.footer-brand p { font-size: 14px; color: #8899BB; line-height: 1.65; max-width: 280px; }
.footer-col h5 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { font-size: 14px; color: #8899BB; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--amber-gold); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 13px; color: #4A5568; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 13px; color: #4A5568; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--amber-gold); }

/* Light mode FAQ — prevent pure-white section (use tinted bg instead) */
[data-theme="light"] .faq-section {
  background: #EEF2FB;
  border-color: #C5D3F0;
}
[data-theme="light"] .faq-section h2 { color: #08101E; }
[data-theme="light"] .faq-q { color: #08101E; }
[data-theme="light"] .faq-a { color: #3A4F7A; }
[data-theme="light"] .faq-item { border-bottom-color: #C5D3F0; }

/* ── WhatsApp Float ── */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 500; }
.wa-btn {
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.25s, box-shadow 0.25s;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
.wa-btn svg { width: 28px; height: 28px; fill: #fff; }
