:root {
  --naf-ink: #172033;
  --naf-paper: #f9f5ec;
  --naf-cream: #fffaf1;
  --naf-line: rgba(23, 32, 51, 0.12);
  --naf-muted: #6b6f73;
  --naf-clay: #c76d4a;
  --naf-sage: #6f8f86;
  --naf-sky: #dfecee;
  --naf-sun: #f1d998;
  --naf-card: #ffffff;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wp-site-blocks > * + * {
  margin-block-start: 0;
}

a {
  text-underline-offset: 0.18em;
}

.naf-header-shell {
  border-bottom: 1px solid var(--naf-line);
  position: relative;
  z-index: 5;
}

.naf-header-inner {
  gap: 1.4rem;
}

.naf-site-title a,
.naf-story-card a,
.naf-cover-story a,
.naf-related-card a {
  color: inherit;
  text-decoration: none;
}

.naf-site-title a:hover,
.naf-story-card a:hover,
.naf-cover-story a:hover,
.naf-related-card a:hover {
  color: var(--naf-clay);
}

.naf-main-nav {
  gap: 1.2rem;
}

.naf-main-nav a {
  font-size: 0.92rem;
  font-weight: 700;
}

.naf-header-button .wp-block-button__link {
  padding: 0.72rem 1rem;
  font-size: 0.88rem;
}

.naf-home-hero {
  background:
    radial-gradient(circle at 86% 4%, rgba(111, 143, 134, 0.18), transparent 23%),
    linear-gradient(180deg, #f9f5ec 0%, #fffaf1 100%);
}

.naf-home-hero-grid {
  align-items: stretch;
  gap: 2rem;
}

.naf-hero-copy {
  grid-column: span 8;
  max-width: 820px;
}

.naf-hero-title {
  font-size: clamp(2.45rem, 1.8rem + 2.45vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin: 0.25rem 0 1.2rem;
  max-width: 760px;
}

.naf-hero-intro {
  color: var(--naf-muted);
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.22rem);
  line-height: 1.65;
  max-width: 650px;
}

.naf-hero-author-card {
  grid-column: span 4;
  background: #ffffff;
  border: 1px solid var(--naf-line);
  border-radius: 28px;
  padding: clamp(1.4rem, 1rem + 1.2vw, 2.2rem);
  box-shadow: 0 22px 55px rgba(23, 32, 51, 0.07);
}

.naf-hero-author-card h2 {
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.8rem);
  margin-top: 0.25rem;
}

.naf-section-kicker,
.naf-card-meta,
.taxonomy-category a {
  color: var(--naf-clay);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.naf-modern-front {
  display: grid;
  grid-template-columns: 0.88fr 1.25fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.naf-editor-note,
.naf-cover-story,
.naf-brief-stack,
.naf-category-modern,
.naf-email-panel,
.naf-author-box,
.naf-related-card {
  background: var(--naf-card);
  border: 1px solid var(--naf-line);
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(23, 32, 51, 0.06);
}

.naf-editor-note {
  padding: 1.4rem;
  background:
    linear-gradient(135deg, rgba(223,236,238,0.75), rgba(255,250,241,0.9));
}

.naf-editor-note h2 {
  font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem);
  margin: 0.35rem 0 0.7rem;
}

.naf-editor-note p {
  color: var(--naf-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.naf-text-link,
.naf-view-all,
.naf-section-heading a {
  color: var(--naf-clay);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.naf-cover-story {
  padding: 1rem;
}

.naf-cover-image,
.naf-story-thumb,
.naf-related-image {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: var(--naf-sky);
}

.naf-cover-image img,
.naf-story-thumb img,
.naf-related-image img,
.naf-image-placeholder {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.naf-cover-image img,
.naf-cover-image .naf-image-placeholder {
  aspect-ratio: 16 / 9;
  max-height: 260px;
}

.naf-story-thumb img,
.naf-story-thumb .naf-image-placeholder,
.naf-related-image img,
.naf-related-image .naf-image-placeholder {
  aspect-ratio: 4 / 3;
  height: 96px;
}

.naf-story-card:hover img,
.naf-cover-story:hover img,
.naf-related-card:hover img {
  transform: scale(1.035);
}

.naf-cover-story .naf-card-meta {
  margin-top: 0.95rem;
}

.naf-cover-story h2 {
  font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 0.35rem 0 0;
}

.naf-brief-stack {
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.naf-stack-header {
  border-bottom: 1px solid var(--naf-line);
  color: var(--naf-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  padding-bottom: 0.65rem;
  text-transform: uppercase;
}

.naf-story-card {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 0.85rem;
  align-items: center;
}

.naf-story-card h3 {
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.08rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
  margin: 0.18rem 0 0;
}

.naf-section-heading {
  border-top: 1px solid var(--naf-line);
  padding-top: 1.2rem;
  margin-bottom: 1.4rem;
}

.naf-section-heading h2 {
  font-size: clamp(1.8rem, 1.35rem + 1.5vw, 3rem);
  margin: 0.2rem 0 0;
}

.naf-category-modern {
  padding: clamp(1rem, 0.8rem + 1vw, 1.75rem);
  margin-bottom: 1.35rem;
}

.naf-category-titlebar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.naf-category-titlebar h2 {
  font-size: clamp(1.45rem, 1.2rem + 0.9vw, 2.2rem);
  margin: 0.2rem 0 0;
}

.naf-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.naf-category-story {
  grid-template-columns: 1fr;
  align-content: start;
  gap: 0.7rem;
  background: #fffaf6;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 22px;
  padding: 0.75rem;
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.04);
}

.naf-category-story .naf-story-thumb img,
.naf-category-story .naf-story-thumb .naf-image-placeholder {
  height: 112px;
}

.naf-category-hero {
  background:
    linear-gradient(90deg, rgba(255,250,241,0.95), rgba(223,236,238,0.68));
}

.naf-category-hero .naf-category-grid {
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
}

.naf-category-hero .naf-category-story-1 {
  background: #ffffff;
}

.naf-category-compact {
  margin-bottom: 0;
  min-height: 100%;
}

.naf-category-compact .naf-category-grid {
  grid-template-columns: 1fr;
}

.naf-category-compact .naf-category-story {
  grid-template-columns: 112px 1fr;
  background: transparent;
  box-shadow: none;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid var(--naf-line);
  border-radius: 0;
}

.naf-category-compact .naf-category-story:last-child {
  border-bottom: 0;
}

.naf-two-section-grid {
  gap: 1.35rem;
  align-items: stretch;
}

.naf-category-compact:nth-child(1) {
  background: #fffaf1;
}

.naf-category-compact:nth-child(2) {
  background: #f3f0e7;
}

.naf-email-band {
  background:
    radial-gradient(circle at 14% 20%, rgba(255,255,255,0.58), transparent 23%),
    linear-gradient(135deg, #dfecee 0%, #efe1bc 100%);
}

.naf-email-panel {
  border-radius: 30px;
}

.naf-email-placeholder {
  border: 1px dashed rgba(23, 32, 51, 0.35);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(255,255,255,0.7);
  text-align: center;
  font-weight: 700;
}

.naf-author-box {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.naf-related {
  margin: 4rem auto;
  padding: 2.25rem 0 0;
  border-top: 1px solid var(--naf-line);
}

.naf-related h2 {
  margin-top: 0.4rem;
  margin-bottom: 1.5rem;
  font-size: clamp(1.65rem, 1.25rem + 1.25vw, 2.6rem);
}

.naf-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.naf-related-card {
  overflow: hidden;
}

.naf-related-card-body {
  padding: 0.95rem;
}

.naf-related-card h3 {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  line-height: 1.22;
}

.naf-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.naf-footer a {
  color: inherit;
}

.naf-footer-list {
  padding-left: 1rem;
}

@media (max-width: 1100px) {
  .naf-modern-front,
  .naf-category-hero .naf-category-grid,
  .naf-category-grid,
  .naf-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .naf-editor-note {
    grid-column: 1 / -1;
  }
  .naf-hero-copy,
  .naf-hero-author-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .naf-modern-front,
  .naf-category-grid,
  .naf-two-section-grid,
  .naf-related-grid {
    grid-template-columns: 1fr;
  }
  .naf-story-card,
  .naf-category-compact .naf-category-story {
    grid-template-columns: 100px 1fr;
  }
  .naf-category-story:not(.naf-category-compact .naf-category-story) {
    grid-template-columns: 1fr;
  }
  .naf-category-titlebar {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* v13 polish: cleaner modern magazine layout */
:root {
  --naf-ink: #14213d;
  --naf-paper: #f8f3e9;
  --naf-cream: #fffaf2;
  --naf-soft: #f1eadf;
  --naf-line: rgba(20, 33, 61, 0.11);
  --naf-muted: #68716f;
  --naf-clay: #bd6548;
  --naf-sage: #6f8f86;
  --naf-moss: #4e7168;
  --naf-sky: #dfecee;
  --naf-sun: #f1d998;
  --naf-card: #fffdf8;
}

body {
  background: var(--naf-paper);
}

.naf-header-shell {
  background: rgba(248, 243, 233, 0.94) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 33, 61, 0.09);
  position: sticky;
  top: 0;
}

.naf-header-inner {
  display: grid !important;
  grid-template-columns: minmax(220px, 0.8fr) minmax(420px, 1.4fr) auto;
  gap: 1.4rem;
  align-items: center;
}

.naf-site-title {
  margin: 0;
}

.naf-main-nav {
  justify-content: center;
  gap: clamp(1rem, 1.6vw, 1.85rem);
}

.naf-main-nav a {
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.naf-header-button .wp-block-button__link {
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.naf-home-hero {
  background:
    radial-gradient(circle at 82% 20%, rgba(111, 143, 134, 0.12), transparent 28%),
    radial-gradient(circle at 10% 0%, rgba(189, 101, 72, 0.07), transparent 25%),
    linear-gradient(180deg, #f8f3e9 0%, #fffaf2 100%);
}

.naf-home-hero-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.naf-hero-copy {
  grid-column: 1 / span 7;
  max-width: 720px;
}

.naf-hero-title {
  font-size: clamp(2.25rem, 1.6rem + 2.5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.07em;
  max-width: 680px;
}

.naf-hero-intro {
  max-width: 580px;
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.13rem);
  line-height: 1.7;
}

.naf-hero-author-card {
  grid-column: 8 / span 5;
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(20, 33, 61, 0.055);
  background: rgba(255, 253, 248, 0.86);
}

.naf-hero-author-card h2 {
  font-size: clamp(1.2rem, 1rem + 0.65vw, 1.65rem);
  letter-spacing: -0.045em;
}

.naf-section-kicker,
.naf-card-meta,
.taxonomy-category a {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--naf-clay);
}

.naf-front-desk-wrap {
  padding-bottom: clamp(3rem, 5vw, 5rem) !important;
}

.naf-modern-front {
  display: grid;
  grid-template-columns: minmax(280px, 0.96fr) minmax(360px, 1.16fr) minmax(300px, 0.95fr);
  gap: clamp(1.15rem, 2vw, 1.8rem);
  align-items: stretch;
}

.naf-route-board,
.naf-start-panel,
.naf-brief-stack,
.naf-category-modern,
.naf-email-panel,
.naf-author-box,
.naf-related-card {
  background: var(--naf-card);
  border: 1px solid rgba(20, 33, 61, 0.1);
  border-radius: 26px;
  box-shadow: 0 16px 36px rgba(20, 33, 61, 0.045);
}

.naf-route-board {
  padding: 1.25rem;
  background: linear-gradient(155deg, #fffdf8 0%, #f2eadc 100%);
}

.naf-route-board h2 {
  font-size: clamp(1.25rem, 1.05rem + 0.65vw, 1.7rem);
  letter-spacing: -0.05em;
  margin: 0.35rem 0 1rem;
}

.naf-route-list {
  display: grid;
  gap: 0.85rem;
}

.naf-route-card {
  display: block;
  min-height: 126px;
  padding: 1rem;
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: 20px;
  color: var(--naf-ink);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.naf-route-card:hover {
  transform: translateY(-2px);
  border-color: rgba(189, 101, 72, 0.3);
  box-shadow: 0 14px 25px rgba(20, 33, 61, 0.07);
}

.naf-route-card span {
  display: block;
  color: var(--naf-clay);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.naf-route-card strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 0.35rem;
}

.naf-route-card em {
  color: rgba(20, 33, 61, 0.68);
  display: block;
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.45;
}

.naf-route-start { background: linear-gradient(135deg, #fff7ef, #f3ded4); }
.naf-route-life { background: linear-gradient(135deg, #f8fbf7, #dfeee7); }
.naf-route-place { background: linear-gradient(135deg, #f4fbfd, #dbe9ef); }

.naf-start-panel {
  padding: clamp(1.5rem, 1.1rem + 1.7vw, 2.5rem);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(241, 217, 152, 0.35), transparent 32%),
    linear-gradient(145deg, #fffdf8 0%, #f9f0e4 100%);
}

.naf-start-panel h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
  margin: 0.4rem 0 0.8rem;
}

.naf-start-panel p {
  color: var(--naf-muted);
  font-size: clamp(0.98rem, 0.95rem + 0.18vw, 1.12rem);
  line-height: 1.75;
  max-width: 45ch;
}

.naf-start-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.naf-primary-link {
  background: var(--naf-ink);
  border-radius: 999px;
  color: #fff !important;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.78rem 1rem;
  text-decoration: none;
}

.naf-editor-note,
.naf-cover-stack,
.naf-cover-story {
  display: none !important;
}

.naf-brief-stack {
  padding: 1.1rem;
  background: #fffdf8;
  gap: 0;
}

.naf-stack-header {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--naf-muted);
  padding-bottom: 0.8rem;
  margin-bottom: 0.2rem;
}

.naf-story-card {
  grid-template-columns: 92px 1fr;
  gap: 0.78rem;
  min-width: 0;
}

.naf-brief-stack .naf-story-card {
  padding: 0.72rem 0;
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
}

.naf-brief-stack .naf-story-card:last-child {
  border-bottom: 0;
}

.naf-story-thumb,
.naf-related-image,
.naf-cover-image {
  border-radius: 16px;
  background: var(--naf-sky);
}

.naf-story-thumb img,
.naf-story-thumb .naf-image-placeholder,
.naf-related-image img,
.naf-related-image .naf-image-placeholder,
.naf-category-story .naf-story-thumb img,
.naf-category-story .naf-story-thumb .naf-image-placeholder {
  width: 100%;
  height: 86px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.naf-story-card h3 {
  font-size: clamp(0.86rem, 0.82rem + 0.13vw, 0.98rem);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.naf-card-meta {
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

.naf-section-heading {
  border-top: 1px solid rgba(20, 33, 61, 0.1);
  padding-top: 1.25rem;
  margin-bottom: 1.2rem;
}

.naf-section-heading h2 {
  font-size: clamp(1.55rem, 1.18rem + 1.1vw, 2.35rem);
  letter-spacing: -0.055em;
}

.naf-home-categories {
  padding-top: clamp(2.2rem, 4vw, 4rem) !important;
  padding-bottom: clamp(4rem, 6vw, 6rem) !important;
}

.naf-category-modern {
  padding: clamp(1.1rem, 0.9rem + 0.9vw, 1.65rem);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.naf-category-titlebar {
  align-items: center;
  margin-bottom: 1.1rem;
}

.naf-category-titlebar h2 {
  font-size: clamp(1.25rem, 1.05rem + 0.75vw, 1.85rem);
  letter-spacing: -0.05em;
}

.naf-view-all,
.naf-text-link,
.naf-section-heading a {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.naf-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.naf-category-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 0.65rem;
  background: rgba(255, 253, 248, 0.78);
  border-radius: 20px;
  border: 1px solid rgba(20, 33, 61, 0.08);
  box-shadow: none;
}

.naf-category-story .naf-story-thumb img,
.naf-category-story .naf-story-thumb .naf-image-placeholder {
  height: 94px;
  aspect-ratio: 16 / 9;
}

.naf-category-story h3 {
  font-size: 0.9rem;
  line-height: 1.24;
}

.naf-category-hero {
  background: linear-gradient(110deg, rgba(255,253,248,0.95), rgba(223,236,238,0.55));
}

.naf-category-hero .naf-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.naf-two-section-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.25rem;
  align-items: stretch;
}

.naf-category-compact {
  min-height: 100%;
  background: linear-gradient(150deg, #fffdf8 0%, #f6efe4 100%);
}

.naf-category-compact:nth-child(2) {
  background: linear-gradient(150deg, #fffdf8 0%, #eaf2ef 100%);
}

.naf-category-compact .naf-category-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.naf-category-compact .naf-category-story {
  grid-template-columns: 92px 1fr;
  padding: 0.78rem 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
}

.naf-category-compact .naf-category-story:last-child {
  border-bottom: 0;
}

.naf-email-band {
  background:
    radial-gradient(circle at 8% 15%, rgba(255,255,255,0.45), transparent 24%),
    linear-gradient(120deg, #dfecee 0%, #f1e1ad 100%);
}

.naf-email-panel {
  max-width: 740px !important;
  border-radius: 28px;
  box-shadow: 0 16px 38px rgba(20, 33, 61, 0.05);
}

.naf-footer {
  background: #122529 !important;
}

.naf-footer .wp-block-heading,
.naf-footer h2,
.naf-footer h3 {
  letter-spacing: -0.04em;
}

.naf-footer p,
.naf-footer li,
.naf-footer a {
  font-size: 0.92rem;
}

@media (max-width: 1180px) {
  .naf-header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .naf-modern-front {
    grid-template-columns: 1fr 1fr;
  }
  .naf-start-panel {
    grid-column: 1 / -1;
    order: -1;
  }
  .naf-category-grid,
  .naf-category-hero .naf-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .naf-header-inner {
    justify-items: stretch;
  }
  .naf-home-hero-grid,
  .naf-modern-front,
  .naf-two-section-grid,
  .naf-category-grid,
  .naf-category-hero .naf-category-grid,
  .naf-related-grid {
    grid-template-columns: 1fr !important;
  }
  .naf-hero-copy,
  .naf-hero-author-card {
    grid-column: 1 / -1;
  }
  .naf-story-card,
  .naf-category-compact .naf-category-story {
    grid-template-columns: 88px 1fr;
  }
  .naf-category-story:not(.naf-category-compact .naf-category-story) {
    grid-template-columns: 1fr;
  }
  .naf-section-heading,
  .naf-category-titlebar {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* v14: cleaner modern magazine refinements */
:root {
  --naf-ink: #122033;
  --naf-paper: #f7f2e8;
  --naf-card: #fffdf8;
  --naf-soft: #eee6d8;
  --naf-line: rgba(18, 32, 51, 0.105);
  --naf-muted: #666f6f;
  --naf-clay: #b96145;
  --naf-sage: #789386;
  --naf-sky: #d9e8e8;
  --naf-cream: #fffaf2;
}

.naf-header-shell {
  padding-top: 0.85rem !important;
  padding-bottom: 0.85rem !important;
  box-shadow: 0 1px 0 rgba(18,32,51,0.04);
}

.naf-header-inner {
  max-width: 1320px;
  margin-inline: auto;
}

.naf-site-title {
  line-height: 1 !important;
}

.naf-site-title a {
  font-size: clamp(1.75rem, 1.45rem + 0.75vw, 2.25rem) !important;
  letter-spacing: -0.055em !important;
}

.naf-main-nav a {
  font-size: 0.82rem !important;
  font-weight: 800 !important;
}

.naf-header-actions {
  justify-content: flex-end;
}

.naf-home-hero {
  border-bottom: 1px solid rgba(18,32,51,0.07);
  background:
    radial-gradient(circle at 82% 15%, rgba(120, 147, 134, 0.14), transparent 25%),
    linear-gradient(180deg, #f7f2e8 0%, #fffaf2 100%) !important;
}

.naf-home-hero-grid {
  align-items: center !important;
  min-height: 250px;
}

.naf-hero-copy {
  grid-column: 1 / span 7 !important;
}

.naf-hero-title {
  font-size: clamp(2.1rem, 1.55rem + 2.05vw, 3.55rem) !important;
  letter-spacing: -0.065em !important;
  line-height: 1.01 !important;
  max-width: 650px !important;
  margin: 0 !important;
}

.naf-hero-image-card {
  grid-column: 8 / span 5;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(18,32,51,0.11);
  box-shadow: 0 18px 38px rgba(18,32,51,0.07);
  background: var(--naf-sky);
  aspect-ratio: 16 / 9;
  max-height: 280px;
}

.naf-hero-image-card img,
.naf-hero-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.naf-hero-image-placeholder {
  background:
    linear-gradient(135deg, rgba(18,32,51,0.15), rgba(185,97,69,0.1)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.4) 0 1px, transparent 1px 18px),
    var(--naf-sky);
}

.naf-front-desk-wrap {
  padding-top: clamp(2rem, 4vw, 3.6rem) !important;
  padding-bottom: clamp(3rem, 5vw, 4.5rem) !important;
}

.naf-modern-front {
  grid-template-columns: minmax(280px, 0.98fr) minmax(300px, 1fr) minmax(300px, 0.96fr) !important;
  gap: clamp(1rem, 1.8vw, 1.5rem) !important;
}

.naf-route-board,
.naf-start-panel,
.naf-brief-stack,
.naf-category-modern,
.naf-email-panel,
.naf-author-box,
.naf-related-card {
  border-radius: 0 !important;
  box-shadow: 0 14px 34px rgba(18, 32, 51, 0.045) !important;
}

.naf-route-board {
  padding: 1.15rem !important;
  background:
    linear-gradient(180deg, rgba(255,253,248,0.96), rgba(255,253,248,0.8)),
    linear-gradient(135deg, rgba(185,97,69,0.12), rgba(120,147,134,0.12)) !important;
}

.naf-route-board h2 {
  font-size: clamp(1.1rem, 0.98rem + 0.55vw, 1.45rem) !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 0.9rem !important;
}

.naf-route-list {
  gap: 0 !important;
  border-top: 1px solid rgba(18,32,51,0.1);
}

.naf-route-card {
  position: relative;
  display: grid !important;
  grid-template-columns: 3.1rem 1fr 1.4rem;
  grid-template-areas:
    "num label arrow"
    "num title arrow"
    "num copy arrow";
  gap: 0.12rem 0.75rem;
  min-height: unset !important;
  padding: 1rem 0.15rem !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(18,32,51,0.1) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.naf-route-card:last-child {
  border-bottom: 0 !important;
}

.naf-route-card:hover {
  transform: none !important;
  box-shadow: none !important;
  color: var(--naf-clay);
}

.naf-route-num {
  grid-area: num;
  align-self: start;
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(18,32,51,0.14);
  background: #fffdf8;
  color: var(--naf-ink) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
  text-transform: none !important;
}

.naf-route-label {
  grid-area: label;
  color: var(--naf-clay) !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.13em !important;
  margin: 0 !important;
}

.naf-route-card strong {
  grid-area: title;
  font-size: 1rem !important;
  letter-spacing: -0.035em !important;
  margin: 0 !important;
}

.naf-route-card em {
  grid-area: copy;
  font-size: 0.78rem !important;
  line-height: 1.38 !important;
  max-width: 28ch;
}

.naf-route-arrow {
  grid-area: arrow;
  align-self: center;
  color: var(--naf-clay);
  font-weight: 900;
}

.naf-start-panel {
  justify-content: flex-start !important;
  min-height: unset !important;
  padding: clamp(1.35rem, 1rem + 1.1vw, 2rem) !important;
  background:
    linear-gradient(180deg, rgba(255,253,248,0.92), rgba(249,240,228,0.95)) !important;
}

.naf-start-panel h2 {
  font-size: clamp(1.55rem, 1.2rem + 1vw, 2.15rem) !important;
  margin: 0.25rem 0 0.55rem !important;
}

.naf-start-panel p {
  font-size: 0.98rem !important;
  line-height: 1.58 !important;
  max-width: 38ch !important;
  margin-bottom: 0.4rem !important;
}

.naf-start-actions {
  margin-top: 0.75rem !important;
}

.naf-primary-link {
  border-radius: 0 !important;
  padding: 0.72rem 0.92rem !important;
  font-size: 0.78rem !important;
}

.naf-brief-stack {
  padding: 1rem !important;
}

.naf-story-thumb,
.naf-related-image,
.naf-cover-image {
  border-radius: 0 !important;
}

.naf-story-card,
.naf-category-compact .naf-category-story {
  grid-template-columns: 74px 1fr !important;
  gap: 0.75rem !important;
}

.naf-story-thumb img,
.naf-story-thumb .naf-image-placeholder,
.naf-related-image img,
.naf-related-image .naf-image-placeholder,
.naf-category-story .naf-story-thumb img,
.naf-category-story .naf-story-thumb .naf-image-placeholder {
  width: 74px !important;
  height: 74px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
}

.naf-brief-stack .naf-story-card {
  padding: 0.66rem 0 !important;
}

.naf-card-meta {
  font-size: 0.58rem !important;
  line-height: 1.1 !important;
}

.naf-story-card h3 {
  font-size: 0.82rem !important;
  line-height: 1.22 !important;
}

.naf-section-heading {
  padding-top: 1.05rem !important;
  margin-bottom: 1rem !important;
}

.naf-section-heading h2 {
  font-size: clamp(1.35rem, 1.05rem + 0.85vw, 1.95rem) !important;
}

.naf-category-modern {
  padding: clamp(1rem, 0.8rem + 0.7vw, 1.45rem) !important;
}

.naf-category-titlebar h2 {
  font-size: clamp(1.1rem, 0.95rem + 0.55vw, 1.48rem) !important;
}

.naf-category-grid,
.naf-category-hero .naf-category-grid {
  gap: 0.8rem !important;
}

.naf-category-story {
  border-radius: 0 !important;
  padding: 0.58rem !important;
  background: rgba(255,253,248,0.68) !important;
}

.naf-category-hero .naf-category-story {
  grid-template-columns: 74px 1fr !important;
  align-items: center;
}

.naf-category-story h3 {
  font-size: 0.8rem !important;
  line-height: 1.22 !important;
}

.naf-category-compact .naf-category-story {
  padding: 0.7rem 0 !important;
}

.naf-email-panel {
  border-radius: 0 !important;
}

.naf-footer .wp-site-title,
.naf-footer .wp-block-site-title,
.naf-footer .wp-block-site-title a {
  font-size: clamp(1.7rem, 1.25rem + 1.35vw, 2.65rem) !important;
}

@media (max-width: 1180px) {
  .naf-home-hero-grid,
  .naf-modern-front {
    grid-template-columns: 1fr 1fr !important;
  }
  .naf-hero-copy,
  .naf-hero-image-card,
  .naf-start-panel {
    grid-column: auto !important;
  }
  .naf-route-board {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .naf-home-hero-grid,
  .naf-modern-front,
  .naf-two-section-grid,
  .naf-category-grid,
  .naf-category-hero .naf-category-grid,
  .naf-related-grid {
    grid-template-columns: 1fr !important;
  }
  .naf-hero-copy,
  .naf-hero-image-card,
  .naf-route-board,
  .naf-start-panel,
  .naf-brief-stack {
    grid-column: 1 / -1 !important;
  }
  .naf-hero-title {
    font-size: clamp(2rem, 1.55rem + 4vw, 3rem) !important;
  }
}

/* v15 refinements: warmer nomad palette, tighter hero, square media, cleaner magazine sections */
:root {
  --naf-ink: #132032;
  --naf-deep: #0f2530;
  --naf-canvas: #fff8ec;
  --naf-paper: #fffdf8;
  --naf-sand: #ead7b4;
  --naf-sun: #f2b25b;
  --naf-clay: #c46d49;
  --naf-coral: #e98b6d;
  --naf-teal: #3e8c8f;
  --naf-sage: #7f9f7b;
  --naf-sky: #d7ece6;
  --naf-muted: rgba(19, 32, 50, 0.68);
  --naf-line: rgba(19, 32, 50, 0.11);
  --naf-card: #fffdf8;
}

body {
  background:
    radial-gradient(circle at 6% 8%, rgba(242, 178, 91, 0.12), transparent 22rem),
    radial-gradient(circle at 92% 12%, rgba(62, 140, 143, 0.12), transparent 24rem),
    linear-gradient(180deg, #fff8ec 0%, #f8efe1 52%, #fff8ec 100%) !important;
  color: var(--naf-ink);
}

.naf-header-shell {
  background: rgba(255, 248, 236, 0.94) !important;
  border-bottom: 1px solid rgba(19, 32, 50, 0.08);
  backdrop-filter: blur(12px);
}

.naf-header-inner {
  display: grid !important;
  grid-template-columns: minmax(220px, auto) 1fr minmax(165px, auto) !important;
  align-items: center !important;
  gap: 2rem !important;
}

.naf-main-nav {
  justify-content: center !important;
}

.naf-main-nav a {
  font-size: 0.84rem !important;
  font-weight: 750 !important;
}

.naf-header-button .wp-block-button__link {
  background: var(--naf-ink) !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 22px rgba(19, 32, 50, 0.13);
}

.naf-home-hero {
  background:
    radial-gradient(circle at 82% 28%, rgba(62, 140, 143, 0.16), transparent 28%),
    radial-gradient(circle at 12% 18%, rgba(233, 139, 109, 0.12), transparent 28%),
    linear-gradient(135deg, #fff8ec 0%, #fffdf8 54%, #eef7f2 100%) !important;
  border-bottom: 1px solid rgba(19, 32, 50, 0.08);
}

.naf-home-hero[style] {
  padding-top: clamp(2.5rem, 4vw, 4.25rem) !important;
  padding-bottom: clamp(2.25rem, 3.4vw, 3.75rem) !important;
}

.naf-home-hero-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap: clamp(2rem, 4vw, 5rem) !important;
}

.naf-hero-copy {
  grid-column: 1 / span 7 !important;
}

.naf-hero-title {
  font-size: clamp(2.15rem, 1.55rem + 2vw, 3.65rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.065em !important;
  max-width: 700px !important;
}

.naf-hero-description {
  color: rgba(19, 32, 50, 0.68);
  font-size: clamp(1rem, 0.92rem + 0.22vw, 1.12rem);
  line-height: 1.7;
  margin-top: 1.25rem;
  max-width: 600px;
}

.naf-hero-image-card {
  grid-column: 8 / span 5 !important;
  margin: 0 !important;
  aspect-ratio: 4 / 3;
  border-radius: 34px 34px 34px 8px;
  overflow: hidden;
  border: 1px solid rgba(19, 32, 50, 0.1);
  background:
    linear-gradient(135deg, rgba(62, 140, 143, 0.2), rgba(242, 178, 91, 0.18)),
    #fffdf8;
  box-shadow: 0 22px 55px rgba(19, 32, 50, 0.12);
  transform: rotate(1.5deg);
  position: relative;
}

.naf-hero-image-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 253, 248, 0.5);
  border-radius: 26px 26px 26px 6px;
  pointer-events: none;
}

.naf-hero-image-card img,
.naf-hero-image-card .naf-hero-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.naf-front-desk-wrap {
  padding-top: clamp(2rem, 3vw, 3rem) !important;
  padding-bottom: clamp(2rem, 3vw, 3rem) !important;
  background: transparent !important;
}

.naf-modern-front {
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr) minmax(300px, 0.9fr) !important;
  gap: clamp(1.2rem, 2vw, 1.75rem) !important;
}

.naf-route-board,
.naf-start-panel,
.naf-brief-stack,
.naf-category-modern,
.naf-email-panel {
  border-color: rgba(19, 32, 50, 0.1) !important;
  box-shadow: 0 18px 44px rgba(19, 32, 50, 0.055) !important;
}

.naf-route-board {
  padding: 1.15rem !important;
  background:
    radial-gradient(circle at 0 0, rgba(242, 178, 91, 0.22), transparent 42%),
    linear-gradient(155deg, #fffdf8 0%, #f3ead7 100%) !important;
}

.naf-route-board h2 {
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.42rem) !important;
  letter-spacing: -0.045em !important;
  margin-bottom: 0.9rem !important;
}

.naf-route-list {
  gap: 0.65rem !important;
}

.naf-route-card {
  min-height: unset !important;
  padding: 0.9rem 3rem 0.9rem 0.95rem !important;
  border-radius: 18px !important;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.naf-route-card::before {
  content: "";
  position: absolute;
  width: 4.25rem;
  height: 4.25rem;
  right: -1.4rem;
  top: -1.4rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.55);
  z-index: -1;
}

.naf-route-card .naf-route-num {
  position: absolute;
  right: 0.75rem;
  top: 0.6rem;
  color: rgba(19, 32, 50, 0.16) !important;
  font-size: 1.25rem !important;
  letter-spacing: -0.06em !important;
  margin: 0 !important;
}

.naf-route-card .naf-route-label {
  color: var(--naf-clay) !important;
  margin-bottom: 0.25rem !important;
}

.naf-route-card strong {
  font-size: 0.98rem !important;
}

.naf-route-card em {
  font-size: 0.78rem !important;
  line-height: 1.4 !important;
}

.naf-route-arrow {
  display: none !important;
}

.naf-route-start { background: linear-gradient(135deg, #fff2e9, #f5d1c0) !important; }
.naf-route-life { background: linear-gradient(135deg, #edf8ef, #cfe4d2) !important; }
.naf-route-place { background: linear-gradient(135deg, #e9f7f5, #c8e3df) !important; }

.naf-start-panel {
  min-height: unset !important;
  justify-content: center !important;
  padding: clamp(1.5rem, 2.4vw, 2.4rem) !important;
  background:
    radial-gradient(circle at 95% 6%, rgba(242, 178, 91, 0.36), transparent 35%),
    radial-gradient(circle at 5% 100%, rgba(62, 140, 143, 0.12), transparent 30%),
    linear-gradient(145deg, #fffdf8 0%, #fbefd8 100%) !important;
}

.naf-start-panel h2 {
  font-size: clamp(1.65rem, 1.25rem + 1vw, 2.35rem) !important;
  margin: 0.25rem 0 0.65rem !important;
}

.naf-start-panel p {
  font-size: clamp(0.95rem, 0.9rem + 0.18vw, 1.06rem) !important;
  line-height: 1.65 !important;
  margin-bottom: 0 !important;
}

.naf-start-actions {
  margin-top: 1rem !important;
}

.naf-brief-stack {
  background: linear-gradient(180deg, #fffdf8 0%, #f7f1e5 100%) !important;
  padding: 1rem !important;
}

.naf-story-thumb,
.naf-related-image,
.naf-cover-image {
  border-radius: 0 !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden;
}

.naf-story-thumb img,
.naf-story-thumb .naf-image-placeholder,
.naf-related-image img,
.naf-related-image .naf-image-placeholder,
.naf-category-story .naf-story-thumb img,
.naf-category-story .naf-story-thumb .naf-image-placeholder,
.naf-brief-stack .naf-story-thumb img,
.naf-brief-stack .naf-story-thumb .naf-image-placeholder {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

.naf-story-card {
  grid-template-columns: 78px 1fr !important;
}

.naf-brief-stack .naf-story-card {
  padding: 0.66rem 0 !important;
}

.naf-story-card h3,
.naf-category-story h3 {
  font-size: 0.86rem !important;
  line-height: 1.25 !important;
}

.naf-home-categories {
  padding-top: clamp(2rem, 3vw, 3.2rem) !important;
}

.naf-section-heading {
  margin-bottom: 1.1rem !important;
}

.naf-section-heading h2 {
  font-size: clamp(1.45rem, 1.18rem + 0.8vw, 2rem) !important;
}

.naf-category-modern {
  width: 100% !important;
  box-sizing: border-box !important;
  border-radius: 24px !important;
  padding: clamp(1rem, 1.5vw, 1.45rem) !important;
  margin-bottom: 1.3rem !important;
}

.naf-category-titlebar h2 {
  font-size: clamp(1.18rem, 1rem + 0.5vw, 1.55rem) !important;
}

.naf-category-grid,
.naf-category-hero .naf-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.9rem !important;
}

.naf-category-story {
  border-radius: 14px !important;
  padding: 0.6rem !important;
  background: rgba(255, 253, 248, 0.74) !important;
}

.naf-category-story .naf-story-thumb,
.naf-category-story .naf-story-thumb img,
.naf-category-story .naf-story-thumb .naf-image-placeholder {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
}

.naf-category-hero {
  background: linear-gradient(110deg, rgba(255, 253, 248, 0.98), rgba(215, 236, 230, 0.6)) !important;
}

.naf-two-section-grid {
  gap: 1.3rem !important;
}

.naf-category-compact {
  background: linear-gradient(145deg, rgba(255,253,248,0.96) 0%, rgba(247,234,211,0.78) 100%) !important;
}

.naf-category-compact:nth-child(2) {
  background: linear-gradient(145deg, rgba(255,253,248,0.96) 0%, rgba(215,236,230,0.76) 100%) !important;
}

.naf-category-compact .naf-category-story {
  grid-template-columns: 70px 1fr !important;
  padding: 0.7rem 0 !important;
}

.naf-email-band {
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 253, 248, 0.62), transparent 20rem),
    radial-gradient(circle at 88% 18%, rgba(242, 178, 91, 0.38), transparent 22rem),
    linear-gradient(120deg, #d7ece6 0%, #f6dfad 100%) !important;
}

.naf-email-panel {
  max-width: 1320px !important;
  width: 100% !important;
  border-radius: 26px !important;
  background:
    linear-gradient(135deg, #fffdf8 0%, #fff8ec 100%) !important;
}

.naf-email-panel h2 {
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 2rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.045em !important;
  margin-top: 0.25rem !important;
}

.naf-email-panel p:not(.naf-section-kicker) {
  color: var(--naf-muted) !important;
  max-width: 46ch;
}

.naf-email-placeholder {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px !important;
  background: #fff !important;
  border: 1px dashed rgba(19, 32, 50, 0.22) !important;
}

.naf-footer {
  background: #0f2530 !important;
}

.naf-footer .wp-block-site-title a,
.naf-footer .wp-block-site-title {
  font-size: clamp(1.8rem, 1.4rem + 1.3vw, 2.8rem) !important;
  font-weight: 760 !important;
}

@media (max-width: 1180px) {
  .naf-header-inner {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
  }
  .naf-modern-front {
    grid-template-columns: 1fr 1fr !important;
  }
  .naf-start-panel {
    grid-column: 1 / -1 !important;
    order: -1;
  }
}

@media (max-width: 780px) {
  .naf-home-hero-grid,
  .naf-modern-front,
  .naf-two-section-grid,
  .naf-category-grid,
  .naf-category-hero .naf-category-grid {
    grid-template-columns: 1fr !important;
  }
  .naf-hero-copy,
  .naf-hero-image-card {
    grid-column: 1 / -1 !important;
  }
  .naf-hero-title {
    font-size: clamp(2rem, 10vw, 3rem) !important;
  }
  .naf-hero-image-card {
    transform: none;
  }
  .naf-email-columns {
    gap: 1.2rem !important;
  }
}

/* v16: screenshot bug fixes and tighter modern magazine polish */
:root {
  --naf-ink: #10243a;
  --naf-deep: #0b2b34;
  --naf-canvas: #fff7e8;
  --naf-paper: #fffdf8;
  --naf-warm: #f4ddbd;
  --naf-sun: #e9a94f;
  --naf-clay: #b95f44;
  --naf-coral: #e27d61;
  --naf-teal: #2f7f86;
  --naf-sea: #d9efeb;
  --naf-sage: #8fa883;
  --naf-muted: rgba(16, 36, 58, 0.66);
  --naf-line: rgba(16, 36, 58, 0.12);
}

/* Header: remove the awkward split feel and keep one clean line */
.naf-header-shell {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}
.naf-header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.5rem !important;
  max-width: 1320px !important;
}
.naf-site-title {
  flex: 0 0 auto;
}
.naf-main-nav {
  flex: 1 1 auto;
  justify-content: center !important;
  gap: clamp(1rem, 2vw, 2rem) !important;
}
.naf-header-actions {
  flex: 0 0 auto;
  margin: 0 !important;
}
.naf-main-nav a {
  font-size: 0.82rem !important;
  letter-spacing: -0.01em !important;
}

/* Hero: smaller title, description aligned to title, image less boxy */
.naf-home-hero[style] {
  padding-top: clamp(2.25rem, 3.4vw, 3.7rem) !important;
  padding-bottom: clamp(2.1rem, 3vw, 3.3rem) !important;
}
.naf-hero-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}
.naf-hero-title {
  font-size: clamp(2rem, 1.55rem + 1.65vw, 3.2rem) !important;
  max-width: 620px !important;
  margin: 0 !important;
}
.naf-hero-description {
  margin: 1rem 0 0 0 !important;
  max-width: 620px !important;
  padding: 0 !important;
  text-align: left !important;
}
.naf-hero-image-card {
  max-height: 235px !important;
  border-radius: 32px 32px 10px 32px !important;
  transform: rotate(0.75deg) !important;
  box-shadow: 0 18px 44px rgba(16,36,58,0.12) !important;
}
.naf-hero-image-card::after {
  border-radius: 24px 24px 8px 24px !important;
}

/* Top three panels: reduce height, avoid stretched columns, cleaner rhythm */
.naf-front-desk-wrap {
  padding-top: clamp(1.45rem, 2.2vw, 2.3rem) !important;
  padding-bottom: clamp(1.8rem, 2.8vw, 2.75rem) !important;
}
.naf-modern-front {
  align-items: start !important;
  grid-template-columns: minmax(270px, 0.95fr) minmax(360px, 1.06fr) minmax(300px, 0.95fr) !important;
}
.naf-route-board,
.naf-start-panel,
.naf-brief-stack {
  min-height: 0 !important;
  height: auto !important;
}

/* Find your route: more modern, less old pastel-box UI */
.naf-route-board {
  padding: 1.15rem !important;
  background:
    linear-gradient(90deg, rgba(47,127,134,0.08), transparent 45%),
    linear-gradient(180deg, #fffdf8 0%, #fff6e8 100%) !important;
  border-radius: 22px !important;
}
.naf-route-board h2 {
  font-size: clamp(1.05rem, 0.95rem + 0.36vw, 1.35rem) !important;
  margin-bottom: 0.9rem !important;
}
.naf-route-list {
  gap: 0.55rem !important;
  border: 0 !important;
}
.naf-route-card {
  display: grid !important;
  grid-template-columns: 2.4rem 1fr auto !important;
  grid-template-areas:
    "num label arrow"
    "num title arrow"
    "num copy arrow" !important;
  align-items: center !important;
  padding: 0.78rem 0.78rem 0.78rem 0.65rem !important;
  min-height: 78px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(16,36,58,0.09) !important;
  background: rgba(255,253,248,0.74) !important;
  box-shadow: none !important;
}
.naf-route-card::before {
  display: none !important;
}
.naf-route-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  bottom: 0.65rem;
  width: 4px;
  border-radius: 999px;
  background: var(--naf-teal);
}
.naf-route-start::after { background: var(--naf-coral); }
.naf-route-life::after { background: var(--naf-sage); }
.naf-route-place::after { background: var(--naf-teal); }
.naf-route-card .naf-route-num {
  position: static !important;
  grid-area: num !important;
  width: 1.85rem !important;
  height: 1.85rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(16,36,58,0.06) !important;
  color: rgba(16,36,58,0.62) !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
  border-radius: 999px !important;
}
.naf-route-card .naf-route-label {
  grid-area: label !important;
  margin: 0 !important;
  font-size: 0.56rem !important;
}
.naf-route-card strong {
  grid-area: title !important;
  font-size: 0.93rem !important;
  line-height: 1.14 !important;
}
.naf-route-card em {
  grid-area: copy !important;
  max-width: 32ch !important;
  font-size: 0.72rem !important;
  line-height: 1.35 !important;
}
.naf-route-arrow {
  display: inline-flex !important;
  grid-area: arrow !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  color: var(--naf-ink) !important;
  background: rgba(255,255,255,0.68);
  font-size: 0.9rem;
}
.naf-route-start,
.naf-route-life,
.naf-route-place {
  background: rgba(255,253,248,0.78) !important;
}

/* Hello panel: less dead space, more editorial balance */
.naf-start-panel {
  justify-content: flex-start !important;
  padding: clamp(1.15rem, 1.8vw, 1.65rem) !important;
  border-radius: 22px !important;
}
.naf-start-panel h2 {
  font-size: clamp(1.38rem, 1.12rem + 0.75vw, 1.95rem) !important;
  margin: 0.2rem 0 0.55rem !important;
}
.naf-start-panel p {
  font-size: 0.91rem !important;
  line-height: 1.55 !important;
  max-width: 44ch !important;
}
.naf-start-actions {
  margin-top: 0.85rem !important;
}
.naf-primary-link {
  padding: 0.66rem 0.82rem !important;
  font-size: 0.74rem !important;
}

/* Fresh guides: four items only now, make the panel shorter and sharper */
.naf-brief-stack {
  padding: 0.95rem !important;
  border-radius: 22px !important;
}
.naf-stack-header {
  padding-bottom: 0.65rem !important;
  margin-bottom: 0.08rem !important;
}
.naf-brief-stack .naf-story-card {
  padding: 0.58rem 0 !important;
}
.naf-story-card {
  grid-template-columns: 68px 1fr !important;
  gap: 0.7rem !important;
}
.naf-story-thumb img,
.naf-story-thumb .naf-image-placeholder,
.naf-related-image img,
.naf-related-image .naf-image-placeholder,
.naf-category-story .naf-story-thumb img,
.naf-category-story .naf-story-thumb .naf-image-placeholder,
.naf-brief-stack .naf-story-thumb img,
.naf-brief-stack .naf-story-thumb .naf-image-placeholder {
  width: 68px !important;
  height: 68px !important;
  aspect-ratio: 1 / 1 !important;
}
.naf-story-card h3,
.naf-category-story h3 {
  font-size: 0.8rem !important;
  line-height: 1.2 !important;
}
.naf-card-meta {
  font-size: 0.54rem !important;
}

/* Guide sections: consistent widths, readable compact cards, square thumbnails */
.naf-home-categories {
  padding-top: clamp(1.35rem, 2.3vw, 2.4rem) !important;
  padding-bottom: clamp(3.2rem, 5vw, 5rem) !important;
}
.naf-section-heading {
  margin-bottom: 0.95rem !important;
}
.naf-section-heading h2 {
  font-size: clamp(1.35rem, 1.08rem + 0.72vw, 1.85rem) !important;
}
.naf-category-modern {
  width: 100% !important;
  max-width: 1320px !important;
  margin-inline: auto !important;
  padding: 1.1rem !important;
  border-radius: 22px !important;
}
.naf-category-titlebar {
  margin-bottom: 0.9rem !important;
}
.naf-category-grid,
.naf-category-hero .naf-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.8rem !important;
}
.naf-category-story {
  grid-template-columns: 68px 1fr !important;
  align-items: center !important;
  min-width: 0 !important;
  padding: 0.5rem !important;
  border-radius: 10px !important;
}
.naf-category-story .naf-story-thumb,
.naf-category-story .naf-story-thumb img,
.naf-category-story .naf-story-thumb .naf-image-placeholder,
.naf-brief-stack .naf-story-thumb,
.naf-brief-stack .naf-story-thumb img,
.naf-brief-stack .naf-story-thumb .naf-image-placeholder {
  border-radius: 0 !important;
  width: 68px !important;
  height: 68px !important;
  max-width: 68px !important;
  aspect-ratio: 1 / 1 !important;
}
.naf-category-story .naf-story-body,
.naf-story-body {
  min-width: 0 !important;
}
.naf-category-compact .naf-category-grid {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}
.naf-category-compact .naf-category-story {
  grid-template-columns: 68px 1fr !important;
  padding: 0.62rem 0 !important;
}
.naf-category-compact .naf-category-story .naf-story-thumb,
.naf-category-compact .naf-category-story .naf-story-thumb img,
.naf-category-compact .naf-category-story .naf-story-thumb .naf-image-placeholder {
  width: 68px !important;
  height: 68px !important;
  max-width: 68px !important;
}
.naf-two-section-grid {
  gap: 1.15rem !important;
}
.naf-view-all,
.naf-section-heading a {
  font-size: 0.62rem !important;
}

/* Signup: full section width, cleaner two-column rhythm */
.naf-email-band {
  padding-top: clamp(2.8rem, 4.5vw, 4.8rem) !important;
  padding-bottom: clamp(2.8rem, 4.5vw, 4.8rem) !important;
}
.naf-email-panel {
  border-radius: 22px !important;
  padding-top: clamp(1.6rem, 2.6vw, 2.6rem) !important;
  padding-bottom: clamp(1.6rem, 2.6vw, 2.6rem) !important;
}
.naf-email-columns {
  align-items: center !important;
}
.naf-email-placeholder {
  min-height: 64px !important;
}

/* Footer: align and tighten */
.naf-footer .wp-block-columns {
  align-items: flex-start !important;
}
.naf-footer-list {
  padding-left: 1.05rem !important;
}

@media (max-width: 1180px) {
  .naf-header-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    gap: 0.9rem !important;
  }
  .naf-modern-front {
    grid-template-columns: 1fr 1fr !important;
  }
  .naf-start-panel {
    grid-column: 1 / -1 !important;
    order: -1;
  }
  .naf-category-grid,
  .naf-category-hero .naf-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 780px) {
  .naf-home-hero-grid,
  .naf-modern-front,
  .naf-two-section-grid,
  .naf-category-grid,
  .naf-category-hero .naf-category-grid {
    grid-template-columns: 1fr !important;
  }
  .naf-hero-copy,
  .naf-hero-image-card,
  .naf-route-board,
  .naf-start-panel,
  .naf-brief-stack {
    grid-column: 1 / -1 !important;
  }
  .naf-hero-image-card {
    max-height: none !important;
  }
  .naf-category-story,
  .naf-category-compact .naf-category-story,
  .naf-story-card {
    grid-template-columns: 72px 1fr !important;
  }
  .naf-category-story .naf-story-thumb,
  .naf-category-story .naf-story-thumb img,
  .naf-category-story .naf-story-thumb .naf-image-placeholder,
  .naf-story-thumb,
  .naf-story-thumb img,
  .naf-story-thumb .naf-image-placeholder {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
  }
}

/* v17: warmer, more cohesive body colours and blended newsletter section */
:root {
  --naf-ink: #13283a;
  --naf-body: #263847;
  --naf-deep: #0f2530;
  --naf-canvas: #fff7e8;
  --naf-paper: #fffdf7;
  --naf-card: #fffbf2;
  --naf-muted: rgba(38, 56, 71, 0.68);
  --naf-line: rgba(19, 40, 58, 0.12);
  --naf-clay: #b96b4c;
  --naf-coral: #d97759;
  --naf-teal: #327f83;
  --naf-sage: #7b967a;
  --naf-sand: #ead1a3;
  --naf-sky: #dcefeb;
}

body {
  color: var(--naf-body) !important;
  background:
    radial-gradient(circle at 9% 7%, rgba(217, 119, 89, 0.08), transparent 22rem),
    radial-gradient(circle at 88% 11%, rgba(50, 127, 131, 0.10), transparent 26rem),
    linear-gradient(180deg, #fff7e8 0%, #fbf1df 48%, #fff7e8 100%) !important;
}

body:not(.wp-admin) h1,
body:not(.wp-admin) h2,
body:not(.wp-admin) h3,
body:not(.wp-admin) h4,
body:not(.wp-admin) h5,
body:not(.wp-admin) h6,
.naf-hero-title,
.naf-section-heading h2,
.naf-category-titlebar h2,
.naf-start-panel h2,
.naf-route-board h2,
.naf-story-card h3,
.naf-category-story h3,
.naf-email-panel h2 {
  color: var(--naf-ink) !important;
}

.naf-hero-description,
.naf-start-panel p,
.naf-route-card em,
.naf-email-panel p:not(.naf-section-kicker) {
  color: var(--naf-muted) !important;
}

.naf-home-hero {
  background:
    radial-gradient(circle at 78% 24%, rgba(50, 127, 131, 0.12), transparent 26%),
    radial-gradient(circle at 9% 18%, rgba(217, 119, 89, 0.08), transparent 25%),
    linear-gradient(135deg, #fff7e8 0%, #fffaf1 55%, #eef7f1 100%) !important;
}

.naf-route-board,
.naf-start-panel,
.naf-brief-stack,
.naf-category-modern {
  background-color: rgba(255, 251, 242, 0.94) !important;
  border-color: rgba(19, 40, 58, 0.10) !important;
}

.naf-route-board {
  background:
    linear-gradient(180deg, rgba(255, 251, 242, 0.96) 0%, rgba(251, 240, 220, 0.92) 100%) !important;
}

.naf-start-panel {
  background:
    radial-gradient(circle at 96% 4%, rgba(234, 209, 163, 0.45), transparent 34%),
    linear-gradient(145deg, rgba(255,251,242,0.98) 0%, rgba(249,235,212,0.94) 100%) !important;
}

.naf-brief-stack {
  background: linear-gradient(180deg, rgba(255,251,242,0.98) 0%, rgba(250,240,222,0.94) 100%) !important;
}

.naf-category-hero {
  background: linear-gradient(110deg, rgba(255,251,242,0.98), rgba(220,239,235,0.62)) !important;
}

.naf-category-compact {
  background: linear-gradient(145deg, rgba(255,251,242,0.98) 0%, rgba(249,236,215,0.82) 100%) !important;
}

.naf-category-compact:nth-child(2) {
  background: linear-gradient(145deg, rgba(255,251,242,0.98) 0%, rgba(220,239,235,0.78) 100%) !important;
}

.naf-category-story {
  background: rgba(255, 253, 247, 0.82) !important;
  border-color: rgba(19, 40, 58, 0.08) !important;
}

.naf-card-meta,
.naf-section-kicker,
.taxonomy-category a,
.naf-view-all,
.naf-section-heading a,
.naf-text-link {
  color: var(--naf-clay) !important;
}

/* Soften the transition into the signup block so it feels like part of the page, not a separate band */
.naf-email-band,
.naf-email-band.has-background {
  background:
    linear-gradient(180deg, rgba(255,247,232,0) 0%, rgba(255,247,232,0.96) 18%, rgba(255,247,232,1) 100%),
    radial-gradient(circle at 84% 34%, rgba(234, 209, 163, 0.30), transparent 20rem),
    radial-gradient(circle at 14% 42%, rgba(220, 239, 235, 0.55), transparent 22rem) !important;
  color: var(--naf-body) !important;
  margin-top: -1px !important;
  padding-top: clamp(2.2rem, 3.6vw, 3.8rem) !important;
  padding-bottom: clamp(2.6rem, 4vw, 4.4rem) !important;
}

.naf-email-panel {
  background:
    linear-gradient(135deg, rgba(255,253,247,0.98) 0%, rgba(255,249,235,0.96) 100%) !important;
  border: 1px solid rgba(19, 40, 58, 0.10) !important;
  box-shadow: 0 18px 42px rgba(19, 40, 58, 0.055) !important;
}

.naf-email-placeholder {
  background: rgba(255,255,255,0.72) !important;
  color: var(--naf-ink) !important;
  border-color: rgba(19,40,58,0.18) !important;
}

.naf-home-categories {
  padding-bottom: clamp(2.2rem, 3.8vw, 3.8rem) !important;
}

.naf-category-modern:last-child,
.naf-two-section-grid {
  margin-bottom: 0 !important;
}

/* Keep header and footer visually anchored while the content uses softer editorial colours */
.naf-header-shell,
.naf-header-shell.has-background {
  background: rgba(255, 247, 232, 0.94) !important;
}

.naf-footer {
  background: #0f2530 !important;
  color: rgba(255,255,255,0.82) !important;
}

.naf-footer h2,
.naf-footer h3,
.naf-footer .wp-block-site-title,
.naf-footer .wp-block-site-title a {
  color: #fff !important;
}

.naf-footer a {
  color: rgba(255,255,255,0.82) !important;
}

/* v18: reset the visual system so the site returns to Manrope and uses a fresher modern nomad palette */
:root {
  --naf-ink: #18324a;
  --naf-body: #2a3a45;
  --naf-deep: #102b3a;
  --naf-canvas: #fbf6ed;
  --naf-paper: #fffdf8;
  --naf-card: #ffffff;
  --naf-muted: rgba(42, 58, 69, 0.68);
  --naf-line: rgba(24, 50, 74, 0.12);
  --naf-ocean: #146c73;
  --naf-coral: #d9795b;
  --naf-olive: #6e8066;
  --naf-sand: #e8d6b8;
  --naf-mist: #eaf3f2;
  --naf-sun: #f0bd63;
}

html,
body,
button,
input,
select,
textarea,
.wp-site-blocks,
.wp-site-blocks *:not(.dashicons):not([class*="wp-block-navigation__responsive-container"] svg) {
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

body {
  color: var(--naf-body) !important;
  background:
    radial-gradient(circle at 12% 12%, rgba(217, 121, 91, 0.10), transparent 24rem),
    radial-gradient(circle at 88% 8%, rgba(20, 108, 115, 0.12), transparent 27rem),
    linear-gradient(180deg, #fbf6ed 0%, #f8efe1 48%, #fbf6ed 100%) !important;
}

.wp-site-blocks {
  background: transparent !important;
}

.naf-header-shell,
.naf-header-shell.has-background {
  background: rgba(251, 246, 237, 0.96) !important;
  border-bottom: 1px solid rgba(24, 50, 74, 0.10) !important;
  backdrop-filter: blur(10px);
}

.naf-site-title,
.naf-site-title a,
.naf-footer .wp-block-site-title,
.naf-footer .wp-block-site-title a,
h1, h2, h3, h4, h5, h6,
.naf-hero-title,
.naf-section-heading h2,
.naf-category-titlebar h2,
.naf-start-panel h2,
.naf-route-board h2,
.naf-story-card h3,
.naf-category-story h3,
.naf-email-panel h2 {
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  color: var(--naf-ink) !important;
}

.naf-footer,
.naf-footer.has-background {
  background: var(--naf-deep) !important;
  color: rgba(255,255,255,0.82) !important;
}
.naf-footer h2,
.naf-footer h3,
.naf-footer .wp-block-site-title,
.naf-footer .wp-block-site-title a {
  color: #ffffff !important;
}
.naf-footer a { color: rgba(255,255,255,0.82) !important; }
.naf-footer p { color: rgba(255,255,255,0.74) !important; }

/* Hero: clean modern editorial, not serif, not washed out */
.naf-home-hero {
  background:
    radial-gradient(circle at 84% 30%, rgba(20,108,115,0.16), transparent 24rem),
    radial-gradient(circle at 12% 35%, rgba(240,189,99,0.12), transparent 22rem),
    linear-gradient(135deg, #fbf6ed 0%, #fffdf8 52%, #eaf3f2 100%) !important;
  border-bottom: 1px solid rgba(24,50,74,0.08);
}
.naf-home-hero-grid {
  align-items: center !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
}
.naf-hero-title {
  font-size: clamp(2.15rem, 1.65rem + 1.85vw, 3.4rem) !important;
  letter-spacing: -0.062em !important;
  line-height: 0.99 !important;
  margin: 0 0 1rem !important;
  max-width: 720px !important;
}
.naf-hero-description {
  color: var(--naf-muted) !important;
  font-size: clamp(0.98rem, 0.92rem + 0.18vw, 1.08rem) !important;
  line-height: 1.65 !important;
  max-width: 640px !important;
  margin-left: 0 !important;
}
.naf-hero-image-card {
  border-radius: 28px 28px 10px 28px !important;
  overflow: hidden !important;
  border: 1px solid rgba(24,50,74,0.10) !important;
  box-shadow: 0 22px 50px rgba(16,43,58,0.12) !important;
  transform: rotate(1deg);
}
.naf-hero-image-card img,
.naf-hero-image-placeholder {
  aspect-ratio: 5 / 3.4 !important;
  height: auto !important;
  object-fit: cover !important;
}

/* Front desk: tighter, more confident colours */
.naf-front-desk-wrap {
  background: linear-gradient(180deg, rgba(251,246,237,0.9) 0%, rgba(248,239,225,0.7) 100%) !important;
  padding-top: clamp(1.6rem, 3vw, 2.8rem) !important;
  padding-bottom: clamp(2.4rem, 4vw, 4rem) !important;
}
.naf-modern-front {
  gap: 1.35rem !important;
  grid-template-columns: 0.95fr 1.15fr 1fr !important;
}
.naf-route-board,
.naf-start-panel,
.naf-brief-stack,
.naf-category-modern,
.naf-email-panel {
  background: rgba(255,253,248,0.94) !important;
  border: 1px solid rgba(24,50,74,0.11) !important;
  box-shadow: 0 18px 42px rgba(16,43,58,0.07) !important;
}
.naf-route-board,
.naf-start-panel,
.naf-brief-stack {
  min-height: 0 !important;
  padding: 1.15rem !important;
}
.naf-start-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(240,189,99,0.28), transparent 42%),
    linear-gradient(145deg, #fffdf8 0%, #f8ebd7 100%) !important;
}
.naf-brief-stack {
  background: linear-gradient(180deg, #fffdf8 0%, #f5ecdd 100%) !important;
}
.naf-route-board {
  background: linear-gradient(180deg, #fffdf8 0%, #f7edde 100%) !important;
}
.naf-route-card {
  background: #ffffff !important;
  border: 1px solid rgba(24,50,74,0.10) !important;
  border-radius: 16px !important;
}
.naf-route-card:before { opacity: 1 !important; }
.naf-route-start:before { background: var(--naf-coral) !important; }
.naf-route-life:before { background: var(--naf-olive) !important; }
.naf-route-place:before { background: var(--naf-ocean) !important; }
.naf-route-num {
  background: var(--naf-mist) !important;
  color: var(--naf-ink) !important;
}
.naf-route-arrow { color: var(--naf-ocean) !important; }
.naf-card-meta,
.naf-section-kicker,
.taxonomy-category a,
.naf-view-all,
.naf-section-heading a,
.naf-text-link,
.naf-route-label,
.naf-stack-header {
  color: var(--naf-coral) !important;
}
.naf-primary-link,
.naf-header-button .wp-block-button__link {
  background: var(--naf-ink) !important;
  color: #ffffff !important;
}

/* Category blocks: less dull, still mature */
.naf-home-categories {
  background:
    radial-gradient(circle at 90% 14%, rgba(20,108,115,0.09), transparent 28rem),
    radial-gradient(circle at 10% 42%, rgba(217,121,91,0.07), transparent 24rem),
    linear-gradient(180deg, #f8efe1 0%, #fbf6ed 100%) !important;
  padding-top: clamp(2rem, 3.8vw, 3.8rem) !important;
  padding-bottom: clamp(2rem, 3.6vw, 3.6rem) !important;
}
.naf-section-heading {
  border-top-color: rgba(24,50,74,0.10) !important;
}
.naf-category-hero {
  background: linear-gradient(110deg, rgba(255,253,248,0.96), rgba(234,243,242,0.92)) !important;
}
.naf-category-compact {
  background: linear-gradient(145deg, rgba(255,253,248,0.98) 0%, rgba(248,235,215,0.88) 100%) !important;
}
.naf-two-section-grid .naf-category-compact:nth-child(2) {
  background: linear-gradient(145deg, rgba(255,253,248,0.98) 0%, rgba(234,243,242,0.94) 100%) !important;
}
.naf-category-story {
  background: rgba(255,255,255,0.78) !important;
  border-color: rgba(24,50,74,0.08) !important;
}
.naf-category-story:hover,
.naf-story-card:hover {
  border-color: rgba(20,108,115,0.26) !important;
  box-shadow: 0 12px 25px rgba(16,43,58,0.08) !important;
}
.naf-story-thumb,
.naf-story-thumb img,
.naf-story-thumb .naf-image-placeholder,
.naf-category-story .naf-story-thumb,
.naf-category-story .naf-story-thumb img,
.naf-category-story .naf-story-thumb .naf-image-placeholder {
  border-radius: 0 !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
}

/* Newsletter: blend into the previous section instead of feeling bolted on */
.naf-email-band,
.naf-email-band.has-background {
  background:
    linear-gradient(180deg, rgba(251,246,237,1) 0%, rgba(251,246,237,0.98) 22%, rgba(239,230,207,0.84) 100%),
    radial-gradient(circle at 83% 30%, rgba(240,189,99,0.26), transparent 24rem),
    radial-gradient(circle at 14% 30%, rgba(20,108,115,0.13), transparent 24rem) !important;
  margin-top: 0 !important;
  padding-top: clamp(2rem, 3.2vw, 3.6rem) !important;
  padding-bottom: clamp(2.8rem, 4vw, 4.6rem) !important;
}
.naf-email-panel {
  background: rgba(255,253,248,0.94) !important;
  border-radius: 22px !important;
}
.naf-email-placeholder {
  background: rgba(255,255,255,0.72) !important;
  border: 1px dashed rgba(24,50,74,0.22) !important;
  color: var(--naf-ink) !important;
}

/* Tone down accidental serif/heavy title styles from earlier versions */
.naf-site-title a,
.naf-footer .wp-block-site-title a {
  letter-spacing: -0.055em !important;
}
.naf-main-nav a {
  color: var(--naf-ink) !important;
}
.naf-story-card h3,
.naf-category-story h3 {
  font-size: 0.82rem !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
}
.naf-category-titlebar h2,
.naf-section-heading h2,
.naf-start-panel h2,
.naf-route-board h2,
.naf-email-panel h2 {
  font-weight: 800 !important;
  letter-spacing: -0.045em !important;
}

@media (max-width: 1180px) {
  .naf-modern-front { grid-template-columns: 1fr 1fr !important; }
  .naf-start-panel { grid-column: 1 / -1 !important; order: -1; }
}
@media (max-width: 780px) {
  .naf-modern-front,
  .naf-home-hero-grid,
  .naf-two-section-grid { grid-template-columns: 1fr !important; }
  .naf-hero-image-card { transform: none !important; }
}

/* v19: return the main canvas to white while keeping the dark header/footer identity */
:root {
  --naf-ink: #122033;
  --naf-deep: #0d2630;
  --naf-canvas: #ffffff;
  --naf-paper: #ffffff;
  --naf-card: #ffffff;
  --naf-soft: #f6f8f7;
  --naf-line: rgba(18, 32, 51, 0.11);
  --naf-muted: rgba(18, 32, 51, 0.68);
  --naf-clay: #b85f43;
  --naf-teal: #21777c;
  --naf-sage: #6f8f82;
  --naf-sky: #e8f2f1;
}

html,
body,
.wp-site-blocks,
.naf-home-hero,
.naf-front-desk-wrap,
.naf-home-categories,
.naf-email-band,
main,
.entry-content {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
}

body {
  color: var(--naf-ink) !important;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

body *:not(.dashicons):not([class*="icon"]):not(svg):not(svg *) {
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.naf-header-shell {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(18, 32, 51, 0.08) !important;
}

.naf-home-hero {
  border-bottom: 1px solid rgba(18, 32, 51, 0.08) !important;
}

.naf-hero-description,
.naf-start-panel p,
.naf-route-card em,
.naf-email-panel p,
.naf-footer p {
  color: var(--naf-muted) !important;
}

.naf-route-board,
.naf-start-panel,
.naf-brief-stack,
.naf-category-modern,
.naf-email-panel,
.naf-author-box,
.naf-related-card {
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(18, 32, 51, 0.1) !important;
  box-shadow: 0 14px 34px rgba(18, 32, 51, 0.045) !important;
}

.naf-route-card,
.naf-category-story {
  background: #ffffff !important;
  background-image: none !important;
}

.naf-route-card {
  border-bottom-color: rgba(18, 32, 51, 0.1) !important;
}

.naf-route-card::before {
  background: rgba(33, 119, 124, 0.06) !important;
}

.naf-route-start,
.naf-route-life,
.naf-route-place {
  background: #ffffff !important;
}

.naf-route-start { border-left: 3px solid var(--naf-clay) !important; }
.naf-route-life { border-left: 3px solid var(--naf-sage) !important; }
.naf-route-place { border-left: 3px solid var(--naf-teal) !important; }

.naf-hero-image-card {
  background: #ffffff !important;
  border-color: rgba(18, 32, 51, 0.12) !important;
}

.naf-story-thumb,
.naf-related-image,
.naf-cover-image {
  background: var(--naf-soft) !important;
}

.naf-category-hero,
.naf-category-compact,
.naf-category-compact:nth-child(2) {
  background: #ffffff !important;
  background-image: none !important;
}

.naf-section-heading {
  border-top-color: rgba(18, 32, 51, 0.1) !important;
}

.naf-email-band {
  border-top: 1px solid rgba(18, 32, 51, 0.08) !important;
  padding-top: clamp(3rem, 5vw, 5rem) !important;
}

.naf-email-panel {
  max-width: 1320px !important;
  box-shadow: none !important;
}

.naf-email-placeholder {
  background: #ffffff !important;
  border-color: rgba(18, 32, 51, 0.18) !important;
}

.naf-footer {
  background: #0d2630 !important;
}


/* === Nomad at Fifty v20 refinements: main content fixes, header untouched === */
html, body {
  background: #ffffff !important;
  color: #142238 !important;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body :where(h1,h2,h3,h4,h5,h6,p,a,li,span,em,strong,button,input,textarea) {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* Hero: cleaner, tighter, more connected */
.naf-home-hero {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(20,34,56,0.08) !important;
}

.naf-home-hero[style] {
  padding-top: clamp(2rem, 3.2vw, 3.4rem) !important;
  padding-bottom: clamp(2rem, 3vw, 3.2rem) !important;
}

.naf-home-hero-grid {
  align-items: center !important;
  gap: clamp(2rem, 5vw, 6.5rem) !important;
}

.naf-hero-copy {
  max-width: 760px !important;
}

.naf-hero-title {
  max-width: 760px !important;
  font-size: clamp(2.15rem, 1.75rem + 1.55vw, 3.45rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.06em !important;
  margin: 0 !important;
}

.naf-hero-description {
  max-width: 650px !important;
  color: #52606f !important;
  font-size: clamp(0.98rem, 0.92rem + 0.14vw, 1.07rem) !important;
  line-height: 1.65 !important;
  margin: 1.05rem 0 0 !important;
}

.naf-hero-image-card {
  max-width: 290px !important;
  justify-self: center !important;
  aspect-ratio: 1.18 / 1 !important;
  border-radius: 28px 28px 28px 10px !important;
  transform: rotate(1deg) !important;
  box-shadow: 0 18px 38px rgba(20,34,56,0.12) !important;
  border: 1px solid rgba(20,34,56,0.10) !important;
}

.naf-hero-image-card::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 36px 36px 36px 14px;
  background: linear-gradient(135deg, rgba(44,126,132,0.12), rgba(225,116,78,0.10));
  z-index: -1;
}

/* Pull the front desk closer to the hero and keep the three panels balanced */
.naf-front-desk-wrap {
  padding-top: clamp(1.4rem, 2.1vw, 2.2rem) !important;
  padding-bottom: clamp(1.6rem, 2.5vw, 2.7rem) !important;
  background: #ffffff !important;
}

.naf-modern-front {
  align-items: stretch !important;
  grid-template-columns: minmax(285px, 0.96fr) minmax(345px, 1.08fr) minmax(300px, 0.96fr) !important;
  gap: clamp(1rem, 1.6vw, 1.5rem) !important;
}

.naf-route-board,
.naf-start-panel,
.naf-brief-stack {
  min-height: 268px !important;
  height: 100% !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  border: 1px solid rgba(20,34,56,0.12) !important;
  box-shadow: 0 16px 34px rgba(20,34,56,0.06) !important;
}

.naf-route-board {
  padding: 1.05rem !important;
}

.naf-route-board h2,
.naf-start-panel h2 {
  color: #142238 !important;
}

.naf-route-list {
  gap: 0.55rem !important;
}

.naf-route-card {
  background: #fff !important;
  border: 1px solid rgba(20,34,56,0.10) !important;
  border-left: 3px solid #2c7e84 !important;
  border-radius: 15px !important;
  box-shadow: none !important;
  padding: 0.68rem 2.6rem 0.68rem 0.78rem !important;
}

.naf-route-start { border-left-color: #e1744e !important; }
.naf-route-life { border-left-color: #6f8f66 !important; }
.naf-route-place { border-left-color: #2c7e84 !important; }

.naf-route-card::before {
  display: none !important;
}

.naf-route-card .naf-route-num {
  position: static !important;
  display: inline-flex !important;
  width: 1.55rem !important;
  height: 1.55rem !important;
  align-items: center !important;
  justify-content: center !important;
  float: left !important;
  margin: 0.05rem 0.65rem 1.1rem 0 !important;
  font-size: 0.68rem !important;
  letter-spacing: 0 !important;
  color: #51606f !important;
  background: #f4f6f7 !important;
  border: 1px solid rgba(20,34,56,0.12) !important;
  border-radius: 999px !important;
}

.naf-route-card .naf-route-label {
  font-size: 0.65rem !important;
  color: #b15b40 !important;
  letter-spacing: 0.08em !important;
}

.naf-route-card strong {
  font-size: 0.88rem !important;
  line-height: 1.15 !important;
}

.naf-route-card em {
  font-size: 0.72rem !important;
  color: #697584 !important;
  max-width: 25ch !important;
}

.naf-route-arrow {
  display: inline-flex !important;
  position: absolute !important;
  right: 0.8rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #2c7e84 !important;
  font-size: 0.92rem !important;
}

.naf-start-panel {
  justify-content: center !important;
  padding: clamp(1.2rem, 2vw, 1.8rem) !important;
  background: linear-gradient(135deg, #ffffff 0%, #fbf8f1 100%) !important;
}

.naf-start-panel h2 {
  font-size: clamp(1.35rem, 1.1rem + 0.6vw, 1.78rem) !important;
  line-height: 1.08 !important;
  margin: 0.18rem 0 0.55rem !important;
}

.naf-start-panel p {
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  color: #52606f !important;
  max-width: 54ch !important;
}

.naf-start-actions {
  margin-top: 0.85rem !important;
}

.naf-primary-link {
  padding: 0.62rem 0.9rem !important;
  font-size: 0.76rem !important;
  border-radius: 8px !important;
}

.naf-text-link {
  color: #b15b40 !important;
  font-size: 0.72rem !important;
}

.naf-brief-stack {
  padding: 0.95rem !important;
}

.naf-stack-header,
.naf-section-kicker,
.naf-card-meta,
.naf-view-all,
.naf-section-heading a {
  color: #b15b40 !important;
}

.naf-stack-header,
.naf-section-kicker {
  font-size: 0.67rem !important;
  letter-spacing: 0.12em !important;
}

.naf-brief-stack .naf-story-card {
  grid-template-columns: 70px 1fr !important;
  gap: 0.75rem !important;
  padding: 0.58rem 0 !important;
  border-bottom: 1px solid rgba(20,34,56,0.09) !important;
}

.naf-brief-stack .naf-story-thumb {
  width: 70px !important;
  height: 70px !important;
}

.naf-brief-stack .naf-story-card h3 {
  font-size: 0.82rem !important;
  line-height: 1.22 !important;
}

.naf-card-meta {
  font-size: 0.61rem !important;
  letter-spacing: 0.09em !important;
  margin-bottom: 0.2rem !important;
}

/* Guide sections: less dead air, stronger readability, white panels */
.naf-home-categories {
  background: #ffffff !important;
  padding-top: clamp(1.6rem, 2.4vw, 2.5rem) !important;
  padding-bottom: clamp(2rem, 3vw, 3.2rem) !important;
}

.naf-section-heading {
  border-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 1rem !important;
}

.naf-section-heading::before {
  content: "";
  display: block;
  flex-basis: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(20,34,56,0.12), rgba(20,34,56,0));
  margin-bottom: 1rem;
}

.naf-section-heading h2 {
  font-size: clamp(1.45rem, 1.2rem + 0.7vw, 1.95rem) !important;
  line-height: 1.08 !important;
  color: #142238 !important;
}

.naf-category-modern {
  background: #ffffff !important;
  border: 1px solid rgba(20,34,56,0.11) !important;
  box-shadow: 0 14px 34px rgba(20,34,56,0.045) !important;
  border-radius: 20px !important;
  margin-bottom: 1.1rem !important;
}

.naf-category-hero,
.naf-category-compact,
.naf-category-compact:nth-child(2) {
  background: #ffffff !important;
}

.naf-category-titlebar {
  margin-bottom: 0.8rem !important;
}

.naf-category-titlebar h2 {
  font-size: clamp(1.18rem, 1.05rem + 0.45vw, 1.48rem) !important;
  color: #142238 !important;
}

.naf-category-grid,
.naf-category-hero .naf-category-grid {
  gap: 0.78rem !important;
}

.naf-category-story {
  background: #fbfcfc !important;
  border: 1px solid rgba(20,34,56,0.08) !important;
  padding: 0.52rem !important;
  border-radius: 12px !important;
}

.naf-category-story .naf-story-thumb {
  width: 68px !important;
  height: 68px !important;
  flex: 0 0 68px !important;
}

.naf-category-story h3 {
  font-size: 0.82rem !important;
  line-height: 1.22 !important;
  color: #142238 !important;
}

.naf-category-hero .naf-category-story {
  display: grid !important;
  grid-template-columns: 70px 1fr !important;
  gap: 0.68rem !important;
  align-items: center !important;
}

.naf-category-compact .naf-category-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.55rem !important;
}

.naf-category-compact .naf-category-story {
  grid-template-columns: 74px 1fr !important;
  gap: 0.75rem !important;
  padding: 0.58rem !important;
  border-bottom: 0 !important;
}

.naf-category-compact .naf-category-story .naf-story-thumb {
  width: 74px !important;
  height: 74px !important;
}

.naf-category-compact .naf-category-story h3 {
  font-size: 0.86rem !important;
  line-height: 1.25 !important;
}

.naf-category-compact .naf-empty-category {
  min-height: 0 !important;
}

.naf-two-section-grid {
  align-items: start !important;
}

.naf-category-compact:has(.naf-category-story:nth-child(2):last-child) {
  min-height: unset !important;
}

.naf-category-modern p,
.naf-empty-category,
.naf-story-card h3 a,
.naf-category-story h3 a {
  color: #142238 !important;
}

/* Email: white, integrated, compact, no separate beige band */
.naf-email-band {
  background: #ffffff !important;
  padding-top: clamp(1.7rem, 2.6vw, 2.8rem) !important;
  padding-bottom: clamp(2rem, 3vw, 3.2rem) !important;
  border-top: 1px solid rgba(20,34,56,0.08) !important;
}

.naf-email-panel {
  background: #ffffff !important;
  border: 1px solid rgba(20,34,56,0.12) !important;
  border-radius: 20px !important;
  box-shadow: 0 14px 34px rgba(20,34,56,0.045) !important;
  padding-top: clamp(1.4rem, 2vw, 2rem) !important;
  padding-bottom: clamp(1.4rem, 2vw, 2rem) !important;
}

.naf-email-columns {
  align-items: center !important;
}

.naf-email-panel h2 {
  max-width: 520px !important;
  font-size: clamp(1.4rem, 1.16rem + 0.7vw, 1.95rem) !important;
  line-height: 1.12 !important;
  color: #142238 !important;
}

.naf-email-panel p:not(.naf-section-kicker) {
  color: #52606f !important;
  font-size: 0.98rem !important;
  line-height: 1.6 !important;
}

.naf-email-placeholder {
  min-height: 58px !important;
  color: #142238 !important;
  background: #fbfcfc !important;
  border: 1px dashed rgba(20,34,56,0.22) !important;
  font-size: 0.9rem !important;
}

/* Footer fixes only: contrast, grid, button text, height */
.naf-footer {
  padding-top: clamp(2.4rem, 4vw, 3.5rem) !important;
  padding-bottom: clamp(1.8rem, 3vw, 2.5rem) !important;
}

.naf-footer .wp-block-columns {
  align-items: start !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
}

.naf-footer p,
.naf-footer li,
.naf-footer a {
  color: rgba(250,247,240,0.82) !important;
  opacity: 1 !important;
}

.naf-footer h2,
.naf-footer h3,
.naf-footer .wp-block-heading {
  color: #f4d7a3 !important;
  opacity: 1 !important;
}

.naf-footer .wp-site-title,
.naf-footer .wp-block-site-title,
.naf-footer .wp-block-site-title a {
  color: #ffffff !important;
}

.naf-footer .wp-block-button__link,
.naf-footer .wp-element-button {
  background: #ffffff !important;
  color: #0f2530 !important;
  opacity: 1 !important;
  font-weight: 750 !important;
  border-radius: 999px !important;
  padding: 0.72rem 1.05rem !important;
  min-width: max-content !important;
}

.naf-footer .has-mist-color,
.naf-footer .has-mist-color a {
  color: rgba(250,247,240,0.82) !important;
}

.naf-footer .has-sand-color {
  color: #f4d7a3 !important;
}

.naf-footer > .wp-block-columns + p,
.naf-footer p.has-text-align-center {
  margin-top: 2rem !important;
  color: rgba(250,247,240,0.64) !important;
}

@media (max-width: 1180px) {
  .naf-modern-front {
    grid-template-columns: 1fr 1fr !important;
  }
  .naf-brief-stack {
    grid-column: 1 / -1 !important;
  }
  .naf-route-board,
  .naf-start-panel,
  .naf-brief-stack {
    min-height: unset !important;
  }
}

@media (max-width: 780px) {
  .naf-home-hero[style] {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  .naf-hero-title {
    font-size: clamp(2rem, 8vw, 2.7rem) !important;
  }
  .naf-hero-image-card {
    max-width: 100% !important;
    transform: none !important;
  }
  .naf-modern-front,
  .naf-category-grid,
  .naf-category-hero .naf-category-grid,
  .naf-two-section-grid {
    grid-template-columns: 1fr !important;
  }
  .naf-category-story,
  .naf-category-hero .naf-category-story,
  .naf-category-compact .naf-category-story,
  .naf-brief-stack .naf-story-card {
    grid-template-columns: 72px 1fr !important;
  }
  .naf-email-panel {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* v21 full UI/UX polish pass */
:root {
  --naf-ink: #122238;
  --naf-text: #263243;
  --naf-muted: #64707d;
  --naf-soft-muted: #7b8490;
  --naf-line: rgba(18, 34, 56, 0.10);
  --naf-line-strong: rgba(18, 34, 56, 0.16);
  --naf-card: #ffffff;
  --naf-bg: #ffffff;
  --naf-coral: #c76a51;
  --naf-teal: #1f7a7a;
  --naf-sage: #6f8f7f;
  --naf-sand: #eee3d0;
  --naf-cream: #fbf7ef;
}

html, body,
.wp-site-blocks,
.editor-styles-wrapper {
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  color: var(--naf-text) !important;
  background: var(--naf-bg) !important;
}

body {
  font-size: 16px;
  letter-spacing: -0.006em;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.wp-block-site-title,
.wp-block-navigation,
.wp-block-button__link,
.naf-story-card,
.naf-section-kicker,
.naf-card-meta {
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Overall layout rhythm */
body .is-layout-constrained > .alignwide {
  max-width: min(1320px, calc(100vw - 48px));
}

.naf-home-hero[style] {
  background: #ffffff !important;
  padding-top: clamp(2.6rem, 5vw, 5.4rem) !important;
  padding-bottom: clamp(2.1rem, 4vw, 4.2rem) !important;
  border-bottom: 1px solid var(--naf-line) !important;
}

.naf-home-hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.55fr) !important;
  gap: clamp(2rem, 8vw, 9rem) !important;
  align-items: center !important;
}

.naf-hero-copy {
  grid-column: auto !important;
  max-width: 760px !important;
}

.naf-hero-title {
  color: var(--naf-ink) !important;
  font-size: clamp(2.35rem, 1.9rem + 1.85vw, 4rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.072em !important;
  max-width: 720px !important;
  margin-bottom: 1rem !important;
}

.naf-hero-description,
.naf-hero-intro {
  color: var(--naf-muted) !important;
  max-width: 620px !important;
  font-size: clamp(1rem, 0.96rem + 0.16vw, 1.12rem) !important;
  line-height: 1.65 !important;
  margin-left: 0 !important;
}

.naf-hero-image-card {
  grid-column: auto !important;
  width: min(100%, 315px) !important;
  margin: 0 0 0 auto !important;
  border-radius: 24px 24px 6px 24px !important;
  overflow: hidden !important;
  background: var(--naf-cream) !important;
  border: 1px solid var(--naf-line) !important;
  box-shadow: 0 24px 55px rgba(18, 34, 56, 0.10) !important;
  transform: rotate(0.5deg) !important;
}

.naf-hero-image-card img,
.naf-hero-image-placeholder {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
}

/* Pull the front desk closer and make the three panels feel consistent */
.naf-front-desk-wrap[style] {
  padding-top: clamp(1.35rem, 2.5vw, 2.4rem) !important;
  padding-bottom: clamp(2rem, 3vw, 3rem) !important;
}

.naf-modern-front {
  grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 1.05fr) minmax(300px, 0.95fr) !important;
  gap: clamp(1.1rem, 1.8vw, 1.55rem) !important;
  align-items: stretch !important;
}

.naf-route-board,
.naf-start-panel,
.naf-brief-stack,
.naf-category-modern,
.naf-email-panel,
.naf-related-card,
.naf-author-box {
  background: #ffffff !important;
  border: 1px solid var(--naf-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 34px rgba(18, 34, 56, 0.045) !important;
}

.naf-route-board,
.naf-start-panel,
.naf-brief-stack {
  min-height: 0 !important;
  height: auto !important;
}

.naf-route-board {
  padding: 1.05rem !important;
  background:
    linear-gradient(90deg, rgba(31,122,122,0.035), transparent 45%),
    #ffffff !important;
}

.naf-route-board h2,
.naf-start-panel h2 {
  color: var(--naf-ink) !important;
  font-size: clamp(1.15rem, 1rem + 0.42vw, 1.42rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.055em !important;
}

.naf-route-list {
  gap: 0.66rem !important;
}

.naf-route-card {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) 20px !important;
  column-gap: 0.75rem !important;
  align-items: center !important;
  min-height: 72px !important;
  padding: 0.72rem 0.78rem !important;
  border-radius: 14px !important;
  border: 1px solid rgba(18, 34, 56, 0.09) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.naf-route-card::before {
  content: "";
  grid-row: 1 / span 3;
  width: 3px;
  align-self: stretch;
  border-radius: 99px;
  background: var(--naf-coral);
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
}

.naf-route-card { position: relative !important; }
.naf-route-life::before { background: var(--naf-sage); }
.naf-route-place::before { background: var(--naf-teal); }

.naf-route-num {
  grid-row: 1 / span 3 !important;
  display: grid !important;
  place-items: center !important;
  width: 30px !important;
  height: 30px !important;
  border: 1px solid var(--naf-line-strong) !important;
  border-radius: 999px !important;
  background: #f8faf9 !important;
  color: var(--naf-muted) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
}

.naf-route-label {
  grid-column: 2 !important;
  color: var(--naf-coral) !important;
  font-size: 0.62rem !important;
  margin-bottom: 0.15rem !important;
}

.naf-route-card strong {
  grid-column: 2 !important;
  color: var(--naf-ink) !important;
  font-size: 0.95rem !important;
  margin: 0 !important;
}

.naf-route-card em {
  grid-column: 2 !important;
  color: var(--naf-muted) !important;
  font-size: 0.72rem !important;
  line-height: 1.34 !important;
  margin-top: 0.16rem !important;
}

.naf-route-arrow {
  grid-column: 3 !important;
  grid-row: 1 / span 3 !important;
  color: var(--naf-teal) !important;
  font-size: 1rem !important;
  margin: 0 !important;
  text-align: right !important;
}

.naf-start-panel {
  padding: clamp(1.15rem, 1.6vw, 1.65rem) !important;
  justify-content: center !important;
  background:
    linear-gradient(120deg, rgba(238,227,208,0.45), rgba(255,255,255,0) 55%),
    #ffffff !important;
}

.naf-start-panel p {
  color: var(--naf-muted) !important;
  font-size: 0.91rem !important;
  line-height: 1.6 !important;
  max-width: 52ch !important;
  margin-top: 0.62rem !important;
}

.naf-start-actions {
  margin-top: 0.85rem !important;
}

.naf-primary-link {
  border-radius: 8px !important;
  font-size: 0.78rem !important;
  padding: 0.66rem 0.82rem !important;
}

.naf-text-link,
.naf-view-all,
.naf-section-heading a {
  color: var(--naf-coral) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.09em !important;
}

.naf-brief-stack {
  padding: 1.05rem !important;
}

.naf-stack-header {
  color: var(--naf-coral) !important;
  border-bottom: 1px solid var(--naf-line) !important;
  padding-bottom: 0.62rem !important;
}

.naf-brief-stack .naf-story-card {
  grid-template-columns: 76px 1fr !important;
  gap: 0.78rem !important;
  padding: 0.66rem 0 !important;
  border-bottom: 1px solid var(--naf-line) !important;
}

.naf-brief-stack .naf-story-card:last-child {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.naf-brief-stack .naf-story-thumb,
.naf-brief-stack .naf-story-thumb img,
.naf-brief-stack .naf-story-thumb .naf-image-placeholder {
  width: 76px !important;
  height: 76px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 8px !important;
}

.naf-brief-stack .naf-card-meta,
.naf-category-story .naf-card-meta {
  font-size: 0.58rem !important;
  letter-spacing: 0.08em !important;
  line-height: 1.2 !important;
}

.naf-brief-stack h3 {
  font-size: 0.84rem !important;
  line-height: 1.22 !important;
  letter-spacing: -0.02em !important;
  color: var(--naf-ink) !important;
}

/* Guide area: remove over-large gaps and make cards readable */
.naf-home-categories[style] {
  padding-top: clamp(1.6rem, 2.4vw, 2.6rem) !important;
  padding-bottom: clamp(2rem, 3vw, 3.2rem) !important;
}

.naf-section-heading {
  margin-bottom: 0.95rem !important;
}

.naf-section-heading::before {
  background: linear-gradient(90deg, rgba(18,34,56,0.14), rgba(18,34,56,0.02), transparent) !important;
  margin-bottom: 0.95rem !important;
}

.naf-section-heading h2 {
  color: var(--naf-ink) !important;
  font-size: clamp(1.35rem, 1.1rem + 0.75vw, 1.88rem) !important;
}

.naf-category-modern {
  padding: clamp(0.95rem, 1.4vw, 1.35rem) !important;
  margin-bottom: 1rem !important;
}

.naf-category-titlebar {
  align-items: flex-start !important;
  margin-bottom: 0.8rem !important;
}

.naf-category-titlebar h2 {
  font-size: clamp(1.15rem, 1.02rem + 0.45vw, 1.45rem) !important;
}

.naf-category-grid,
.naf-category-hero .naf-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.7rem !important;
}

.naf-category-story,
.naf-category-hero .naf-category-story,
.naf-category-compact .naf-category-story {
  display: grid !important;
  grid-template-columns: 80px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0.75rem !important;
  min-height: 88px !important;
  padding: 0.62rem !important;
  background: #ffffff !important;
  border: 1px solid var(--naf-line) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.naf-category-story .naf-story-thumb,
.naf-category-story .naf-story-thumb img,
.naf-category-story .naf-story-thumb .naf-image-placeholder,
.naf-category-compact .naf-category-story .naf-story-thumb,
.naf-category-compact .naf-category-story .naf-story-thumb img,
.naf-category-compact .naf-category-story .naf-story-thumb .naf-image-placeholder {
  width: 80px !important;
  height: 80px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 8px !important;
}

.naf-category-story h3,
.naf-category-compact .naf-category-story h3 {
  color: var(--naf-ink) !important;
  font-size: 0.86rem !important;
  line-height: 1.22 !important;
  letter-spacing: -0.022em !important;
}

.naf-category-compact .naf-category-grid {
  gap: 0.65rem !important;
}

.naf-two-section-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  align-items: start !important;
}

.naf-category-compact {
  min-height: 0 !important;
  height: auto !important;
}

.naf-category-compact .naf-category-story:last-child {
  border-bottom: 1px solid var(--naf-line) !important;
}

/* Email: truly part of the page, not a separate beige section */
.naf-email-band,
.naf-email-band.has-background {
  background: #ffffff !important;
  border-top: 1px solid var(--naf-line) !important;
  padding-top: clamp(1.8rem, 2.7vw, 3rem) !important;
  padding-bottom: clamp(2.2rem, 3.5vw, 4rem) !important;
}

.naf-email-panel {
  max-width: min(1320px, calc(100vw - 48px)) !important;
  background:
    linear-gradient(90deg, rgba(238,227,208,0.28), rgba(255,255,255,0) 55%),
    #ffffff !important;
  border-radius: 18px !important;
  padding: clamp(1.25rem, 2vw, 2rem) !important;
}

.naf-email-columns {
  gap: clamp(1rem, 3vw, 3rem) !important;
}

.naf-email-panel h2 {
  font-size: clamp(1.28rem, 1.08rem + 0.72vw, 1.82rem) !important;
  line-height: 1.16 !important;
  max-width: 540px !important;
}

.naf-email-panel p:not(.naf-section-kicker) {
  max-width: 55ch !important;
  margin-top: 0.65rem !important;
}

.naf-email-placeholder {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 72px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
}

/* Footer consistency */
.naf-footer {
  background: #0f2a33 !important;
  padding-top: clamp(2.4rem, 3.8vw, 3.8rem) !important;
  padding-bottom: clamp(1.5rem, 2.5vw, 2.4rem) !important;
}

.naf-footer .wp-block-site-title {
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.8rem) !important;
}

.naf-footer p,
.naf-footer li,
.naf-footer a {
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
}

.naf-footer .wp-block-columns {
  gap: clamp(2rem, 6vw, 6rem) !important;
}

/* Header small cleanups now, without changing the structure */
.naf-header-shell {
  background: #ffffff !important;
  border-bottom: 1px solid var(--naf-line) !important;
}

.naf-header-inner {
  grid-template-columns: minmax(220px, 0.9fr) minmax(420px, 1.3fr) auto !important;
}

.naf-main-nav a {
  color: var(--naf-ink) !important;
  font-size: 0.86rem !important;
}

.naf-header-button .wp-block-button__link {
  border-radius: 999px !important;
  box-shadow: 0 8px 18px rgba(18,34,56,0.12) !important;
}

@media (max-width: 1180px) {
  .naf-home-hero-grid,
  .naf-modern-front,
  .naf-two-section-grid {
    grid-template-columns: 1fr !important;
  }
  .naf-hero-image-card {
    margin-left: 0 !important;
  }
  .naf-category-grid,
  .naf-category-hero .naf-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 780px) {
  body .is-layout-constrained > .alignwide,
  .naf-email-panel {
    max-width: min(100%, calc(100vw - 32px)) !important;
  }
  .naf-home-hero[style] {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  .naf-hero-title {
    font-size: clamp(2rem, 8vw, 2.75rem) !important;
  }
  .naf-modern-front,
  .naf-category-grid,
  .naf-category-hero .naf-category-grid,
  .naf-two-section-grid {
    grid-template-columns: 1fr !important;
  }
  .naf-route-card,
  .naf-story-card,
  .naf-category-story,
  .naf-category-hero .naf-category-story,
  .naf-category-compact .naf-category-story,
  .naf-brief-stack .naf-story-card {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }
  .naf-route-arrow {
    display: none !important;
  }
  .naf-category-story .naf-story-thumb,
  .naf-category-story .naf-story-thumb img,
  .naf-category-story .naf-story-thumb .naf-image-placeholder,
  .naf-brief-stack .naf-story-thumb,
  .naf-brief-stack .naf-story-thumb img,
  .naf-brief-stack .naf-story-thumb .naf-image-placeholder {
    width: 72px !important;
    height: 72px !important;
  }
  .naf-email-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

/* v22: Find your route refinements */
.naf-route-board {
  padding: clamp(1rem, 1.4vw, 1.25rem) !important;
  border-radius: 22px !important;
}

.naf-route-board h2 {
  margin-bottom: 0.9rem !important;
}

.naf-route-list {
  display: grid !important;
  gap: 0.62rem !important;
}

.naf-route-card {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 0.72rem minmax(0, 1fr) auto !important;
  column-gap: 0.75rem !important;
  align-items: center !important;
  min-height: 4.3rem !important;
  padding: 0.8rem 0.72rem 0.8rem 0.72rem !important;
  background: #ffffff !important;
  border: 1px solid rgba(20, 34, 56, 0.09) !important;
  border-left: 0 !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 0 rgba(20, 34, 56, 0.02) !important;
  overflow: hidden !important;
}

.naf-route-card:hover {
  transform: translateY(-1px) !important;
  border-color: rgba(20, 34, 56, 0.16) !important;
  box-shadow: 0 12px 24px rgba(20, 34, 56, 0.06) !important;
}

.naf-route-card::before {
  content: "" !important;
  display: block !important;
  position: static !important;
  width: 0.58rem !important;
  height: 0.58rem !important;
  border-radius: 999px !important;
  align-self: center !important;
  opacity: 1 !important;
}

.naf-route-start::before { background: #e1744e !important; }
.naf-route-life::before { background: #6f8f66 !important; }
.naf-route-place::before { background: #2c7e84 !important; }

.naf-route-card::after {
  content: "" !important;
  display: none !important;
}

.naf-route-card .naf-route-num {
  display: none !important;
}

.naf-route-card .naf-route-label,
.naf-route-card strong,
.naf-route-card em {
  grid-column: 2 !important;
  float: none !important;
}

.naf-route-card .naf-route-label {
  display: block !important;
  margin: 0 0 0.12rem !important;
  font-size: 0.62rem !important;
  line-height: 1 !important;
  letter-spacing: 0.12em !important;
  color: #b15b40 !important;
}

.naf-route-card strong {
  display: block !important;
  margin: 0 0 0.15rem !important;
  font-size: 0.92rem !important;
  line-height: 1.12 !important;
  color: #142238 !important;
}

.naf-route-card em {
  display: block !important;
  max-width: 29ch !important;
  margin: 0 !important;
  font-size: 0.72rem !important;
  line-height: 1.35 !important;
  color: #657282 !important;
  font-style: normal !important;
}

.naf-route-arrow {
  grid-column: 3 !important;
  display: inline-flex !important;
  position: static !important;
  transform: none !important;
  width: 1.55rem !important;
  height: 1.55rem !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  background: rgba(44, 126, 132, 0.08) !important;
  color: #2c7e84 !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
}

.naf-route-card:hover .naf-route-arrow {
  background: #142238 !important;
  color: #ffffff !important;
}

@media (max-width: 760px) {
  .naf-route-card {
    min-height: auto !important;
    grid-template-columns: 0.7rem minmax(0, 1fr) auto !important;
  }
  .naf-route-card em {
    max-width: none !important;
  }
}

/* v23 route card border polish */
.naf-route-board .naf-route-list {
  gap: 0.7rem !important;
}

.naf-route-board .naf-route-card {
  border: 1px solid rgba(20, 34, 56, 0.13) !important;
  box-shadow:
    inset 0 -1px 0 rgba(20, 34, 56, 0.06),
    0 1px 0 rgba(20, 34, 56, 0.025) !important;
}

.naf-route-board .naf-route-card:last-child,
.naf-route-board .naf-route-place {
  border-bottom-color: rgba(20, 34, 56, 0.18) !important;
  box-shadow:
    inset 0 -1px 0 rgba(20, 34, 56, 0.1),
    0 2px 0 rgba(20, 34, 56, 0.035) !important;
}

.naf-route-board .naf-route-card:hover {
  border-color: rgba(20, 34, 56, 0.2) !important;
}


/* v25: tighten spacing between the front desk panels and guide sections */
.naf-front-desk-wrap {
  padding-bottom: clamp(1.25rem, 2.4vw, 2.4rem) !important;
}

.naf-home-categories {
  padding-top: clamp(0.6rem, 1.2vw, 1.2rem) !important;
}

.naf-section-heading {
  padding-top: 0.95rem;
  margin-bottom: 1.1rem;
}

@media (max-width: 900px) {
  .naf-front-desk-wrap {
    padding-bottom: 1.5rem !important;
  }

  .naf-home-categories {
    padding-top: 0.75rem !important;
  }
}

/* v26: remove horizontal divider lines and tighten the transition into guides */
.naf-home-hero,
.naf-front-desk-wrap,
.naf-home-categories,
.naf-email-wrap,
.naf-email-section,
.naf-section-heading {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.naf-home-hero::before,
.naf-home-hero::after,
.naf-front-desk-wrap::before,
.naf-front-desk-wrap::after,
.naf-home-categories::before,
.naf-home-categories::after,
.naf-email-wrap::before,
.naf-email-wrap::after,
.naf-email-section::before,
.naf-email-section::after,
.naf-section-heading::before,
.naf-section-heading::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
}

/* Remove visible WP separators anywhere on the homepage/templates */
.wp-block-separator,
hr.wp-block-separator,
hr {
  display: none !important;
  border: 0 !important;
  height: 0 !important;
  margin: 0 !important;
}

/* Remove horizontal divider treatment inside homepage zones without removing card outlines */
.naf-home main > .wp-block-group,
.naf-home-hero + .naf-front-desk-wrap,
.naf-front-desk-wrap + .naf-home-categories,
.naf-home-categories + .naf-email-wrap,
.naf-home-categories + .naf-email-section {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

/* Pull the route/fresh panels and guide section closer together */
.naf-front-desk-wrap {
  padding-bottom: clamp(0.4rem, 0.9vw, 0.9rem) !important;
  margin-bottom: 0 !important;
}

.naf-home-categories {
  padding-top: clamp(0.1rem, 0.35vw, 0.35rem) !important;
  margin-top: 0 !important;
}

.naf-section-heading {
  padding-top: 0 !important;
  margin-top: 0 !important;
  margin-bottom: clamp(0.85rem, 1.1vw, 1.05rem) !important;
}

@media (max-width: 900px) {
  .naf-front-desk-wrap {
    padding-bottom: 0.75rem !important;
  }
  .naf-home-categories {
    padding-top: 0.25rem !important;
  }
}

/* v27: remove the remaining page-level horizontal divider lines */
.naf-home-hero,
.naf-front-desk-wrap,
.naf-home-categories,
.naf-email-band,
.naf-email-wrap,
.naf-email-section {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.naf-home-hero::before,
.naf-home-hero::after,
.naf-front-desk-wrap::before,
.naf-front-desk-wrap::after,
.naf-home-categories::before,
.naf-home-categories::after,
.naf-email-band::before,
.naf-email-band::after,
.naf-email-wrap::before,
.naf-email-wrap::after,
.naf-email-section::before,
.naf-email-section::after,
.naf-section-heading::before,
.naf-section-heading::after {
  content: none !important;
  display: none !important;
  height: 0 !important;
  border: 0 !important;
  background: none !important;
}

/* Specifically target the two visible lines in the screenshot */
.naf-home-hero + .naf-front-desk-wrap,
.naf-home-categories + .naf-email-band,
.naf-home-categories + .naf-email-wrap,
.naf-home-categories + .wp-block-group,
.naf-email-band {
  border-top: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

/* Keep the email area white and integrated with the guide section above */
.naf-email-band {
  background: #ffffff !important;
  background-color: #ffffff !important;
  padding-top: clamp(1.15rem, 1.8vw, 1.9rem) !important;
}

/* Tighten the transition from the three panels into the guide sections */
.naf-front-desk-wrap {
  padding-bottom: clamp(0.15rem, 0.45vw, 0.55rem) !important;
}

.naf-home-categories {
  padding-top: 0 !important;
}

.naf-section-heading {
  border-top: 0 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* v28: remove the last visible divider below the hero section */
body .naf-home-hero,
body .naf-home-hero[style],
body .wp-block-group.naf-home-hero,
body .wp-block-group.naf-home-hero[style] {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body .naf-home-hero::before,
body .naf-home-hero::after,
body .wp-block-group.naf-home-hero::before,
body .wp-block-group.naf-home-hero::after {
  content: none !important;
  display: none !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body .naf-home-hero + .naf-front-desk-wrap,
body .naf-front-desk-wrap,
body .naf-front-desk-wrap[style] {
  border-top: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

/* Keep spacing tight after removing the line */
body .naf-front-desk-wrap[style] {
  padding-top: clamp(1.1rem, 1.8vw, 1.8rem) !important;
}

/* v29: responsive and browser compatibility pass. Desktop rules above are unchanged. */
@media (max-width: 1024px) {
  body .naf-home-hero {
    padding-top: clamp(2.6rem, 6vw, 4rem) !important;
    padding-bottom: clamp(2.2rem, 5vw, 3.5rem) !important;
  }

  body .naf-home-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 310px) !important;
    gap: clamp(1.6rem, 4vw, 3rem) !important;
    align-items: center !important;
  }

  body .naf-modern-front {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
  }

  body .naf-brief-stack {
    grid-column: 1 / -1 !important;
  }

  body .naf-category-hero .naf-category-grid,
  body .naf-category-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }

  body .naf-two-section-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  body .naf-email-section,
  body .naf-email-wrap .wp-block-columns,
  body .naf-footer .wp-block-columns {
    gap: 2rem !important;
  }
}

@media (max-width: 782px) {
  body .naf-header-shell {
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
  }

  body .naf-header-inner {
    gap: 0.8rem !important;
  }

  body .naf-site-title a,
  body .naf-site-title {
    font-size: clamp(1.55rem, 7vw, 2.05rem) !important;
    line-height: 1 !important;
  }

  body .naf-home-hero {
    padding-top: clamp(2rem, 8vw, 3rem) !important;
    padding-bottom: clamp(1.6rem, 7vw, 2.6rem) !important;
  }

  body .naf-home-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    text-align: left !important;
  }

  body .naf-hero-title {
    max-width: 12ch !important;
    font-size: clamp(2.35rem, 12vw, 3.4rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.07em !important;
  }

  body .naf-hero-description {
    max-width: 34rem !important;
    font-size: 1rem !important;
  }

  body .naf-hero-image-card {
    justify-self: start !important;
    width: min(100%, 280px) !important;
    margin-top: 0.25rem !important;
  }

  body .naf-modern-front {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  body .naf-route-board,
  body .naf-start-panel,
  body .naf-brief-stack,
  body .naf-category-modern,
  body .naf-email-section {
    border-radius: 18px !important;
  }

  body .naf-route-card {
    min-height: auto !important;
    padding: 0.85rem 2.65rem 0.85rem 1rem !important;
  }

  body .naf-brief-stack .naf-story-card,
  body .naf-category-compact .naf-story-card,
  body .naf-category-story {
    min-width: 0 !important;
  }

  body .naf-section-heading {
    gap: 0.65rem !important;
    align-items: flex-start !important;
  }

  body .naf-section-heading h2,
  body .naf-category-titlebar h2,
  body .naf-email-section h2 {
    font-size: clamp(1.45rem, 7vw, 2rem) !important;
    line-height: 1.05 !important;
  }

  body .naf-category-hero .naf-category-grid,
  body .naf-category-grid {
    grid-template-columns: 1fr !important;
  }

  body .naf-category-hero .naf-category-story,
  body .naf-category-story,
  body .naf-category-compact .naf-category-story {
    display: grid !important;
    grid-template-columns: 74px minmax(0, 1fr) !important;
    gap: 0.8rem !important;
    align-items: center !important;
    padding: 0.72rem !important;
  }

  body .naf-category-story .naf-story-thumb,
  body .naf-category-story .naf-story-thumb img,
  body .naf-category-story .naf-story-thumb .naf-image-placeholder,
  body .naf-compact-story .naf-story-thumb,
  body .naf-compact-story .naf-story-thumb img,
  body .naf-compact-story .naf-story-thumb .naf-image-placeholder {
    width: 74px !important;
    height: 74px !important;
    min-width: 74px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
  }

  body .naf-category-story h3,
  body .naf-category-story h3 a,
  body .naf-compact-story h3,
  body .naf-compact-story h3 a {
    font-size: 0.95rem !important;
    line-height: 1.18 !important;
  }

  body .naf-email-section,
  body .naf-email-wrap .wp-block-columns {
    display: block !important;
  }

  body .naf-email-section {
    padding: 1.35rem !important;
  }

  body .naf-email-form-placeholder,
  body .naf-email-section .wp-block-column:last-child {
    margin-top: 1rem !important;
  }

  body .naf-footer .wp-block-columns {
    display: block !important;
  }

  body .naf-footer .wp-block-column + .wp-block-column {
    margin-top: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  body .naf-home-hero,
  body .naf-front-desk-wrap,
  body .naf-home-categories,
  body .naf-email-band,
  body .naf-footer {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  body .naf-hero-title {
    max-width: 11ch !important;
    font-size: clamp(2.1rem, 13vw, 2.85rem) !important;
  }

  body .naf-modern-front,
  body .naf-two-section-grid {
    gap: 0.85rem !important;
  }

  body .naf-route-board,
  body .naf-start-panel,
  body .naf-brief-stack,
  body .naf-category-modern {
    padding: 1rem !important;
  }

  body .naf-start-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.65rem !important;
  }

  body .naf-primary-link {
    width: 100% !important;
    text-align: center !important;
  }

  body .naf-section-heading a,
  body .naf-view-all {
    font-size: 0.76rem !important;
  }
}

/* Cross-browser hardening for popular evergreen browsers. */
.naf-story-thumb img,
.naf-hero-image-card img,
.naf-category-story img,
.naf-compact-story img {
  display: block;
  max-width: 100%;
  height: auto;
}

@supports (aspect-ratio: 1 / 1) {
  .naf-story-thumb img,
  .naf-category-story img,
  .naf-compact-story img {
    height: 100%;
  }
}

@supports not (aspect-ratio: 1 / 1) {
  .naf-story-thumb,
  .naf-category-story .naf-story-thumb,
  .naf-compact-story .naf-story-thumb {
    height: 74px;
  }
}

/* v30: responsive header, tablet and mobile polish. Desktop layout remains unchanged. */
@media (max-width: 1180px) {
  .naf-header-shell {
    overflow: visible !important;
  }

  .naf-header-inner {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    grid-template-areas:
      "brand nav cta" !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: 1rem !important;
    max-width: calc(100% - 2rem) !important;
    width: 100% !important;
    margin-inline: auto !important;
  }

  .naf-site-title {
    grid-area: brand !important;
    margin: 0 !important;
  }

  .naf-main-nav {
    grid-area: nav !important;
    justify-self: center !important;
    justify-content: center !important;
    width: auto !important;
  }

  .naf-header-actions {
    grid-area: cta !important;
    justify-self: end !important;
    margin: 0 !important;
  }

  .naf-header-button .wp-block-button__link {
    white-space: nowrap !important;
  }

  .naf-modern-front {
    grid-template-columns: 1fr 1fr !important;
  }

  .naf-route-board {
    order: 1 !important;
    grid-column: 1 / -1 !important;
  }

  .naf-start-panel {
    order: 2 !important;
    grid-column: auto !important;
  }

  .naf-brief-stack {
    order: 3 !important;
  }
}

@media (max-width: 900px) {
  .naf-header-inner {
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "brand nav"
      "cta cta" !important;
    row-gap: 0.55rem !important;
  }

  .naf-header-actions {
    justify-self: center !important;
  }

  .naf-header-button .wp-block-button__link {
    font-size: 0.76rem !important;
    padding: 0.55rem 0.8rem !important;
    line-height: 1 !important;
  }

  .naf-home-hero-grid {
    gap: 1.4rem !important;
  }

  .naf-hero-title {
    font-size: clamp(2.05rem, 7vw, 3rem) !important;
    line-height: 0.98 !important;
    max-width: 11ch !important;
  }

  .naf-hero-description {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    max-width: 42ch !important;
  }

  .naf-hero-image-card {
    max-width: 260px !important;
    justify-self: start !important;
  }

  .naf-modern-front {
    grid-template-columns: 1fr !important;
  }

  .naf-route-board,
  .naf-start-panel,
  .naf-brief-stack {
    grid-column: 1 / -1 !important;
  }

  .naf-route-board {
    order: 1 !important;
  }

  .naf-start-panel {
    order: 2 !important;
  }

  .naf-brief-stack {
    order: 3 !important;
  }

  .naf-two-section-grid {
    grid-template-columns: 1fr !important;
  }

  .naf-category-grid,
  .naf-category-hero .naf-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .naf-category-compact .naf-category-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 781px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  .wp-site-blocks {
    width: 100% !important;
    overflow-x: hidden !important;
  }

  .naf-header-shell {
    padding-top: 0.72rem !important;
    padding-bottom: 0.72rem !important;
  }

  .naf-header-inner {
    max-width: calc(100% - 1.2rem) !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "brand nav"
      "cta cta" !important;
    gap: 0.55rem 0.75rem !important;
  }

  .naf-site-title a {
    font-size: 1.32rem !important;
    letter-spacing: -0.045em !important;
  }

  .naf-main-nav {
    justify-self: end !important;
  }

  .naf-main-nav .wp-block-navigation__responsive-container-open {
    width: 2rem !important;
    height: 2rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  .naf-header-actions {
    justify-self: center !important;
    transform: none !important;
    position: static !important;
  }

  .naf-header-button .wp-block-button__link {
    font-size: 0.68rem !important;
    padding: 0.48rem 0.72rem !important;
    box-shadow: 0 5px 14px rgba(16, 36, 58, 0.13) !important;
  }

  .naf-home-hero[style] {
    padding-top: 1.35rem !important;
    padding-bottom: 1.5rem !important;
  }

  .naf-home-hero-grid,
  .naf-modern-front,
  .naf-two-section-grid,
  .naf-category-grid,
  .naf-category-hero .naf-category-grid {
    grid-template-columns: 1fr !important;
  }

  .naf-hero-title {
    font-size: clamp(2rem, 11vw, 2.65rem) !important;
    max-width: 10.5ch !important;
    line-height: 0.98 !important;
  }

  .naf-hero-description {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    max-width: 36ch !important;
    margin-top: 0.85rem !important;
  }

  .naf-hero-image-card {
    width: min(230px, 75vw) !important;
    max-width: min(230px, 75vw) !important;
    margin-top: 0.35rem !important;
    transform: none !important;
    border-radius: 20px 20px 8px 20px !important;
  }

  .naf-front-desk-wrap {
    padding-top: 1.1rem !important;
    padding-bottom: 1.55rem !important;
  }

  .naf-route-board,
  .naf-start-panel,
  .naf-brief-stack,
  .naf-category-modern,
  .naf-email-panel {
    border-radius: 16px !important;
  }

  .naf-route-board {
    order: 1 !important;
  }

  .naf-start-panel {
    order: 2 !important;
    padding: 1rem !important;
  }

  .naf-brief-stack {
    order: 3 !important;
  }

  .naf-start-panel h2 {
    font-size: 1.18rem !important;
    line-height: 1.15 !important;
  }

  .naf-start-panel p {
    font-size: 0.83rem !important;
    line-height: 1.55 !important;
  }

  .naf-start-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.65rem !important;
  }

  .naf-primary-link {
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    padding: 0.55rem 0.7rem !important;
  }

  .naf-text-link {
    display: inline-flex !important;
    width: auto !important;
  }

  .naf-route-card {
    min-height: 76px !important;
    padding: 0.72rem 2.55rem 0.72rem 0.75rem !important;
  }

  .naf-route-card strong {
    font-size: 0.86rem !important;
  }

  .naf-route-card em {
    font-size: 0.68rem !important;
    max-width: 28ch !important;
  }

  .naf-story-card,
  .naf-category-story,
  .naf-category-compact .naf-category-story {
    grid-template-columns: 68px 1fr !important;
  }

  .naf-story-thumb,
  .naf-story-thumb img,
  .naf-story-thumb .naf-image-placeholder,
  .naf-category-story .naf-story-thumb,
  .naf-category-story .naf-story-thumb img,
  .naf-category-story .naf-story-thumb .naf-image-placeholder {
    width: 68px !important;
    height: 68px !important;
    max-width: 68px !important;
  }

  .naf-home-categories {
    padding-top: 1.45rem !important;
    padding-bottom: 2rem !important;
  }

  .naf-section-heading {
    margin-bottom: 0.85rem !important;
  }

  .naf-section-heading h2 {
    font-size: 1.45rem !important;
    line-height: 1.08 !important;
  }

  .naf-category-modern {
    padding: 0.95rem !important;
    margin-bottom: 1rem !important;
  }

  .naf-category-titlebar {
    flex-direction: row !important;
    align-items: flex-end !important;
  }

  .naf-category-titlebar h2 {
    font-size: 1.35rem !important;
  }

  .naf-email-band {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .naf-email-panel {
    padding: 1.05rem !important;
  }

  .naf-email-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .naf-email-panel h2 {
    font-size: 1.16rem !important;
    line-height: 1.15 !important;
  }

  .naf-email-placeholder {
    min-height: 82px !important;
    padding: 0.95rem !important;
    font-size: 0.76rem !important;
  }

  .naf-footer {
    width: 100% !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .naf-footer .wp-block-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.35rem !important;
  }

  .naf-footer p,
  .naf-footer li,
  .naf-footer a {
    font-size: 0.82rem !important;
  }
}

@media (max-width: 380px) {
  .naf-header-inner,
  .wp-block-group.alignwide,
  .wp-block-group.alignfull > .alignwide,
  .naf-modern-front.alignwide,
  .naf-category-modern.alignwide,
  .naf-email-panel.alignwide {
    max-width: calc(100% - 1rem) !important;
  }

  .naf-hero-title {
    font-size: 1.9rem !important;
    max-width: 10ch !important;
  }

  .naf-hero-description {
    max-width: 31ch !important;
  }

  .naf-card-meta,
  .naf-section-kicker {
    font-size: 0.5rem !important;
  }

  .naf-story-card h3,
  .naf-category-story h3 {
    font-size: 0.76rem !important;
  }
}

/* v31: mobile-only header/menu cleanup and mobile UI bug fixes. Desktop remains unchanged. */
@media (max-width: 781px) {
  /* Keep the mobile header to only the site name and the menu button. */
  .naf-header-shell {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    padding: 0.78rem 1rem !important;
    background: #ffffff !important;
  }

  .naf-header-shell .naf-header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas: "brand nav" !important;
    align-items: center !important;
    gap: 0.75rem !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .naf-header-shell .naf-site-title {
    grid-area: brand !important;
    justify-self: start !important;
    margin: 0 !important;
    max-width: none !important;
  }

  .naf-header-shell .naf-site-title a,
  .naf-header-shell .naf-site-title {
    font-size: 1.25rem !important;
    line-height: 1 !important;
    letter-spacing: -0.045em !important;
    white-space: nowrap !important;
  }

  .naf-header-shell .naf-main-nav {
    grid-area: nav !important;
    justify-self: end !important;
    width: auto !important;
    margin: 0 !important;
  }

  /* Remove the mobile CTA and any account/cart/icon blocks from the header. */
  .naf-header-shell .naf-header-actions,
  .naf-header-shell .wp-block-buttons.naf-header-actions,
  .naf-header-shell .wp-block-button.naf-header-button,
  .naf-header-shell .wp-block-search,
  .naf-header-shell .wp-block-social-links,
  .naf-header-shell .wp-block-woocommerce-mini-cart,
  .naf-header-shell .wc-block-mini-cart,
  .naf-header-shell .wp-block-woocommerce-customer-account,
  .naf-header-shell .wp-block-woocommerce-customer-account a,
  .naf-header-shell .wc-block-customer-account,
  .naf-header-shell .wc-block-mini-cart__button {
    display: none !important;
  }

  /* Hide any direct stray icon-only blocks that may have been added in the Site Editor. */
  .naf-header-shell .naf-header-inner > .wp-block-image,
  .naf-header-shell .naf-header-inner > .wp-block-html,
  .naf-header-shell .naf-header-inner > .wp-block-group:not(.naf-site-title):not(.naf-main-nav):not(.naf-header-actions) {
    display: none !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container-open {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2rem !important;
    height: 2rem !important;
    padding: 0 !important;
    margin: 0 !important;
    color: var(--naf-ink) !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container-open svg {
    width: 1.15rem !important;
    height: 1.15rem !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open {
    background: #ffffff !important;
    color: var(--naf-ink) !important;
    padding: 1.2rem !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    gap: 0.7rem !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open a {
    color: var(--naf-ink) !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
  }

  /* Mobile page rhythm fixes. */
  .naf-home-hero[style] {
    padding-top: 1.15rem !important;
  }

  .naf-hero-title {
    max-width: 12ch !important;
    font-size: clamp(2rem, 10.4vw, 2.65rem) !important;
  }

  .naf-modern-front {
    gap: 0.9rem !important;
  }

  .naf-start-actions {
    flex-direction: row !important;
    align-items: center !important;
  }

  .naf-primary-link {
    width: auto !important;
    min-width: 0 !important;
  }

  .naf-category-titlebar {
    gap: 0.5rem !important;
  }

  .naf-category-titlebar .naf-view-all {
    white-space: nowrap !important;
  }
}

@media (max-width: 380px) {
  .naf-header-shell {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .naf-header-shell .naf-site-title a,
  .naf-header-shell .naf-site-title {
    font-size: 1.12rem !important;
  }

  .naf-hero-title {
    max-width: 11ch !important;
    font-size: clamp(1.85rem, 10.8vw, 2.35rem) !important;
  }
}

/* v32: Mobile navigation overlay and close button polish */
@media (max-width: 781px) {
  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    padding: 5.25rem 1.25rem 2rem !important;
    background: #ffffff !important;
    color: var(--naf-ink, #0f1f35) !important;
    overflow-y: auto !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container-close {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    top: 0.9rem !important;
    right: 0.95rem !important;
    z-index: 1000000 !important;
    width: 2.75rem !important;
    height: 2.75rem !important;
    padding: 0 !important;
    border: 1px solid rgba(15, 31, 53, 0.14) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: var(--naf-ink, #0f1f35) !important;
    box-shadow: 0 14px 34px rgba(15, 31, 53, 0.14) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container-close svg {
    display: block !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
    fill: none !important;
    stroke: currentColor !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open::before {
    content: "Nomad at Fifty";
    position: fixed;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 999999;
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 850;
    letter-spacing: -0.045em;
    color: var(--naf-ink, #0f1f35);
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display: grid !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width: 100% !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 3.25rem !important;
    padding: 0.95rem 1rem !important;
    border: 1px solid rgba(15, 31, 53, 0.1) !important;
    border-radius: 16px !important;
    background: #fbfaf7 !important;
    color: var(--naf-ink, #0f1f35) !important;
    font-size: 1.05rem !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open a::after {
    content: "→";
    color: var(--naf-teal, #2c8f8f);
    font-weight: 900;
  }
}

/* v33: focused tablet and mobile repair pass. Desktop rules above 900px remain unchanged. */
@media (max-width: 1024px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .wp-site-blocks,
  .wp-site-blocks > header,
  .wp-site-blocks > footer,
  .naf-home-hero,
  .naf-front-desk-wrap,
  .naf-home-categories,
  .naf-email-band,
  .naf-footer {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .naf-home-hero-grid,
  .naf-modern-front,
  .naf-section-heading,
  .naf-category-modern,
  .naf-two-section-grid,
  .naf-email-panel,
  .naf-footer .wp-block-group,
  .naf-footer .wp-block-columns {
    box-sizing: border-box !important;
    max-width: min(100%, calc(100vw - 2rem)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Kill tablet-only stray icon rows without touching the desktop header. */
  .naf-header-shell .wp-block-woocommerce-mini-cart,
  .naf-header-shell .wc-block-mini-cart,
  .naf-header-shell .wp-block-woocommerce-customer-account,
  .naf-header-shell .wc-block-customer-account,
  .naf-header-shell .wp-block-social-links,
  .naf-header-shell .wp-block-search,
  .naf-header-shell .wp-block-image {
    display: none !important;
  }
}

@media (min-width: 782px) and (max-width: 1024px) {
  .naf-header-shell {
    padding: 0.85rem 1.25rem !important;
  }

  .naf-header-inner {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    gap: 1.2rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .naf-site-title {
    justify-self: start !important;
  }

  .naf-main-nav {
    justify-self: center !important;
    width: auto !important;
  }

  .naf-main-nav .wp-block-navigation__container {
    gap: 1rem !important;
  }

  .naf-main-nav a {
    font-size: 0.74rem !important;
  }

  .naf-header-actions {
    justify-self: end !important;
  }

  .naf-header-button .wp-block-button__link {
    font-size: 0.72rem !important;
    padding: 0.62rem 0.82rem !important;
  }

  .naf-home-hero[style] {
    padding-top: 2.2rem !important;
    padding-bottom: 2.25rem !important;
  }

  .naf-home-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.65fr) !important;
    align-items: center !important;
    gap: 2rem !important;
  }

  .naf-hero-copy,
  .naf-hero-image-card {
    grid-column: auto !important;
  }

  .naf-hero-title {
    max-width: 620px !important;
    font-size: clamp(2.2rem, 4.6vw, 3.35rem) !important;
  }

  .naf-hero-image-card {
    width: 100% !important;
    max-width: 285px !important;
    justify-self: end !important;
  }

  .naf-modern-front {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .naf-route-board,
  .naf-start-panel,
  .naf-brief-stack {
    width: 100% !important;
    max-width: 100% !important;
  }

  .naf-route-board { order: 1 !important; }
  .naf-start-panel { order: 2 !important; }
  .naf-brief-stack { order: 3 !important; }

  .naf-route-list {
    display: grid !important;
    gap: 0.75rem !important;
  }

  .naf-category-hero .naf-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .naf-two-section-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

@media (max-width: 781px) {
  .naf-header-shell {
    padding: 0.8rem 1rem !important;
    min-height: 3.4rem !important;
  }

  .naf-header-shell .naf-header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 2.25rem !important;
    grid-template-areas: "brand nav" !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .naf-header-shell .naf-main-nav {
    display: flex !important;
    grid-area: nav !important;
    justify-self: end !important;
    justify-content: flex-end !important;
    width: 2.25rem !important;
    max-width: 2.25rem !important;
    overflow: visible !important;
  }

  /* Prevent the normal horizontal menu from appearing under the mobile header. */
  .naf-header-shell .naf-main-nav > .wp-block-navigation__container,
  .naf-header-shell .naf-main-nav:not(.has-modal-open) .wp-block-navigation__container,
  .naf-header-shell .wp-block-navigation:not(.has-modal-open) > .wp-block-navigation__container {
    display: none !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container-open {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display: grid !important;
  }

  .naf-header-shell .naf-header-actions,
  .naf-header-shell .wp-block-buttons,
  .naf-header-shell .wp-block-button,
  .naf-header-shell .wp-block-woocommerce-mini-cart,
  .naf-header-shell .wc-block-mini-cart,
  .naf-header-shell .wp-block-woocommerce-customer-account,
  .naf-header-shell .wc-block-customer-account,
  .naf-header-shell .wp-block-social-links,
  .naf-header-shell .wp-block-search,
  .naf-header-shell .wp-block-image {
    display: none !important;
  }

  .naf-home-hero,
  .naf-front-desk-wrap,
  .naf-home-categories,
  .naf-email-band {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .naf-home-hero[style] {
    padding-top: 1.45rem !important;
    padding-bottom: 1.55rem !important;
  }

  .naf-home-hero-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .naf-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .naf-hero-title {
    max-width: 100% !important;
    width: 100% !important;
    font-size: clamp(2.2rem, 9.2vw, 2.95rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.065em !important;
  }

  .naf-hero-description {
    max-width: 36rem !important;
    font-size: 0.92rem !important;
    line-height: 1.58 !important;
  }

  .naf-hero-image-card {
    width: min(72vw, 245px) !important;
    max-width: 245px !important;
    justify-self: start !important;
    margin-top: 0.35rem !important;
    transform: none !important;
    border-radius: 18px 18px 6px 18px !important;
  }

  .naf-front-desk-wrap {
    padding-top: 1.1rem !important;
    padding-bottom: 1.35rem !important;
  }

  .naf-modern-front {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .naf-route-board { order: 1 !important; }
  .naf-start-panel { order: 2 !important; }
  .naf-brief-stack { order: 3 !important; }

  .naf-route-board,
  .naf-start-panel,
  .naf-brief-stack,
  .naf-category-modern,
  .naf-email-panel {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
  }

  .naf-route-card {
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "label arrow"
      "title arrow"
      "copy arrow" !important;
    padding: 0.85rem 0.8rem !important;
    min-height: auto !important;
  }

  .naf-route-card .naf-route-num {
    display: none !important;
  }

  .naf-route-card em {
    max-width: 100% !important;
  }

  .naf-start-panel {
    padding: 1rem !important;
  }

  .naf-start-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
  }

  .naf-start-actions .naf-primary-link {
    display: inline-flex !important;
    width: auto !important;
    max-width: max-content !important;
    flex: 0 0 auto !important;
  }

  .naf-brief-stack .naf-story-card,
  .naf-category-story,
  .naf-category-compact .naf-category-story {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 0.75rem !important;
  }

  .naf-story-thumb,
  .naf-story-thumb img,
  .naf-story-thumb .naf-image-placeholder,
  .naf-category-story .naf-story-thumb,
  .naf-category-story .naf-story-thumb img,
  .naf-category-story .naf-story-thumb .naf-image-placeholder {
    width: 76px !important;
    height: 76px !important;
    max-width: 76px !important;
    min-width: 76px !important;
  }

  .naf-home-categories {
    padding-top: 1.45rem !important;
    padding-bottom: 1.9rem !important;
  }

  .naf-section-heading {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
    margin-bottom: 0.85rem !important;
  }

  .naf-section-heading h2 {
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
  }

  .naf-section-heading p {
    margin-top: 0 !important;
  }

  .naf-category-titlebar {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
  }

  .naf-category-titlebar h2 {
    font-size: clamp(1.45rem, 6vw, 1.9rem) !important;
  }

  .naf-category-titlebar .naf-view-all {
    align-self: flex-end !important;
  }

  .naf-category-grid,
  .naf-category-hero .naf-category-grid,
  .naf-two-section-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .naf-category-compact .naf-category-grid {
    gap: 0.6rem !important;
  }

  .naf-category-compact .naf-category-story {
    border: 1px solid rgba(18, 32, 51, 0.09) !important;
    border-radius: 12px !important;
    padding: 0.65rem !important;
    background: #ffffff !important;
  }

  .naf-email-band {
    padding-top: 1.6rem !important;
    padding-bottom: 1.75rem !important;
  }

  .naf-email-panel {
    padding: 1rem !important;
  }

  .naf-email-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
  }

  .naf-email-placeholder {
    min-height: 86px !important;
  }

  .naf-footer {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .naf-footer .wp-block-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}

@media (max-width: 380px) {
  .naf-home-hero,
  .naf-front-desk-wrap,
  .naf-home-categories,
  .naf-email-band,
  .naf-footer {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .naf-hero-title {
    font-size: clamp(2rem, 10vw, 2.55rem) !important;
  }

  .naf-hero-description {
    font-size: 0.88rem !important;
  }

  .naf-hero-image-card {
    width: min(78vw, 220px) !important;
  }

  .naf-brief-stack .naf-story-card,
  .naf-category-story,
  .naf-category-compact .naf-category-story {
    grid-template-columns: 70px minmax(0, 1fr) !important;
    gap: 0.65rem !important;
  }

  .naf-story-thumb,
  .naf-story-thumb img,
  .naf-story-thumb .naf-image-placeholder,
  .naf-category-story .naf-story-thumb,
  .naf-category-story .naf-story-thumb img,
  .naf-category-story .naf-story-thumb .naf-image-placeholder {
    width: 70px !important;
    height: 70px !important;
    max-width: 70px !important;
    min-width: 70px !important;
  }
}

/* v34: tablet landscape/portrait and mobile bug fixes. Desktop above 1024px remains unchanged. */
@media (max-width: 1024px) {
  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open {
    background: #fffdf8 !important;
    color: var(--naf-ink) !important;
    padding: 1.1rem !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    padding-top: 3.5rem !important;
    align-items: flex-start !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display: grid !important;
    gap: 1rem !important;
    width: 100% !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open a {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: var(--naf-ink) !important;
    text-decoration: none !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container-close {
    width: 2.45rem !important;
    height: 2.45rem !important;
    top: 0.9rem !important;
    right: 0.9rem !important;
    border-radius: 999px !important;
    border: 1px solid rgba(16, 36, 58, 0.12) !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(16, 36, 58, 0.12) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container-close svg,
  .naf-header-shell .wp-block-navigation__responsive-container-open svg {
    width: 1rem !important;
    height: 1rem !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container-open {
    width: 2.4rem !important;
    height: 2.4rem !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
  }

  .naf-route-board,
  .naf-start-panel,
  .naf-brief-stack {
    min-height: auto !important;
  }

  .naf-route-card {
    display: grid !important;
    grid-template-columns: 0.75rem minmax(0, 1fr) 2rem !important;
    grid-template-areas:
      "dot label arrow"
      "dot title arrow"
      "dot copy arrow" !important;
    gap: 0.12rem 0.7rem !important;
    align-items: center !important;
    padding: 0.82rem 0.85rem !important;
  }

  .naf-route-card .naf-route-num {
    display: block !important;
    grid-area: dot !important;
    align-self: center !important;
    position: static !important;
    width: 0.48rem !important;
    height: 0.48rem !important;
    min-width: 0.48rem !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--naf-teal) !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    margin: 0 !important;
  }

  .naf-route-start .naf-route-num { background: var(--naf-coral) !important; }
  .naf-route-life .naf-route-num { background: var(--naf-sage) !important; }
  .naf-route-place .naf-route-num { background: var(--naf-teal) !important; }

  .naf-route-card .naf-route-label {
    grid-area: label !important;
    margin: 0 !important;
  }

  .naf-route-card strong {
    grid-area: title !important;
    margin: 0 !important;
  }

  .naf-route-card em {
    grid-area: copy !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .naf-route-arrow {
    display: inline-flex !important;
    grid-area: arrow !important;
    align-self: center !important;
    justify-self: end !important;
    width: 1.55rem !important;
    height: 1.55rem !important;
    border-radius: 999px !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(47, 127, 134, 0.11) !important;
    color: var(--naf-teal) !important;
    font-size: 0.8rem !important;
  }
}

@media (min-width: 782px) and (max-width: 1024px) {
  .naf-header-shell .naf-header-inner {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    gap: 1.1rem !important;
  }

  .naf-main-nav .wp-block-navigation__container {
    gap: 0.78rem !important;
  }

  .naf-main-nav a {
    font-size: 0.68rem !important;
  }

  .naf-header-button .wp-block-button__link {
    font-size: 0.68rem !important;
    padding: 0.58rem 0.76rem !important;
  }

  .naf-modern-front {
    grid-template-columns: 1fr 1fr !important;
    align-items: stretch !important;
  }

  .naf-route-board {
    grid-column: 1 / -1 !important;
  }

  .naf-route-list {
    gap: 0.7rem !important;
  }

  .naf-start-panel,
  .naf-brief-stack {
    grid-column: auto !important;
  }

  .naf-brief-stack .naf-story-card {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  .naf-brief-stack .naf-story-thumb,
  .naf-brief-stack .naf-story-thumb img,
  .naf-brief-stack .naf-story-thumb .naf-image-placeholder {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    min-width: 72px !important;
  }

  .naf-category-hero .naf-category-grid,
  .naf-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .naf-category-compact .naf-category-story {
    grid-template-columns: 76px minmax(0, 1fr) !important;
  }

  .naf-email-columns {
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
    gap: 1.2rem !important;
    align-items: center !important;
  }
}

@media (max-width: 781px) {
  .naf-header-shell .naf-header-inner {
    grid-template-columns: minmax(0, 1fr) 2.5rem !important;
  }

  .naf-header-shell .naf-site-title a {
    font-size: 1.28rem !important;
    letter-spacing: -0.045em !important;
  }

  .naf-home-hero[style] {
    padding-top: 1.05rem !important;
    padding-bottom: 1.2rem !important;
  }

  .naf-hero-title {
    font-size: clamp(2rem, 8.3vw, 2.75rem) !important;
    max-width: 10.8em !important;
  }

  .naf-hero-description {
    max-width: 32rem !important;
  }

  .naf-hero-image-card {
    width: min(66vw, 230px) !important;
    max-width: 230px !important;
  }

  .naf-front-desk-wrap {
    padding-top: 0.95rem !important;
  }

  .naf-route-board,
  .naf-start-panel,
  .naf-brief-stack,
  .naf-category-modern,
  .naf-email-panel {
    border-radius: 14px !important;
  }

  .naf-route-board {
    padding: 0.85rem !important;
  }

  .naf-route-list {
    gap: 0.6rem !important;
  }

  .naf-route-card {
    grid-template-columns: 0.7rem minmax(0, 1fr) 1.8rem !important;
    gap: 0.1rem 0.6rem !important;
    padding: 0.78rem 0.72rem !important;
  }

  .naf-route-card strong {
    font-size: 0.86rem !important;
  }

  .naf-route-card em {
    font-size: 0.7rem !important;
    line-height: 1.32 !important;
  }

  .naf-start-panel p {
    max-width: none !important;
  }

  .naf-section-heading h2,
  .naf-category-titlebar h2 {
    letter-spacing: -0.045em !important;
  }

  .naf-email-panel {
    margin-top: 0 !important;
  }

  .naf-footer {
    padding-top: 2rem !important;
    padding-bottom: 1.6rem !important;
  }
}

@media (max-width: 390px) {
  .naf-hero-title {
    font-size: clamp(1.9rem, 9vw, 2.45rem) !important;
  }

  .naf-route-card {
    grid-template-columns: 0.65rem minmax(0, 1fr) 1.65rem !important;
    gap: 0.1rem 0.5rem !important;
  }

  .naf-route-arrow {
    width: 1.35rem !important;
    height: 1.35rem !important;
  }
}


/* v35: tablet portrait/landscape and mobile bug fixes. Desktop above 1024px is unchanged. */
@media (max-width: 1024px) {
  /* Prevent the close icon from appearing on the page when the mobile menu is not actually open. */
  .naf-header-shell .wp-block-navigation:not(.has-modal-open) .wp-block-navigation__responsive-container-close,
  .naf-header-shell .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-close,
  .naf-header-shell .wp-block-navigation__responsive-container-close:not([aria-expanded="true"]) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .naf-header-shell .wp-block-navigation.has-modal-open .wp-block-navigation__responsive-container-close,
  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* When the menu is opened, make it a real overlay instead of leaving a stray close icon over the page. */
  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    padding: 5.25rem 1.25rem 2rem !important;
    background: #ffffff !important;
    color: var(--naf-ink, #122238) !important;
    overflow-y: auto !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    padding-top: 0 !important;
    width: 100% !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
    width: 100% !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 3.2rem !important;
    padding: 0.9rem 1rem !important;
    border: 1px solid rgba(18, 34, 56, 0.10) !important;
    border-radius: 14px !important;
    background: #fbfaf7 !important;
    color: var(--naf-ink, #122238) !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a::after {
    content: "→";
    color: var(--naf-teal, #1f7a7a);
    font-weight: 900;
  }

  /* Fix duplicate dots in the route rows on tablet/mobile. */
  .naf-route-card::before,
  .naf-route-card::after {
    display: none !important;
    content: none !important;
  }

  .naf-route-card {
    display: grid !important;
    grid-template-columns: 0.65rem minmax(0, 1fr) 1.7rem !important;
    grid-template-areas:
      "dot label arrow"
      "dot title arrow"
      "dot copy arrow" !important;
    column-gap: 0.7rem !important;
    row-gap: 0.12rem !important;
    align-items: center !important;
    padding: 0.82rem 0.82rem !important;
  }

  .naf-route-card .naf-route-num {
    display: block !important;
    grid-area: dot !important;
    align-self: center !important;
    justify-self: center !important;
    position: static !important;
    width: 0.5rem !important;
    height: 0.5rem !important;
    min-width: 0.5rem !important;
    min-height: 0.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
    background: var(--naf-teal, #1f7a7a) !important;
  }

  .naf-route-start .naf-route-num { background: var(--naf-coral, #c76a51) !important; }
  .naf-route-life .naf-route-num { background: var(--naf-sage, #6f8f7f) !important; }
  .naf-route-place .naf-route-num { background: var(--naf-teal, #1f7a7a) !important; }

  .naf-route-card .naf-route-label {
    grid-area: label !important;
    margin: 0 !important;
  }

  .naf-route-card strong {
    grid-area: title !important;
    margin: 0 !important;
  }

  .naf-route-card em {
    grid-area: copy !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .naf-route-arrow {
    grid-area: arrow !important;
    display: inline-flex !important;
    position: static !important;
    transform: none !important;
    align-self: center !important;
    justify-self: end !important;
    width: 1.55rem !important;
    height: 1.55rem !important;
    border-radius: 999px !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(31, 122, 122, 0.10) !important;
    color: var(--naf-teal, #1f7a7a) !important;
    font-size: 0.82rem !important;
    font-weight: 900 !important;
  }
}

@media (min-width: 782px) and (max-width: 1024px) {
  /* Tablet header: show the normal nav, hide hamburger/close unless the menu is explicitly opened. */
  .naf-header-shell .wp-block-navigation__responsive-container-open,
  .naf-header-shell .wp-block-navigation__responsive-container-close {
    display: none !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    color: inherit !important;
    overflow: visible !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: clamp(0.65rem, 1.35vw, 1rem) !important;
    width: auto !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container:not(.is-menu-open) a {
    display: inline-flex !important;
    min-height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container:not(.is-menu-open) a::after {
    content: none !important;
  }

  /* Tablet front-desk: route card full-width, then Darren and Fresh Guides side by side. */
  .naf-modern-front {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 1rem !important;
    align-items: stretch !important;
  }

  .naf-route-board {
    grid-column: 1 / -1 !important;
    order: 1 !important;
  }

  .naf-start-panel {
    grid-column: 1 !important;
    order: 2 !important;
  }

  .naf-brief-stack {
    grid-column: 2 !important;
    order: 3 !important;
  }

  .naf-start-panel,
  .naf-brief-stack {
    min-height: 100% !important;
  }

  .naf-brief-stack .naf-story-card {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  .naf-category-hero .naf-category-grid,
  .naf-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .naf-category-story,
  .naf-category-hero .naf-category-story {
    grid-template-columns: 76px minmax(0, 1fr) !important;
  }
}

@media (max-width: 781px) {
  /* Mobile header: only logo + hamburger. No floating close button unless the menu is open. */
  .naf-header-shell .wp-block-navigation__responsive-container-close {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container {
    display: none !important;
  }

  .naf-header-shell .wp-block-navigation__responsive-container-open {
    display: inline-flex !important;
  }

  .naf-header-shell .naf-header-inner {
    grid-template-columns: minmax(0, 1fr) 2.25rem !important;
  }

  /* Mobile hero: keep the heading strong but avoid the cramped broken line breaks. */
  .naf-hero-title {
    max-width: 12ch !important;
    font-size: clamp(2.05rem, 9.5vw, 2.7rem) !important;
    line-height: 0.98 !important;
  }

  .naf-hero-description {
    max-width: 34rem !important;
  }

  /* Mobile route card: one clean dot on the left, one arrow on the right. */
  .naf-route-card {
    grid-template-columns: 0.62rem minmax(0, 1fr) 1.55rem !important;
    grid-template-areas:
      "dot label arrow"
      "dot title arrow"
      "dot copy arrow" !important;
    padding: 0.78rem 0.72rem !important;
  }

  .naf-route-arrow {
    width: 1.42rem !important;
    height: 1.42rem !important;
  }

  .naf-start-actions .naf-primary-link {
    width: auto !important;
    max-width: max-content !important;
  }
}

/* v36 tablet landscape fixes: keep desktop intact, fix 900-1180px tablet layouts */
@media (min-width: 901px) and (max-width: 1180px) {
  body .naf-home-hero,
  body .naf-modern-front,
  body .naf-home-categories,
  body .naf-email-section {
    max-width: min(100% - 2rem, 1080px) !important;
    margin-inline: auto !important;
  }

  body .naf-home-hero {
    padding-top: clamp(2.2rem, 5vw, 3.4rem) !important;
    padding-bottom: clamp(1.8rem, 4vw, 2.7rem) !important;
  }

  body .naf-home-hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(220px, 0.58fr) !important;
    gap: clamp(1.8rem, 4vw, 4rem) !important;
    align-items: center !important;
  }

  body .naf-hero-title {
    font-size: clamp(2.55rem, 5.2vw, 3.55rem) !important;
    max-width: 15ch !important;
  }

  body .naf-hero-image-card {
    justify-self: end !important;
    width: min(100%, 260px) !important;
  }

  body .naf-modern-front {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
    grid-template-areas:
      "route start"
      "fresh fresh" !important;
    gap: 1rem !important;
    align-items: stretch !important;
    padding-top: 1.45rem !important;
    padding-bottom: 1.15rem !important;
  }

  body .naf-route-board {
    grid-area: route !important;
    grid-column: auto !important;
    order: initial !important;
    min-height: 100% !important;
  }

  body .naf-start-panel {
    grid-area: start !important;
    grid-column: auto !important;
    order: initial !important;
    min-height: 100% !important;
  }

  body .naf-brief-stack {
    grid-area: fresh !important;
    grid-column: 1 / -1 !important;
    order: initial !important;
  }

  body .naf-route-card {
    grid-template-columns: 0.6rem minmax(0, 1fr) 1.55rem !important;
    padding: 0.82rem 0.86rem !important;
    column-gap: 0.72rem !important;
  }

  body .naf-route-card em {
    max-width: 28ch !important;
  }

  body .naf-start-panel {
    padding: clamp(1.25rem, 2vw, 1.6rem) !important;
  }

  body .naf-start-panel p {
    max-width: 42ch !important;
  }

  body .naf-brief-stack .naf-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 1rem !important;
    row-gap: 0 !important;
  }

  body .naf-brief-stack .naf-story-card {
    border-bottom: 1px solid rgba(18, 34, 56, 0.08) !important;
    grid-template-columns: 68px minmax(0, 1fr) !important;
    min-height: 82px !important;
  }

  body .naf-home-categories {
    padding-top: 1.4rem !important;
  }

  body .naf-two-section-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 1rem !important;
  }

  body .naf-category-modern {
    padding: 1rem !important;
  }
}

/* v36 tablet portrait fixes: avoid stretched route rows and make panels feel intentional */
@media (min-width: 782px) and (max-width: 900px) {
  body .naf-modern-front,
  body .naf-home-categories,
  body .naf-email-section {
    max-width: min(100% - 1.5rem, 760px) !important;
    margin-inline: auto !important;
  }

  body .naf-modern-front {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
    padding-top: 1.25rem !important;
  }

  body .naf-route-board,
  body .naf-start-panel,
  body .naf-brief-stack {
    grid-column: 1 !important;
    width: 100% !important;
  }

  body .naf-route-list {
    gap: 0.65rem !important;
  }

  body .naf-route-card {
    grid-template-columns: 0.6rem minmax(0, 1fr) 1.55rem !important;
    padding: 0.86rem 0.9rem !important;
  }

  body .naf-route-card em {
    max-width: 42ch !important;
  }

  body .naf-start-panel {
    min-height: auto !important;
    padding: 1.15rem !important;
  }

  body .naf-brief-stack .naf-story-card {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  body .naf-category-grid,
  body .naf-category-hero .naf-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* v37: remaining tablet landscape polish. Desktop above 1180px remains unchanged. */
@media (min-width: 901px) and (max-width: 1180px) {
  /* Keep the hero readable in landscape so the final word does not sit alone. */
  body .naf-hero-title {
    font-size: clamp(2.25rem, 4.25vw, 3.15rem) !important;
    max-width: 20ch !important;
    line-height: 1 !important;
  }

  body .naf-home-hero-grid {
    grid-template-columns: minmax(0, 1.22fr) minmax(240px, 0.58fr) !important;
    gap: clamp(2rem, 5vw, 4.75rem) !important;
  }

  body .naf-hero-image-card {
    width: min(100%, 285px) !important;
  }

  /* Stop the second panel from stretching into a tall empty card. */
  body .naf-modern-front {
    align-items: start !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr) !important;
    grid-template-areas:
      "route start"
      "fresh fresh" !important;
  }

  body .naf-route-board,
  body .naf-start-panel,
  body .naf-brief-stack {
    align-self: start !important;
  }

  body .naf-start-panel {
    min-height: 0 !important;
    height: auto !important;
  }

  /* The Fresh Guides area was too tall as one long list. Use two compact columns in landscape. */
  body .naf-brief-stack {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 1.25rem !important;
    row-gap: 0 !important;
    padding: 1rem 1.1rem !important;
  }

  body .naf-brief-stack .naf-stack-header {
    grid-column: 1 / -1 !important;
  }

  body .naf-brief-stack .naf-story-card {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    min-height: 82px !important;
    padding: 0.72rem 0 !important;
  }

  body .naf-brief-stack .naf-story-thumb,
  body .naf-brief-stack .naf-story-thumb img,
  body .naf-brief-stack .naf-story-thumb .naf-image-placeholder {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
  }

  /* Reduce the jump into the guide area after the landscape front-desk layout. */
  body .naf-home-categories {
    padding-top: 1rem !important;
  }
}

/* v38: tablet landscape cleanup. Desktop above 1180px unchanged. */
@media (min-width: 901px) and (max-width: 1180px) {
  /* Keep tablet landscape from becoming a full-width stretched desktop. */
  body .is-layout-constrained > .alignwide,
  body .naf-modern-front,
  body .naf-home-categories > .alignwide,
  body .naf-email-panel {
    max-width: min(100% - 2.5rem, 1040px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Give the hero a calmer tablet scale and stop it feeling oversized. */
  body .naf-home-hero[style] {
    padding-top: 2.4rem !important;
    padding-bottom: 2.2rem !important;
  }

  body .naf-home-hero-grid {
    max-width: min(100% - 2.5rem, 1040px) !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(230px, 0.62fr) !important;
    gap: clamp(2rem, 6vw, 5rem) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body .naf-hero-title {
    font-size: clamp(2.35rem, 4vw, 3rem) !important;
    max-width: 18ch !important;
    line-height: 1.02 !important;
  }

  body .naf-hero-description {
    max-width: 62ch !important;
  }

  body .naf-hero-image-card {
    width: min(100%, 260px) !important;
    justify-self: end !important;
  }

  /* The earlier tablet landscape layout made the first two panels look fused.
     Add a real gutter, keep both panels compact, and make the fresh guides row intentional. */
  body .naf-front-desk-wrap[style] {
    padding-top: 1.25rem !important;
    padding-bottom: 1.35rem !important;
  }

  body .naf-modern-front {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) !important;
    grid-template-areas:
      "route start"
      "fresh fresh" !important;
    gap: 1.25rem !important;
    align-items: start !important;
  }

  body .naf-route-board,
  body .naf-start-panel,
  body .naf-brief-stack {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;
    border-radius: 22px !important;
  }

  body .naf-route-board {
    grid-area: route !important;
    padding: 1.1rem !important;
  }

  body .naf-start-panel {
    grid-area: start !important;
    align-self: start !important;
    padding: 1.2rem !important;
  }

  body .naf-start-panel p {
    max-width: none !important;
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
  }

  body .naf-start-actions {
    margin-top: 0.85rem !important;
  }

  body .naf-route-card {
    grid-template-columns: 0.55rem minmax(0, 1fr) 1.45rem !important;
    column-gap: 0.72rem !important;
    padding: 0.78rem 0.84rem !important;
    min-height: 72px !important;
  }

  body .naf-route-card em {
    max-width: none !important;
  }

  body .naf-route-arrow {
    width: 1.45rem !important;
    height: 1.45rem !important;
  }

  body .naf-brief-stack {
    grid-area: fresh !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 1.25rem !important;
    row-gap: 0 !important;
    padding: 1rem 1.1rem !important;
  }

  body .naf-brief-stack .naf-stack-header {
    grid-column: 1 / -1 !important;
    margin-bottom: 0.2rem !important;
  }

  body .naf-brief-stack .naf-story-card {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    min-height: 84px !important;
    padding: 0.68rem 0 !important;
  }

  body .naf-brief-stack .naf-story-thumb,
  body .naf-brief-stack .naf-story-thumb img,
  body .naf-brief-stack .naf-story-thumb .naf-image-placeholder {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
  }

  /* Guide area: keep the rows aligned and avoid cards stretching edge-to-edge. */
  body .naf-home-categories {
    padding-top: 1rem !important;
  }

  body .naf-category-grid,
  body .naf-category-hero .naf-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.9rem !important;
  }

  body .naf-two-section-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 1.25rem !important;
    align-items: start !important;
  }

  body .naf-category-modern {
    padding: 1rem !important;
  }

  body .naf-email-band {
    padding-top: 1.7rem !important;
  }

  body .naf-email-panel {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  body .naf-footer > .wp-block-columns {
    max-width: min(100% - 2.5rem, 1040px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* v39: tablet landscape equal-length section polish. Desktop above 1180px remains unchanged. */
@media (min-width: 901px) and (max-width: 1180px) {
  /* Keep the paired front panels equal in height so the row feels intentional. */
  body .naf-modern-front {
    align-items: stretch !important;
  }

  body .naf-route-board,
  body .naf-start-panel {
    height: 100% !important;
    align-self: stretch !important;
  }

  body .naf-start-panel {
    justify-content: center !important;
  }

  /* Keep the two lower guide sections the same visible height on tablet landscape. */
  body .naf-two-section-grid {
    align-items: stretch !important;
  }

  body .naf-two-section-grid > * {
    height: 100% !important;
    align-self: stretch !important;
  }

  body .naf-category-compact {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100% !important;
  }

  body .naf-category-compact .naf-category-grid {
    flex: 1 1 auto !important;
    display: grid !important;
    align-content: start !important;
  }

  /* When a category only has two guides, keep the panel height aligned without stretching the individual guide cards awkwardly. */
  body .naf-category-compact .naf-empty-category,
  body .naf-category-compact .naf-category-grid::after {
    content: "";
    display: block;
  }

  /* Make the email card align with the same visual width and spacing as the guide sections. */
  body .naf-email-panel {
    box-sizing: border-box !important;
  }
}

/* v40: tablet landscape email panel alignment polish. Desktop above 1180px remains unchanged. */
@media (min-width: 901px) and (max-width: 1180px) {
  body .naf-email-band {
    padding-top: 2rem !important;
  }

  body .naf-email-band .naf-email-panel.alignwide,
  body .naf-email-band .naf-email-panel {
    width: min(100% - 2.5rem, 1040px) !important;
    max-width: min(100% - 2.5rem, 1040px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    min-height: 178px !important;
    display: flex !important;
    align-items: center !important;
  }

  body .naf-email-band .naf-email-columns {
    width: 100% !important;
    align-items: center !important;
  }
}

/* v41: responsive width consistency pass.
   Keep the approved desktop design unchanged, but make every major homepage
   section share the same visual width on mobile, tablet portrait, and tablet landscape. */
@media (max-width: 1180px) {
  body .naf-home-hero-grid,
  body .naf-modern-front,
  body .naf-section-heading,
  body .naf-category-modern.alignwide,
  body .naf-two-section-grid,
  body .naf-email-band .naf-email-panel.alignwide,
  body .naf-email-band .naf-email-panel,
  body .naf-footer > .wp-block-columns {
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Tablet landscape: all visible content blocks use the same page rail. */
@media (min-width: 901px) and (max-width: 1180px) {
  body .naf-home-hero-grid,
  body .naf-modern-front,
  body .naf-section-heading,
  body .naf-category-modern.alignwide,
  body .naf-two-section-grid,
  body .naf-email-band .naf-email-panel.alignwide,
  body .naf-email-band .naf-email-panel,
  body .naf-footer > .wp-block-columns {
    width: min(100% - 2.5rem, 1040px) !important;
    max-width: min(100% - 2.5rem, 1040px) !important;
  }
}

/* Tablet portrait: avoid edge-to-edge panels and keep all sections aligned. */
@media (min-width: 782px) and (max-width: 900px) {
  body .naf-home-hero-grid,
  body .naf-modern-front,
  body .naf-section-heading,
  body .naf-category-modern.alignwide,
  body .naf-two-section-grid,
  body .naf-email-band .naf-email-panel.alignwide,
  body .naf-email-band .naf-email-panel,
  body .naf-footer > .wp-block-columns {
    width: min(100% - 2rem, 760px) !important;
    max-width: min(100% - 2rem, 760px) !important;
  }
}

/* Mobile: keep every homepage panel on one consistent rail. */
@media (max-width: 781px) {
  body .naf-home-hero-grid,
  body .naf-modern-front,
  body .naf-section-heading,
  body .naf-category-modern.alignwide,
  body .naf-two-section-grid,
  body .naf-email-band .naf-email-panel.alignwide,
  body .naf-email-band .naf-email-panel,
  body .naf-footer > .wp-block-columns {
    width: min(100% - 1rem, 680px) !important;
    max-width: min(100% - 1rem, 680px) !important;
  }

  body .naf-home-categories .naf-section-heading,
  body .naf-home-categories .naf-category-modern.alignwide,
  body .naf-home-categories .naf-two-section-grid {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Very narrow phones: preserve a little breathing room without changing the layout. */
@media (max-width: 380px) {
  body .naf-home-hero-grid,
  body .naf-modern-front,
  body .naf-section-heading,
  body .naf-category-modern.alignwide,
  body .naf-two-section-grid,
  body .naf-email-band .naf-email-panel.alignwide,
  body .naf-email-band .naf-email-panel,
  body .naf-footer > .wp-block-columns {
    width: calc(100% - 0.9rem) !important;
    max-width: calc(100% - 0.9rem) !important;
  }
}

/* v42: final tablet landscape width/rail consistency. Desktop, mobile and tablet portrait are unchanged. */
@media (min-width: 901px) and (max-width: 1180px) {
  :root {
    --naf-tablet-landscape-rail: min(100% - 3rem, 980px);
  }

  body .naf-home-hero-grid,
  body .naf-modern-front,
  body .naf-section-heading,
  body .naf-category-modern.alignwide,
  body .naf-two-section-grid,
  body .naf-email-band .naf-email-panel.alignwide,
  body .naf-email-band .naf-email-panel,
  body .naf-footer > .wp-block-columns {
    width: var(--naf-tablet-landscape-rail) !important;
    max-width: var(--naf-tablet-landscape-rail) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body .naf-home-hero,
  body .naf-front-desk-wrap,
  body .naf-home-categories,
  body .naf-email-band {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body .naf-two-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
    align-items: stretch !important;
  }

  body .naf-two-section-grid > .naf-category-modern,
  body .naf-category-compact {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    box-sizing: border-box !important;
  }

  body .naf-category-modern.alignwide {
    margin-top: 0 !important;
  }

  body .naf-home-categories .naf-category-modern.alignwide + .naf-two-section-grid {
    margin-top: 1.25rem !important;
  }

  body .naf-email-band .naf-email-panel.alignwide,
  body .naf-email-band .naf-email-panel {
    min-height: 182px !important;
    padding-left: 1.35rem !important;
    padding-right: 1.35rem !important;
  }
}

/* v43: tablet landscape guide rail correction.
   Keep desktop, mobile, and tablet portrait unchanged. The Explore the guides
   heading and guide panels now use the same visual rail as the upper content
   and email panel on tablet landscape. */
@media (min-width: 901px) and (max-width: 1180px) {
  :root {
    --naf-tablet-landscape-guide-rail: min(100% - 2rem, 1040px);
  }

  body .naf-home-categories .naf-section-heading,
  body .naf-home-categories .naf-category-modern.alignwide,
  body .naf-home-categories .naf-two-section-grid {
    width: var(--naf-tablet-landscape-guide-rail) !important;
    max-width: var(--naf-tablet-landscape-guide-rail) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body .naf-home-categories .naf-two-section-grid {
    gap: 1.25rem !important;
  }
}

/* v44: final tablet landscape rail fix.
   v43 made the guide area use a different rail from the top panels. Keep one
   shared tablet landscape content rail across the whole page. Desktop, mobile,
   and tablet portrait are unchanged. */
@media (min-width: 901px) and (max-width: 1180px) {
  :root {
    --naf-tablet-landscape-rail: min(100% - 3rem, 980px) !important;
  }

  body .naf-home-hero-grid,
  body .naf-modern-front,
  body .naf-brief-stack,
  body .naf-home-categories > .naf-section-heading,
  body .naf-home-categories .naf-section-heading,
  body .naf-home-categories > .naf-category-modern.alignwide,
  body .naf-home-categories .naf-category-modern.alignwide,
  body .naf-home-categories > .naf-two-section-grid,
  body .naf-home-categories .naf-two-section-grid,
  body .naf-email-band .naf-email-panel.alignwide,
  body .naf-email-band .naf-email-panel,
  body .naf-footer > .wp-block-columns {
    width: var(--naf-tablet-landscape-rail) !important;
    max-width: var(--naf-tablet-landscape-rail) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body .naf-home-categories {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body .naf-home-categories .naf-section-heading {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    gap: 1rem !important;
  }

  body .naf-home-categories .naf-two-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem !important;
    align-items: stretch !important;
  }

  body .naf-home-categories .naf-two-section-grid > .naf-category-modern,
  body .naf-home-categories .naf-category-compact {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body .naf-home-categories .naf-category-modern.alignwide + .naf-two-section-grid {
    margin-top: 1.25rem !important;
  }
}

/* v45: tablet landscape rail reset.
   Fix the remaining mismatch caused by alignwide defaults inside the guide grid.
   Desktop, mobile, and tablet portrait stay unchanged. */
@media (min-width: 901px) and (max-width: 1180px) {
  :root {
    --naf-tablet-landscape-rail-final: min(calc(100vw - 48px), 940px) !important;
    --naf-tablet-landscape-gap-final: 1.25rem !important;
  }

  body .naf-home-hero,
  body .naf-front-desk-wrap,
  body .naf-home-categories,
  body .naf-email-band {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body .naf-home-hero-grid,
  body .naf-modern-front,
  body .naf-home-categories > .naf-section-heading,
  body .naf-home-categories .naf-section-heading,
  body .naf-home-categories > .naf-category-modern.alignwide,
  body .naf-home-categories > .naf-two-section-grid,
  body .naf-email-band > .naf-email-panel.alignwide,
  body .naf-email-band .naf-email-panel,
  body .naf-footer > .wp-block-columns,
  body .naf-footer .wp-block-columns.alignwide {
    width: var(--naf-tablet-landscape-rail-final) !important;
    max-width: var(--naf-tablet-landscape-rail-final) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body .naf-modern-front {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-areas:
      "route start"
      "fresh fresh" !important;
    gap: var(--naf-tablet-landscape-gap-final) !important;
    align-items: stretch !important;
  }

  body .naf-route-board { grid-area: route !important; }
  body .naf-start-panel { grid-area: start !important; }
  body .naf-brief-stack { grid-area: fresh !important; }

  body .naf-home-categories > .naf-category-modern.alignwide,
  body .naf-home-categories > .naf-two-section-grid,
  body .naf-email-band > .naf-email-panel.alignwide {
    margin-top: 0 !important;
  }

  body .naf-home-categories .naf-section-heading {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    gap: 1rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body .naf-home-categories > .naf-category-modern.alignwide {
    display: block !important;
    margin-bottom: 1.25rem !important;
  }

  body .naf-home-categories > .naf-two-section-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: var(--naf-tablet-landscape-gap-final) !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0 !important;
  }

  body .naf-home-categories > .naf-two-section-grid > .naf-category-modern,
  body .naf-home-categories > .naf-two-section-grid > .naf-category-modern.alignwide,
  body .naf-home-categories .naf-two-section-grid > .naf-category-modern,
  body .naf-home-categories .naf-two-section-grid > .naf-category-modern.alignwide {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    justify-self: stretch !important;
  }

  body .naf-category-modern,
  body .naf-category-modern.alignwide,
  body .naf-email-panel.alignwide {
    box-sizing: border-box !important;
  }

  body .naf-email-band {
    padding-top: 2.75rem !important;
    padding-bottom: 2.75rem !important;
  }

  body .naf-email-band > .naf-email-panel.alignwide {
    min-height: 190px !important;
  }
}

/* v46: final tablet landscape Fresh Guides rail fix.
   Keeps desktop, mobile, and tablet portrait unchanged. */
@media (min-width: 901px) and (max-width: 1180px) {
  :root {
    --naf-tablet-landscape-rail-final: min(calc(100vw - 48px), 940px) !important;
  }

  body .naf-modern-front {
    width: var(--naf-tablet-landscape-rail-final) !important;
    max-width: var(--naf-tablet-landscape-rail-final) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-areas:
      "route start"
      "fresh fresh" !important;
    gap: 1.25rem !important;
  }

  body .naf-modern-front > .naf-route-board,
  body .naf-modern-front > .naf-start-panel,
  body .naf-modern-front > .naf-brief-stack {
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-self: stretch !important;
  }

  body .naf-modern-front > .naf-route-board {
    grid-area: route !important;
  }

  body .naf-modern-front > .naf-start-panel {
    grid-area: start !important;
  }

  body .naf-modern-front > .naf-brief-stack {
    grid-area: fresh !important;
    grid-column: 1 / -1 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body .naf-modern-front > .naf-brief-stack .naf-story-card {
    min-width: 0 !important;
  }
}


/* v47: desktop-only spacing polish.
   Reduce the hero breathing room and tighten the vertical rhythm on large screens.
   Tablet and mobile breakpoints are untouched. */
@media (min-width: 1181px) {
  body .naf-home-hero[style],
  body .naf-home-hero {
    padding-top: clamp(2rem, 2.7vw, 3.35rem) !important;
    padding-bottom: clamp(1.85rem, 2.4vw, 3rem) !important;
  }

  body .naf-home-hero-grid {
    min-height: 210px !important;
    align-items: center !important;
  }

  body .naf-hero-title {
    margin-bottom: 0.9rem !important;
  }

  body .naf-hero-description,
  body .naf-hero-intro {
    margin-top: 0.85rem !important;
  }

  body .naf-hero-image-card {
    max-height: 230px !important;
  }

  body .naf-front-desk-wrap {
    padding-top: clamp(1.65rem, 2.2vw, 2.7rem) !important;
    padding-bottom: clamp(1.65rem, 2.3vw, 2.85rem) !important;
  }

  body .naf-home-categories {
    padding-top: clamp(1.55rem, 2.1vw, 2.65rem) !important;
    padding-bottom: clamp(2.8rem, 4vw, 4.6rem) !important;
  }

  body .naf-section-heading {
    margin-bottom: 0.82rem !important;
  }

  body .naf-category-modern {
    margin-bottom: 1.05rem !important;
  }

  body .naf-home-categories > .naf-category-modern.alignwide + .naf-two-section-grid,
  body .naf-home-categories .naf-category-modern.alignwide + .naf-two-section-grid {
    margin-top: 1.05rem !important;
  }

  body .naf-email-band {
    padding-top: clamp(2.1rem, 3vw, 3.6rem) !important;
    padding-bottom: clamp(2.1rem, 3vw, 3.6rem) !important;
  }
}

/* v1.0.2 editor-control refinements: keep core Button blocks looking like the original panel links. */
.naf-start-actions .wp-block-button.naf-primary-link .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #10233a;
  color: #fff !important;
  border-radius: 8px;
  padding: 0.72rem 1rem;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
}
.naf-start-actions .wp-block-button.naf-text-link .wp-block-button__link {
  background: transparent !important;
  color: #b75f46 !important;
  border: 0 !important;
  padding: 0;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  box-shadow: none;
}
.naf-start-actions .wp-block-button.naf-text-link { margin-left: 0.7rem; }
.naf-start-actions .wp-block-button.naf-primary-link { margin-right: 0; }
