/*
Theme Name:   Faded Main Street Child
Theme URI:    https://thefadedmainstreet.com
Description:  Blocksy child theme for Faded Main Street — direction 1A "The Broadsheet". Archival broadsheet: warm paper tones, brick red, DM Serif Display / Newsreader / Oswald / Grand Hotel.
Author:       Faded Main Street
Author URI:   https://www.youtube.com/@thefadedmainstreet
Template:     blocksy
Version:      1.2.9
Text Domain:  thefadedmainstreet-child
*/

/* ---------------------------------------------------------------------------
   Design tokens — 1A "The Broadsheet"
--------------------------------------------------------------------------- */
:root {
  --fms-page-bg: #d8ccb4;
  --fms-paper: #f3ead9;
  --fms-paper-mid: #efe6d4;
  --fms-paper-warm: #e7dcc4;
  --fms-ink: #2a2118;
  --fms-body: #4a4034;
  --fms-brick: #8a2f22;
  --fms-brick-deep: #6d241a;
  --fms-brick-hover: #b0472f;
  --fms-sepia: #9c7a4f;
  --fms-sepia-light: #e6b98a;
  --fms-sepia-pale: #e7cbb8;
  --fms-rule: #cbb98f;
  --fms-diamond: #c9b892;
  --fms-map-surface: #ded0b0;
  /* Article section bands — spaced ~9 steps apart so consecutive segments are
     distinguishable while reading. --fms-paper/-mid are only 4 apart, which
     reads as one continuous sheet. */
  --fms-band-a: #f5efe3;
  --fms-band-b: #ece2cd;
  --fms-band-c: #e3d7bd;
  /* Card surface that lifts off any of the three bands. */
  --fms-surface: rgba(255, 252, 245, .68);
  --fms-display: "DM Serif Display", Georgia, serif;
  --fms-serif: "Newsreader", Georgia, serif;
  --fms-label: "Oswald", Arial, sans-serif;
  --fms-script: "Grand Hotel", cursive;
}

body {
  font-family: var(--fms-serif);
  color: var(--fms-body);
  background: var(--fms-page-bg);
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fms-display);
  font-weight: 400;
  color: var(--fms-ink);
}

a { color: var(--fms-brick); transition: color .3s ease; }
a:hover { color: var(--fms-brick-hover); }

/* Blocksy's own header/footer are replaced by the template's top bar and
   footer on the homepage only. */
body.home header#header, body.home .ct-header,
body.home footer.ct-footer, body.home #footer,
body.single-post header#header, body.single-post .ct-header,
body.single-post footer.ct-footer, body.single-post #footer,
body.page-template-page-about header#header, body.page-template-page-about .ct-header,
body.page-template-page-about footer.ct-footer, body.page-template-page-about #footer { display: none; }

/* ---------------------------------------------------------------------------
   Shared band furniture
--------------------------------------------------------------------------- */
.fms-band { padding: 56px 48px; border-bottom: 1px solid var(--fms-rule); }
.fms-wrap { max-width: 1280px; margin: 0 auto; }

.fms-eyebrow {
  font-family: var(--fms-label);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--fms-brick);
  display: block;
  margin-bottom: 14px;
}
.fms-kicker {
  font-family: var(--fms-label);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--fms-sepia);
  display: block;
  margin-bottom: 10px;
}

.fms-btn {
  display: inline-block;
  font-family: var(--fms-label);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding: 14px 22px;
  background: var(--fms-brick);
  color: var(--fms-paper);
  text-decoration: none;
  transition: background .3s ease;
}
.fms-btn:hover { background: var(--fms-brick-deep); color: var(--fms-paper); }
.fms-btn--ghost {
  background: transparent;
  border: 1px solid var(--fms-paper-warm);
  color: var(--fms-paper);
}
.fms-btn--ghost:hover { background: rgba(243,234,217,.12); color: var(--fms-paper); }

/* ---------------------------------------------------------------------------
   1. Top bar
--------------------------------------------------------------------------- */
.fms-topbar {
  background: var(--fms-paper);
  border-bottom: 1px solid var(--fms-rule);
  padding: 20px 40px;
}
.fms-topbar__in {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.fms-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.fms-logo__stamp {
  width: 50px; height: 50px; flex: none;
  background: var(--fms-brick);
  color: var(--fms-paper-mid);
  font-family: var(--fms-display);
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 3px #efe6d4, inset 0 0 0 4px #8a2f22;
}
.fms-logo__name {
  font-family: var(--fms-display);
  font-size: 20px;
  color: var(--fms-ink);
  line-height: 1.1;
  display: block;
}
.fms-logo__tag {
  font-family: var(--fms-label);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .4em;
  color: var(--fms-sepia);
  display: block;
  margin-top: 3px;
}
.fms-nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.fms-nav a {
  font-family: var(--fms-label);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--fms-body);
  text-decoration: none;
}
.fms-nav a:hover { color: var(--fms-brick-hover); }
/* Beat .fms-nav a's specificity so the button keeps cream-on-brick text. */
.fms-nav a.fms-btn {
  padding: 10px 16px;
  font-size: 12px;
  color: var(--fms-paper);
  background: var(--fms-brick);
}
.fms-nav a.fms-btn:hover { background: var(--fms-brick-deep); color: var(--fms-paper); }

/* ---------------------------------------------------------------------------
   2. Masthead rule
--------------------------------------------------------------------------- */
.fms-masthead {
  background: var(--fms-paper);
  border-bottom: 3px double var(--fms-rule);
  text-align: center;
  padding: 12px 20px;
  font-family: var(--fms-label);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .32em;
  color: var(--fms-sepia);
}
.fms-masthead .d { color: var(--fms-diamond); }

/* ---------------------------------------------------------------------------
   3. Hero
--------------------------------------------------------------------------- */
.fms-hero {
  position: relative;
  height: 520px;
  background: var(--fms-ink);
  overflow: hidden;
}
.fms-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 50%; /* keep the ghost sign right-of-center */
}
.fms-hero__grade, .fms-hero__tint {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply;
}
.fms-hero__grade { background: linear-gradient(90deg, rgba(30,22,14,.82), rgba(30,22,14,.05)); }
.fms-hero__tint  { background: linear-gradient(180deg, rgba(122,47,34,.28), rgba(30,22,14,.35)); }
.fms-hero__text {
  position: absolute; left: 48px; bottom: 52px;
  max-width: 600px;
}
.fms-hero__script {
  font-family: var(--fms-script);
  font-size: 34px;
  color: var(--fms-sepia-light);
  opacity: .9;
  display: block;
}
.fms-hero__title {
  font-family: var(--fms-display);
  font-size: 66px;
  line-height: .98;
  color: var(--fms-paper);
  margin: 6px 0 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.fms-hero__dek {
  font-size: 19px;
  line-height: 1.5;
  color: var(--fms-paper-warm);
  margin: 0 0 24px;
}
.fms-hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------------------------------------------------------------------
   4. Featured story
--------------------------------------------------------------------------- */
.fms-featured { background: var(--fms-paper-mid); }
.fms-featured__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
  margin-top: 10px;
}
.fms-still {
  position: relative;
  height: 340px;
  background: var(--fms-ink);
  overflow: hidden;
  display: block;
}
.fms-still img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .3s ease;
}
a.fms-still:hover img { transform: scale(1.03); }
.fms-still__shade {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply;
  background: linear-gradient(180deg, rgba(30,22,14,0) 55%, rgba(30,22,14,.6));
}
.fms-still__badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--fms-brick);
  color: var(--fms-paper);
  font-family: var(--fms-label);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em;
  padding: 6px 10px;
}
.fms-still__play {
  position: absolute; top: 50%; left: 50%;
  width: 74px; height: 74px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(243,234,217,.92);
  color: var(--fms-brick);
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer;
}
.fms-featured__title {
  font-size: 38px;
  line-height: 1.05;
  margin: 0 0 16px;
}
.fms-featured__body { font-size: 17px; line-height: 1.6; margin: 0 0 22px; }
.fms-featured__meta {
  font-style: italic;
  font-size: 14px;
  color: var(--fms-sepia);
  margin-left: 16px;
}

/* ---------------------------------------------------------------------------
   5. Recent stories
--------------------------------------------------------------------------- */
.fms-recent { background: var(--fms-paper-warm); }
.fms-recent__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 26px;
}
.fms-recent__head h3 { font-size: 30px; margin: 0; }
.fms-archive-link {
  font-family: var(--fms-label);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .16em;
  text-decoration: none;
}
.fms-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.fms-card { text-decoration: none; display: block; }
.fms-card__media {
  position: relative; height: 190px; background: var(--fms-ink); overflow: hidden;
  margin-bottom: 14px;
}
.fms-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .3s ease;
}
.fms-card:hover .fms-card__media img { transform: scale(1.03); }
.fms-card__chip {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(30,22,14,.82);
  color: var(--fms-paper);
  font-family: var(--fms-label);
  font-size: 11px; font-weight: 500; letter-spacing: .08em;
  padding: 4px 8px;
}
.fms-card__kicker {
  font-family: var(--fms-label);
  font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--fms-brick);
  display: block; margin-bottom: 6px;
}
.fms-card h4 {
  font-size: 21px; line-height: 1.1; margin: 0 0 8px; color: var(--fms-ink);
}
.fms-card:hover h4 { color: var(--fms-brick); }
.fms-card p { font-size: 14px; line-height: 1.5; margin: 0; color: var(--fms-body); }

/* ---------------------------------------------------------------------------
   6. Recurring themes
--------------------------------------------------------------------------- */
.fms-themes { background: var(--fms-paper-mid); }
.fms-themes h3 { font-size: 30px; margin: 0 0 8px; }
.fms-themes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 56px;
  margin-top: 26px;
}
.fms-theme { border-top: 1px solid var(--fms-rule); padding-top: 18px; }
.fms-theme__no {
  font-family: var(--fms-display);
  font-style: italic;
  font-size: 20px;
  color: var(--fms-brick);
  display: block;
  margin-bottom: 6px;
}
.fms-theme h4 { font-size: 19px; margin: 0 0 8px; }
.fms-theme p { font-size: 14px; line-height: 1.55; margin: 0; }

/* ---------------------------------------------------------------------------
   7. The Map
--------------------------------------------------------------------------- */
.fms-map { background: var(--fms-paper-warm); }
.fms-map__grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 44px;
  align-items: center;
}
.fms-map__surface {
  position: relative;
  height: 380px;
  border: 1px solid var(--fms-rule);
  background:
    radial-gradient(circle at 30% 40%, rgba(155,122,79,.14), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(122,47,34,.10), transparent 50%),
    var(--fms-map-surface);
}
.fms-map__surface img {
  width: 100%; height: 100%; object-fit: cover; display: block; mix-blend-mode: multiply;
}
.fms-pin {
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--fms-brick);
  box-shadow: 0 0 0 4px rgba(138,47,34,.28);
}
.fms-pin--sm { width: 12px; height: 12px; background: var(--fms-brick-hover); box-shadow: none; }
.fms-map__title { font-size: 32px; margin: 0 0 14px; }
.fms-map__body { font-size: 16px; margin: 0 0 24px; }
.fms-stats { display: flex; gap: 36px; margin: 0 0 26px; }
.fms-stat b {
  font-family: var(--fms-display);
  font-weight: 400;
  font-size: 30px;
  color: var(--fms-brick);
  display: block;
}
.fms-stat span {
  font-family: var(--fms-label);
  font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--fms-sepia);
}
.fms-map__submit {
  font-style: italic;
  font-size: 15px;
  margin-left: 16px;
}

/* ---------------------------------------------------------------------------
   8. YouTube subscribe band
--------------------------------------------------------------------------- */
.fms-subscribe {
  background: var(--fms-brick-deep);
  color: var(--fms-paper);
  text-align: center;
  padding: 52px 48px;
}
.fms-subscribe__script {
  font-family: var(--fms-script);
  font-size: 26px;
  color: var(--fms-sepia-light);
  display: block;
}
.fms-subscribe h3 {
  font-size: 34px;
  color: var(--fms-paper);
  margin: 4px 0 14px;
}
.fms-subscribe p {
  font-size: 16px;
  color: var(--fms-sepia-pale);
  max-width: 520px;
  margin: 0 auto 26px;
}
.fms-subscribe .fms-btn {
  background: var(--fms-paper);
  color: var(--fms-brick-deep);
  font-size: 14px;
  padding: 15px 30px;
}
.fms-subscribe .fms-btn:hover { background: var(--fms-paper-warm); }

/* ---------------------------------------------------------------------------
   9. Footer
--------------------------------------------------------------------------- */
.fms-footer {
  background: var(--fms-ink);
  color: var(--fms-diamond);
  padding: 34px 48px;
  font-family: var(--fms-label);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.fms-footer__in {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.fms-footer a { color: var(--fms-sepia-light); text-decoration: none; margin-left: 22px; }
.fms-footer a:first-child { margin-left: 0; }
.fms-footer a:hover { color: var(--fms-paper); }

/* ---------------------------------------------------------------------------
   Video facade (shared with article pages)
--------------------------------------------------------------------------- */
.fms-video-box { position: relative; aspect-ratio: 16 / 9; background: var(--fms-ink); }
.fms-video-box img, .fms-video-box iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0;
}
.fms-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(30,22,14,.18);
  border: 0; cursor: pointer; width: 100%;
}
.fms-play:hover { background: rgba(30,22,14,.05); }
.fms-play svg { width: 64px; height: 46px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }

/* ---------------------------------------------------------------------------
   Article pages (single + about), restyled to the Broadsheet tokens
--------------------------------------------------------------------------- */
/* Full-bleed paper band; the text inside lines up with the 720px body column. */
.fms-article-hero {
  background: var(--fms-paper-mid);
  color: var(--fms-ink);
  padding: 48px 24px 4px;
  text-align: left;
}
.fms-article-hero .fms-eyebrow { color: var(--fms-brick); max-width: 720px; margin: 0 auto 8px; }
.fms-article-hero h1 {
  color: var(--fms-ink);
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.1;
  max-width: 720px;
  margin: 0 auto 10px;
}
.fms-article-hero .fms-article-meta {
  font-style: italic; color: var(--fms-sepia); font-size: 15px;
  max-width: 720px; margin: 0 auto;
}
.fms-article-hero a { color: var(--fms-brick); text-decoration: none; }
.fms-article-hero a:hover { color: var(--fms-brick-hover); text-decoration: underline; }
.fms-article-video {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  transform: translateY(40px);
}
.fms-article-video .fms-video-box { box-shadow: 0 14px 40px rgba(30,22,14,.35); }
.fms-article-body { background: var(--fms-paper-mid); padding: 20px 24px 64px; }
/* Video posts keep the overlap gap; text-only posts sit tight under the title. */
.fms-article-video + .fms-article-body { padding-top: 96px; }
.fms-article-body .fms-wrap--narrow { max-width: 720px; margin: 0 auto; }
.fms-article-body p { font-size: 18px; line-height: 1.7; margin: 0 0 24px; }
/* Blocksy prints its own `h2 {}` / `a {}` rules inline in wp_head, after this
   stylesheet — so post copy needs a class-scoped selector to win the cascade,
   otherwise headings and links fall back to Blocksy's navy/blue. */
.fms-article-body h2 { font-size: 30px; margin: 40px 0 16px; color: var(--fms-ink); }
.fms-article-body h3 { font-size: 23px; margin: 32px 0 12px; color: var(--fms-ink); }
.fms-article-body h4 { color: var(--fms-ink); }
.fms-article-body a {
  color: var(--fms-brick);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(138, 47, 34, .38);
  transition: color .25s ease, text-decoration-color .25s ease;
}
.fms-article-body a:hover {
  color: var(--fms-brick-hover);
  text-decoration-color: var(--fms-brick-hover);
}
.fms-article-body img { max-width: 100%; height: auto; }
.fms-article-body blockquote {
  border-left: 3px solid var(--fms-brick);
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  font-style: italic;
  color: var(--fms-ink);
}
.fms-monogram {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  display: block; margin: 0 auto 20px;
  box-shadow: 0 4px 18px rgba(42,33,24,.25);
}
.fms-about { background: var(--fms-paper-mid); text-align: center; padding: 56px 24px; }
.fms-about .fms-wrap--narrow { max-width: 720px; margin: 0 auto; }
.fms-about p { font-size: 18px; line-height: 1.7; margin: 0 auto 20px; }
.fms-about .fms-section-title { font-size: 34px; margin: 0 0 18px; }

/* ---------------------------------------------------------------------------
   Informational-article components (ia-*)
   Long-form posts built by the informational-article generator. The markup
   ships these class names; the styling lives here (not inline in post
   content) because wpautop injects <br> into inline <style> blocks and
   breaks them.
--------------------------------------------------------------------------- */
.fms-article-body .ia-wrap { max-width: none; margin: 0; padding: 0; font-family: inherit; font-size: inherit; color: inherit; }
/* Each H2 section is its own full-bleed band, alternating through three paper
   tones so the reader can see where one segment ends and the next begins —
   the same banding the homepage uses. Release the 720px wrapper for these
   posts only; ordinary posts keep the narrow column. */
.fms-article-body:has(.ia-wrap) { padding: 0; }
.fms-article-body .fms-wrap--narrow:has(.ia-wrap) { max-width: none; }
.ia-sec { padding: 34px 24px 38px; border-bottom: 1px solid var(--fms-rule); }
.ia-secin { max-width: 720px; margin: 0 auto; }
.ia-sec:nth-of-type(3n+1) { background: var(--fms-band-a); }
.ia-sec:nth-of-type(3n+2) { background: var(--fms-band-b); }
.ia-sec:nth-of-type(3n+3) { background: var(--fms-band-c); }
.ia-sec--intro { padding-top: 26px; }
.fms-article-body .ia-sec > .ia-secin > h2:first-child { margin-top: 0; }
@supports not (selector(:has(*))) {
  .ia-sec { padding-left: 0; padding-right: 0; }
}
.ia-kicker {
  font-family: var(--fms-label);
  font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .3em; color: var(--fms-brick); margin: 0 0 10px;
}
.ia-byline {
  font-family: var(--fms-label); font-size: 14px; font-weight: 300;
  color: var(--fms-body); line-height: 1.6;
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 28px; padding-bottom: 22px;
  border-bottom: 1px solid var(--fms-rule);
}
.fms-article-body .ia-byline img {
  width: 46px; height: 46px; border-radius: 50%; flex: none; object-fit: cover;
}
.ia-punchline {
  font-family: var(--fms-serif);
  font-size: 21px; line-height: 1.5; font-weight: 500;
  color: var(--fms-ink); background: var(--fms-surface);
  border-left: 4px solid var(--fms-brick);
  padding: 20px 24px; margin: 0 0 28px; border-radius: 0 6px 6px 0;
}
.fms-inline-video { margin: 0 0 30px; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(30,22,14,.28); }
.fms-inline-video .fms-video-box { border-radius: 10px; }
/* `.fms-article-body img { height: auto }` sits later in this file and has the
   same specificity as `.fms-video-box img`, so inside article copy the facade
   thumbnail lost its height:100% and overflowed the 16:9 box as a 4:3 image.
   Scope it to win. */
.fms-article-body .fms-video-box img { width: 100%; height: 100%; object-fit: cover; }
.ia-takeaways { background: var(--fms-ink); border-radius: 10px; padding: 24px 28px; margin: 0 0 32px; }
.fms-article-body .ia-takeaways h3 {
  font-family: var(--fms-label);
  font-size: 13px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .22em; color: var(--fms-sepia-light);
  margin: 0 0 14px;
}
.fms-article-body .ia-takeaways ul { margin: 0; padding-left: 20px; }
.fms-article-body .ia-takeaways li { color: var(--fms-paper); font-size: 16px; line-height: 1.6; margin: 9px 0; }
.fms-article-body .ia-takeaways a { color: var(--fms-sepia-light); }
.fms-article-body .ia-takeaways a:hover { color: var(--fms-paper); }
.ia-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 28px 0; }
.ia-stat-card { background: var(--fms-surface); border: 1px solid var(--fms-rule); border-radius: 8px; padding: 18px 20px; }
.ia-stat-card b {
  display: block; font-family: var(--fms-display);
  font-size: 30px; line-height: 1.05; color: var(--fms-brick); margin-bottom: 7px;
}
.ia-stat-card span { font-family: var(--fms-label); font-weight: 300; font-size: 13px; line-height: 1.5; color: var(--fms-body); display: block; }
.ia-method-table { border-collapse: collapse; width: 100%; margin: 28px 0; font-family: var(--fms-label); font-weight: 300; font-size: 14px; }
.ia-method-table th { background: var(--fms-ink); color: var(--fms-paper); text-align: left; padding: 11px 13px; font-weight: 500; }
.ia-method-table td { border: 1px solid var(--fms-rule); padding: 10px 13px; vertical-align: top; color: var(--fms-body); }
.ia-method-table tr:nth-child(even) td { background: var(--fms-surface); }
.ia-svgbox { background: var(--fms-ink); padding: 26px 22px; border-radius: 10px; margin: 28px 0; }
.ia-svgbox svg { width: 100%; height: auto; display: block; }
.fms-article-body .ia-figcap {
  font-family: var(--fms-label); font-weight: 300;
  font-size: 13px; line-height: 1.5; color: var(--fms-sepia);
  margin: 8px 2px 0; font-style: normal;
}
.fms-article-body figure { margin: 28px 0; }
.fms-article-body figure img { border-radius: 8px; display: block; }
.ia-note {
  background: var(--fms-surface); border: 1px solid var(--fms-rule);
  border-radius: 8px; padding: 18px 22px; margin: 32px 0;
}
.fms-article-body .ia-note { font-size: 15px; line-height: 1.65; color: var(--fms-body); }
.ia-faq details {
  border: 1px solid var(--fms-rule); border-radius: 8px;
  margin: 10px 0; padding: 0 18px; background: var(--fms-surface);
}
.ia-faq summary {
  cursor: pointer; padding: 15px 0; color: var(--fms-ink);
  font-family: var(--fms-label); font-weight: 500; font-size: 15px;
}
.fms-article-body .ia-faq p { padding-bottom: 16px; margin: 0; font-size: 16px; }
.ia-cta { background: var(--fms-ink); border-radius: 10px; padding: 28px; margin: 36px 0; text-align: center; }
.fms-article-body .ia-cta h3 {
  font-family: var(--fms-display); color: var(--fms-sepia-light);
  margin: 0 0 10px; font-size: 24px;
}
.fms-article-body .ia-cta p { color: var(--fms-paper); margin: 0; font-size: 16px; }
.fms-article-body .ia-cta a { color: var(--fms-sepia-light); font-weight: 500; }
.fms-article-body .ia-cta a:hover { color: var(--fms-paper); }
.ia-author-box {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--fms-surface); border: 1px solid var(--fms-rule);
  border-radius: 10px; padding: 20px 22px; margin: 36px 0 0;
}
.fms-article-body .ia-author-box img { width: 64px; height: 64px; border-radius: 50%; flex: none; object-fit: cover; }
.fms-article-body .ia-author-box p { margin: 5px 0 0; font-size: 15px; line-height: 1.6; }
.ia-author-box strong { font-family: var(--fms-label); font-weight: 500; letter-spacing: .04em; color: var(--fms-ink); }
@media (max-width: 600px) {
  .ia-byline { flex-wrap: wrap; gap: 10px; }
  .ia-punchline { font-size: 18px; padding: 16px 18px; }
  .ia-author-box { flex-direction: column; }
}

/* ---------------------------------------------------------------------------
   Responsive
--------------------------------------------------------------------------- */
@media (max-width: 800px) {
  .fms-band { padding: 40px 20px; }
  .fms-topbar { padding: 16px 20px; }
  .fms-topbar__in { justify-content: center; text-align: center; }
  .fms-nav { justify-content: center; gap: 16px; }
  .fms-masthead { letter-spacing: .18em; }
  .fms-hero { height: auto; min-height: 480px; display: flex; align-items: flex-end; }
  .fms-hero__img { object-position: 50% 35%; }
  /* Vertical scrim on mobile: the text sits over the bottom of the image. */
  .fms-hero__grade { background: linear-gradient(180deg, rgba(30,22,14,.10) 30%, rgba(30,22,14,.88) 85%); }
  .fms-hero__text { position: relative; left: 0; bottom: 0; padding: 220px 20px 36px; }
  .fms-hero__title { font-size: 42px; }
  .fms-hero__dek { font-size: 17px; }
  .fms-featured__grid, .fms-map__grid { grid-template-columns: 1fr; gap: 28px; }
  .fms-cards { grid-template-columns: 1fr; }
  .fms-themes__grid { grid-template-columns: 1fr; gap: 24px; }
  .fms-still { height: 240px; }
  .fms-map__surface { height: 280px; }
  .fms-stats { gap: 24px; flex-wrap: wrap; }
  .fms-featured__meta, .fms-map__submit { display: block; margin: 12px 0 0; }
  .fms-footer__in { justify-content: center; text-align: center; }
}
