/* === HEADER LAYOUTS (PRO) === */
body.header-layout-center .header-inner {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  gap: 8px;
}
/* Dummy flex spacer to replace the fixed primary-nav and keep the flex layout identical */
body.header-layout-center .header-inner::before {
  content: "";
  order: 1;
  margin-right: auto;
  width: 1px;
}
body.header-layout-center .header-inner > .logo-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}
body.header-layout-center .header-inner > .js-search-toggle {
  order: 3;
  margin-left: 0;
}
body.header-layout-center .header-inner > .header-actions {
  order: 4;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 991px) {
  body.header-layout-center .header-inner {
    display: flex !important;
    justify-content: space-between !important;
  }
  body.header-layout-center .header-inner::before {
    display: none !important;
  }
  body.header-layout-center .header-inner > .logo-wrapper {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    order: 1 !important;
    text-align: left !important;
  }
  body.header-layout-center .header-inner .logo {
    justify-content: flex-start !important;
  }
}

body.header-layout-stacked .site-header {
  padding: 30px 0 0 0;
}
body.header-layout-stacked .header-inner {
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  position: relative;
  width: 100%;
}
body.header-layout-stacked .header-inner > .logo-wrapper {
  margin: 0 auto;
  text-align: center;
  width: 100%;
}
body.header-layout-stacked .header-inner .logo {
  justify-content: center;
}
body.header-layout-stacked .header-inner > nav {
  width: 100%;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
body.dark-mode.header-layout-stacked .header-inner > nav {
  border-color: rgba(255,255,255,0.05);
}
body.header-layout-stacked .nav-menu {
  justify-content: center;
}
body.header-layout-stacked .header-inner > .js-search-toggle {
  position: absolute;
  top: 5px;
  left: clamp(20px, 4vw, 40px);
  z-index: 100;
}
body.header-layout-stacked .header-actions {
  position: absolute;
  top: 5px;
  right: clamp(20px, 4vw, 40px);
  left: auto;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 100;
}

@media (max-width: 991px) {
  body.header-layout-stacked .site-header {
    padding: 20px 0;
  }
  body.header-layout-stacked .header-inner {
    flex-direction: row;
    justify-content: space-between;
  }
  body.header-layout-stacked .header-actions {
    position: static;
    left: auto;
    right: auto;
    pointer-events: auto;
  }
  body.header-layout-stacked .header-actions .js-search-toggle {
    order: 0;
    margin-right: 0;
  }
}

/* === SPLIT HERO === */
.hero-split {
  display: flex;
  width: 100%;
  height: calc(100vh - 80px);
  height: 80svh;
  overflow: hidden;
  position: relative;
}
.hero-split-panel {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 60px 40px;
  text-decoration: none;
  overflow: hidden;
}
.hero-split:hover .hero-split-panel:not(:hover) .hero-split-overlay {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
}
.hero-split-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}
.hero-split-panel:hover .hero-split-bg {
  transform: scale(1.05);
}
.hero-split-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
  transition: background 0.6s ease, backdrop-filter 0.6s ease;
  z-index: 2;
}
.hero-split-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  width: 100%;
  transform: translateY(20px);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-split-panel:hover .hero-split-content {
  transform: translateY(0);
}
.hero-split-cat {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  margin-bottom: 15px;
  display: block;
  opacity: 0.8;
}
.hero-split-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  margin: 0 0 20px;
  color: #fff;
}
.hero-split-btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 30px;
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}
.hero-split-panel:hover .hero-split-btn {
  background: #fff;
  color: #000;
}
@media (max-width: 768px) {
  .hero-split {
    flex-direction: column;
    height: auto;
  }
  .hero-split-panel {
    min-height: 50vh;
  }
}

/* === FEED LAYOUTS (PRO) === */

/* 1. Asymmetrical Bento Box Feed */
@media (min-width: 992px) {
    :not(.layout-has-sidebar) > .feed-layout-bento-box {
        grid-template-columns: repeat(4, 1fr) !important;
        grid-auto-rows: 280px;
        gap: 24px !important;
    }
    :not(.layout-has-sidebar) > .feed-layout-bento-box .post-card.d1 {
        grid-column: span 2;
        grid-row: span 2;
    }
    :not(.layout-has-sidebar) > .feed-layout-bento-box .post-card.d4,
    :not(.layout-has-sidebar) > .feed-layout-bento-box .post-card.d5 {
        grid-column: span 2;
        grid-row: span 1;
    }
}

/* Make Bento Box feed cards look like Hero Bento cards (Image background, text overlay) */
.feed-layout-bento-box .post-card {
    border: none !important;
    background: var(--charcoal);
    border-radius: 20px;
    overflow: hidden;
    min-height: 280px;
}
.feed-layout-bento-box .post-card > a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 32px;
    z-index: 1;
    text-decoration: none;
}
.feed-layout-bento-box .post-card-img-wrap {
    position: absolute;
    inset: -5%;
    width: 110%;
    height: 110%;
    margin: 0 !important;
    z-index: 1;
}
.feed-layout-bento-box .post-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
}
.feed-layout-bento-box .post-card > a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    z-index: 2;
    transition: background 0.4s ease;
}
.feed-layout-bento-box .post-card > a:hover::after {
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
}
.feed-layout-bento-box .post-card-body {
    position: relative;
    z-index: 3;
    padding: 0 !important;
}
.feed-layout-bento-box .post-card-title,
.feed-layout-bento-box .post-card-title a {
    color: #fff !important;
    margin-bottom: 10px;
}
.feed-layout-bento-box .post-card.d1 .post-card-title {
    font-size: clamp(28px, 3.2vw, 44px);
}
.feed-layout-bento-box .post-card-snippet {
    color: rgba(255,255,255,0.75);
    margin-bottom: 16px;
}
.feed-layout-bento-box .post-card-meta {
    color: rgba(255,255,255,0.65);
}
.feed-layout-bento-box .post-card-meta a {
    color: rgba(255,255,255,0.9);
}
.feed-layout-bento-box .post-card-tag {
    display: inline-block;
    background: rgba(0,0,0,0.5);
    color: var(--sage-light);
    backdrop-filter: blur(4px);
    border: none;
    margin-bottom: 12px;
}

/* Match the 6px image radius from the hero news grid */
.feed-layout-bento .post-card-img-wrap img,
.feed-layout-bento .post-card-img-wrap {
    border-radius: 6px;
}

/* Minimal category pills to match the hero newspaper layout */
.feed-layout-newspaper .post-card-tag {
    display: inline-block;
    padding: 0;
    border-radius: 0;
    background: transparent !important;
    border: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--terracotta) !important;
    margin-bottom: 12px;
}


/* === HEADER LAYOUT: CENTERED LOGO === */
body.header-layout-center .header-inner {
  position: relative;
}

body.header-layout-center .header-actions {
  position: static;
  /* allow children to be absolute relative to header-inner */
}

body.header-layout-center .hamburger {
  display: flex !important;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10000;
}

/* Hamburger to X icon toggle is handled via .hamburger-icon / .close-icon CSS above */

/* Hide extra cart icon by default */
.header-cart-icon {
  display: none;
}

/* Centered Layout: Cart Icon logic */
body.header-layout-center .nav-menu .menu-item-cart {
  display: none !important;
}

body.header-layout-center .header-cart-icon {
  display: inline-flex !important;
  align-items: center;
  position: relative;
  text-decoration: none;
}

body.header-layout-center .header-cart-icon .matcha-cart-count {
  position: absolute;
  top: 0;
  right: -4px;
  background: var(--sage);
  color: #fff;
  font-size: 10px;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 600;
}


/* Slide-out Menu Drawer Container (From Left) */
body.header-layout-center .site-header .primary-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  transform: translateX(-100%) !important;
  width: 420px !important;
  max-width: 90vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1) !important;
  z-index: 9999 !important;
  border: none !important;
  border-right: 1px solid var(--border-light, #eaeaea) !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.dark-mode.header-layout-center .site-header .primary-nav {
  background: rgba(18, 18, 18, 0.98) !important;
  border-right-color: rgba(255,255,255,0.05) !important;
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.6) !important;
}

body.header-layout-center .site-header.mobile-menu-open .primary-nav {
  transform: translateX(0) !important;
}

/* Drawer Header Area (Fixed inside primary-nav) */
body.header-layout-center .site-header .primary-nav::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 100%;
  height: 80px;
  border-bottom: 1px solid var(--border-light, #eaeaea);
  z-index: 10000;
}

body.dark-mode.header-layout-center .site-header .primary-nav::before {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Scrollable Inner Menu */
body.header-layout-center .site-header .nav-menu {
  flex: 1 !important;
  min-height: 0 !important; /* Critical to prevent flex child from pushing footer off screen */
  display: block !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 16px 32px 16px !important;
  margin: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: none !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 100% !important;
  height: auto !important;
  box-sizing: border-box !important;
}

body.header-layout-center .site-header.mobile-menu-open .nav-menu {
  transform: none !important;
}

/* Drawer Footer (Fixed inside primary-nav) */
body.header-layout-center .site-header .primary-nav .drawer-footer {
  display: flex !important;
  flex-shrink: 0;
  width: 100% !important;
  height: 80px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 1px solid var(--border-light, #eaeaea) !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 10000 !important;
}

body.dark-mode.header-layout-center .site-header .primary-nav .drawer-footer {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

body.header-layout-center .site-header .primary-nav .drawer-socials {
  display: flex;
  gap: 20px;
  align-items: center;
}

body.header-layout-center .site-header .primary-nav .drawer-socials a {
  padding: 0 !important;
  display: flex !important;
  color: var(--charcoal, #222) !important;
  transition: color 0.3s ease !important;
}

body.dark-mode.header-layout-center .site-header .primary-nav .drawer-socials a {
  color: #fff !important;
}

body.header-layout-center .site-header .primary-nav .drawer-socials a:hover {
  color: var(--terracotta, #c6533c) !important;
}

body.header-layout-center .site-header .nav-menu li {
  width: 100% !important;
  text-align: left !important;
}

body.header-layout-center .site-header .nav-menu a {
  padding: 12px 0 !important;
  font-size: 1.15rem !important;
  font-weight: 500 !important;
  background: transparent !important;
  border-radius: 0 !important;
  transition: color 0.3s ease !important;
  display: inline-block !important;
}

body.header-layout-center .site-header .nav-menu a:hover {
  background: transparent !important;
  color: var(--terracotta, #c6533c) !important;
}

body.dark-mode.header-layout-center .site-header .nav-menu a:hover {
  background: transparent !important;
}

/* Move Close Button to Drawer Top Right */
body.header-layout-center .site-header.mobile-menu-open .hamburger {
  position: fixed !important;
  top: 24px !important;
  left: calc(min(420px, 90vw) - 64px) !important;
  transform: none !important;
  z-index: 10001 !important;
  width: 40px;
  height: 40px;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

body.header-layout-center .site-header .nav-menu .sub-menu {
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
  border-left: 2px solid var(--border-light, #eaeaea) !important;
  background: transparent !important;
  padding: 0 0 0 16px !important;
  margin: 4px 0 8px 24px !important;
  display: none !important;
  width: calc(100% - 24px) !important;
}

body.header-layout-center .site-header .nav-menu li.menu-item-has-children.toggled-on > .sub-menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

body.header-layout-center .site-header .nav-menu .sub-menu a {
  font-size: 0.95rem !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
}

@media (max-width: 991px) {
  body.header-layout-center .header-inner {
    justify-content: space-between;
  }

  body.header-layout-center .hamburger {
    position: static;
    transform: none;
  }
}



/* === SPLIT HERO === */
.hero-split {
  display: flex;
  width: 100%;
  height: calc(100vh - 80px);
  height: 80svh;
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

/* No flex resizing — just overlay dimming on the non-hovered panel */
.hero-split-panel {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 60px 48px;
  text-decoration: none;
  overflow: hidden;
  will-change: opacity;
}

/* Darken inactive panel smoothly — no layout shift */
.hero-split:hover .hero-split-panel:not(:hover) .hero-split-overlay {
  background: rgba(0, 0, 0, 0.72);
}

.hero-split-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.hero-split-panel:hover .hero-split-bg {
  transform: scale(1.04);
}

.hero-split-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.18) 55%,
      rgba(0, 0, 0, 0.0) 100%);
  will-change: background;
  transition: background 0.5s ease;
  z-index: 2;
}

/* Content — both panels always left-aligned */
.hero-split-content {
  position: relative;
  z-index: 3;
  color: #fff;
  width: 100%;
  max-width: 460px;
  text-align: center;
  will-change: transform;
  transform: translateY(10px);
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-split-panel:hover .hero-split-content {
  transform: translateY(0);
}

/* Category label — plain text, no pill */
.hero-split-cat {
  display: inline-block;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--sage-light);
  background: none;
  border: none;
  padding: 0;
}

/* Title */
.hero-split-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 70px);
  font-weight: 400;
  line-height: 1.18;
  margin: 0 0 16px;
  color: #fff;
}

.hero-split-title em {
  font-style: italic;
}

/* Excerpt — fades in on hover */
.hero-split-excerpt {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 18px;
  will-change: opacity, transform;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease 0.08s, transform 0.4s ease 0.08s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-split-panel:hover .hero-split-excerpt {
  opacity: 1;
  transform: translateY(0);
}

/* Footer: author · date  [Read →] */
.hero-split-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: nowrap;
}

.hero-split-author {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  white-space: nowrap;
}

.hero-split-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.hero-split-sep {
  opacity: 0.4;
}

.hero-split-date {
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

/* CTA — slides in from bottom-right on hover */
.hero-split-btn-inline {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 2px;
  will-change: opacity, transform;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease 0.12s, transform 0.35s ease 0.12s;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-split-panel:hover .hero-split-btn-inline {
  opacity: 1;
  transform: translateY(0);
}

/* Vertical divider — hidden */
.hero-split-divider {
  display: none;
}

/* ── Mobile ─────────────────────────────── */
@media (max-width: 768px) {
  .hero-split {
    flex-direction: column;
    height: 100svh;
  }

  .hero-split-panel {
    padding: 32px 24px;
  }

  .hero-split-excerpt,
  .hero-split-btn-inline {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-split-content {
    transform: translateY(0) !important;
    max-width: 100%;
  }

  .hero-split-divider {
    top: 50%;
    bottom: auto;
    left: 8%;
    right: 8%;
    width: auto;
    height: 1px;
    transform: translateY(-50%);
  }
}

/* Accessibility: Underline content links */
.entry-content p a,
.entry-content li a,
.comment-content p a,
.comment-content li a,
.sidebar-widget p a,
.sidebar-widget li a,
.footer-widget p a,
.footer-widget li a,
.in-feed-widget-container p a,
.in-feed-widget-container li a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content p a:hover,
.entry-content li a:hover,
.comment-content p a:hover,
.comment-content li a:hover,
.sidebar-widget p a:hover,
.sidebar-widget li a:hover,
.footer-widget p a:hover,
.footer-widget li a:hover,
.in-feed-widget-container p a:hover,
.in-feed-widget-container li a:hover {
  text-decoration: none;
}

/* ══════════════════════════════════════════
   NEWS GRID HERO
   Layout: 60% large feature | 40% 3-stack
   ══════════════════════════════════════════ */
.hero-news-grid {
  display: grid;
  grid-template-columns: 1fr 38%;
  background: var(--warm-white);
  width: 100%;
  height: calc(100vh - 80px);
  height: 80svh;
  min-height: 540px;
  overflow: hidden;
}

/* ── Featured (left) ── */
.hero-news-grid-featured {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  overflow: hidden;
}

.hero-news-grid-bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 1;
  animation: hero-ken-burns 25s ease-in-out alternate infinite;
}

.hero-news-grid-bg--placeholder {
  background: linear-gradient(135deg, #1e2a3a 0%, #0f172a 100%);
}

.hero-news-grid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.3) 45%,
      rgba(0, 0, 0, 0.0) 100%);
  z-index: 2;
}

.hero-news-grid-featured-content {
  position: relative;
  z-index: 3;
  padding: 48px 190px 48px 44px;
  color: #fff;
  will-change: transform;
  transform: translateY(8px);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-news-grid-featured:hover .hero-news-grid-featured-content {
  transform: translateY(0);
}

/* Category label */
.hero-news-grid-cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #fff;
  text-decoration: none;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.hero-news-grid-cat:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* Featured title */
.hero-news-grid-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 52px);
  font-weight: 400;
  line-height: 1.18;
  color: #fff;
  margin: 0 0 14px;
}

/* Excerpt */
.hero-news-grid-excerpt {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta row */
.hero-news-grid-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
}

.hero-news-grid-author {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.hero-news-grid-sep {
  opacity: 0.4;
}

.hero-news-grid-date,
.hero-news-grid-readtime {
  color: rgba(255, 255, 255, 0.55);
}

/* ── Right Stack (3 cards) ── */
.hero-news-grid-stack {
  display: flex;
  flex-direction: column;
  background: var(--warm-white);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 5;
  overflow: hidden;
}

/* Card */
.hero-news-grid-card {
  height: calc(80svh / 4);
  min-height: 135px;
  flex: none;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 16px 34px 16px 24px !important;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  transition: background 0.25s ease;
  border-bottom: 1px solid var(--border-light);
  box-sizing: border-box;
}

.hero-news-grid-card:last-child {
  border-bottom: none;
}

.hero-news-grid-card:hover {
  background: var(--cream);
}

.hero-news-grid-card.hero-ticker-item:hover {
  transform: none;
}



/* Card thumbnail */
.hero-news-grid-card-img {
  height: 100%;
  width: auto;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.hero-news-grid-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-news-grid-card-img--placeholder {
  background: var(--cream);
}

.hero-news-grid-card:hover .hero-news-grid-card-img img {
  transform: scale(1.06);
}

/* Card text body */
.hero-news-grid-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 0;
}

.hero-news-grid-card-cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  background: var(--sage);
  align-self: flex-start;
}

/* Multi-color Category Badges - Muted Pastel Palette */
.hero-news-grid-card:nth-child(4n+1) .hero-news-grid-card-cat {
  background: #e0f2fe;
  color: #0284c7;
}

/* Mint/Cyan */
.hero-news-grid-card:nth-child(4n+2) .hero-news-grid-card-cat {
  background: #f3e8ff;
  color: #9333ea;
}

/* Lavender/Purple */
.hero-news-grid-card:nth-child(4n+3) .hero-news-grid-card-cat {
  background: #ffedd5;
  color: #c2410c;
}

/* Peach/Orange */
.hero-news-grid-card:nth-child(4n+4) .hero-news-grid-card-cat {
  background: #dcfce7;
  color: #15803d;
}

/* Pale Green */

.hero-news-grid-card-title {
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--charcoal);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.hero-news-grid-card:hover .hero-news-grid-card-title {
  color: var(--sage);
}

.hero-news-grid-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--charcoal-muted);
}

.hero-news-grid-card-meta .hero-news-grid-sep {
  opacity: 0.4;
}

/* ── Dark Mode ── */
body.dark-mode .hero-news-grid-stack {
  border-left-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .hero-news-grid-card {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}



body.dark-mode .hero-news-grid-card:hover {
  background: rgba(255, 255, 255, 0.04);
}

body.dark-mode .hero-news-grid-card-title {
  color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .hero-news-grid-card-cat {
  color: var(--sage-light);
}

body.dark-mode .hero-news-grid-card-meta {
  color: rgba(255, 255, 255, 0.45);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-news-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 55svh auto;
    height: auto;
  }

  .hero-news-grid-stack {
    border-top: 1px solid var(--border-light);
    box-shadow: none;
  }

  /* Target the inner track for horizontal scrolling */
  .hero-news-grid-stack .hero-ticker-window,
  .hero-news-grid-stack .hero-ticker-track {
    height: auto !important;
    min-height: auto !important;
  }

  .hero-news-grid-stack .hero-ticker-track {
    flex-direction: row !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transform: none !important;
    /* disable JS vertical translation */
  }

  .hero-news-grid-stack .hero-ticker-track::-webkit-scrollbar {
    display: none;
  }

  .hero-news-grid-card {
    width: 85vw;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-bottom: none;
    border-right: 1px solid var(--border-light);
    grid-template-columns: 120px 1fr;
  }

  .hero-news-grid-card-body {
    padding: 20px 24px;
  }

  .hero-news-grid-featured-content {
    padding: 32px 28px;
  }

  .hero-news-grid-excerpt {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-news-grid-card {
    grid-template-columns: 80px 1fr;
  }

  .hero-news-grid-card-body {
    padding: 16px 20px;
  }
}

/* ══════════════════════════════════════════
   BENTO BOX HERO
   Layout: Interlocking 5-piece grid
   ══════════════════════════════════════════ */
.hero-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  height: calc(100vh - 80px);
  height: 80svh;
  min-height: 540px;
  max-height: 700px;
  padding-bottom: 32px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  overflow: hidden;
  border-radius: 20px;
  /* Apple-style rounding */
  padding: 32px;
  color: #fff;
  background: var(--charcoal);
  /* fallback */
}

.bento-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-card-square {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-bg {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.bento-card:hover .bento-bg {
  transform: scale(1.04);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
  transition: background 0.4s ease;
}

.bento-card:hover .bento-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
}

.bento-content {
  position: relative;
  z-index: 3;
  will-change: transform;
  transform: translateY(8px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.bento-card:hover .bento-content {
  transform: translateY(0);
}

.bento-cat {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
  color: var(--sage-light);
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 10px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.bento-card:hover .bento-cat {
  color: #fff;
}

.bento-title {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 10px;
  color: #fff;
}

.bento-card-large .bento-title {
  font-size: clamp(28px, 3.2vw, 44px);
  margin-bottom: 16px;
}

.bento-excerpt {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 16px;
}

.bento-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.bento-author {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

/* ── Mobile Responsive ── */
@media (max-width: 900px) {
  .hero-bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
    max-height: none;
  }

  .bento-card-large {
    grid-column: span 1;
    grid-row: span 1;
    height: 50vh;
  }

  .bento-card-square {
    grid-column: span 1;
    grid-row: span 1;
    height: 35vh;
  }

  .bento-card {
    border-radius: 12px;
    padding: 24px;
  }
}

/* ══════════════════════════════════════════
   PRO FEED LAYOUTS
   ══════════════════════════════════════════ */
/* List Layout */
.feed-layout-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feed-layout-list .post-card {
  width: 100%;
}

.feed-layout-list .post-card>a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  text-decoration: none;
}

.feed-layout-list .post-card-img-wrap {
  width: 40%;
  aspect-ratio: 16/10;
  margin-bottom: 0;
}

.feed-layout-list .post-card-body {
  width: 60%;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .feed-layout-list .post-card>a {
    flex-direction: column;
  }

  .feed-layout-list .post-card-img-wrap,
  .feed-layout-list .post-card-body {
    width: 100%;
    padding: 0;
  }

  .feed-layout-list .post-card-img-wrap {
    margin-bottom: 20px;
  }
}

.feed-layout-list .widget-author {
  flex-direction: row;
  align-items: center;
  text-align: left;
  padding: 32px 40px;
  gap: 32px;
}

.feed-layout-list .widget-author-ring {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .feed-layout-list .widget-author {
    flex-direction: column;
    text-align: center;
  }
}
/* ==========================================================================
   PRO NAVID-NATIVE EDITORIAL FOOTER ARCHITECTURES
   ========================================================================== */

/* Hide Free standard minimal footer whenever a unified Pro footer is active */
body.navid-pro-unified-footer .site-footer:not(.mega-footer-pro) {
  display: none !important;
}

.mega-footer-pro.site-footer {
  --pf-bg: var(--cream, #f3efe7);
  --pf-panel: var(--warm-white, #faf8f4);
  --pf-text: var(--charcoal, #1e1e1e);
  --pf-muted: var(--charcoal-muted, #6b6b6b);
  --pf-border: var(--border, #ddd8ce);
  --pf-wordmark: rgba(30, 30, 30, 0.12);
  --pf-accent: var(--sage-deep, var(--sage, #1e3a8a));
  position: relative;
  overflow: hidden;
  background: var(--pf-bg);
  color: var(--pf-text);
  border-top: 1px solid var(--pf-border);
  padding: clamp(48px, 6vw, 84px) 0 0;
  margin-top: 0;
}

body.dark-mode .mega-footer-pro.is-surface-theme {
  --pf-wordmark: rgba(250, 248, 244, 0.14);
  --pf-accent: var(--sage-light, #60a5fa);
}

.mega-footer-pro.is-surface-dark {
  --pf-bg: #141413;
  --pf-panel: #1b1b19;
  --pf-text: #f7f4ee;
  --pf-muted: rgba(247, 244, 238, 0.65);
  --pf-border: rgba(247, 244, 238, 0.13);
  --pf-wordmark: rgba(247, 244, 238, 0.14);
  --pf-accent: var(--sage-light, var(--navid-accent, #a3b899));
}

.mega-footer-pro.is-surface-light {
  --pf-bg: #f3efe7;
  --pf-panel: #faf8f4;
  --pf-text: #1e1e1e;
  --pf-muted: #6b6b6b;
  --pf-border: #ddd8ce;
  --pf-wordmark: rgba(30, 30, 30, 0.12);
  --pf-accent: var(--sage-deep, var(--sage, #1e3a8a));
}

.navid-pf-shell {
  position: relative;
}

/* Shared Editorial Typography Primitives */
.navid-pf-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pf-accent);
  margin: 0 0 10px;
}

.navid-pf-col-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pf-muted);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pf-border);
  display: block;
}

.navid-pf-col-label.is-plain {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 12px;
}

.navid-pf-editorial-statement,
.navid-pf-editorial-note {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--pf-text);
  margin: 0;
}

.navid-pf-editorial-statement em,
.navid-pf-editorial-note em {
  font-style: italic;
  color: var(--pf-accent);
}

.navid-pf-subtext {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--pf-muted);
  margin: 0;
}

.navid-pf-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pf-text);
  text-decoration: none;
  border-bottom: 1px solid var(--pf-border);
  padding-bottom: 4px;
  margin-top: 18px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.navid-pf-text-link.is-spaced {
  margin-top: 14px;
}

.navid-pf-text-link:hover {
  color: var(--pf-accent);
  border-color: var(--pf-accent);
}

/* Social Links */
.navid-pf-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.navid-pf-index-socials {
  margin-top: 20px;
}

.navid-pf-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--pf-border);
  background: transparent;
  color: var(--pf-text);
  text-decoration: none;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.navid-pf-social-btn:hover {
  background: var(--sage, #1e3a8a);
  border-color: var(--sage, #1e3a8a);
  color: #ffffff;
}

/* Navigation Links & Typographic Subject Links (Zero Pills, Zero Counts) */
.navid-pf-nav-list,
.navid-pf-subjects {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.navid-pf-nav-list li,
.navid-pf-subjects li {
  margin: 0;
  padding: 0;
}

.mega-footer-pro .dropdown-toggle,
.site-footer .dropdown-toggle {
  display: none !important;
}

.navid-pf-nav-list a,
.navid-pf-subjects a {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--pf-text);
  text-decoration: none;
  padding: 3px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.navid-pf-nav-list a:hover,
.navid-pf-subjects a:hover {
  color: var(--pf-accent);
  transform: translateX(3px);
}

.navid-pf-subjects.is-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
}

.navid-pf-subjects.is-inline li::after {
  content: '\00B7';
  margin: 0 10px;
  color: var(--pf-muted);
  opacity: 0.6;
}

.navid-pf-subjects.is-inline li:last-child::after {
  content: none;
}

.navid-pf-subjects.is-inline a:hover {
  transform: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Hairline Dispatch Rows (Matches Navid Hero Ticker & Tribune Ledger — No Cards) */
.navid-pf-dispatch-list {
  display: flex;
  flex-direction: column;
}

.navid-pf-dispatch-list.is-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.navid-pf-dispatch {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--pf-border);
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: border-color 0.22s ease;
}

.navid-pf-dispatch-list:not(.is-two-col) .navid-pf-dispatch:first-child {
  padding-top: 2px;
}

.navid-pf-dispatch-list:not(.is-two-col) .navid-pf-dispatch:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.navid-pf-dispatch-thumb {
  width: 60px;
  height: 52px;
  border-radius: var(--pf-thumb-radius, 2px);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--pf-border);
}

.navid-pf-dispatch-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.navid-pf-dispatch:hover .navid-pf-dispatch-thumb img {
  transform: scale(1.06);
}

.navid-pf-dispatch-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.navid-pf-dispatch-cat {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pf-accent);
}

.navid-pf-dispatch-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.32;
  color: var(--pf-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.navid-pf-dispatch:hover .navid-pf-dispatch-title {
  color: var(--pf-accent);
}

.navid-pf-dispatch-date {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--pf-muted);
}

/* ==========================================================================
   ARCHITECTURE 1: ARCHITECTURAL INDEX ('mega')
   ========================================================================== */
.navid-pf-index-grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(24px, 3vw, 36px);
}

.navid-pf-index-grid.is-cols-4 {
  grid-template-columns: minmax(220px, 1.15fr) minmax(130px, 0.6fr) minmax(140px, 0.65fr) minmax(260px, 1.35fr);
}

.navid-pf-index-grid.is-cols-3 {
  grid-template-columns: minmax(220px, 1.2fr) minmax(160px, 0.75fr) minmax(260px, 1.35fr);
}

.navid-pf-index-grid.is-cols-2 {
  grid-template-columns: minmax(240px, 1.3fr) minmax(180px, 0.8fr);
}

.navid-pf-index-col {
  min-width: 0;
}

/* ==========================================================================
   ARCHITECTURE 2: BENTO STORY FRAME ('spotlight' — Hero Bento Companion)
   ========================================================================== */
.navid-pf-bento-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1.36fr);
  gap: 20px;
  padding-bottom: clamp(24px, 3.5vw, 40px);
}

.navid-pf-bento-lead {
  position: relative;
  border-radius: var(--pf-frame-radius, 4px);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #141413;
  border: 1px solid var(--pf-border);
}

.navid-pf-bento-lead-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.navid-pf-bento-lead:hover .navid-pf-bento-lead-bg {
  transform: scale(1.04);
}

.navid-pf-bento-lead-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.06) 0%,
    rgba(10, 10, 10, 0.44) 48%,
    rgba(10, 10, 10, 0.9) 100%
  );
  z-index: 2;
}

.navid-pf-bento-lead-body {
  position: relative;
  z-index: 3;
  padding: clamp(24px, 3vw, 36px);
  color: #ffffff;
}

.navid-pf-bento-lead-body .navid-pf-eyebrow {
  color: var(--sage-light, #d3ded0);
}

.navid-pf-bento-lead-body h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 10px;
}

.navid-pf-bento-lead-body h3 a {
  color: #ffffff;
  text-decoration: none;
}

.navid-pf-bento-lead-body h3 a:hover {
  opacity: 0.88;
}

.navid-pf-bento-lead-body p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 12px;
  max-width: 44ch;
}

.navid-pf-bento-lead-body .navid-pf-text-link {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.45);
  margin-top: 6px;
}

.navid-pf-bento-lead-body .navid-pf-text-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.navid-pf-bento-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.navid-pf-bento-panel {
  background: var(--pf-panel);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-frame-radius, 4px);
  padding: clamp(20px, 2.3vw, 28px);
  min-width: 0;
}

.navid-pf-bento-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.navid-pf-bento-intro-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.navid-pf-bento-statement-wrap {
  max-width: 48ch;
}

.navid-pf-bento-subgrid {
  display: grid;
  grid-template-columns: minmax(140px, 0.65fr) minmax(0, 1.35fr);
  gap: 20px;
  flex: 1;
}

/* ==========================================================================
   ARCHITECTURE 3: CLASSIC NEWSPAPER COLOPHON ('broadsheet')
   ========================================================================== */
.navid-pf-broadsheet-rule {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-top: 2px solid var(--pf-text);
  border-bottom: 1px solid var(--pf-border);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pf-muted);
}

.navid-pf-broadsheet-edition {
  color: var(--pf-text);
  letter-spacing: 0.2em;
}

.navid-pf-broadsheet-grid {
  display: grid;
  padding: clamp(28px, 3.8vw, 44px) 0;
  gap: 0;
}

.navid-pf-broadsheet-grid.is-cols-4 {
  grid-template-columns: minmax(200px, 1fr) minmax(130px, 0.55fr) minmax(130px, 0.55fr) minmax(300px, 1.45fr);
}

.navid-pf-broadsheet-grid.is-cols-3 {
  grid-template-columns: minmax(220px, 1.1fr) minmax(150px, 0.65fr) minmax(300px, 1.45fr);
}

.navid-pf-broadsheet-grid.is-cols-2 {
  grid-template-columns: minmax(260px, 1.35fr) minmax(180px, 0.65fr);
}

.navid-pf-broadsheet-col {
  padding-right: clamp(18px, 2.3vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.navid-pf-broadsheet-col + .navid-pf-broadsheet-col {
  border-left: 1px solid var(--pf-border);
  padding-left: clamp(18px, 2.3vw, 28px);
}

.navid-pf-broadsheet-col:last-child {
  padding-right: 0;
}

.navid-pf-broadsheet-col .navid-pf-dispatch-list {
  width: 100%;
}

/* ==========================================================================
   OPTIONAL WIDGET BAND & WIDGET GRID (Footer 1 Area)
   ========================================================================== */
.navid-pf-widgets-band {
  padding: clamp(28px, 3.5vw, 42px) 0;
  border-top: 1px solid var(--pf-border);
}

.mega-footer-widget-grid {
  display: grid;
  gap: 36px;
}

.mega-footer-widget-grid.footer-cols-1 {
  grid-template-columns: 1fr;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.mega-footer-widget-grid.footer-cols-1 .widget {
  text-align: center;
}

.mega-footer-widget-grid.footer-cols-1 ul {
  display: inline-block;
  text-align: left;
}

.mega-footer-widget-grid.footer-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.mega-footer-widget-grid.footer-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.mega-footer-widget-grid.footer-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.mega-footer-widget-grid .widget,
.navid-pf-widget-inline .widget {
  margin-bottom: 0;
  color: var(--pf-muted);
  font-size: 14px;
}

.mega-footer-widget-grid .widget-title,
.mega-footer-widget-grid .footer-widget-title,
.navid-pf-widget-inline .widget-title,
.navid-pf-widget-inline .footer-widget-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--pf-muted);
  margin: 0 0 16px;
  border-bottom: 1px solid var(--pf-border);
  padding-bottom: 10px;
  display: block;
}

.mega-footer-widget-grid ul,
.navid-pf-widget-inline ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-footer-widget-grid ul li,
.navid-pf-widget-inline ul li {
  margin-bottom: 9px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--pf-border);
}

.mega-footer-widget-grid ul li:last-child,
.navid-pf-widget-inline ul li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.mega-footer-widget-grid ul li a,
.navid-pf-widget-inline ul li a {
  color: var(--pf-text);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.mega-footer-widget-grid ul li a:hover,
.navid-pf-widget-inline ul li a:hover {
  color: var(--pf-accent);
  transform: translateX(3px);
}

/* ==========================================================================
   BIG DISPLAY LOGO & UNIFIED COLOPHON
   ========================================================================== */
.navid-pf-wordmark {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(64px, 16vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-align: center;
  color: var(--pf-wordmark);
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  padding: clamp(20px, 3vw, 36px) 0 clamp(14px, 2vw, 24px);
}

.mega-footer-pro .footer-inner.navid-pf-colophon {
  padding: 20px 0 26px;
  border-top: 1px solid var(--pf-border);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  text-align: left;
}

.mega-footer-pro .footer-inner.navid-pf-colophon.no-footer-logo .footer-copy {
  margin: 0;
  text-align: left;
}

.mega-footer-pro .footer-inner.navid-pf-colophon:not(:has(.navid-pf-colophon-right)).no-footer-logo {
  justify-content: center;
  text-align: center;
}

.navid-pf-colophon-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.navid-pf-colophon-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.mega-footer-pro .footer-logo.navid-pf-logo {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--pf-text);
  text-decoration: none;
}

.mega-footer-pro .footer-copy {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--pf-muted);
}

.mega-footer-pro .footer-links.navid-pf-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-footer-pro .footer-links.navid-pf-legal-links a {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--pf-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-footer-pro .footer-links.navid-pf-legal-links a:hover {
  color: var(--pf-accent);
}

@media (min-width: 769px) {
  body.navid-has-back-to-top .mega-footer-pro .footer-inner.navid-pf-colophon {
    padding-right: 68px;
  }
  body.navid-has-back-to-top.navid-back-to-top-circular .mega-footer-pro .footer-inner.navid-pf-colophon {
    padding-right: 112px;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .navid-pf-index-grid.is-cols-4,
  .navid-pf-index-grid.is-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .navid-pf-index-grid .navid-pf-index-dispatches {
    grid-column: 1 / -1;
  }
  .navid-pf-bento-layout {
    grid-template-columns: 1fr;
  }
  .navid-pf-bento-lead {
    min-height: 340px;
  }
  .navid-pf-broadsheet-grid.is-cols-4,
  .navid-pf-broadsheet-grid.is-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
  .navid-pf-broadsheet-grid .navid-pf-broadsheet-col {
    border-left: none;
    padding-left: 0;
    padding-right: 0;
  }
  .navid-pf-broadsheet-grid .navid-pf-broadsheet-wide {
    grid-column: 1 / -1;
    border-top: 1px solid var(--pf-border);
    padding-top: 24px;
  }
}

@media (max-width: 768px) {
  .navid-pf-index-grid.is-cols-4,
  .navid-pf-index-grid.is-cols-3,
  .navid-pf-index-grid.is-cols-2,
  .navid-pf-bento-subgrid,
  .navid-pf-broadsheet-grid.is-cols-4,
  .navid-pf-broadsheet-grid.is-cols-3,
  .navid-pf-broadsheet-grid.is-cols-2,
  .navid-pf-dispatch-list.is-two-col {
    grid-template-columns: 1fr;
  }
  .navid-pf-broadsheet-col + .navid-pf-broadsheet-col {
    border-left: none;
    border-top: 1px solid var(--pf-border);
    padding-left: 0;
    padding-top: 24px;
  }
  .mega-footer-widget-grid.footer-cols-2,
  .mega-footer-widget-grid.footer-cols-3,
  .mega-footer-widget-grid.footer-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .navid-pf-broadsheet-rule {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  .mega-footer-pro .footer-inner.navid-pf-colophon {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .mega-footer-widget-grid.footer-cols-2,
  .mega-footer-widget-grid.footer-cols-3,
  .mega-footer-widget-grid.footer-cols-4 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PRO: STICKY SHARE BAR
   ========================================================================== */
.navid-sticky-share-bar {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
  background: var(--surface);
  padding: 12px;
  border-radius: 40px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-secondary);
  background: var(--background);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.share-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.share-twitter:hover {
  background: #1DA1F2;
  border-color: #1DA1F2;
}

.share-facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.share-linkedin:hover {
  background: #0A66C2;
  border-color: #0A66C2;
}

.share-copy:hover {
  background: var(--text-primary);
  border-color: var(--text-primary);
}

@media (max-width: 1024px) {
  .navid-sticky-share-bar {
    top: auto;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    padding: 8px 16px;
  }
}

/* ==========================================================================
   PRO: PROS & CONS BLOCK
   ========================================================================== */
.navid-pros-cons-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 12px);
  padding: 30px;
  margin: 40px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.navid-pros-cons-block h3 {
  margin-top: 0;
  font-size: 1.25rem;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.navid-pros h3 {
  color: #10B981;
}

.matcha-cons h3 {
  color: #EF4444;
}

.navid-pros-list,
.matcha-cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navid-pros-list li,
.matcha-cons-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.navid-pros-list li::before,
.matcha-cons-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* Green Checkmark */
.navid-pros-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Red Cross */
.matcha-cons-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EF4444' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

@media (max-width: 768px) {
  .navid-pros-cons-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ═══ WordPress Required CSS Classes ═══════════════════════ */
.sticky .entry-title::before {
  content: "\2605";
  margin-right: 6px;
  color: var(--sage);
}

.gallery-caption {
  display: block;
  font-size: 13px;
  color: var(--charcoal-muted);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

.bypostauthor>.comment-body {
  border-left: 3px solid var(--sage);
  padding-left: 16px;
}

/* ==========================================================================
   ADDITIONAL PRO HERO LAYOUTS (TICKER & BENTO)
   ========================================================================== */

/* ==========================================================================
   BACK TO TOP BUTTON (PRO)
   ========================================================================== */
.navid-back-to-top-wrap {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

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

.navid-back-to-top-wrap--hidden {
  display: none !important;
}

.navid-back-to-top-wrap .customize-partial-edit-shortcut {
  margin: 0 !important;
  left: -12px !important;
  top: -12px !important;
  right: auto !important;
}

.matcha-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: var(--charcoal);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.navid-back-to-top-wrap .matcha-back-to-top {
  position: relative;
  bottom: auto;
  right: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
}
.matcha-back-to-top:hover {
  background-color: var(--sage);
  transform: translateY(0) scale(1.05);
}
.navid-back-to-top-wrap .matcha-back-to-top:hover {
  transform: scale(1.05);
}
.matcha-back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
body.dark-mode .matcha-back-to-top {
  background-color: var(--cream);
  color: var(--charcoal);
}
body.dark-mode .matcha-back-to-top:hover {
  background-color: var(--sage);
  color: #fff;
}

.matcha-back-to-top.matcha-back-to-top--circular {
  width: 82px;
  height: 82px;
  padding: 0;
  border-radius: 26px !important;
  background-color: rgba(250, 248, 244, 0.92);
  color: var(--charcoal);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.matcha-back-to-top.matcha-back-to-top--circular:hover,
.navid-back-to-top-wrap .matcha-back-to-top.matcha-back-to-top--circular:hover {
  background-color: var(--warm-white);
  color: var(--sage);
  border-color: var(--sage);
  transform: translateY(-2px);
}

body.dark-mode .matcha-back-to-top.matcha-back-to-top--circular {
  background-color: rgba(26, 26, 26, 0.92);
  color: var(--charcoal);
  border-color: var(--border);
}

body.dark-mode .matcha-back-to-top.matcha-back-to-top--circular:hover {
  background-color: var(--cream);
  color: var(--sage-light, var(--sage));
  border-color: var(--sage-light, var(--sage));
}

.navid-btt-ring {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  overflow: visible;
  pointer-events: none;
  animation: navidBackToTopSpin 16s linear infinite;
}

.navid-btt-ring-text {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: currentColor;
}

.navid-btt-center {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease;
}

.matcha-back-to-top.matcha-back-to-top--circular:hover .navid-btt-center {
  border-color: currentColor;
}

.navid-btt-center svg {
  transition: transform 0.25s ease;
}

.matcha-back-to-top.matcha-back-to-top--circular:hover .navid-btt-center svg {
  transform: translateY(-2px);
}

@keyframes navidBackToTopSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .navid-btt-ring {
    animation: none;
  }
}

@media (max-width: 600px) {
  .navid-back-to-top-wrap.navid-back-to-top-wrap--circular {
    bottom: 20px;
    right: 20px;
  }
  .matcha-back-to-top.matcha-back-to-top--circular {
    width: 70px;
    height: 70px;
    bottom: 20px;
    right: 20px;
    border-radius: 22px !important;
  }
  .navid-btt-center {
    width: 28px;
    height: 28px;
  }
}

/* === HERO CONTENT ALIGNMENT (PRO) === */
/* Center Alignment */
body.hero-content-pos-center .hero-grid {
  grid-template-columns: 1fr;
}
body.hero-content-pos-center .hero-main-col,
body.hero-content-pos-center .hero-grid-full .hero-main-col {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 !important;
}
body.hero-content-pos-center .hero-excerpt {
  margin-left: auto;
  margin-right: auto;
}
body.hero-content-pos-center .hero-bottom {
  justify-content: center;
  flex-direction: column;
}
body.hero-content-pos-center .hero-sidebar-col {
  padding-left: 0;
  margin-top: clamp(30px, 5vw, 60px);
}
body.hero-content-pos-center .hero-sidebar-inner {
  max-width: 800px;
  margin: 0 auto;
}
body.hero-content-pos-center .hero-ticker {
  order: 1;
}
body.hero-content-pos-center .hero-sidebar-header {
  order: 2;
  justify-content: space-between;
  padding: 0 10px;
  margin-top: 24px;
  margin-bottom: 0;
}
body.hero-content-pos-center .hero-ticker-prev svg,
body.hero-content-pos-center .hero-ticker-next svg {
  transform: rotate(-90deg);
}
body.hero-content-pos-center .hero-ticker-window {
  height: auto !important;
  overflow: hidden;
  width: 100%;
}
body.hero-content-pos-center .hero-ticker-track {
  display: flex;
  flex-direction: row;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
body.hero-content-pos-center .hero-ticker-item {
  border-bottom: none !important;
  padding: 0 20px !important;
  flex: 0 0 calc(100% / 3);
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  body.hero-content-pos-center .hero-ticker-item {
    flex: 0 0 100%;
    border-right: none;
    padding: 0 10px !important;
  }
}

/* Right Alignment */
body.hero-content-pos-right .hero-grid-full .hero-main-col {
  margin-left: auto;
}

@media (min-width: 901px) {
  body.hero-content-pos-right .hero-grid {
    grid-template-columns: 1fr 1.5fr;
  }
  body.hero-content-pos-right .hero-grid .hero-main-col {
    order: 2;
    padding-left: clamp(30px, 4vw, 60px);
    padding-right: 0;
  }
  body.hero-content-pos-right .hero-grid .hero-sidebar-col {
    order: 1;
  }
}

/* ══════════════════════════════════════════
   PRO SINGLE POST CONVERSION ENGINES
   ══════════════════════════════════════════ */
/* Reading Progress Bar */
.navid-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--navid-accent, #c9a96e);
  z-index: 999999;
  pointer-events: none;
  transition: width 0.08s ease-out;
}

/* Sticky Share Dock (Mobile & Desktop) */
.navid-sticky-share-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99998;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}

.navid-share-dock-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(20, 20, 22, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.navid-share-dock-inner .share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 0;
}

.navid-share-dock-inner .share-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.navid-share-dock-inner .share-whatsapp:hover {
  background: #25D366;
}

.navid-share-dock-inner .share-x:hover {
  background: #000;
}

.navid-share-dock-inner .share-facebook:hover {
  background: #1877F2;
}

.navid-share-dock-inner .share-copy:hover {
  background: var(--navid-accent, #c9a96e);
}

.navid-share-toast {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.navid-share-toast.navid-toast-show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Editorial Review Card styles moved to build/blocks/editorial-review/style-index.css */

/* ==========================================================================
   PRO: SPONSORED POST DISCLOSURE BANNER
   ========================================================================== */
.navid-sponsored-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--cream, #f8fafc);
  border: 1px solid var(--border, #e2e8f0);
  border-left: 4px solid var(--navid-sponsored-accent, var(--sage, #728c69));
  border-radius: 8px;
  padding: 14px 18px;
  margin: 0 0 28px 0;
  font-size: 13.5px;
  line-height: 1.5;
}

.navid-sponsored-icon {
  color: var(--navid-sponsored-accent, var(--sage, #728c69));
  flex-shrink: 0;
  margin-top: 2px;
}

.navid-sponsored-body {
  flex: 1;
}

.navid-sponsored-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--navid-sponsored-badge-bg, var(--sage-pale, rgba(114, 140, 105, 0.15)));
  color: var(--navid-sponsored-badge-text, var(--sage-deep, #1e40af));
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

body.dark-mode .navid-sponsored-badge {
  background: rgba(255, 255, 255, 0.08);
  color: var(--navid-sponsored-dark-text, var(--sage-light, #60a5fa));
}

.navid-sponsored-text {
  margin: 0;
  color: var(--charcoal-light, #475569);
}

.navid-sponsor-link {
  color: var(--charcoal, #0f172a);
  text-decoration: underline;
}

/* Single Post Views Meta (Phase 3: Engagement Engine) */
.navid-single-views-meta {
  align-items: center;
}
.navid-single-views-inner {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.navid-single-views-inner svg {
  opacity: 0.75;
  flex-shrink: 0;
}

/* Customizer preview: ensure selective-refresh sections stay visible */
body.customize-preview .anim-up,
body.customize-preview .scale-in {
  opacity: 1;
  transform: none;
}
body.customize-preview .clip-reveal {
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
}

/* ==========================================================================
   EDITORIAL PRELOADER VARIANTS (PRO)
   ========================================================================== */
.navid-preloader--surface-dark {
  background: #141414;
  color: #faf8f4;
  --border: #2c2c2c;
}

.navid-preloader--surface-light {
  background: #faf8f4;
  color: #1e1e1e;
  --border: #ddd8ce;
}

/* Editorial Brand Curtain */
.navid-preloader-editorial {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  text-align: center;
}

.navid-preloader-wordmark {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: currentColor;
}

.navid-preloader-rule {
  position: relative;
  display: block;
  width: min(180px, 52vw);
  height: 2px;
  background: var(--border);
  overflow: hidden;
  border-radius: 2px;
}

.navid-preloader-rule span,
.navid-preloader-bar-fill {
  position: absolute;
  top: 0;
  left: -45%;
  width: 45%;
  height: 100%;
  background: var(--sage);
  animation: navidPreloaderSweep 1.15s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Hairline Progress Reveal */
.navid-preloader-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.navid-preloader-bar-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.72;
  color: currentColor;
}

.navid-preloader-bar-track {
  position: relative;
  width: min(210px, 60vw);
  height: 2px;
  background: var(--border);
  overflow: hidden;
  border-radius: 2px;
}

/* Architectural Dual Ring */
.navid-preloader-dual-ring {
  position: relative;
  width: 48px;
  height: 48px;
}

.navid-preloader-dual-ring span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}

.navid-preloader-dual-ring span:first-child {
  border-top-color: currentColor;
  border-right-color: var(--border);
  animation: navid-spin 1.1s linear infinite;
}

.navid-preloader-dual-ring span:last-child {
  inset: 9px;
  border-bottom-color: var(--sage);
  animation: navidPreloaderSpinReverse 0.85s linear infinite;
}

@keyframes navidPreloaderSweep {
  0% {
    left: -45%;
  }
  100% {
    left: 100%;
  }
}

@keyframes navidPreloaderSpinReverse {
  to {
    transform: rotate(-360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .navid-preloader-rule span,
  .navid-preloader-bar-fill,
  .navid-preloader-dual-ring span:first-child,
  .navid-preloader-dual-ring span:last-child {
    animation-duration: 2.4s;
  }
}

