/*
 * AInovaq Child — Shared Article CSS
 * Loaded on every single post (tofu / mofu / bofu).
 * Contains: design tokens, base reset, breadcrumbs, article header,
 * author block, featured image, related posts, newsletter, reading progress.
 *
 * Fonts:    Inter (parent site font) + JetBrains Mono for code
 * Colors:   AInovaq brand tokens (no other colors used)
 * Scoped:   .tofu-article / .mofu-article / .bofu-article wrappers
 */

/* ══════════════════════════════════════════════════════════
   DESIGN TOKENS
   ══════════════════════════════════════════════════════════ */
:root {
  --grad:                    linear-gradient(135deg, #243C8F 0%, #70C3C5 100%);
  --royal-blue:              #243C8F;
  --teal:                    #70C3C5;
  --blue-deep:               #0F1D52;

  --text-primary:            #202323;
  --text-secondary:          #4A5568;
  --text-tertiary:           #7A8DB5;
  --text-caption:            #9BA8C7;

  --bg-primary:              #FAFBFD;
  --bg-secondary:            #FFFFFF;
  --bg-tertiary:             #F3F5F9;

  --border-primary:          #E2E6EF;
  --border-subtle:           #EEF0F6;

  --surface-card:            #FFFFFF;
  --surface-callout:         #F0F4FF;
  --surface-callout-border:  #C7D2F0;
  --surface-stat:            linear-gradient(135deg, rgba(36,60,143,0.04) 0%, rgba(112,195,197,0.04) 100%);

  --shadow-sm:               0 1px 3px  rgba(15,29,82,0.04);
  --shadow-md:               0 4px 16px rgba(15,29,82,0.06);
  --shadow-lg:               0 8px 32px rgba(15,29,82,0.08);

  --overlay:                 rgba(250,251,253,0.85);

  --font-sans:               'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:               'JetBrains Mono', 'Fira Code', monospace;
  --font-serif:              Georgia, 'Times New Roman', serif;

  --content-width:           720px;
  --wide-width:              880px;
  --full-width:              1200px;
  --nav-height:              64px;
}

[data-theme="dark"],
.tofu-article[data-theme="dark"],
.mofu-article[data-theme="dark"],
.bofu-article[data-theme="dark"] {
  --bg-primary:             #0B1023;
  --bg-secondary:           #111730;
  --bg-tertiary:            #161D38;
  --text-primary:           #E8ECF4;
  --text-secondary:         #B0BAD0;
  --text-tertiary:          #7A8DB5;
  --text-caption:           #576480;
  --border-primary:         #1E2747;
  --border-subtle:          #171E36;
  --surface-card:           #111730;
  --surface-callout:        rgba(36,60,143,0.15);
  --surface-callout-border: rgba(36,60,143,0.3);
  --surface-stat:           linear-gradient(135deg, rgba(36,60,143,0.12) 0%, rgba(112,195,197,0.08) 100%);
  --shadow-sm:              0 1px 3px  rgba(0,0,0,0.20);
  --shadow-md:              0 4px 16px rgba(0,0,0,0.25);
  --shadow-lg:              0 8px 32px rgba(0,0,0,0.30);
  --overlay:                rgba(11,16,35,0.88);
}

/* ══════════════════════════════════════════════════════════
   ARTICLE WRAPPER BASE
   ══════════════════════════════════════════════════════════ */
.tofu-article,
.mofu-article,
.bofu-article {
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

.tofu-article *,
.mofu-article *,
.bofu-article * {
  box-sizing: border-box;
}

/* Force Inter on all headings — beats Elementor kit's .elementor-kit-13 h1 Urbanist rule */
.elementor-kit-13 .tofu-article h1,
.elementor-kit-13 .tofu-article h2,
.elementor-kit-13 .tofu-article h3,
.elementor-kit-13 .tofu-article h4,
.elementor-kit-13 .tofu-article h5,
.elementor-kit-13 .tofu-article h6,
.elementor-kit-13 .mofu-article h1,
.elementor-kit-13 .mofu-article h2,
.elementor-kit-13 .mofu-article h3,
.elementor-kit-13 .mofu-article h4,
.elementor-kit-13 .mofu-article h5,
.elementor-kit-13 .mofu-article h6,
.elementor-kit-13 .bofu-article h1,
.elementor-kit-13 .bofu-article h2,
.elementor-kit-13 .bofu-article h3,
.elementor-kit-13 .bofu-article h4,
.elementor-kit-13 .bofu-article h5,
.elementor-kit-13 .bofu-article h6,
.elementor-kit-13 .article-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.tofu-article a,
.mofu-article a,
.bofu-article a {
  color: var(--royal-blue);
  text-decoration: none;
  transition: color 0.2s;
}

[data-theme="dark"] .tofu-article a,
[data-theme="dark"] .mofu-article a,
[data-theme="dark"] .bofu-article a { color: var(--teal); }

.tofu-article a:hover,
.mofu-article a:hover,
.bofu-article a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tofu-article img,
.mofu-article img,
.bofu-article img { max-width: 100%; height: auto; display: block; }

/* ══════════════════════════════════════════════════════════
   READING PROGRESS BAR
   ══════════════════════════════════════════════════════════ */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: var(--grad);
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   BREADCRUMBS
   ══════════════════════════════════════════════════════════ */
.article-breadcrumbs {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 88px 32px 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-caption);
  margin-bottom: 28px;
  list-style: none;
  padding: 0;
  margin-top: 0;
}

.breadcrumbs a {
  color: var(--text-caption);
  font-weight: 500;
}

.breadcrumbs a:hover { color: var(--text-primary); }

.breadcrumbs svg {
  width: 12px;
  height: 12px;
  opacity: 0.5;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   ARTICLE HEADER — category badge, title, subtitle
   ══════════════════════════════════════════════════════════ */
.article-header {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 88px 32px 0;
}

.article-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.article-title {
  font-family: var(--font-sans) !important;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 20px;
  max-width: 780px;
}

.article-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-tertiary);
  max-width: 640px;
  margin-bottom: 32px;
}

/* ══════════════════════════════════════════════════════════
   AUTHOR BLOCK + META ROW
   ══════════════════════════════════════════════════════════ */
.article-meta {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 32px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.author-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
  font-family: var(--font-sans);
}

.author-info { display: flex; flex-direction: column; }

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.author-role {
  font-size: 12px;
  color: var(--text-caption);
  line-height: 1.3;
}

.meta-divider {
  width: 1px;
  height: 24px;
  background: var(--border-primary);
  flex-shrink: 0;
}

.meta-details {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-caption);
  flex-wrap: wrap;
  margin-left: auto;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.meta-item svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   FEATURED IMAGE
   ══════════════════════════════════════════════════════════ */
.featured-image-wrap {
  max-width: var(--wide-width);
  margin: 40px auto 0;
  padding: 0 32px;
  animation: fadeInUp 0.5s 0.1s ease both;
}

.featured-image {
  width: 100%;
  border-radius: 16px;
  background: var(--surface-stat);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ══════════════════════════════════════════════════════════
   AUTHOR BIO (bottom of article)
   ══════════════════════════════════════════════════════════ */
.author-bio {
  margin-top: 56px;
  padding: 32px;
  border-radius: 14px;
  border: 1px solid var(--border-primary);
  background: var(--surface-card);
}

.author-bio-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
}

.author-bio-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 22px;
  flex-shrink: 0;
  font-family: var(--font-sans);
}

.author-bio-info { flex: 1; }

.author-bio-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.author-bio-title {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.author-bio-text {
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.author-bio-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.author-bio-links a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-caption);
  text-decoration: none;
}

.author-bio-links a:hover { color: var(--text-primary); text-decoration: none; }
.author-bio-links svg { width: 14px; height: 14px; flex-shrink: 0; }

.reviewed-by {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-caption);
  display: flex;
  align-items: center;
  gap: 6px;
}

.reviewed-by svg { width: 14px; height: 14px; flex-shrink: 0; }
.reviewed-by strong { color: var(--text-tertiary); font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   RELATED POSTS GRID
   ══════════════════════════════════════════════════════════ */
.related-section {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 64px 32px;
  border-top: 1px solid var(--border-subtle);
}

.related-heading {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
  text-decoration: none;
  display: block;
}

.related-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-primary);
  transform: translateY(-2px);
  text-decoration: none;
}

.related-card-image {
  aspect-ratio: 16/9;
  background: var(--surface-stat);
  overflow: hidden;
  position: relative;
}

.related-card-image img { width: 100%; height: 100%; object-fit: cover; }

.related-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(36,60,143,0.06) 0%, transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(112,195,197,0.06) 0%, transparent 60%);
}

.related-card-body { padding: 20px; }

.related-card-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-caption);
  margin-bottom: 10px;
}

.related-card-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.related-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card-meta {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-caption);
  display: flex;
  gap: 12px;
}

/* ══════════════════════════════════════════════════════════
   NEWSLETTER SECTION
   ══════════════════════════════════════════════════════════ */
.newsletter-section {
  width: 100%;
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 64px 32px;
  margin: 48px 0 0;
}

.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-caption);
  margin-bottom: 12px;
}

.newsletter-title {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.newsletter-desc {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  max-width: 460px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-primary);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-input::placeholder { color: var(--text-caption); }
.newsletter-input:focus { border-color: var(--royal-blue); }
[data-theme="dark"] .newsletter-input:focus { border-color: var(--teal); }

.newsletter-btn {
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  background: var(--blue-deep);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.25s;
  white-space: nowrap;
}

.newsletter-btn:hover { opacity: 0.88; }
[data-theme="dark"] .newsletter-btn { background: var(--grad); }

.newsletter-privacy {
  font-size: 0.78rem;
  color: var(--text-caption);
  margin-top: 12px;
}

/* ══════════════════════════════════════════════════════════
   MOBILE TOC TOGGLE BUTTON
   ══════════════════════════════════════════════════════════ */
.mobile-toc-toggle {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-deep);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 90;
  box-shadow: var(--shadow-lg);
  align-items: center;
  justify-content: center;
}

.mobile-toc-toggle svg { width: 20px; height: 20px; }

/* ══════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .article-header { padding-top: 90px; }
  .article-title { font-size: 1.75rem; }
  .article-subtitle { font-size: 1rem; }

  .article-header,
  .article-breadcrumbs { padding-left: 20px; padding-right: 20px; }

  .featured-image-wrap { padding: 0 20px; }

  .related-section,
  .newsletter-section { padding-left: 20px; padding-right: 20px; }

  .related-grid { grid-template-columns: 1fr; gap: 16px; }

  .newsletter-section { padding: 40px 20px; }
  .newsletter-form { flex-direction: column; }

  .article-meta { gap: 12px; }
  .meta-divider { display: none; }
  .meta-details { gap: 10px; }

  .author-bio-top { flex-direction: column; gap: 12px; }

  .mobile-toc-toggle { display: flex; }
}

@media (max-width: 1024px) {
  .mobile-toc-toggle { display: flex; }
}

/* ══════════════════════════════════════════════════════════
   NAV — BLOGS DROPDOWN
   ══════════════════════════════════════════════════════════ */
.nav__item--has-dropdown {
  position: relative;
}

.nav__dropdown-trigger {
  display: flex !important;
  align-items: center;
  gap: 5px;
}

.nav__dropdown-trigger svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  opacity: 0.7;
}

.nav__item--has-dropdown:hover .nav__dropdown-trigger svg,
.nav__item--has-dropdown:focus-within .nav__dropdown-trigger svg {
  transform: rotate(180deg);
  opacity: 1;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--border-primary, #E2E6EF);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(15, 29, 82, 0.12);
  padding: 6px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 8000;
}

.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown li { list-style: none; }

.nav__dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4A5568;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.nav__dropdown a:hover {
  background: rgba(36, 60, 143, 0.06);
  color: #243C8F;
}

/* ══════════════════════════════════════════════════════════
   NAV — "TALK TO EXPERTS" BUTTON COLOR FIX
   ══════════════════════════════════════════════════════════ */
.header .nav__cta.btn-primary,
.header .btn.btn-primary,
#header .btn.btn-primary {
  background: linear-gradient(135deg, #243C8F 0%, #70C3C5 100%) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: none !important;
}

.header .nav__cta.btn-primary:hover,
.header .btn.btn-primary:hover,
#header .btn.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 20px rgba(36, 60, 143, 0.30));
}

/* ══════════════════════════════════════════════════════════
   ARTICLE SITE FOOTER
   ══════════════════════════════════════════════════════════ */
.article-site-footer {
  background: #0F1D52;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  margin-top: 0;
}

.article-site-footer__inner {
  max-width: var(--full-width);
  margin: 0 auto;
  padding: 64px 40px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

/* Brand column */
.article-site-footer__logo {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none !important;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.article-site-footer__logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
  display: block;
  margin-bottom: 20px;
  background: none !important;
}

.article-site-footer__tagline {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 340px;
  margin: 0 0 24px;
}

.article-site-footer__social {
  display: flex;
  gap: 10px;
}

.article-site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6) !important;
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.22s, color 0.22s, border-color 0.22s;
  text-decoration: none !important;
}

.article-site-footer__social-link:hover {
  background: rgba(255,255,255,0.15);
  color: #fff !important;
  border-color: rgba(255,255,255,0.25);
  text-decoration: none !important;
}

.article-site-footer__social-link svg {
  width: 16px;
  height: 16px;
  display: inline;
}

/* Nav + contact columns */
.article-site-footer__col-title {
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4) !important;
  margin: 0 0 20px !important;
  line-height: 1.4 !important;
  font-family: var(--font-sans) !important;
}

.article-site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-site-footer__links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.9rem;
}

.article-site-footer__links a:hover {
  color: #fff;
  text-decoration: none;
}

/* Contact / address */
.article-site-footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-site-footer__address p {
  margin: 0;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}

.article-site-footer__address a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.article-site-footer__address a:hover {
  color: var(--teal);
  text-decoration: none;
}

/* Bottom bar */
.article-site-footer__bottom {
  max-width: var(--full-width);
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  gap: 16px;
  flex-wrap: wrap;
}

.article-site-footer__legal {
  display: flex;
  gap: 20px;
}

.article-site-footer__legal a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.article-site-footer__legal a:hover {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

@media (max-width: 768px) {
  .article-site-footer__inner {
    grid-template-columns: 1fr;
    padding: 40px 24px 32px;
    gap: 32px;
  }

  .article-site-footer__bottom {
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ══════════════════════════════════════════════════════════
   TL;DR BLOCK
   ══════════════════════════════════════════════════════════ */
.tldr-block {
  max-width: var(--wide-width);
  margin: 32px auto 0;
  padding: 0 32px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface-callout);
  border: 1px solid var(--surface-callout-border);
  border-left: 4px solid var(--royal-blue);
  border-radius: 10px;
  padding: 20px 24px;
}

.tldr-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--royal-blue);
  white-space: nowrap;
  padding-top: 2px;
  flex-shrink: 0;
}

.tldr-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.tldr-list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: 18px;
  position: relative;
}

.tldr-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--royal-blue);
  opacity: 0.7;
}

@media (max-width: 768px) {
  .tldr-block { margin: 24px 20px 0; padding: 16px 18px; }
}

/* ══════════════════════════════════════════════════════════
   CALLOUT BOX (strategy notes, key distinctions)
   ══════════════════════════════════════════════════════════ */
.callout {
  background: rgba(36, 60, 143, 0.05);
  border-left: 4px solid #243C8F;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.callout strong {
  color: var(--text-primary);
}

/* ══════════════════════════════════════════════════════════
   COMPARISON TABLE
   ══════════════════════════════════════════════════════════ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0e4ec;
  margin: 24px 0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.compare-table thead tr {
  background: #0F1D52;
}

.compare-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}

.compare-table tbody tr {
  border-top: 1px solid #e0e4ec;
  background: #fff;
}

.compare-table tbody tr:hover {
  background: #FAFBFD;
}

.compare-table tbody td {
  padding: 14px 18px;
  vertical-align: top;
  color: #4A5568;
  line-height: 1.6;
}

.compare-table tbody td:first-child {
  font-weight: 600;
  color: #202323;
  white-space: nowrap;
  width: 140px;
}

@media (max-width: 640px) {
  .compare-table { font-size: 0.8rem; }
  .compare-table thead th,
  .compare-table tbody td { padding: 10px 12px; }
  .compare-table tbody td:first-child { white-space: normal; width: auto; }
}

/* ══════════════════════════════════════════════════════════
   CHECKLIST TABLE (plan components, checklist rows)
   ══════════════════════════════════════════════════════════ */
.checklist-table {
  border: 1px solid #e0e4ec;
  border-radius: 12px;
  overflow: hidden;
  margin: 24px 0;
}

.checklist-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: start;
  padding: 16px 20px;
  border-top: 1px solid #e0e4ec;
  background: #fff;
  gap: 20px;
}

.checklist-row:first-child {
  border-top: none;
}

.checklist-row:hover {
  background: #FAFBFD;
}

.checklist-row__label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #202323;
  line-height: 1.5;
}

.checklist-row__check {
  color: #70C3C5;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 700;
}

.checklist-row__desc {
  font-size: 0.875rem;
  color: #7A8DB5;
  line-height: 1.65;
  margin: 0;
  padding-top: 1px;
}

@media (max-width: 640px) {
  .checklist-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ══════════════════════════════════════════════════════════
   ROLE / ICON CARDS (buying committee, personas)
   ══════════════════════════════════════════════════════════ */
.role-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.role-card {
  background: #fff;
  border: 1px solid #e0e4ec;
  border-radius: 14px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 14px;
  align-items: start;
}

.role-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #F3F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0;
  grid-column: 1;
  grid-row: 1 / 3;
}

.role-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #202323;
  margin: 0 0 6px;
  font-family: var(--font-sans);
  grid-column: 2;
  grid-row: 1;
}

.role-card__desc {
  font-size: 0.825rem;
  color: #7A8DB5;
  line-height: 1.6;
  margin: 0;
  grid-column: 2;
  grid-row: 2;
}

@media (max-width: 768px) {
  .role-cards { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   PS CARD GRID (4 Ps / framework cards)
   ══════════════════════════════════════════════════════════ */
.ps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.ps-card {
  background: #fff;
  border: 1px solid #e0e4ec;
  border-top: 3px solid #243C8F;
  border-radius: 14px;
  padding: 16px 18px 18px;
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 14px;
  align-items: start;
}

.ps-card__label {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0;
  padding-top: 3px;
  font-family: var(--font-sans);
  background: linear-gradient(135deg, #243C8F 0%, #70C3C5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
  grid-column: 1;
  grid-row: 1 / 3;
}

.ps-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #202323;
  margin: 0 0 6px;
  font-family: var(--font-sans);
  grid-column: 2;
  grid-row: 1;
}

.ps-card__desc {
  font-size: 0.85rem;
  color: #7A8DB5;
  line-height: 1.6;
  margin: 0;
  grid-column: 2;
  grid-row: 2;
}

@media (max-width: 640px) {
  .ps-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   CTA BAND (replaces newsletter)
   ══════════════════════════════════════════════════════════ */
.article-cta-band {
  width: 100%;
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 48px 32px;
  margin: 16px 0 0;
  text-align: center;
}

.article-cta-band__inner {
  max-width: 560px;
  margin: 0 auto;
}

.article-cta-band__heading {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
  line-height: 1.25;
}

.article-cta-band__desc {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  margin: 0 0 28px;
}

.article-cta-band__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: opacity 0.2s, transform 0.2s;
}

.article-cta-band__btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .article-cta-band { padding: 40px 20px; }
}

/* ══════════════════════════════════════════════════════════
   COMPARISON TABLE
   ══════════════════════════════════════════════════════════ */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  overflow: hidden;
  margin: 2rem 0;
  box-shadow: 0 2px 16px rgba(36, 60, 143, 0.10);
  font-family: var(--font-sans);
}

.comparison-table thead tr {
  background: #0F1D52;
}

.comparison-table thead th {
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  padding: 14px 18px;
  text-align: left;
}

.comparison-table thead th:first-child {
  width: 140px;
  background: #080f2e;
}

.comparison-table tbody tr:nth-child(odd) {
  background: #fff;
}

.comparison-table tbody tr:nth-child(even) {
  background: #f0f5ff;
}

.comparison-table tbody td {
  padding: 14px 18px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
  line-height: 1.5;
}

.comparison-table tbody td:first-child {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--royal-blue);
  background: #eef2fb;
  white-space: nowrap;
  border-right: 2px solid var(--border-primary);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 14px;
}

.comparison-table tbody tr:last-child td:last-child {
  border-radius: 0 0 14px 0;
}

@media (max-width: 768px) {
  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .comparison-table thead th:first-child,
  .comparison-table tbody td:first-child {
    width: 80px;
  }
}

/* ── Channel Map Tags ── */
.channel-map {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
}

.channel-group__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7A8DB5;
  margin: 0 0 10px;
}

.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.channel-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

/* Organic — brand blue */
.channel-tags--organic .channel-tag {
  background: rgba(36, 60, 143, 0.08);
  color: #243C8F;
  border: 1px solid rgba(36, 60, 143, 0.22);
}

/* Paid — neutral */
.channel-tags--paid .channel-tag {
  background: #F3F5F9;
  color: #4A5568;
  border: 1px solid #D8DDE8;
}

/* Relationship — teal */
.channel-tags--relationship .channel-tag {
  background: rgba(112, 195, 197, 0.12);
  color: #2a9496;
  border: 1px solid rgba(112, 195, 197, 0.35);
}

/* Nurture — muted navy */
.channel-tags--nurture .channel-tag {
  background: rgba(15, 29, 82, 0.06);
  color: #4a5b8a;
  border: 1px solid rgba(15, 29, 82, 0.15);
}

@media (max-width: 640px) {
  .channel-tag { white-space: normal; }
}

/* ══════════════════════════════════════════════════════════
   PROCESS STEP CARDS (numbered 01–07 style)
   ══════════════════════════════════════════════════════════ */
.process-steps {
  display: flex;
  flex-direction: column;
  margin: 28px 0;
  border: 1px solid #e0e4ec;
  border-radius: 14px;
  overflow: hidden;
}

.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  border-top: 1px solid #e0e4ec;
  background: #fff;
}

.process-step:first-child { border-top: none; }

.process-step__num {
  background: #0F1D52;
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0;
  flex-shrink: 0;
}

.process-step__body {
  padding: 18px 22px;
  border-left: 1px solid #e0e4ec;
}

.process-step__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #202323;
  margin: 0 0 6px;
  font-family: var(--font-sans);
  line-height: 1.4;
}

.process-step__desc {
  font-size: 0.875rem;
  color: #4A5568;
  line-height: 1.65;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════
   SPLIT GRID — 2-col dark/light panels (SPIN, AI sections)
   ══════════════════════════════════════════════════════════ */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0;
}

.split-panel {
  border-radius: 12px;
  padding: 22px 24px;
}

.split-panel--dark {
  background: #0F1D52;
  border: 1px solid #0F1D52;
}

.split-panel--light {
  background: #F0F4FF;
  border: 1px solid #C7D2F0;
}

.split-panel__title {
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0 0 14px;
  font-family: var(--font-sans);
  line-height: 1.4;
}

.split-panel--dark .split-panel__title { color: #fff; }
.split-panel--light .split-panel__title { color: #243C8F; }

.split-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.split-panel__list li {
  font-size: 0.875rem;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.split-panel--dark .split-panel__list li { color: rgba(255,255,255,0.82); }
.split-panel--light .split-panel__list li { color: #4A5568; }

.split-panel--dark .split-panel__list li strong { color: #fff; }
.split-panel--light .split-panel__list li strong { color: #202323; }

.split-panel--dark .split-panel__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #70C3C5;
  font-weight: 700;
  font-size: 0.8rem;
}

.split-panel--light .split-panel__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #7A8DB5;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .split-grid { grid-template-columns: 1fr; }
  .process-step__num { padding: 14px 0; font-size: 0.68rem; }
}

/* ── Funnel Cards ── */
.funnel-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.funnel-card {
  background: #fff;
  border: 1px solid #e0e4ec;
  border-radius: 14px;
  padding: 16px 18px 18px;
}

.funnel-card--tofu  { border-top: 3px solid #243C8F; }
.funnel-card--mofu  { border-top: 3px solid #7A8DB5; }
.funnel-card--bofu  { border-top: 3px solid #70C3C5; }

.funnel-card__stage {
  font-size: 0.95rem;
  font-weight: 700;
  color: #202323;
  margin: 0 0 8px;
  line-height: 1.35;
}

.funnel-card__goal {
  font-size: 0.85rem;
  color: #4A5568;
  line-height: 1.6;
  margin: 0 0 10px;
}

.funnel-card__formats,
.funnel-card__metrics {
  font-size: 0.825rem;
  color: #7A8DB5;
  line-height: 1.6;
  margin: 0 0 8px;
}

.funnel-card__metrics { margin-bottom: 0; }

@media (max-width: 768px) {
  .funnel-cards { grid-template-columns: 1fr; }
}
