.issue-title {
  margin-top: 36px;
  margin-bottom: 12px;
  font-family: var(--serif);
}

.home-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.15s ease;
}
.home-link:hover {
  opacity: 0.8;
}

.section-heading {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.4;
  font-weight: normal;
  color: var(--accent);
  margin-bottom: 32px;
  border-bottom: 2px solid var(--dune);
  padding-bottom: 12px;
}

.article {
  margin-bottom: 56px;
  scroll-margin-top: 28px;
  overflow-wrap: anywhere;
}
.article:focus-visible, .share-btn:focus-visible, .home-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
.article:last-child {
  margin-bottom: 0;
}

.article-title {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.25;
  margin-bottom: 16px;
  font-weight: normal;
  letter-spacing: -0.01em;
}

/* CHANGE U2 (Ian 2026-10-28): the share-page Published line takes the issue
   dateline's type — small sans, uppercase, wide letter spacing — in the
   normal full-contrast ink in day and night (the source text keeps its
   sentence case; the caps are text-transform only). The three-class
   selector beats the gray detail rules that can apply inside the card.
   Comfortable space below so the dek follows at ease. The 4c
   h1.article-title top-margin pin is removed: the title sits where it did
   before the SEO build. */
.issue-layout .share-item-section .article-dateline {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 20px;
}

/* CHANGE U1 (Ian 2026-10-28): the share-page breadcrumb takes the masthead
   dateline's type (small, uppercase, letter-spaced sans) in the normal
   full-contrast ink in both day and night; links keep the color and
   underline only on hover or focus. Compact on a 390px phone. */
.share-breadcrumb {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 16px;
}
.share-breadcrumb a {
  color: var(--ink);
  text-decoration: none;
}
.share-breadcrumb a:hover,
.share-breadcrumb a:focus-visible {
  text-decoration: underline;
}

.article-placeholder {
  font-style: italic;
  color: var(--gray);
}

.article-figure {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 28px auto;
}
.article-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.article-figure--lead {
  margin-top: 20px;
}
body[data-city="naples"] .article-figure {
  width: 60%;
}
body[data-city="naples"] .article-figure img {
  border-radius: 8px;
}

.share-ctrl {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--dune);
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.15s ease;
  width: fit-content;
}
.share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.share-btn img {
  width: 18px;
  height: 18px;
}

.share-fallback {
  font-family: var(--sans);
  font-size: 13px;
  word-break: break-all;
}

.share-fallback-container {
  display: none;
}
.share-fallback-container.is-visible {
  display: block;
}

.share-fallback-input {
  width: 100%;
  padding: 10px;
  font-family: var(--sans);
  font-size: 13px;
  border: 1px solid var(--dune);
  background: var(--paper);
  color: var(--ink);
}
.share-fallback-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.share-status {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--accent);
  min-height: 1.5em;
}

.add-to-cal {
  position: relative;
  margin-top: 16px;
  width: fit-content;
  max-width: 100%;
}
.add-to-cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--dune);
  padding: 8px 16px;
  cursor: pointer;
  width: fit-content;
  max-width: 100%;
}
.add-to-cal-btn:hover,
.add-to-cal-btn:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}
.add-to-cal-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.add-to-cal-icon {
  flex: 0 0 auto;
}
.add-to-cal-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 6;
  min-width: 12.5rem;
  max-width: min(18rem, 100vw - 2rem);
  background: var(--paper);
  border: 1px solid var(--dune);
  padding: 6px 0;
}
.add-to-cal:hover .add-to-cal-menu,
.add-to-cal:focus-within .add-to-cal-menu {
  display: flex;
  flex-direction: column;
}
.add-to-cal-option {
  display: block;
  padding: 10px 16px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.3;
}
.add-to-cal-option:hover,
.add-to-cal-option:focus-visible {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--paper));
}


.calendar-intro {
  margin-bottom: 24px;
}

.calendar-root {
  margin-top: 12px;
}

.calendar-filters {
  border: none;
  padding: 0;
  margin: 0 0 24px;
}

.calendar-legend {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.calendar-legend span {
  font-weight: normal;
}
.calendar-filter-hint {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 14px;
}

.calendar-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.calendar-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  min-height: 44px;
  border: 1px solid var(--dune);
  border-radius: 20px;
  cursor: pointer;
  background: var(--paper);
  transition: all 0.15s ease;
  user-select: none;
}
.calendar-filter-pill:hover {
  border-color: var(--accent);
}
.calendar-filter-pill:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.calendar-filter-pill:has(input:checked) {
  border-color: var(--accent);
  background: var(--paper);
}

.calendar-filter-pill input {
  accent-color: var(--accent);
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.calendar-root .pill-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 1px;
}
.calendar-filter-pill input:not(:checked) ~ .pill-label {
  font-weight: normal;
}
.calendar-filter-pill input:not(:checked) ~ .vibe-mark {
  border-color: var(--gray);
  color: var(--gray);
}

/* Rows revealed by the "Show past events" toggle read as past
   (Ian AUTH 2026-10-05); nothing else about the row changes. */
.calendar-row--past {
  opacity: 0.55;
}

.calendar-filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.calendar-count {
  order: -1;
  color: var(--ink);
  font: 12px var(--sans);
}
.calendar-count:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.calendar-reset:disabled {
  opacity: 0.6;
  cursor: default;
}

.calendar-root .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.calendar-root [hidden] {
  display: none !important;
}

.calendar-row {
  padding: 14px 0;
  overflow-wrap: anywhere;
}
.calendar-row + .calendar-row {
  border-top: 1px solid var(--dune);
}

.calendar-summary {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 16px;
  row-gap: 8px;
  cursor: pointer;
  list-style: none;
  padding: 4px 0;
  min-height: 44px;
}
.calendar-summary::-webkit-details-marker {
  display: none;
}
.calendar-summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.calendar-brief-date {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  grid-column: 1;
  grid-row: 1 / 3;
  margin-top: 3px;
}

/* CHANGE U2 (Ian 2026-10-28): on event share pages the date column never
   breaks a label mid word (NIGHTLY came out "NIGHTL Y" inside the fixed
   60px/54px track under the row's overflow-wrap: anywhere). Scoped to the
   share section so the regular issue event list is pixel identical: the
   column sizes between its longest word and the unwrapped label, so labels
   wrap only at spaces. */
.share-item-section .calendar-brief-date {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.share-item-section .calendar-summary {
  grid-template-columns: minmax(min-content, max-content) minmax(0, 1fr) auto;
}

/* b14p step 7B: multi-date cards stack one date per line (Issue 02 only;
   no Issue 01 row carries the modifier class). */
.calendar-brief-date--lines {
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.calendar-brief-date-line {
  display: block;
}

/* b14p step 7C: EL1's collapse toggles stay compact one-liners (overrides
   the 44px expand-toggle touch target and 10px text-toggle padding).
   Spacing only: every block keeps its content and order. */
.issue-layout .collapsible-toggle {
  min-height: 36px;
  padding: 6px 0;
}
/* b14p step 8b: a plain block's 100%-width button drops below the floated
   figure instead of flowing beside it; flow-root gives each group a block
   formatting context so the toggles sit to the figure's left (and full
   width resumes below it). No clipping, no text change. */
.issue-layout .collapsible-group {
  display: flow-root;
}

/* b14p step 8b (Ian 2026-10-19): with the lazy image loaded, EL1's
   timeline figure pushed the collapsed article past target. Where the
   article column is >= 600px (viewport >= 648: .page max-width 720 less
   the 24px side padding) the figure floats right at 300px wide, beside
   the Step 4 paragraph and the toggle list, and Sources clears it. Below
   that the timeline image caps at 280px tall, centered. Structure only:
   content and order unchanged. */
@media (min-width: 648px) {
  .issue-layout #el1 .article-figure--inline {
    float: right;
    width: 300px;
    margin: 0 0 16px 24px;
  }
  .issue-layout #el1 .item-sources {
    clear: both;
  }
}
@media (max-width: 647px) {
  .issue-layout #el1 .article-figure--inline img {
    max-height: 280px;
    width: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* bk2 (Ian 2026-10-20): Berkley EL1's key-dates figure is 390px wide and
   must fill the text column on phones (never the SLC timeline's float or
   280px height cap). Scoped to this figure's img src only; the SLC rules
   above still apply to every other figure. */
@media (min-width: 648px) {
  .issue-layout #el1 .article-figure--inline:has(img[src$="el1-key-dates.svg"], img[src$="el1-key-dates-night.svg"]) {
    float: none;
    width: 100%;
    margin: 28px auto;
  }
}
@media (max-width: 647px) {
  .issue-layout #el1 .article-figure--inline img[src$="el1-key-dates.svg"],
  .issue-layout #el1 .article-figure--inline img[src$="el1-key-dates-night.svg"] {
    max-height: none;
    width: 100%;
  }
}

/* cx1 (Ian 2026-10-21): Berkley EL1's key-dates timeline reads better
   capped on desktop: max-width 380px (about 60% of the 636px column),
   centered, img filling the figure. Below 648px the bk2 full column
   width stays (readability on phones). Scoped to the Berkley issue the
   same way as the col1 body-color fix so no other city's CSS output
   changes. SVG files untouched. */
@media (min-width: 648px) {
  body.issue-layout[data-issue-city="berkley"] #el1 .article-figure--inline:has(img[src$="el1-key-dates.svg"], img[src$="el1-key-dates-night.svg"]) {
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  body.issue-layout[data-issue-city="berkley"] #el1 .article-figure--inline:has(img[src$="el1-key-dates.svg"], img[src$="el1-key-dates-night.svg"]) img {
    width: 100%;
    height: auto;
  }
}

.calendar-brief-title {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.25;
  color: var(--ink);
  grid-column: 2 / -1;
}

/* CHANGE U2 (Ian 2026-10-28): on event share pages the summary title is the
   page's h1 — same element position and calendar-brief-title look, serif in
   the normal ink, at a slightly larger phone-friendly size. */
h1.calendar-brief-title {
  font-size: 26px;
  margin: 0;
}

.calendar-brief-marks {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.calendar-root .vibe-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

/* SLC Designer icons (Ian AUTH 2026-10-05) sit inside the same 22px circle
   as letter marks; the image carries the sizing. Letter marks are
   unaffected. */
.calendar-root .vibe-mark img {
  display: block;
  width: 18px;
  height: 18px;
}

.calendar-toggle {
  grid-column: 3;
  grid-row: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font: 12px var(--sans);
  white-space: nowrap;
}
.calendar-root--plain .calendar-summary {
  grid-template-columns: 60px minmax(0, 1fr);
}
.calendar-root--plain .calendar-brief-description {
  grid-column: 2;
  grid-row: 2;
  color: var(--ink);
  font: 17px/1.45 var(--serif);
}
.calendar-root--plain .calendar-toggle {
  grid-column: 2;
  grid-row: 3;
}
.calendar-see-less,
.calendar-event[open] .calendar-see-more {
  display: none;
}
.calendar-event[open] .calendar-see-less {
  display: inline;
}
.calendar-expand-icon {
  font-family: var(--sans);
  font-size: 20px;
  color: var(--gray);
  flex: 0 0 auto;
  transition: transform 0.2s ease;
  font-weight: 300;
}
.calendar-event[open] .calendar-expand-icon {
  transform: rotate(45deg);
  color: var(--ink);
}

.calendar-expand-icon--arrow {
  display: inline-flex;
  align-items: center;
}

.calendar-event[open] .calendar-expand-icon--arrow {
  transform: rotate(180deg);
}

.calendar-details {
  margin-top: 16px;
  padding-left: 76px;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
}

.calendar-details p {
  margin-bottom: 10px;
  line-height: 1.5;
}
.calendar-details p strong {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-right: 6px;
  font-weight: 600;
}

.calendar-extra-detail {
  margin-top: 16px;
}

.calendar-vibe {
  font-family: var(--sans);
  font-size: 15px;
}

.calendar-empty {
  padding: 32px 0;
  text-align: center;
}

.calendar-notes {
  margin-top: 40px;
  border-top: 1px solid var(--dune);
}
.calendar-note {
  padding-top: 28px;
}
.calendar-note-title {
  margin-bottom: 14px;
  color: var(--accent);
  font: normal 22px/1.3 var(--serif);
}
.calendar-note p:last-child {
  margin-bottom: 0;
}
.calendar-intro a,
.calendar-note a {
  overflow-wrap: anywhere;
}

.feature-detail {
  margin-bottom: 10px;
}
.feature-detail:last-of-type {
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .calendar-summary {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    column-gap: 12px;
  }
  .calendar-brief-date {
    font-size: 13px;
  }
  .calendar-brief-title {
    font-size: 18px;
  }
  h1.calendar-brief-title {
    font-size: 22px;
  }
  .calendar-details {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .calendar-filter-pill,
  .calendar-expand-icon {
    transition: none;
  }
}

.speaker-tip {
  background: var(--paper);
  border: 1px solid var(--dune);
  padding: 24px;
  margin-bottom: 40px;
  /* Bare URLs in tips sit outside .article, which carries the wrap rule. */
  overflow-wrap: anywhere;
}
/* Same bare-URL wrap for section intros (Ian AUTH 2026-10-07). */
.section-intro {
  overflow-wrap: anywhere;
}
.speaker-tip-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.speaker-tip-content {
  margin-bottom: 18px;
}
.speaker-tip-content:last-child {
  margin-bottom: 0;
}

/* Shared-item highlight (Ian AUTH 2026-10-07): persistent settled look plus
   a one-time arrival emphasis. Programmatic focus on the shared target draws
   no outline; keyboard users still get the normal :focus-visible outline on
   articles that are not the shared target. */
.article.shared-target,
.calendar-row.shared-target {
  position: relative;
  scroll-margin-top: 32px;
  padding: 22px 24px 22px 28px;
  margin-left: -28px;
  margin-right: -24px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 4%, var(--paper));
  transition: background-color 1600ms ease, box-shadow 1600ms ease;
}
.article.shared-target,
.article.shared-target:focus,
.article.shared-target:focus-visible,
.calendar-row.shared-target,
.calendar-row.shared-target:focus,
.calendar-row.shared-target:focus-visible {
  outline: none;
}
.article.shared-target::before,
.calendar-row.shared-target::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 3px;
  background: var(--accent);
  opacity: .55;
}
.article.shared-target--arrive,
.calendar-row.shared-target--arrive {
  background: color-mix(in srgb, var(--accent) 9%, var(--paper));
  box-shadow: 0 1px 2px rgba(29,46,53,.04), 0 8px 24px rgba(29,46,53,.06);
  animation: shared-target-arrive 700ms ease-out;
}
@keyframes shared-target-arrive {
  from {
    background: var(--paper);
    box-shadow: none;
  }
  to {
    background: color-mix(in srgb, var(--accent) 9%, var(--paper));
    box-shadow: 0 1px 2px rgba(29,46,53,.04), 0 8px 24px rgba(29,46,53,.06);
  }
}
@media (max-width: 640px) {
  .article.shared-target,
  .calendar-row.shared-target {
    margin-left: -14px;
    margin-right: -14px;
    padding: 18px 16px 18px 20px;
  }
  .article.shared-target::before,
  .calendar-row.shared-target::before {
    left: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .article.shared-target,
  .article.shared-target--arrive,
  .calendar-row.shared-target,
  .calendar-row.shared-target--arrive {
    animation: none;
    transition: none;
  }
  /* Show the settled look directly: no arrival emphasis at all. */
  .article.shared-target--arrive,
  .calendar-row.shared-target--arrive {
    background: color-mix(in srgb, var(--accent) 4%, var(--paper));
    box-shadow: none;
  }
}

/* Issue Redesign Scope */
.issue-layout {
  font-family: var(--sans);
}

.issue-layout .page {
  padding-top: 64px;
}

.issue-layout .masthead {
  margin-bottom: 24px;
}

.issue-layout .issue-title {
  font-weight: 700;
  font-family: var(--serif);
}

.issue-layout .section-opener {
  border-bottom: 1px solid var(--dune);
  padding-bottom: 16px;
  margin-bottom: 40px;
}

.issue-layout .section-ornament {
  display: block;
  margin: 0.75rem auto;
  max-width: min(280px, 40%);
  height: auto;
  opacity: 0.9;
}

/* Accent mode (Ian AUTH 2026-10-08): the ornament sits inside the section
   heading as a small inline mark instead of a standalone block. Overrides
   the block sizing above (including the first-section variant) for this
   modifier only. */
.issue-layout .section-ornament.section-ornament--accent,
.issue-layout main > .major-section:first-child .section-ornament.section-ornament--accent {
  display: inline-block;
  height: 40px;
  width: auto;
  max-width: 96px;
  vertical-align: middle;
  margin: 0 12px 0 0;
}

@media (max-width: 600px) {
  .issue-layout .section-ornament.section-ornament--accent,
  .issue-layout main > .major-section:first-child .section-ornament.section-ornament--accent {
    height: 32px;
    max-width: 80px;
  }
}

.issue-layout .section-eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.issue-layout .section-heading {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--accent);
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.issue-layout .major-section {
  padding: 72px 0;
}
.issue-layout .major-section + .major-section {
  border-top: 1px solid var(--dune);
}
.issue-layout .major-section > .section-content {
  padding-left: 12px;
}

/* Keep the opening prose above the fold without changing later sections. */
.issue-layout main > .major-section:first-child {
  padding-top: 0;
}
.issue-layout main > .major-section:first-child > .section-opener {
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.issue-layout main > .major-section:first-child .section-ornament {
  max-width: min(180px, 40%);
  max-height: 56px;
  object-fit: contain;
  margin: 8px auto;
}

.issue-layout .article + .article {
  border-top: 1px solid var(--dune);
  padding-top: 48px;
  margin-top: 48px;
}

.issue-layout .article-title {
  font-family: var(--serif);
  font-weight: 500;
}

.issue-layout .calendar-brief-title {
  font-family: var(--serif);
  font-weight: 500;
}

.issue-layout p,
.issue-layout .article-body,
.issue-layout .calendar-brief-description {
  font-family: var(--sans);
  font-weight: 400;
}

.issue-layout .feature-detail,
.issue-layout .calendar-details p,
.issue-layout .calendar-brief-date,
.issue-layout .calendar-count,
.issue-layout .dateline,
.issue-layout figcaption {
  color: var(--gray);
  font-weight: 400;
}
.issue-layout .calendar-details .calendar-extra-detail {
  color: var(--ink);
}

/* Rich calendar details (Ian AUTH 2026-10-08): inside a row's extra detail
   paragraphs, bold is body-text emphasis, not the small uppercase gray label
   style used for When/Where/Cost. Long links wrap instead of overflowing. */
.issue-layout .calendar-details .calendar-extra-detail strong {
  font: inherit;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: inherit;
  margin-right: 0;
}

.issue-layout .calendar-details .calendar-extra-detail a {
  overflow-wrap: anywhere;
}

.issue-layout .feature-detail strong,
.issue-layout .calendar-details p strong {
  font-weight: 400;
  color: var(--gray);
}

/* Step indent for nested content */
.issue-layout .article-body,
.issue-layout .feature-detail {
  margin-left: 24px;
}
.issue-layout .share-ctrl {
  margin-left: 24px;
}
.issue-layout .add-to-cal {
  margin-left: 24px;
}
.issue-layout .calendar-brief-description {
  padding-left: 12px;
}

.issue-layout .calendar-details {
  padding-left: 92px; /* clear expanded calendar nesting */
}

@media (max-width: 600px) {
  /* Reserve the night-toggle strip (Ian 2026-10-10): the 36px pill at
     top: 8 plus its widest focus ring needs 50px; 52px keeps it fully
     above the masthead, so it can never overlap the logo or the card. */
  .issue-layout .page {
    padding-top: 52px;
  }
  .issue-layout .major-section {
    padding: 48px 0;
  }
  .issue-layout .major-section > .section-content {
    padding-left: 8px;
  }
  .issue-layout .article-body,
  .issue-layout .feature-detail,
  .issue-layout .share-ctrl {
    margin-left: 12px;
  }
  .issue-layout .add-to-cal {
    margin-left: 12px;
  }
  .issue-layout .calendar-details {
    padding-left: 84px;
  }
  .issue-layout .calendar-brief-description {
    padding-left: 8px;
  }
}

@media (max-width: 480px) {
  /* Wider phone body column (b13f, Ian 2026-10-19, SLC Issue 02 only):
     the item box spans 16px from both screen edges (page padding 24 plus
     section padding 8 put it at 32; -16 left and -8 right reach 16 on
     both sides) and the inner step indents flatten, so body text, detail
     paragraphs, lists, figures, Sources and Share all line up at 16.
     Open Events rows drop the details panel's left padding for the same
     span; the collapsed row summary keeps its layout. Scoped to the
     issue-sections-layout hook so Issue 01 and the other cities never
     match. CHANGE U2 (Ian 2026-10-28): the highlighted lead on share
     landings (.share-item-section) flattens too — the unguarded rules
     below cover its card — but the card's own .sec-item box is not pulled
     wider than its section, so its content starts at the card's inner
     edge. Font, line height, spacing and colors are unchanged. */
  body.issue-sections-layout .major-section:not(.share-item-section) .sec-item {
    margin-left: -16px;
    margin-right: -8px;
  }
  body.issue-sections-layout .major-section .sec-item .article-body,
  body.issue-sections-layout .major-section .sec-item .feature-detail,
  body.issue-sections-layout .major-section .sec-item .share-ctrl {
    margin-left: 0;
  }
  body.issue-sections-layout .calendar-details > .add-to-cal {
    margin-left: 0;
  }
  body.issue-sections-layout .major-section .sec-item .add-to-cal {
    margin-left: 0;
  }
  body.issue-sections-layout .major-section .calendar-details {
    padding-left: 0;
  }
  /* CHANGE U2: the share card's section drops its 8px phone padding and
     the tinted panel keeps its background and border at 12px padding, so
     the text uses the full available width. */
  body.issue-sections-layout .share-item-section > .section-content {
    padding-left: 0;
  }
  body.issue-sections-layout .share-item-section .share-highlight {
    padding: 12px;
  }
}

/* Explore header art + photo grid (Ian AUTH 2026-10-07): these classes are
   only emitted by Explore items, so other cities are unaffected. Images
   never exceed the column, so no horizontal scroll on desktop or mobile. */
.article-header-art {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 0 18px;
}
.article-photos {
  display: grid;
  gap: 20px;
  margin: 28px 0;
  max-width: 100%;
}
.article-photo {
  margin: 0;
  min-width: 0;
}
.article-photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
  border-radius: 6px;
  background: var(--dune);
}
.article-photo figcaption,
.article-photo-credit {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  color: var(--gray);
  margin-top: 8px;
}

/* Explore compact layout (Ian AUTH 2026-10-08): opt-in via
   issue.explore_layout = "compact". Header art and the photo grid shrink to
   65% of the column and center; per-photo captions and the photo credit stay
   under their photo, left-aligned to the photo's edge. Same 65% on mobile. It
   is relative to the column width. */
body[data-explore-layout="compact"] .article-header-art {
  width: 65%;
  margin: 0 auto 18px;
}
body[data-explore-layout="compact"] .article-photos {
  width: 65%;
  margin-left: auto;
  margin-right: auto;
}
body[data-explore-layout="compact"] .article-photo img {
  border-radius: 12px;
}

/* Optional map figure set (Ian AUTH 2026-10-08): a 2-up grid of figures with
   one shared credit, rendered only when the asset files exist. Item captions
   and the credit keep the existing .issue-layout figcaption look. */
.article-figure-set {
  margin: 28px 0;
}
.figure-set-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.figure-set-item {
  margin: 0;
  min-width: 0;
}
.figure-set-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.figure-set-item figcaption,
.figure-set-credit {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  color: var(--gray);
  margin-top: 8px;
}
@media (max-width: 600px) {
  .figure-set-grid {
    grid-template-columns: 1fr;
  }
}

/* Houston mobile masthead (Ian AUTH 2026-10-08): on phones the Issue 01
   title and the dateline sit tight under the logo so the Editor's Note
   starts higher. Desktop and other cities keep their spacing. The page
   top padding is no longer tightened here (Ian 2026-10-10): the larger
   night toggle needs the same reserved 52px strip as every city, which
   also resolves the 390px corner overlap the 20px strip caused. */
@media (max-width: 600px) {
  body[data-issue-city="houston"] .masthead { margin-bottom: 16px; }
  body[data-issue-city="houston"] .issue-title { margin-top: 14px; margin-bottom: 2px; font-size: 26px; }
  body[data-issue-city="houston"] .dateline { margin-top: 0; padding-bottom: 12px; font-size: 11px; letter-spacing: 0.12em; }
}

/* Houston mobile event details (Ian AUTH 2026-10-08): on phones the long
   prose under See more spans the full column. When, Where, Cost, Vibe,
   short label rows (Hosted by, Produced by) and the share row keep their
   indent for hierarchy. Desktop and other cities are unchanged.
   Description prose takes the same 12px inset as City Hall .article-body (Ian AUTH 2026-10-08, 1:45 ET). */
@media (max-width: 600px) {
  body[data-issue-city="houston"] .calendar-details { padding-left: 0; }
  body[data-issue-city="houston"] .calendar-details > p:not(.calendar-extra-detail),
  body[data-issue-city="houston"] .calendar-details > .calendar-detail-meta { padding-left: 84px; }
  body[data-issue-city="houston"] .calendar-details > .share-ctrl { margin-left: 96px; }
  body[data-issue-city="houston"] .calendar-details > .add-to-cal { margin-left: 96px; }
  body[data-issue-city="houston"] .calendar-details > .calendar-extra-detail:not(.calendar-detail-meta) { margin-left: 12px; }
}

/* Section headers v2 (Ian AUTH 2026-10-08, 2:35 ET): the duplicate small
   eyebrow is gone and any section illustration sits to the RIGHT of the
   heading text, vertically centered, at its existing size. If text and
   image do not fit on one line, the image wraps below without overflow. */
.issue-layout .section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 16px;
  row-gap: 8px;
}
.issue-layout .section-heading .section-ornament,
.issue-layout main > .major-section:first-child .section-heading .section-ornament {
  flex: 0 0 auto;
  margin: 0;
}

/* Section jump nav (Ian AUTH 2026-10-08): one compact row of brand-colored
   links under the Editor's Note. Wraps tidily on narrow screens; in-flow,
   never fixed, so it cannot overlap the consent banner. */
.issue-layout .issue-jumpnav {
  margin: 20px 0 0;
}
.issue-layout .issue-jumpnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.issue-layout .issue-jumpnav li {
  margin: 0;
  padding: 0;
}
.issue-layout .issue-jumpnav a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--paper);
  color: var(--accent);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}
.issue-layout .issue-jumpnav a:hover {
  background: var(--accent);
  color: var(--paper);
}
.issue-layout .issue-jumpnav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Issue jump nav rows (b13d, Round 3, SLC I02): the intro's section_nav
   rows render as the page's one jump nav — one stacked row per section,
   the jump-nav pill link followed by the row line as body text. Rows wrap
   cleanly on narrow screens; colors ride the day and night variables.
   b13d fix1: the bottom margin matches the lede's 20px, which sets the gap
   above the first row, so the rows read as one block with equal breathing
   room above and below (the mission paragraph's top margin is 0). */
.issue-layout .issue-jumpnav--rows {
  margin: 12px 0 20px;
  /* b13e: hanging-indent rows — the nav is one grid with a shared
     max-content pill column, so all four descriptions start at the same x
     and wrapped lines stay in the description column; 14px between the
     columns and 10px between rows; pills top-align with the first
     description line. */
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 10px;
}
.issue-layout .issue-jumpnav--rows .jumpnav-row {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  align-items: start;
  margin: 0;
  font: 17px/1.45 var(--serif);
  color: var(--ink);
}
.issue-layout .section-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 24px;
}
@media (max-width: 600px) {
  .issue-layout .issue-jumpnav { margin-top: 16px; }
  .issue-layout .issue-jumpnav ul { gap: 6px 5px; }
  .issue-layout .issue-jumpnav a { padding: 7px 7px; font-size: 13px; }
  /* b13e small screens: the pill takes its own line, the description sits
     below it indented 16px, 6px between pill and description, 12px between
     rows. */
  .issue-layout .issue-jumpnav--rows { display: block; }
  .issue-layout .issue-jumpnav--rows .jumpnav-row { display: block; margin: 0 0 12px; }
  .issue-layout .issue-jumpnav--rows .jumpnav-row:last-child { margin-bottom: 0; }
  .issue-layout .issue-jumpnav--rows .jumpnav-line { display: block; margin: 6px 0 0 16px; }
}

/* Screen-reader-only text, issue-wide (b13e: the jump-nav row colon keeps
   the "Label: line" reading without a visible colon). Same pattern as the
   calendar's scoped .sr-only rule. */
.issue-layout .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Issue 02 heading marks (b13e, SLC only): the trimmed mark drawings size
   to the heading cap height — 20px tall at every width, width auto, no
   max-width cap — with the bottom of the drawing on the heading text
   baseline and a 12px gap after the heading text. Scoped to the
   generic-issue body hook so /issues/01 ornaments keep their current
   sizes, day and night. */
.issue-layout.issue-sections-layout .section-heading {
  align-items: baseline;
  column-gap: 12px;
}
.issue-layout.issue-sections-layout .section-heading .section-ornament {
  height: 20px;
  width: auto;
  max-width: none;
  margin: 0;
}

/* Issue signup CTA (Ian AUTH 2026-10-08): compact signup prompts above City
   Hall (or above Explore when the issue has no City Hall articles) and at
   the bottom of the issue before the site footer. A thin rule band, tight
   padding, no art; the controls keep the shared 12px control radius from
   styles.css. scroll-margin-top keeps the CTA clear of anchored jumps; the
   CTA itself never gets a jump-nav link. */
.issue-layout .signup-cta {
  scroll-margin-top: 24px;
  margin: 40px 0;
  padding: 22px 0 4px;
  border-top: 1px solid var(--dune);
}
.issue-layout .signup-cta-heading {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 10px;
}
.issue-layout .signup-cta .signup-form {
  margin: 0;
}
.issue-layout .signup-cta .form-note {
  margin-top: 8px;
}
@media (max-width: 600px) {
  .issue-layout .signup-cta { margin: 32px 0; }
}

/* Email arrivals (Ian AUTH 2026-10-09): a reader who arrived from one of our
   emails never sees the mid-issue CTA; the bottom CTA always shows. The
   from-email class lands on <html> before first paint, injected server-side
   when the marker query is present and re-applied from sessionStorage by the
   inline head script on later views. */
html.from-email .signup-cta[data-signup-placement="issue_cityhall"] {
  display: none;
}

/* Share pages (CoS request, Ian-approved 2026-10-09; masthead simplified
   and full-issue layout Ian 2026-10-09): /issues/01/a/<slug> shows the
   shared item first under a logo-only masthead, then the share signup
   form, then the rest of the issue. The gap from the masthead to the item
   is the masthead's own margin: 24px at 390, 32px at desktop.
   body.share-item-layout also outranks the Houston mobile masthead
   override by source order. The item section zeroes its top padding and
   trims its bottom so the share form sits close to the item. */
body.share-item-layout .masthead {
  margin-bottom: 32px;
}
@media (max-width: 600px) {
  body.share-item-layout .masthead {
    margin-bottom: 24px;
  }
}

.share-item-layout .share-item-section {
  padding-top: 0;
  padding-bottom: 24px;
}

/* Share highlight (b13e, SLC Issue 02 share landings): a soft panel around
   the shared item on the share page, 10px radius, 20px padding (16px on
   narrow screens). Day colors here; night.css carries the night variant. */
.issue-layout .share-highlight {
  border-radius: 10px;
  padding: 20px;
  background: rgba(31, 95, 107, 0.06);
  border: 1px solid rgba(31, 95, 107, 0.18);
}
@media (max-width: 600px) {
  .issue-layout .share-highlight {
    padding: 16px;
  }
}

/* Follow us row (Ian 2026-10-10): one compact line below the bottom
   subscribe CTA on issue and share pages. Colors inherit from the body
   text, so day and night palettes both apply with no override needed;
   currentColor keeps the icons readable in night mode by construction. */
.issue-layout .follow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem 0 0.5rem;
  font-size: 0.85rem;
  line-height: 1;
}
.issue-layout .follow-row .follow-label {
  letter-spacing: 0.02em;
}
.issue-layout .follow-row .follow-link {
  display: inline-flex;
  color: inherit;
}
.issue-layout .follow-row .follow-link svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Elections & Voting (Ian 2026-10-12): standing issue section after City
   Hall. Card chrome follows the speaker-tip surface (paper card on a dune
   hairline) with the rounded corners used by article photos. All colors ride
   the shared palette vars so night mode restyles them from night.css. */
.election-card {
  background: var(--paper);
  border: 1px solid var(--dune);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}
.election-card:last-child {
  margin-bottom: 0;
}
.election-badge {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.election-title {
  font: normal 22px/1.3 var(--serif);
  margin: 0 0 12px;
}
.election-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.election-facts li {
  margin-bottom: 6px;
}
.election-facts li:last-child {
  margin-bottom: 0;
}
.election-ballot {
  margin: 0 0 14px;
}
.election-ballot ul {
  margin: 8px 0 0;
}
.election-howto {
  margin: 0 0 14px;
}
.election-places {
  margin: 0 0 14px;
  padding-left: 1.2em;
}
.election-sources {
  margin: 0;
}

/* Issue 02 sections model (SLC draft, 2026-10-17): item deks, expandable
   candidate cards and collapsible source lists. Expand regions render
   visible so the content is reachable without JS; issue.js collapses them
   on load and marks the toggle .is-enhanced (the +/- indicator only shows
   once the button actually works). */
.issue-layout .item-dek {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gray);
  margin: 0 0 16px;
}

/* Houston Issue 02 (2026-10-27): item byline under the headline, and the
   phone/hours/website details block under the body. Shared section notes
   sit between calendar rows, so they span the grid and keep the note box
   breathing room. */
.issue-layout .item-byline {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--gray);
  margin: -8px 0 16px;
}

.issue-layout .item-details {
  margin: 16px 0 0;
}

.issue-layout .calendar-grid > .section-note {
  grid-column: 1 / -1;
  margin: 8px 0;
  padding: 20px 0;
  border-top: 1px solid var(--dune);
  border-bottom: 1px solid var(--dune);
}

.issue-layout .item-subhead {
  font-family: var(--serif);
  font-weight: 500;
  margin: 24px 0 8px;
}

.issue-layout .sec-item .article-body {
  overflow-wrap: anywhere;
}

.issue-layout .sec-figure {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.issue-layout .sec-figure img {
  width: 100%;
  height: auto;
}

.issue-layout .expand-toggle {
  display: block;
  width: 100%;
  min-height: 44px;
  text-align: left;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.issue-layout .expand-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Expander indicator (Ian 2026-10-18): a visible Read more / Show less pill
   with a chevron that rotates when open, replacing the old +/- glyph. Only
   shown once JS has enhanced the button (without JS the region is already
   visible, so a prompt to expand would be a lie). The label swap keys off
   aria-expanded so text and state cannot drift. The whole button is the tap
   target (block, min-height 44px), so it is tappable at 390px. */
.issue-layout .expand-indicator {
  display: none;
}

.issue-layout .expand-toggle.is-enhanced .expand-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  float: right;
  margin: 2px 0 4px 12px;
  padding: 6px 12px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
}

.issue-layout .expand-label--less {
  display: none;
}

.issue-layout .expand-toggle[aria-expanded="true"] .expand-label--more {
  display: none;
}

.issue-layout .expand-toggle[aria-expanded="true"] .expand-label--less {
  display: inline;
}

.issue-layout .expand-arrow {
  flex: 0 0 auto;
  transition: transform 160ms ease;
}

.issue-layout .expand-toggle[aria-expanded="true"] .expand-arrow {
  transform: rotate(180deg);
}

.issue-layout .text-toggle {
  padding: 10px 0;
}

.issue-layout .text-toggle .expand-title {
  font-weight: 600;
}

/* Meet the Candidates (Ian 2026-10-18): prominent filled pill near the top
   of elections items; jumps to and opens the candidate list. */
.issue-layout .meet-candidates {
  margin: 0 0 18px;
}

.issue-layout .meet-candidates-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 22px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  text-decoration: none;
}

.issue-layout .meet-candidates-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.issue-layout .expand-region[hidden] {
  display: none;
}

.issue-layout .candidate-list {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.issue-layout .candidate-card {
  border: 1px solid var(--dune);
  border-radius: var(--radius-control);
}

.issue-layout .candidate-toggle {
  padding: 14px 16px;
}

.issue-layout .candidate-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.issue-layout .candidate-race {
  display: block;
  font-size: 0.85rem;
  color: var(--gray);
}

.issue-layout .candidate-summary {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  margin-top: 4px;
}

.issue-layout .candidate-detail {
  padding: 0 16px 14px;
}

.issue-layout .candidate-detail h4 {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray);
  margin: 16px 0 6px;
}

.issue-layout .item-sources {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--gray);
}

/* Sources control (b12, Ian 2026-10-18): one quiet text button per item,
   no pill border or background, smaller muted text, underline on hover,
   chevron rotates when open, visible focus ring. */
.issue-layout .sources-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: auto;
  min-height: 0;
  padding: 2px 0;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray);
  background: none;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}

.issue-layout .sources-toggle:hover {
  text-decoration: underline;
}

.issue-layout .sources-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.issue-layout .sources-toggle[aria-expanded="true"] .expand-arrow {
  transform: rotate(180deg);
}

.issue-layout .sources-region {
  margin-top: 6px;
}

.issue-layout .sources-region[hidden] {
  display: none;
}

.issue-layout .source-list {
  margin: 8px 0 0;
  padding-left: 20px;
}

.issue-layout .source-list li {
  margin: 4px 0;
  overflow-wrap: anywhere;
}

/* v5.9 (Ian 2026-10-18): office overview callout, prominent Meet the
   candidates CTA, verbatim quotes, photo credit lines, judge examples. */
.issue-layout .office-overview {
  margin: 0 0 1.25rem;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 3px solid currentColor;
}
.issue-layout .candidates-cta .expand-title {
  font-size: 1.05rem;
  font-weight: 650;
}
.issue-layout .item-quote {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid currentColor;
}
.issue-layout .figure-credit {
  font-size: 0.8rem;
  opacity: 0.75;
  margin: -0.75rem 0 1.5rem;
}
.issue-layout .judge-example + .judge-example {
  margin-top: 1rem;
}

/* b13 (Ian 2026-10-18, v6.0): article header/inline art. A plain figure
   with no caption and no cream chip or tile behind it; the night twin
   swaps in via injectNightArt (day-art/night-art classes, display only). */
.issue-layout .article-art {
  max-width: 680px;
  margin: 16px auto;
  background: none;
  border: 0;
  padding: 0;
}

.issue-layout .article-art img {
  display: block;
  width: 100%;
  height: auto;
}

/* b13 (v6.0): the item lede sits under the dek and any header art, above
   the When/Where details and the body. */
.issue-layout .item-lede {
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0 0 20px;
}

/* b13 (v6.0): candidate plan bullets reuse the text-toggle expander; the
   list spacing matches the candidate record lists. */
.issue-layout .plan-list {
  margin: 8px 0 16px;
}

/* Berkley I01: one body color (Ian 2026-10-20 8:35 PM ET; calendar body ext hd1 9:52 PM ET). Berkley-scoped; the shared gray rule above stays for other cities. var(--ink) follows night mode. */
body.issue-layout[data-issue-city="berkley"] .feature-detail,
body.issue-layout[data-issue-city="berkley"] .feature-detail strong,
body.issue-layout[data-issue-city="berkley"] .calendar-details .article-body > p:not([class]) {
  color: var(--ink);
}

/* Houston Issue 02 v2.5 (Ian 2026-10-27, dev-only draft). Every rule is
   scoped to the sections-layout Houston issue pages; Issue 02 is the only
   sections-rendered Houston issue (Issue 01 uses the legacy layout), so no
   other city or issue changes. */

/* B: a followed jump link lands with the section heading fully visible
   below the sticky page furniture. No position:sticky header exists in the
   current stylesheets; the reserved top strip is the 52px night-toggle
   lane, so the margin is 52 + 16 = 68px. */
body.issue-sections-layout[data-issue-city="houston"] .major-section[id] {
  scroll-margin-top: 68px;
}

/* E: the vibe row under an event article's dek — legend icon plus the
   calendar legend's label, one tag per slug. */
body.issue-sections-layout[data-issue-city="houston"] .vibe-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 4px 0 16px;
}
body.issue-sections-layout[data-issue-city="houston"] .vibe-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--gray);
}
body.issue-sections-layout[data-issue-city="houston"] .vibe-tag img {
  display: block;
}

/* F/G: the collapsed native details — Getting there, Explore your ballot,
   and each candidate's Plans inside it. */
body.issue-sections-layout[data-issue-city="houston"] details.getting-there,
body.issue-sections-layout[data-issue-city="houston"] details.explore-ballot {
  margin: 16px 0;
}
body.issue-sections-layout[data-issue-city="houston"] details.getting-there > summary,
body.issue-sections-layout[data-issue-city="houston"] details.explore-ballot > summary,
body.issue-sections-layout[data-issue-city="houston"] details.candidate-plans > summary {
  cursor: pointer;
  font-weight: 600;
}
body.issue-sections-layout[data-issue-city="houston"] details.candidate-plans {
  margin: 8px 0 8px 18px;
}
body.issue-sections-layout[data-issue-city="houston"] .getting-there-venue {
  margin-top: 12px;
}

/* Houston Issue 02 v2.5.3: one reader text color (Ian 2026-10-27 11:42 ET). I02-scoped; var(--ink) follows night mode. The shared gray rules above stay for other cities. */
body.issue-sections-layout[data-issue-city="houston"] .feature-detail,
body.issue-sections-layout[data-issue-city="houston"] .feature-detail strong,
body.issue-sections-layout[data-issue-city="houston"] .calendar-details p,
body.issue-sections-layout[data-issue-city="houston"] .calendar-details p strong,
body.issue-sections-layout[data-issue-city="houston"] .calendar-brief-date,
body.issue-sections-layout[data-issue-city="houston"] .calendar-count,
body.issue-sections-layout[data-issue-city="houston"] .calendar-vibe,
body.issue-sections-layout[data-issue-city="houston"] .dateline,
body.issue-sections-layout[data-issue-city="houston"] figcaption,
body.issue-sections-layout[data-issue-city="houston"] .figure-credit,
body.issue-sections-layout[data-issue-city="houston"] .article-photo-credit,
body.issue-sections-layout[data-issue-city="houston"] .figure-set-credit,
body.issue-sections-layout[data-issue-city="houston"] .item-byline,
body.issue-sections-layout[data-issue-city="houston"] .item-dek,
body.issue-sections-layout[data-issue-city="houston"] .item-lede,
body.issue-sections-layout[data-issue-city="houston"] .sources-toggle,
body.issue-sections-layout[data-issue-city="houston"] .source-list,
body.issue-sections-layout[data-issue-city="houston"] .source-list li,
body.issue-sections-layout[data-issue-city="houston"] .vibe-tag,
body.issue-sections-layout[data-issue-city="houston"] .vibe-tag-label,
body.issue-sections-layout[data-issue-city="houston"] .getting-there-venue,
body.issue-sections-layout[data-issue-city="houston"] details.getting-there,
body.issue-sections-layout[data-issue-city="houston"] details.explore-ballot,
body.issue-sections-layout[data-issue-city="houston"] details.candidate-plans,
body.issue-sections-layout[data-issue-city="houston"] .field-label,
body.issue-sections-layout[data-issue-city="houston"] .form-note,
body.issue-sections-layout[data-issue-city="houston"] .form-status,
body.issue-sections-layout[data-issue-city="houston"] .footer-small,
body.issue-sections-layout[data-issue-city="houston"] .weather-day-temps .lo,
body.issue-sections-layout[data-issue-city="houston"] .weather-day-label,
body.issue-sections-layout[data-issue-city="houston"] .weather-attribution,
body.issue-sections-layout[data-issue-city="houston"] .weather-aqi-forecast,
body.issue-sections-layout[data-issue-city="houston"] .weather-empty {
  color: var(--ink);
  opacity: 1;
}
body.issue-sections-layout[data-issue-city="houston"] .text-button { opacity: 1; }

/* Houston Issue 02 v2.6.2: the read-more drop-downs, quotes and subheads join the one-reader-text-color set so every piece of reader text inside the elections drop-downs is var(--ink) at full opacity. Quotes had no left margin; they take the candidate-plans one. */
body.issue-sections-layout[data-issue-city="houston"] details.read-more,
body.issue-sections-layout[data-issue-city="houston"] blockquote.item-quote,
body.issue-sections-layout[data-issue-city="houston"] h4.item-subhead {
  color: var(--ink);
  opacity: 1;
}
body.issue-sections-layout[data-issue-city="houston"] blockquote.item-quote {
  margin-left: 18px;
}

/* Houston Issue 02 v2.7 (Ian 2026-10-27, dev-only draft): the elections
   structure — Part labels, the two heading levels, the On this page nav —
   and X14's responsive Inprint photos. Same scoping as v2.5/v2.6.2 above:
   Issue 02 is the only sections-rendered Houston issue (Issue 01 keeps the
   legacy layout), so no other city or issue changes. */

/* Anchor landings: no position:sticky header exists; the reserved page
   furniture is the 52px night-toggle lane, so el- ids land 52 + 12 = 64px
   down, matching the measured header lane plus Ian's 12px. */
body.issue-sections-layout[data-issue-city="houston"] [id^="el-"] {
  scroll-margin-top: 64px;
}

/* Three-level elections hierarchy: the Part label largest, then the level
   1 h4, then the level 2 h5. All reader text var(--ink) at full opacity. */
body.issue-sections-layout[data-issue-city="houston"] .el-part {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  opacity: 1;
  margin: 0 0 6px;
}
body.issue-sections-layout[data-issue-city="houston"] h4.item-subhead.el-h1 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  opacity: 1;
}
body.issue-sections-layout[data-issue-city="houston"] h5.item-subhead.el-h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  opacity: 1;
  margin: 20px 0 6px;
}

/* On this page: a compact nested list, readable at 390px, with 44px tap
   targets. */
body.issue-sections-layout[data-issue-city="houston"] .el-nav {
  margin: 0 0 24px;
  padding: 12px 16px;
  border: 1px solid var(--dune);
  border-radius: 8px;
}
body.issue-sections-layout[data-issue-city="houston"] .el-nav-title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 1;
  margin: 0 0 4px;
}
body.issue-sections-layout[data-issue-city="houston"] .el-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.issue-sections-layout[data-issue-city="houston"] .el-nav ul ul {
  padding-left: 18px;
}
body.issue-sections-layout[data-issue-city="houston"] .el-nav li {
  margin: 0;
}
body.issue-sections-layout[data-issue-city="houston"] .el-nav a {
  display: block;
  min-height: 44px;
  padding: 10px 0;
  line-height: 24px;
  color: var(--ink);
}
body.issue-sections-layout[data-issue-city="houston"] .el-nav ul ul a {
  font-size: 15px;
}
body.issue-sections-layout[data-issue-city="houston"] .el-nav ul ul ul a {
  font-size: 14px;
}

/* X14 Inprint photos: natural width, capped at the column, never upscaled
   (supersedes v2.4's fixed 400px cap). */
body.issue-sections-layout[data-issue-city="houston"] #x14 .article-figure img {
  width: auto;
  max-width: 100%;
  height: auto;
}

/* Houston Issue 02 v2.7c (Ian 2026-10-27, dev-only draft): Elections hierarchy bump. Ranking: article title 27px > Part label > level-1 heading > place heading > body 17-18px. Scoped to Issue 02 through the sections layout hook; every reader-text color stays var(--ink) at full opacity. */
body.issue-sections-layout[data-issue-city="houston"] .el-part {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  font-variant-caps: small-caps;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--ink);
  opacity: 1;
  margin: 44px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}
body.issue-sections-layout[data-issue-city="houston"] h4.item-subhead.el-h1 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  opacity: 1;
}
body.issue-sections-layout[data-issue-city="houston"] h5.item-subhead.el-h2 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  opacity: 1;
  margin: 28px 0 8px;
}
@media (max-width: 600px) {
  body.issue-sections-layout[data-issue-city="houston"] .el-part {
    font-size: 23px;
    margin: 36px 0 12px;
    padding-top: 16px;
  }
  body.issue-sections-layout[data-issue-city="houston"] h4.item-subhead.el-h1 {
    font-size: 21px;
  }
  body.issue-sections-layout[data-issue-city="houston"] h5.item-subhead.el-h2 {
    font-size: 19px;
    margin: 24px 0 6px;
  }
}

/* Section hubs (CHANGE U3/U4, Ian 2026-10-28): hub pages wear
   body.issue-layout.hub-layout (plus issue-sections-layout on sections
   cities), so the teal serif section heading, the opener hairline, the
   calendar and the signup box come from the rules above. Only hub-specific
   deltas live here; this block sits at the end of the file so equal-
   specificity city overrides above (Houston) resolve to these values on
   hub pages only. Night mode flips everything through the shared custom
   properties. */

/* The quiet source line takes the masthead dateline's type (small sans,
   uppercase, wide tracking) in full-contrast ink; the source text keeps
   its sentence case, the caps are text-transform only. */
body.hub-layout .hub-source {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 28px;
}

/* "Dates to confirm": the issue's subsection headings (serif, ink). */
body.hub-layout .hub-subheading {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
}

/* Item rows (explore, city-hall, elections): the same 1px dune hairline
   and 48px rhythm as between items in the issue's sections. The headline
   is a serif link in normal ink, underlined only on hover or focus, with
   padding that keeps the tap target at least 44px tall. The dek keeps the
   issue's italic serif but in full-contrast ink. */
body.hub-layout .hub-list > li {
  margin-bottom: 0;
}
body.hub-layout .hub-list > li + li {
  border-top: 1px solid var(--dune);
  padding-top: 48px;
  margin-top: 48px;
}
body.hub-layout .hub-list > li > a.article-title {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 0;
  margin-bottom: 0;
}
body.hub-layout .hub-list > li > a.article-title:hover,
body.hub-layout .hub-list > li > a.article-title:focus-visible {
  text-decoration: underline;
}
body.hub-layout .hub-list > li > p.item-dek {
  color: var(--ink);
  margin: 0;
}

/* The "Dates to confirm" rows take the calendar rows' tighter hairline
   rhythm (14px padding, 1px dune) rather than the article spacing. */
body.hub-layout .hub-list--dates > li {
  padding: 14px 0;
}
body.hub-layout .hub-list--dates > li + li {
  padding-top: 14px;
  margin-top: 0;
}

/* The hub calendar's details text (the event dek and the Open event page
   link) reads in full-contrast ink. */
body.hub-layout .calendar-details p {
  color: var(--ink);
}

/* The archive rows mirror the city menu's Read Magazine panel entries
   (city-menu.css values, repeated here because hub pages do not load the
   menu stylesheet): the issue label link in the panel row style with the
   publish date under it in the panel's date style, a dune hairline per
   row, newest first. */
body.hub-layout .hub-issues ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
body.hub-layout .hub-issues li {
  margin-bottom: 12px;
}
body.hub-layout .hub-issues li:last-child {
  margin-bottom: 0;
}
body.hub-layout .hub-issues a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-wrap: anywhere;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  border-bottom: 1px solid var(--dune);
  padding-bottom: 8px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
body.hub-layout .hub-issues a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
body.hub-layout .hub-issues a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
body.hub-layout .hub-issues a time {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
}

/* Hub events calendar date column (Ian 2026-10-28): hub pages reused the
   issue list's fixed 60px/54px date track under the row's overflow-wrap:
   anywhere, so letter-spaced caps broke mid-word (NIGHTLY came out
   "NIGHTL Y"). Hub layout only: never break inside a word, and size the
   date track to the widest word in the date font — NIGHTLY measures
   61.6px at the 14px desktop size and 57.2px at the 13px phone size, so
   70px/64px tracks hold it on one line with headroom for font metric
   variance. Longer labels such as "Oct 22 to Oct 30 nightly" wrap only
   between words, and the title column's 1fr track absorbs the wider date
   track. The regular issue event list keeps its own rules untouched. */
body.hub-layout .calendar-brief-date {
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}
body.hub-layout .calendar-summary {
  grid-template-columns: 70px minmax(0, 1fr) auto;
}
@media (max-width: 600px) {
  body.hub-layout .calendar-summary {
    grid-template-columns: 64px minmax(0, 1fr) auto;
  }
}
