/* ===========================================
   Tvmomento Blog — Design Tokens
   Clean, minimal, single-accent system
   =========================================== */

:root {
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --font-text:    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;

  /* Surfaces */
  --bg: #ffffff;
  --bg-secondary: #f5f5f7;
  --bg-dark: #111111;

  /* Text */
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-muted: #aeaeb2;
  --text-on-dark: #f5f5f7;

  /* Accent — the ONLY non-neutral allowed in chrome */
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: #f0f7ff;
  --accent-soft-border: rgba(0, 113, 227, 0.20);

  /* Status colors (badges only) */
  --green: #34c759;
  --green-dark: #1a7f37;
  --green-soft: rgba(52, 199, 89, 0.10);
  --green-pill: rgba(52, 199, 89, 0.15);
  --amber: #b8860b;
  --amber-soft: rgba(255, 159, 10, 0.10);
  --red: #d6303a;

  /* Borders */
  --border: 0.5px solid rgba(0, 0, 0, 0.08);
  --border-color: rgba(0, 0, 0, 0.08);

  /* Radii */
  --radius-card: 24px;
  --radius-pill: 100px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;

  /* Shadows */
  --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lift: 0 12px 32px rgba(0, 0, 0, 0.10), 0 4px 10px rgba(0, 0, 0, 0.05);

  /* Type */
  --font-mono:    "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ===========================================
   NAV — frosted top bar (blog-nav)
   =========================================== */
.blog-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: 56px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(40px) saturate(1.8);
  -webkit-backdrop-filter: blur(40px) saturate(1.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -0.5px 0 rgba(0, 0, 0, 0.08);
}
.blog-nav__inner {
  max-width: 1240px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.blog-nav__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  white-space: nowrap;
}
.blog-nav__logo b { color: var(--accent); font-weight: 700; }
.blog-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 13px;
  color: var(--text-primary);
}
.blog-nav__links a {
  position: relative;
  padding: 4px 2px;
  color: var(--text-primary);
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.blog-nav__links a:hover { opacity: 1; }
.blog-nav__links a.is-active {
  color: var(--text-primary);
  opacity: 1;
}
.blog-nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.blog-nav__cta {
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border: 0;
  border-radius: var(--radius-pill);
  transition: background 0.15s ease;
}
.blog-nav__cta:hover { background: var(--accent-hover); }
.blog-nav__hamburger {
  display: none;
  width: 32px; height: 32px;
  border: 0; background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.blog-nav__hamburger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text-primary);
  margin: 0 auto;
}

@media (max-width: 760px) {
  .blog-nav__links, .blog-nav__cta { display: none; }
  .blog-nav__hamburger { display: flex; }
}

/* ===========================================
   CATEGORY BADGES (blog-badge)
   =========================================== */
.blog-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1px;
  white-space: nowrap;
}
.blog-badge--jamforelse { color: var(--accent); background: var(--accent-soft); }
.blog-badge--guide      { color: var(--green-dark); background: var(--green-soft); }
.blog-badge--kanaler    { color: var(--amber); background: var(--amber-soft); }
.blog-badge--nyheter    { color: var(--text-secondary); background: var(--bg-secondary); }

/* ===========================================
   POST CARD (blog-card) — used on index + related
   =========================================== */
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.blog-card__thumb {
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.blog-card__thumb-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background-image: repeating-linear-gradient(
    135deg,
    #ebebef 0 1px,
    #f5f5f7 1px 14px
  );
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.blog-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__excerpt {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.blog-card__meta span + span::before {
  content: "·";
  margin-right: 6px;
  color: var(--text-muted);
}

/* ===========================================
   FOOTER CTA (blog-footer-cta)
   =========================================== */
.blog-footer-cta {
  background: var(--bg-secondary);
  padding: 120px 24px;
  text-align: center;
}
.blog-footer-cta__eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.2px;
  margin-bottom: 12px;
}
.blog-footer-cta__h {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1.05;
  margin: 0 0 32px;
  color: var(--text-primary);
}
.blog-footer-cta__h em {
  display: block;
  font-weight: 300;
  font-style: italic;
  color: var(--text-secondary);
}
.blog-footer-cta__btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 0;
  transition: background 0.15s ease;
}
.blog-footer-cta__btn:hover { background: var(--accent-hover); }

@media (max-width: 640px) {
  .blog-footer-cta { padding: 80px 24px; }
  .blog-footer-cta__h { font-size: 36px; letter-spacing: -1px; }
}

/* ===========================================
   FOOTER (blog-footer)
   =========================================== */
.blog-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 64px 24px 32px;
}
.blog-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
}
.blog-footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.12);
}
.blog-footer__col h4 {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.blog-footer__col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.blog-footer__col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.15s ease;
}
.blog-footer__col a:hover { color: #fff; }
.blog-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.blog-footer__locale {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 0.5px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.82);
}
@media (max-width: 640px) {
  .blog-footer__cols { grid-template-columns: 1fr; gap: 40px; }
  .blog-footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ===========================================
   BUTTONS
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 0;
  padding: 10px 20px;
  cursor: pointer;
  text-decoration: none; /* prevent link-blue bleed on <a class="btn"> */
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--outline { background: transparent; color: var(--text-primary); border: 0.5px solid var(--border-color); }
.btn--outline:hover { background: var(--bg-secondary); }
.btn--ghost { background: transparent; color: var(--accent); padding: 8px 12px; }
.btn--ghost:hover { background: var(--accent-soft); }
.btn--lg { font-size: 15px; padding: 14px 28px; }


/* ============================================================
   SHARED COMPONENTS v2 — cookie banner, sticky CTAs, progress,
   share, trust strip, testimonial, money-back, live toast,
   urgency strip, exit-intent
   ============================================================ */

/* ---- Cookie consent banner ---- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 200;
  display: none;
  background: rgba(29, 29, 31, 0.94);
  color: #fff;
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.20);
  backdrop-filter: blur(20px);
  max-width: 640px;
  margin: 0 auto;
}
.cookie-banner.is-visible { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.cookie-banner__body { flex: 1; min-width: 240px; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.85); }
.cookie-banner__body strong { display: block; font-weight: 600; color: #fff; margin-bottom: 4px; font-size: 14px; }
.cookie-banner__body a { color: #fff; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner__actions button {
  border-radius: var(--radius-pill);
  border: 0;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cookie-banner__accept { background: #fff; color: var(--text-primary); }
.cookie-banner__accept:hover { background: var(--bg-secondary); }
.cookie-banner__reject { background: rgba(255,255,255,0.12); color: #fff; }
.cookie-banner__reject:hover { background: rgba(255,255,255,0.18); }

@media (max-width: 480px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions button { flex: 1; }
}

/* ---- Reading progress bar (top) ---- */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 110;
  transition: width 0.1s ease;
}

/* ---- Mobile sticky CTA (bottom-of-viewport) ---- */
.mobile-sticky-cta {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 95;
  display: none;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-radius: 16px;
  padding: 10px 12px 10px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10), 0 0 0 0.5px rgba(0,0,0,0.06);
}
.mobile-sticky-cta__text {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}
.mobile-sticky-cta__text strong { display: block; font-weight: 600; }
.mobile-sticky-cta__text span { color: var(--text-secondary); font-size: 12px; }
.mobile-sticky-cta a {
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .mobile-sticky-cta { display: flex; }
}

/* ---- Share rail (floating on article) ---- */
.share-rail {
  position: fixed;
  left: 32px; top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 50;
}
@media (max-width: 1100px) { .share-rail { display: none; } }
.share-rail__btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  border: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.15s ease;
  cursor: pointer;
}
.share-rail__btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.05); }

/* ---- Urgency strip (sticky top, above nav) ---- */
.urgency-strip {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 105;
  background: var(--text-primary);
  color: #fff;
  padding: 8px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 500;
}
.urgency-strip + .blog-nav { top: 36px; }
.urgency-strip__countdown {
  display: inline-flex;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  padding: 2px 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
}
.urgency-strip a { color: var(--accent); text-decoration: underline; }
.urgency-strip__close {
  margin-left: auto;
  background: transparent; border: 0; color: rgba(255,255,255,0.6);
  cursor: pointer; padding: 0 8px;
  font-size: 16px;
}
.urgency-strip__close:hover { color: #fff; }
@media (max-width: 600px) {
  .urgency-strip { font-size: 12px; padding: 6px 16px; gap: 8px; }
  .urgency-strip__close { display: none; }
}

/* ---- Trust strip (badges row) ---- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background: var(--bg-secondary);
  border-radius: var(--radius-card);
  font-size: 13px;
  color: var(--text-secondary);
}
.trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-strip__icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* ---- Money-back guarantee badge (circular seal) ---- */
.guarantee-badge {
  position: relative;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.5px;
  box-shadow: 0 8px 24px rgba(0,113,227,0.30);
  flex-direction: column;
  flex-shrink: 0;
}
.guarantee-badge__big {
  font-size: 30px;
  letter-spacing: -1px;
  margin-bottom: 0;
}
.guarantee-badge__sm {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-top: 4px;
  opacity: 0.95;
}
.guarantee-badge::before, .guarantee-badge::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(0,113,227,0.30);
}
.guarantee-badge::after { inset: -12px; opacity: 0.5; }

/* ---- Testimonial card ---- */
.testimonial {
  padding: 32px;
  background: #fff;
  border: var(--border);
  border-radius: var(--radius-card);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.testimonial__quote {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 0;
  text-wrap: balance;
}
.testimonial__stars { color: var(--accent); letter-spacing: 2px; font-size: 14px; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #00c0ff);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}
.testimonial__meta { display: flex; flex-direction: column; }
.testimonial__name { font-weight: 600; font-size: 14px; color: var(--text-primary); }
.testimonial__role { font-size: 12px; color: var(--text-secondary); }

/* ---- Trustpilot-style score block ---- */
.trustscore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #fff;
  border: var(--border);
  border-radius: var(--radius-sm);
}
.trustscore__rating {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}
.trustscore__rating span { color: var(--text-muted); font-size: 14px; font-weight: 400; }
.trustscore__stars { color: var(--green); letter-spacing: 1px; font-size: 14px; }
.trustscore__source { font-size: 11px; color: var(--text-secondary); }
.trustscore__source strong { color: var(--text-primary); font-weight: 600; display: block; }

/* ---- Live activity toast ---- */
.live-toast {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: 80;
  background: #fff;
  border: var(--border);
  border-radius: 14px;
  padding: 12px 14px 12px 16px;
  display: none;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-soft);
  max-width: 320px;
  animation: toast-in 0.4s ease;
}
.live-toast.is-visible { display: flex; }
@keyframes toast-in {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.live-toast__pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  position: relative;
}
.live-toast__pulse::after {
  content: "";
  position: absolute; inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: pulse-ring 1.5s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}
.live-toast__text { font-size: 13px; color: var(--text-primary); line-height: 1.3; }
.live-toast__text strong { font-weight: 600; }
.live-toast__text span { display: block; color: var(--text-secondary); font-size: 11px; margin-top: 2px; }
.live-toast__close {
  background: transparent; border: 0; color: var(--text-muted);
  cursor: pointer; font-size: 16px; padding: 0;
  width: 20px; height: 20px;
}

/* ---- Exit-intent modal ---- */
.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  padding: 24px;
}
.exit-modal.is-visible { display: flex; }
.exit-modal__card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.30);
}
.exit-modal__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 0;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-secondary);
}
.exit-modal__close:hover { background: #ececef; }
.exit-modal__eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.exit-modal__h {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--text-primary);
  margin: 0 0 12px;
  text-wrap: balance;
}
.exit-modal__h em { font-style: italic; font-weight: 300; color: var(--text-secondary); }
.exit-modal__body {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 24px;
  line-height: 1.5;
}
.exit-modal__discount {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -2px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.exit-modal__terms {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ---- Limited-time offer / ROI calculator / Press logos ---- */
.press-row {
  display: flex; flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
  opacity: 0.7;
}
.press-row__logo {
  height: 24px;
  padding: 0 12px;
  background: var(--bg-secondary);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.roi-calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 32px;
  border: var(--border);
  border-radius: var(--radius-card);
  background: #fff;
  align-items: center;
}
@media (max-width: 600px) { .roi-calc { grid-template-columns: 1fr; } }
.roi-calc__inputs { display: flex; flex-direction: column; gap: 14px; }
.roi-calc__field { display: flex; flex-direction: column; gap: 6px; }
.roi-calc__field label { font-size: 12px; color: var(--text-secondary); font-weight: 500; }
.roi-calc__field input[type="range"] { width: 100%; accent-color: var(--accent); }
.roi-calc__field-value { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 14px; }
.roi-calc__field-value strong { color: var(--accent); }
.roi-calc__result { text-align: center; padding: 24px; background: var(--accent-soft); border-radius: var(--radius-sm); }
.roi-calc__result-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.roi-calc__result-value { font-family: var(--font-display); font-size: 44px; font-weight: 600; letter-spacing: -1.5px; color: var(--text-primary); line-height: 1; }
.roi-calc__result-note { font-size: 12px; color: var(--text-secondary); margin-top: 6px; }


/* ============================================================
   A11Y + UTILITIES v3
   - Skip link
   - Universal focus rings
   - Search modal (Cmd-K)
   - "Was this helpful?" feedback widget
   - Updated date badge
   - Print stylesheet
   ============================================================ */

/* ---- Skip-to-content link (WCAG 2.1 SC 2.4.1) ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 999;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.20);
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
  outline: none;
}

/* ---- Universal focus styles (no more invisible focus) ---- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
/* Removes default outline only when not keyboard-focus */
:focus:not(:focus-visible) { outline: none; }

/* ---- sr-only utility ---- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---- Search modal (Cmd/Ctrl+K) ---- */
.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.04);
  border: 0;
  padding: 6px 12px 6px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.15s ease;
}
.search-trigger:hover { background: rgba(0,0,0,0.06); color: var(--text-primary); }
.search-trigger__icon { font-size: 12px; }
.search-trigger__kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 1px 6px;
  background: #fff;
  border: 0.5px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-muted);
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  background: rgba(0,0,0,0.40);
  backdrop-filter: blur(6px);
  padding: 80px 24px;
}
.search-modal.is-visible { display: flex; }
.search-modal__card {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 640px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.20);
  overflow: hidden;
}
.search-modal__input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: var(--border);
}
.search-modal__input-wrap::before {
  content: "⌕";
  font-size: 18px;
  color: var(--text-muted);
}
.search-modal__input {
  flex: 1;
  border: 0;
  outline: none;
  font-size: 16px;
  color: var(--text-primary);
  background: transparent;
}
.search-modal__input::placeholder { color: var(--text-muted); }
.search-modal__esc {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  color: var(--text-secondary);
}
.search-modal__body {
  max-height: 480px;
  overflow-y: auto;
  padding: 8px;
}
.search-modal__group-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  padding: 12px 12px 6px;
  font-weight: 600;
}
.search-modal__result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.1s ease;
  text-decoration: none;
  color: inherit;
}
.search-modal__result:hover,
.search-modal__result.is-focused { background: var(--accent-soft); }
.search-modal__result-cat {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.search-modal__result-cat--guide { background: var(--green); }
.search-modal__result-cat--jamforelse { background: var(--accent); }
.search-modal__result-cat--kanaler { background: #f59f0a; }
.search-modal__result-cat--nyheter { background: var(--text-muted); }
.search-modal__result-body { flex: 1; min-width: 0; }
.search-modal__result-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-modal__result-meta {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.search-modal__result-key {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}
.search-modal__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  border-top: var(--border);
  background: #fbfbfd;
  font-size: 11px;
  color: var(--text-muted);
  gap: 12px;
  flex-wrap: wrap;
}
.search-modal__footer kbd {
  font-family: var(--font-mono);
  background: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  border: 0.5px solid var(--border-color);
  margin: 0 2px;
  font-size: 10px;
}

/* ---- "Was this helpful?" widget ---- */
.helpful {
  max-width: 680px;
  margin: 64px auto 0;
  padding: 28px 32px;
  border: var(--border);
  border-radius: var(--radius-card);
  background: #fff;
  text-align: center;
}
.helpful h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 0 0 16px;
  color: var(--text-primary);
}
.helpful__btns {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.helpful__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 0.5px solid var(--border-color);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s ease;
}
.helpful__btn:hover { background: var(--bg-secondary); border-color: var(--accent); }
.helpful__btn.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.helpful__followup {
  display: none;
  margin-top: 16px;
  text-align: left;
}
.helpful__followup textarea {
  width: 100%;
  border: 0.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: var(--font-text);
  font-size: 14px;
  resize: vertical;
  min-height: 70px;
  outline: none;
}
.helpful__followup textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,113,227,0.12); }
.helpful__followup-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 12px; flex-wrap: wrap; }
.helpful__followup-row span { font-size: 12px; color: var(--text-secondary); }
.helpful.is-voted .helpful__btns { display: none; }
.helpful.is-voted .helpful__followup { display: block; }
.helpful.is-thanked p { color: var(--green-dark); font-size: 14px; font-weight: 500; margin: 0; }

/* ---- Updated date badge ---- */
.updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--green-dark);
  font-weight: 500;
  padding: 4px 10px;
  background: var(--green-soft);
  border-radius: var(--radius-pill);
}
.updated-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ---- Mobile share button (uses Web Share API) ---- */
.share-mobile-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  border: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  margin-left: auto;
}
.share-mobile-btn::before { content: "↗"; font-size: 14px; }
.share-mobile-btn:hover { background: #ececef; }
@media (max-width: 1100px) {
  .share-mobile-btn { display: inline-flex; }
}

/* ---- Print stylesheet ---- */
@media print {
  body { background: #fff !important; color: #000 !important; font-size: 12pt; }
  .blog-nav,
  .cookie-banner,
  .mobile-sticky-cta,
  .share-rail,
  .article-toc,
  .blog-footer-cta,
  .helpful,
  .live-toast,
  .urgency-strip,
  .reading-progress,
  .related,
  .article-prevnext,
  .share-mobile-btn,
  .search-modal,
  .skip-link { display: none !important; }
  .blog-footer { background: #fff !important; color: #000 !important; padding: 16pt 0 0 !important; font-size: 9pt; }
  .blog-footer a { color: #000 !important; }
  .blog-footer__cols { display: block !important; border: 0 !important; }
  .article-body { font-size: 12pt; line-height: 1.55; max-width: none; padding: 0; }
  .article-body p { color: #000 !important; }
  .article-body h1, .article-body h2, .article-body h3 { color: #000 !important; page-break-after: avoid; }
  .article-body pre { background: #f5f5f5 !important; color: #000 !important; border: 0.5pt solid #ccc; page-break-inside: avoid; }
  .article-body img,
  .article-body figure,
  .article-body table,
  .article-body blockquote { page-break-inside: avoid; }
  .article-body a { color: #000 !important; text-decoration: underline; }
  .article-body a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }
  .article-header { padding: 0 !important; max-width: none; }
  .article-title { font-size: 20pt !important; color: #000 !important; }
  .article-hero { display: none; }
  @page { margin: 1.5cm; }
}


/* ===========================================
   Blog Post Content Components
   Exact match to Blog UI Kit (v1)
   =========================================== */

/* ---- Callouts ---- */
.callout {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-primary);
  border-left: 3px solid;
  margin: 28px 0;
  align-items: flex-start;
}
.callout__icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}
.callout strong { font-weight: 600; margin-right: 4px; }
.callout p { margin: 0; font-size: 15px; line-height: 1.55; }
.callout p + p { margin-top: 8px; }
.callout--info    { background: var(--accent-soft); border-color: var(--accent); }
.callout--info    .callout__icon { background: var(--accent); }
.callout--info    p { color: var(--text-primary); }
.callout--tip     { background: rgba(52,199,89,0.08); border-color: var(--green); }
.callout--tip     .callout__icon { background: var(--green); }
.callout--tip     p { color: var(--text-primary); }
.callout--warning { background: rgba(255,159,10,0.08); border-color: #f59f0a; }
.callout--warning .callout__icon { background: #f59f0a; }
.callout--warning p { color: var(--text-primary); }
.callout--note    { background: var(--bg-secondary); border-color: var(--text-muted); }
.callout--note    .callout__icon { background: var(--text-secondary); }
.callout--note    p { color: var(--text-primary); }

/* ---- Pull quote ---- */
.pull-quote {
  text-align: center;
  padding: 40px 24px;
  border-top: var(--border);
  border-bottom: var(--border);
  border-left: none;
  margin: 36px 0;
}
.pull-quote__mark {
  font-family: Georgia, serif;
  font-size: 64px;
  color: var(--accent);
  line-height: 1;
  margin: 0 0 12px;
  height: 32px;
  display: block;
}
.pull-quote__text {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.7px;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0 0 16px;
  text-wrap: balance;
}
.pull-quote__cite {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.2px;
  font-style: normal;
}
.pull-quote__cite strong { color: var(--text-primary); font-weight: 600; }

/* ---- Pros & Cons ---- */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
@media (max-width: 600px) { .pc-grid { grid-template-columns: 1fr; } }
.pc-card {
  border: var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  background: #fff;
}
/* Support both h4 (posts) and h5 (UI Kit spec) */
.pc-card h4, .pc-card h5 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--text-primary);
  display: flex; align-items: center; gap: 8px;
}
.pc-card h5::before {
  content: "";
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  flex-shrink: 0;
}
.pc-card--pros h5::before {
  background: rgba(52,199,89,0.15) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a7f37'><path d='M6.5 11l-3-3 1-1 2 2 5-5 1 1z'/></svg>") center/12px no-repeat;
}
.pc-card--cons h5::before {
  background: rgba(214,48,58,0.10) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d6303a'><path d='M4 4l8 8m0-8l-8 8' stroke='%23d6303a' stroke-width='1.6' stroke-linecap='round'/></svg>") center/12px no-repeat;
}
.pc-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pc-card li {
  font-size: 14px; line-height: 1.5;
  color: var(--text-primary);
  display: flex; gap: 10px; align-items: flex-start;
}
.pc-card li::before {
  content: "";
  flex-shrink: 0;
  width: 14px; height: 14px;
  margin-top: 3px;
  border-radius: 50%;
}
.pc-card--pros       { border-top: 3px solid var(--green); }
.pc-card--cons       { border-top: 3px solid #d6303a; }
.pc-card--pros h4    { color: var(--green-dark); }
.pc-card--cons h4    { color: #c0392b; }
.pc-card--pros li::before { background: var(--green); }
.pc-card--cons li::before { background: #d6303a; }

/* ---- FAQ ---- */
.faq { border: var(--border); border-radius: var(--radius-card); overflow: hidden; margin: 28px 0; }
.faq details { border-bottom: var(--border); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  transition: background 0.15s ease;
  user-select: none;
}
.faq summary:hover { background: var(--bg-secondary); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 12px; height: 12px;
  border-right: 1.5px solid var(--text-secondary);
  border-bottom: 1.5px solid var(--text-secondary);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq details[open] > summary::after { transform: rotate(-135deg); }
.faq__body { padding: 0 24px 22px; font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.faq__body p { margin: 0 0 10px; }
.faq__body p:last-child { margin-bottom: 0; }

/* ---- Numbered Steps ---- */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 16px; margin: 32px 0; }
.step {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-secondary);
  border-radius: var(--radius-card);
  align-items: flex-start;
}
.step__num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.step__body { flex: 1; min-width: 0; }
/* Support h6 (UI Kit) and h3 (posts) */
.step__title, .step h6.step__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin: 4px 0 6px;
  color: var(--text-primary);
}
.step__desc { font-size: 14px; line-height: 1.55; color: var(--text-secondary); margin: 0; }

/* ---- Step with image ---- */
.step-img {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  align-items: stretch;
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius-card);
  margin: 28px 0;
}
@media (max-width: 600px) { .step-img { grid-template-columns: 1fr; } }
.step-img__media {
  aspect-ratio: 4/3;
  background-image: repeating-linear-gradient(135deg, #ebebef 0 1px, #f5f5f7 1px 14px);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
  overflow: hidden;
}
.step-img__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.step-img__body { display: flex; flex-direction: column; justify-content: center; }
.step-img__num {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--accent); font-weight: 600;
  letter-spacing: 0.5px; margin-bottom: 8px;
}
.step-img__title {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 600;
  margin: 0 0 8px; color: var(--text-primary); letter-spacing: -0.3px;
}
.step-img__desc { font-size: 14px; line-height: 1.55; color: var(--text-secondary); margin: 0; }

/* ---- Stat Row ---- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }
@media (max-width: 600px) { .stat-row { grid-template-columns: 1fr; } }
.stat {
  padding: 28px 24px;
  border: var(--border);
  border-radius: var(--radius-card);
  background: #fff;
}
.stat__value {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 600;
  letter-spacing: -1.8px; color: var(--accent);
  line-height: 1; margin-bottom: 8px; display: block;
}
.stat__label { font-size: 13px; color: var(--text-secondary); line-height: 1.4; display: block; }

/* ---- Stat Big ---- */
.stat-big {
  padding: 48px;
  background: var(--bg-secondary);
  border-radius: var(--radius-card);
  text-align: center;
  margin: 32px 0;
}
.stat-big__eyebrow {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.4px;
  color: var(--accent); font-weight: 500; display: block; margin-bottom: 12px;
}
.stat-big__value {
  font-family: var(--font-display);
  font-size: 88px; font-weight: 600;
  letter-spacing: -3px; color: var(--text-primary);
  line-height: 1; margin-bottom: 12px; display: block;
}
.stat-big__label {
  font-size: 16px; color: var(--text-secondary);
  max-width: 380px; margin: 0 auto; display: block;
}

/* ---- VS Card ---- */
.vs-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border: var(--border);
  border-radius: var(--radius-card);
  background: #fff;
  margin: 32px 0;
}
@media (max-width: 600px) { .vs-card { grid-template-columns: 1fr; } }
/* Support h6 (UI Kit) and h3 (posts) */
.vs-side h3, .vs-side h6 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  margin: 0 0 12px; color: var(--text-primary);
}
.vs-side p { font-size: 14px; color: var(--text-secondary); margin: 0; }
.vs-side ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.vs-side ul li { display: flex; gap: 8px; align-items: baseline; }
.vs-side ul li::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--text-muted);
  border-radius: 50%;
  flex-shrink: 0;
}
.vs-side--accent h3, .vs-side--accent h6 { color: var(--accent); }
.vs-side--accent ul li::before { background: var(--accent); }
.vs-divider {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  color: var(--text-muted);
  width: 44px; height: 44px;
  border: var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 600px) { .vs-divider { justify-self: center; } }

/* ---- Feature List ---- */
.feature-list {
  list-style: none; padding: 0; margin: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
@media (max-width: 600px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; color: var(--text-primary); line-height: 1.5;
}
.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230071e3'><path d='M6.5 11l-3-3 1-1 2 2 5-5 1 1z'/></svg>") center/10px no-repeat;
  margin-top: 1px;
}

/* ---- Author Bio ---- */
.author-bio {
  display: flex; gap: 20px; align-items: center;
  padding: 24px; border: var(--border);
  border-radius: var(--radius-card); background: #fff;
  margin: 48px 0 24px;
}
.author-bio__avatar {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #00c0ff);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
}
.author-bio__name { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin: 0 0 2px; color: var(--text-primary); }
.author-bio__role { font-size: 13px; color: var(--text-secondary); margin: 0 0 6px; }
.author-bio__desc { font-size: 14px; line-height: 1.5; color: var(--text-secondary); margin: 0; }

/* ---- Table of Contents (inline) ---- */
.toc {
  padding: 24px 28px;
  background: var(--bg-secondary);
  border-radius: var(--radius-card);
  margin: 28px 0;
}
.toc h6 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.4px;
  color: var(--text-muted); margin: 0 0 12px; font-weight: 500;
}
.toc ol {
  list-style: none; padding: 0; margin: 0;
  counter-reset: toc;
  display: flex; flex-direction: column; gap: 8px;
}
.toc ol li { counter-increment: toc; font-size: 14px; }
.toc ol li a {
  display: flex; gap: 14px; align-items: baseline;
  color: var(--text-primary); transition: color 0.15s ease;
  text-decoration: none;
}
.toc ol li a:hover { color: var(--accent); }
.toc ol li a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-muted); flex-shrink: 0;
}

/* ---- Rating Card ---- */
.rating-card {
  display: flex; gap: 28px; align-items: center;
  padding: 28px; background: var(--bg-secondary);
  border-radius: var(--radius-card); margin: 28px 0;
}
@media (max-width: 600px) { .rating-card { flex-direction: column; align-items: flex-start; gap: 16px; } }
.rating-card__score {
  font-family: var(--font-display);
  font-size: 64px; font-weight: 600;
  letter-spacing: -2px; color: var(--text-primary);
  line-height: 1; display: flex; align-items: baseline; gap: 4px; flex-shrink: 0;
}
.rating-card__score span { font-size: 22px; color: var(--text-muted); font-weight: 500; }
.rating-card__body h6 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600;
  margin: 0 0 4px; color: var(--text-primary);
}
.rating-card__body p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.5; }
.rating-card__stars { margin-top: 8px; color: var(--accent); letter-spacing: 2px; font-size: 14px; display: block; }
.rating-card__stars .off { color: #d1d1d6; }

/* ---- Glossary ---- */
.glossary { margin: 28px 0; border: var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.glossary > div {
  display: grid; grid-template-columns: 140px 1fr;
  gap: 24px; padding: 20px 24px;
  background: #fff; border-bottom: var(--border);
  align-items: baseline;
}
.glossary > div:last-child { border-bottom: none; }
@media (max-width: 600px) { .glossary > div { grid-template-columns: 1fr; gap: 6px; } }
.glossary__term {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  color: var(--accent); letter-spacing: -0.3px;
}
.glossary__def { font-size: 14px; line-height: 1.55; color: var(--text-primary); margin: 0; }
.glossary__def em { font-style: italic; color: var(--text-secondary); display: block; margin-top: 4px; font-size: 12px; }

/* ---- Image / Figure ---- */
.figure { margin: 28px 0; }
.figure__media {
  aspect-ratio: 16/9;
  background-image: repeating-linear-gradient(135deg, #ebebef 0 1px, #f5f5f7 1px 14px);
  border-radius: var(--radius-card);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
  letter-spacing: 0.5px; overflow: hidden;
}
.figure__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.figure__caption { font-size: 13px; color: var(--text-secondary); text-align: center; margin: 14px 0 0; font-style: italic; }
.figure-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; align-items: stretch; }
@media (max-width: 600px) { .figure-split { grid-template-columns: 1fr; } }

/* ---- Video Embed ---- */
.video-embed {
  aspect-ratio: 16/9;
  background: #1d1d1f;
  border-radius: var(--radius-card);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; margin: 28px 0;
}
.video-embed::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 14px);
}
.video-embed iframe, .video-embed video { width: 100%; height: 100%; display: block; border: none; position: absolute; inset: 0; }
.video-embed__play {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.video-embed__play::after {
  content: "";
  width: 0; height: 0;
  border-left: 18px solid var(--text-primary);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}
.video-embed__meta {
  position: absolute; bottom: 16px; left: 20px;
  color: #fff; font-size: 13px; z-index: 2;
}
.video-embed__meta strong { display: block; font-weight: 600; margin-bottom: 2px; }
.video-embed__meta span { color: rgba(255,255,255,0.7); }

/* ---- Image Gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 28px 0; }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery__tile {
  aspect-ratio: 1/1;
  background-image: repeating-linear-gradient(135deg, #ebebef 0 1px, #f5f5f7 1px 14px);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px; color: var(--text-muted);
  cursor: pointer; transition: transform 0.2s ease; overflow: hidden;
}
.gallery__tile:hover { transform: scale(0.98); }
.gallery__tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Read Also ---- */
.read-also {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  margin: 24px 0;
  text-decoration: none;
  transition: background 0.15s ease;
}
.read-also:hover { background: #e1efff; }
.read-also__tag {
  flex-shrink: 0;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.4px;
  color: var(--accent); font-weight: 700;
  padding: 4px 8px; background: #fff; border-radius: 4px;
}
.read-also__text { font-size: 14px; color: var(--text-primary); font-weight: 500; flex: 1; }
.read-also__arrow { color: var(--accent); font-weight: 600; flex-shrink: 0; }

/* ---- Key Takeaways / TL;DR ---- */
.takeaways {
  padding: 28px 32px;
  background: var(--bg-secondary);
  border-radius: var(--radius-card);
  border-left: 3px solid var(--accent);
  margin: 32px 0;
}
/* Support both .takeaways__label (UI Kit) and strong (posts) */
.takeaways__label, .takeaways > strong {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.4px;
  color: var(--accent); font-weight: 600; margin: 0 0 14px;
  display: flex; align-items: center; gap: 8px;
}
.takeaways__label::before {
  content: ""; width: 14px; height: 2px; background: var(--accent);
}
.takeaways ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.takeaways li {
  font-size: 15px; line-height: 1.5;
  color: var(--text-primary);
  display: flex; gap: 12px; font-weight: 500;
}
.takeaways li::before { content: "→"; color: var(--accent); flex-shrink: 0; font-weight: 600; }
/* Legacy: posts use <strong> + <ul><li> without li::before */
.takeaways > strong + ul li::before { content: "→"; }

/* ---- Inline CTA (subtle, left-border style) ---- */
.cta-inline {
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: var(--bg-secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  margin: 32px 0;
}
.cta-inline p { font-size: 14px; color: var(--text-primary); margin: 0; line-height: 1.5; }
.cta-inline a {
  flex-shrink: 0; font-size: 14px; font-weight: 500;
  color: var(--accent); white-space: nowrap; text-decoration: none;
}
.cta-inline a:hover { text-decoration: underline; }

/* ---- CTA Soft (accent-background variant) ---- */
.cta-soft {
  padding: 28px;
  background: var(--accent-soft);
  border: 0.5px solid var(--accent-soft-border);
  border-radius: var(--radius-card);
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  margin: 32px 0;
}
@media (max-width: 600px) { .cta-soft { flex-direction: column; align-items: flex-start; } }
.cta-soft__eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.3px; color: var(--accent); font-weight: 500; }
.cta-soft__h {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600; letter-spacing: -0.4px;
  color: var(--text-primary); margin: 6px 0 0;
}
.cta-soft .btn { flex-shrink: 0; }

/* ---- Code Block ---- */
.code-block {
  background: #1d1d1f; color: #f5f5f7;
  padding: 20px 24px; border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: 13px;
  line-height: 1.65; overflow-x: auto; margin: 24px 0;
}
.code-block pre { margin: 0; padding: 0; background: transparent; color: inherit; font-size: inherit; }
.code-block code { font-family: inherit; font-size: inherit; background: transparent; padding: 0; border-radius: 0; color: inherit; }
.code-block .c { color: #7d8590; }
.code-block .k { color: #ff7b72; }
.code-block .s { color: #a5d6ff; }

/* ---- Product Card ---- */
.product-card {
  display: grid; grid-template-columns: 200px 1fr auto;
  gap: 24px; padding: 24px;
  border: var(--border); border-radius: var(--radius-card);
  background: #fff; align-items: center; margin: 28px 0;
}
@media (max-width: 760px) { .product-card { grid-template-columns: 1fr; } }
.product-card__image {
  aspect-ratio: 4/3;
  background-image: repeating-linear-gradient(135deg, #ebebef 0 1px, #f5f5f7 1px 14px);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); overflow: hidden;
}
.product-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card__body { min-width: 0; }
.product-card__brand { font-size: 11px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--text-muted); margin-bottom: 4px; }
.product-card__title { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 0 0 8px; color: var(--text-primary); }
.product-card__rating { color: var(--accent); font-size: 13px; letter-spacing: 1px; margin-bottom: 8px; }
.product-card__rating .off { color: #d1d1d6; }
.product-card__rating em { font-style: normal; color: var(--text-secondary); letter-spacing: 0; margin-left: 6px; font-size: 12px; }
.product-card__desc { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin: 0; }
.product-card__side { text-align: right; display: flex; flex-direction: column; gap: 12px; min-width: 140px; }
@media (max-width: 760px) { .product-card__side { text-align: left; } }
.product-card__price { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.6px; color: var(--text-primary); line-height: 1; }
.product-card__price small { display: block; font-size: 12px; font-weight: 400; color: var(--text-secondary); margin-top: 4px; letter-spacing: 0; }

/* ---- Disclosure / note ---- */
.disclosure {
  padding: 14px 18px;
  border: 0.5px dashed var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 12px; color: var(--text-secondary);
  line-height: 1.5; font-style: italic; margin: 20px 0;
}

/* ---- Dividers ---- */
.div-rule { height: 0.5px; background: var(--border-color); margin: 8px 0; }
.div-ornament { text-align: center; color: var(--text-muted); letter-spacing: 8px; font-size: 14px; padding: 12px 0; }

/* ---- Channel Pills ---- */
.channel-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.channel-pill {
  height: 32px; padding: 0 14px;
  border-radius: var(--radius-pill); border: var(--border);
  background: #fff; display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 500; color: var(--text-primary); gap: 6px;
}
.channel-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.channel-pill--off::before { background: var(--text-muted); }
