/* ============================================================
   NEWSBERG — Main Stylesheet  v1.1.0
   Colours are injected as :root variables via functions.php
   from newsberg-config.php — edit colours there, not here.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
main { display: block; } /* ensure correct display in IE11 */

/* :root variables are written inline by newsberg_inline_css_vars() in functions.php */
:root {
  --serif:      'Playfair Display', Georgia, serif;
  --serif-body: 'Source Serif 4', Georgia, serif;
  --sans:       'Libre Franklin', Helvetica, sans-serif;
  --touch-min:  44px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--serif-body);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
a:hover { color: var(--primary); }
img { display: block; width: 100%; object-fit: cover; }

/* ── UTILITY BAR ── */
.util-bar {
  background: var(--black);
  color: var(--gray);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.util-bar a { color: var(--gray); }
.util-bar a:hover { color: var(--secondary); }
.util-bar-right { display: flex; gap: 16px; }
@media (max-width: 600px) { .util-bar { display: none; } }

/* ── MASTHEAD ── */
.masthead {
  border-bottom: 3px solid var(--primary);
  padding: 12px 16px 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.masthead-left  { display: flex; align-items: center; gap: 8px; }
.masthead-center { text-align: center; }
.masthead-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

/* FIX #3 — buttons wrap under logo on very small screens */
@media (max-width: 480px) {
  .masthead {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    row-gap: 0;
    padding-bottom: 10px;
  }
  .masthead-left   { grid-column: 1; grid-row: 1; }
  .masthead-center { grid-column: 2; grid-row: 1; text-align: center; }
  .masthead-right  {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--gray-mid);
    margin-top: 8px;
  }
}

/* Hamburger */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex; /* always visible */
  flex-direction: column;
  gap: 5px;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.masthead-logo {
  font-family: var(--serif);
  font-size: clamp(32px, 8vw, 72px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1;
}
.masthead-logo span { color: var(--primary); }

/* FIX #3 — text vertically centred in buttons */
.btn-newsletter,
.btn-support {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 14px;           /* horizontal only — height comes from line-height/min-height */
  height: var(--touch-min);  /* fixed height so text sits mid-button */
  line-height: var(--touch-min);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  text-decoration: none;     /* for <a> variants */
}
.btn-newsletter { background: var(--primary); color: var(--white); }
.btn-newsletter:hover { background: #6d3f58; color: var(--white); }
.btn-support    { background: var(--black);   color: var(--white); }
.btn-support:hover { background: #333; color: var(--white); }

/* ── MOBILE NAV DRAWER ── */
.mobile-nav-drawer {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  position: relative;
  z-index: 100;
}
.mobile-nav-drawer.open { display: flex; }

/* Mobile nav groups + divider between primary and secondary */
.mobile-nav-divider {
  height: 1px;
  background: var(--gray-mid);
  margin: 4px 0;
}
.mobile-nav-group--secondary a {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-dark);
  text-transform: none;
  letter-spacing: 0;
}
.mobile-nav-group--secondary a:hover { color: var(--primary); background: var(--gray-light); }

/* Strip list bullets from WP nav menus without breaking positioning */
.mobile-nav-drawer ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav-drawer > div > ul { display: flex; flex-direction: column; }
.mobile-nav-drawer li  { display: block; }

/* Desktop nav list reset — keep li as block so position:relative works */
.desktop-nav ul  { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.desktop-nav li  { display: block; }

.mobile-nav-drawer a {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-mid);
  min-height: var(--touch-min);
  display: flex;
  align-items: center;
}
.mobile-nav-drawer a:hover,
.mobile-nav-drawer .current-menu-item > a,
.mobile-nav-drawer a.active { color: var(--primary); background: var(--gray-light); }

/* Desktop nav: no bullets */
.desktop-nav {
  border-bottom: 1px solid var(--black);
  border-top: 1px solid var(--gray-mid);
  padding: 0 20px;
  display: flex;
  align-items: center;
  overflow-x: visible;   /* must be visible for dropdowns to escape */
  position: relative;
  z-index: 200;
}
.desktop-nav > a,
.desktop-nav > .menu-item > a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 14px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.desktop-nav > a:hover,
.desktop-nav > .menu-item > a:hover,
.desktop-nav > .menu-item:hover > a { border-bottom-color: var(--primary); color: var(--primary); }
.desktop-nav .current-menu-item > a { border-bottom-color: var(--black); }

/* Top-level menu items need relative positioning for dropdown */
.desktop-nav > .menu-item { position: relative; }

/* Dropdown arrow indicator */
.desktop-nav > .menu-item-has-children > a::after {
  content: '▾';
  font-size: 10px;
  margin-left: 2px;
  opacity: 0.6;
}

/* Dropdown panel */
.desktop-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-top: 3px solid var(--primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 300;
  list-style: none;
  padding: 6px 0;
}
.desktop-nav .sub-menu li { display: block; }
.desktop-nav .sub-menu a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
  padding: 10px 16px;
  display: block;
  border-bottom: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.desktop-nav .sub-menu a:hover { background: var(--gray-light); color: var(--primary); border-bottom: none; }

/* Show dropdown on hover OR when .is-open class is set (keyboard/touch) */
.desktop-nav .menu-item-has-children:hover > .sub-menu,
.desktop-nav .menu-item-has-children.is-open > .sub-menu { display: block; }

/* On desktop: hide primary nav group inside drawer (already shown in desktop-nav bar) */
@media (min-width: 769px) { .mobile-nav-group:not(.mobile-nav-group--secondary) { display: none; } }
@media (min-width: 769px) { .mobile-nav-divider { display: none; } }
/* On mobile: hide desktop nav bar, show hamburger */
@media (max-width: 768px) { .desktop-nav { display: none; } }

/* Mobile nav: indent sub-items under parent */
.mobile-nav-drawer .sub-menu { list-style: none; }
.mobile-nav-drawer .sub-menu a {
  padding-left: 36px;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gray-dark);
  border-top: none;
  border-bottom: 1px solid var(--gray-light);
}
.mobile-nav-drawer .sub-menu a:hover { color: var(--primary); background: var(--gray-light); }
.mobile-nav-drawer .menu-item-has-children > a::after {
  content: ' ›';
  opacity: 0.5;
}
/* LOGO CHANGE ON HOVER */
.logo-link { display: inline-block; position: relative; }
.logo-default,
.logo-hover { display: block; height: 70px; width: auto; transition: opacity 0.3s ease; }
.logo-hover  { position: absolute; inset: 0; opacity: 0; }
.logo-link:hover .logo-default { opacity: 0; }
.logo-link:hover .logo-hover   { opacity: 1; }

/* ── SEARCH ICON BUTTON (header) ── */
.btn-search {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 8px;
  height: var(--touch-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 18px;
  transition: color 0.2s;
}
.btn-search:hover { color: var(--primary); }

/* ── SEARCH OVERLAY ── */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
.search-overlay.open { display: flex; }
.search-overlay-inner {
  background: var(--white);
  width: 100%;
  max-width: 660px;
  margin: 0 16px;
  border-top: 4px solid var(--primary);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.search-overlay-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-dark);
  padding: 14px 16px 4px;
}
.search-overlay-form {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--gray-mid);
}
.search-overlay-form input {
  flex: 1;
  border: none;
  padding: 16px;
  font-family: var(--serif);
  font-size: clamp(18px, 3vw, 24px);
  outline: none;
  background: transparent;
}
.search-overlay-form button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0 20px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  min-width: var(--touch-min);
  transition: background 0.2s;
}
.search-overlay-form button:hover { background: #6d3f58; }
.search-overlay-close {
  display: flex;
  justify-content: flex-end;
  padding: 8px 10px 0;
}
.search-overlay-close button {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--gray-dark);
  line-height: 1;
  padding: 4px 8px;
  min-height: var(--touch-min);
  display: flex;
  align-items: center;
}
.search-overlay-close button:hover { color: var(--primary); }

/* ── HOMEPAGE SEARCH BAR (under Latest News) ── */
.homepage-search {
  margin: 0 0 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-mid);
}
.homepage-search-form {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--black);
  max-width: 560px;
}
.homepage-search-form input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-family: var(--serif-body);
  font-size: max(16px, 1em);
  outline: none;
  background: var(--white);
  min-height: var(--touch-min);
}
.homepage-search-form input::placeholder { color: var(--gray); }
.homepage-search-form button {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 0 16px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  min-height: var(--touch-min);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.homepage-search-form button:hover { background: var(--primary); }

/* ── HEADLINES TICKER ── */
.ticker-bar {
  background: var(--secondary);
  border-bottom: 2px solid var(--primary);
  padding: 0 16px;
  overflow: hidden;
}
.ticker-bar-inner {
  display: flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  gap: 0;
}
.ticker-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 5px 12px;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  margin-right: 16px;
}
.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
}
.ticker-item {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: none;
  width: 100%;
  padding-right: 80px; /* room for arrows */
  transition: opacity 0.35s ease;
}
.ticker-item.is-active {
  display: block;
  animation: ticker-fade-in 0.35s ease forwards;
}
.ticker-item:hover { color: var(--primary); text-decoration: underline; }
@keyframes ticker-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ticker-prev,
.ticker-next {
  position: absolute;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #555;
  padding: 6px 8px;
  line-height: 1;
  transition: color 0.15s;
  flex-shrink: 0;
}
.ticker-prev { right: 28px; }
.ticker-next { right: 4px; }
.ticker-prev:hover,
.ticker-next:hover { color: var(--primary); }
@media (max-width: 480px) {
  .ticker-label { display: none; }
  .ticker-item { font-size: 11px; padding-right: 64px; }
}

/* ── BREAKING NEWS BAR ── */
.ticker-bar--breaking {
  background: #c0392b;
  border-bottom-color: #96281b;
}
.ticker-label--breaking {
  background: #fff;
  color: #c0392b;
  font-size: 10px;
  animation: breaking-pulse 1.6s ease-in-out infinite;
}
@keyframes breaking-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}
.ticker-track-wrap--breaking {
  overflow: hidden;
  position: relative;
  flex: 1;
  min-width: 0;
}
.ticker-breaking-scroll {
  display: flex;
  width: max-content;
  text-decoration: none;
  animation: breaking-marquee 45s linear infinite;
  cursor: default;
}
a.ticker-breaking-scroll { cursor: pointer; }
a.ticker-breaking-scroll:hover { animation-play-state: paused; }
.ticker-breaking-scroll span {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  padding-right: 60px;
  letter-spacing: 0.01em;
}
@keyframes breaking-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 480px) {
  .ticker-breaking-scroll span { font-size: 12px; }
  .ticker-label--breaking { font-size: 9px; padding: 5px 8px; }
}

/* ── AD PLACEHOLDERS ── */
.ad-wrap { text-align: center; padding: 10px 16px; border-bottom: 1px solid var(--gray-mid); }
.ad-label { font-family: var(--sans); font-size: 10px; letter-spacing: 0.08em; color: var(--gray); text-transform: uppercase; margin-bottom: 4px; }
.ad-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  border: 1px dashed var(--gray);
  color: var(--gray-dark);
  font-family: var(--sans);
  font-size: 11px;
  width: 100%;
}
.ad-top    { height: 50px;  max-width: 320px; }
.ad-banner { height: 50px;  max-width: 320px; }
.ad-rect   { height: 250px; max-width: 300px; }
@media (min-width: 768px) {
  .ad-top    { height: 90px; max-width: 728px; }
  .ad-banner { height: 90px; max-width: 728px; }
}

/* Image containers used as <a> tags */
a.hero-img,
a.sidebar-thumb,
a.story-card-img,
a.funnies-card-img,
a.related-card-img,
a.search-result-thumb,
a.featured-hero-img { display: block; cursor: pointer; }

/* ── SITE WRAPPER ── */
.site-wrapper { max-width: 1280px; margin: 0 auto; padding: 0 16px; overflow-x: clip; }
@media (min-width: 768px) { .site-wrapper { padding: 0 24px; } }

/* ══════════════════════════════════════════════
   FEATURED HERO (Fix #1)
   Full-width featured story above the fold
   ══════════════════════════════════════════════ */
.featured-hero {
  padding: 24px 0 20px;
  border-bottom: 2px solid var(--black);
  margin-bottom: 4px;
}
.featured-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .featured-hero-inner {
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: start;
  }
}

.featured-hero-img {
  aspect-ratio: 3/2;
  position: relative;
  overflow: hidden;
  background: none;
  display: block;
}
.featured-hero-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.5s ease;
}
.featured-hero-img:hover img { transform: scale(1.02); }

.featured-hero-content { display: flex; flex-direction: column; justify-content: center; }

.featured-hero-kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.featured-badge {
  background: var(--primary);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 7px;
}

.featured-hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.featured-hero-content h1 a:hover { color: var(--primary); }

.featured-hero-excerpt {
  font-family: var(--serif-body);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 300;
  color: #333;
  line-height: 1.55;
  margin-bottom: 16px;
}

.featured-hero-meta {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--gray-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--gray-mid);
}
.featured-hero-meta .meta-author { font-weight: 700; color: var(--black); }
.featured-hero-meta .meta-sep    { color: var(--gray); }

.featured-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--primary);
  padding: 10px 18px;
  margin-top: 18px;
  align-self: flex-start;
  transition: background 0.2s;
}
.featured-read-more:hover { background: #6d3f58; color: var(--white); }

/* ── HERO SIDEBAR GRID (secondary stories) ── */
.hero-grid {
  padding: 16px 0;
}
@media (min-width: 900px) {
  .hero-grid { display: grid; grid-template-columns: 1fr 300px; gap: 0; }
}
.hero-main { padding-bottom: 20px; }
@media (min-width: 900px) {
  .hero-main { border-right: 1px solid var(--gray-mid); padding-right: 24px; padding-bottom: 0; }
}
.article-kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.hero-main h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 10px;
}
.hero-main .deck {
  font-family: var(--serif-body);
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 300;
  color: #333;
  line-height: 1.5;
  margin-bottom: 10px;
}
.hero-main .byline { font-family: var(--sans); font-size: 11px; color: var(--gray-dark); }
.hero-main .byline span { font-weight: 600; color: var(--black); }
.hero-img {
  margin-top: 14px;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--gray-light);
  display: block;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.hero-img-caption { font-family: var(--sans); font-size: 10px; color: var(--gray-dark); margin-top: 4px; font-style: italic; }

.hero-sidebar { border-top: 1px solid var(--gray-mid); margin-top: 16px; }
@media (min-width: 900px) { .hero-sidebar { padding-left: 20px; border-top: none; margin-top: 0; } }

.sidebar-article {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-mid);
}
/* text-only variant — no thumbnail grid */
.sidebar-article--text-only {
  display: block;
}
.sidebar-article:last-child { border-bottom: none; }
.sidebar-article .kicker { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 4px; }
.sidebar-article h3 { font-family: var(--serif); font-size: clamp(14px, 2vw, 16px); font-weight: 600; line-height: 1.25; margin-bottom: 4px; }
.sidebar-article p  { font-family: var(--serif-body); font-size: 13px; color: #444; line-height: 1.4; }

/* ══════════════════════════════════════════════
   CATEGORY SCROLLERS  (Fix #4)
   Even gap between cards; dividers between cards,
   not flush against the title.
   ══════════════════════════════════════════════ */
.category-section { margin: 28px 0; }

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 3px solid var(--primary);
  padding-top: 10px;
  margin-bottom: 14px;
}
.category-header h2 { font-family: var(--serif); font-size: clamp(18px, 3vw, 22px); font-weight: 700; }
.category-header .view-all {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  min-height: var(--touch-min);
  display: flex;
  align-items: center;
  padding: 0 4px;
}

.scroller-wrap { position: relative; }
.scroll-btn { display: none; }
@media (hover: hover) and (min-width: 900px) {
  .scroll-btn {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 1px solid var(--black);
    width: 34px; height: 34px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    font-size: 14px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
    transition: background 0.15s;
  }
  .scroll-btn:hover { background: var(--primary); color: var(--white); }
  .scroll-btn.left  { left: -17px; }
  .scroll-btn.right { right: -17px; }
}

.scroller {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* FIX #4: gap between cards is managed here, not by border */
  gap: 20px;
  padding-bottom: 4px;
}
.scroller::-webkit-scrollbar { display: none; }

/* "Read all" tile at end of each scroller */
.story-card--read-all {
  display: flex;
  align-items: stretch;
  border-right: none;
  padding-right: 0;
  flex: 0 0 160px;
  min-width: 160px;
}
.story-card-read-all-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--gray-light);
  border: 2px solid var(--primary);
  padding: 20px 16px;
  text-align: center;
  transition: background 0.2s;
  min-height: 160px;
}
.story-card-read-all-link:hover { background: var(--primary); }
.story-card-read-all-link:hover .read-all-label,
.story-card-read-all-link:hover .read-all-cat,
.story-card-read-all-link:hover .read-all-arrow { color: var(--white); }
.read-all-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-dark);
}
.read-all-cat {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
}
.read-all-arrow {
  font-size: 22px;
  color: var(--primary);
}

/* Fade-right hint on mobile */
.scroller-wrap::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.9));
  pointer-events: none;
}
@media (min-width: 900px) { .scroller-wrap::after { display: none; } }

/* FIX #4: card uses padding + a right border for the divider,
   with enough padding so the rule sits in the gap, not on the title */
.story-card {
  flex: 0 0 82vw;
  max-width: 320px;
  scroll-snap-align: start;
  /* Right border acts as the separator — sits in the 20px gap */
  border-right: 1px solid var(--gray-mid);
  padding-right: 20px;   /* pushes content away from the border */
  padding-bottom: 4px;
}
.story-card:last-child { border-right: none; padding-right: 0; }
@media (min-width: 480px)  { .story-card { flex: 0 0 56vw; max-width: 300px; } }
@media (min-width: 768px)  { .story-card { flex: 0 0 300px; max-width: 300px; } }
@media (min-width: 1024px) { .story-card { flex: 0 0 260px; max-width: 260px; } }

.story-card-img {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: none;
  margin-bottom: 10px;
  display: block;
}
.story-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}
.story-card:hover .story-card-img img { transform: scale(1.03); }
.story-card:hover .story-card-img img { transform: scale(1.03); }

.story-card .kicker { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.story-card h3 { font-family: var(--serif); font-size: clamp(15px, 2.5vw, 17px); font-weight: 600; line-height: 1.25; margin-bottom: 6px; }
.story-card p  { font-family: var(--serif-body); font-size: 13px; color: #555; line-height: 1.45; }
.story-card .byline { font-family: var(--sans); font-size: 10px; color: var(--gray-dark); margin-top: 8px; }
.story-card .byline span { font-weight: 600; }

.swipe-hint {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--gray-dark);
  letter-spacing: 0.06em;
  text-align: right;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
@media (hover: hover) and (min-width: 900px) { .swipe-hint { display: none; } }

/* ── SECTION RULE ── */
.section-rule { display: flex; align-items: center; gap: 10px; margin: 24px 0 14px; }
.section-rule-label { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.section-rule-line { flex: 1; height: 1px; background: var(--black); }
.section-rule-view-all { font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--primary); white-space: nowrap; border-bottom: 1px solid var(--primary); min-height: var(--touch-min); display: flex; align-items: center; }

/* ── EVENTS CALENDAR EMBED ── */
.events-calendar-embed {
  width: 100%;
  overflow: hidden;
  margin-bottom: 12px;
}
.events-calendar-embed iframe {
  width: 100%;
  border: none;
  display: block;
}
.events-view-all-link {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 8px;
}
.events-view-all-link:hover { text-decoration: underline; }
.events-calendar-placeholder {
  background: var(--bg-warm);
  border: 1px dashed var(--gray-mid);
  padding: 40px 24px;
  text-align: center;
  font-family: var(--sans);
  color: var(--gray-dark);
  font-size: 14px;
}
.events-calendar-placeholder p { margin-bottom: 10px; font-size: 16px; }
.events-calendar-placeholder a { color: var(--primary); text-decoration: underline; }

/* ── LOWER GRID ── */
.lower-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 24px; 
  border-top: 1px solid var(--black); 
  padding-top: 20px; 
  margin-top: 8px; 
}
@media (min-width: 900px) { 
  .lower-grid { grid-template-columns: 1fr 300px; } 
}
.lower-main { min-width: 0; overflow: hidden; order: 1; }
.lower-sidebar { min-width: 0; order: 2; }
/* On mobile: pull sidebar ad up between events and most-read */
@media (max-width: 899px) {
  .lower-grid { gap: 0; }
  .lower-main  { order: 1; padding-bottom: 20px; }
  .lower-sidebar { order: 2; }
  .widget { padding-top: 20px; border-top: 1px solid var(--gray-mid); }
  .sidebar-ad-wrap {
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-mid);
    text-align: center;
  }
}
@media (min-width: 900px) {
  .sidebar-ad-wrap {
    width: 100%;
    max-width: 300px;
  }
}
@media (max-width: 899px) {
  /* On mobile, lower-sidebar becomes a flex column — use order to place ad between events and most-read */
  .lower-sidebar {
    display: flex;
    flex-direction: column;
  }
  .lower-sidebar .widget { order: 2; }
  .sidebar-ad-wrap {
    order: 1;
    margin: 16px 0;
    text-align: center;
  }
}
.widget { margin-bottom: 24px; }
.widget-title { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); background: var(--primary); padding: 7px 10px; margin-bottom: 12px; }
.most-read-list { list-style: none; }
.most-read-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-mid); align-items: flex-start; min-height: var(--touch-min); }
.most-read-list li:last-child { border-bottom: none; }
.most-read-num { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--gray); line-height: 1; flex-shrink: 0; width: 24px; }
.most-read-list h4 { font-family: var(--serif); font-size: 14px; font-weight: 600; line-height: 1.3; }

/* ══════════════════════════════════════════════
   ARTICLE PAGE
   ══════════════════════════════════════════════ */
.article-outer { max-width: 760px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .article-outer { padding: 0 24px; } }

.breadcrumb { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); padding: 16px 0 12px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--primary); }
.breadcrumb-sep { color: var(--gray); font-weight: 300; }

.article-header { margin-bottom: 20px; }
.article-header h1 { font-family: var(--serif); font-size: clamp(26px, 5vw, 44px); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; margin-bottom: 14px; }

.article-deck { font-family: var(--serif-body); font-size: clamp(16px, 2.5vw, 20px); font-weight: 300; color: #333; line-height: 1.5; margin-bottom: 18px; border-left: 3px solid var(--secondary); padding-left: 14px; }

.article-meta { padding: 12px 0; border-top: 1px solid var(--gray-mid); border-bottom: 1px solid var(--gray-mid); }
.meta-top { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 600px) { .meta-top { flex-direction: row; justify-content: space-between; align-items: center; } }

.byline-name { font-family: var(--sans); font-size: 13px; font-weight: 700; }
.byline-name a:hover { color: var(--primary); text-decoration: underline; }
.byline-detail { font-family: var(--sans); font-size: 11px; color: var(--gray-dark); margin-top: 2px; }

.article-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.action-btn {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0 13px;
  height: var(--touch-min);
  line-height: var(--touch-min);
  border: 1px solid var(--black);
  cursor: pointer;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s, color 0.15s;
}
.action-btn:hover { background: var(--black); color: var(--white); }
.action-btn.primary-btn { background: var(--primary); color: var(--white); border-color: var(--primary); }
.action-btn.primary-btn:hover { background: #6d3f58; }

/* Article featured image — container defines size, image fills absolutely */
.article-hero {
  aspect-ratio: 3/2;
  max-height: 520px;
  position: relative;
  overflow: hidden;
  background: none;
  display: block;
}
.article-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.article-hero-caption { font-family: var(--sans); font-size: 11px; color: var(--gray-dark); line-height: 1.5; margin-top: 6px; padding: 0 16px 20px; border-bottom: 1px solid var(--gray-mid); }
@media (min-width: 768px) { .article-hero-caption { padding: 0 0 20px; } }
.article-hero-caption strong { color: var(--black); font-weight: 600; }

.article-body { font-family: var(--serif-body); font-size: clamp(17px, 2.2vw, 19px); line-height: 1.8; color: #1a1a1a; padding: 8px 0; }
.article-body p { margin-bottom: 1.5em; }
.article-body p:first-child::first-letter { font-family: var(--serif); font-size: clamp(52px, 10vw, 72px); font-weight: 700; float: left; line-height: 0.82; margin-right: 8px; margin-top: 6px; color: var(--primary); }
.article-body h2 { font-family: var(--serif); font-size: clamp(20px, 3vw, 26px); font-weight: 700; margin: 1.8em 0 0.5em; line-height: 1.2; }
.article-body h3 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 1.8em 0 0.5em; color: var(--primary); }
.article-body ul,
.article-body ol { padding-left: 1.6em; margin-bottom: 1.5em; }
.article-body ul { list-style-type: disc; }
.article-body ol { list-style-type: decimal; }
.article-body li { margin-bottom: 0.4em; padding-left: 0.2em; }

.pull-quote { margin: 1.8em -16px; padding: 20px 16px; border-top: 3px solid var(--primary); border-bottom: 1px solid var(--gray-mid); background: var(--gray-light); }
@media (min-width: 600px) { .pull-quote { margin: 1.8em 0; padding: 20px 32px; background: transparent; } }
.pull-quote blockquote { font-family: var(--serif); font-size: clamp(18px, 3vw, 24px); font-weight: 600; font-style: italic; line-height: 1.35; margin-bottom: 10px; }
.pull-quote cite { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); font-style: normal; }

.key-facts { background: var(--gray-light); border-left: 4px solid var(--secondary); padding: 16px 20px; margin: 1.8em 0; }
.key-facts-title { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.key-facts ul { list-style: none; }
.key-facts ul li { font-family: var(--sans); font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--gray-mid); display: flex; gap: 8px; align-items: baseline; line-height: 1.4; }
.key-facts ul li:last-child { border-bottom: none; }
.key-facts ul li::before { content: "▪"; color: var(--primary); flex-shrink: 0; font-size: 10px; }

.inline-img { margin: 1.8em -16px; }
@media (min-width: 600px) { .inline-img { margin: 1.8em 0; } }
.inline-img img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.inline-img figcaption { font-family: var(--sans); font-size: 11px; color: var(--gray-dark); margin-top: 6px; padding: 0 16px; font-style: italic; line-height: 1.3; }

/* WordPress default caption markup inside article body */
.article-body .wp-caption { max-width: 100%; margin-bottom: 24px; }
.article-body .wp-caption img { width: 100%; height: auto; display: block; }
.article-body .wp-caption-text { font-family: var(--sans); font-size: 11px; color: var(--gray-dark); line-height: 1.3; margin-top: 6px; font-style: italic; padding: 0; }
.article-body figcaption { font-family: var(--sans); font-size: 11px; color: var(--gray-dark); line-height: 1.3; margin-top: 6px; font-style: italic; }
@media (min-width: 600px) { .inline-img figcaption { padding: 0; } }

.article-footer { margin-top: 32px; padding-top: 18px; border-top: 2px solid var(--black); }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; align-items: center; }
.tags-label { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-dark); }
.tag { font-family: var(--sans); font-size: 12px; font-weight: 500; padding: 6px 12px; border: 1px solid var(--gray); color: var(--black); min-height: var(--touch-min); display: flex; align-items: center; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.tag:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.article-share { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.share-label { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-dark); min-height: var(--touch-min); display: flex; align-items: center; margin-right: 4px; }
.share-btn { font-family: var(--sans); font-size: 12px; font-weight: 600; padding: 0 14px; height: var(--touch-min); border: 1px solid var(--gray-mid); cursor: pointer; background: transparent; display: inline-flex; align-items: center; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.share-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }

.author-box { background: var(--gray-light); padding: 16px 20px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 32px; border-top: 3px solid var(--secondary); }
.author-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--gray-mid); flex-shrink: 0; overflow: hidden; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box-name { font-family: var(--sans); font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.author-box-title { font-family: var(--sans); font-size: 11px; color: var(--primary); font-weight: 600; margin-bottom: 7px; }
.author-box-bio { font-family: var(--serif-body); font-size: 13px; color: #444; line-height: 1.55; }

/* FIX #8 — Related stories section */
.related-section { margin-bottom: 40px; }
.related-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.related-label { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.related-rule { flex: 1; height: 1px; background: var(--black); }
.related-all { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--primary); white-space: nowrap; margin-left: 10px; min-height: var(--touch-min); display: flex; align-items: center; }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 500px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card { border-top: 3px solid var(--gray-mid); padding-top: 12px; transition: border-color 0.2s; }
.related-card:hover { border-top-color: var(--primary); }
.related-card-img {
  aspect-ratio: 3/2;
  position: relative;
  overflow: hidden;
  background: none;
  margin-bottom: 10px;
  display: block;
}
.related-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.related-card .kicker { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 5px; }
.related-card h3 { font-family: var(--serif); font-size: clamp(15px, 2.5vw, 16px); font-weight: 600; line-height: 1.25; margin-bottom: 5px; }
.related-card .byline-sm { font-family: var(--sans); font-size: 10px; color: var(--gray-dark); }

/* ── SEARCH RESULTS PAGE ── */
.search-result-count {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--gray-dark);
  margin-bottom: 20px;
}
.search-results-list { margin-bottom: 32px; }
.search-result-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-mid);
  align-items: start;
}
.search-result-item:first-child { border-top: 1px solid var(--gray-mid); }
@media (max-width: 480px) {
  .search-result-item { grid-template-columns: 1fr; }
  .search-result-thumb { display: none; }
}
.search-result-thumb {
  display: block;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--gray-light);
  flex-shrink: 0;
}
.search-result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-result-title {
  font-family: var(--serif);
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 6px;
}
.search-result-title a:hover { color: var(--primary); }
.search-result-excerpt {
  font-family: var(--serif-body);
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 8px;
}
.search-result-meta {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--gray-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
}
.search-result-meta .meta-sep { color: var(--gray); }
.search-no-results {
  padding: 40px 0;
  font-family: var(--serif-body);
  font-size: 16px;
  color: var(--gray-dark);
  line-height: 1.8;
}
.search-pagination {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 28px 0 40px;
  font-family: var(--sans);
  font-size: 12px;
}
.search-pagination .page-numbers {
  padding: 8px 14px;
  border: 1px solid var(--gray-mid);
  color: var(--black);
  min-height: var(--touch-min);
  display: flex;
  align-items: center;
  transition: background 0.15s;
}
.search-pagination .page-numbers:hover { background: var(--gray-light); }
.search-pagination .page-numbers.current {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ── NEWSLETTER ── */
.newsletter-bar { background: var(--primary); color: var(--white); padding: 28px 16px; text-align: center; }
.newsletter-bar h3 { font-family: var(--serif); font-size: clamp(20px, 4vw, 26px); font-weight: 700; margin-bottom: 6px; }
.newsletter-bar p { font-family: var(--sans); font-size: 13px; opacity: 0.85; margin-bottom: 16px; }
.newsletter-form { display: flex; max-width: 420px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 12px 14px; border: none; font-family: var(--sans); font-size: max(16px, 1em); outline: none; min-height: var(--touch-min); }
.newsletter-form button { background: var(--black); color: var(--white); border: none; padding: 0 18px; height: var(--touch-min); font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; }
.newsletter-form button:hover { background: #222; }

/* ── FOOTER ── */
footer { background: var(--black); color: var(--gray); padding: 28px 16px 20px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-logo { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--white); margin-bottom: 18px; text-align: center; }
.footer-logo span { color: var(--secondary); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-bottom: 16px; }
.footer-links a { font-family: var(--sans); font-size: 11px; color: var(--gray); min-height: var(--touch-min); display: flex; align-items: center; }
.footer-links a:hover { color: var(--secondary); }
.footer-copy { text-align: center; font-family: var(--sans); font-size: 10px; color: #666; border-top: 1px solid #333; padding-top: 14px; }

/* ══════════════════════════════════════
   ADVERTISE PAGE
   ══════════════════════════════════════ */
/* ── PAGE WRAPPER ── */
.nb-adpage {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  color: #000;
  max-width: 100%;
}

/* ── HERO ── */
.nb-hero {
  background: #87516e;
  color: #fff;
  padding: 56px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.03) 40px,
    rgba(255,255,255,0.03) 80px
  );
}
.nb-hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.nb-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a6e1bb;
  margin-bottom: 14px;
}
.nb-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #fff;
}
.nb-hero p {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 28px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 300;
}
.nb-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #a6e1bb;
  color: #000;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  text-decoration: none;
  transition: background 0.2s;
}
.nb-btn-primary:hover { background: #8fd4a8; color: #000; }
.nb-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #87516e;
  border: 2px solid #87516e;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 26px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nb-btn-outline:hover { background: #87516e; color: #fff; }

/* ── STATS BAR ── */
.nb-stats {
  background: #000;
  color: #fff;
  padding: 32px 24px;
}
.nb-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 600px) {
  .nb-stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .nb-stats-item:not(:last-child) { border-right: 1px solid #333; }
}
.nb-stats-item { padding: 8px 16px; }
.nb-stats-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #a6e1bb;
  line-height: 1;
  margin-bottom: 6px;
}
.nb-stats-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  line-height: 1.3;
}

/* ── SECTION HEADERS ── */
.nb-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.nb-section-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  white-space: nowrap;
}
.nb-section-header-line {
  flex: 1;
  height: 2px;
  background: #000;
}

/* ── TIER SLIDER ── */
.nb-tiers {
  padding: 48px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── AD OPTIONS GRID ── */
.nb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
@media (max-width: 900px) {
  .nb-grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
}
@media (max-width: 560px) {
  .nb-grid { grid-template-columns: 1fr; gap: 16px; }
}

.nb-card {
  border: 2px solid #e5e5e5;
  padding: 24px;
  position: relative;
  background: #fff;
}
.nb-card--featured { border-color: #87516e; border-width: 3px; }
.nb-card--event { border-color: #a6e1bb; border-width: 2px; background: #f9fdf9; }

.nb-card-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: #87516e;
  color: #fff;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
}

.nb-card-top {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
}
.nb-card-name {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #87516e;
  margin-bottom: 6px;
}
.nb-card--event .nb-card-name { color: #3a8a5a; }
.nb-card-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.nb-card-price span {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #666;
}
.nb-card-sub {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 11px;
  color: #888;
  line-height: 1.4;
}

.nb-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.nb-card-list li {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  color: #333;
  padding: 6px 0;
  border-bottom: 1px solid #f2f2f2;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.nb-card-list li::before {
  content: '✓';
  color: #a6e1bb;
  font-weight: 700;
  background: #000;
  width: 15px;
  height: 15px;
  min-width: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  flex-shrink: 0;
  margin-top: 2px;
}
.nb-card--event .nb-card-list li::before { background: #3a8a5a; }

.nb-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 16px;
  border: 2px solid #87516e;
  color: #87516e;
  background: transparent;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-top: auto;
}
.nb-card-btn:hover { background: #87516e; color: #fff; }
.nb-card-btn--primary { background: #a6e1bb; color: #000; border-color: #a6e1bb; }
.nb-card-btn--primary:hover { background: #8fd4a8; color: #000; border-color: #8fd4a8; }
.nb-card--event .nb-card-btn { border-color: #3a8a5a; color: #3a8a5a; }
.nb-card--event .nb-card-btn:hover { background: #3a8a5a; color: #fff; }

/* ── DISCOUNTS TABLE ── */
.nb-discounts {
  background: #f2f2f2;
  border-top: 3px solid #a6e1bb;
  padding: 40px 24px;
}
.nb-discounts-inner {
  max-width: 700px;
  margin: 0 auto;
}
.nb-discounts h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  margin-bottom: 8px;
}
.nb-discounts-sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  color: #444;
  margin-bottom: 24px;
  line-height: 1.6;
}
.nb-discount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 500px) {
  .nb-discount-grid { grid-template-columns: repeat(2, 1fr); }
}
.nb-discount-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 16px 12px;
  text-align: center;
}
.nb-discount-months {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #87516e;
  line-height: 1;
  margin-bottom: 4px;
}
.nb-discount-label {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 10px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.nb-discount-pct {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #000;
  background: #a6e1bb;
  padding: 4px 8px;
  display: inline-block;
}
.nb-discounts-note {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  color: #666;
  font-style: italic;
}

/* ── CUSTOM / CONTACT BAND ── */
.nb-custom {
  background: #000;
  color: #fff;
  padding: 40px 24px;
  text-align: center;
}
.nb-custom-inner { max-width: 620px; margin: 0 auto; }
.nb-custom h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.nb-custom p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.65;
  color: #bbb;
  margin-bottom: 24px;
}
.nb-btn-white {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #000;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  text-decoration: none;
  transition: background 0.2s;
}
.nb-btn-white:hover { background: #a6e1bb; color: #000; }

/* ── WHY NEWSBERG ── */
.nb-why {
  padding: 48px 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.nb-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) { .nb-why-grid { grid-template-columns: repeat(3, 1fr); } }
.nb-why-card {
  border-top: 3px solid #87516e;
  padding-top: 16px;
}
.nb-why-icon { font-size: 24px; margin-bottom: 10px; }
.nb-why-title {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.nb-why-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

/* ── TESTIMONIALS ── */
.nb-testimonials {
  background: #f2f2f2;
  padding: 48px 24px;
  border-top: 3px solid #87516e;
}
.nb-testimonials-inner { max-width: 1000px; margin: 0 auto; }
.nb-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 28px;
}
@media (min-width: 640px) { .nb-testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .nb-testimonials-grid { grid-template-columns: repeat(4, 1fr); } }
.nb-testimonial {
  background: #fff;
  padding: 24px;
  border-left: 4px solid #a6e1bb;
}
.nb-testimonial blockquote {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  font-style: italic;
  line-height: 1.65;
  color: #333;
  margin-bottom: 12px;
}
.nb-testimonial cite {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #87516e;
  font-style: normal;
}

/* ── AUDIENCE SNAPSHOT ── */
.nb-audience {
  padding: 48px 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.nb-audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .nb-audience-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .nb-audience-grid { grid-template-columns: repeat(4, 1fr); } }
.nb-audience-card {
  border: 1px solid #e5e5e5;
  padding: 20px;
  text-align: center;
}
.nb-audience-icon { font-size: 28px; margin-bottom: 10px; }
.nb-audience-title {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #87516e;
  margin-bottom: 8px;
}
.nb-audience-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

/* ── PULL QUOTE ── */
.nb-quote {
  background: #87516e;
  color: #fff;
  padding: 40px 32px;
  text-align: center;
}
.nb-quote blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(18px, 3vw, 24px);
  font-style: italic;
  font-weight: 600;
  line-height: 1.4;
  max-width: 680px;
  margin: 0 auto 16px;
}
.nb-quote cite {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a6e1bb;
  font-style: normal;
}

/* ── FAQ ── */
.nb-faq {
  padding: 48px 24px;
  max-width: 760px;
  margin: 0 auto;
}
.nb-faq-item { border-bottom: 1px solid #e5e5e5; }
.nb-faq-question {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 18px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  list-style: none;
  user-select: none;
}
.nb-faq-question::-webkit-details-marker { display: none; }
.nb-faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: #87516e;
  flex-shrink: 0;
  transition: transform 0.2s;
}
details[open] .nb-faq-question::after { transform: rotate(45deg); }
.nb-faq-answer {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  padding: 0 0 20px;
}
.nb-faq-answer p { margin-bottom: 10px; }
.nb-faq-answer ol, .nb-faq-answer ul { padding-left: 20px; margin-bottom: 10px; }
.nb-faq-answer li { margin-bottom: 6px; }

/* ── CLOSING CTA ── */
.nb-closing {
  background: #000;
  color: #fff;
  padding: 48px 24px;
  text-align: center;
}
.nb-closing h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #fff;
}
.nb-closing p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  color: #aaa;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.nb-closing-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.nb-btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff;
  border: 1px solid #555;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.nb-btn-ghost:hover { border-color: #fff; color: #fff; }

/* ── ADVERTISE PAGE — MOBILE OVERRIDES ── */
@media (max-width: 600px) {
  .nb-hero { padding: 40px 20px; }
  .nb-stats { padding: 24px 16px; }
  .nb-stats-grid { gap: 20px 0; }
  .nb-tiers { padding: 32px 16px; }
  .nb-card { padding: 20px 16px; }
  .nb-discounts { padding: 32px 16px; }
  .nb-discount-grid { gap: 8px; }
  .nb-custom { padding: 32px 16px; }
  .nb-why { padding: 32px 16px; }
  .nb-testimonials { padding: 32px 16px; }
  .nb-testimonials-grid { grid-template-columns: 1fr; }
  .nb-faq { padding: 32px 16px; }
  .nb-closing { padding: 36px 16px; }
  .nb-closing-btns { flex-direction: column; align-items: center; }
  .nb-btn-white,
  .nb-btn-ghost,
  .nb-btn-primary,
  .nb-btn-outline { width: 100%; justify-content: center; }
  .nb-audience-grid { grid-template-columns: 1fr 1fr; }
}


/* ════════════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════════════ */

.nb-about-hero {
  background: #87516e;
  color: #fff;
  padding: 72px 24px;
  text-align: center;
}
.nb-contact-hero {
  background: #222;
  color: #fff;
  padding: 72px 24px;
  text-align: center;
}
.nb-events-hero {
  background: #1a1a2e;
  color: #fff;
  padding: 72px 24px;
  text-align: center;
}
.nb-about-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.nb-about-hero-inner h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  margin: 12px 0 20px;
  color: #fff;
}
.nb-about-hero-inner p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}

/* ── Tenets bar ── */
.nb-tenets {
  background: #000;
  padding: 32px 24px;
}
.nb-tenets-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.nb-tenet {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.nb-tenet-word {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: #a6e1bb;
  margin-bottom: 4px;
}
.nb-tenet-desc {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.nb-tenet-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* ── Generic about section ── */
.nb-about-section {
  padding: 64px 24px;
}
.nb-about-section--alt {
  background: #f7f5f4;
}
.nb-about-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.nb-about-section-inner--narrow {
  max-width: 760px;
}

/* ── Mission two-col ── */
.nb-about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 32px;
}
@media (max-width: 720px) {
  .nb-about-two-col { grid-template-columns: 1fr; gap: 32px; }
}
.nb-about-body p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 16px;
}
.nb-about-blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(17px, 2.2vw, 22px);
  font-style: italic;
  line-height: 1.5;
  color: #222;
  border-left: 4px solid #87516e;
  padding: 24px 28px;
  margin: 0;
  background: #fff;
}
.nb-about-blockquote cite {
  display: block;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #87516e;
  margin-top: 16px;
}

/* ── Founder card ── */
.nb-founder-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 32px;
  background: #fff;
  padding: 32px;
  border: 1px solid #e5e5e5;
}
@media (max-width: 720px) {
  .nb-founder-card { grid-template-columns: 1fr; gap: 24px; }
}
.nb-founder-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
  display: block;
}
.nb-founder-label {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #87516e;
  margin-bottom: 6px;
}
.nb-founder-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: #111;
  margin: 0 0 6px;
}
.nb-founder-email {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 13px;
  color: #87516e;
  text-decoration: none;
  display: block;
  margin-bottom: 20px;
}
.nb-founder-email:hover { text-decoration: underline; }
.nb-founder-bio p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 14px;
}
.nb-founder-disclosure {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 12px;
  color: #777;
  border-top: 1px solid #eee;
  padding-top: 14px;
  line-height: 1.6;
  margin-top: 8px;
}

/* ── Past writers ── */
.nb-past-writers {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #ddd;
}
.nb-past-writers-label {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 12px;
}
.nb-past-writers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.nb-past-writers-list span {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: #555;
}

/* ── Policy cards ── */
.nb-policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 700px) {
  .nb-policy-grid { grid-template-columns: 1fr; }
}
.nb-policy-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 28px;
}
.nb-policy-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.nb-policy-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 0 0 12px;
}
.nb-policy-card p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 16px;
}
.nb-policy-link {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #87516e;
  text-decoration: none;
}
.nb-policy-link:hover { text-decoration: underline; }

/* ── Memberships ── */
.nb-memberships {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px 64px;
  margin-top: 40px;
}
.nb-membership-item img {
  height: 80px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nb-membership-item:hover img {
  opacity: 1;
}


/* ════════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════════ */

.nb-contact-reasons {
  padding: 64px 24px;
}
.nb-contact-reasons-intro {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  color: #555;
  margin-bottom: 36px;
  line-height: 1.6;
}
.nb-reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 700px) {
  .nb-reasons-grid { grid-template-columns: 1fr; }
}
.nb-reason-card {
  background: #f7f5f4;
  border: 1px solid #e5e5e5;
  border-left: 4px solid #87516e;
  padding: 24px;
}
.nb-reason-icon {
  font-size: 24px;
  margin-bottom: 10px;
}
.nb-reason-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
}
.nb-reason-card p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin: 0;
}

.nb-contact-form-section {
  background: #f7f5f4;
  padding: 64px 24px;
}
.nb-form-wrap {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 8px;
}

.nb-contact-direct {
  padding: 40px 24px;
  background: #111;
}
.nb-direct-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.nb-direct-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}
.nb-direct-label {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.nb-direct-item a {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-style: italic;
  color: #a6e1bb;
  text-decoration: none;
}
.nb-direct-item a:hover { text-decoration: underline; }
.nb-direct-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .nb-direct-grid { flex-direction: column; gap: 24px; }
  .nb-direct-divider { display: none; }
}


/* ════════════════════════════════════════════════════════════
   EVENTS PAGE
   ════════════════════════════════════════════════════════════ */

/* WHY SUBMIT */
.nb-events-why {
  background: #fff;
  padding: 64px 24px;
  border-bottom: 1px solid var(--gray-mid);
}
.nb-events-why-inner {
  max-width: 1060px;
  margin: 0 auto;
}
.nb-events-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.nb-events-why-item {
  border-top: 2px solid var(--primary);
  padding-top: 20px;
}
.nb-events-why-icon {
  font-size: 24px;
  margin-bottom: 12px;
}
.nb-events-why-item h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
  color: #111;
}
.nb-events-why-item p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: #555;
  line-height: 1.65;
}

/* HOW TO SUBMIT */
.nb-events-howto {
  background: var(--bg-warm);
  padding: 64px 24px;
  border-bottom: 1px solid var(--gray-mid);
}
.nb-events-howto-inner {
  max-width: 760px;
  margin: 0 auto;
}
.nb-events-howto-sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  color: #666;
  margin: -8px 0 40px;
  line-height: 1.6;
}
.nb-events-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}
.nb-events-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-mid);
}
.nb-events-step:first-child { padding-top: 0; }
.nb-events-step:last-child { border-bottom: none; }
.nb-events-step-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.35;
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
  text-align: right;
}
.nb-events-step-body h3 {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 6px;
}
.nb-events-step-body p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: #555;
  line-height: 1.65;
}
.nb-events-howto-cta { text-align: center; }

/* PROMOTE YOUR EVENT */
.nb-events-promote {
  background: #111;
  color: #fff;
  padding: 64px 24px;
}
.nb-events-promote-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: center;
}
.nb-events-promote-text .nb-hero-eyebrow {
  color: var(--secondary);
  border-color: var(--secondary);
  margin-bottom: 16px;
}
.nb-events-promote-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.nb-events-promote-text p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 16px;
}
.nb-events-promote-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.nb-events-promote-list li {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.nb-events-promote-list li:last-child { border-bottom: none; }
.nb-events-promote-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 12px;
}
.nb-events-promote-list li strong { color: #fff; }
.nb-events-promote-callout {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 32px;
}
.nb-events-promote-callout-inner { display: flex; flex-direction: column; gap: 0; }
.nb-events-promote-callout-label {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 4px;
}
.nb-events-promote-stat {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.nb-events-promote-stat-label {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
}
.nb-events-promote-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 20px 0;
}

/* BROWSE CTA BAND */
.nb-events-browse {
  background: var(--secondary);
  padding: 28px 24px;
  border-top: 2px solid var(--primary);
}
.nb-events-browse-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.nb-events-browse-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  color: #111;
  line-height: 1.5;
}
.nb-events-browse-text strong { font-weight: 700; }

@media (max-width: 860px) {
  .nb-events-why-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nb-events-promote-inner { grid-template-columns: 1fr; }
  .nb-events-promote-callout { display: none; }
  .nb-events-browse-inner { flex-direction: column; align-items: flex-start; }
  .nb-tenets-inner { flex-direction: column; gap: 20px; }
  .nb-tenet-divider { width: 40px; height: 1px; }
}
@media (max-width: 560px) {
  .nb-events-why { padding: 40px 16px; }
  .nb-events-why-grid { grid-template-columns: 1fr; gap: 24px; }
  .nb-events-why-item h3 { font-size: 16px; }
  .nb-events-howto { padding: 40px 16px; }
  .nb-events-howto-inner { max-width: 100%; }
  .nb-events-step { gap: 14px; padding: 20px 0; }
  .nb-events-step-num { font-size: 26px; width: 28px; }
  .nb-events-promote { padding: 40px 16px; }
  .nb-events-promote-text h2 { font-size: 26px; }
  .nb-events-browse { padding: 20px 16px; }
  .nb-events-browse-inner { gap: 16px; }
  .nb-events-howto-cta .nb-btn-primary { display: block; text-align: center; }
  .nb-events-promote-text .nb-btn-primary,
  .nb-events-promote-text .nb-btn-secondary { display: block; text-align: center; margin-left: 0 !important; margin-top: 10px; }
}

/* Add these pages to the wide-layout list in page.php */
/* page slugs: about, contact, newberg-events/events-calendar */


/* ════════════════════════════════════════════════════════════
   LOCAL REPORTING 101 PAGE
   ════════════════════════════════════════════════════════════ */

/* HERO */
.nb-rl-hero {
  background: #1a1a2e;
  color: #fff;
  padding: 80px 24px;
  text-align: center;
}
.nb-rl-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}
.nb-rl-hero .nb-hero-eyebrow {
  color: var(--secondary);
  border-color: var(--secondary);
  margin-bottom: 20px;
}
.nb-rl-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}
.nb-rl-hero p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* QUICK NAV */
.nb-rl-nav {
  background: #fff;
  border-bottom: 2px solid var(--gray-mid);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.nb-rl-nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  min-height: 48px;
  flex-wrap: nowrap;
}
.nb-rl-nav-inner::-webkit-scrollbar { display: none; }
.nb-rl-nav-label {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  white-space: nowrap;
  margin-right: 16px;
  flex-shrink: 0;
}
.nb-rl-nav-inner a {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  white-space: nowrap;
  padding: 0 16px;
  height: 48px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--gray-mid);
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.nb-rl-nav-inner a:first-of-type { border-left: 1px solid var(--gray-mid); }
.nb-rl-nav-inner a:hover { color: var(--primary); background: #faf8f7; }

/* SECTIONS */
.nb-rl-section {
  padding: 64px 24px;
  background: #fff;
  border-bottom: 1px solid var(--gray-mid);
}
.nb-rl-section--alt { background: var(--bg-warm); }
.nb-rl-section--dark {
  background: #111;
  color: #fff;
}
.nb-rl-section-inner {
  max-width: 1060px;
  margin: 0 auto;
}
.nb-rl-section-inner--narrow {
  max-width: 760px;
}
.nb-rl-intro {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  color: #555;
  line-height: 1.75;
  max-width: 800px;
  margin: 0 0 40px;
}
.nb-rl-intro--light { color: rgba(255,255,255,0.7); }

/* STEPS (how it works) */
.nb-rl-steps { display: flex; flex-direction: column; }
.nb-rl-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-mid);
}
.nb-rl-step:first-child { padding-top: 0; }
.nb-rl-step:last-child { border-bottom: none; padding-bottom: 0; }
.nb-rl-step-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  text-align: right;
  padding-top: 2px;
}
.nb-rl-step-body h3 {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 8px;
}
.nb-rl-step-body p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* TWO-COLUMN LAYOUT */
.nb-rl-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.nb-rl-col-head {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.nb-rl-col p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* LISTS */
.nb-rl-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.nb-rl-list li {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  padding: 8px 0 8px 18px;
  border-bottom: 1px solid var(--gray-mid);
  position: relative;
}
.nb-rl-list li:last-child { border-bottom: none; }
.nb-rl-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.nb-rl-list li strong { color: #222; }

/* TIP BOX */
.nb-rl-tip {
  background: rgba(135,81,110,0.07);
  border-left: 3px solid var(--primary);
  padding: 14px 16px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: #444;
  line-height: 1.65;
}
.nb-rl-tip strong { color: #111; }

/* EXAMPLE BOXES */
.nb-rl-example {
  background: #f0eeed;
  border-left: 3px solid #ccc;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.nb-rl-example--good {
  background: rgba(166,225,187,0.2);
  border-left-color: #5a9e72;
}
.nb-rl-example-label {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 6px;
}
.nb-rl-example--good .nb-rl-example-label { color: #5a9e72; }
.nb-rl-example p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  color: #444;
  line-height: 1.6;
  margin: 0 !important;
  font-style: italic;
}

/* INVERTED PYRAMID */
.nb-rl-pyramid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 40px auto 0;
  max-width: 600px;
}
.nb-rl-pyramid-tier {
  display: flex;
  justify-content: center;
}
.nb-rl-pyramid-label {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: #333;
  line-height: 1.55;
  padding: 20px 24px;
  text-align: center;
  width: 100%;
}
.nb-rl-pyramid-label strong {
  display: block;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: #fff;
}
.nb-rl-pyramid-label p { color: rgba(255,255,255,0.8); margin: 0; font-size: 13px; }
.nb-rl-pyramid-tag {
  display: inline-block;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 2px 8px;
  margin-bottom: 8px;
}
.nb-rl-pyramid-tier--1 { clip-path: polygon(12% 0%, 88% 0%, 100% 100%, 0% 100%); background: var(--primary); min-height: 110px; align-items: center; }
.nb-rl-pyramid-tier--2 { clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%); background: #6d4058; min-height: 110px; margin-top: -2px; align-items: center; }
.nb-rl-pyramid-tier--3 { clip-path: polygon(4% 0%, 96% 0%, 100% 100%, 0% 100%); background: #4d2e3e; min-height: 110px; margin-top: -2px; align-items: center; }
.nb-rl-pyramid-tier--4 { clip-path: polygon(0% 0%, 100% 0%, 96% 100%, 4% 100%); background: #2e1a26; min-height: 110px; margin-top: -2px; align-items: center; }

/* ETHICS GRID */
.nb-rl-ethics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 40px;
  background: rgba(255,255,255,0.06);
}
.nb-rl-ethics-item {
  background: rgba(255,255,255,0.04);
  padding: 32px 28px;
  border-top: 2px solid var(--secondary);
}
.nb-rl-ethics-icon {
  font-size: 22px;
  margin-bottom: 12px;
}
.nb-rl-ethics-item h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 10px;
}
.nb-rl-ethics-item p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: rgba(255,255,255,0.68);
  line-height: 1.7;
  margin: 0;
}
.nb-rl-ethics-item em { color: rgba(255,255,255,0.9); font-style: italic; }
.nb-rl-ethics-note {
  margin-top: 32px;
  background: rgba(166,225,187,0.1);
  border-left: 3px solid var(--secondary);
  padding: 16px 20px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
}
.nb-rl-ethics-note strong { color: var(--secondary); }
.nb-section-header--light h2 { color: #fff; }
.nb-section-header--light .nb-section-header-line { background: rgba(255,255,255,0.2); }

/* TIPS CARDS GRID */
.nb-rl-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.nb-rl-tip-card {
  background: #fff;
  border: 1px solid var(--gray-mid);
  border-top: 3px solid var(--primary);
  padding: 24px 20px;
}
.nb-rl-tip-card-icon {
  font-size: 22px;
  margin-bottom: 12px;
}
.nb-rl-tip-card h3 {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111;
  margin-bottom: 8px;
}
.nb-rl-tip-card p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: #555;
  line-height: 1.65;
  margin: 0;
}

/* PITCH CTA */
.nb-rl-pitch {
  background: #111;
  padding: 72px 24px;
}
.nb-rl-pitch-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}
.nb-rl-pitch-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.nb-rl-pitch-text p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 16px;
}
.nb-rl-pitch-rules {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 28px;
}
.nb-rl-pitch-rules-head {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
}
.nb-rl-pitch-rules ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nb-rl-pitch-rules li {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: rgba(255,255,255,0.68);
  line-height: 1.6;
  padding: 8px 0 8px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
}
.nb-rl-pitch-rules li:last-child { border-bottom: none; }
.nb-rl-pitch-rules li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 11px;
}

/* PITCH FORM */
.nb-rl-pitch-form {
  background: #1a1a2e;
  padding: 72px 24px;
  border-top: 2px solid rgba(255,255,255,0.08);
}
.nb-rl-pitch-form-inner {
  max-width: 860px;
  margin: 0 auto;
}
.nb-rl-form-wrap {
  margin-top: 32px;
  background: #fff;
  padding: 4px;
}
.nb-rl-form-wrap iframe {
  display: block;
  width: 100%;
  border: none;
}

/* REPORTING 101 — RESPONSIVE */
@media (max-width: 900px) {
  .nb-rl-two-col { grid-template-columns: 1fr; gap: 32px; }
  .nb-rl-ethics-grid { grid-template-columns: 1fr; gap: 2px; }
  .nb-rl-tips-grid { grid-template-columns: 1fr 1fr; }
  .nb-rl-pitch-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .nb-rl-hero { padding: 52px 16px; }
  .nb-rl-section { padding: 44px 16px; }
  .nb-rl-step { gap: 16px; padding: 20px 0; }
  .nb-rl-step-num { font-size: 30px; width: 32px; }
  .nb-rl-tips-grid { grid-template-columns: 1fr; }
  .nb-rl-pyramid-tier--1,
  .nb-rl-pyramid-tier--2,
  .nb-rl-pyramid-tier--3,
  .nb-rl-pyramid-tier--4 { clip-path: none; margin-top: 2px; min-height: auto; }
  .nb-rl-pyramid-tier--1 { background: var(--primary); }
  .nb-rl-pyramid-tier--2 { background: #6d4058; }
  .nb-rl-pyramid-tier--3 { background: #4d2e3e; }
  .nb-rl-pyramid-tier--4 { background: #2e1a26; }
  .nb-rl-pitch { padding: 44px 16px; }
  .nb-rl-pitch-text .nb-btn-primary { display: block; text-align: center; }
}


/* ════════════════════════════════════════════════════════════
   PRINT ARCHIVE PAGE
   ════════════════════════════════════════════════════════════ */

/* HERO */
.nb-pa-hero {
  background: #111;
  color: #fff;
  padding: 64px 24px 52px;
  border-bottom: 3px solid var(--primary);
}
.nb-pa-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}
.nb-pa-hero .nb-hero-eyebrow {
  color: var(--secondary);
  border-color: var(--secondary);
  margin-bottom: 16px;
}
.nb-pa-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.nb-pa-hero p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* LATEST ISSUE */
.nb-pa-latest {
  background: var(--bg-warm);
  padding: 56px 24px;
  border-bottom: 1px solid var(--gray-mid);
}
.nb-pa-latest-inner {
  max-width: 1060px;
  margin: 0 auto;
}
.nb-pa-latest-badge {
  display: inline-block;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 4px 12px;
  margin-bottom: 24px;
}
.nb-pa-latest-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.nb-pa-latest-cover {
  display: block;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  overflow: hidden;
  flex-shrink: 0;
  background: #e8e4e0;
  aspect-ratio: 17/22;
}
.nb-pa-latest-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.nb-pa-latest-cover:hover img { transform: scale(1.02); }
.nb-pa-cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(135,81,110,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.nb-pa-latest-cover:hover .nb-pa-cover-overlay,
.nb-pa-card-cover:hover .nb-pa-cover-overlay { opacity: 1; }
.nb-pa-cover-overlay span {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

/* COVER PLACEHOLDER */
.nb-pa-cover-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: #e0dbd6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.nb-pa-cover-placeholder span { font-size: 40px; }
.nb-pa-cover-placeholder p {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 11px;
  color: #999;
  text-align: center;
  line-height: 1.5;
}
.nb-pa-cover-placeholder--small { min-height: 180px; }
.nb-pa-cover-placeholder--small span { font-size: 28px; }

/* LATEST INFO */
.nb-pa-edition-label {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.nb-pa-latest-info h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: #111;
  line-height: 1.15;
  margin-bottom: 10px;
}
.nb-pa-date {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
}
.nb-pa-latest-desc {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}
.nb-pa-latest-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* ARCHIVE GRID */
.nb-pa-archive {
  background: #fff;
  padding: 56px 24px 72px;
}
.nb-pa-archive-inner {
  max-width: 1060px;
  margin: 0 auto;
}
.nb-pa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.nb-pa-card { display: flex; flex-direction: column; }
.nb-pa-card-cover {
  display: block;
  position: relative;
  overflow: hidden;
  background: #e8e4e0;
  aspect-ratio: 17/22;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  margin-bottom: 14px;
}
.nb-pa-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}
.nb-pa-card-cover:hover img { transform: scale(1.03); }
.nb-pa-card-info { flex: 1; }
.nb-pa-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  margin-bottom: 4px;
}
.nb-pa-download {
  display: inline-block;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: 6px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
.nb-pa-download:hover { border-bottom-color: var(--primary); }

/* EMPTY STATE */
.nb-pa-empty {
  padding: 80px 24px;
  text-align: center;
  background: var(--bg-warm);
}
.nb-pa-empty-inner { max-width: 480px; margin: 0 auto; }
.nb-pa-empty p:first-child { font-size: 48px; margin-bottom: 16px; }
.nb-pa-empty h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  color: #222;
  margin-bottom: 12px;
}
.nb-pa-empty p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  color: #666;
  line-height: 1.65;
}

/* PRINT ARCHIVE — RESPONSIVE */
@media (max-width: 900px) {
  .nb-pa-latest-layout { grid-template-columns: 240px 1fr; gap: 36px; }
  .nb-pa-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 680px) {
  .nb-pa-latest-layout { grid-template-columns: 1fr; gap: 28px; }
  .nb-pa-latest-cover { max-width: 280px; }
  .nb-pa-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .nb-pa-latest-actions { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .nb-pa-grid { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════════════
   ADVERTISING — HOMEPAGE UNITS
   ════════════════════════════════════════════════════════════ */

/* Mid-feed 3:2 banner between scrollers */
.ad-midfeed {
  margin: 8px 0 4px;
  padding: 12px 0 16px;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  text-align: center;
}
.ad-midfeed-unit {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 3 / 2;
  max-height: 220px; /* cap height so it's a banner, not a billboard */
  margin: 0 auto;
  background: #f0f0f0;
}
@media (max-width: 600px) {
  .ad-midfeed-unit { max-height: 140px; }
}

/* Sponsored tile inside scroller */
.story-card--sponsored {
  border: 1.5px dashed #ccc;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  padding: 12px;
}
.story-card--sponsored .ad-label {
  margin-bottom: 8px;
  align-self: flex-start;
}
.ad-sponsored-tile {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #e8e8e8;
}

/* ── PAID PARTNERSHIP CARD ── */
.story-card--pp {
  border-left: 3px solid var(--primary);
  background: #fdf8fb;
  position: relative;
  padding: 10px;
}
.story-card--pp-phase1 {
  border: 2px solid var(--primary);
  background: #faf5f8;
  padding: 10px;
}
.pp-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 3px 8px;
  display: inline-block;
  margin-bottom: 8px;
}
.story-card--pp h3 a:hover { color: var(--primary-dark, #6d3f58); }

/* ── PAID PARTNERSHIP ARTICLE DISCLOSURE ── */
.pp-disclosure {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #faf5f8;
  border: 1px solid rgba(135,81,110,0.2);
  border-left: 3px solid var(--primary);
  padding: 12px 16px;
  margin-bottom: 20px;
}
.pp-disclosure-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 3px 8px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 1px;
}
.pp-disclosure p {
  font-family: var(--sans);
  font-size: 12px;
  color: #666;
  line-height: 1.55;
  margin: 0;
}
.pp-disclosure p a {
  color: var(--primary);
  text-decoration: underline;
}

/* ════════════════════════════════════════════════════════════
   ADVERTISING — ARTICLE SIDEBAR RAIL
   ════════════════════════════════════════════════════════════ */

/* Three-column wrapper: empty gutter | article | ad rail */
.article-with-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}



/* Ad rail */
.article-ad-rail {
  display: none; /* hidden on mobile */
}
@media (min-width: 1080px) {
  .article-ad-rail {
    display: block;
  }
  .ad-rail-sticky {
    position: sticky;
    top: 24px;
  }
}
.ad-rail-unit {
  width: 300px;
  height: 250px;
  background: #f0f0f0;
  max-width: 100%;
}
.ad-rail-unit--lower {
  margin-top: 8px;
}

/* Inline paragraph ads (auto-injected) */
.ad-inline {
  margin: 24px 0;
  padding: 16px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  text-align: center;
}


/* ════════════════════════════════════════════════════════════
   NEWSLETTER SUBSCRIBE PAGE
   ════════════════════════════════════════════════════════════ */

.nb-nl-hero {
  background: #87516e;
  padding: 64px 24px;
}
.nb-nl-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .nb-nl-hero-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* Left col */
.nb-nl-hero-left .nb-hero-eyebrow { color: rgba(255,255,255,0.7); }
.nb-nl-hero-left h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 12px 0 20px;
}
.nb-nl-hero-left p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}
.nb-nl-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.nb-nl-bullets li {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  line-height: 1.5;
}
.nb-nl-archive-link {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #a6e1bb;
  text-decoration: none;
}
.nb-nl-archive-link:hover { text-decoration: underline; }

/* Form card */
.nb-nl-form-card {
  background: #fff;
  padding: 36px 32px;
  position: relative;
}
.nb-nl-form-badge {
  display: inline-block;
  background: #a6e1bb;
  color: #000;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 16px;
}
.nb-nl-form-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: #111;
  margin: 0 0 8px;
}
.nb-nl-form-card p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}
.nb-nl-fine-print {
  font-family: 'Libre Franklin', Helvetica, sans-serif !important;
  font-size: 11px !important;
  color: #999 !important;
  margin-top: 14px !important;
  line-height: 1.5 !important;
}

/* What's inside grid */
.nb-nl-what-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 700px) {
  .nb-nl-what-grid { grid-template-columns: 1fr; }
}
.nb-nl-what-card {
  padding: 24px;
  border: 1px solid #e5e5e5;
  background: #fff;
}
.nb-nl-what-icon {
  font-size: 26px;
  margin-bottom: 12px;
}
.nb-nl-what-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
}
.nb-nl-what-card p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  line-height: 1.75;
  color: #555;
  margin: 0;
}

/* Open rate callout band */
.nb-nl-callout {
  background: #000;
  padding: 48px 24px;
}
.nb-nl-callout-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}
@media (max-width: 700px) {
  .nb-nl-callout-inner { flex-direction: column; gap: 20px; text-align: center; }
}
.nb-nl-callout-stat {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(56px, 8vw, 88px);
  font-weight: 700;
  color: #a6e1bb;
  line-height: 1;
  flex-shrink: 0;
}
.nb-nl-callout-text {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}
.nb-nl-callout-text strong {
  display: block;
  color: #fff;
  font-size: 20px;
  margin-bottom: 8px;
}

/* Bottom CTA */
.nb-nl-bottom-cta {
  background: #87516e;
  padding: 72px 24px;
  text-align: center;
}
.nb-nl-bottom-cta-inner {
  max-width: 520px;
  margin: 0 auto;
}
.nb-nl-bottom-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.nb-nl-bottom-cta > .nb-nl-bottom-cta-inner > p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
}
.nb-nl-form-card--dark {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.15);
  text-align: left;
}
.nb-nl-form-card--dark h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}


/* ════════════════════════════════════════════════════════════
   JOB BOARD — LISTINGS PAGE (native WPJM classes)
   ════════════════════════════════════════════════════════════ */

/* Native filter form */
.job_filters { margin-bottom: 32px; }
.job_filters .search_jobs {
  background: #f7f5f4;
  border: 1px solid #e5e5e5;
  border-top: 3px solid #87516e;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  box-sizing: border-box;
}
.job_filters .search_keywords,
.job_filters .search_location { flex: 1; min-width: 140px; }
.job_filters .search_categories { flex: 1; min-width: 160px; }
.job_filters label {
  display: block;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 6px;
}
.job_filters input[type="text"],
.job_filters select {
  width: 100%;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: #222;
  background: #fff;
  border: 1.5px solid #ddd;
  padding: 10px 14px;
  outline: none;
  box-sizing: border-box;
  height: 42px;
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}
.job_filters input[type="text"]:focus,
.job_filters select:focus { border-color: #87516e; }
.job_filters .search_submit { flex-shrink: 0; }
.job_filters .search_submit input[type="submit"] {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #87516e;
  color: #fff;
  border: none;
  padding: 0 24px;
  height: 42px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}
.job_filters .search_submit input[type="submit"]:hover { background: #6e4059; }
/* Job type checkboxes row */
.job_filters .job_types {
  width: 100%;
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #555;
}
.job_filters .job_types li { list-style: none; display: flex; align-items: center; gap: 5px; }
.showing_jobs { font-family: 'Libre Franklin', Helvetica, sans-serif; font-size: 12px; color: #888; margin-bottom: 16px; }

/* Native job listing cards */
ul.job_listings {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.job_listings li.job_listing {
  border: 1px solid #e5e5e5;
  border-left: 3px solid transparent;
  margin-bottom: 8px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
ul.job_listings li.job_listing:hover {
  border-left-color: #87516e;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
ul.job_listings li.job_listing a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  text-decoration: none;
  color: inherit;
}
ul.job_listings li.job_listing .job-thumbnail,
ul.job_listings li.job_listing .company-logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
  border: 1px solid #eee;
  background: #f7f5f4;
}
ul.job_listings li.job_listing .position {
  flex: 1;
  min-width: 0;
}
ul.job_listings li.job_listing h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: #111;
  margin: 0 0 5px;
  line-height: 1.3;
}
ul.job_listings li.job_listing:hover h3 { color: #87516e; }
ul.job_listings li.job_listing .company,
ul.job_listings li.job_listing .meta {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 12px;
  color: #888;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
}
ul.job_listings li.job_listing .company strong,
ul.job_listings li.job_listing .company-name { color: #555; font-weight: 600; }
ul.job_listings li.job_listing .job-type,
ul.job_listings li.job_listing .job_type {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: #f0ebe9;
  color: #87516e;
  border: 1px solid #ddd3d0;
  white-space: nowrap;
}

/* Job type badges (used on single page too) */
.nb-job-type-badge {
  display: inline-block;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: #f0ebe9;
  color: #87516e;
  border: 1px solid #ddd3d0;
}
.nb-job-type-badge--sm { font-size: 9px; padding: 2px 6px; }

/* ── JOB BOARD MOBILE OVERRIDES ── */
@media (max-width: 600px) {
  /* Stack card vertically so title/company/meta don't squish */
  ul.job_listings li.job_listing a {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
  ul.job_listings li.job_listing .job-thumbnail,
  ul.job_listings li.job_listing .company-logo {
    width: 40px;
    height: 40px;
  }
  ul.job_listings li.job_listing h3 { font-size: 15px; }
  ul.job_listings li.job_listing .company,
  ul.job_listings li.job_listing .meta { font-size: 12px; flex-wrap: wrap; gap: 4px 8px; }
  ul.job_listings li.job_listing .job-type,
  ul.job_listings li.job_listing .job_type { align-self: flex-start; }
  /* Filter form stacks full width */
  .job_filters .search_jobs { flex-direction: column; gap: 10px; padding: 16px; }
  .job_filters .search_keywords,
  .job_filters .search_location,
  .job_filters .search_categories { min-width: 100%; }
  .job_filters .search_submit,
  .job_filters .search_submit input[type="submit"] { width: 100%; }
}


/* ════════════════════════════════════════════════════════════
   JOB BOARD — SINGLE JOB PAGE
   ════════════════════════════════════════════════════════════ */

.nb-jobs-single-wrap { background: #fff; }

/* Job page header */
.nb-job-header {
  background: #111;
  padding: 48px 24px;
}
.nb-job-header-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.nb-job-back {
  display: inline-block;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.nb-job-back:hover { color: #a6e1bb; }
.nb-job-types { margin-bottom: 12px; }
.nb-job-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.2;
}
.nb-job-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.nb-job-company { color: rgba(255,255,255,0.9); font-weight: 600; }
.nb-job-meta-sep { color: rgba(255,255,255,0.3); }
.nb-job-location { display: flex; align-items: center; gap: 4px; }
.nb-job-header-logo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.nb-job-header-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Job body two-col */
.nb-job-body { padding: 48px 24px; background: #f7f5f4; }
.nb-job-body-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 768px) {
  .nb-job-body-inner { grid-template-columns: 1fr; }
  .nb-job-header-logo { display: none; }
}

/* Job description */
.nb-job-description {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 32px;
}
.nb-job-description p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 16px;
}
.nb-job-description ul,
.nb-job-description ol {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  padding-left: 20px;
  margin-bottom: 16px;
}
.nb-job-description h2,
.nb-job-description h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #111;
  margin: 28px 0 12px;
}

/* Apply section */
.nb-job-apply {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 2px solid #e5e5e5;
}
.nb-job-apply-label {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 12px;
}
.nb-job-apply-email {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 14px;
  color: #555;
  margin-bottom: 14px;
}
.nb-job-apply-email a { color: #87516e; }
.nb-job-apply-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #87516e;
  color: #fff;
  padding: 14px 28px;
  text-decoration: none;
  transition: background 0.2s;
}
.nb-job-apply-btn:hover { background: #6e4059; color: #fff; }

/* Sidebar cards */
.nb-job-sidebar { display: flex; flex-direction: column; gap: 16px; }
.nb-job-sidebar-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 20px;
}
.nb-job-sidebar-logo {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  display: block;
  margin-bottom: 12px;
}
.nb-job-sidebar-company {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}
.nb-job-sidebar-website {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #87516e;
  text-decoration: none;
}
.nb-job-sidebar-website:hover { text-decoration: underline; }
.nb-job-sidebar-label {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 14px;
}
.nb-job-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nb-job-details-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid #f2f2f2;
  gap: 12px;
}
.nb-detail-key {
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 11px;
  color: #999;
  flex-shrink: 0;
}
.nb-detail-val {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  color: #333;
  text-align: right;
}
.nb-job-sidebar-post {
  background: #f7f5f4;
  border-color: #e5e5e5;
}
.nb-job-sidebar-post p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 13px;
  color: #666;
  margin: 0 0 14px;
  line-height: 1.5;
}
.nb-job-post-btn {
  display: block;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #87516e;
  border: 2px solid #87516e;
  padding: 10px 16px;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nb-job-post-btn:hover { background: #87516e; color: #fff; }




/* ════════════════════════════════════════════════════════════
   ARCHIVE / CATEGORY PAGES
   ════════════════════════════════════════════════════════════ */

.arc-wrapper { padding-top: 28px; }

/* Archive header */
.arc-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--black);
}
.arc-header-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.arc-header-title {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 8px;
}
.arc-header-desc {
  font-family: var(--serif-body);
  font-size: 15px;
  color: var(--gray-dark);
  line-height: 1.65;
  max-width: 640px;
}

/* Grid wrap — gives context for the ad break */
.arc-grid-wrap { width: 100%; }

/* 3-column story grid */
.arc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}

/* Story card */
.arc-card {
  display: flex;
  flex-direction: column;
}
.arc-card-img {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--gray-light);
  margin-bottom: 12px;
  flex-shrink: 0;
}
.arc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}
.arc-card:hover .arc-card-img img { transform: scale(1.03); }
.arc-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gray-light);
}
.arc-card-body { flex: 1; }
.arc-card-title {
  font-family: var(--serif);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--black);
}
.arc-card-title a { color: inherit; }
.arc-card-title a:hover { color: var(--primary); }
.arc-card-excerpt {
  font-family: var(--serif-body);
  font-size: 13px;
  color: #555;
  line-height: 1.55;
  margin-bottom: 10px;
}
.arc-card-meta {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--gray-dark);
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}
.arc-card .kicker {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 5px;
}

/* Full-width ad break between rows */
.arc-ad-break {
  width: 100%;
  margin: 8px 0;
  padding: 12px 0 16px;
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
  text-align: center;
  overflow: hidden;
  clear: both;
}
.arc-ad-unit {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  min-height: 90px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arc-ad-unit broadstreet-zone,
.arc-ad-unit > * {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}
/* Force broadstreet iframe/inner content to center */
.arc-ad-unit broadstreet-zone iframe,
.arc-ad-unit broadstreet-zone > div {
  margin: 0 auto !important;
  float: none !important;
}

/* Pagination */
.arc-pagination {
  margin: 40px 0 20px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.arc-pagination .page-numbers {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 13px;
  border: 1.5px solid var(--gray-mid);
  color: #444;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.arc-pagination .page-numbers:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.arc-pagination .page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.arc-pagination .page-numbers.dots {
  border-color: transparent;
  pointer-events: none;
}

/* Empty state */
.arc-empty {
  padding: 48px 0;
  font-family: var(--serif-body);
  font-size: 16px;
  color: var(--gray-dark);
}

/* Responsive */
@media (max-width: 860px) {
  .arc-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
}
@media (max-width: 520px) {
  .arc-grid { grid-template-columns: 1fr; gap: 28px; }
  .arc-card-img { aspect-ratio: 16/9; }
}
/* Hide orphaned last card that would sit alone on a row */
@media (min-width: 861px) {
  .arc-card:last-child:nth-child(3n+1) { display: none; }
}
@media (min-width: 521px) and (max-width: 860px) {
  .arc-card:last-child:nth-child(2n+1) { display: none; }
}


/* ════════════════════════════════════════════════════════════
   LEGAL NOTICES PAGE
   ════════════════════════════════════════════════════════════ */

.nb-ln-hero {
  background: #111;
  padding: 64px 24px 52px;
  border-bottom: 3px solid var(--primary);
}
.nb-ln-hero-inner { max-width: 860px; margin: 0 auto; }
.nb-ln-hero .nb-hero-eyebrow { color: var(--secondary); border-color: var(--secondary); margin-bottom: 16px; }
.nb-ln-hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
}
.nb-ln-hero p { font-family: var(--serif-body); font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 640px; }

.nb-ln-section { background: var(--bg-warm); padding: 48px 24px 64px; }
.nb-ln-section-inner { max-width: 860px; margin: 0 auto; }

.nb-ln-list { display: flex; flex-direction: column; gap: 0; }
.nb-ln-notice {
  background: #fff;
  border: 1px solid var(--gray-mid);
  border-left: 4px solid var(--primary);
  padding: 28px 32px;
  margin-bottom: 16px;
  position: relative;
}
.nb-ln-notice--urgent { border-left-color: #c0392b; }

/* Paid tag: static block at top, full width row of its own */
.nb-ln-paid-tag {
  position: static;
  display: inline-block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  background: var(--gray-light);
  padding: 2px 8px;
  margin-bottom: 10px;
}
.nb-ln-notice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-top: 0;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.nb-ln-notice-meta { display: flex; flex-direction: column; gap: 3px; }
.nb-ln-agency {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}
.nb-ln-pub-date { font-family: var(--sans); font-size: 11px; color: var(--gray-dark); }
.nb-ln-expiry {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: #555;
  text-align: right;
  white-space: nowrap;
}
.nb-ln-expiry--urgent { color: #c0392b; }
.nb-ln-days { font-weight: 400; color: #888; margin-left: 4px; }

.nb-ln-title {
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  margin-bottom: 16px;
}

.nb-ln-body {
  font-family: var(--serif-body);
  font-size: 15px;
  color: #333;
  line-height: 1.75;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-mid);
}
.nb-ln-body p { margin-bottom: 12px; }
.nb-ln-body p:last-child { margin-bottom: 0; }
/* Indent bullets — !important overrides WP block editor stylesheet */
.nb-ln-body ul,
.nb-ln-body ol { padding-left: 2em !important; margin-bottom: 12px !important; list-style: revert !important; }
.nb-ln-body ul { list-style-type: disc !important; }
.nb-ln-body ol { list-style-type: decimal !important; }
.nb-ln-body li { margin-bottom: 6px !important; display: list-item !important; }

.nb-ln-contact {
  font-family: var(--sans);
  font-size: 12px;
  color: #555;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nb-ln-contact-label { font-weight: 700; color: #111; }
.nb-ln-contact-link { color: var(--primary); text-decoration: underline; font-weight: 600; }

.nb-ln-empty {
  background: #fff;
  border: 1px dashed var(--gray-mid);
  padding: 48px 32px;
  text-align: center;
  margin-bottom: 32px;
}
.nb-ln-empty p { font-family: var(--serif-body); font-size: 15px; color: var(--gray-dark); line-height: 1.65; margin-bottom: 8px; }
.nb-ln-empty p:first-child { font-size: 20px; margin-bottom: 12px; }
.nb-ln-empty a { color: var(--primary); text-decoration: underline; }

.nb-ln-disclaimer {
  background: #fff;
  border: 1px solid var(--gray-mid);
  border-left: 4px solid #b8a070;
  padding: 16px 20px;
  margin-top: 32px;
  margin-bottom: 0;
}
.nb-ln-disclaimer p {
  font-family: var(--sans);
  font-size: 11px;
  color: #777;
  line-height: 1.65;
  margin: 0;
}
.nb-ln-disclaimer strong { color: #444; }

.nb-ln-cta { background: #111; padding: 40px; margin-top: 40px; }
.nb-ln-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.nb-ln-cta h2 { font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: #fff; margin-bottom: 10px; }
.nb-ln-cta p { font-family: var(--serif-body); font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.65; max-width: 520px; }

@media (max-width: 640px) {
  .nb-ln-notice { padding: 20px 16px; }
  .nb-ln-notice-header { flex-direction: column; }
  .nb-ln-expiry { text-align: left; }
  .nb-ln-paid-tag { margin-bottom: 10px; }
  .nb-ln-body ul, .nb-ln-body ol { padding-left: 1.5em; }
  .nb-ln-cta { padding: 28px 16px; }
  .nb-ln-cta-inner { flex-direction: column; }
}


/* ════════════════════════════════════════════════════════════
   GET THE CONTEXT — Inline story context block
   ════════════════════════════════════════════════════════════ */

.nb-context-block {
  border: 1px solid var(--gray-mid);
  border-left: 4px solid var(--primary);
  background: #faf5f8;
  margin: 28px 0;
  padding: 0;
  font-family: var(--sans);
}
.nb-context-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nb-context-icon {
  font-size: 12px;
  line-height: 1;
}
.nb-context-stories {
  padding: 4px 0;
}
.nb-context-story {
  display: block;
  padding: 14px 18px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.nb-context-story:hover {
  background: rgba(135,81,110,0.06);
  color: inherit;
}
.nb-context-kicker {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}
.nb-context-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  margin-bottom: 5px;
}
.nb-context-story:hover .nb-context-title {
  color: var(--primary);
}
.nb-context-excerpt {
  font-family: var(--serif-body);
  font-size: 13px;
  color: #555;
  line-height: 1.55;
  margin-bottom: 6px;
}
.nb-context-meta {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
}
.nb-context-divider {
  height: 1px;
  background: var(--gray-mid);
  margin: 0 18px;
}

@media (max-width: 600px) {
  .nb-context-story { padding: 12px 14px; }
  .nb-context-title { font-size: 14px; }
}


/* ════════════════════════════════════════════════════════════
   PRINT STYLES
   ════════════════════════════════════════════════════════════ */

@media print {

  /* Hide everything except the article */
  .site-header,
  .ticker-bar,
  .breaking-bar,
  .preheader,
  .article-actions,
  .article-share,
  .article-tags,
  .breadcrumb,
  .footer-newsletter,
  footer,
  .sidebar-ad-wrap,
  .broadstreet-ad,
  broadstreet-zone,
  .article-rail,
  .nb-context-block,
  .related-section,
  .pull-quote-share,
  nav,
  [class*="ad-"],
  [class*="-ad"] { display: none !important; }

  /* Page setup */
  body {
    font-family: Georgia, serif;
    font-size: 11pt;
    color: #000;
    background: #fff;
    margin: 0;
    padding: 0;
  }

  /* Article outer — full width, no rail */
  .article-outer {
    display: block !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .article-main {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Masthead — print just the logo text */
  .article-outer::before {
    content: "NEWSBERG — newsberg.org";
    display: block;
    font-family: Arial, sans-serif;
    font-size: 9pt;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #000;
    border-bottom: 2pt solid #000;
    padding-bottom: 6pt;
    margin-bottom: 16pt;
  }

  /* Headline */
  .article-header h1 {
    font-size: 22pt;
    line-height: 1.2;
    margin-bottom: 8pt;
    color: #000;
  }

  /* Deck / standfirst */
  .article-deck {
    font-size: 12pt;
    font-style: italic;
    color: #333;
    margin-bottom: 10pt;
  }

  /* Byline */
  .article-meta {
    font-size: 9pt;
    color: #555;
    border-top: 0.5pt solid #999;
    border-bottom: 0.5pt solid #999;
    padding: 5pt 0;
    margin-bottom: 14pt;
  }

  /* Featured image */
  .article-featured-img { margin-bottom: 12pt; }
  .article-featured-img img {
    max-width: 100% !important;
    height: auto !important;
  }
  .article-img-caption {
    font-size: 8pt;
    color: #555;
    font-style: italic;
    margin-top: 3pt;
  }

  /* Body text */
  .article-body {
    font-size: 11pt;
    line-height: 1.6;
    color: #000;
  }
  .article-body p { margin-bottom: 10pt; }
  .article-body h2 { font-size: 14pt; margin: 14pt 0 6pt; }
  .article-body h3 { font-size: 12pt; margin: 12pt 0 4pt; }

  /* Pull quotes — simplified for print */
  .pull-quote {
    border-left: 2pt solid #000;
    padding-left: 10pt;
    margin: 12pt 0;
    font-style: italic;
    font-size: 12pt;
  }

  /* Don't break images or pull quotes across pages */
  img, .pull-quote, blockquote { page-break-inside: avoid; }

  /* Print URL after links */
  .article-body a::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #555;
  }

  /* Footer note */
  .article-outer::after {
    content: "Originally published at newsberg.org — © " attr(data-year) " Newsberg Media LLC";
    display: block;
    font-family: Arial, sans-serif;
    font-size: 8pt;
    color: #777;
    border-top: 0.5pt solid #ccc;
    padding-top: 6pt;
    margin-top: 20pt;
  }
}


/* ════════════════════════════════════════════════════════════
   COMMUNITY PARTNER STRIP — below every article
   ════════════════════════════════════════════════════════════ */

.nb-partner-strip {
  background: var(--gray-light);
  border: 1px solid var(--gray-mid);
  border-left: 4px solid var(--primary);
  padding: 28px 32px;
  margin: 32px 0;
}
.nb-partner-strip-inner {
  width: 100%;
}
.nb-partner-strip-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.nb-partner-strip-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 4px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nb-partner-strip-desc {
  font-family: var(--sans);
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}
.nb-partner-strip-desc a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}
.nb-partner-strip-desc a:hover { color: #6d3f58; }

.nb-partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}
.nb-partner-logo {
  flex: 0 0 auto;
}
.nb-partner-logo img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  filter: grayscale(20%);
  opacity: 0.85;
  transition: opacity 0.2s, filter 0.2s;
}
.nb-partner-logo a:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

@media (max-width: 600px) {
  .nb-partner-strip { padding: 24px 16px 28px 24px; }
  .nb-partner-logos { gap: 16px 20px; }
  .nb-partner-logo img { height: 40px; max-width: 110px; }
  .nb-partner-strip-header { flex-direction: column; gap: 8px; }
}


/* ════════════════════════════════════════════════════════════
   OBITUARIES — Archive, Single, Submission
   ════════════════════════════════════════════════════════════ */

/* ── Shared hero ── */
.nb-obit-hero {
  background: #111;
  padding: 56px 24px 48px;
  border-bottom: 3px solid var(--primary);
}
.nb-obit-hero-inner { max-width: 860px; margin: 0 auto; }
.nb-obit-hero .nb-hero-eyebrow { color: var(--secondary); border-color: var(--secondary); margin-bottom: 14px; }
.nb-obit-hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 12px;
}
.nb-obit-hero p { font-family: var(--serif-body); font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 600px; }

/* ── Archive grid ── */
.nb-obit-archive-section { background: var(--bg-warm); padding: 48px 24px 64px; }
.nb-obit-archive-inner   { max-width: 1000px; margin: 0 auto; }

.nb-obit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.nb-obit-card {
  background: #fff;
  border: 1px solid var(--gray-mid);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.nb-obit-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.nb-obit-card-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nb-obit-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.nb-obit-card-photo-placeholder {
  font-size: 48px;
  color: var(--gray-mid);
  line-height: 1;
}
.nb-obit-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.nb-obit-card-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
  line-height: 1.2;
}
.nb-obit-card:hover .nb-obit-card-name { color: var(--primary); }
.nb-obit-card-dates {
  font-family: var(--sans);
  font-size: 11px;
  color: #888;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.nb-obit-card-excerpt {
  font-family: var(--serif-body);
  font-size: 13px;
  color: #555;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 12px;
}
.nb-obit-card-read {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
}
.nb-obit-empty {
  text-align: center;
  padding: 60px 0;
  color: #888;
  font-family: var(--serif-body);
}
.nb-obit-empty p:first-child { font-size: 48px; margin-bottom: 12px; }

@media (max-width: 760px) { .nb-obit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .nb-obit-grid { grid-template-columns: 1fr; } }

/* ── Single obituary ── */
.nb-obit-single { background: var(--bg-warm); padding: 40px 24px 80px; }
.nb-obit-single-inner { max-width: 760px; margin: 0 auto; }

.nb-obit-header {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--primary);
}
.nb-obit-photo {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  overflow: hidden;
  border: 3px solid var(--gray-mid);
}
.nb-obit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.nb-obit-name {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: #111;
  line-height: 1.1;
  margin-bottom: 8px;
}
.nb-obit-lifespan {
  font-family: var(--sans);
  font-size: 14px;
  color: #555;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.nb-obit-birthplace {
  font-family: var(--sans);
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}
.nb-obit-pub-date {
  font-family: var(--sans);
  font-size: 11px;
  color: #aaa;
  margin-top: 8px;
}
.nb-obit-body {
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.8;
  color: #222;
  margin-bottom: 36px;
}
.nb-obit-body p { margin-bottom: 1.4em; }

.nb-obit-details {
  background: #fff;
  border: 1px solid var(--gray-mid);
  border-left: 4px solid var(--primary);
  padding: 24px 28px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nb-obit-detail-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.nb-obit-detail-block p {
  font-family: var(--serif-body);
  font-size: 15px;
  color: #333;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 560px) {
  .nb-obit-header { flex-direction: column; gap: 20px; }
  .nb-obit-photo { width: 120px; height: 120px; }
}

/* ── Submission form ── */
.nb-obit-submit-section { background: var(--bg-warm); padding: 40px 24px 80px; }
/* Break out of WP block editor / entry-content constraints */
.entry-content .nb-obit-submit-section,
.wp-block-html .nb-obit-submit-section,
.wp-block-group .nb-obit-submit-section { width: 100%; max-width: none; }
/* Force the layout grid to be visible even in constrained containers */
.nb-obit-submit-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
  width: 100%;
}
.nb-obit-submit-inner {
  max-width: 1060px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.nb-obit-submit-inner   { max-width: 1060px; margin: 0 auto; }
.nb-obit-submit-layout  { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }

.nb-obit-form { }
.nb-obit-form-section {
  background: #fff;
  border: 1px solid var(--gray-mid);
  padding: 24px 28px;
  margin-bottom: 16px;
}
.nb-obit-form-section-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-mid);
}
.nb-obit-field { margin-bottom: 16px; }
.nb-obit-field:last-child { margin-bottom: 0; }
.nb-obit-field label {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}
.nb-obit-field input[type="text"],
.nb-obit-field input[type="email"],
.nb-obit-field input[type="tel"],
.nb-obit-field input[type="date"],
.nb-obit-field select,
.nb-obit-field textarea {
  width: 100%;
  font-family: var(--serif-body);
  font-size: 15px;
  color: #222;
  background: #fff;
  border: 1.5px solid #ddd;
  padding: 10px 14px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
  resize: vertical;
}
.nb-obit-field input:focus,
.nb-obit-field select:focus,
.nb-obit-field textarea:focus { border-color: var(--primary); }
.nb-obit-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.req { color: var(--primary); }
.nb-optional { font-weight: 400; color: #999; font-size: 11px; }

.nb-word-count-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}
#nb-word-count {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  color: #555;
  transition: color 0.2s;
}
.nb-word-count-guide { font-family: var(--sans); font-size: 11px; color: #aaa; }

/* Add-ons */
.nb-obit-add-on {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-mid);
}
.nb-obit-add-on:last-child { border-bottom: none; padding-bottom: 0; }
.nb-obit-add-on--check { cursor: pointer; }
.nb-obit-add-on-label { font-family: var(--sans); font-size: 13px; font-weight: 600; color: #222; margin-bottom: 3px; }
.nb-obit-add-on-desc  { font-family: var(--sans); font-size: 11px; color: #888; line-height: 1.5; }
.nb-obit-photo-controls { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.nb-obit-photo-count-label { font-family: var(--sans); font-size: 10px; color: #888; white-space: nowrap; }
.nb-obit-photo-stepper { display: flex; align-items: center; gap: 8px; }
.nb-stepper-btn {
  width: 28px; height: 28px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  transition: background 0.15s;
}
.nb-stepper-btn:hover { background: #6d3f58; }
#photo-count-display { font-family: var(--sans); font-size: 18px; font-weight: 700; color: #111; min-width: 20px; text-align: center; }

/* Toggle */
.nb-obit-add-on-toggle { flex-shrink: 0; }
.nb-obit-add-on-toggle input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.nb-toggle-track {
  display: block; width: 44px; height: 24px;
  background: #ddd; border-radius: 12px;
  position: relative; cursor: pointer;
  transition: background 0.2s;
}
.nb-obit-add-on-toggle input:checked + .nb-toggle-track { background: var(--primary); }
.nb-toggle-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.nb-obit-add-on-toggle input:checked + .nb-toggle-track .nb-toggle-thumb { transform: translateX(20px); }

.nb-obit-photo-note {
  font-family: var(--sans);
  font-size: 11px;
  color: #888;
  line-height: 1.6;
  margin-top: 12px;
  padding: 8px 12px;
  background: var(--gray-light);
  border-left: 2px solid var(--gray-mid);
}
.nb-obit-photo-note a { color: var(--primary); }

.nb-obit-form-error {
  background: #fde8e8;
  border-left: 3px solid #c0392b;
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 13px;
  color: #c0392b;
  margin-bottom: 16px;
}
.nb-obit-submit-btn {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 24px;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}
.nb-obit-submit-btn:hover { background: #6d3f58; }

/* Disclaimer */
.nb-obit-disclaimer {
  background: #faf8f7;
  border: 1px solid var(--gray-mid);
  border-left: 3px solid #b8a070;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.nb-obit-disclaimer-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}
.nb-obit-disclaimer-label input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}
.nb-obit-disclaimer-label span {
  font-family: var(--sans);
  font-size: 11px;
  color: #666;
  line-height: 1.65;
}
.nb-obit-submit-note {
  font-family: var(--sans);
  font-size: 11px;
  color: #888;
  line-height: 1.65;
  text-align: center;
}

/* Price panel */
.nb-obit-price-panel {
  background: #111;
  padding: 28px 24px;
  position: sticky;
  top: 80px;
  order: 2; /* always stays on the right on desktop */
}
.nb-obit-form-wrap {
  order: 1; /* always stays on the left on desktop */
}
.nb-price-panel-title {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 20px;
}
.nb-price-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nb-price-line-label { font-family: var(--sans); font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.4; }
.nb-price-line-amount { font-family: var(--sans); font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; }
.nb-price-base .nb-price-line-label { color: rgba(255,255,255,0.85); }
.nb-price-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
#nb-price-total { font-size: 28px; color: var(--secondary); }

.nb-price-includes {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.nb-price-includes-title {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
}
.nb-price-includes ul { list-style: none; padding: 0; margin: 0; }
.nb-price-includes li {
  font-family: var(--sans);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 4px;
}
.nb-price-questions {
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}
.nb-price-questions a { color: rgba(255,255,255,0.55); text-decoration: underline; }

@media (max-width: 780px) {
  .nb-obit-submit-layout { grid-template-columns: 1fr; }
  .nb-obit-form-wrap   { order: 2; }
  .nb-obit-price-panel { position: static; order: 1; }
  .nb-obit-field-row { grid-template-columns: 1fr; }
  #nb-price-total { font-size: 22px; }
  .nb-obit-form-section { padding: 18px 16px; }
  .nb-obit-submit-section { padding: 24px 16px 48px; }
  .nb-obit-add-on { flex-wrap: wrap; gap: 12px; }
  /* Larger touch targets for stepper on mobile */
  .nb-stepper-btn { width: 36px; height: 36px; font-size: 20px; }
  #photo-count-display { font-size: 20px; }
  .nb-obit-submit-btn { font-size: 13px; padding: 18px 16px; }
}

/* ── Obituary discount code field ── */
.nb-obit-discount-row {
  display: flex;
  gap: 8px;
}
.nb-obit-discount-row input {
  flex: 1;
}
.nb-apply-btn {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #111;
  color: #fff;
  border: none;
  padding: 0 16px;
  height: 42px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.nb-apply-btn:hover { background: var(--primary); }
.nb-discount-msg {
  font-family: var(--sans);
  font-size: 12px;
  padding: 6px 10px;
  margin-top: 8px;
  border-left: 2px solid;
}
.nb-discount-msg--ok  { color: #2d6b3f; background: #edf7ed; border-color: #5a9e72; }
.nb-discount-msg--err { color: #8a5000; background: #fff8f0; border-color: #e8a04a; }
