:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #22211d;
  --muted: #66645d;
  --line: #ded9cf;
  --accent: #177f75;
  --accent-dark: #0f5d56;
  --gold: #b56b1f;
  --rose: #8b3a4a;
  --shadow: 0 18px 40px rgb(45 38 28 / 10%);
  --max: 1120px;
}

/* Reader utilities use the newspaper's type, colors, and responsive shell. */
[hidden] { display: none !important; }
.reader-utilities { max-width: var(--max); margin: 0 auto; padding: 12px 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .95rem; }
.reader-clock { display: flex; flex-wrap: wrap; gap: 6px 14px; font-variant-numeric: tabular-nums; }
.reader-clock-label { font-weight: 750; color: var(--rose); }
.connection-button, .weather-cycle-controls button, .connection-dialog-heading button { font: inherit; background: var(--surface); color: var(--ink); padding: 9px 12px; min-height: 44px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.connection-button { flex-shrink: 0; }
.reader-utilities :focus-visible, .weather-card :focus-visible, .weather-page :focus-visible, #connection-dialog :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.weather-card { align-self: center; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 26px; box-shadow: var(--shadow); min-width: 0; }
.weather-card h2 { font-size: 1.6rem; margin: 0 0 16px; }
.weather-card h3 { font: 750 1.25rem/1.3 Inter, system-ui, sans-serif; margin: 0 0 10px; }
.weather-card-summary { font-size: 1.45rem; line-height: 1.4; min-height: 4.2rem; margin: 12px 0; }
.weather-source { color: var(--muted); font-size: .9rem; line-height: 1.6; overflow-wrap: anywhere; }
.weather-location-form label { display: block; font-size: .95rem; font-weight: 700; margin: 16px 0 8px; }
.weather-location-form select { width: 100%; font: inherit; color: var(--ink); background-color: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 12px 38px 12px 12px; min-height: 48px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2322211d' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.weather-location-form .button { margin-top: 12px; font: 700 1rem/1.2 Inter, system-ui, sans-serif; cursor: pointer; }
.weather-card .weather-location-form .button { width: 100%; }
.weather-cycle-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.weather-cycle-controls button { flex: 1; font-size: .9rem; }
.weather-cycle-controls button[aria-pressed="true"] { border-color: var(--rose); color: var(--rose); }
.weather-page { max-width: var(--max); padding: 40px 24px 64px; margin: auto; }
.weather-page-heading h1 { font-size: clamp(2.3rem, 5vw, 4.3rem); line-height: 1.1; margin: 8px 0 18px; }
.weather-page > section { margin-top: 36px; }
.weather-page h2 { font-size: 1.9rem; }
.weather-page .weather-location-form { max-width: 640px; }
.weather-page .weather-location-form > div { display: flex; align-items: stretch; gap: 12px; }
.weather-page .weather-location-form .button { margin-top: 0; flex-shrink: 0; }
.weather-current { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.weather-temperature { font: 750 4rem/1.2 Inter, system-ui, sans-serif; margin: 8px 0; }
.weather-temperature span { font-size: 2rem; }
.weather-notice, .weather-alert { padding: 20px; border: 1px solid var(--rose); border-left: 5px solid var(--rose); background: var(--surface); margin: 16px 0; border-radius: 6px; }
.weather-alert h3 { font-size: 1.4rem; margin-top: 0; }
.preparation-list { padding-left: 24px; }
.preparation-list h3 { font-size: 1.25rem; margin-bottom: 4px; }
.preparation-list p { margin-top: 4px; }
.forecast-table-wrap { overflow-x: auto; max-width: 100%; }
.forecast-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--surface); }
.forecast-table th, .forecast-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 95px; }
.forecast-table caption { text-align: left; padding: 0 0 12px; color: var(--muted); }
.forecast-table tbody th { min-width: 170px; font-weight: 600; }
.forecast-days { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.forecast-day { border: 1px solid var(--line); border-radius: 8px; padding: 20px; background: var(--surface); }
.forecast-day h3 { margin-top: 0; }
.forecast-day-temperature { font-size: 1.8rem; font-weight: 750; margin: 8px 0; }
.weather-provenance { border-top: 1px solid var(--line); padding-top: 20px; }
#connection-dialog { max-width: min(650px, calc(100vw - 32px)); max-height: 85vh; border: 1px solid var(--line); border-radius: 10px; padding: 26px; background: var(--surface); color: var(--ink); }
#connection-dialog::backdrop { background: rgb(0 0 0 / 45%); }
.connection-dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.connection-dialog-heading h2 { margin-top: 0; font-size: 1.8rem; }
#connection-details { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.5fr); gap: 12px 20px; }
#connection-details dt { font-weight: 700; }
#connection-details dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .reader-utilities { align-items: flex-start; padding: 12px 18px; }
  .reader-clock { font-size: .875rem; }
  .weather-card { padding: 22px; }
  .weather-page { padding: 28px 18px 48px; }
  .weather-page .weather-location-form > div { flex-direction: column; }
  .forecast-days { grid-template-columns: 1fr; }
  #connection-details { grid-template-columns: 1fr; gap: 4px; }
  #connection-details dd { margin-bottom: 12px; }
}

.submission-shell { max-width: 800px; margin: 0 auto 64px; padding: 24px; }
.submission-form label, .submission-shell form > label { display: block; font-weight: 650; margin: 20px 0 8px; }
.submission-form input:not([type="checkbox"]), .submission-form textarea, .submission-form select, .submission-shell form > select { width: 100%; min-height: 48px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; }
.submission-form textarea { resize: vertical; }
.submission-form input[type="file"] { overflow-wrap: anywhere; }
.submission-form fieldset { margin: 28px 0; padding: 16px; border: 1px solid var(--line); border-radius: 6px; min-width: 0; }
.submission-form legend { font-weight: 750; padding: 0 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row > div { min-width: 0; }
.submission-form .check-label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.check-label input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 4px; }
.field-help { font-size: 0.95rem; color: var(--muted); }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submission-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.submission-shell dd { margin: 0 0 16px; overflow-wrap: anywhere; }
.submission-shell dt { font-weight: 700; }
.submission-shell .button { margin-top: 16px; }
.submission-shell button:disabled { opacity: 0.65; cursor: wait; }
.submission-shell :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

img,
svg {
  height: auto;
  max-width: 100%;
}

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.site-header,
.site-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 14px 24px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.9rem;
  height: 32px;
  justify-content: center;
  overflow: hidden;
  width: 32px;
}

.brand-mark img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.story-card a:hover {
  color: var(--accent-dark);
}

.hero {
  background:
    linear-gradient(90deg, rgb(251 250 247 / 96%) 0%, rgb(251 250 247 / 84%) 34%, rgb(251 250 247 / 22%) 68%, rgb(251 250 247 / 8%) 100%),
    url("/assets/images/cover_photo.png") center right / cover no-repeat;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  margin: 0 auto;
  max-width: none;
  padding: 72px max(24px, calc((100vw - var(--max)) / 2 + 24px)) 56px;
}

.page-hero {
  margin: 24px auto 0;
  max-width: var(--max);
  padding: 72px 24px 56px;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.split-section h2,
.story-article h1 {
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
}

.hero-copy h1 {
  font-size: clamp(2.65rem, 6vw, 5.7rem);
  max-width: 980px;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  max-width: 980px;
}

.hero-copy p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 760px;
}

.eyebrow,
.card-status {
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  min-height: 46px;
  padding: 10px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
}

.button.secondary {
  background: transparent;
}

.principles {
  align-self: end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
}

.principles div,
.info-panel {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 4px;
  padding: 22px;
}

.principles div:last-child,
.info-panel:last-child {
  border-bottom: 0;
}

.principles span,
.info-panel span,
.wide-copy,
.copy-block {
  color: var(--muted);
}

.section,
.split-section,
.story-shell {
  margin: 0 auto;
  max-width: var(--max);
  padding: 64px 24px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2,
.split-section h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  max-width: 820px;
}

.search-section {
  border-bottom: 1px solid var(--line);
}

.search-hero {
  padding-bottom: 34px;
}

.search-form {
  align-items: center;
  display: flex;
  gap: 12px;
  max-width: 760px;
}

.search-form .button {
  flex: 0 0 auto;
}

.search-form input {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  flex: 1 1 auto;
  font: inherit;
  min-height: 46px;
  min-width: 0;
  padding: 10px 14px;
}

.search-form input:focus {
  border-color: var(--accent);
  outline: 3px solid rgb(23 127 117 / 18%);
}

.search-results-section {
  padding-top: 28px;
}

.not-found-hero {
  min-height: calc(100vh - 160px);
}

.not-found-actions {
  margin-top: 30px;
}

.search-results-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.search-state-card {
  max-width: 520px;
}

.stories-section {
  max-width: var(--max);
}

.story-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.values-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.values-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.values-grid h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  margin: 0 0 10px;
}

.values-grid p {
  color: var(--muted);
  margin: 0;
}

.story-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.story-card h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0;
}

.story-card a {
  text-decoration: none;
}

.story-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.story-card .card-date {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  margin: -6px 0 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-row span {
  background: #eef5f3;
  border: 1px solid #c9dfda;
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
}

.split-section {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.copy-block {
  font-size: 1.08rem;
}

.quiet {
  padding-bottom: 88px;
}

.wide-copy {
  font-size: 1.15rem;
  max-width: 760px;
}

.story-shell {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) 300px;
}

.story-article {
  max-width: 760px;
  min-width: 0;
}

.story-hero-panel {
  align-items: flex-end;
  aspect-ratio: 16 / 9;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  margin: 0 0 40px;
  min-height: 430px;
  overflow: hidden;
  padding: clamp(24px, 5vw, 42px);
  position: relative;
}

.story-hero-panel::before {
  background:
    linear-gradient(90deg, rgb(251 250 247 / 86%) 0%, rgb(251 250 247 / 70%) 42%, rgb(251 250 247 / 18%) 68%, rgb(251 250 247 / 0%) 100%),
    linear-gradient(0deg, rgb(251 250 247 / 52%) 0%, rgb(251 250 247 / 0%) 46%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.story-hero-copy {
  max-width: 500px;
  position: relative;
  z-index: 1;
}

.story-hero-copy .eyebrow {
  margin-bottom: 12px;
}

.story-hero-copy .story-subtitle {
  color: #413d36;
  font-weight: 700;
  line-height: 1.45;
  margin: 16px 0 0;
  max-width: 470px;
}

.story-article h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.story-subtitle {
  color: var(--muted);
  font-size: 1.25rem;
  margin: 18px 0 40px;
  overflow-wrap: anywhere;
}

.story-body {
  font-size: 1.08rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.story-body h1 {
  display: none;
}

.story-body h2 {
  font-size: 1.65rem;
  line-height: 1.2;
  margin: 40px 0 10px;
}

.story-body h3 {
  font-size: 1.25rem;
  margin: 28px 0 8px;
}

.story-body p,
.story-body li {
  color: #3e3c36;
}

.story-body ul,
.story-body ol {
  padding-left: 1.35rem;
}

.story-body code {
  background: #efebe2;
  border-radius: 5px;
  padding: 2px 5px;
}

.story-body .mermaid {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 28px 0;
  overflow-x: auto;
  padding: 18px;
}

.story-body .mermaid-failed {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  white-space: pre-wrap;
}

.story-sidebar {
  display: grid;
  gap: 16px;
  min-width: 0;
  position: sticky;
  top: 18px;
}

.info-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-width: 0;
  overflow-wrap: anywhere;
}

.info-panel strong {
  font-size: 1.25rem;
}

.story-dialog {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: min(560px, calc(100vw - 32px));
  padding: 0;
}

.story-dialog::backdrop {
  background: rgba(33, 31, 28, 0.44);
}

.story-dialog__form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.story-dialog__form h2,
.story-dialog__form p {
  margin: 0;
}

.story-dialog__form label {
  color: var(--muted);
  display: grid;
  font-weight: 700;
  gap: 6px;
}

.story-dialog__form input,
.story-dialog__form textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  padding: 10px 12px;
}

.story-dialog__form menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

.story-dialog__form menu button,
.story-dialog__close {
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 42px;
  padding: 9px 14px;
}

.story-dialog__close {
  background: transparent;
  border: 0;
  justify-self: end;
  min-height: 0;
  padding: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .hero-actions,
  .search-form {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-form input,
  .search-form button {
    width: 100%;
  }

  .hero,
  .split-section,
  .story-shell {
    grid-template-columns: 1fr;
  }

  .section,
  .split-section,
  .story-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    background:
      linear-gradient(90deg, rgb(251 250 247 / 92%) 0%, rgb(251 250 247 / 74%) 100%),
      url("/assets/images/cover_photo.png") center right / cover no-repeat;
    padding-bottom: 42px;
    padding-top: 42px;
  }

  .hero-copy p:not(.eyebrow) {
    color: #4b4943;
    font-weight: 600;
  }

  .story-sidebar {
    position: static;
  }

  .story-hero-panel {
    aspect-ratio: auto;
    background-position: center top;
    margin-bottom: 30px;
    min-height: min(360px, 86vw);
    padding: 20px;
  }

  .story-article h1 {
    font-size: 2.35rem;
  }

  .story-subtitle {
    font-size: 1.08rem;
    margin-bottom: 30px;
  }

  .story-body {
    font-size: 1rem;
  }

  .story-body h2 {
    font-size: 1.42rem;
  }
}

@media (max-width: 420px) {
  .site-header,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .story-article h1 {
    font-size: 2.05rem;
  }
}

/* San Fernando Times masthead: typography rather than an unrelated photograph. */
.brand { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.15; }
.site-header { gap: 24px; padding-top: 26px; padding-bottom: 26px; border-top: 6px solid var(--ink); }
.masthead-tagline { color: var(--muted); font-size: .88rem; margin: 8px 0 0; }
.hero { background: #eee9de; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }
@media (max-width: 760px) { .hero { background: #eee9de; } .site-nav { justify-content: flex-start; gap: 14px; } }

/* Original Pang Local illustration retained on the newspaper's own domain. */
.hero {
  background: linear-gradient(90deg, rgb(251 250 247 / 97%) 0%, rgb(251 250 247 / 90%) 40%, rgb(251 250 247 / 35%) 100%), url("/assets/images/cover_photo.png") center right / cover no-repeat;
}
@media (max-width: 760px) {
  .hero { background: linear-gradient(90deg, rgb(251 250 247 / 96%) 0%, rgb(251 250 247 / 85%) 100%), url("/assets/images/cover_photo.png") center right / cover no-repeat; }
}

/* Approved graphical weather: stable slots, original sky art, shared symbols. */
.hero:has(> .weather-card) { grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr); align-items: center; }
.weather-card { block-size: 37.5rem; min-block-size: 37.5rem; max-block-size: 37.5rem; padding: 0; display: grid; grid-template-rows: 5.5rem 16.25rem minmax(0,1fr); overflow: hidden; border-radius: 16px; align-self: center; }
.weather-card-header { padding: .8rem 1rem .5rem; min-width: 0; }
.weather-card-header .eyebrow { font-size: .875rem; line-height: 1.2; margin: 0 0 .35rem; }
.weather-card-header select { display: block; width: 100%; min-width: 0; min-height: 2.75rem; padding: .25rem 2.1rem .25rem .6rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2322211d' stroke-width='2'/%3E%3C/svg%3E") right .6rem center / 16px no-repeat; color: var(--ink); font: 700 1.2rem/1.25 Georgia,serif; appearance: none; text-overflow: ellipsis; }
.weather-scene { position: relative; isolation: isolate; overflow: hidden; color: white; background: #3a5e82; }
.sky-art { position: absolute; z-index: -2; top: 50%; left: 50%; width: max(100%, 26.25rem); aspect-ratio: 1; transform: translate(-50%,-50%); background-image: url('/weather-art/sky-atlas-v1.png'); background-size: 400% 200%; background-position: 0 0; pointer-events: none; }
[data-scene="day"] > .sky-art { background-position: 0 0; }
[data-scene="night"] > .sky-art { background-position: 33.333333% 0; }
[data-scene="partly-day"] > .sky-art { background-position: 66.666667% 0; }
[data-scene="partly-night"] > .sky-art { background-position: 100% 0; }
[data-scene="cloudy"] > .sky-art { background-position: 0 100%; }
[data-scene="rain"] > .sky-art { background-position: 33.333333% 100%; }
[data-scene="storm"] > .sky-art { background-position: 66.666667% 100%; }
[data-scene="fog"] > .sky-art { background-position: 100% 100%; }
[data-scene="unknown"] > .sky-art { background-image: none; background: linear-gradient(145deg,#536678,#344959); }
.sky-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,rgb(6 20 39 / 10%),rgb(6 20 39 / 38%)); pointer-events: none; }
.weather-scene-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; padding: .75rem; text-decoration: none; text-align: center; text-shadow: 0 2px 8px rgb(0 0 0 / 40%); }
.weather-scene-link:hover { color: white; }
.weather-glyph { display: block; inline-size: 3.25rem; block-size: 3.4rem; flex-shrink: 0; filter: drop-shadow(0 3px 4px rgb(0 0 0 / 18%)); }
.weather-card-icon { block-size: 5.25rem; }
.weather-card-icon .weather-glyph { inline-size: 5rem; block-size: 5.25rem; }
.weather-card-temperature { display: block; font: 700 4.3rem/1.05 Georgia,serif; font-variant-numeric: tabular-nums; }
.weather-card-temperature > span { font-size: 2.2rem; }
.weather-card-summary { font: 650 1.25rem/1.35 Inter,system-ui,sans-serif; min-height: 0; block-size: 1.75rem; margin: 0; max-width: 100%; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.weather-card-range { font-size: .95rem; line-height: 1.4; block-size: 1.4rem; white-space: nowrap; }
.weather-card-footer { padding: .8rem 1rem; display: grid; grid-template-rows: 2.6rem 2.6rem 2.75rem 3rem; gap: .5rem; align-content: center; min-width: 0; }
.weather-card-footer .weather-source { margin: 0; font-size: .875rem; line-height: 1.35; white-space: pre-line; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.weather-card-alert-link { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.6rem; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.3; text-decoration: none; color: var(--rose); }
.weather-card-alert-link > span:first-child { font-size: 1.3rem; flex-shrink: 0; }
.weather-card-alert-link > span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.weather-card-alert-link[data-active="true"] { font-weight: 800; background: #f7e7e9; border-radius: 6px; }
.weather-card-footer form { margin: 0; }
.weather-card-footer .button { width: 100%; height: 2.75rem; min-height: 2.75rem; padding: .5rem .35rem; margin: 0; background: #841d34; border-color: #841d34; font: 700 1rem/1.2 Georgia,serif; cursor: pointer; white-space: nowrap; }
.weather-card .weather-cycle-controls { margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 1.25rem; }
.weather-card .weather-cycle-controls button { flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; min-height: 2.75rem; padding: .55rem; border-radius: 50%; border: 1px solid #b8b8b5; background: white; color: #292724; display: grid; place-items: center; }
.weather-cycle-controls button svg { width: 1.5rem; height: 1.5rem; }
.weather-card .weather-cycle-controls button[aria-pressed="true"] { color: #841d34; border-color: #841d34; background: #fceef1; }
.graphical-weather-page { padding-top: 1.75rem; }
.graphical-weather-page .weather-page-heading { padding-bottom: 1rem; }
.weather-page-intro { font: 600 1.5rem/1.2 Georgia,serif; margin: .5rem 0; }
.graphical-weather-page .weather-location-form { margin-top: .75rem; }
.graphical-weather-page .weather-location-form label { margin-top: .5rem; }
#forecast-refresh-status { margin-bottom: 0; }
.forecast-dashboard { padding: 1rem; border-radius: 18px; background: linear-gradient(145deg,#35678f,#34506d); color: #fff; min-width: 0; overflow: clip; }
.forecast-dashboard[data-scene="night"], .forecast-dashboard[data-scene="partly-night"], .forecast-dashboard[data-scene="storm"] { background: linear-gradient(145deg,#1d355b,#223e61); }
.forecast-dashboard[data-scene="unknown"] { background: linear-gradient(145deg,#4f6273,#344959); }
.forecast-current { block-size: 22rem; padding: 1.5rem; border-radius: 12px; }
.forecast-current-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.forecast-current h1 { font: 600 clamp(1.8rem,4vw,3rem)/1.12 Georgia,serif; letter-spacing: 0; margin: 0; text-shadow: 0 2px 10px rgb(0 0 0 / 35%); }
.forecast-current-main { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.forecast-big-temperature { font: 600 5rem/1.05 Georgia,serif; margin: .35rem 0; font-variant-numeric: tabular-nums; }
.forecast-big-temperature > span { font-size: 2.5rem; }
.forecast-hero-icon { inline-size: 7rem; block-size: 7.35rem; }
.forecast-condition { font-size: 1.45rem; font-weight: 650; line-height: 1.25; margin: .25rem 0; }
.forecast-high-low { margin: .3rem 0; font-size: 1rem; }
.forecast-current-source { font-size: .875rem; line-height: 1.4; margin: .7rem 0 0; text-shadow: 0 1px 4px #172c45; }
.forecast-panel { margin-top: 1rem; padding: 1.2rem; border: 1px solid rgb(255 255 255 / 28%); border-radius: 12px; background: rgb(255 255 255 / 9%); }
.forecast-dashboard h2 { font-size: 1.6rem; line-height: 1.2; margin: 0 0 .6rem; }
.forecast-panel-caption { font-size: .875rem; line-height: 1.5; color: #e0edf8; margin: .4rem 0 .8rem; }
.forecast-hours { position: relative; list-style: none; display: flex; gap: .25rem; overflow-x: auto; overscroll-behavior-inline: contain; margin: 0; padding: .25rem 0 .8rem; scrollbar-color: #a7c6df transparent; }
.forecast-hour { display: flex; align-items: center; flex-direction: column; gap: .45rem; flex: 0 0 5.5rem; padding: .5rem .65rem; border-right: 1px solid rgb(255 255 255 / 15%); text-align: center; }
.forecast-hour time { font-weight: 700; white-space: nowrap; }
.forecast-hour-temperature { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.forecast-hour-rain { font-size: .875rem; color: #b9e8ff; }
.forecast-day-rows { list-style: none; margin: 0; padding: 0; }
.forecast-day-row { display: grid; grid-template-columns: 6rem 4rem 3rem minmax(0,1fr) 3rem; gap: .8rem; align-items: center; min-height: 4.5rem; padding: .5rem 0; border-top: 1px solid rgb(255 255 255 / 22%); }
.forecast-day-label { display: grid; gap: .15rem; }
.forecast-day-label time { font-size: .875rem; color: #d7e6f2; }
.forecast-day-symbol { display: grid; justify-items: center; }
.forecast-day-symbol .weather-glyph { inline-size: 2.5rem; block-size: 2.65rem; }
.forecast-day-symbol > span:not(.sr-only) { color: #b9e8ff; font-size: .875rem; line-height: 1; }
.forecast-low, .forecast-high { font-size: 1.4rem; font-weight: 650; text-align: center; font-variant-numeric: tabular-nums; }
.forecast-low { color: #cbdff2; }
.forecast-range-track { position: relative; height: .55rem; border-radius: 999px; background: rgb(190 218 240 / 20%); overflow: hidden; }
.forecast-range-fill { position: absolute; top: 0; height: 100%; border-radius: 999px; background: linear-gradient(90deg,#88c9e5,#f8d685 55%,#f5aa68); min-width: 2%; }
.forecast-range-fill.is-partial { background: #cce7f5; }
.forecast-preparation { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.forecast-preparation-item { display: flex; align-items: flex-start; gap: .85rem; padding: .8rem; border-radius: 8px; background: rgb(255 255 255 / 6%); }
.forecast-preparation-item h3 { font-size: 1.2rem; line-height: 1.2; margin: 0 0 .5rem; }
.forecast-preparation-item p { font-size: .95rem; line-height: 1.55; margin: 0; }
.forecast-preparation-item a { color: #e4f3ff; text-underline-offset: 3px; }
.forecast-alerts { margin: 1rem 0 0; padding: 1rem 1.2rem; border-radius: 10px; background: #f7edf0; color: #58192b; border: 1px solid #d6a8b5; }
.forecast-alerts h2 { font-size: 1.35rem; }
.forecast-alerts p { font-size: .95rem; line-height: 1.5; margin: .4rem 0; }
.forecast-alerts .weather-alert { color: var(--ink); background: white; }
.forecast-alerts summary { font-weight: 700; cursor: pointer; }
.forecast-details summary { cursor: pointer; font-weight: 700; font-size: 1rem; min-height: 1.5rem; }
.forecast-details .forecast-table { color: var(--ink); margin-top: 1rem; }
.forecast-details article { padding: .75rem 0; border-top: 1px solid rgb(255 255 255 / 20%); }
.forecast-update-time { font-size: .875rem; color: #e1eef8; padding: .75rem .25rem 0; margin-bottom: 0; }
.forecast-stale { background: #fff4db; color: #633b07; padding: .85rem 1rem; border-radius: 8px; }
.weather-unavailable a { color: #e5f4ff; }
@media (max-width: 760px) {
  .hero:has(> .weather-card) { grid-template-columns: 1fr; }
  .weather-card { width: 100%; max-width: 28rem; justify-self: center; }
  .forecast-preparation { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .graphical-weather-page { padding: 1rem .65rem 3rem; }
  .graphical-weather-page .weather-page-heading { padding: 0 .5rem 1rem; }
  .forecast-dashboard { padding: .5rem; border-radius: 12px; }
  .forecast-current { padding: 1.1rem; block-size: 23rem; }
  .forecast-hero-icon { inline-size: 5.25rem; block-size: 5.5rem; }
  .forecast-big-temperature { font-size: 4.25rem; }
  .forecast-panel { padding: .85rem; }
  .forecast-day-row { grid-template-columns: 3.75rem 2.3rem 2.3rem minmax(0,1fr) 2.3rem; gap: .35rem; }
  .forecast-low, .forecast-high { font-size: 1.15rem; }
  .forecast-alerts { padding: .85rem; }
}

/* Location feedback occupies a reserved slot; the weather card stays 37.5rem. */
.weather-card { grid-template-rows: 5.5rem 14rem minmax(0,1fr); }
.weather-card-footer { grid-template-rows: 2.6rem 2.6rem 2.75rem 3rem 2.25rem; }
.weather-location-status { margin: 0; font-size: .875rem; line-height: 1.25; text-align: center; overflow: auto; }
.weather-cycle-controls button:disabled { opacity: .55; cursor: wait; }
#forecast-locate { margin-top: .75rem; cursor: pointer; }
#forecast-location-status { font-size: .875rem; min-height: 2.5em; }
.weather-card-icon { block-size: 4rem; flex-shrink: 0; }
.weather-card-icon .weather-glyph { inline-size: 4rem; block-size: 4rem; }
.weather-card-temperature { font-size: 3.8rem; flex-shrink: 0; }
.weather-card-summary, .weather-card-range { flex-shrink: 0; }
#weather-locate[hidden], #forecast-locate[hidden] { display: none; }

/* News-led front page. Only reviewed public archive stories are featured. */
.news-home { max-width: 1320px; margin: auto; padding: 1.5rem clamp(1rem,4vw,3rem) 4rem; }
.news-edition,.news-section-heading { display:flex; justify-content:space-between; gap:1rem; align-items:baseline; border-bottom:1px solid var(--line); padding-bottom:.75rem; }
.news-edition { margin-bottom:1.5rem; border-bottom:3px double var(--ink); }
.news-edition p { margin:0; }
.news-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:2rem; align-items:start; }
.news-main { min-width:0; }
.news-home { max-width:1500px; }
.news-layout { grid-template-columns:210px minmax(0,1fr) 300px; gap:1.5rem; }
.explore-more { background:white; border:1px solid var(--line); border-radius:16px; padding:1.25rem; }
.explore-more h2 { font:700 1.4rem/1.2 Georgia,serif; margin:0; }
.explore-caption { color:var(--muted); font-size:.875rem; margin:.5rem 0 1rem; }
.explore-more a { display:flex; align-items:center; gap:.7rem; padding:.8rem 0; color:var(--ink); text-decoration:none; font-size:1rem; font-weight:600; }
.explore-more a:hover { color:var(--rose); text-decoration:underline; }
.explore-more a span { width:1.5rem; text-align:center; flex-shrink:0; }
.people-stories { list-style:none; padding:0; }
.people-stories li { padding:.85rem 0; border-bottom:1px solid var(--line); }
.people-stories a { display:block; font:700 1.2rem/1.4 Georgia,serif; }
.people-stories span { display:block; color:var(--muted); font-size:.875rem; margin-top:.3rem; }
@media(min-width:801px) and (max-width:1150px) { .news-layout { grid-template-columns:minmax(0,1fr) 300px; } .explore-more { grid-column:1 / -1; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0 1rem; } .explore-more h2,.explore-caption { grid-column:1 / -1; } }
@media(max-width:800px) { .explore-more { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 .75rem; } .explore-more h2,.explore-caption { grid-column:1 / -1; } }
.news-section-heading h1 { font:700 1.5rem/1.2 Georgia,serif; margin:0; }
.news-section-heading span,.news-credit { color:var(--muted); font-size:.875rem; }
.news-story { padding:1.5rem 0; border-bottom:1px solid var(--line); }
.news-story h2 { font:700 clamp(1.8rem,3vw,2.75rem)/1.13 Georgia,serif; margin:.5rem 0 .75rem; letter-spacing:-.025em; }
.news-story h2 a { text-decoration:none; }
.news-story h2 a:hover { text-decoration:underline; }
.news-lead h2 { font-size:clamp(2.5rem,4.5vw,4.5rem); max-width:16ch; }
.news-excerpt { font-size:1.15rem; max-width:55ch; margin:.5rem 0; }
.news-story-image { display:block; background:#eee; overflow:hidden; }
.news-story-image img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; }
.news-credit { margin:.75rem 0 0; }
.news-beat { margin-top:1.75rem; }
.news-section-heading h2 { font:700 1.5rem/1.2 Georgia,serif; margin:0; }
.news-desk-note { color:var(--muted); max-width:60ch; font-size:1rem; }
.news-compact { display:grid; grid-template-columns:200px minmax(0,1fr); gap:1.25rem; align-items:start; }
.news-compact > :only-child { grid-column:1 / -1; }
.news-compact > div { min-width:0; }
.news-compact .news-story-image img { width:200px; height:134px; aspect-ratio:3/2; object-position:right center; }
.news-compact h3 { font:700 1.65rem/1.15 Georgia,serif; margin:.4rem 0 .6rem; }
.news-compact h3 a { text-decoration:none; }
.news-compact h3 a:hover { text-decoration:underline; }
.news-compact .eyebrow { margin-top:0; font-size:.75rem; }
.news-compact .news-excerpt { font-size:1rem; }
@media(max-width:550px) { .news-compact { grid-template-columns:110px minmax(0,1fr); gap:.85rem; } .news-compact .news-story-image img { width:110px; height:85px; } .news-compact h3 { font-size:1.35rem; } .news-compact .news-credit { font-size:.8rem; } }
.news-rail { display:grid; gap:1.5rem; min-width:0; }
.news-rail .weather-card { width:100%; }
.news-local,.news-service { padding:1.5rem 0; }
.news-service { border-top:3px solid var(--ink); }
.news-service h2,.news-local h2 { font:700 1.6rem/1.2 Georgia,serif; margin:.5rem 0 1rem; }
.news-service > a { display:block; padding:.65rem 0; border-bottom:1px solid var(--line); }
.news-ad { border-top-color:var(--rose); }
.feature-story { width:100%; max-width:none; margin:0; padding:0; }
.church-story-hero { position:relative; isolation:isolate; min-height:580px; display:flex; align-items:center; padding:clamp(2rem,6vw,6rem); overflow:hidden; }
.church-story-hero > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; z-index:-2; }
.church-story-hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(251,250,247,.95),rgba(251,250,247,.80) 35%,rgba(251,250,247,.05) 80%); z-index:-1; }
.church-hero-copy { max-width:560px; }
.church-hero-copy h1 { font:700 clamp(3rem,6vw,5.7rem)/1.02 Georgia,serif; letter-spacing:-.04em; margin:.8rem 0 1.2rem; }
.church-hero-copy .story-subtitle { font-size:1.25rem; line-height:1.5; }
.feature-story-body { max-width:760px; margin:3rem auto 5rem; padding:0 1.25rem; }
@media(max-width:800px) { .news-layout { grid-template-columns:1fr; } .news-edition,.news-section-heading { flex-wrap:wrap; } .news-rail { max-width:100%; } .church-story-hero { min-height:620px; align-items:flex-end; padding:2rem 1.25rem; } .church-story-hero::before { background:linear-gradient(0deg,rgba(251,250,247,.98),rgba(251,250,247,.90) 50%,rgba(251,250,247,.1)); } }

/* Edge-to-edge newspaper masthead; topic navigation lives in Explore More. */
.site-header.newspaper-masthead { max-width:none; width:100%; margin:0; padding:1.75rem clamp(1rem,4vw,4rem); display:block; text-align:center; border-bottom:1px solid var(--line); }
.newspaper-masthead .brand { font-size:clamp(2rem,5.5vw,5rem); line-height:1.05; }
.newspaper-masthead .masthead-tagline { margin:.85rem 0 0; font-size:clamp(.875rem,1.3vw,1.1rem); }

/* Compact full-width masthead, clock strip, and homepage gutters. */
.site-header.newspaper-masthead { padding:.85rem clamp(1rem,2vw,2rem); }
.newspaper-masthead .masthead-tagline { margin:.35rem 0 0; }
.reader-utilities { max-width:none; width:100%; margin:0; padding:.25rem clamp(1rem,2vw,2rem); border-top:0; border-bottom:1px solid var(--line); gap:.75rem; min-height:52px; }
.reader-clock { gap:.25rem .65rem; line-height:1.3; }
.reader-utilities .connection-button { padding:7px 9px; }
.news-home { max-width:none; padding:.75rem clamp(1rem,2vw,2rem) 3rem; }
.news-edition { margin-bottom:1rem; padding-bottom:.5rem; }
@media(max-width:760px) { .reader-utilities { align-items:center; } }

/* Explore More uses full-row list targets and subtle background feedback. */
.explore-more .explore-list { list-style:none; margin:0; padding:0; }
.explore-list li { margin:0; padding:0; }
.explore-more a { padding:.75rem .6rem; border-radius:8px; color:var(--ink); text-decoration:none; transition:background-color 140ms ease; }
.explore-more a:hover,.explore-more a:focus-visible,.explore-more a:active { color:var(--ink); text-decoration:none; background-color:rgba(36,34,30,.08); }
.explore-more a:focus-visible { outline:2px solid var(--rose); outline-offset:2px; }
@media(min-width:801px) and (max-width:1150px) { .explore-more { display:block; } .explore-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.25rem .75rem; } }
@media(max-width:800px) { .explore-more { display:block; } .explore-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.25rem .5rem; } }
@media(prefers-reduced-motion:reduce) { .explore-more a { transition:none; } }

/* Reserve readable location guidance without a nested scrollbar. */
.weather-card { block-size:42rem; min-block-size:42rem; max-block-size:42rem; }
.weather-card-footer { grid-template-rows:2.6rem 2.6rem 2.75rem 3rem minmax(5.25rem,auto); }
.weather-location-status { font-size:.875rem; line-height:1.45; overflow:visible; white-space:normal; overflow-wrap:break-word; align-self:start; }

.business-directory { max-width:1400px; margin:auto; padding:1.5rem clamp(1rem,3vw,3rem) 4rem; }
.directory-heading h1 { font:700 clamp(2.5rem,5vw,4rem)/1.1 Georgia,serif; margin:.5rem 0; }
.directory-source { padding:1rem 1.25rem; background:white; border:1px solid var(--line); border-radius:12px; margin:1.5rem 0; font-size:.95rem; }
.directory-source p { margin:.6rem 0; }
.business-filters { display:flex; flex-wrap:wrap; gap:.8rem; align-items:end; padding:1rem; background:white; border:1px solid var(--line); border-radius:12px; }
.business-filters label { display:grid; gap:.4rem; flex:1 1 180px; font-weight:600; }
.business-filters input,.business-filters select { width:100%; min-height:44px; padding:.6rem; border:1px solid var(--line); border-radius:6px; font:inherit; background:white; color:var(--ink); }
.business-filters .button { margin:0; }
.business-category-links { display:flex; flex-wrap:wrap; gap:.5rem; margin:1.5rem 0; }
.business-category-links a { border:1px solid var(--line); border-radius:20px; padding:.45rem .75rem; font-size:.875rem; text-decoration:none; }
.business-category-links a:hover { background:#eeeae5; }
.business-category { border-top:2px solid var(--ink); padding:1rem 0 2rem; scroll-margin-top:1rem; }
.business-category h2 { font:700 1.8rem/1.2 Georgia,serif; }
.business-table-wrap { overflow-x:auto; }
.business-category table { width:100%; min-width:84rem; border-collapse:collapse; table-layout:fixed; }
.business-category caption { text-align:left; font-size:.875rem; color:var(--muted); padding:.4rem 0; }
.business-category th,.business-category td { text-align:left; padding:.8rem; border-bottom:1px solid var(--line); vertical-align:top; overflow-wrap:break-word; word-break:normal; }
.business-category td small { display:block; color:var(--muted); font-size:.875rem; line-height:1.4; margin-top:.35rem; }
.business-website { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; border:1px solid var(--line); border-radius:8px; }
.business-pagination { display:flex; gap:.5rem; margin-top:1rem; }.business-pagination button:disabled { opacity:.45; cursor:default; }
@media(max-width:600px){.business-category th,.business-category td{padding:.6rem .35rem;font-size:.9rem;}.business-category td small{font-size:.8rem;}}

.business-category-links [role="tab"] { font:inherit; font-size:.875rem; padding:.5rem .8rem; border:1px solid var(--line); border-radius:18px; background:white; cursor:pointer; color:var(--ink); }
.business-category-links [role="tab"]:hover { background:#eeeae5; }
.business-category-links [aria-selected="true"] { background:#841d34; color:white; border-color:#841d34; }
.business-category[hidden] { display:none; }
.directory-map { border:1px solid var(--line); border-radius:12px; padding:1rem; margin:1rem 0 1.5rem; background:white; }
.directory-map h2 { font:700 1.5rem/1.2 Georgia,serif; margin:.3rem 0; }
.directory-map p { font-size:.95rem; }
#business-map { height:330px; border-radius:8px; background:#e9e7e1; z-index:0; }
.business-category-links [role="tab"]:focus-visible { outline:3px solid var(--rose); outline-offset:2px; }
.map-scope { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; margin:1rem 0; font-weight:600; }.map-scope select { font:inherit; max-width:100%; padding:.6rem; border:1px solid var(--line); border-radius:6px; background:white; }
.business-focus { font:inherit; font-weight:700; background:none; color:var(--rose); border:0; padding:.2rem 0; text-align:left; cursor:pointer; }.business-focus:hover{text-decoration:underline;}.business-focus:focus-visible{outline:2px solid var(--rose);outline-offset:3px;}
.business-zoning-controls { margin:1rem 0; padding:.8rem; border:1px solid var(--line); border-radius:8px; }.business-zoning-controls label{display:flex;align-items:center;gap:.5rem;font-weight:600;}.business-zoning-controls input{width:20px;height:20px;}.business-zoning-controls p{margin:.5rem 0;font-size:.875rem;}.zoning-legend{display:flex;flex-wrap:wrap;gap:.8rem;}.zoning-legend span{display:inline-flex;align-items:center;gap:.3rem;}.zoning-legend i{width:14px;height:14px;border:1px solid #777;}

/* City film masthead: stable dimensions with a readable still and optional motion. */
.city-video-header{position:relative;isolation:isolate;overflow:hidden;min-height:250px;height:250px;display:grid;place-items:center;padding:26px 24px 48px;background:#244654 url('/story-art/san-fernando-city-poster.jpg') center 52%/cover;color:#fff}
.city-video-header:after{content:'';position:absolute;inset:0;background:rgba(8,29,39,.65);z-index:-1;pointer-events:none}
.city-video-header>div{position:relative;z-index:1}.city-video-header .brand,.city-video-header .masthead-tagline{color:#fff;text-shadow:0 2px 12px #0008}.city-video-header .brand{font-size:clamp(2.3rem,6vw,5.4rem)}
.city-video-header iframe{position:absolute;left:50%;top:50%;width:max(100%,444px);height:max(56.25vw,250px);transform:translate(-50%,-50%);border:0;z-index:-2;pointer-events:none}
.city-video-header [data-city-video]{position:absolute;right:24px;bottom:14px;min-width:44px;min-height:44px;border:1px solid #fff9;border-radius:50%;background:#163845;color:white;z-index:2}
.city-film-credit{position:absolute;left:24px;bottom:17px;font-size:.75rem;color:#fff;z-index:2}.analytics-choice{position:fixed;bottom:12px;left:12px;right:12px;z-index:10000;background:white;color:#24231f;border:1px solid #ccc;box-shadow:0 2px 18px #0002;border-radius:10px;padding:14px;display:flex;align-items:center;gap:12px;font-size:.875rem}.analytics-choice[hidden]{display:none}.analytics-choice span{flex:1}.analytics-choice button,.analytics-settings{font-size:.875rem;padding:10px;min-height:44px}.analytics-settings{background:transparent;border:1px solid #ccc;color:inherit;border-radius:6px}@media(max-width:600px){.city-video-header{height:230px;min-height:230px}.city-film-credit{max-width:70%;font-size:.7rem}.analytics-choice{flex-wrap:wrap}.analytics-choice span{flex-basis:100%}}
.city-video-header a[data-city-video]{display:grid;place-items:center;text-decoration:none;width:44px;height:44px}
/* One watercolor per visit; image changes never resize the masthead. */
.city-video-header{background-position:center 48%}
.city-video-header .city-film-credit{border:0;background:transparent;text-align:left;padding:0;min-height:24px;cursor:pointer;text-decoration:underline;max-width:75%;font-size:.75rem}
#city-film-dialog{width:min(1000px,94vw);max-height:92dvh;padding:18px;border:1px solid #d9d4cb;border-radius:14px;background:#faf9f6;color:#24231f;overflow:auto}
#city-film-dialog::backdrop{background:rgba(0,0,0,.76)}
.city-film-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.city-film-toolbar h2{margin:0;font-size:clamp(1.2rem,3vw,1.8rem)}.city-film-toolbar button{min-width:44px;min-height:44px}.city-film-player{aspect-ratio:16/9;background:#151515}.city-film-player iframe{width:100%;height:100%;border:0}#city-film-dialog p{font-size:.875rem;line-height:1.5;margin-bottom:0}
.city-video-header{background-image:url('/story-art/city-watercolors/lopez-adobe-v1.jpg')}
.city-video-header .city-film-credit:focus-visible,.city-video-header [data-city-video]:focus-visible{outline:3px solid white;outline-offset:4px}

/* Shared interior navigation: topics and page hierarchy are separate controls. */
.interior-layout { display:grid; grid-template-columns:210px minmax(0,1fr); gap:1.5rem; align-items:start; width:100%; padding:1.25rem clamp(1rem,3vw,3rem) 3rem; }
.interior-content { min-width:0; }
.interior-content > main { width:100%; max-width:none; margin:0; padding:0 0 2rem; }
.breadcrumbs { margin:0 0 1.25rem; color:var(--muted); font-size:.9rem; }
.breadcrumbs ol { display:flex; flex-wrap:wrap; gap:.5rem; list-style:none; margin:0; padding:0; }
.breadcrumbs li { display:flex; align-items:center; gap:.5rem; }
.breadcrumbs li + li::before { content:"/"; color:var(--muted); }
.breadcrumbs a { color:var(--ink); text-decoration:none; }
.breadcrumbs a:hover { text-decoration:underline; }
.breadcrumbs [aria-current="page"] { color:var(--muted); }
@media(max-width:1150px) { .interior-layout { grid-template-columns:minmax(0,1fr); } }

/* Topic rows fill the card; only its heading and caption are inset. */
.explore-more { padding:1.25rem 0 0; overflow:hidden; }
.explore-more h2,.explore-more .explore-caption { padding-left:1.25rem; padding-right:1.25rem; }
.explore-more .explore-list { gap:0; }
.explore-more .explore-list a { width:100%; padding:.4rem 1.25rem; min-height:44px; border-radius:0; }
.explore-more .explore-list a:focus-visible { outline-offset:-2px; }

/* Keep long desktop headlines compact enough to reach the story quickly. */
@media (min-width: 801px) {
  .story-article > h1 {
    font-size: clamp(2rem, 2.5vw, 2.6rem);
    line-height: 1.12;
  }
}

/* Inset mobile navigation targets so rounded feedback has room to breathe. */
@media (max-width: 800px) {
  .explore-more .explore-list {
    padding: .5rem .75rem .75rem;
    gap: .5rem;
  }
  .explore-more .explore-list a {
    border-radius: 12px;
    padding: .65rem .75rem;
  }
}

.zoning-legend { margin:2rem 0; }
.zoning-legend-group { margin:1.5rem 0; border:1px solid var(--line); border-radius:12px; padding:1rem; background:#fff; }
.zoning-legend-group h3 { margin:.25rem 0; }
.zoning-legend-source { font-size:.875rem; }
.zoning-legend-table { width:100%; border-collapse:collapse; font-size:1rem; }
.zoning-legend-table caption { text-align:left; color:var(--muted); font-size:.875rem; padding:.5rem 0; }
.zoning-legend-table th,.zoning-legend-table td { padding:.75rem; border-bottom:1px solid var(--line); text-align:left; vertical-align:middle; }
.zoning-legend-table thead { background:#f5f4f1; }
.zoning-legend-table th[scope="row"] { min-width:11rem; }
.zoning-legend-table td:nth-child(3) { overflow-wrap:break-word; }
.zoning-symbol { width:3.5rem; color:var(--ink); }
.zoning-symbol svg { display:block; }
.zoning-color { display:inline-block; width:2.5rem; height:1.5rem; border:1px solid #555; border-radius:4px; vertical-align:middle; margin-right:.6rem; }
.zoning-legend-table td:last-child { white-space:nowrap; }
@media(max-width:600px) { .zoning-legend-group { padding:.75rem; } .zoning-legend-table th,.zoning-legend-table td { padding:.65rem .4rem; } }

/* Zoning legend layout choices share the same source inventory. */
.zoning-legend { display:block; }
.zoning-view-controls { display:flex; gap:.5rem; margin:1rem 0; }
.zoning-view-controls[hidden],.zoning-legend [data-legend-panel][hidden] { display:none; }
.zoning-view-controls button { min-height:44px; padding:.5rem 1rem; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink); font:inherit; cursor:pointer; }
.zoning-view-controls button[aria-pressed="true"] { background:var(--ink); color:#fff; }
.zoning-view-controls button:focus-visible { outline:3px solid #96354a; outline-offset:3px; }
.zoning-legend-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap:1rem; list-style:none; padding:0; margin:1rem 0; }
.zoning-legend-card { padding:1rem; border:1px solid var(--line); border-radius:10px; min-width:0; }
.zoning-card-heading { display:flex; align-items:center; gap:.75rem; }
.zoning-card-heading h4 { margin:0; font-size:1.15rem; }
.zoning-card-heading .zoning-symbol { flex:0 0 2.5rem; }
.zoning-legend-card dl { margin:1rem 0 0; }
.zoning-legend-card dt { font-size:.875rem; color:var(--muted); margin-top:.75rem; }
.zoning-legend-card dd { margin:.25rem 0 0; overflow-wrap:anywhere; }
.zoning-legend-card dd:last-child { display:flex; align-items:center; }

/* Shared directory cards retain table filters, pagination and map actions. */
.business-table-wrap.directory-card-mode { overflow:visible; }
.business-table-wrap > table[hidden], .directory-record-cards[hidden] { display:none; }
.directory-record-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr)); gap:1rem; padding:0; margin:1rem 0; list-style:none; }
.directory-record-card { min-width:0; border:1px solid var(--line); border-radius:12px; padding:1.25rem; background:#fff; overflow-wrap:anywhere; }
.directory-record-card h3 { font-size:1.2rem; margin:0 0 1rem; }
.directory-record-card h3 .business-focus { font:inherit; text-align:left; }
.directory-record-card dl { margin:0; }
.directory-record-card dt { margin-top:.75rem; font-size:.875rem; color:var(--muted); }
.directory-record-card dd { margin:.2rem 0 0; font-size:1rem; }
.directory-record-card a:focus-visible,.directory-record-card button:focus-visible { outline:3px solid #96354a; outline-offset:3px; }

.zoning-view-controls { justify-content:flex-end; }
.zoning-view-controls button { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; padding:.5rem; flex:0 0 44px; }

.city-video-header a.city-film-credit { display:block; width:auto; height:auto; right:auto; border-radius:0; }

/* Compact front-page rhythm; retain readable text and 44px controls. */
.news-home { padding-top:.6rem; }
.news-home .news-layout { gap:1.25rem; }
.news-home .news-edition { margin-bottom:1rem; }
.news-home .news-section-heading { padding-bottom:.45rem; gap:.6rem; }
.news-home .news-section-heading h1,.news-home .news-section-heading h2 { font-size:1.3rem; }
.news-home .news-beat { margin-top:1rem; }
.news-home .news-story { padding:.9rem 0; }
.news-home .news-compact { grid-template-columns:160px minmax(0,1fr); gap:1rem; }
.news-home .news-compact .news-story-image img { width:160px; height:108px; }
.news-home .news-compact h3 { font-size:1.4rem; line-height:1.2; margin:.2rem 0 .35rem; }
.news-home .news-story p { margin:.3rem 0; line-height:1.45; }
.news-home .news-story .eyebrow { font-size:.75rem; line-height:1.35; }
.news-home .news-story .story-date,.news-home .news-byline,.news-home .news-credit { font-size:.875rem; color:var(--muted); }
.news-home .news-story .news-excerpt { font-size:1rem; margin:.35rem 0; }
.news-home .explore-more { padding-top:1rem; }
.news-home .explore-caption { margin:.35rem 0 .6rem; }
.news-home .news-rail { gap:1rem; }
.news-home .news-service,.news-home .news-local { padding:1rem 0; }
.news-home .news-service h2,.news-home .news-local h2 { margin:.3rem 0 .6rem; font-size:1.35rem; }
.news-home .weather-card { block-size:37.5rem; min-block-size:37.5rem; max-block-size:37.5rem; grid-template-rows:5.5rem 11rem minmax(0,1fr); }
.news-home .weather-card-footer { padding:.6rem 1rem; gap:.35rem; grid-template-rows:2.5rem 2.5rem 2.75rem 2.75rem minmax(5.25rem,auto); }
.news-home .weather-card-icon,.news-home .weather-card-icon .weather-glyph { block-size:3rem; inline-size:3rem; }
.news-home .weather-card-temperature { font-size:3.25rem; }
@media(max-width:550px) {
  .news-home .news-compact { grid-template-columns:100px minmax(0,1fr); gap:.75rem; }
  .news-home .news-compact .news-story-image img { width:100px; height:80px; }
  .news-home .news-compact h3 { font-size:1.2rem; }
}

/* Give the lead the full news column, with or without a thumbnail. */
.news-home .news-top-stories > .news-story:first-of-type { display:block; }
.news-home .news-top-stories > .news-story:first-of-type .news-story-image { margin-bottom:1rem; }
.news-home .news-top-stories > .news-story:first-of-type .news-story-image img {
  width:100%; height:auto; aspect-ratio:16/9;
}
.news-home .news-top-stories > .news-story:first-of-type h3 {
  font-size:clamp(1.65rem,2.5vw,2.25rem); line-height:1.15;
}
@media(max-width:550px) {
  .news-home .news-top-stories > .news-story { display:block; }
  .news-home .news-top-stories .news-story-image { margin-bottom:.75rem; }
  .news-home .news-top-stories .news-story-image img { width:100%; height:auto; aspect-ratio:16/9; }
  .news-home .news-top-stories h3 { font-size:1.5rem; line-height:1.2; }
}


/* Compact interior directories, with full-size text and usable controls. */
.interior-layout { padding-top:.9rem; gap:1.25rem; }
.breadcrumbs { margin-bottom:.75rem; }
.business-directory h1,.business-directory .directory-heading h1 { font:700 clamp(1.9rem,3vw,2.75rem)/1.12 Georgia,serif; margin:.3rem 0 .65rem; }
.business-directory p { margin:.55rem 0; line-height:1.45; }
.business-directory > .eyebrow,.business-directory .directory-heading .eyebrow { margin:0 0 .25rem; }
.business-directory .directory-source { padding:.75rem 1rem; margin:.85rem 0; font-size:.9375rem; line-height:1.45; }
.business-directory .directory-source p { margin:.4rem 0; }
.business-directory .business-filters { gap:.6rem; padding:.75rem; }
.business-directory .business-filters label { gap:.25rem; font-size:.875rem; }
.business-directory .business-filters input,.business-directory .business-filters select { font-size:1rem; padding:.4rem .55rem; }
.business-directory .business-filters .button { min-height:44px; padding:.5rem .8rem; }
.business-directory .business-category-links { gap:.4rem; margin:.85rem 0; }
.business-directory .business-category-links [role="tab"] { min-height:44px; padding:.4rem .7rem; }
.business-directory .directory-map { padding:.75rem; margin:.75rem 0 1rem; }
.business-directory .directory-map p { margin:.4rem 0; }
.business-directory #business-map,.business-directory #community-map { height:280px !important; }
.business-directory .business-category { padding:.75rem 0 1rem; }
.business-directory .business-category h2 { font:700 1.4rem/1.2 Georgia,serif; margin:.35rem 0 .65rem; }
.business-directory .directory-record-cards { grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr)); gap:.75rem; margin:.65rem 0; }
.business-directory .directory-record-card { padding:.85rem; border-radius:10px; line-height:1.4; }
.business-directory .directory-record-card h3 { font-size:1.1rem; line-height:1.25; margin:0 0 .5rem; }
.business-directory .directory-record-card dl { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:.35rem .6rem; align-items:baseline; }
.business-directory .directory-record-card dt,.business-directory .directory-record-card dd { min-width:0; margin:0; overflow-wrap:anywhere; }
.business-directory .directory-record-card dt { font-size:.875rem; }
.business-directory .directory-record-card dd { font-size:1rem; }
.business-directory table { font-size:.9375rem; line-height:1.4; }
.business-directory th,.business-directory td { padding:.55rem .65rem; }
.business-directory .business-pagination { align-items:center; flex-wrap:wrap; gap:.5rem; margin-top:.65rem; }
.business-directory .business-pagination .button { min-height:44px; margin:0; padding:.45rem .8rem; }
.business-directory .zoning-view-controls { margin:.5rem 0; gap:.4rem; }
@media(max-width:550px) {
  .business-directory .directory-record-cards { grid-template-columns:1fr; }
  .business-directory .directory-record-card { padding:.8rem; }
  .business-directory #business-map,.business-directory #community-map { height:240px !important; }
}

/* Newsletter signup keeps consent and form controls readable on narrow screens. */
.newsletter-page { max-width:44rem; padding:2rem clamp(1rem,3vw,2rem) 4rem; margin:auto; }
.newsletter-page h1 { font-size:clamp(2rem,4vw,3rem); line-height:1.12; }
.newsletter-page section { margin-top:2rem; }
.newsletter-intro { font-size:1.25rem; line-height:1.5; }
.newsletter-form { display:grid; gap:.85rem; padding:1.5rem; margin:1.5rem 0; border:1px solid var(--line); border-top:3px solid var(--rose); border-radius:.5rem; }
.newsletter-form input[type=email] { width:100%; min-width:0; min-height:44px; font:inherit; padding:.75rem; border:1px solid var(--muted); border-radius:.25rem; }
.newsletter-form .check-label { display:flex; gap:.75rem; align-items:flex-start; font-size:1rem; line-height:1.5; }
.newsletter-form input[type=checkbox] { flex:0 0 auto; width:1.25rem; height:1.25rem; margin:.15rem 0; }
.newsletter-form button { min-height:44px; white-space:normal; }
.newsletter-note { font-size:.875rem; line-height:1.5; color:var(--muted); }
.newsletter-honeypot { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.newsletter-form :focus-visible { outline:3px solid var(--rose); outline-offset:3px; }
.newsletter-card .button { white-space:normal; text-align:center; }

/* Homepage resource cards share the weather/navigation card treatment. */
.news-home .news-rail > .news-service {
  min-width:0;
  padding:1rem;
  background:#fff;
  border:1px solid var(--line);
  border-radius:1rem;
}
.news-home .news-rail > .news-service > p { margin:.5rem 0; }
.news-home .news-rail > .news-service > .eyebrow { margin-top:0; }
.news-home .news-rail > .news-service > a:last-child { border-bottom:0; }
.news-home .news-rail > .news-service > .button { margin-top:.75rem; }
@media(max-width:550px) { .newsletter-form { padding:1rem; } }

/* Geographic news navigation uses published coverage, separate from weather. */
.coverage-links { display:flex; flex-wrap:wrap; gap:.5rem 1rem; margin:1rem 0; }
.coverage-links a { display:inline-flex; align-items:center; min-height:44px; font-weight:600; }
.story-locality { font-size:1rem; margin:0 0 .5rem; }
.story-locality a { font-weight:700; }
.story-locality span { color:var(--muted); font-size:.875rem; }
.coverage-page { min-width:0; }
.explore-list a[aria-current="page"] { background:rgba(36,34,30,.08); font-weight:700; }
@media(max-width:550px) {
  .coverage-page .news-compact { display:block; }
  .coverage-page .news-story-image { margin-bottom:1rem; }
  .coverage-page .news-compact .news-story-image img { width:100%; height:auto; aspect-ratio:3/2; }
}

.location-bar { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem; padding:.75rem clamp(1rem,2vw,2rem); border-bottom:1px solid var(--line); }
.location-bar label { font-weight:700; }
.location-bar select { width:auto; max-width:100%; min-height:44px; font-size:1rem; }
.location-bar .button { min-height:44px; padding:.5rem .8rem; }
.location-bar p { flex-basis:100%; margin:.2rem 0 0; font-size:.875rem; line-height:1.5; color:var(--muted); }
.location-empty { font-size:1rem; }
@media(max-width:550px) { .location-bar label { flex-basis:100%; } .location-bar select { flex:1; min-width:0; } }

/* Shared location and reader utilities row. */
.valley-toolbar { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; padding:.5rem clamp(1rem,2vw,2rem); border-bottom:1px solid var(--line); }
.valley-toolbar .location-bar { flex:1; min-width:0; padding:0; border:0; margin:0; }
.valley-toolbar .location-bar select { border-radius:1.5rem; padding:.5rem 2.5rem .5rem 1rem; }
.valley-toolbar .location-bar p { font-size:.8125rem; line-height:1.4; margin:.1rem 0 0; }
.valley-toolbar .reader-utilities { flex:0 0 auto; width:auto; min-height:44px; padding:0; border:0; justify-content:flex-end; }
.valley-toolbar .reader-clock { white-space:nowrap; font-size:.875rem; }
@media(max-width:1000px) { .valley-toolbar { flex-wrap:wrap; } .valley-toolbar .location-bar { flex-basis:100%; } .valley-toolbar .reader-utilities { margin-left:auto; } }
@media(max-width:550px) { .valley-toolbar .location-bar label { flex-basis:100%; } .valley-toolbar .reader-clock { white-space:normal; } }

.location-info { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:1px solid var(--line); border-radius:50%; background:#fff; color:var(--ink); cursor:pointer; }
.location-info[hidden] { display:none; }
#location-info-dialog { width:min(28rem,calc(100% - 2rem)); padding:1.5rem; border:1px solid var(--line); border-radius:1rem; color:var(--ink); background:#fff; }
#location-info-dialog::backdrop { background:rgba(0,0,0,.45); }
#location-info-dialog h2 { margin:0 0 .75rem; font-size:1.4rem; }
.valley-toolbar .location-bar #location-info-dialog p { margin:.75rem 0 1rem; font-size:1rem; line-height:1.5; }
.location-info:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }

/* Shared SFV identity, matching the browser favicon. */
.city-video-header .masthead-identity{display:inline-flex;align-items:center;justify-content:center;gap:clamp(.65rem,1.5vw,1.25rem);max-width:100%;text-decoration:none}
.masthead-sfv-logo{display:block;width:clamp(48px,6vw,80px);height:clamp(48px,6vw,80px);flex:none;border-radius:19%;box-shadow:0 2px 12px #0003}
.masthead-identity span{min-width:0}
@media(max-width:600px){.city-video-header .masthead-identity{font-size:clamp(1.65rem,6vw,2.3rem);gap:.6rem}.masthead-sfv-logo{width:48px;height:48px}}

.parks-map{height:360px;width:100%;border:1px solid var(--line);border-radius:12px;z-index:0}.park-focus{border:0;background:none;color:var(--ink);font:inherit;font-weight:700;text-align:left;padding:0;min-height:44px;cursor:pointer}.park-focus:focus-visible{outline:3px solid #861b35}.directory-record-card:has(.park-focus){cursor:pointer}.directory-record-card:has(.park-focus):hover{background:#f3f0eb}.parks-map .leaflet-popup-content section+section{border-top:1px solid #ddd;margin-top:1rem;padding-top:.5rem}.parks-map .leaflet-popup-content p{font-size:.875rem;margin:.45rem 0}.parks-map .leaflet-popup-content h3{font-size:1.1rem}@media(max-width:600px){.parks-map{height:300px}}

/* Shared counted categories: city selection lives in the main toolbar. */
.category-pills{display:flex;flex-wrap:wrap;gap:.4rem;margin:.8rem 0 1rem}
.category-pills button{font:inherit;font-size:1rem;line-height:1.3;min-height:44px;padding:.55rem .8rem;border:1px solid #ded9cf;border-radius:1.1rem;background:#fff;color:#24231f;cursor:pointer}
.category-pills button:hover{background:#f1eeee}.category-pills button[aria-pressed="true"]{background:#861b35;color:#fff;border-color:#861b35}.category-pills button:focus-visible{outline:3px solid #286fa0;outline-offset:2px}
.category-pills[hidden],[data-category-panel][hidden]{display:none!important}
