/*
Theme Name: NorthStack Digital Insights Child
Theme URI: https://www.northstackdigital.ca/insights/
Author: NorthStack Digital
Author URI: https://www.northstackdigital.ca/
Description: Child theme for NorthStack Digital Insights. Put insights-specific CSS overrides here so the parent theme stays stable.
Template: northstack-digital
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: northstack-digital-child
*/

/*
 * Insights/post overrides go below this line.
 * The parent theme stylesheet loads first; this child stylesheet loads after it.
 */

:root {
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[data-theme="dark"] {
  --cream2: var(--bg2);
  --cream3: var(--bg3);
  --text2: rgba(240, 235, 224, 0.76);
  --text3: rgba(240, 235, 224, 0.62);
  --border2: rgba(240, 235, 224, 0.18);
}

[data-theme="light"] {
  --cream2: var(--bg2);
  --cream3: var(--bg3);
  --text2: rgba(26, 37, 53, 0.76);
  --text3: rgba(26, 37, 53, 0.62);
  --border2: rgba(26, 37, 53, 0.18);
}

.footer-links a,
.footer-copy {
  color: rgba(240, 235, 224, 0.72);
}

[data-theme="light"] .footer-links a,
[data-theme="light"] .footer-copy {
  color: var(--text2);
}

.hamburger {
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
}

.featured-post-link,
.post-card-more,
.mobile-nav-cta,
.post-template-cta-btn,
.post-template-sidebar-cta a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-left: 1.3em;
  padding-right: 1.35em;
}

.post-card {
  height: 100%;
}

.post-card > a {
  height: 100%;
}

.post-card-more {
  margin-top: auto;
  padding-top: 24px;
  align-self: center;
}

.post-template-cta-btn,
.post-template-sidebar-cta a {
  padding-left: 2.35em;
  padding-right: 2.35em;
}

.moving-arrow {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  line-height: 1;
  transform: translateY(-50%);
  transition: left 380ms cubic-bezier(0.45, 0, 0.2, 1), color 200ms ease;
  will-change: left;
}

.featured-post-link:hover .moving-arrow,
.featured-post-link:focus-visible .moving-arrow,
.post-card a:hover .post-card-more .moving-arrow,
.post-card a:focus-visible .post-card-more .moving-arrow,
.mobile-nav-cta:hover .moving-arrow,
.mobile-nav-cta:focus-visible .moving-arrow,
.post-template-cta-btn:hover .moving-arrow,
.post-template-cta-btn:focus-visible .moving-arrow,
.post-template-sidebar-cta a:hover .moving-arrow,
.post-template-sidebar-cta a:focus-visible .moving-arrow {
  left: calc(100% - 0.95em);
}

@media (prefers-reduced-motion: reduce) {
  .moving-arrow {
    transition: none;
    will-change: auto;
  }

  .featured-post-link:hover .moving-arrow,
  .featured-post-link:focus-visible .moving-arrow,
  .post-card a:hover .post-card-more .moving-arrow,
  .post-card a:focus-visible .post-card-more .moving-arrow,
  .mobile-nav-cta:hover .moving-arrow,
  .mobile-nav-cta:focus-visible .moving-arrow,
  .post-template-cta-btn:hover .moving-arrow,
  .post-template-cta-btn:focus-visible .moving-arrow,
  .post-template-sidebar-cta a:hover .moving-arrow,
  .post-template-sidebar-cta a:focus-visible .moving-arrow {
    left: 0;
  }
}

.scenario-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(217, 106, 31, 0.12);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
}

.scenario-icon::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  display: block;
  mask: var(--scenario-icon) center / contain no-repeat;
  -webkit-mask: var(--scenario-icon) center / contain no-repeat;
}

.scenario-icon-user {
  --scenario-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

.scenario-icon-chart {
  --scenario-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 15l4-4 3 3 5-7'/%3E%3C/svg%3E");
}

.scenario-icon-users {
  --scenario-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.scenario-icon-building {
  --scenario-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Cpath d='M9 22v-4h6v4'/%3E%3Cpath d='M8 6h.01M12 6h.01M16 6h.01M8 10h.01M12 10h.01M16 10h.01M8 14h.01M12 14h.01M16 14h.01'/%3E%3C/svg%3E");
}

.scenario-icon-globe {
  --scenario-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 0 20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 0 0 20'/%3E%3C/svg%3E");
}

.scenario-icon-shield {
  --scenario-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}

.scenario-icon-dollar {
  --scenario-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20'/%3E%3Cpath d='M17 5H9.5a3.5 3.5 0 0 0 0 7H14a3.5 3.5 0 0 1 0 7H6'/%3E%3C/svg%3E");
}

.scenario-icon-clipboard {
  --scenario-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='M8 11h8M8 16h6'/%3E%3C/svg%3E");
}

.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 8px;
  z-index: 230;
  font-family: var(--sans, Inter, sans-serif);
}

.back-to-top {
  position: fixed;
  right: 88px;
  bottom: 15px;
  z-index: 225;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border2, rgba(240, 235, 224, .18));
  border-radius: 50%;
  background: var(--bg, #0D1B2A);
  color: var(--orange, #D96A1F);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(.96);
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  border-color: var(--orange, #D96A1F);
  background: var(--orange, #D96A1F);
  color: #fff;
  transform: translateY(-2px) scale(1);
}

.back-to-top svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-open .back-to-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(.96);
}

.chat-toggle {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: var(--orange, #D96A1F);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .22), 0 6px 18px rgba(217, 106, 31, .26);
  transition: transform .18s, background .2s;
}

.chat-toggle:hover {
  transform: translateY(-2px);
  background: var(--orange-d, #B85A17);
}

.chat-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-toggle-dot {
  position: absolute;
  right: 8px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6FCF97;
  border: 2px solid #fff;
  box-shadow: 0 0 0 0 rgba(111, 207, 151, .75);
  animation: chatPulse 2s infinite;
}

@keyframes chatPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111, 207, 151, .7); }
  50% { box-shadow: 0 0 0 8px rgba(111, 207, 151, 0); }
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(340px, calc(100vw - 32px));
  background: var(--bg, #0D1B2A);
  border: 1px solid var(--border2, rgba(240, 235, 224, .13));
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(.98);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}

.chat-widget.open .chat-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: var(--navy, #0D1B2A);
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.chat-kicker {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange, #D96A1F);
  margin-bottom: 5px;
}

.chat-head strong {
  display: block;
  font-family: var(--serif, Georgia, serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.15;
  color: #F0EBE0;
}

.chat-close {
  border: 0;
  background: transparent;
  color: rgba(240, 235, 224, .7);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}

.chat-close:hover { color: #fff; }

.chat-body {
  padding: 16px;
  background: var(--bg, #0D1B2A);
}

.chat-message {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text2, rgba(240, 235, 224, .7));
  margin-bottom: 14px;
}

.chat-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.chat-options button {
  border: 1px solid var(--border2, rgba(240, 235, 224, .13));
  background: var(--bg2, #112233);
  color: var(--text, #F0EBE0);
  border-radius: 8px;
  padding: 10px 11px;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  font-family: var(--sans, Inter, sans-serif);
  transition: border-color .2s, color .2s, background .2s;
}

.chat-options button:hover {
  border-color: var(--orange, #D96A1F);
  color: var(--orange, #D96A1F);
  background: rgba(217, 106, 31, .07);
}

.chat-direct {
  display: block;
  margin-top: 12px;
  background: var(--orange, #D96A1F);
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s, transform .15s;
}

.chat-direct:hover {
  background: var(--orange-d, #B85A17);
  color: #fff;
  transform: translateY(-1px);
}

[data-theme="light"] .chat-panel {
  background: var(--bg, #F6F0E4);
  box-shadow: 0 24px 70px rgba(26, 37, 53, .18);
}

[data-theme="light"] .chat-head { background: var(--navy, #0D1B2A); }

/* Article feature cards: keep section headers distinct in both themes. */
[data-theme="light"] .post-article .sign-card-header,
[data-theme="light"] article .sign-card-header {
  background: var(--bg2, #EDE7D6) !important;
  border-bottom-color: var(--border2, rgba(26, 37, 53, .18)) !important;
}

@media (max-width: 600px) {
  .back-to-top {
    right: 16px;
    bottom: 84px;
    width: 42px;
    height: 42px;
  }

  .chat-widget {
    right: 16px;
    bottom: 16px;
  }

  .chat-toggle {
    width: 54px;
    height: 54px;
  }

  .chat-panel {
    right: -4px;
    bottom: 68px;
  }

  .chat-options { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .chat-toggle,
  .chat-panel,
  .chat-direct,
  .back-to-top {
    transition: none;
  }

  .chat-toggle-dot { animation: none; }
}

@media (min-width: 961px) {
  footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    column-gap: 28px;
    padding-right: 132px;
  }

  .footer-brand {
    justify-self: start;
  }

  .footer-links {
    justify-self: center;
  }

  .footer-copy {
    justify-self: end;
    text-align: right;
    max-width: 520px;
    transform: translateX(-22px);
  }
}

/* Light pages still use navy inset panels; keep their copy bright enough to read. */
[data-theme="light"] .post-article .callout li,
[data-theme="light"] .post-article .verdict-col ul li,
[data-theme="light"] .post-article .stat-label,
[data-theme="light"] .post-template-cta-text p,
[data-theme="light"] .post-template-sidebar-cta p {
  color: rgba(240, 235, 224, 0.86) !important;
}

[data-theme="light"] .post-article .callout li {
  border-bottom-color: rgba(240, 235, 224, 0.14) !important;
}

[data-theme="light"] .post-article .verdict-col-title {
  color: rgba(240, 235, 224, 0.66) !important;
}

[data-theme="light"] .post-article .callout strong,
[data-theme="light"] .post-article .verdict strong {
  color: #F0EBE0 !important;
}

/* Light-theme readability trial: deepen secondary copy without adding weight. */
[data-theme="light"] {
  --text2: rgba(26, 37, 53, 0.80);
}


  /* ── SIGN CARDS ── */
  .post-article .sign-grid { display: grid; gap: 20px; margin: 2rem 0; }
  .post-article .sign-card { border: 0.5px solid var(--border) !important; border-radius: 12px !important; overflow: hidden !important; transition: border-color .2s; }
  .post-article .sign-card:hover { border-color: var(--orange) !important; }
  .post-article .sign-card-header { display: flex !important; align-items: center !important; gap: 14px !important; padding: 1.1rem 1.4rem !important; background: var(--cream2) !important; border-bottom: 0.5px solid var(--border) !important; margin: 0 !important; }
  .post-article .sign-num { font-family: var(--serif) !important; font-size: 28px !important; font-weight: 400 !important; color: var(--orange) !important; line-height: 1 !important; flex-shrink: 0; min-width: 32px; }
  .post-article .sign-title { font-size: 15px !important; font-weight: 500 !important; color: var(--navy) !important; line-height: 1.3 !important; margin: 0 !important; }
  .post-article .sign-card-body { padding: 1.25rem 1.4rem !important; }
  .post-article .sign-card-body > p { font-size: 14px !important; color: var(--text2) !important; line-height: 1.75 !important; margin-bottom: 1rem !important; }
  .post-article .sign-card-body > p:last-child { margin-bottom: 0 !important; }
  .post-article .sign-card-body strong { font-weight: 500 !important; color: var(--navy) !important; }
  .post-article .sign-pattern { background: rgba(217,106,31,0.06) !important; border: 0.5px solid rgba(217,106,31,0.18) !important; border-radius: 8px !important; padding: .75rem 1rem !important; margin-top: .75rem !important; }
  .post-article .sign-pattern-label { font-size: 10px !important; font-weight: 500 !important; letter-spacing: .12em !important; text-transform: uppercase !important; color: var(--orange) !important; margin-bottom: 5px !important; display: block; }
  .post-article .sign-pattern p { font-size: 13px !important; color: var(--text) !important; line-height: 1.6 !important; margin: 0 !important; font-style: italic !important; }
 
  /* ── STAT STRIP ── */
  .stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 1.75rem 0; }
  @media (max-width: 580px) { .stat-strip { grid-template-columns: 1fr; } }
  .stat-card { background: var(--navy); border-radius: 12px; padding: 1.25rem; text-align: center; }
  .stat-number { font-family: var(--serif); font-size: 30px; font-weight: 400; color: var(--orange); line-height: 1; margin-bottom: 8px; }
  .stat-label { font-size: 12px; color: rgba(240,235,224,0.6); line-height: 1.5; }
 
  /* ── SPREADSHEET WARNING ── */
  .checklist-box { background: var(--cream2); border: 0.5px solid var(--border); border-radius: 10px; padding: 1.25rem 1.4rem; margin: 1.5rem 0; }
  .checklist-box-label { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text3); margin-bottom: 10px; }
  .checklist-box ul { list-style: none; padding: 0; }
  .checklist-box ul li { font-size: 14px; color: var(--text2); padding: 6px 0; border-bottom: 0.5px solid var(--border); display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
  .checklist-box ul li:last-child { border-bottom: none; }
  .checklist-box ul li::before { content: '→'; color: var(--orange); flex-shrink: 0; font-size: 13px; margin-top: 1px; }
 
  /* ── DATA CALLOUT ── */
  .data-callout { border: 0.5px solid rgba(26,37,53,0.15); border-radius: 10px; padding: 1.1rem 1.25rem; background: rgba(13,27,42,0.03); margin: 1.75rem 0; display: flex; gap: 14px; align-items: flex-start; }
  .data-callout-bar { width: 3px; background: var(--navy); border-radius: 2px; flex-shrink: 0; min-height: 40px; }
  .data-callout p { font-size: 14px; color: var(--text); margin: 0 !important; line-height: 1.7; }
  .data-callout strong { color: var(--navy) !important; font-weight: 600 !important; }
  .data-callout p { font-size: 14px !important; color: var(--text) !important; margin: 0 !important; line-height: 1.7 !important; }
  .data-callout a { color: var(--orange) !important; }
  [data-theme="dark"] .data-callout { background: rgba(255,255,255,0.04) !important; border-color: rgba(240,235,224,0.12) !important; }
  [data-theme="dark"] .data-callout-bar { background: var(--orange) !important; }
  [data-theme="dark"] .data-callout p { color: rgba(240,235,224,0.75) !important; }
  [data-theme="dark"] .data-callout strong { color: #F0EBE0 !important; }
  [data-theme="dark"] .data-callout a { color: var(--orange) !important; }
  /* Dark mode — sign cards */
  [data-theme="dark"] .post-article .sign-card { border-color: rgba(240,235,224,0.1) !important; }
  [data-theme="dark"] .post-article .sign-card-header { background: rgba(255,255,255,0.04) !important; border-bottom-color: rgba(240,235,224,0.08) !important; }
  [data-theme="dark"] .post-article .sign-title { color: #F0EBE0 !important; }
  [data-theme="dark"] .post-article .sign-card-body > p { color: rgba(240,235,224,0.65) !important; }
  [data-theme="dark"] .post-article .sign-card-body strong { color: #F0EBE0 !important; }
  [data-theme="dark"] .post-article .sign-pattern { background: rgba(217,106,31,0.08) !important; border-color: rgba(217,106,31,0.25) !important; }
  [data-theme="dark"] .post-article .sign-pattern p { color: rgba(240,235,224,0.75) !important; }
 
  /* ── WARNING BOX ── */
  .warning { border: 0.5px solid rgba(217,106,31,0.25); border-radius: 10px; padding: 1.1rem 1.25rem; background: rgba(217,106,31,0.05); margin: 1.75rem 0; display: flex; gap: 12px; align-items: flex-start; }
  .warning-icon { font-size: 18px; flex-shrink: 0; line-height: 1.4; }
  .warning p { font-size: 14px; color: var(--text); margin: 0 !important; line-height: 1.6; }
 
  /* ── NEXT STEPS ── */
  .next-steps { display: grid; gap: 12px; margin: 1.75rem 0; }
  .next-step { display: flex; align-items: flex-start; gap: 14px; padding: 1rem 1.25rem; background: var(--cream2); border: 0.5px solid var(--border); border-radius: 10px; transition: border-color .2s; }
  .next-step:hover { border-color: var(--orange); }
  .next-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; color: #fff; flex-shrink: 0; margin-top: 1px; }
  .next-step-text strong { display: block; font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 3px; }
  .next-step-text p { font-size: 13px; color: var(--text2); line-height: 1.55; margin: 0 !important; }
  [data-theme="dark"] .post-article .next-step { background: var(--bg2, #152536); border-color: var(--border2, rgba(240, 235, 224, 0.18)); }
  [data-theme="dark"] .post-article .next-step-text strong { color: var(--text, #F0EBE0); }
  [data-theme="dark"] .post-article .next-step-text p { color: var(--text2, rgba(240, 235, 224, 0.76)); }


  /* ── HEAD TO HEAD CARDS ── */
  .vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 2rem 0; }
  @media (max-width: 600px) { .vs-grid { grid-template-columns: 1fr; } }
  .vs-card { border-radius: 12px; padding: 1.5rem; border: 0.5px solid var(--border); }
  .vs-card.google { background: linear-gradient(135deg, rgba(66,133,244,0.06), rgba(52,168,83,0.06)); border-color: rgba(66,133,244,0.2); }
  .vs-card.microsoft { background: linear-gradient(135deg, rgba(0,114,198,0.06), rgba(127,186,0,0.06)); border-color: rgba(0,114,198,0.2); }
  .vs-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
  .vs-badge { font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
  .vs-badge.google { background: rgba(66,133,244,0.12); color: #4285F4; }
  .vs-badge.microsoft { background: rgba(0,114,198,0.12); color: #0072C6; }
  .vs-card h3 { font-size: 15px; font-weight: 500; color: var(--navy); margin: 0 0 .75rem; }
  .vs-card ul { list-style: none; padding: 0; }
  .vs-card ul li { font-size: 13px; color: var(--text2); padding: 5px 0; border-bottom: 0.5px solid var(--border); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
  .vs-card ul li:last-child { border-bottom: none; }
  .vs-card ul li::before { content: '✓'; font-size: 11px; color: var(--orange); flex-shrink: 0; margin-top: 2px; font-weight: 500; }
 
  /* ── COMPARISON TABLE ── */
  .compare-wrap { overflow-x: auto; margin: 2rem 0; }
  .compare-table { width: 100%; border-collapse: collapse; font-size: 14px; border-radius: 10px; overflow: hidden; border: 0.5px solid var(--border); min-width: 540px; }
  .compare-table th { padding: 12px 16px; text-align: left; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
  .compare-table th:first-child { background: var(--cream2); color: var(--text3); width: 35%; }
  .compare-table th:nth-child(2) { background: rgba(66,133,244,0.08); color: #4285F4; }
  .compare-table th:last-child { background: rgba(0,114,198,0.08); color: #0072C6; }
  .compare-table td { padding: 11px 16px; border-top: 0.5px solid var(--border); line-height: 1.5; color: var(--text2); vertical-align: top; }
  .compare-table td:first-child { font-weight: 400; color: var(--text); background: rgba(246,240,228,0.5); }
  .compare-table td:nth-child(2) { background: rgba(66,133,244,0.03); }
  .compare-table td:last-child { background: rgba(0,114,198,0.03); }
  .winner { color: var(--navy); font-weight: 500; }
  .neutral { color: var(--text3); font-style: italic; }
  /* Dark mode — compare table */
  [data-theme="dark"] .compare-table th:first-child { background: rgba(255,255,255,0.04); color: rgba(240,235,224,0.35); }
  [data-theme="dark"] .compare-table th:nth-child(2) { background: rgba(66,133,244,0.12); }
  [data-theme="dark"] .compare-table th:last-child { background: rgba(0,114,198,0.12); }
  [data-theme="dark"] .compare-table td { color: rgba(240,235,224,0.6); border-top-color: rgba(240,235,224,0.07); }
  [data-theme="dark"] .compare-table td:first-child { background: rgba(255,255,255,0.03); color: #F0EBE0; }
  [data-theme="dark"] .compare-table td:nth-child(2) { background: rgba(66,133,244,0.05); }
  [data-theme="dark"] .compare-table td:last-child { background: rgba(0,114,198,0.05); }
  [data-theme="dark"] .winner { color: #F0EBE0; }
  [data-theme="dark"] .neutral { color: rgba(240,235,224,0.3); }
  /* Dark mode — vs cards */
  [data-theme="dark"] .vs-card.google { background: rgba(66,133,244,0.08); border-color: rgba(66,133,244,0.25); }
  [data-theme="dark"] .vs-card.microsoft { background: rgba(0,114,198,0.08); border-color: rgba(0,114,198,0.25); }
  [data-theme="dark"] .vs-card h3 { color: #F0EBE0; }
  [data-theme="dark"] .vs-card ul li { color: rgba(240,235,224,0.65); border-bottom-color: rgba(240,235,224,0.07); }
  /* Dark mode — scenario cards */
  [data-theme="dark"] .scenario-card { background: rgba(255,255,255,0.04); border-color: rgba(240,235,224,0.1); }
  [data-theme="dark"] .scenario-text strong { color: #F0EBE0; }
  [data-theme="dark"] .scenario-text p { color: rgba(240,235,224,0.6); }
  /* Dark mode — pricing cards */
  [data-theme="dark"] .pricing-card { border-color: rgba(240,235,224,0.1); }
  [data-theme="dark"] .pricing-card-body { background: rgba(255,255,255,0.02); }
  [data-theme="dark"] .pricing-tier { border-bottom-color: rgba(240,235,224,0.07); }
  [data-theme="dark"] .pricing-tier-name { color: rgba(240,235,224,0.75); }
  [data-theme="dark"] .pricing-note { color: rgba(240,235,224,0.3); }
 
  /* ── SCENARIO CARDS ── */
  .scenario-grid { display: grid; gap: 12px; margin: 1.75rem 0; }
  .scenario-card { border: 0.5px solid var(--border); border-radius: 10px; padding: 1.1rem 1.25rem; background: var(--cream2); display: flex; gap: 14px; align-items: flex-start; }
  .scenario-icon { font-size: 20px; flex-shrink: 0; line-height: 1.3; }
  .scenario-text strong { display: block; font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
  .scenario-text p { font-size: 13px; color: var(--text2); line-height: 1.6; margin: 0 !important; }
  .scenario-rec { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 2px 10px; border-radius: 999px; }
  .scenario-rec.google { background: rgba(66,133,244,0.1); color: #4285F4; }
  .scenario-rec.microsoft { background: rgba(0,114,198,0.1); color: #0072C6; }
  .scenario-rec.either { background: rgba(217,106,31,0.1); color: var(--orange); }
 
  /* ── PRICING TABLE ── */
  .pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.75rem 0; }
  @media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }
  .pricing-card { border: 0.5px solid var(--border); border-radius: 12px; overflow: hidden; }
  .pricing-card-header { padding: .75rem 1.25rem; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
  .pricing-card-header.google { background: rgba(66,133,244,0.08); color: #4285F4; }
  .pricing-card-header.microsoft { background: rgba(0,114,198,0.08); color: #0072C6; }
  .pricing-card-body { padding: 1rem 1.25rem; }
  .pricing-tier { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 0.5px solid var(--border); font-size: 13px; }
  .pricing-tier:last-child { border-bottom: none; }
  .pricing-tier-name { color: var(--text); font-weight: 400; }
  .pricing-tier-price { color: var(--orange); font-weight: 500; font-size: 14px; }
  .pricing-note { font-size: 11px; color: var(--text3); margin-top: 8px; font-style: italic; }
 
  /* ── CHECKLIST ── */
  .checklist { display: grid; gap: 10px; margin: 1.5rem 0; }
  .check-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text); line-height: 1.55; }
  .check-icon { width: 22px; height: 22px; border-radius: 50%; background: rgba(217,106,31,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
  .check-icon svg { width: 11px; height: 11px; stroke: var(--orange); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
 
  /* ── VERDICT BOX ── */
  .verdict { background: var(--navy); border-radius: 12px; padding: 1.5rem 1.75rem; margin: 2rem 0; }
  .verdict-label { font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
  .verdict-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  @media (max-width: 540px) { .verdict-grid { grid-template-columns: 1fr; } }
  .verdict-col-title { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(240,235,224,0.45); margin-bottom: 8px; }
  .verdict-col ul { list-style: none; padding: 0; }
  .verdict-col ul li { font-size: 13px; color: rgba(240,235,224,0.75); padding: 4px 0; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
  .verdict-col ul li::before { content: '→'; color: var(--orange); flex-shrink: 0; font-size: 12px; margin-top: 1px; }
  
  [data-theme="light"] .post-article .sign-card-header,
[data-theme="light"] article .sign-card-header {
  background: var(--bg2, #EDE7D6) !important;
  border-bottom-color: var(--border2, rgba(26, 37, 53, .18)) !important;
}


 /* ── BODY ── */
  .post-body { font-size: 16px; line-height: 1.85; color: var(--text); }
  .post-body p { margin-bottom: 1.4rem; }
  .post-body h2 { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--navy); margin: 2.5rem 0 .8rem; line-height: 1.2; }
  .post-body h3 { font-size: 16px; font-weight: 500; color: var(--navy); margin: 1.8rem 0 .5rem; }
  .post-body strong { font-weight: 500; color: var(--navy); }
  .post-body em { font-style: italic; }
  .post-body a { color: var(--orange); text-decoration: none; border-bottom: 0.5px solid rgba(217,106,31,0.3); transition: border-color .2s; }
  .post-body a:hover { border-color: var(--orange); }
  
  
  /* ── GRIEF STAGES ── */
  .grief-grid { display: grid; gap: 12px; margin: 1.75rem 0; }
  .grief-card { border: 0.5px solid var(--border); border-radius: 10px; overflow: hidden; }
  .grief-card-header { display: flex; align-items: center; gap: 12px; padding: .75rem 1.25rem; background: var(--cream2); border-bottom: 0.5px solid var(--border); }
  .grief-stage-num { font-family: var(--serif); font-size: 11px; font-weight: 400; color: var(--orange); letter-spacing: .08em; text-transform: uppercase; flex-shrink: 0; }
  .grief-stage-name { font-size: 14px; font-weight: 500; color: var(--navy); }
  .grief-card-body { padding: .9rem 1.25rem; }
  .grief-card-body p { font-size: 14px; color: var(--text2); line-height: 1.65; margin: 0 !important; font-style: italic; }
  /* Dark mode — grief cards */
  [data-theme="dark"] .grief-card { border-color: rgba(240,235,224,0.1); }
  [data-theme="dark"] .grief-card-header { background: rgba(255,255,255,0.04); border-bottom-color: rgba(240,235,224,0.08); }
  [data-theme="dark"] .grief-stage-name { color: #F0EBE0; }
  [data-theme="dark"] .grief-card-body p { color: rgba(240,235,224,0.65); }

  /* ── REPLACEMENT CHECKLIST ── */
  .replace-grid { display: grid; gap: 10px; margin: 1.75rem 0; }
  .replace-item { display: flex; align-items: flex-start; gap: 14px; padding: 1rem 1.25rem; background: var(--cream2); border: 0.5px solid var(--border); border-radius: 10px; transition: border-color .2s; }
  .replace-item:hover { border-color: var(--orange); }
  .replace-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(217,106,31,0.1); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 0; flex-shrink: 0; }
  .replace-icon::before, .warning-icon-svg::before { content: ''; display: block; width: 17px; height: 17px; background: currentColor; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
  .replace-icon-key::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='16.5' r='4.5'/%3E%3Cpath d='M11 13l8-8M15 5h4v4M14 10l3 3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='16.5' r='4.5'/%3E%3Cpath d='M11 13l8-8M15 5h4v4M14 10l3 3'/%3E%3C/svg%3E"); }
  .replace-icon-shield::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/svg%3E"); }
  .replace-icon-users::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-8 0v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M2 21v-2a4 4 0 0 1 3-3.87'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-8 0v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M2 21v-2a4 4 0 0 1 3-3.87'/%3E%3C/svg%3E"); }
  .replace-icon-user-check::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-8 0v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='m16 11 2 2 4-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-8 0v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='m16 11 2 2 4-4'/%3E%3C/svg%3E"); }
  .replace-icon-lock::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3M12 15v2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3M12 15v2'/%3E%3C/svg%3E"); }
  .warning-icon-svg { color: var(--orange); display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 20px; height: 24px; }
  .warning-icon-bulb::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.74c.62.44 1 1.15 1 1.91V18h6v-1.35c0-.76.38-1.47 1-1.91A7 7 0 0 0 12 2Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.74c.62.44 1 1.15 1 1.91V18h6v-1.35c0-.76.38-1.47 1-1.91A7 7 0 0 0 12 2Z'/%3E%3C/svg%3E"); }
  .replace-text strong { display: block; font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 3px; }
  .replace-text p { font-size: 13px; color: var(--text2); line-height: 1.55; margin: 0 !important; }
  /* Dark mode — replace items */
  [data-theme="dark"] .replace-item { background: rgba(255,255,255,0.04); border-color: rgba(240,235,224,0.1); }
  [data-theme="dark"] .replace-item:hover { border-color: var(--orange); }
  [data-theme="dark"] .replace-text strong { color: #F0EBE0; }
  [data-theme="dark"] .replace-text p { color: rgba(240,235,224,0.6); }

  /* ── WARNING ── */
  .warning { border: 0.5px solid rgba(217,106,31,0.25); border-radius: 10px; padding: 1.1rem 1.25rem; background: rgba(217,106,31,0.05); margin: 1.75rem 0; display: flex; gap: 12px; align-items: flex-start; }
  .warning-icon { font-size: 18px; flex-shrink: 0; line-height: 1.4; }
  .warning p { font-size: 14px; color: var(--text); margin: 0 !important; line-height: 1.6; }
  [data-theme="dark"] .warning { background: rgba(217,106,31,0.08); border-color: rgba(217,106,31,0.3); }
  [data-theme="dark"] .warning p { color: rgba(240,235,224,0.75); }


  /* ── MYTH CARDS ── */
  .myth-grid { display: grid; gap: 16px; margin: 1.75rem 0; }
  .myth-card { border-radius: 12px; overflow: hidden; border: 0.5px solid var(--border); }
  .myth-card-header { display: grid; grid-template-columns: 1fr 1fr; }
  .myth-side { padding: .75rem 1.1rem; }
  .myth-side.myth { background: rgba(198,40,40,0.06); border-right: 0.5px solid var(--border); }
  .myth-side.fact { background: rgba(46,125,50,0.06); }
  .myth-side-label { font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
  .myth-side.myth .myth-side-label { color: #C62828; }
  .myth-side.fact .myth-side-label { color: #2E7D32; }
  .myth-side p { font-size: 13px; line-height: 1.55; color: var(--text2); margin: 0 !important; }
 
  /* ── RISK CARDS ── */
  .risk-grid { display: grid; gap: 12px; margin: 1.75rem 0; }
  .risk-card { border: 0.5px solid var(--border); border-radius: 10px; padding: 1.1rem 1.25rem; background: var(--cream2); display: flex; gap: 14px; align-items: flex-start; }
  .risk-level { font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 2px 10px; border-radius: 999px; flex-shrink: 0; margin-top: 2px; }
  .risk-level.high { background: rgba(198,40,40,0.1); color: #C62828; }
  .risk-level.medium { background: rgba(237,108,2,0.1); color: #E65100; }
  .risk-level.low { background: rgba(46,125,50,0.1); color: #2E7D32; }
  .risk-text strong { display: block; font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
  .risk-text p { font-size: 13px; color: var(--text2); line-height: 1.6; margin: 0 !important; }
 
  /* ── SHARED RESPONSIBILITY ── */
  .responsibility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.75rem 0; }
  @media (max-width: 580px) { .responsibility-grid { grid-template-columns: 1fr; } }
  .responsibility-card { border-radius: 12px; padding: 1.25rem 1.4rem; border: 0.5px solid var(--border); }
  .responsibility-card.provider { background: linear-gradient(135deg, rgba(13,27,42,0.06), rgba(13,27,42,0.03)); border-color: rgba(13,27,42,0.15); }
  .responsibility-card.you { background: linear-gradient(135deg, rgba(217,106,31,0.08), rgba(217,106,31,0.04)); border-color: rgba(217,106,31,0.2); }
  .responsibility-label { font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
  .responsibility-card.provider .responsibility-label { color: var(--navy); }
  .responsibility-card.you .responsibility-label { color: var(--orange); }
  .responsibility-card h3 { font-size: 15px; font-weight: 500; color: var(--navy); margin-bottom: .75rem; }
  .responsibility-card ul { list-style: none; padding: 0; }
  .responsibility-card ul li { font-size: 13px; color: var(--text2); padding: 5px 0; border-bottom: 0.5px solid var(--border); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
  .responsibility-card ul li:last-child { border-bottom: none; }
  .responsibility-card.provider ul li::before { content: '✓'; font-size: 11px; color: var(--navy); flex-shrink: 0; margin-top: 2px; font-weight: 500; }
  .responsibility-card.you ul li::before { content: '✓'; font-size: 11px; color: var(--orange); flex-shrink: 0; margin-top: 2px; font-weight: 500; }
 
  /* ── SECURITY CHECKLIST ── */
  .security-checklist { display: grid; gap: 10px; margin: 1.75rem 0; }
  .security-item { display: flex; align-items: flex-start; gap: 14px; padding: 1rem 1.25rem; background: var(--cream2); border: 0.5px solid var(--border); border-radius: 10px; transition: border-color .2s; }
  .security-item:hover { border-color: var(--orange); }
  .security-item-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(217,106,31,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
  .security-item-text strong { display: block; font-size: 14px; font-weight: 500; color: var(--navy); margin-bottom: 3px; }
  .security-item-text p { font-size: 13px; color: var(--text2); line-height: 1.55; margin: 0 !important; }
 
  /* ── STAT BOX ── */
  .stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 1.75rem 0; }
  @media (max-width: 580px) { .stat-grid { grid-template-columns: 1fr; } }
  .stat-card { background: var(--navy); border-radius: 12px; padding: 1.25rem; text-align: center; }
  .stat-number { font-family: var(--serif); font-size: 32px; font-weight: 400; color: var(--orange); line-height: 1; margin-bottom: 8px; }
  .stat-label { font-size: 12px; color: rgba(240,235,224,0.6); line-height: 1.5; }
 
  /* ── WARNING BOX ── */
  .warning { border: 0.5px solid rgba(198,40,40,0.2); border-radius: 10px; padding: 1.1rem 1.25rem; background: rgba(198,40,40,0.04); margin: 1.75rem 0; display: flex; gap: 12px; align-items: flex-start; }
  .warning-icon { font-size: 18px; flex-shrink: 0; line-height: 1.4; }
  .warning p { font-size: 14px; color: var(--text); margin: 0 !important; line-height: 1.6; }
  .warning strong { color: #C62828; }

/* Article data blocks need raised, legible surfaces against the dark canvas. */
[data-theme="dark"] .post-article .stat-card {
  background: var(--bg2, #152536);
  box-shadow: inset 0 0 0 0.5px var(--border2, rgba(240, 235, 224, 0.18));
}

[data-theme="dark"] .post-article .stat-label {
  color: var(--text2, rgba(240, 235, 224, 0.76));
}

[data-theme="dark"] .post-article .responsibility-card {
  border-color: var(--border2, rgba(240, 235, 224, 0.18));
}

[data-theme="dark"] .post-article .responsibility-card.provider {
  background: var(--bg2, #152536);
  border-color: var(--border2, rgba(240, 235, 224, 0.18));
}

[data-theme="dark"] .post-article .responsibility-card.you {
  background: rgba(217, 106, 31, 0.07);
  border-color: rgba(217, 106, 31, 0.32);
}

[data-theme="dark"] .post-article .responsibility-card h3 {
  color: var(--text, #F0EBE0);
}

[data-theme="dark"] .post-article .responsibility-card.provider .responsibility-label {
  color: var(--text3, rgba(240, 235, 224, 0.62));
}

[data-theme="dark"] .post-article .responsibility-card ul li {
  color: var(--text2, rgba(240, 235, 224, 0.76));
  border-bottom-color: var(--border, rgba(240, 235, 224, 0.07));
}

[data-theme="dark"] .post-article .responsibility-card.provider ul li::before {
  color: var(--text, #F0EBE0);
}

[data-theme="dark"] .post-article .risk-card {
  background: var(--bg2, #152536);
  border-color: var(--border2, rgba(240, 235, 224, 0.18));
}

[data-theme="dark"] .post-article .risk-text strong {
  color: var(--text, #F0EBE0);
}

[data-theme="dark"] .post-article .risk-text p {
  color: var(--text2, rgba(240, 235, 224, 0.76));
}

[data-theme="dark"] .post-article .security-item-text strong {
  color: var(--text, #F0EBE0);
}

/* Body-only WordPress post snippets must follow the active article theme. */
[data-theme="dark"] .post-article .post-body h2,
[data-theme="dark"] .post-article .post-body h3,
[data-theme="dark"] .post-article .post-body strong {
  color: var(--text, #F0EBE0);
}

[data-theme="dark"] .post-article .data-callout a {
  color: #F28B45 !important;
  border-bottom: 0 !important;
  text-decoration: none !important;
}

[data-theme="dark"] .post-article .data-callout a:hover {
  color: #FFAE73 !important;
}

/* On phones, render comparisons as readable rows rather than squeezed tables. */
@media (max-width: 600px) {
  .post-template-content,
  .post-body {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .post-article .compare-wrap {
    max-width: 100%;
    overflow: visible;
  }

  .post-article .compare-table-mobile-ready {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  .post-article .compare-table-mobile-ready thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .post-article .compare-table-mobile-ready tbody {
    display: grid;
    gap: 12px;
  }

  .post-article .compare-table-mobile-ready tbody tr {
    display: block;
    overflow: hidden;
    border: 1px solid var(--border2);
    border-radius: 10px;
    background: var(--bg2);
  }

  .post-article .compare-table-mobile-ready td {
    display: grid;
    grid-template-columns: minmax(102px, 40%) minmax(0, 1fr);
    gap: 10px;
    width: auto !important;
    padding: 10px 12px !important;
    border-top: 1px solid var(--border) !important;
    background: transparent !important;
    color: var(--text2) !important;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .post-article .compare-table-mobile-ready td:first-child {
    display: block;
    padding: 12px !important;
    border-top: 0 !important;
    background: var(--bg3) !important;
    color: var(--text) !important;
    font-weight: 500;
  }

  .post-article .compare-table-mobile-ready td:not(:first-child)::before {
    content: attr(data-label);
    color: var(--text3);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
}

/* Impeccable typeset pass for Insights: readable articles, steadier hierarchy. */
html {
  text-size-adjust: 100%;
}

body {
  font-kerning: normal;
  font-optical-sizing: auto;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

.post-title,
.blog-hero-title,
.post-body h2,
.post-body h3,
.related-card p,
.sidebar-cta strong,
.post-template-cta-text strong {
  text-wrap: balance;
}

.post-body,
.post-body p,
.post-body li,
.post-template-content,
.post-template-content p,
.sidebar-cta p,
.related-card span {
  text-wrap: pretty;
}

.post-article .post-body,
.post-body {
  max-width: 68ch;
  font-size: 1.03125rem;
  line-height: 1.86;
}

.post-body p,
.post-template-content p {
  margin-bottom: 1.45rem;
}

.post-title {
  max-width: 13ch;
  line-height: 1.08;
  letter-spacing: -0.024em;
}

.post-body h2 {
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  line-height: 1.16;
  letter-spacing: -0.012em;
  margin-top: 2.75rem;
  margin-bottom: .9rem;
}

.post-body h3 {
  font-size: 1.125rem;
  line-height: 1.35;
  margin-top: 2rem;
}

.post-meta,
.post-category,
.related-title,
.sidebar-card-title,
.callout-label,
.verdict-label,
.responsibility-label,
.checklist-box-label {
  letter-spacing: .1em;
}

.post-body a {
  text-underline-offset: .18em;
}

.stat-number,
.sign-num,
.post-meta {
  font-variant-numeric: tabular-nums;
}

.security-item-text p,
.replace-text p,
.scenario-text p,
.risk-text p,
.responsibility-card ul li,
.compare-table td {
  line-height: 1.62;
}

@media (max-width: 860px) {
  .post-title {
    max-width: 100%;
  }

  .post-article .post-body,
  .post-body {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .post-article .post-body,
  .post-body {
    font-size: 1rem;
    line-height: 1.82;
  }

  .post-body h2 {
    font-size: 1.55rem;
  }
}
 
