/* ERDF component styles. Values come from tokens.css custom properties
   (generated from design/erdf-tokens.json). No !important against theme
   inline CSS: when a value renders wrong, fix the token or the theme setting
   (tech-spec 3.2). */

/* ---------- base ---------- */

body {
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: var(--size-base);
  line-height: var(--leading-body);
}

/* .entry-content variants match the specificity of Astra's own
   `.entry-content :where(hN)` default rules, which otherwise out-rank bare
   element selectors. Cascade order does the rest; no !important (tech-spec 3.2). */
h1, h2, h3, h4,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
  font-family: var(--font-display);
  color: var(--ink-navy);
  line-height: var(--leading-heading);
}

h1, .entry-content h1 { font-size: var(--size-3xl); font-weight: 500; letter-spacing: -0.01em; }
h2, .entry-content h2 { font-size: var(--size-2xl); font-weight: 600; }
h3, .entry-content h3 { font-size: var(--size-xl); font-weight: 600; }

.entry-content > p { max-width: var(--measure); }

/* ---------- shared atoms ---------- */

.erdf-eyebrow {
  font-family: var(--font-body);
  font-size: var(--size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--grey-mid);
}

.erdf-imgcap {
  font-size: var(--size-xs);
  color: var(--grey-mid);
}

.erdf-btn,
.erdf-btn-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-target);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
}

.erdf-btn {
  background: var(--erdf-blue);
  color: #fff;
  border: 1.5px solid var(--erdf-blue);
}
.erdf-btn:hover { background: var(--erdf-blue-dark); border-color: var(--erdf-blue-dark); color: #fff; }

.erdf-btn-quiet {
  background: transparent;
  color: var(--erdf-blue-dark);
  border: 1.5px solid var(--erdf-blue-dark);
}
.erdf-btn-quiet:hover { background: rgba(46, 117, 182, 0.08); }

.erdf-btn-quiet-light { color: var(--warm-white); border-color: var(--warm-white); }
.erdf-btn-quiet-light:hover { background: rgba(253, 251, 246, 0.12); color: var(--warm-white); }

.erdf-draft-chip {
  display: inline-block;
  border: 1px solid var(--rain-yellow);
  color: var(--accent-gold);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 7px;
  border-radius: 3px;
}

/* ---------- header CTAs (Astra builder elements) ---------- */

/* Styling is enforced here from tokens so it does not depend on guessing
   Astra's per-element style option keys. Placement comes from the provisioned
   builder layout. Both header pills are QUIET (concept-1 approved render,
   design direction 3.4): the loud tier fires once, in the ask section. */
.ast-header-button-1 .ast-custom-button,
.ast-builder-button-wrap .ast-custom-button {
  background: transparent;
  color: var(--erdf-blue-dark);
  border: 1.5px solid var(--erdf-blue-dark);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
  min-height: var(--touch-target);
  display: inline-flex;
  align-items: center;
}
.ast-header-button-1 .ast-custom-button:hover {
  background: rgba(46, 117, 182, 0.08);
  border-color: var(--erdf-blue-dark);
  color: var(--erdf-blue-dark);
}
.ast-header-button-1 .ast-custom-button,
.ast-builder-html-element .erdf-btn-quiet { white-space: nowrap; }

.erdf-header-cta-fallback {
  display: flex;
  gap: var(--space-1);
  justify-content: center;
  padding: 8px var(--gutter);
  background: var(--warm-white);
  border-bottom: 1px solid var(--hairline);
}

/* Compact labels at phone widths; 44px touch height holds (tech-spec 13).
   Sized so logo + both CTAs + hamburger fit a 390px row with no horizontal
   overflow (tech-spec 10: nothing overflows at base). */
@media (max-width: 767px) {
  .ast-header-button-1 .ast-custom-button,
  .erdf-btn, .erdf-btn-quiet { padding: 8px 12px; font-size: 14px; }
}
@media (max-width: 543px) {
  .ast-header-button-1 .ast-custom-button,
  .site-header .erdf-btn-quiet { padding: 5px 7px; font-size: 12px; }
  .site-header-primary-section-right { gap: 2px; }
  .site-header-primary-section-right .ast-builder-layout-element { margin: 0 1px; padding: 0; }
  .site-header .ast-builder-grid-row,
  .ast-header-break-point .site-header .ast-builder-grid-row { padding-left: 8px; padding-right: 8px; }
  .site-header .ast-builder-layout-element .ast-button-wrap .menu-toggle { padding: 8px; }
}
@media (max-width: 375px) {
  .site-header .ast-container,
  .ast-header-break-point .site-header .ast-container { padding-left: 6px; padding-right: 6px; }
  /* The mobile header bar adds its own 20px side padding on top of the
     row's; at base widths the row's 8px is the whole gutter. */
  .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-primary-header-bar { padding-left: 0; padding-right: 0; }
  .site-header .ast-site-identity { padding: 4px 0; }
  .site-header .site-header-primary-section-left { gap: 0; }
  .ast-header-button-1 .ast-custom-button,
  .site-header .erdf-btn-quiet { padding: 5px 6px; font-size: 11.5px; }
}

/* ---------- Astra's own dynamic CSS, out-ranked ---------- */

/* Astra prints two rules of its own inline in <head>, after every enqueued
   theme stylesheet. Both govern spacing this site computes for itself, and
   both were winning silently. Neither is fought with !important: the house
   rule at the top of this file stands, so each fix out-ranks Astra on
   specificity instead. Vertical rhythm sweep, 2026-08-18.

   Rule 1, from Customizer > Layout > Container spacing:
     @media (min-width:1200px){
       .ast-plain-container.ast-no-sidebar #primary {
         margin-top:60px; margin-bottom:60px } }
   Specificity (1,2,0). The two per-template resets we already shipped,
   .erdf-pru #primary and .erdf-ls #primary, are (1,1,0) and lose on
   specificity, which is compared before source order. No template on this
   site wants Astra's layout spacing; every one computes its own from
   --col-inset (design-system.md 3.1). .erdf-chrome is in body_class on every
   template, including the two with no other shared class, so one rule here
   reaches a template class that does not exist yet. Repeated three times to
   reach (1,3,0), which beats (1,2,0) outright. */
.erdf-chrome.erdf-chrome.erdf-chrome #primary {
  margin-block: 0;
}

/* ---------- sections ---------- */

/* Rule 2 of Astra's inline pair, found on /donate-save-a-life/:
     .entry-content > .wp-block-group {
       padding-top: var(--wp--custom--ast-default-block-top-padding); ... }
   Specificity (0,2,0). Every block on a transaction page and on a page built
   from erdf/standard-page is a .wp-block-group.erdf-section sitting directly
   inside .entry-content, so a single-class .erdf-section rule at (0,1,0) has
   never painted on either. The values below are the ones this rule has always
   declared. Tripling the class takes it to (0,3,0) so it can finally win. */
.erdf-section.erdf-section.erdf-section {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

/* The shared head band, wherever a page opens on a plain or tinted
   .erdf-section: class T's .erdf-txn-head, class I's .erdf-section-tint, and
   any page later built from erdf/event-page. :first-child costs one
   specificity column, the same as a repeated class, so this also reaches
   (0,3,0). It names the real structural condition, the first thing in the
   content, rather than listing page classes. That ties the rule above, and a
   tie is settled by source order, so this MUST stay below it in this file.
   The values mirror .pagehead's, which is the one-treatment goal. */
.entry-content > .erdf-section:first-child {
  padding-top: var(--space-6);
  padding-bottom: var(--space-4);
}

/* The section straight after that head pays the reduced top charge .pagehead's
   own sibling pays on class P. One of two adjacent charges gives way; never
   both. (0,4,0), so it beats both rules above outright and does not lean on
   file order. */
.entry-content > .erdf-section:first-child + .erdf-section {
  padding-top: var(--space-6);
}

.erdf-section-tint { background: var(--blue-tint); }
.erdf-section-dark { background: var(--ink-navy); color: var(--warm-white); }
.erdf-section-dark h2, .erdf-section-dark h3 { color: var(--warm-white); }

/* A dark closing band handing straight off to the footer, which is the same
   ink-navy, needs a seam or the two read as one field roughly 430px tall. The
   60px Astra margin removed above was doing that job by accident on two pages.
   Keyed to the colour relationship rather than to page names: any future
   closing section carrying erdf-section-dark picks this up. Margin, not
   padding, so it competes with nothing above.

   FOUR classes, not the two the direction specified. Both surfaces that need
   this already neutralise Astra with `.erdf-pru .entry-content > *` and
   `.erdf-ls .entry-content > *`, each setting margin-block:0 at (0,3,0). A
   two-class selector loses to them and the seam would never paint, which is
   the exact failure this whole sweep exists to clear. (0,4,0) wins.
   Measured in a browser, not reasoned about, 2026-08-18. */
.erdf-section-dark.erdf-section-dark.erdf-section-dark:last-child {
  margin-bottom: var(--space-8);
}

/* ---------- hero ---------- */

/* Concept-1 hero geometry (concept-1-near-miss.html .hero): a near-full-
   screen moment, not a strip. 85vh base; 21:9 capped at 90vh on desktop. */
.erdf-hero { min-height: max(85vh, 460px); }
@media (min-width: 1024px) {
  .erdf-hero { min-height: 560px; height: auto; aspect-ratio: 21 / 9; max-height: 90vh; }
}
.erdf-hero .wp-block-cover__image-background { filter: var(--warm-photo); }
.erdf-hero .erdf-eyebrow,
.erdf-hero .erdf-imgcap { color: var(--warm-white); text-shadow: 0 1px 14px rgba(34, 49, 74, 0.7); }
.erdf-hero h1 {
  color: var(--warm-white);
  font-size: var(--size-4xl);
  line-height: var(--leading-hero);
  max-width: 22ch;
  text-shadow: 0 1px 24px rgba(34, 49, 74, 0.5);
}
.erdf-hero .erdf-hero-sub {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: var(--size-lg);
  color: var(--warm-white);
  max-width: 34ch;
  text-shadow: 0 1px 20px rgba(34, 49, 74, 0.5);
}

/* ---------- quotes / Love Stories ---------- */

.erdf-quote, .wp-block-pullquote.erdf-quote {
  border: 0;
  padding: 0;
}
.erdf-quote blockquote p {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: var(--size-lg);
  color: var(--ink-navy);
  line-height: 1.5;
}
.erdf-quote cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--size-sm);
  color: var(--grey-mid);
}

/* ---------- giving form (tech-spec 6.1) ---------- */

/* Reserved vertical space so a slow LGL embed does not shift the page. */
.erdf-giving-form { min-height: 640px; }
.erdf-giving-form .erdf-form-fallback { padding: var(--space-3) 0; }
.erdf-form-trouble {
  font-size: var(--size-sm);
  color: var(--grey-mid);
}

/* ---------- footer ---------- */

/* The last page of the book: ink-navy ground, warm-white voice. */
.site-footer {
  background: var(--ink-navy);
  color: var(--blue-tint);
}
.site-footer a { color: var(--warm-white); }
.site-footer .ast-footer-copyright,
.site-footer .ast-footer-copyright p {
  color: var(--footer-legal);
  font-size: var(--size-xs);
}

.erdf-footer-blurb {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: var(--size-lg);
  color: var(--warm-white);
}
.erdf-footer-contact { color: var(--blue-tint); font-size: var(--size-sm); }
.erdf-footer-contact a { color: var(--warm-white); }
.erdf-footer-cta { display: flex; flex-wrap: wrap; gap: var(--space-1); margin-bottom: var(--space-3); }
/* No custom search forms: Astra's header/footer html elements strip
   form/input/label through kses (leaving orphaned buttons). Search is
   Astra's native element: slide-out icon on desktop, in the hamburger
   popup on phones. */
.erdf-footer-social { font-size: var(--size-sm); }
.erdf-footer-social a { color: var(--warm-white); text-decoration: none; }

.site-footer a:hover { color: var(--rain-yellow); }

/* ---------- images ---------- */

/* Focal-point pipeline hook (tech-spec 9.4): apply-focal.php stores
   per-image object-position meta, read by the attachment-attributes filter
   in a later pass; this rule keeps crops sane meanwhile. */
.erdf-card-image img { object-fit: cover; object-position: 50% 38%; }

/* ---------- landing v1 (design/landing-v1-direction.md) ---------- */

/* Potential-loss: full-bleed cover, shorter than the hero and a different
   crop so the two photo moments read as related, not duplicates. The
   margin-top is the seam: without it the hero and this band fuse into one
   broken-looking double image. */
.erdf-loss { min-height: 55vh; margin-top: var(--space-8); }
.erdf-loss .wp-block-cover__image-background {
  filter: var(--warm-photo);
  object-position: 55% 45%; /* keep the family's faces and willow in frame */
}
.erdf-loss h2 {
  color: var(--warm-white);
  max-width: 20ch;
  text-shadow: 0 1px 18px rgba(34, 49, 74, 0.6);
}
.erdf-loss-lead {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: var(--size-lg);
  color: var(--warm-white);
  max-width: 34ch;
  text-shadow: 0 1px 14px rgba(34, 49, 74, 0.6);
}
@media (min-width: 1024px) {
  .erdf-loss { min-height: 65vh; }
  /* Wide viewports crop a 4:3 source hard vertically; hold the upper-middle
     band so the kneeling family stays in frame with the dog. */
  .erdf-loss .wp-block-cover__image-background { object-position: 50% 32%; }
}

/* Love Stories: two curated cards, radius-card, photo top, quote leading.
   Section sits on warm-white (concept-1 dropped the full blue-tint band);
   the hairline card borders carry the separation. */
.erdf-story-cards { background: var(--warm-white); }
.erdf-story-cards .wp-block-columns { gap: var(--space-4); }
.erdf-more-link { text-align: center; margin-top: var(--space-3); }
.erdf-story-card {
  background: var(--warm-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 100%;
}
.erdf-story-card .erdf-card-image { margin: 0; }
.erdf-story-card .erdf-card-image img { width: 100%; }
.erdf-story-card-body { padding: var(--space-3); }
.erdf-card-quote,
.wp-block-pullquote.erdf-card-quote { border: 0; margin: 0; padding: 0; text-align: left; }
/* Coral opening glyph (concept-1 card accent); overrides any theme default. */
.erdf-card-quote blockquote::before,
.erdf-quote blockquote::before {
  content: "\201C";
  display: block;
  color: var(--accent-coral);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
}
.erdf-card-quote blockquote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--size-lg);
  font-style: normal;
  color: var(--ink-navy);
  line-height: 1.4;
}
.erdf-card-quote cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--size-sm);
  color: var(--grey-mid);
}
.erdf-story-card .erdf-card-caption { font-size: var(--size-sm); color: var(--grey-mid); }

/* The ask: one composed warm-white section, space-4 internal rhythm. */
.erdf-ask .erdf-ask-lead { font-size: var(--size-lg); }

.erdf-diagram { position: relative; }
.erdf-diagram::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 56px;
  bottom: 28px;
  border-left: 2px dotted var(--hairline);
}
.erdf-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-badge);
  background: var(--blue-tint);
  color: var(--erdf-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* sits over the dashed connector */
}
.erdf-badge svg { width: 26px; height: 26px; }
.erdf-diagram h3 { font-size: var(--size-lg); }
@media (min-width: 1024px) {
  .erdf-diagram::before {
    left: 14%;
    right: 14%;
    top: 28px;
    bottom: auto;
    border-left: none;
    border-top: 2px dotted var(--hairline);
  }
}

.erdf-trust-line { font-size: var(--size-sm); color: var(--grey-mid); }

/* Impact figures: numeral scale restored (concept-1 4.4), quiet rules,
   no separate colored band. Lives in the synced pattern markup. */
.erdf-impact-figures {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: var(--space-6) 0;
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 768px) {
  .erdf-impact-figures { grid-template-columns: 1fr 1fr; }
}
.erdf-impact-pre {
  font-size: var(--size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--grey-mid);
}
.erdf-impact-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink-navy);
}
@media (min-width: 1024px) {
  .erdf-impact-num { font-size: 56px; }
}
.erdf-impact-num::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin: var(--space-2) 0 0;
  background: var(--accent-coral);
}
.erdf-impact-fig-2 .erdf-impact-num::after { background: var(--accent-teal); }
.erdf-impact-lbl { color: var(--charcoal); }
/* Collapse the gaps inside each figure so pre/num/label read as one unit.
   Two classes: WP's late-printed layout styles and Astra's em-scaled
   paragraph margins (1.1em of a 56px numeral is 60px) both tie a single
   class on specificity (tech-spec 3.2: outrank, never !important). */
.erdf-impact-figures .erdf-impact-fig-1 > * + *,
.erdf-impact-figures .erdf-impact-fig-2 > * + * { margin-block-start: 4px; }
.erdf-impact-figures .erdf-impact-pre,
.erdf-impact-figures .erdf-impact-num,
.erdf-impact-figures .erdf-impact-lbl { margin-top: 0; margin-bottom: 0; }

/* Constrained layout centers the 26ch box; centered text makes that read
   as a deliberate aside rather than a stray fragment. */
.erdf-perlife {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: var(--size-lg);
  color: var(--ink-navy);
  max-width: 26ch;
  text-align: center;
}
/* The DRAFT chip as a <mark>: kill the browser's yellow highlight. */
mark.erdf-draft-chip { background: transparent; font-style: normal; }

/* Dual perspective: two radius-card photo cards, one shared quote. */
.erdf-persp .wp-block-columns { gap: var(--space-4); }
.erdf-persp-card {
  background: var(--warm-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 100%;
}
.erdf-persp-card .erdf-card-image { margin: 0; }
.erdf-persp-card .erdf-card-image img { width: 100%; }
.erdf-persp-card .erdf-imgcap { padding: var(--space-2) var(--space-3); }

/* Loud CTA tier: fires once, in the ask, after the arc has landed.
   Centered and sized up so the close reads composed, not trailing. */
.erdf-ask .wp-block-buttons {
  justify-content: center;
  margin-top: var(--space-6);
  gap: var(--space-2);
}
.erdf-ask .wp-block-button__link { padding: 12px 28px; font-size: 16px; }
.erdf-ask-donate .wp-block-button__link {
  background: var(--accent-coral);
  border: 1.5px solid var(--accent-coral);
  color: #fff;
  border-radius: var(--radius-pill);
}
.erdf-ask-donate .wp-block-button__link:hover { filter: brightness(0.92); color: #fff; }
.erdf-ask .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 1.5px solid var(--erdf-blue-dark);
  color: var(--erdf-blue-dark);
  border-radius: var(--radius-pill);
}

/* ---------- keyboard focus, site-wide (B17, 2026-10-03) ---------- */
/* ONE INDICATOR for every template that does not draw its own: the yellow
   ring with navy on both sides of it, --focus-ring and --focus-edge from
   tokens.css (design/erdf-tokens.json). It is the treatment approved for the
   photo Download mark on 2026-10-02, used here because the yellow alone fails:
   rain-yellow on warm-white is 1.71:1 and a focus indicator needs 3:1. With
   navy either side, the yellow always touches navy (7.4:1), the outer navy
   holds 12.6:1 on cream and white, and on the navy footer or a navy band the
   yellow itself carries 7.4:1. Over a photograph one of the two always holds.
   WHAT THIS REPLACES, measured on staging 2026-10-03: Astra resets focus
   (`button:focus { outline: 0 }`, `a:focus-visible { outline: thin dotted
   currentColor }`, `input[type=text]:focus { outline: none }`), so on the Love
   Story, Love Stories, events and All Things Pets templates the archive search,
   its Dog/Cat/video chips, the newsletter field and button, the core "See all"
   buttons and the ask-band Donate showed no focus at all, and links showed a
   1px dotted line.
   WHY THIS SPECIFICITY, (0,2,2). It beats every Astra reset (0,1,1 to 0,2,1)
   and the resting box-shadow some components set at (0,2,0), and it still
   loses to a component's own (0,3,0) focus rule, which stays as approved: the
   Love Story photo tile, the photo mark and the inset rings on the opening
   photo and opening film.
   NOT THE LANDING PAGE AND NOT THE P/R/U PAGES. Those draw their own ring
   (`.erdf-lp :focus-visible` in landing.css, `.erdf-pru :focus-visible` in
   pages.css) and are not this file's to change. The chrome (header, menus,
   mobile panel, footer) takes this same indicator on every page, landing and
   P/R/U included, from chrome.css. */
body:not(.erdf-lp, .erdf-pru) :is(a, button, summary, input, select, textarea):focus-visible,
body:not(.erdf-lp, .erdf-pru) :where([tabindex]:not([tabindex="-1"])):focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  box-shadow: var(--focus-edge);
}
/* The landing page and the P/R/U pages take the same indicator. Their own ring
   (`.erdf-lp :focus-visible` in landing.css, `.erdf-pru :focus-visible` in
   pages.css, both 3px --erdf-blue-dark at 0,2,0) is 8.4:1 on cream but 1.51:1 on
   their navy closing bands and on play buttons over photographs. Both files are
   generated (landing.css from the target-b build, pages.css from the read-only
   P/R/U spec), so the override lives here, one element higher at (0,2,1), and
   their generators stay as they are. Component focus rules at (0,3,0) still win. */
body.erdf-lp :focus-visible,
body.erdf-pru :focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  box-shadow: var(--focus-edge);
}
/* Download all photos. The quiet-button reset in ls-lightbox.css
   (`.btn.btn-quiet.pdl-btn { box-shadow: none }`, three classes) out-ranks the
   rule above, so the button kept a bare yellow ring on cream, 1.71:1. The edge
   goes back one class higher. */
.erdf-ls-story .btn.btn-quiet.pdl-btn:focus-visible { box-shadow: var(--focus-edge); }
/* THE OPENING PHOTOGRAPH AND THE OPENING FILM of a Love Story fill a frame that
   clips (overflow hidden, the rounded top-right corner), so their ring was set
   inside the frame as an outline with a negative offset. On the photograph
   that ring never painted: the image carries --warm-photo, a filter, which
   makes it its own layer, and it covers its parent button's outline. Measured
   2026-10-03 on Kimber's story: focused and unfocused frames identical, no
   yellow anywhere along the edge. On the film the yellow did paint, alone on
   the photograph, where a bright sky took it under 3:1.
   So the indicator is drawn on a layer above the picture, inside the frame:
   navy, yellow, navy, 2px, 3px and 2px, the same three bands as everywhere
   else, from the same tokens. border-radius: inherit carries the frame's
   rounded corner so the bands follow it rather than being cut by it. */
body.erdf-ls-story .open-photo .lb-open { position: relative; border-radius: inherit; }
body.erdf-ls-story .open-vid-play { border-radius: inherit; }
body.erdf-ls-story :is(.open-photo .lb-open, .open-vid-play):focus-visible { outline: none; box-shadow: none; }
body.erdf-ls-story :is(.open-photo .lb-open, .open-vid-play):focus-visible::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--ink-navy), inset 0 0 0 5px var(--rain-yellow),
              inset 0 0 0 7px var(--ink-navy);
}

/* Newsletter signups (B10): Gravity Forms prints its own '"(required)" indicates required
   fields' line above the fields. Each required label already says "(required)", and the
   accepted design has no such line, so it is hidden in our two newsletter forms only
   (their wrappers carry the erdf-nl- classes set on the forms). 2026-10-05. */
body .gform_wrapper[class*="erdf-nl-"] .gform_required_legend { display: none; }
