/* Shared header nav (site_nav.py, Paul Dec. 1, 2026). Same header on every page;
   subpages add Home first. Fold widths measured in Chromium, Firefox and WebKit
   with a 20px allowance for a classic scrollbar (see community-work/measure_nav.py):
     homepage: all links >= 820px, Submit folds into More <= 819px,
               Ask <= 668px, Weekly Poll <= 567px
     subpages: all links >= 876px, Submit folds into More <= 875px,
               Ask <= 736px, Weekly Poll <= 623px
     hamburger (flat list of every link) <= 669px. */

/* ---- Desktop / tablet row ---- */
@media (min-width: 670px) {
  .nav__links { --nav-gap: 1.15rem; gap: var(--nav-gap); }
  .nav__links > li { position: relative; }
  .nav__links > li > a, .nav__more-btn { font-size: 0.86rem; }
  /* Subtle dot between links (not text in the link, so it is never read or copied). */
  .nav__links > li + li > a::before,
  .nav__links > li + li > .nav__more-btn::before {
    content: "\2022";
    position: absolute;
    left: calc(var(--nav-gap) / -2);
    top: 50%;
    transform: translate(-50%, -52%);
    font-size: 0.72em;
    line-height: 1;
    color: var(--muted, #5b6770);
    opacity: 0.55;
    pointer-events: none;
  }
  .nav__links > .nav__subscribe { display: none; }
  .nav__links > li.nav__subscribe + li > a::before { content: none; }
  /* Old per-link fold rules hid these; the shared nav always shows the top row. */
  .nav__links > li.nav__top, .nav__links > li.nav__home, .nav__links > li.nav__more { display: list-item; }
  .nav__links > li.nav__top, .nav__links > li.nav__home, .nav__links > li.nav__more { list-style: none; }
}

.nav__more-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 44px;
  margin: 0;
  padding: 0.25rem 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.nav__more-btn::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav__more-btn:hover::after,
.nav__more-btn:focus-visible::after,
.nav__more.is-open > .nav__more-btn::after,
.nav__more--current > .nav__more-btn::after { transform: scaleX(1); }
.nav__more-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.nav__caret { flex: none; transition: transform 0.2s ease; }
.nav__more.is-open .nav__caret { transform: rotate(180deg); }

.nav__menu {
  position: absolute;
  top: calc(100% - 2px);
  right: -0.6rem;
  z-index: 80;
  display: none;
  min-width: 16rem;
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
  background: var(--paper, #fffcf7);
  color: var(--navy);
  border: 1px solid var(--card-border);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 18px 36px rgba(11, 61, 92, 0.16);
}
.nav__more.is-open > .nav__menu { display: block; }
html:not(.fv-nav-js) .nav__more:hover > .nav__menu,
html:not(.fv-nav-js) .nav__more:focus-within > .nav__menu { display: block; }
/* Beat the old per-link fold rules (styles.css / listings.css) inside the menu. */
.nav__links .nav__menu > li.nav__item { display: block; }
.nav__links .nav__menu > li.nav__dup { display: none; }
.nav__links .nav__menu > li { position: static; }
.nav__links .nav__menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  color: var(--navy);
  white-space: nowrap;
}
.nav__links .nav__menu a::before,
.nav__links .nav__menu a::after { content: none; display: none; }
.nav__links .nav__menu a:hover,
.nav__links .nav__menu a:focus-visible { background: var(--cream, #f7f3eb); outline: none; }
.nav__links .nav__menu a:focus-visible { box-shadow: inset 3px 0 0 var(--gold); }
.nav__links .nav__menu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); font-weight: 700; }

/* ---- Folds: links move into More as the window narrows ---- */
@media (min-width: 670px) and (max-width: 819px) {
  .nav__links--home > .nav__top.nav__submit { display: none; }
  .nav__links--home .nav__menu > .nav__dup.nav__submit { display: block; }
}
@media (min-width: 670px) and (max-width: 875px) {
  .nav__links--sub > .nav__top.nav__submit { display: none; }
  .nav__links--sub .nav__menu > .nav__dup.nav__submit { display: block; }
}
@media (min-width: 670px) and (max-width: 736px) {
  .nav__links--sub > .nav__top.nav__ask { display: none; }
  .nav__links--sub .nav__menu > .nav__dup.nav__ask { display: block; }
}

/* ---- Between the hamburger and 720px: keep the desktop row (overrides the old phone panel) ---- */
@media (min-width: 670px) and (max-width: 720px) {
  .nav-toggle { display: none; }
  .logo { flex-shrink: 0; min-width: auto; }
  .nav__links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    color: inherit;
  }
  .nav__links > li > a { padding: 0.25rem 0; }
  .nav__links > li > a::after { display: block; }
}

/* ---- Phone hamburger: one flat list of every link ---- */
@media (max-width: 669px) {
  .nav-toggle { display: inline-flex; }
  .nav__links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0 1rem;
    background: rgba(247, 243, 235, 0.98);
    color: var(--navy);
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 16px 32px rgba(11, 61, 92, 0.12);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links li { display: block; }
  .nav__links a { padding: 0.85rem 1.25rem; }
  .nav__links a::after, .nav__links a::before { display: none; content: none; }
  .nav__more-btn { display: none; }
  .nav__links .nav__menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .nav__links .nav__menu > li.nav__dup { display: none; }
  .nav__links .nav__menu a { min-height: 44px; padding: 0.85rem 1.25rem; font-size: 0.92rem; }
  .nav__links .nav__menu a:hover { background: none; }
  .nav__links > li.nav__subscribe { display: none; }
  .nav { gap: 0.5rem; }
  .nav__cta { order: -1; }
}
@media (max-width: 0px) {
  .nav__cta { display: none; }
  .nav__links > li.nav__subscribe { display: block; }
  .nav__links > li.nav__subscribe > a { font-weight: 700; color: var(--navy-deep); box-shadow: inset 3px 0 0 var(--gold); }
}

/* ---- "From Your Neighbors": second tab inside the This Week's Poll card (neighbors.py) ----
   Both panes share one grid cell, so the card is as tall as the poll and the sidebar
   gets no longer. Hidden entirely until there is an approved post. */
.nb-combo__tabs { display: none; }
.nb-combo--js:not(.nb-combo--empty) .nb-combo__tabs {
  display: flex; gap: 0.3rem; padding: 0.5rem 0.6rem 0; background: var(--navy);
}
.nb-combo--js:not(.nb-combo--empty) .poll-card__kicker { display: none; }
.nb-combo--js:not(.nb-combo--empty) .poll-card__head { padding-top: 0.6rem; }
.nb-combo__tab {
  flex: 1 1 0; min-width: 0; min-height: 30px; margin: 0; padding: 0.35rem 0.4rem;
  border: 0; border-radius: 8px 8px 0 0; cursor: pointer;
  background: rgba(255, 252, 247, 0.1); color: rgba(255, 252, 247, 0.86);
  font: 700 0.74rem/1.15 var(--font-ui); letter-spacing: 0.01em; white-space: nowrap;
  -webkit-appearance: none; appearance: none;
}
.nb-combo__tab:hover { background: rgba(255, 252, 247, 0.18); }
.nb-combo__tab[aria-selected="true"] { background: var(--gold); color: var(--navy); }
.nb-combo__tab:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.nb-combo__stack { display: grid; }
.nb-combo__pane { grid-area: 1 / 1; min-width: 0; }
.nb-combo__pane--nb { display: none; }
.nb-combo--js:not(.nb-combo--empty) .nb-combo__pane--nb { display: flex; flex-direction: column; }
.nb-combo__pane[data-nb-off] { visibility: hidden; }
.nb-combo--empty .nb-combo__pane[data-nb-off] { visibility: visible; }
.nb-combo__slides { flex: 1 1 auto; display: flex; flex-direction: column; }
.nb-slide { flex: 1 1 auto; display: flex; flex-direction: column; }
.nb-slide[hidden] { display: none; }
.nb-slide__head { background: var(--navy); color: var(--paper); padding: 0.6rem 1rem 0.8rem; border-bottom: 4px solid var(--gold); }
.nb-slide__label { margin: 0 0 0.25rem; font: 700 0.72rem/1.3 var(--font-ui); color: var(--gold-on-navy, #E0C45A); }
.nb-slide__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.2; color: #FFFCF7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-slide__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 0.6rem; padding: 0.85rem 0.9rem 0.9rem; }
.nb-slide__msg { margin: 0; font-size: 0.93rem; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.nb-slide__link { margin-top: auto; display: inline-flex; align-items: center; min-height: 44px; font: 700 0.9rem/1.2 var(--font-ui); color: var(--navy); }
.nb-combo__foot { padding: 0 0.9rem 0.6rem; }
.nb-combo__dots { display: flex; gap: 0.2rem; margin: 0; }
.nb-dot { width: 28px; height: 28px; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.nb-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px;
  border-radius: 50%; background: var(--card-border, #d9d2c3); }
.nb-dot[aria-current="true"]::before { background: var(--gold); }
.nb-dot:focus-visible { outline: 2px solid var(--gold); border-radius: 50%; }
/* ---- Compact Ask the Digest sidebar card (Dec. 1, 2026) ---- */
.ask-card--compact .ask-card__head { padding: 0.55rem 0.9rem 0.5rem; border-bottom-width: 3px; }
.ask-card--compact .ask-card__head h2 { font-size: 1.1rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask-card--compact .ask-card__body { padding: 0.6rem 0.75rem 0.2rem; }
.ask-form--compact { gap: 0; }
.ask-form--compact .ask-row { display: flex; gap: 0.45rem; align-items: stretch; }
.ask-form--compact .ask-row textarea { flex: 1 1 auto; min-width: 0; min-height: 0; height: 3.3rem; padding: 0.45rem 0.6rem; font-size: 0.95rem; resize: none; }
.ask-form--compact .ask-go { flex: none; width: auto; min-width: 4.2rem; margin: 0; padding: 0 0.9rem; }
.ask-form--compact .ask-more { display: flex; flex-direction: column; gap: 0.3rem; padding-top: 0.3rem; }
.ask-form--compact .ask-count { margin: 0; }
.ask-form--compact .ask-privacy { margin: 0.3rem 0 0.2rem; }
.ask-form--js:not(.is-open):not(:focus-within) .ask-more { display: none; }
.ask-card__links--compact { margin: 0.1rem 0 0; font-size: 0.82rem; }
.ask-card--compact .ask-thanks { padding-top: 0.2rem; }
/* ---- Sidebar newsletter button (Dec. 1, 2026) ---- */
.sidebar-search-block { container-type: inline-size; }
.sidebar-subscribe { white-space: nowrap; padding: 0.65rem 0.7rem; font-size: 0.95rem; }
.sidebar-subscribe__short { display: none; }
@container (max-width: 265px) {
  .sidebar-subscribe__long { display: none; }
  .sidebar-subscribe__short { display: inline; }
}
.sidebar-subscribe__note { margin: -0.2rem 0 0; font: 500 0.78rem/1.3 var(--font-ui); color: var(--muted); text-align: center; }
/* Standalone pages (newsletter) get the fixed site header; the spacer keeps content clear of it. */
.site-header-spacer { height: var(--header-h, 4.25rem); }
/* ---- Compact This Week's Poll card (Dec. 1, 2026): about half the old height ---- */
.poll-card--compact .poll-card__head { padding: 0.55rem 0.85rem 0.55rem; border-bottom-width: 3px; }
.poll-card--compact .poll-card__kicker { margin: 0 0 0.15rem; font-size: 0.64rem; }
.poll-card--compact .poll-card__head h2 { font-size: 1.08rem; line-height: 1.22; }
.poll-card--compact .poll-card__body { padding: 0.5rem 0.7rem 0.35rem; }
.poll-card--compact .poll-card__prompt { margin: 0 0 0.4rem; font-size: 0.78rem; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poll-card--compact .poll-options { gap: 0.3rem; }
.poll-options--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0.3rem; }
.poll-card--compact .poll-options button { min-height: 40px; padding: 0.3rem 0.55rem; font-size: 0.84rem; line-height: 1.15; border-radius: 8px; }
.poll-options--2col button { justify-content: center; text-align: center; }
@media (pointer: coarse), (max-width: 720px) {
  .poll-card--compact .poll-options button { min-height: 44px; }
}
.poll-card__foot { margin: 0.25rem 0 0; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  font: 600 0.76rem/1.2 var(--font-ui); color: var(--muted); white-space: nowrap; }
.poll-card__foot span:first-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.poll-card__foot a { flex: none; min-height: 44px; display: inline-flex; align-items: center; font-size: 0.8rem; }
.poll-card--compact .poll-card__note { margin-top: 0.25rem; }
.poll-card--compact .poll-choice { margin: 0 0 0.45rem; padding: 0.4rem 0.6rem; font-size: 0.88rem; }
.poll-card--compact .poll-bar { margin: 0 0 0.4rem; }
.poll-card--compact .poll-thanks p { margin: 0 0 0.35rem; font-size: 0.84rem; line-height: 1.35; }
.poll-card--compact .poll-thanks__label { margin: 0 0 0.25rem; }
.poll-card--compact .poll-card__error { margin: 0.3rem 0 0; font-size: 0.8rem; }
/* The neighbors tab inside the compact card stays just as tight. */
.poll-card--compact .nb-combo__tabs, .nb-combo.poll-card--compact .nb-combo__tabs { padding-top: 0.35rem; }
.poll-card--compact .nb-slide__head { padding: 0.5rem 0.85rem 0.55rem; border-bottom-width: 3px; }
.poll-card--compact .nb-slide__title { font-size: 1.05rem; }
.poll-card--compact .nb-slide__body { gap: 0.3rem; padding: 0.5rem 0.7rem 0.3rem; }
.poll-card--compact .nb-slide__msg { font-size: 0.86rem; line-height: 1.4; -webkit-line-clamp: 3; }
.poll-card--compact .nb-combo__foot { padding: 0 0.7rem 0.3rem; }
/* ---- Header newsletter button: far right, after More (Paul, Dec. 1, 2026) ---- */
.nav__cta {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0 0.85rem; border-radius: 999px;
  background: var(--gold); color: var(--navy-deep, #07283C);
  font: 700 0.8rem/1 var(--font-ui); letter-spacing: 0.01em; white-space: nowrap; text-decoration: none;
  box-shadow: 0 2px 8px rgba(11, 61, 92, 0.12);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.nav__cta:hover { background: #d9b43a; color: var(--navy-deep, #07283C); box-shadow: 0 4px 12px rgba(11, 61, 92, 0.18); }
.nav__cta:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.nav__cta::after, .nav__cta::before { content: none; display: none; }
.nav__cta-short { display: none; }
@media (max-width: 669px) {
  .nav__cta { min-height: 40px; padding: 0 0.75rem; }
  .nav__cta-long { display: none; }
  .nav__cta-short { display: inline; }
}
@media (min-width: 670px) and (max-width: 819px) {
  .nav__links--home ~ .nav__cta .nav__cta-long { display: none; }
  .nav__links--home ~ .nav__cta .nav__cta-short { display: inline; }
}
@media (min-width: 670px) and (max-width: 875px) {
  .nav__links--sub ~ .nav__cta .nav__cta-long { display: none; }
  .nav__links--sub ~ .nav__cta .nav__cta-short { display: inline; }
}
@media (pointer: coarse) {
  .nav__cta { min-height: 44px; }
  .nb-combo__tab { min-height: 44px; }
  .nb-dot { width: 44px; height: 44px; }
}
/* ---- Short section-page photo hero (Paul, Dec. 1, 2026): ~45% of the old height,
   all copy (crumbs, title, date, lead, top story, photo credit) stays inside the photo. ---- */
.sp-hero.sp-hero--photo {
  min-height: 15rem;
  padding: calc(var(--header-h) + 1.1rem) 0 1.7rem;
}
.fv-sponsor-band + .sp-hero.sp-hero--photo { padding-top: 1.1rem; }
.sp-hero--photo .sp-hero__bg { object-position: center 42%; }
.sp-hero.sp-hero--photo::before {
  background:
    linear-gradient(180deg, rgba(7, 32, 48, 0.55) 0%, rgba(7, 32, 48, 0.42) 40%, rgba(7, 32, 48, 0.82) 78%, rgba(7, 32, 48, 0.94) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--accent, #0B3D5C) 62%, transparent) 0%, transparent 70%);
}
.sp-hero--photo .sp-hero__crumbs { margin: 0 0 0.35rem; font-size: 0.7rem; }
.sp-hero--photo .sp-hero__row { gap: 0.7rem; }
.sp-hero--photo .sp-hero__icon { width: 2.5rem; height: 2.5rem; padding: 0.4rem; border-width: 1.5px; border-radius: 10px; }
.sp-hero.sp-hero--photo .sp-hero__title { font-size: clamp(1.55rem, 2.9vw, 2.2rem); line-height: 1.08; }
.sp-hero--photo .sp-hero__date { margin-top: 0.15rem; font-size: 0.82rem; }
.sp-hero--photo .sp-hero__lead { margin-top: 0.4rem; max-width: 50rem; font-size: 0.92rem; line-height: 1.4; }
.sp-hero--photo .sp-hero__top { margin-top: 0.5rem; padding: 0.3rem 0.7rem; }
.sp-hero--photo .sp-hero__top a { font-size: 0.95rem; }
.sp-hero--photo .sp-hero__credit { bottom: 0.3rem; font-size: 0.64rem; }
@media (min-width: 721px) and (max-width: 1100px) {
  .sp-hero--photo .sp-hero__credit { left: 1.25rem; right: 1.25rem; max-width: none; }
}
@media (max-width: 720px) {
  .sp-hero.sp-hero--photo { min-height: 11.5rem; padding: calc(var(--header-h) + 0.8rem) 0 1.9rem; }
  .fv-sponsor-band + .sp-hero.sp-hero--photo { padding-top: 0.8rem; }
  .sp-hero--photo .sp-hero__inner { width: calc(100% - 2rem); }
  .sp-hero--photo .sp-hero__icon { width: 2rem; height: 2rem; padding: 0.3rem; }
  .sp-hero.sp-hero--photo .sp-hero__title { font-size: 1.4rem; }
  .sp-hero--photo .sp-hero__date { font-size: 0.76rem; }
  .sp-hero--photo .sp-hero__lead { font-size: 0.82rem; line-height: 1.35; margin-top: 0.3rem; }
  .sp-hero--photo .sp-hero__top { margin-top: 0.4rem; padding: 0.25rem 0.6rem; }
  .sp-hero--photo .sp-hero__top span { font-size: 0.62rem; }
  .sp-hero--photo .sp-hero__top a { font-size: 0.86rem; }
  .sp-hero--photo .sp-hero__credit { left: 1rem; right: 1rem; bottom: 0.3rem; max-width: none; font-size: 0.6rem; line-height: 1.25;
    white-space: normal; }
}
/* ---- Homepage "Tell Us What You Think" comment card (comments_box.py, Dec. 1, 2026) ---- */
#comments.fv-comments { padding-top: 2.5rem; padding-bottom: 2.75rem; }
.fvc-card {
  max-width: 46rem; margin: 0 auto; overflow: hidden;
  background: var(--paper, #FFFCF7); border: 1px solid var(--card-border); border-top: 5px solid var(--gold);
  border-radius: 16px; box-shadow: 0 14px 34px rgba(11, 61, 92, 0.12);
}
.fvc-head {
  display: flex; align-items: center; justify-content: center; gap: 1rem; text-align: left;
  padding: 1.15rem 1.5rem 1.05rem; background: var(--navy); color: #FFFCF7;
  background-image: radial-gradient(120% 140% at 100% 0%, rgba(201, 162, 39, 0.22) 0%, transparent 55%);
}
.fvc-mark { flex: none; width: 52px; height: 52px; padding: 5px; background: #FFFCF7; border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18); }
.fvc-kicker { margin: 0 0 0.15rem; font: 700 0.68rem/1.2 var(--font-ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-on-navy, #E0C45A); }
#comments .fvc-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.15; color: #FFFCF7; }
.fvc-invite { margin: 0.25rem 0 0; font-size: 0.95rem; line-height: 1.4; color: rgba(255, 252, 247, 0.88); }
#comments .fvc-form { gap: 0.85rem; padding: 1.25rem 1.5rem 1.3rem; }
#comments .fvc-form .form-row { gap: 0.85rem; }
#comments .fvc-form .field { gap: 0.3rem; }
#comments .fvc-form .field label { font-size: 0.82rem; font-weight: 700; color: var(--navy-deep, #07283C); }
#comments .fvc-form .field input,
#comments .fvc-form .field textarea {
  min-height: 46px; padding: 0.6rem 0.85rem; border: 1.5px solid var(--card-border); border-radius: 12px;
  background: #fff; font-size: 1rem; line-height: 1.4;
}
#comments .fvc-form .field textarea { min-height: 7.5rem; resize: vertical; }
#comments .fvc-form .field input:focus-visible,
#comments .fvc-form .field textarea:focus-visible { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.22); outline: none; }
.fvc-count { margin: 0; font: 600 0.74rem/1.2 var(--font-ui); color: var(--muted); text-align: right; }
.fvc-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; flex-wrap: wrap; }
.fvc-privacy { margin: 0; font-size: 0.82rem; color: var(--muted); }
#comments .fvc-form .fvc-send { min-height: 48px; min-width: 11rem; padding: 0 1.5rem; font-size: 1rem; border-radius: 999px; justify-self: auto; }
#comments .fvc-form .form-status:empty { display: none; }
.fvc-thanks { padding: 2rem 1.5rem 2.1rem; text-align: center; outline: none; }
.fvc-thanks[hidden], #comments .fvc-form[hidden] { display: none; }
.fvc-check { display: block; margin: 0 auto 0.6rem; }
.fvc-check circle { fill: #E8F4EC; stroke: #2E7D4F; stroke-width: 2.5; }
.fvc-check path { fill: none; stroke: #2E7D4F; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40; stroke-dashoffset: 40; animation: fvc-tick 0.5s 0.15s ease forwards; }
@keyframes fvc-tick { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .fvc-check path { animation: none; stroke-dashoffset: 0; } }
.fvc-thanks h3 { margin: 0 0 0.35rem; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--navy); }
.fvc-thanks p { margin: 0 auto 1rem; max-width: 30rem; color: var(--muted); }
.fvc-again { min-height: 44px; padding: 0 1.2rem; border: 1.5px solid var(--navy); border-radius: 999px; background: transparent;
  color: var(--navy); font: 700 0.92rem/1 var(--font-ui); cursor: pointer; }
.fvc-again:hover { background: var(--navy); color: #FFFCF7; }
/* Full-width card (Paul, Dec. 1, 2026): intro panel left, form right on desktop. */
.fvc-card { max-width: none; }
.fvc-ideas { display: none; }
@media (min-width: 880px) {
  .fvc-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr); }
  .fvc-head { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.9rem; padding: 1.75rem 2rem; }
  .fvc-mark { width: 60px; height: 60px; }
  #comments .fvc-title { font-size: clamp(1.6rem, 2.3vw, 2rem); }
  .fvc-invite { font-size: 1rem; }
  .fvc-ideas { display: grid; gap: 0.45rem; margin: 0.2rem 0 0; padding: 0.9rem 0 0; list-style: none;
    border-top: 1px solid rgba(255, 252, 247, 0.18); font: 600 0.86rem/1.3 var(--font-ui); color: rgba(255, 252, 247, 0.9); }
  .fvc-ideas li { display: flex; align-items: center; gap: 0.55rem; }
  .fvc-ideas li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
  .fvc-body { display: flex; flex-direction: column; justify-content: center; }
  #comments .fvc-form { padding: 1.5rem 2rem 1.45rem; gap: 0.75rem; }
  #comments .fvc-form .field textarea { min-height: 6.25rem; }
  .fvc-thanks { padding: 2rem; }
}
@media (max-width: 640px) {
  .fvc-head { padding: 1rem 1.1rem; gap: 0.8rem; }
  .fvc-mark { width: 44px; height: 44px; }
  #comments .fvc-form { padding: 1rem 1.1rem 1.15rem; }
  #comments .fvc-form .form-row { grid-template-columns: 1fr; }
  .fvc-foot { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  #comments .fvc-form .fvc-send { width: 100%; }
}
/* ---- Local Listings sidebar card, site theme (polls.listings_box_html, Dec. 1, 2026) ---- */
.sidebar-stack > .side-card--listings.listings-card--fv {
  padding: 0; overflow: hidden; background: var(--paper);
  border: 2px solid var(--gold); border-radius: var(--radius, 14px);
  box-shadow: 0 10px 26px rgba(11, 61, 92, 0.08);
}
.listings-card--fv .listings-card__head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  padding: 0.55rem 0.9rem 0.5rem; background: var(--navy); border-bottom: 3px solid var(--gold);
}
.listings-card--fv .listings-card__kicker {
  margin: 0 0 0.12rem; font: 700 0.66rem/1.2 var(--font-ui); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold-on-navy);
}
.listings-card--fv .listings-card__title {
  margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  line-height: 1.25; letter-spacing: -0.02em; color: #FFFCF7;
}
.listings-card--fv .listings-card__mark { flex: none; width: 30px; height: 30px; padding: 3px; border-radius: 8px; background: #FFFCF7; }
.listings-card--fv .listings-card__list { margin: 0; padding: 0.35rem 0.5rem 0.45rem; list-style: none; }
.listings-card--fv .listings-card__list li + li { border-top: 1px solid var(--card-border); }
.listings-card--fv .listings-card__link {
  display: flex; flex-direction: row; align-items: center; gap: 0.65rem; min-height: 48px;
  margin: 0; padding: 0.45rem 0.4rem; border: 0; border-radius: 10px; background: transparent;
  color: var(--navy); text-decoration: none;
}
.listings-card--fv .listings-card__link + .listings-card__link { margin-top: 0; }
.listings-card--fv .listings-card__icon {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold-soft); color: var(--navy);
}
.listings-card--fv .listings-card__icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.listings-card--fv .listings-card__text { display: flex; flex-direction: column; gap: 0.08rem; min-width: 0; flex: 1; }
.listings-card--fv .listings-card__name { font: 700 0.95rem/1.2 var(--font-ui); color: var(--navy); }
.listings-card--fv .listings-card__desc { font-size: 0.8rem; line-height: 1.3; color: var(--muted); font-weight: 500; }
.listings-card--fv .listings-card__go { flex: none; font-weight: 700; color: var(--gold); transition: transform 0.15s ease; }
.listings-card--fv .listings-card__link:hover { background: var(--cream); color: var(--navy); }
.listings-card--fv .listings-card__link:hover .listings-card__icon { background: var(--navy); color: var(--gold-on-navy); }
.listings-card--fv .listings-card__link:hover .listings-card__go { transform: translateX(3px); }
.listings-card--fv .listings-card__link:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) { .listings-card--fv .listings-card__go { transition: none; } }
/* ---- Free Weekly Newsletter sidebar card, under Search (site_search.newsletter_card_html, Dec. 1, 2026) ---- */
.sidebar-search-block > .side-card--newsletter {
  display: flex; align-items: center; gap: 0.7rem; margin-top: 0.5rem; padding: 0.7rem 0.8rem 0.7rem 0.75rem;
  box-sizing: border-box; width: 100%; min-height: 64px; text-decoration: none; color: #FFFCF7;
  background: var(--navy); border: 2px solid var(--gold); border-radius: var(--radius, 14px);
  background-image: radial-gradient(120% 160% at 100% 0%, rgba(201, 162, 39, 0.22) 0%, transparent 55%);
  box-shadow: 0 10px 26px rgba(11, 61, 92, 0.1); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.side-card--newsletter .nl-card__mark { flex: none; width: 40px; height: 40px; padding: 4px; border-radius: 10px; background: #FFFCF7; }
.side-card--newsletter .nl-card__text { display: flex; flex-direction: column; gap: 0.06rem; min-width: 0; flex: 1; }
.side-card--newsletter .nl-card__kicker { font: 700 0.64rem/1.2 var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-on-navy, #E0C45A); }
.side-card--newsletter .nl-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.2; letter-spacing: -0.01em; color: #FFFCF7; }
.side-card--newsletter .nl-card__note { font-size: 0.78rem; line-height: 1.25; color: rgba(255, 252, 247, 0.85); }
.side-card--newsletter .nl-card__go {
  flex: none; display: inline-flex; align-items: center; gap: 0.25rem; min-height: 36px; padding: 0 0.8rem;
  border-radius: 999px; background: var(--gold); color: var(--navy-deep, #07283C); font: 700 0.84rem/1 var(--font-ui); white-space: nowrap;
}
.side-card--newsletter:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(11, 61, 92, 0.18); color: #FFFCF7; }
.side-card--newsletter:hover .nl-card__go { background: #d9b43a; }
.side-card--newsletter:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (pointer: coarse) { .side-card--newsletter .nl-card__go { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .side-card--newsletter { transition: none; } .side-card--newsletter:hover { transform: none; } }

/* ---- Comment section: themed navy band (Paul, Dec. 1, 2026, 10 AM) ---- */
#comments.fv-comments {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #0B3D5C 0%, #07283C 100%);
  border-top: 4px solid var(--gold); border-bottom: 4px solid var(--gold);
}
#comments.fv-comments::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background:
    radial-gradient(60% 90% at 0% 0%, rgba(201, 162, 39, 0.18) 0%, transparent 60%),
    radial-gradient(60% 90% at 100% 100%, rgba(26, 107, 122, 0.35) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='48' viewBox='0 0 240 48'%3E%3Cpath d='M0 24c30-14 60-14 90 0s60 14 90 0 40-10 60-6' fill='none' stroke='%23C9A227' stroke-opacity='.16' stroke-width='2'/%3E%3C/svg%3E") repeat;
}
#comments.fv-comments::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; right: -40px; bottom: -60px; width: 320px; height: 320px;
  background: url("../images/brand/river-fox-icon.svg") center / contain no-repeat; opacity: 0.06; filter: grayscale(1) brightness(3);
}
#comments.fv-comments .fvc-card { border-color: rgba(201, 162, 39, 0.55); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35); }
#comments.fv-comments .fvc-body, #comments.fv-comments .fvc-form { background: #FBF6EC; }
#comments.fv-comments .fvc-head { background-color: #0E4A6E; border-right: 1px solid rgba(201, 162, 39, 0.35); }
/* Comment form email fallback link (shown after an error or the 15 s timeout) */
#comments .form-status.fvc-fallback { line-height: 1.45; }
#comments .fvc-fallback .fvc-mailto { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
#comments .fvc-fallback .fvc-mailto:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---- Newsletter band: red counterpart to the comments navy band (Paul, Dec. 1, 2026) ---- */
.wk-signup {
  position: relative; overflow: hidden; isolation: isolate;
  width: 100%; max-width: none; margin: 0; padding: 2.5rem 0; box-sizing: border-box;
  background: linear-gradient(160deg, #C62828 0%, #8A1717 100%);
  border-top: 4px solid var(--gold, #C9A227); border-bottom: 4px solid var(--gold, #C9A227);
  box-shadow: inset 0 1px 0 rgba(255, 252, 247, 0.14), inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}
.wk-signup::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background:
    radial-gradient(60% 90% at 0% 0%, rgba(201, 162, 39, 0.22) 0%, transparent 60%),
    radial-gradient(60% 90% at 100% 100%, rgba(60, 0, 0, 0.45) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='48' viewBox='0 0 240 48'%3E%3Cpath d='M0 24c30-14 60-14 90 0s60 14 90 0 40-10 60-6' fill='none' stroke='%23C9A227' stroke-opacity='.16' stroke-width='2'/%3E%3C/svg%3E") repeat;
}
.wk-signup::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; right: -40px; bottom: -60px; width: 320px; height: 320px;
  background: url("../images/brand/river-fox-icon.svg") center / contain no-repeat; opacity: 0.08; filter: grayscale(1) brightness(3);
}
main + .wk-signup, #comments.fv-comments + .wk-signup { border-top: 0; }
.wk-signup .wk-card {
  background: #FBF6EC; border-radius: 16px; border: 1px solid rgba(201, 162, 39, 0.55); border-top: 5px solid var(--gold, #C9A227);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
