/**
 * fl718-after-content.css — the universal desktop after-content section
 * -----------------------------------------------------------------------------
 * ONE section, every desktop location page. BUG-061.
 *
 * Extracted verbatim from after-content-MODEL-desktop.html (the approved model,
 * Session 235) and de-scoped from body.fl718-santo-domingo-page onto the shared
 * body class `fl718-after-content`, which functions.php adds to every desktop
 * location page.
 *
 * WHAT THIS FILE OWNS
 * -------------------
 * The section container, dateline, rules, eyebrow, strip layout, taxonomy row,
 * land acknowledgment, and the section's entrance initial-states. It replaces
 * ten page-private namespaces (fl718-intl-/peru-/quito-/china-/tn-/dv-/sf-/mv-/
 * loc-/swrn-after). Any page rule redeclaring these is superseded and deleted.
 *
 * WHAT IT DOES NOT OWN
 * --------------------
 * The cards. `.fl718-ws-city*` lives in fl718-ws-city-system.css and must not
 * be redeclared here or in any page file — see that file's header.
 *
 * CONTRAST
 * --------
 * Every value here measured >= 5.22:1 on its own ground, hover 7.82-10.94:1
 * (Session 235). Measure with text hidden before changing any colour.
 *
 * @package GeneratePress_Child
 */

/* ============================================================
   AFTER-CONTENT — CONCEPT E SYNTHESIS
   Dateline → rule → eyebrow → photo strip → bottom rule → taxonomy.
   Scoped to body.fl718-after-content throughout.
============================================================ */

/* ── Container ─────────────────────────────────────────────── */
body.fl718-after-content .fl718-intl-after {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 40px 140px;
}

/* ── 1. DATELINE ─────────────────────────────────────────── */
body.fl718-after-content .fl718-intl-after__dateline {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 40px;
}

body.fl718-after-content .fl718-intl-after__city {
  font-family: 'Courier Prime', monospace;
  font-size: 15px; /* was 13px — section-wide type bump 2026-08-20 */
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #3d3530;
}

body.fl718-after-content .fl718-intl-after__sep {
  font-family: 'Courier Prime', monospace;
  font-size: 15px; /* was 13px — section-wide type bump 2026-08-20 */
  font-weight: 400;
  color: #ccc6bc;
  margin: 0 20px;
  user-select: none;
}

body.fl718-after-content .fl718-intl-after__coords {
  font-family: 'Courier Prime', monospace;
  font-size: 15px; /* was 13px — section-wide type bump 2026-08-20 */
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #6d645d; /* WCAG AA 2026-08-20 (BUG-061) — was #9a9088, 2.82:1. Now 5.22:1 on #f5f3ef, 5.07:1 on #f0f0ed. */
}

body.fl718-after-content .fl718-intl-after__year {
  font-family: 'Courier Prime', monospace;
  font-size: 15px; /* was 13px — section-wide type bump 2026-08-20 */
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #6d645d; /* WCAG AA 2026-08-20 (BUG-061) — was #9a9088, 2.82:1. Now 5.22:1 on #f5f3ef, 5.07:1 on #f0f0ed. */
}

/* ── 2. DIVIDER RULE ──────────────────────────────────────── */
body.fl718-after-content .fl718-intl-after__rule {
  width: 100%;
  height: 1px;
  background: #ccc6bc;
  margin-bottom: 36px;
  transform-origin: left center;
}

/* ── 3. EYEBROW ───────────────────────────────────────────── */
body.fl718-after-content .fl718-intl-after__eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; /* was 10px — section-wide type bump 2026-08-20 */
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #6d645d; /* WCAG AA 2026-08-20 (BUG-061) — was #9a9088, 2.82:1. Now 5.22:1 on #f5f3ef, 5.07:1 on #f0f0ed. */
  margin-bottom: 24px;
}

/* ── 4. PHOTO STRIP ───────────────────────────────────────── */
/* STRIP CONTAINER — page-scoped. Card styles live in fl718-ws-city-system.css. */
body.fl718-after-content .fl718-intl-after__strip {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  overflow-x: clip;
}

/* Wipe bar — full-viewport dark overlay, sweeps left→right on link-out */
/* Static Burst chrome. Renamed from the model's page-private `fl718-sd-`
   prefix to the shared `fl718-after-` one — a shared file cannot carry one
   page's prefix. The JS and the markup element are renamed to match; all
   three must move together or the burst loses its bar. */
body.fl718-after-content .fl718-after-wipe-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #111;
  transform: translateX(-100%);
  pointer-events: none;
  z-index: 9999;
}

/* Burst chars — fixed-position spans appended to body during link-out */
body.fl718-after-content .fl718-after-burst-char {
  position: fixed;
  font-family: 'Courier Prime', monospace;
  font-size: 9px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  z-index: 200;
}

/* ── 5. BOTTOM RULE ───────────────────────────────────────── */
body.fl718-after-content .fl718-intl-after__bottom-rule {
  width: 100%;
  height: 1px;
  background: #ccc6bc;
  margin-bottom: 28px;
}

/* ── 6. TAXONOMY ──────────────────────────────────────────── */
body.fl718-after-content .fl718-intl-after__taxonomy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

body.fl718-after-content .fl718-intl-after__tax-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; /* was 12px — section-wide type bump 2026-08-20 */
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d645d; /* WCAG AA 2026-08-20 (BUG-061) — was #9a9088, 2.82:1. Now 5.22:1 on #f5f3ef, 5.07:1 on #f0f0ed. */
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

body.fl718-after-content .fl718-intl-after__tax-link:hover {
  color: #3d3530;
}

body.fl718-after-content .fl718-intl-after__tax-sep {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; /* was 12px — section-wide type bump 2026-08-20 */
  color: #ccc6bc;
  padding: 0 14px;
  user-select: none;
}

/* ── Animation initial states ──────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  body.fl718-after-content .fl718-intl-after__dateline  { opacity: 0; } /* JS sets to 1 before char split */
  body.fl718-after-content .fl718-intl-after__rule      { transform: scaleX(0); }
  body.fl718-after-content .fl718-intl-after__eyebrow   { opacity: 0; }
  body.fl718-after-content .fl718-ws-city               { opacity: 0; }
  body.fl718-after-content .fl718-intl-after__bottom-rule { opacity: 0; }
  body.fl718-after-content .fl718-intl-after__taxonomy  { opacity: 0; } /* JS sets to 1 before char split */
}

/* ── No-JS guard ───────────────────────────────────────────────
   The initial states above are inside `no-preference`, and the entrance IIFE
   returns early under `reduce`, so a reduced-motion visitor never matches them
   and the section is visible on both paths. The uncovered case is JS failing
   to run at all: nothing would clear opacity:0 and the whole section would be
   permanently invisible. `fl718-js-loaded` is set by the page's own JS, so
   until it lands the section renders plainly.
   ──────────────────────────────────────────────────────────── */
body.fl718-after-content:not(.fl718-js-loaded) .fl718-intl-after__dateline,
body.fl718-after-content:not(.fl718-js-loaded) .fl718-intl-after__eyebrow,
body.fl718-after-content:not(.fl718-js-loaded) .fl718-intl-after__acknowledgment,
body.fl718-after-content:not(.fl718-js-loaded) .fl718-intl-after__bottom-rule,
body.fl718-after-content:not(.fl718-js-loaded) .fl718-intl-after__taxonomy,
body.fl718-after-content:not(.fl718-js-loaded) .fl718-ws-city {
  opacity: 1;
}
body.fl718-after-content:not(.fl718-js-loaded) .fl718-intl-after__rule {
  transform: scaleX(1);
}

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 700px) {
  body.fl718-after-content .fl718-intl-after {
    padding: 64px 0 100px;
  }

  body.fl718-after-content .fl718-intl-after__dateline {
    padding: 0 24px;
    flex-direction: column;
    gap: 6px;
  }

  body.fl718-after-content .fl718-intl-after__sep {
    display: none;
  }

  body.fl718-after-content .fl718-intl-after__rule,
  body.fl718-after-content .fl718-intl-after__bottom-rule {
    margin-left: 24px;
    margin-right: 24px;
    width: calc(100% - 48px);
  }

  body.fl718-after-content .fl718-intl-after__eyebrow {
    padding: 0 24px;
  }

  /* Horizontal scroll strip on mobile */
  body.fl718-after-content .fl718-intl-after__strip {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body.fl718-after-content .fl718-intl-after__strip::-webkit-scrollbar {
    display: none;
  }

  /* .fl718-ws-city mobile sizing (155px × 104px, scroll-snap) lives in fl718-ws-city-system.css */

  body.fl718-after-content .fl718-intl-after__taxonomy {
    padding: 0 24px;
  }
}
/* ── 7. LAND ACKNOWLEDGMENT ───────────────────────────────────
   Kept on every page that carries one (Grand Canyon, Monument Valley, Taos).
   Placement and type are Variants B and C of
   after-content-EXPLORATION-working-strip.html, approved by Seamus 2026-08-20:
   inside the section, between the rule and the eyebrow, at the proposed 14px
   rather than the 12px/300 that shipped before.
   ──────────────────────────────────────────────────────────── */
body.fl718-after-content .fl718-intl-after__acknowledgment {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.65;
  color: #635b54;
  margin: 0 0 28px;
  max-width: 632px;
}

@media (prefers-reduced-motion: no-preference) {
  body.fl718-after-content .fl718-intl-after__acknowledgment { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  body.fl718-after-content .fl718-intl-after__acknowledgment {
    opacity: 1 !important;
    transform: none !important;
  }
}
