/**
 * @theme Savannah — Flamingo Magazine
 * @version 2.2
 * @description Layer 6 of 6 · PROJECT FILE · loads last. Bespoke rows and
 *              modules for this project only; nothing in this file
 *              travels to another build.
 *
 * NAMING (NAMING.md §1, §3)
 *   fm_row_[name]      a Beaver Builder row
 *   fm_module_[name]   a single module inside a row
 *
 * WHAT DOES NOT BELONG HERE
 *   Row padding or width   -> jcd_band_* / jcd_width_* on the same row
 *   Component treatment    -> jcd_ui_* in _components.css
 *   Colour or type values  -> _tokens.css
 *
 * DESIGN VALUES. Loveable values off the 4pt scale map to the nearest step,
 * ties rounding down. A design size with no token is a literal, scoped to
 * its row and named in that section's notes. Where the design's colour fails
 * WCAG AA, the passing token wins — neutral-400 text becomes
 * --jcd-color-muted.
 *
 * KICKERS: every kicker tracks at --jcd-tracking-kicker — never a literal
 * or another tracking token.
 *
 * PLAYFAIR ships no 300. Wherever the design sets Playfair in font-light, it
 * renders at --jcd-weight-regular.
 *
 * SETUP — row classes, module settings, template markup — lives in the build
 * guide, not in this file. Notes moved out in the November 2026 comment pass
 * are in build-guide-extract.md, under the section they came from.
 *
 * SECTIONS: # 01 to # 72, in load order. Two older blocks sit inside other
 * sections for load order and are labeled where they stand: the Print
 * Issues cover shelf (in # 58) and the login page (in # 63).
 */


/* ==========================================================================
   # 01. HERO FLAGSHIP
   ========================================================================== */

/**
 * EVERY PROPERTY THE DESIGN SETS IS DECLARED HERE. Nothing is left for the BB
 * skin, PowerPack's defaults or a module field to fill in — that gap is where
 * the grey #333 headline and blue kicker came from.
 *
 * SPECIFICITY: selectors start .fm_row_hero_flagship .pp-content-post,
 * (0,3,0) at minimum. That clears the BB skin (0,0,1), BB's Bootstrap base
 * (0,1,1) and PowerPack node CSS (0,2,0). If a rule here still loses, a value
 * has been typed into the module's Style, Typography or CSS tab — clear the
 * field. Do not raise specificity further.
 *
 * Literal rem values mark design sizes with no kit token (60px, 14px, 896px,
 * 672px). They are deliberate, and scoped to this one row.
 */

.fm_row_hero_flagship {
  --jcd-media-ratio: 21 / 9;
}

/**
 * Containing block for the title link's ::after overlay. PowerPack may
 * write position:absolute inline for its grid — that still works.
 */
.fm_row_hero_flagship .pp-content-post {
  position: relative;
}

/* Image */
.fm_row_hero_flagship .pp-content-post .jcd_ui_post_media img {
  height: auto;
  transition-duration: 700ms;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0); /* GPU layer — stops shake */
}

.fm_row_hero_flagship .pp-content-post:hover .jcd_ui_post_media img,
.fm_row_hero_flagship .pp-content-post:has(a:focus-visible) .jcd_ui_post_media img {
  transform: scale(1.01);
}

/* Text block */
.fm_row_hero_flagship .pp-content-post .pp-content-grid-post-text {
  display: block;
  max-width: 56rem;
  margin: var(--jcd-space-xl) auto 0;
  padding: 0;
  text-align: center;
}

/* Kicker */
/* Sitewide rule: every eyebrow tracks at --jcd-tracking-kicker. */
.fm_row_hero_flagship .pp-content-post .jcd_ui_kicker,
.fm_row_hero_flagship .pp-content-post .jcd_ui_kicker a {
  margin: 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.5;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-accent-text);
  text-decoration: none;
}

/* Headline */
/**
 * Serif, matching the article-card headlines (§ related rows) — client
 * change request 2026-10-20. Playfair ships no 300, so regular.
 */
.fm_row_hero_flagship .pp-content-post .pp-content-grid-post-title {
  margin: 1.25rem 0 0;
  padding: 0;
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-display);
  font-weight: var(--jcd-weight-regular);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--jcd-color-ink);
}

.fm_row_hero_flagship .pp-content-post .pp-content-grid-post-title a {
  color: inherit;
  text-decoration: none;
}

/**
 * One link per card: the title's ::after covers the whole card, so the
 * click target is the full card and the accessibility tree sees one
 * link. The read link below is therefore a decorative span, never an
 * <a> — a second link to the same place is a second tab stop.
 */
.fm_row_hero_flagship .pp-content-post .pp-content-grid-post-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.fm_row_hero_flagship .pp-content-post .pp-content-grid-post-title a:focus-visible {
  outline: none;
}

.fm_row_hero_flagship .pp-content-post:has(a:focus-visible) {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: var(--jcd-space-xs);
}

/* Excerpt (ACF article_subheading) */
.fm_row_hero_flagship .pp-content-post .pp-content-grid-post-excerpt {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  padding: 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-lead);
  font-weight: var(--jcd-weight-regular);
  line-height: 1.625;
  letter-spacing: normal;
  color: #525252;
}

.fm_row_hero_flagship .pp-content-post .pp-content-grid-post-excerpt p {
  margin: 0;
}

/* Read link */
/**
 * Builds on the kit's jcd_ui_read_link. On hover its gap grows rather than
 * the arrow sliding.
 */
.fm_row_hero_flagship .pp-content-post .jcd_ui_read_link {
  margin-top: 2rem;
  gap: 0.5rem;
  padding-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: var(--jcd-weight-semi);
  letter-spacing: 0.22em;
  color: var(--jcd-color-ink);
  border-bottom: 1px solid var(--jcd-color-ink);
}

.fm_row_hero_flagship .pp-content-post:hover .jcd_ui_read_link,
.fm_row_hero_flagship .pp-content-post:has(a:focus-visible) .jcd_ui_read_link {
  gap: 0.75rem;
  color: var(--jcd-color-accent-text);
  border-bottom-color: var(--jcd-color-accent-text);
}

.fm_row_hero_flagship .pp-content-post:hover .jcd_ui_read_link::after,
.fm_row_hero_flagship .pp-content-post:has(a:focus-visible) .jcd_ui_read_link::after {
  transform: none;
}

/* Responsive */
/* The design steps at 1024 / 768; the kit's breakpoints are 992 / 768. */
@media (max-width: 992px) {
  .fm_row_hero_flagship .pp-content-post .pp-content-grid-post-title {
    font-size: 3.75rem;
  }
}

@media (max-width: 768px) {
  .fm_row_hero_flagship .pp-content-post .pp-content-grid-post-title {
    font-size: var(--jcd-text-h2);
  }
  .fm_row_hero_flagship .pp-content-post .pp-content-grid-post-excerpt {
    font-size: var(--jcd-text-body);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fm_row_hero_flagship .pp-content-post:hover .jcd_ui_post_media img,
  .fm_row_hero_flagship .pp-content-post:has(a:focus-visible) .jcd_ui_post_media img {
    transform: none;
  }
  .fm_row_hero_flagship .pp-content-post .jcd_ui_read_link {
    transition: none;
  }
}


/* ==========================================================================
   # 02. MOST READ / READER FAVORITES
   ========================================================================== */

/* No numbered badges — client decision 2026-09-28. */

/* Row background */
.section_is_most_read {
  background-color: var(--jcd-color-paper-alt);
}

/* Section header wrapper */
.fm_most_read_section_header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  padding-bottom: 20px;
  width: 100%;
}

/* Kicker */
.fm_most_read_kicker {
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-accent-text);
  margin: 0 0 8px;
  line-height: 1.5;
}

/* Section heading H2 */
.fm_most_read_heading {
  font-family: var(--jcd-font-heading);
  font-size: 30px;
  font-weight: var(--jcd-weight-display);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--jcd-color-ink);
  margin: 0;
  text-transform: none;
}

@media (min-width: 768px) {
  .fm_most_read_heading { font-size: 36px; }
}

/* View All link */
.fm_most_read_view_all {
  font-family: var(--jcd-font-sans);
  font-size: 12px;
  font-weight: var(--jcd-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #737373;
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms ease;
}

/**
 * The arrow is its own span so it can sit on the optical centre of the
 * capitals. A text arrow rides the font's math axis, below the middle
 * of an all-caps label; nudged up by a tenth of an em.
 * Markup: View All <span aria-hidden="true">→</span>
 */
.fm_most_read_view_all {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.fm_most_read_view_all span[aria-hidden="true"] {
  display: inline-block;
  line-height: 1;
  transform: translateY(-0.1em);
}

.fm_most_read_view_all:hover,
.fm_most_read_view_all:focus {
  color: var(--jcd-color-ink);
  text-decoration: none;
}

/* Card kicker (category) */
.fm_row_most_read .pp-content-grid-post-text .jcd_ui_kicker,
.fm_row_most_read .pp-content-grid-post-text .jcd_ui_kicker a {
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  letter-spacing: var(--jcd-tracking-kicker);
  margin-top: 20px;
  margin-bottom: 0;
  color: var(--jcd-color-accent-text);
}

/* Card title (H3) — serif, matching the article cards (2026-10-20) */
.fm_row_most_read .pp-content-grid-post-title {
  font-family: var(--jcd-font-serif);
  font-size: 20px;
  font-weight: var(--jcd-weight-regular);
  line-height: 1.375;
  letter-spacing: -0.025em;
  color: var(--jcd-color-ink);
  margin-top: 12px;
  margin-bottom: 0;
  text-transform: none;
}

.fm_row_most_read .pp-content-grid-post-title a {
  color: inherit;
  text-decoration: none;
}

/* Card excerpt */
.fm_row_most_read .pp-content-grid-post-excerpt {
  font-family: var(--jcd-font-sans);
  font-size: 14px;
  font-weight: var(--jcd-weight-regular);
  line-height: 1.625;
  color: #525252;
  margin-top: 8px;
  margin-bottom: 0;
}

/* Read More link */
.fm_most_read_read_more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--jcd-font-sans);
  font-size: 12px;
  font-weight: var(--jcd-weight-semi);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--jcd-color-ink);
  text-decoration: none;
  transition: color 200ms ease;
}

.fm_most_read_read_more span:first-child {
  border-bottom: 1px solid var(--jcd-color-ink);
  padding-bottom: 2px;
  transition: border-color 200ms ease, color 200ms ease;
}

.fm_most_read_read_more span:last-child {
  transition: transform 300ms ease;
}

.fm_most_read_read_more:hover,
.fm_most_read_read_more:focus {
  color: var(--jcd-color-accent-text);
}

.fm_most_read_read_more:hover span:first-child,
.fm_most_read_read_more:focus span:first-child {
  border-color: var(--jcd-color-accent-text);
}

.fm_most_read_read_more:hover span:last-child,
.fm_most_read_read_more:focus span:last-child {
  transform: translateX(4px);
}

/* Text block rhythm */
/* First child of the text block is always the kicker. */
.fm_row_most_read .pp-content-grid-post-text > *:first-child {
  margin-top: 20px;
}

.fm_row_most_read .pp-content-grid-post-text > * {
  margin-top: 0;
  margin-bottom: 0;
}

/* Image / ratio */
.fm_row_most_read {
  --jcd-media-ratio: 4 / 3;
}

/* Image border */
/**
 * Hairline that keeps near-white image edges from bleeding into the cream
 * background. Drawn on a ::after above the image: an inset box-shadow on
 * the frame itself paints beneath the <img> and never shows. The frame
 * carries it, so the line holds still while the image scales, and it never
 * changes the card's size.
 */
.fm_row_most_read .jcd_ui_post_media {
  position: relative;
}

.fm_row_most_read .jcd_ui_post_media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.fm_row_most_read .jcd_ui_post_media img {
  transition-duration: 500ms;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.fm_row_most_read .pp-content-post:hover .jcd_ui_post_media img,
.fm_row_most_read .pp-content-post:has(a:focus-visible) .jcd_ui_post_media img {
  transform: scale(1.01);
}

@media (prefers-reduced-motion: reduce) {
  .fm_row_most_read .jcd_ui_post_media img { transition: none; }
  .fm_row_most_read .pp-content-post:hover .jcd_ui_post_media img { transform: none; }
  .fm_most_read_read_more span:last-child { transition: none; }
}


/* ==========================================================================
   # 03. JUST IN — DENSE GRID
   ========================================================================== */

/* 4:5 portrait ratio — approved 2026-09-16. */

.fm_row_just_in {
  --jcd-media-ratio: 4 / 5;
}

/* Ensure the image doesn't fight the portrait frame on wider viewports. */
.fm_row_just_in .jcd_ui_post_media img {
  height: auto;
}


/* ==========================================================================
   # 04. AD PLACEHOLDERS
   ========================================================================== */

/**
 * The grey boxes show while Advanced Ads is inactive and inside the Beaver
 * Builder editor. Live creatives, reserved heights and empty-row rules are
 * in # 64 (AD SLOTS — ADVANCED ADS).
 */

/**
 * Outer wrappers are BLOCK, not flex — keep it that way.
 *
 * A flex column with align-items: center (tried 2026-10-13) broke two slots:
 *  - In-grid: the placeholder's margin: 0 auto turns into flex auto
 *    margins, so it shrank to its text, 154px wide in a 347px card.
 *    align-items: stretch does not fix it; the auto margins still win.
 *  - Leaderboard at Small: a flex item's automatic minimum height does not
 *    hold the box open around its text the way block layout does. At 390px the
 *    728 / 90 ratio gave a 32px box and the size text spilled out (46px
 *    in block).
 * Every wrapper is in a BB HTML module, a block parent, so the label already
 * stacks above the box. Never put these classes on a BB Box module. It
 * sets display: flex at (0,2,0) and would place the label beside the box.
 */
.fm_ad_billboard,
.fm_ad_leaderboard_unit,
.fm_ad_ingrid {
  display: block;
  width: 100%;
  text-align: center;
}

.fm_row_ad_billboard {
  background-color: var(--jcd-color-paper);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/**
 * Tokens, not literals: #a3a3a3 measured about 2.5:1 on paper — a label
 * that must stay visible failed WCAG 1.4.3 — and 0.32em is a retired
 * tracking value. Same values as jcd_ui_ad_label in _components.css.
 */
.fm_ad_label {
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  text-transform: uppercase;
  letter-spacing: var(--jcd-tracking-kicker);
  color: var(--jcd-color-muted);
  text-align: center;
  margin: 0 0 var(--jcd-space-sm);
}

.fm_ad_placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f4f4f5;
  border: 1px solid #e5e7eb;
  margin: 0 auto;
  text-align: center;
}

.fm_ad_billboard .fm_ad_placeholder {
  width: 970px;
  max-width: 100%;
  aspect-ratio: 970 / 250;
}

.fm_ad_leaderboard_unit .fm_ad_placeholder {
  width: 728px;
  max-width: 100%;
  aspect-ratio: 728 / 90;
}

.fm_ad_placeholder_ingrid {
  flex: 1;
  min-height: 250px;
  aspect-ratio: auto;
}

.fm_ad_size {
  font-family: var(--jcd-font-sans);
  font-size: 14px;
  font-weight: var(--jcd-weight-medium);
  color: #737373;
  margin: 0;
}

.fm_ad_name {
  font-family: var(--jcd-font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #a3a3a3;
  margin: 4px 0 0;
}


/* ==========================================================================
   # 05. CONTENT GRID CARDS — SITEWIDE
   ========================================================================== */

/* Global image hover — GPU layer stops shake */
/**
 * will-change+translateZ(0) pre-promotes every Content Grid image to a
 * GPU compositor layer. backface-visibility:hidden stops webkit jitter.
 */
.pp-content-grid-post-image img,
.jcd_ui_post_media img {
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Card text block — flex column with anchored CTA */
/**
 * Applies to every PP Content Grid card on this site so the read link always
 * aligns to the bottom regardless of title or excerpt length.
 *
 * The card itself (.pp-content-post) is also flex so that the text block
 * fills the available height when cards in the same row have different image
 * heights (rare with fixed aspect-ratio, but correct for overflow).
 */
.pp-content-post {
  display: flex;
  flex-direction: column;
}

.pp-content-grid-post-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pp-content-grid-post-text > a:last-child,
.pp-content-grid-post-text > span:last-child {
  margin-top: auto;
  padding-top: 16px; /* minimum breathing room above the link */
}


/* ==========================================================================
   # 06. ROW SPACING
   ========================================================================== */

/* Most Read header row spacing */
/**
 * Label row, not a content band: zero top/bottom padding. The grid row below
 * owns the cream band's padding.
 */
.fm_row_most_read_header .fl-row-content-wrap {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.fm_row_most_read_header .fl-col-content {
  padding-top: 0;
  padding-bottom: 0;
}

/* Project content band — 80px / 48px */
/**
 * The kit's jcd_band_lg (96px desktop) is too loose for content rows;
 * jcd_band_md (64px) is too tight.
 */
.fm_band_content {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .fm_band_content {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* Section header column padding */
/**
 * Removes only top/bottom padding — left/right stay at the BB Global default
 * (20px) so the heading left-edge aligns with the cards below.
 */
.fm_section_header_col > .fl-col-content {
  padding-top: 0;
  padding-bottom: 0;
}


/* ==========================================================================
   # 07. FEED CARDS
   ========================================================================== */

/* Feed card kicker spacing */
.section_is_feed .pp-content-grid-post-text .jcd_ui_kicker {
  margin-top: 20px;
  margin-bottom: 0;
}

/* Feed card title spacing */
.section_is_feed .pp-content-grid-post-title {
  margin-top: 12px;
  margin-bottom: 0;
}

/**
 * Homepage feed headlines take the article-card treatment: Playfair,
 * regular, tight tracking (client change request 2026-10-20). Scoped to
 * the three homepage rows — the category archives share section_is_feed
 * and keep their own title rules.
 */
:is(.fm_row_editors_picks, .fm_row_recent_stories, .fm_row_just_in) .pp-content-grid-post-title {
  font-family: var(--jcd-font-serif);
  font-weight: var(--jcd-weight-regular);
  line-height: 1.375;
  letter-spacing: -0.025em;
  text-transform: none;
}

/* Feed card excerpt spacing */
.section_is_feed .pp-content-grid-post-excerpt {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.625;
  color: #525252;
}


/* ==========================================================================
   # 08. FEED SECTION HEADERS
   ========================================================================== */

/**
 * Editor's Picks, Recent Stories and Just In. The H2 IS the kicker-style
 * label; there is no separate prefix above it.
 */
.fm_feed_section_header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
  padding-bottom: 16px;
  margin-bottom: 0; /* row spacing handled by the grid row band */
  width: 100%;
}

/**
 * Label row, not a content band: no top or bottom padding. Row padding lands
 * on .fl-row-content-wrap — BB's row fields and the jcd_band_* classes both
 * pad it — so that is the element cleared. A row that also holds a Content
 * Grid (the category archive's Featured / More) is a content band and keeps
 * its padding. (0,4,0) clears BB's per-node row padding (0,2,0) without
 * !important.
 */
.fl-row:has(.fm_feed_section_header):not(:has(.pp-content-post-grid)) > .fl-row-content-wrap {
  padding-top: 0;
  padding-bottom: 0;
}

.section_is_feed .pp-content-post-grid {
  margin-top: 0;
}

.fm_feed_section_heading {
  font-family: var(--jcd-font-sans);
  font-size: 14px;
  font-weight: var(--jcd-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--jcd-color-ink);
  line-height: 1.4;
  margin: 0;
}


/* ==========================================================================
   # 09. AD LEADERBOARD BREAK
   ========================================================================== */

.fm_row_ad_leaderboard {
  background-color: var(--jcd-color-paper);
  border-top: 1px solid var(--jcd-color-rule);
  border-bottom: 1px solid var(--jcd-color-rule);
}

.fm_row_ad_leaderboard .fl-col-content {
  display: flex;
  flex-direction: column;
  /**
   * stretch, not center. Centred flex items shrink to their content, so
   * the HTML module took the placeholder's fixed 728px / 970px width and
   * max-width: 100% had nothing narrower to resolve against — the page
   * scrolled sideways below that width (177px at 390px on the homepage).
   * The placeholder and label centre themselves.
   */
  align-items: stretch;
  gap: var(--jcd-space-sm);
}


/* ==========================================================================
   # 10. CATEGORY ARCHIVE — SHARED
   ========================================================================== */

/**
 * Rules common to every archive row, written once so the Mosaic Hero and the
 * Featured / More grids cannot drift apart. Each selector is scoped with
 * :is(), which keeps the specificity of a single row class.
 *
 * The archive ad break (fm_row_ad_archive) has no rules of its own: no
 * borders, unlike the homepage leaderboard breaks, because the ad sits inside
 * the hero section in the design.
 */

/* One owner for space: the band, and one content edge */
/**
 * BB adds 20px of column padding and 20px of module margin around every
 * module. Vertically that is 40px each side the design doesn't have, so
 * both are zeroed top and bottom and the band owns the rhythm.
 *
 * Horizontally the column padding is zeroed too. The Mosaic Hero and the
 * Newsletter have no column padding, so the grids sat 20px inside them on
 * each side. With it gone, every archive row shares one content edge:
 * page inset + the 20px module margin.
 *
 * Rows covered: the header, the Featured / More grids, the archive ad
 * break (fm_row_ad_archive) and Curated Destinations. The Mosaic Hero has no
 * column; its Box
 * and inner module margins are handled in its own block.
 */
:is(.section_is_category_header, .fm_row_category_grid, .fm_row_ad_archive, .fm_row_destinations) .fl-col[data-node] > .fl-col-content {
  padding: 0;
}

:is(.section_is_category_header, .fm_row_category_grid, .fm_row_ad_archive, .fm_row_destinations) .fl-module[data-node] > .fl-module-content {
  margin-top: 0;
  margin-bottom: 0;
}

/**
 * BB's HTML module has no .fl-module-content wrapper, so its margin sits
 * on the module itself.
 */
:is(.section_is_category_header, .fm_row_category_grid, .fm_row_ad_archive, .fm_row_destinations) .fl-module[data-node]:not(:has(> .fl-module-content)) {
  margin-top: 0;
  margin-bottom: 0;
}

/* Cards: one link per card */
/**
 * The title link's ::after covers the card. The image and kicker are not
 * linked and the read link is an aria-hidden span, so each card is one tab
 * stop.
 */
:is(.fm_row_category_mosaic, .fm_row_category_grid) .pp-content-post {
  position: relative;
}

:is(.fm_row_category_mosaic, .fm_row_category_grid) .pp-content-grid-post-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

:is(.fm_row_category_mosaic, .fm_row_category_grid) .pp-content-grid-post-title a:focus-visible {
  outline: none;
}

:is(.fm_row_category_mosaic, .fm_row_category_grid) .pp-content-post:has(a:focus-visible) {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: var(--jcd-space-xs);
}

/* Cards: image */
:is(.fm_row_category_mosaic, .fm_row_category_grid) .jcd_ui_post_media img {
  height: auto;
  transition-duration: 700ms;
}

:is(.fm_row_category_mosaic, .fm_row_category_grid) .pp-content-post:is(:hover, :focus-within) .jcd_ui_post_media img {
  transform: scale(1.02);
}

/* Cards: title */
/* Size and line-height are set per row below. */
:is(.fm_row_category_mosaic, .fm_row_category_grid) .pp-content-post .pp-content-grid-post-title {
  font-family: var(--jcd-font-serif);
  font-weight: var(--jcd-weight-regular);
  letter-spacing: -0.025em;
  color: var(--jcd-color-ink);
  transition: color var(--jcd-duration-base) ease-out;
}

:is(.fm_row_category_mosaic, .fm_row_category_grid) .pp-content-post:is(:hover, :focus-within) .pp-content-grid-post-title {
  color: var(--jcd-color-accent-text);
}

:is(.fm_row_category_mosaic, .fm_row_category_grid) .pp-content-grid-post-excerpt p {
  margin: 0;
}

/* Cards: read link */
/**
 * Kit jcd_ui_read_link, adjusted to the design's ReadLink: the underline
 * sits under the words only, not the arrow, and the arrow slides 4px
 * instead of the gap widening.
 */
:is(.fm_row_category_mosaic, .fm_row_category_grid) .jcd_ui_read_link {
  border-bottom: 0;
  padding-bottom: 0;
  letter-spacing: 0.22em;
}

:is(.fm_row_category_mosaic, .fm_row_category_grid) .jcd_ui_read_link > span {
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

:is(.fm_row_category_mosaic, .fm_row_category_grid) .pp-content-post:is(:hover, :focus-within) .jcd_ui_read_link {
  gap: 6px;
}

:is(.fm_row_category_mosaic, .fm_row_category_grid) .pp-content-post:is(:hover, :focus-within) .jcd_ui_read_link::after {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  :is(.fm_row_category_mosaic, .fm_row_category_grid) .pp-content-post:is(:hover, :focus-within) .jcd_ui_post_media img,
  :is(.fm_row_category_mosaic, .fm_row_category_grid) .pp-content-post:is(:hover, :focus-within) .jcd_ui_read_link::after {
    transform: none;
  }
}


/* ==========================================================================
   # 11. CATEGORY ARCHIVE — HEADER
   ========================================================================== */

/**
 * SPECIFICITY: PowerPack writes the title margin at
 *   div.fl-node-x .pp-heading-content .pp-heading:not(.pp-separator--inline)
 *   .heading-title
 * — (0,5,1). The title rule mirrors that shape one class deeper (0,6,0)
 * rather than using !important. PowerPack also zeroes the sub-heading's
 * margin at (0,3,1), so the gaps below it are padding, which PowerPack does
 * not write.
 *
 * LITERAL: the 96px title has no type token (--jcd-text-display is the hero's
 * 72px).
 */

.section_is_category_header {
  border-bottom: 1px solid var(--jcd-color-rule);
}

/* Kicker */
.section_is_category_header .jcd_ui_section_header .pp-heading-prefix {
  margin-bottom: var(--jcd-space-lg);
  letter-spacing: var(--jcd-tracking-kicker);
}

/* Title (H1) */
.section_is_category_header .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
  margin: 0;
  font-size: 6rem;
  line-height: 1;
  text-wrap: balance; /* ARTS & / CULTURE, not ARTS & CULTURE / orphan */
  overflow-wrap: anywhere; /* last resort — see Long names below */
  hyphens: auto;
}

.section_is_category_header .jcd_ui_section_header .pp-primary-title {
  font-family: var(--jcd-font-serif);
  font-weight: var(--jcd-weight-regular);
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jcd-color-ink);

  /**
   * Tracking is added after the last letter too, which pushes a centred
   * word left by 0.16em. Pulling the inline box back re-centres it.
   */
  margin-inline-end: -0.16em;
}

/* Rule + description */
.section_is_category_header .jcd_ui_section_header .pp-sub-heading {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  padding-top: var(--jcd-space-xl);
}

/**
 * The 64px centre rule belongs to the description, so a category with
 * no description shows neither.
 */
.section_is_category_header .jcd_ui_section_header .pp-sub-heading::before {
  content: "";
  display: block;
  width: var(--jcd-space-2xl);
  height: 1px;
  margin: 0 auto var(--jcd-space-xl);
  background-color: color-mix(in srgb, var(--jcd-color-ink) 18%, transparent);
}

.section_is_category_header .jcd_ui_section_header .pp-sub-heading:not(:has(p:not(:empty))) {
  display: none;
}

.section_is_category_header .jcd_ui_section_header .pp-sub-heading p {
  margin: 0;
  font-size: var(--jcd-text-lead);
  line-height: 1.625;
  color: color-mix(in srgb, var(--jcd-color-ink) 70%, transparent); /* 7.4:1 */
}

/* Responsive */
@media (max-width: 768px) {
  /**
   * 60px in the design, reached from ~570px wide and scaled below it.
   * 10.5vw is the largest slope at which every short name in the
   * category structure — OUTDOORS is the widest — fits a 375px phone.
   */
  .section_is_category_header .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
    font-size: clamp(2rem, 10.5vw, 3.75rem);
  }

  .section_is_category_header .jcd_ui_section_header .pp-sub-heading p {
    font-size: var(--jcd-text-body);
  }
}

/* Long names */
/**
 * Measured on staging at 0.16em tracking, per single word:
 *   CONSERVATION 9.4em · JACKSONVILLE 8.9em · RESTAURANTS 8.6em · FLORIDIANS
 *   7.4em
 * At the design sizes these break mid-word between 769px and ~1,000px
 * and on phones. Every other name in the category structure fits at
 * every width, so only these four archives scale: the room across the
 * page divided by the word's width, capped at the design size.
 *
 * A NEW single-word category of 8+ letters needs checking at 375px and
 * 769px. If it breaks, add its body class here with its measured em.
 */
.category-conservation,
.category-jacksonville { --fm-category-title-em: 9.6; }
.category-restaurants  { --fm-category-title-em: 8.8; }
.category-floridians   { --fm-category-title-em: 7.6; }

:is(.category-conservation, .category-jacksonville, .category-restaurants, .category-floridians) .section_is_category_header .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
  font-size: min(6rem, calc((100vw - 7rem) / var(--fm-category-title-em)));
}

@media (max-width: 768px) {
  :is(.category-conservation, .category-jacksonville, .category-restaurants, .category-floridians) .section_is_category_header .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
    font-size: min(3.75rem, calc((100vw - 7rem) / var(--fm-category-title-em)));
  }
}


/* ==========================================================================
   # 12. CATEGORY ARCHIVE — MOSAIC HERO
   ========================================================================== */

/**
 * No floating card on this row — that is fm_module_mosaic_card on the
 * Featured / More grids. Card link, image hover, title face and read link
 * come from CATEGORY ARCHIVE — SHARED.
 *
 * SPECIFICITY: BB writes the Box's own layout at
 *   .fl-builder-content-NNNN .fl-node-x { display: flex; gap: 10px }
 * and PowerPack writes each grid's gap at .fl-node-x .pp-content-post-grid,
 * both (0,2,0). Selectors here start at (0,3,0), so they win on specificity
 * rather than on stylesheet order.
 */

/* Layout */
/**
 * Three equal tracks with the lead spanning two, as in the design. The
 * stack then lines up with the third column of the grids below, which
 * use the same gap. minmax(0, 1fr) stops a wide image from stretching
 * its track.
 */
.fm_row_category_mosaic .fl-module-box.fm_module_mosaic_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--jcd-space-xl);
  align-items: start;

  /**
   * BB gives the Box a 20px module margin on every side. Top and bottom
   * would add to fm_band_content's 80px; left and right are kept so
   * the edge matches the rows above and below.
   */
  margin-top: 0;
  margin-bottom: 0;
}

.fm_row_category_mosaic .fm_module_mosaic_grid > .fm_module_mosaic_lead {
  grid-column: span 2;
}

/**
 * The two grids inside the Box. BB's Box resets child margins at (0,1,0),
 * but the Global Settings module margin — .fl-module[data-node] >
 * .fl-module-content at (0,3,0) — outranks it and left 20px under
 * whichever column was taller. The Box's gap owns the spacing.
 */
.fm_row_category_mosaic .fm_module_mosaic_grid .fl-module > .fl-module-content {
  margin: 0;
}

.fm_row_category_mosaic .fm_module_mosaic_stack .pp-content-post-grid {
  gap: var(--jcd-space-xl);
}

/* Image ratio */
.fm_row_category_mosaic .fm_module_mosaic_lead {
  --jcd-media-ratio: 16 / 11;
}

.fm_row_category_mosaic .fm_module_mosaic_stack {
  --jcd-media-ratio: 4 / 3;
}

/* Text block rhythm */
/**
 * Kicker sits 20px under the image on the stack (the section_is_feed
 * default); the lead opens wider.
 */
.fm_row_category_mosaic .fm_module_mosaic_lead .pp-content-grid-post-text .jcd_ui_kicker {
  margin-top: var(--jcd-space-xl);
}

/* Titles */
.fm_row_category_mosaic .pp-content-post .pp-content-grid-post-title {
  line-height: 1.1;
}

.fm_row_category_mosaic .fm_module_mosaic_lead .pp-content-post .pp-content-grid-post-title {
  font-size: var(--jcd-text-h1);
}

.fm_row_category_mosaic .fm_module_mosaic_stack .pp-content-post .pp-content-grid-post-title {
  font-size: 1.5rem;
}

/* Lead excerpt */
.fm_row_category_mosaic .fm_module_mosaic_lead .pp-content-grid-post-excerpt {
  max-width: 36rem;
  margin-top: var(--jcd-space-md);
  font-size: var(--jcd-text-body);
}

/* Responsive */
@media (max-width: 992px) {
  .fm_row_category_mosaic .fl-module-box.fm_module_mosaic_grid {
    grid-template-columns: minmax(0, 1fr); /* lead first, stack below */
  }

  .fm_row_category_mosaic .fm_module_mosaic_grid > .fm_module_mosaic_lead {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .fm_row_category_mosaic .fm_module_mosaic_lead {
    --jcd-media-ratio: 16 / 10;
  }

  .fm_row_category_mosaic .fm_module_mosaic_lead .pp-content-grid-post-text .jcd_ui_kicker {
    margin-top: var(--jcd-space-lg);
  }

  .fm_row_category_mosaic .fm_module_mosaic_lead .pp-content-post .pp-content-grid-post-title {
    font-size: 1.875rem;
  }

  .fm_row_category_mosaic .fm_module_mosaic_stack .pp-content-post .pp-content-grid-post-title {
    font-size: 1.25rem;
  }
}


/* ==========================================================================
   # 13. CATEGORY ARCHIVE — FEATURED / MORE GRIDS
   ========================================================================== */

/**
 * Card link, image hover, title face and read link come from CATEGORY ARCHIVE
 * — SHARED. This block adds the grid, the 4:5 crop and the floating panel.
 */

.fm_row_category_grid {
  --jcd-media-ratio: 4 / 5;
}

/**
 * Featured and More sit back to back in the Default layout, where two
 * fm_band_content paddings stacked into a 160px gap. When one grid row
 * follows another directly, the second drops its top padding, leaving
 * one 80px band. In the Travel layout Curated Destinations sits between
 * them, so this never matches there.
 */
.fm_row_category_grid + .fm_row_category_grid {
  padding-top: 0;
}

/* Header */
.fm_row_category_grid .fm_feed_section_header {
  margin-bottom: var(--jcd-space-xl);
}

/* Grid */
/**
 * PowerPack writes grid-gap: 20px at .fl-node-x .pp-content-post-grid
 * — (0,2,0). This is (0,3,0).
 */
.fm_row_category_grid .fm_module_mosaic_card .pp-content-post-grid {
  gap: var(--jcd-space-xl);
}

/* Floating panel */
/**
 * PowerPack sets overflow: hidden on every .pp-content-post, which clips
 * the panel's shadow along the card's bottom edge. The image still clips
 * its own hover scale — jcd_ui_post_media carries its own overflow.
 */
.fm_row_category_grid .fm_module_mosaic_card .pp-content-post {
  overflow: visible;
}

/**
 * The text block is the panel: it pulls up over the image base and is
 * inset from both sides.
 *
 * STACKING: the panel has to paint above the image, whose img carries a
 * transform. As a flex item, a z-index alone gives it a stacking context
 * without position: relative. That matters: a positioned panel would
 * become the containing block for the title's ::after and shrink the
 * card-wide click target to the panel.
 */
.fm_row_category_grid .fm_module_mosaic_card .pp-content-grid-post-text {
  z-index: 1;
  margin: calc(var(--jcd-space-2xl) * -1) var(--jcd-space-lg) 0;
  padding: var(--jcd-space-lg);
  background-color: var(--jcd-color-paper);
  box-shadow: 0 10px 30px -15px color-mix(in srgb, var(--jcd-color-ink) 15%, transparent);
}

/* The kicker opens the panel, so it drops the section_is_feed 20px. */
.fm_row_category_grid .fm_module_mosaic_card .pp-content-grid-post-text .jcd_ui_kicker {
  margin-top: 0;
}

/* Title */
.fm_row_category_grid .pp-content-post .pp-content-grid-post-title {
  font-size: 1.5rem;
  line-height: 1.375;
}

/* Load More (More grid) */
/**
 * PowerPack renders this button itself, so it cannot carry jcd_ui_btn_pill.
 * The pill's values are mirrored here: kit type and colours, with the
 * design's larger padding for a bigger target.
 *
 * PowerPack writes the button at .fl-node-x .pp-content-grid-load-more a —
 * (0,2,1) — and its hover at (0,3,1). These start one class higher.
 */
.fm_row_category_grid .fm_module_mosaic_card .pp-content-grid-load-more {
  margin-top: var(--jcd-space-2xl);
  text-align: center;
}

.fm_row_category_grid .fm_module_mosaic_card .pp-content-grid-load-more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--jcd-space-sm);
  min-height: 44px; /* WCAG 2.5.5 target, as in the kit pill */
  padding: var(--jcd-space-md) var(--jcd-space-xl);
  border: 1px solid var(--jcd-color-ink);
  border-radius: var(--jcd-radius-pill);
  background-color: var(--jcd-color-ink);
  color: var(--jcd-color-paper);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  line-height: 1;
  letter-spacing: var(--jcd-tracking-btn); /* the kit pill's tracking, not the design's */
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background-color var(--jcd-duration-base) ease-out,
    border-color var(--jcd-duration-base) ease-out,
    color var(--jcd-duration-base) ease-out;
}

.fm_row_category_grid .fm_module_mosaic_card .pp-content-grid-load-more a:is(:hover, :focus-visible) {
  border-color: var(--jcd-color-accent);
  background-color: var(--jcd-color-accent);
  color: var(--jcd-color-cta-fg);
}

.fm_row_category_grid .fm_module_mosaic_card .pp-content-grid-load-more a:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 3px;
}

/**
 * While fetching, PowerPack adds .loading and .disabled to the button and
 * shows .pp-grid-loader-icon — a spinner GIF drawn for a white ground,
 * which reads as a grey smudge on the ink pill. The GIF is hidden and
 * the icon becomes a ring in the label colour, so there is still a
 * visible loading state (NN/g #1, visibility of system status).
 */
.fm_row_category_grid .fm_module_mosaic_card .pp-grid-loader-icon img {
  display: none;
}

.fm_row_category_grid .fm_module_mosaic_card .pp-grid-load-more-button.loading {
  cursor: progress;
}

.fm_row_category_grid .fm_module_mosaic_card .pp-grid-load-more-button.loading .pp-grid-loader-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: fm_load_more_spin 700ms linear infinite;
}

@keyframes fm_load_more_spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .fm_row_category_grid .fm_module_mosaic_card .pp-content-grid-post-text {
    margin: calc(var(--jcd-space-xl) * -1) var(--jcd-space-md) 0;
    padding: var(--jcd-space-md);
  }

  .fm_row_category_grid .pp-content-post .pp-content-grid-post-title {
    font-size: 1.25rem;
  }
}


/* ==========================================================================
   # 14. CATEGORY ARCHIVE — CURATED DESTINATIONS (TRAVEL LAYOUT ONLY)
   ========================================================================== */

/**
 * The row is jcd_band_flush: it sits between the Featured and More grids,
 * whose fm_band_content supplies 80px (48px on phones) above and below.
 *
 * The image is decorative (alt=""): the H3 names the panel. Two levels of
 * link: the title links to the parent archive and its ::after covers the
 * whole panel, so the panel is one large target; the pills sit above that
 * overlay and link to the child archives. Links can't nest, which is why the
 * panel isn't wrapped in an <a>.
 */

/* Label */
.fm_row_destinations .fm_destinations_heading {
  margin: 0 0 var(--jcd-space-xl);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.3;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  text-align: center;
  color: var(--jcd-color-accent-text);
}

.fm_row_destinations .fm_destinations_heading::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin: var(--jcd-space-md) auto 0;
  background-color: color-mix(in srgb, var(--jcd-color-ink) 18%, transparent);
}

/* Grid */
/**
 * BB writes the Box's own display: flex and 10px gap at (0,2,0); this is
 * (0,3,0). The panels' own margins are cleared so the gap owns the space.
 */
.fm_row_destinations .fl-module-box.fm_module_destinations_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch; /* equal-height panels in a row */
  gap: var(--jcd-space-lg);
}

.fm_row_destinations .fm_module_destinations_grid > .fl-module {
  margin: 0;
}

/* Panel */
/**
 * 16:10 is the panel's MINIMUM shape. A fixed aspect-ratio would clip
 * the title on a phone, where "Big Cities" plus three rows of links
 * needs more height than 16:10 gives a 287px-wide panel. So the panel
 * is a one-cell grid: an empty ::before holds the 16:10 shape, the body
 * sits in the same cell at the bottom, and the cell grows to whichever
 * is taller. height: 100% keeps the two panels in a row equal when one
 * has more links than the other. The image and gradient are layered
 * behind both.
 */
.fm_row_destinations .fm_destination_panel {
  position: relative;
  display: grid;
  /**
   * The one track needs a template. With none, the implicit column sized
   * to the pills' max-content — 358px wide in a 272px panel at 360, 430px
   * in 347px at 820 — and overflow: hidden clipped ORLANDO and CENTRAL
   * FLORIDA. minmax(0, 1fr) pins it to the panel. (QA 2026-10-21)
   */
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--jcd-color-ink); /* while the image loads */
}

.fm_row_destinations .fm_destination_panel::before {
  content: "";
  grid-area: 1 / 1;
  width: 100%; /* a definite width, so the ratio sets the height */
  aspect-ratio: 16 / 10;
}

.fm_row_destinations .fm_destination_panel img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--jcd-ease);
}

/* Scales on hover and whenever a link inside has keyboard focus. */
.fm_row_destinations .fm_destination_panel:is(:hover, :focus-within) img {
  transform: scale(1.03);
}

.fm_row_destinations .fm_destination_panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--jcd-color-ink) 85%, transparent),
    color-mix(in srgb, var(--jcd-color-ink) 40%, transparent),
    color-mix(in srgb, var(--jcd-color-ink) 10%, transparent)
  );
}

.fm_row_destinations .fm_destination_panel__body {
  grid-area: 1 / 1;
  align-self: end;
  padding: var(--jcd-space-xl);
}

.fm_row_destinations .fm_destination_panel__title {
  margin: 0;
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-h1);
  font-weight: var(--jcd-weight-regular);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--jcd-color-paper);
}

/* Panel link (parent archive) */
/**
 * The title link's ::after fills the panel — its containing block is the
 * panel, the nearest positioned ancestor — so a click anywhere on the
 * photo opens Big Cities / Small Towns. The pills sit above it.
 */
.fm_row_destinations .fm_destination_panel__title a:is(:link, :visited, :hover, :focus) {
  color: inherit;
  text-decoration: none;
}

.fm_row_destinations .fm_destination_panel__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/**
 * Keyboard focus on the title rings the whole panel, in the accent —
 * the ring sits on the white page, not the photo.
 */
.fm_row_destinations .fm_destination_panel__title a:focus-visible {
  outline: none;
}

.fm_row_destinations .fm_destination_panel:has(.fm_destination_panel__title a:focus-visible) {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: var(--jcd-space-xs);
}

/* Links */
/**
 * Above the panel link. The list itself lets clicks through, so the gaps
 * between pills still open the parent archive; only the pills catch
 * their own clicks.
 */
.fm_row_destinations .fm_destination_panel__links {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: var(--jcd-space-sm);
  margin: var(--jcd-space-lg) 0 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.fm_row_destinations .fm_destination_panel__links li {
  margin: 0;
}

/**
 * Glass pill. 32px tall — clears WCAG 2.2's 24px target minimum; the
 * kit's 44px button minimum is for primary actions.
 */
.fm_row_destinations .fm_destination_panel__links a {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: var(--jcd-space-sm) var(--jcd-space-md);
  border: 1px solid color-mix(in srgb, var(--jcd-color-paper) 40%, transparent);
  border-radius: var(--jcd-radius-pill);
  background-color: color-mix(in srgb, var(--jcd-color-paper) 10%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  line-height: 1;
  letter-spacing: var(--jcd-tracking-btn); /* the kit pill's tracking, not the design's */
  text-transform: uppercase;
  text-decoration: none;
  color: var(--jcd-color-paper);
  transition:
    background-color var(--jcd-duration-base) ease-out,
    border-color var(--jcd-duration-base) ease-out,
    color var(--jcd-duration-base) ease-out;
}

.fm_row_destinations .fm_destination_panel__links a:is(:hover, :focus-visible) {
  border-color: var(--jcd-color-paper);
  background-color: var(--jcd-color-paper);
  color: var(--jcd-color-ink);
  text-decoration: none;
}

/**
 * Paper, not the accent: the accent on the dark gradient is close to
 * 3:1. A white ring reads against it at any photo.
 */
.fm_row_destinations .fm_destination_panel__links a:focus-visible {
  outline: 2px solid var(--jcd-color-paper);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 768px) {
  .fm_row_destinations .fl-module-box.fm_module_destinations_grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fm_row_destinations .fm_destination_panel__body {
    padding: var(--jcd-space-lg);
  }

  .fm_row_destinations .fm_destination_panel__title {
    font-size: var(--jcd-text-h2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fm_row_destinations .fm_destination_panel:is(:hover, :focus-within) img {
    transform: none;
  }
}


/* ==========================================================================
   # 15. ARTICLE — IN-BODY AD
   ========================================================================== */

/**
 * Markup is inserted by the mid-article ad filter in functions.php: <aside
 * class="fm_ad_in_article"> around the fm_ad_leaderboard_unit markup.
 *
 * UNIT: 728x90 in every layout — client decision.
 *
 * THE COLUMN IS NARROWER THAN THE UNIT. Layout 03's article column is 680px;
 * a 728x90 creative is a fixed 728px. Above 1200px the grid is capped at
 * 1080px with its columns pushed apart, which opens a 100px gap before the
 * sidebar. The unit takes 48px of it and keeps 52px of clearance from the
 * sticky 300x600.
 *
 * At 1200px and below the gap shrinks to 64px and then the column itself
 * narrows, so a 728 no longer fits. The placeholder scales to the column; a
 * REAL creative cannot, and must never be CSS-scaled — ad networks prohibit
 * altering creatives. The ad server's size mapping has to serve a smaller
 * unit in that range. See the table in the build notes, not here.
 *
 * 728px is an IAB unit constant, not a spacing step — a literal, like the
 * 44px touch target.
 */

.fm_ad_in_article {
  display: block;
  margin: var(--jcd-space-2xl) 0;
}

/* Layout 03 only: overhang the column to the right, into the gap. */
.fm_row_article_body_sidebar .fm_ad_in_article {
  width: 728px;
  max-width: none;
}

.fm_row_article_body_sidebar .fm_ad_in_article .fm_ad_placeholder {
  max-width: none;
}

@media (max-width: 1200px) {
  .fm_row_article_body_sidebar .fm_ad_in_article {
    width: auto;
  }

  .fm_row_article_body_sidebar .fm_ad_in_article .fm_ad_placeholder {
    max-width: 100%;
  }
}

/**
 * Medium: the stacked article is 680px wide and centred, leaving at
 * least 44px each side from 769px up — room for the 728 to overhang
 * 24px either side, centred.
 */
@media (max-width: 992px) {
  .fm_row_article_body_sidebar .fm_ad_in_article {
    width: 728px;
    margin-left: calc((100% - 728px) / 2);
    margin-right: calc((100% - 728px) / 2);
  }

  .fm_row_article_body_sidebar .fm_ad_in_article .fm_ad_placeholder {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .fm_ad_in_article,
  .fm_row_article_body_sidebar .fm_ad_in_article {
    width: auto;
    margin: var(--jcd-space-xl) 0;
  }

  .fm_row_article_body_sidebar .fm_ad_in_article .fm_ad_placeholder {
    max-width: 100%;
  }
}


/* ==========================================================================
   # 16. ARTICLE — SIDEBAR HALF-PAGE AD (LAYOUT 03)
   ========================================================================== */

/**
 * Same placeholder pattern as the homepage units — label, size, grey box — so
 * the shared fm_ad_label / fm_ad_placeholder / fm_ad_size / fm_ad_name rules
 * in AD PLACEHOLDERS style it. This block only sets the box shape.
 *
 * Below 993px the sidebar stacks under the article and the unit centres
 * itself — fm_ad_placeholder already carries margin: 0 auto. 300 and 600 are
 * IAB unit constants, not spacing steps.
 */

.fm_ad_halfpage {
  display: block;
  width: 100%;
  text-align: center;
}

.fm_ad_halfpage .fm_ad_placeholder {
  width: 300px;
  max-width: 100%;
  aspect-ratio: 300 / 600;
}


/* ==========================================================================
   # 17. SINGLE ARTICLE — SHARED
   ========================================================================== */

/**
 * Rows in the Article Top / Article Bottom Themer Parts and the Body layouts.
 * One owner for space: the band. BB's 20px column padding and module margins
 * are zeroed so each row's own rules set its edges.
 */

:is(.section_is_article_header, .fm_row_article_hero) .fl-col[data-node] > .fl-col-content {
  padding: 0;
}

:is(.section_is_article_header, .fm_row_article_hero) .fl-module[data-node] > .fl-module-content {
  margin: 0;
}

/**
 * BB's HTML module has no .fl-module-content wrapper, so its margin
 * sits on the module itself.
 */
:is(.section_is_article_header, .fm_row_article_hero) .fl-module[data-node]:not(:has(> .fl-module-content)) {
  margin: 0;
}

/**
 * The body row: its OWN columns and modules only. A descendant selector
 * here reached into an Open post's builder rows (rendered inside Post
 * Content) and stripped their spacing too.
 */
.fm_row_article_body_sidebar > .fl-row-content-wrap > .fl-row-content > .fl-col-group > .fl-col > .fl-col-content {
  padding: 0;
}

.fm_row_article_body_sidebar > .fl-row-content-wrap > .fl-row-content > .fl-col-group > .fl-col > .fl-col-content > .fl-module[data-node] > .fl-module-content,
.fm_row_article_body_sidebar > .fl-row-content-wrap > .fl-row-content > .fl-col-group > .fl-col > .fl-col-content > .fl-module[data-node]:not(:has(> .fl-module-content)) {
  margin: 0;
}


/* ==========================================================================
   # 18. SINGLE ARTICLE — HEADER (PART: ARTICLE TOP)
   ========================================================================== */

/**
 * The row carries no jcd_width_* class; it sets its own measure: 896px with a
 * 24px inset, as the mockup. --jcd-width-narrow (760px) left a 72px headline
 * wrapping onto four lines.
 *
 * LITERALS: 896px measure, 60px headline step — no width or type token.
 */

/**
 * (0,3,0) beats the kit container, .fl-row-content.fl-row-fixed-width
 * (0,2,0).
 */
.fm_row_article_header > .fl-row-content-wrap > .fl-row-content {
  max-width: 56rem;
}

.fm_row_article_header.fm_band_content {
  padding-bottom: var(--jcd-space-2xl);
}

.fm_module_article_header {
  text-align: center;
}

/* Kicker (category) */
.fm_module_article_header .jcd_ui_kicker {
  margin: 0;
}

.fm_module_article_header .jcd_ui_kicker a {
  transition: opacity var(--jcd-duration-base) ease-out;
}

.fm_module_article_header .jcd_ui_kicker a:is(:hover, :focus-visible) {
  opacity: 0.7;
}

.fm_module_article_header .jcd_ui_kicker a:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 3px;
}

/* Headline */
.fm_row_article_header .fm_module_article_header__title {
  margin: var(--jcd-space-lg) 0 0;
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-display);
  font-weight: var(--jcd-weight-regular);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--jcd-color-ink);
  text-wrap: balance;
}

/* Dek (ACF article_subheading) */
.fm_row_article_header .fm_module_article_header__dek {
  max-width: 42rem;
  margin: var(--jcd-space-lg) auto 0;
  font-size: 1.25rem;
  line-height: 1.625;
  color: color-mix(in srgb, var(--jcd-color-ink) 70%, transparent);
}

/* Meta line */
.fm_row_article_header .fm_module_article_header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--jcd-space-sm);
  margin: var(--jcd-space-xl) 0 0;
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.5;
  letter-spacing: var(--jcd-tracking-nav);
  text-transform: uppercase;
  color: var(--jcd-color-muted);
}

.fm_module_article_header__author {
  color: var(--jcd-color-ink);
}

/**
 * The byline comes from [molongui_post_byline avatar=no], which links each
 * author
 * to their archive. The base link rule would turn the name crimson at
 * rest; the design is ink at rest, so the link inherits and shifts to
 * the accent on hover and focus only. Each co-author is its own link.
 */
/**
 * With avatar="no", Molongui still wraps the name in a block
 * <div class="m-post-byline">, which breaks "By" and the name onto two
 * lines. Inline keeps the byline on the meta line.
 */
/**
 * No author: the byline shortcode returns nothing (functions.php), so
 * the "By" item and the dot after it are removed and the line starts
 * at the date.
 */
.fm_module_article_header__meta > span:has(> .fm_module_article_header__author:empty),
.fm_module_article_header__meta > span:has(> .fm_module_article_header__author:empty) + .fm_module_article_header__dot {
  display: none;
}

.fm_module_article_header__author .m-post-byline {
  display: inline;
}

.fm_module_article_header__author a {
  color: inherit;
  text-decoration: none;
  transition: color var(--jcd-duration-base) ease-out;
}

.fm_module_article_header__author a:is(:hover, :focus-visible) {
  color: var(--jcd-color-accent-text);
}

.fm_module_article_header__author a:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 3px;
}

.fm_module_article_header__dot {
  width: var(--jcd-space-xs);
  height: var(--jcd-space-xs);
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--jcd-color-ink) 18%, transparent);
}

/* Responsive */
@media (max-width: 992px) {
  .fm_row_article_header .fm_module_article_header__title {
    font-size: 3.75rem;
  }
}

@media (max-width: 768px) {
  /**
   * The line wrapped mid-way and left a dot hanging at the end of the
   * first line. Byline gets its own line; date · read time below.
   */
  .fm_row_article_header .fm_module_article_header__meta > span:first-child {
    flex-basis: 100%;
  }

  .fm_row_article_header .fm_module_article_header__meta > span:first-child + .fm_module_article_header__dot {
    display: none;
  }

  .fm_row_article_header.fm_band_content {
    padding-bottom: var(--jcd-space-xl);
  }

  .fm_row_article_header .fm_module_article_header__title {
    font-size: var(--jcd-text-h2);
  }

  .fm_row_article_header .fm_module_article_header__dek {
    font-size: var(--jcd-text-lead);
  }
}


/* ==========================================================================
   # 19. SINGLE ARTICLE — FEATURED IMAGE (PART: ARTICLE TOP)
   ========================================================================== */

/**
 * Matches the mockup exactly: 1400px max with a 24px inset, which makes the
 * image 1352px — wider than the 1280px body below it, as in the design.
 * 1400px has no width token: a literal, scoped here. Edge to edge at 768px
 * and below.
 */

/**
 * (0,3,0) beats the kit container, .fl-row-content.fl-row-fixed-width
 * (0,2,0).
 */
.fm_row_article_hero > .fl-row-content-wrap > .fl-row-content {
  max-width: 1400px;
}

.fm_module_article_hero {
  margin: 0;
}

.fm_module_article_hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/**
 * Strip banners keep their own shape.
 *
 * The old site's Subpage Banners are wide strips, about 1550 x 500 (3:1).
 * Cropped to 16:9 they lost 40% of the picture and were stretched about
 * 1.5x (3x on retina screens), which made them soft. functions.php §20 adds
 * body.fm_hero_strip when the hero image is wider than 2:1, and the image
 * then shows uncropped at its own ratio, from its width and height
 * attributes. Every other hero stays 16:9.
 *
 * (0,2,1) beats the rule above (0,1,1).
 */
.fm_hero_strip .fm_module_article_hero img {
  aspect-ratio: auto;
}

.fm_module_article_hero__caption {
  max-width: 48rem;
  margin: var(--jcd-space-md) auto 0;
  padding: 0 var(--jcd-page-inset);
  font-size: var(--jcd-text-caption);
  font-style: italic;
  line-height: 1.625;
  color: var(--jcd-color-muted);
  text-align: center;
}

@media (max-width: 768px) {
  .fm_row_article_hero > .fl-row-content-wrap > .fl-row-content {
    padding-left: 0;
    padding-right: 0;
  }

  .fm_module_article_hero__caption {
    text-align: left;
  }
}


/* ==========================================================================
   # 20. SINGLE ARTICLE — FLOATING SHARE RAIL (PART: ARTICLE TOP)
   ========================================================================== */

/**
 * UABB positions it (position: fixed) and paints every network in its brand
 * colour. These rules replace the paint and the position; the module's own
 * Style/Colour fields stay at default.
 *
 * REVEAL uses navigation.js's existing .jcd_scrolled state on <html> rather
 * than new JS — the rail appears with the compact header bar. The mockup
 * reveals at 400px; ours at 80px, the bar's threshold.
 *
 * Desktop only: hidden at 1200px and below (see Responsive). 36px circles
 * meet WCAG 2.5.8's 24px minimum; the rail never renders on touch-sized
 * viewports, where 44px would apply.
 *
 * ACCESSIBLE NAMES: UABB outputs icon-only links with no text. The labels are
 * added in functions.php — see SHARE RAIL LABELS.
 *
 * SPECIFICITY: UABB's brand fills are (0,3,0) and its node rules .fl-node-x
 * .uabb-social-share-wrap … are (0,3,0). Every rule here includes .fl-module
 * to clear both without !important.
 */

.fm_module_share_rail.fl-module .uabb-social-share-wrap .uabb-style-floating {
  top: 50%;
  /**
   * 24px from the edge, unless that would overlap the 1080px body grid. The
   * rail is 54px wide; it keeps an 8px gap from the text, and never comes
   * closer than 8px to the screen edge.
   */
  left: max(var(--jcd-space-sm), min(var(--jcd-page-inset), calc(50% - 540px - 54px - var(--jcd-space-sm))));
  display: flex;
  flex-direction: column;
  gap: var(--jcd-space-sm);
  padding: var(--jcd-space-sm); /* the pill around the circles */
  border: 1px solid var(--jcd-color-rule);
  border-radius: var(--jcd-radius-pill);
  background-color: var(--jcd-color-veil);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px var(--jcd-color-shadow);
  transform: translateY(-50%);
  cursor: auto;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--jcd-duration-base) ease-out,
    visibility 0s linear var(--jcd-duration-base);
}

.jcd_scrolled .fm_module_share_rail.fl-module .uabb-social-share-wrap .uabb-style-floating {
  opacity: 1;
  visibility: visible;
  transition:
    opacity var(--jcd-duration-base) ease-out,
    visibility 0s linear 0s;
}

:is(.fm_module_share_rail.fl-module, .fm_module_share_row .fl-module-uabb-social-share) .uabb-social-share-wrap .uabb-ss-grid-item {
  margin: 0;
}

:is(.fm_module_share_rail.fl-module, .fm_module_share_row .fl-module-uabb-social-share) .uabb-ss-wrap .uabb-ss-grid-item .uabb-ss-grid-button {
  width: 36px;
  height: 36px;
  font-size: var(--jcd-text-kicker);
  border: 1px solid var(--jcd-color-rule);
  border-radius: 50%;
  background-color: var(--jcd-color-paper);
  transition: border-color var(--jcd-duration-base) ease-out;
}

:is(.fm_module_share_rail.fl-module, .fm_module_share_row .fl-module-uabb-social-share) .uabb-ss-wrap .uabb-ss-grid-item .uabb-ss-icon {
  width: 100%;
}

:is(.fm_module_share_rail.fl-module, .fm_module_share_row .fl-module-uabb-social-share) .uabb-ss-wrap .uabb-ss-grid-button-link,
:is(.fm_module_share_rail.fl-module, .fm_module_share_row .fl-module-uabb-social-share) .uabb-ss-wrap .uabb-ss-icon i,
:is(.fm_module_share_rail.fl-module, .fm_module_share_row .fl-module-uabb-social-share) .uabb-ss-wrap .uabb-ss-icon i::before {
  color: var(--jcd-color-muted);
  transition: color var(--jcd-duration-base) ease-out;
}

:is(.fm_module_share_rail.fl-module, .fm_module_share_row .fl-module-uabb-social-share) .uabb-ss-wrap .uabb-ss-icon i {
  font-size: var(--jcd-text-body);
}

/* Hover and focus: Font Awesome paints through ::before, so both */
:is(.fm_module_share_rail.fl-module, .fm_module_share_row .fl-module-uabb-social-share) .uabb-ss-wrap .uabb-ss-grid-item:is(:hover, :focus-within) .uabb-ss-grid-button {
  border-color: var(--jcd-color-accent);
}

:is(.fm_module_share_rail.fl-module, .fm_module_share_row .fl-module-uabb-social-share) .uabb-ss-wrap .uabb-ss-grid-item:is(:hover, :focus-within) .uabb-ss-grid-button-link,
:is(.fm_module_share_rail.fl-module, .fm_module_share_row .fl-module-uabb-social-share) .uabb-ss-wrap .uabb-ss-grid-item:is(:hover, :focus-within) .uabb-ss-icon i,
:is(.fm_module_share_rail.fl-module, .fm_module_share_row .fl-module-uabb-social-share) .uabb-ss-wrap .uabb-ss-grid-item:is(:hover, :focus-within) .uabb-ss-icon i::before {
  color: var(--jcd-color-accent-text);
}

/**
 * The ring goes on the circle, not the link: UABB sets overflow:hidden
 * on .uabb-ss-grid-button, which would clip an outline drawn inside.
 */
:is(.fm_module_share_rail.fl-module, .fm_module_share_row .fl-module-uabb-social-share) .uabb-ss-wrap .uabb-ss-grid-item:has(.uabb-ss-grid-button-link:focus-visible) .uabb-ss-grid-button {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 3px;
}

/**
 * Hidden at 1200px and below. The design shows it from 993px, but
 * there the article column starts 24px from the edge and the rail sat
 * on top of the text. The inline Share row covers these widths.
 */
@media (max-width: 1200px) {
  .fm_module_share_rail {
    display: none;
  }
}


/* ==========================================================================
   # 21. SINGLE ARTICLE — BODY GRID + STICKY SIDEBAR (BODY: STANDARD)
   ========================================================================== */

/**
 * WHY A GRID: BB floats its columns. A sticky element only travels while its
 * container is taller than it is; a grid with align-items: start leaves the
 * sidebar column its own height inside a container as tall as the article, so
 * jcd_ui_ad_rail (_components.css — sticky, top: --jcd-header-offset) has
 * room to move. The ad releases where the body row ends, before Article
 * Bottom.
 *
 * NO STICKY PLUGIN. Nothing on the page clips overflow (checked against BB's
 * layout bundle and the theme skin) — if a future plugin adds overflow:
 * hidden to .fl-page or a row, sticky stops silently.
 *
 * SCOPE: every rule targets the row's OWN column group by its exact path (row
 * > wrap > content > col-group). An Open post's builder rows render inside
 * Post Content, in this same row; a descendant selector turned their columns
 * into this 680 / 300 grid too.
 *
 * BB's column-width fields are ignored here: the grid tracks set the widths.
 * The column rule, (0,5,0), beats BB's per-node width rule (0,1,0). 1080px
 * and 300px are design constants (layout cap, IAB unit).
 */

.fm_row_article_body_sidebar > .fl-row-content-wrap > .fl-row-content > .fl-col-group {
  display: grid;
  grid-template-columns: minmax(0, var(--jcd-width-article)) 300px;
  justify-content: space-between;
  align-items: start; /* sticky needs start alignment */
  column-gap: var(--jcd-space-2xl);
  max-width: 1080px;
  margin: 0 auto;
}

/* BB's clearfix pseudo-elements would become grid items. */
.fm_row_article_body_sidebar > .fl-row-content-wrap > .fl-row-content > .fl-col-group::before,
.fm_row_article_body_sidebar > .fl-row-content-wrap > .fl-row-content > .fl-col-group::after {
  display: none;
}

.fm_row_article_body_sidebar > .fl-row-content-wrap > .fl-row-content > .fl-col-group > .fl-col {
  width: auto;
  min-width: 0; /* not 100%: Safari breaks (# 29) */
  float: none;
}

/**
 * The admin bar pushes the compact bar down 32px for logged-in users;
 * the rail follows so the bar never covers the ad. Below 993px the
 * rail is static, so WordPress's 782px step never applies here.
 */
.admin-bar .fm_row_article_body_sidebar .jcd_ui_ad_rail {
  top: calc(var(--jcd-header-offset) + 32px);
}

/* Stacked: sidebar ad follows the article, centred */
@media (max-width: 992px) {
  /**
   * Stacked, the article keeps its 680px measure instead of running
   * the full row (832px at 880 — about 95 characters a line).
   */
  .fm_row_article_body_sidebar > .fl-row-content-wrap > .fl-row-content > .fl-col-group {
    display: block;
    max-width: var(--jcd-width-article);
  }

  .fm_row_article_body_sidebar > .fl-row-content-wrap > .fl-row-content > .fl-col-group > .fl-col + .fl-col {
    margin-top: var(--jcd-space-xl);
  }
}


/* ==========================================================================
   # 22. SINGLE ARTICLE — BODY COPY (BODY: STANDARD)
   ========================================================================== */

/**
 * Styles IMPORTED content — 1,400+ posts from the old site, so the rules
 * cover what those posts actually contain, surveyed on staging:
 * p.wp-block-paragraph, heavy <strong>, h3/h4, h6 used as an end note ("For
 * more information…"), hr, ul, and images in three markups —
 * div.wp-block-image > figure.align*, figure.wp-block-image, and the classic
 * .wp-caption.
 *
 * IMAGES: full width and centred by default. An image set to Align Left
 * or Align Right sits beside the text at 45% of the column, and the text
 * wraps around it (see "Images aligned left or right" below; added
 * 2026-11-16 for product shots in gift guides).
 *
 * SCOPE: type is set on the content wrapper and INHERITED; margins go on
 * direct children only. That keeps these rules out of the mid-article ad,
 * whose labels set their own size, and out of anything a plugin injects.
 *
 * LITERAL: 17px mobile body — no type token.
 */

.fm_module_article_content .fl-module-content {
  font-size: var(--jcd-text-lead);
  line-height: 1.7;
  color: color-mix(in srgb, var(--jcd-color-ink) 88%, transparent);
}

.fm_module_article_content .fl-module-content > :first-child {
  margin-top: 0;
}

/* Paragraphs */
.fm_module_article_content .fl-module-content > p {
  margin: 0 0 var(--jcd-space-lg);
}

/* Lead: the first paragraph, even when an image precedes it. */
.fm_module_article_content .fl-module-content > p:first-of-type {
  font-size: var(--jcd-text-h4);
  line-height: 1.5;
  color: color-mix(in srgb, var(--jcd-color-ink) 78%, transparent);
}

.fm_module_article_content .fl-module-content :is(strong, b) {
  font-weight: var(--jcd-weight-semi);
  color: var(--jcd-color-ink);
}

/* Links inside text: underlined, so colour is never the only cue */
/**
 * Crimson on near-black body text is under 3:1, so colour alone fails
 * WCAG 1.4.1 for an in-text link. The underline carries it.
 */
.fm_module_article_content .fl-module-content :is(p, li, h2, h3, h4, h5, h6, figcaption, td) a {
  color: var(--jcd-color-accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: text-decoration-thickness var(--jcd-duration-fast) ease-out;
}

.fm_module_article_content .fl-module-content :is(p, li, h2, h3, h4, h5, h6, figcaption, td) a:is(:hover, :focus-visible) {
  text-decoration-thickness: 2px;
}

.fm_module_article_content .fl-module-content :is(p, li, h2, h3, h4, h5, h6, figcaption, td) a:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Section headings: h2 and h3 */
/**
 * Imported posts use h2 and h3 interchangeably for section breaks, so
 * both take the mockup's section heading. (0,2,1) beats _base.css's
 * element sizes and their breakpoint steps.
 */
.fm_module_article_content .fl-module-content > :is(h2, h3) {
  margin: var(--jcd-space-2xl) 0 var(--jcd-space-lg);
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-h2);
  font-weight: var(--jcd-weight-regular);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--jcd-color-ink);
}

.fm_module_article_content .fl-module-content > h4 {
  margin: var(--jcd-space-xl) 0 var(--jcd-space-md);
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-h4);
  font-weight: var(--jcd-weight-regular);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--jcd-color-ink);
}

.fm_module_article_content .fl-module-content > h5 {
  margin: var(--jcd-space-xl) 0 var(--jcd-space-sm);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-lead);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.4;
  color: var(--jcd-color-ink);
}

/**
 * h6 is used on imported posts as a closing note, not a heading:
 * "For more information… see VisitStLucie.com." Styled as a note set
 * off by a hairline, sentence case.
 */
.fm_module_article_content .fl-module-content > h6 {
  margin: var(--jcd-space-xl) 0 0;
  padding-top: var(--jcd-space-lg);
  border-top: 1px solid var(--jcd-color-rule);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-body);
  font-weight: var(--jcd-weight-regular);
  font-style: italic;
  line-height: 1.6;
  color: color-mix(in srgb, var(--jcd-color-ink) 70%, transparent);
}

/* Lists */
.fm_module_article_content .fl-module-content > :is(ul, ol) {
  margin: 0 0 var(--jcd-space-lg);
  padding-left: 1.25em;
}

.fm_module_article_content .fl-module-content > :is(ul, ol) li {
  margin-bottom: var(--jcd-space-sm);
  padding-left: var(--jcd-space-xs);
}

.fm_module_article_content .fl-module-content > :is(ul, ol) li::marker {
  color: var(--jcd-color-accent-text);
}

/* Rule */
.fm_module_article_content .fl-module-content > hr {
  height: 0;
  margin: var(--jcd-space-xl) 0;
  border: 0;
  border-top: 1px solid var(--jcd-color-rule);
}

/* Images: full width, centred, never wrapped */
/**
 * Bare images (no figure or caption) and linked images take the same
 * block spacing as figures.
 */
.fm_module_article_content .fl-module-content > :is(.wp-block-image, figure, .wp-caption, img, a:has(> img:only-child), p:has(> img:only-child), p:has(> a:only-child > img:only-child)) {
  margin: var(--jcd-space-xl) 0;
}

/**
 * WordPress's block library sets figure.aligncenter/alignleft/alignright
 * to display: table, which shrink-wraps the figure to the image's
 * natural width and makes the caption a table-caption. Both reset.
 */
.fm_module_article_content .fl-module-content :is(.wp-block-image figure, figure.wp-block-image, .alignleft, .alignright, .aligncenter) {
  display: block;
  float: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/**
 * Classic captions carry an inline style="width: NNNpx" written by the
 * old editor. Only !important can beat an inline style.
 */
.fm_module_article_content .fl-module-content .wp-caption {
  width: 100% !important;
  max-width: 100%;
}

/**
 * Every content image fills the 680px column, centred.
 * 1. The old editor wrote inline sizes on resized images
 *    (style="width: 424px; height: auto; aspect-ratio: …"). Only
 *    !important beats an inline style, so width, max-width and height
 *    carry it.
 * 2. A stale inline aspect-ratio would stretch the image at full width;
 *    auto hands the proportions back to the file itself.
 * 3. Centred for any image that can't fill the column.
 *
 * EXCLUDED: WordPress emoji (img.emoji / .wp-smiley inside paragraphs) stay
 * inline at text size, and gallery images keep the gallery's own grid
 * and crop.
 */
.fm_module_article_content .fl-module-content :is(figure, .wp-caption, p) img:not(.emoji, .wp-smiley, .wp-block-gallery img),
.fm_module_article_content .fl-module-content > img,
.fm_module_article_content .fl-module-content > a > img {
  display: block;
  width: 100% !important;          /* 1 */
  max-width: 100% !important;      /* 1 */
  height: auto !important;         /* 1 */
  aspect-ratio: auto !important;   /* 2 */
  margin: 0 auto;                  /* 3 */
}

/* Images aligned left or right: the text wraps beside them */
/**
 * For product shots (gift guides): an image set to Align Left or Align
 * Right in its settings takes 45% of the column, and the text after it
 * wraps around it. Put the image at the START of the paragraph it should
 * sit beside. Phones don't wrap: the image is centred at 60% width.
 *
 * Only three imported posts use these alignments (checked 2026-11-16), so
 * the full-width rule above still covers everything else.
 *
 * SPECIFICITY: each img selector reaches (0,4,2), level with the
 * full-width rule above, and wins by coming later; !important answers its
 * width. The caption form beats .wp-caption's width: 100% !important.
 */
.fm_module_article_content .fl-module-content :is(p, a) > img:is(.alignleft, .alignright):not(.emoji),
.fm_module_article_content .fl-module-content > img:is(.alignleft, .alignright):not(.emoji),
.fm_module_article_content .fl-module-content .wp-caption:is(.alignleft, .alignright) {
  width: 45% !important;
  max-width: 45% !important;
  margin-top: 0.25em;
  margin-bottom: var(--jcd-space-md);
}

.fm_module_article_content .fl-module-content :is(p, a) > img.alignleft:not(.emoji),
.fm_module_article_content .fl-module-content > img.alignleft:not(.emoji),
.fm_module_article_content .fl-module-content .wp-caption.alignleft {
  float: left;
  margin-right: var(--jcd-space-lg);
  margin-left: 0;
}

.fm_module_article_content .fl-module-content :is(p, a) > img.alignright:not(.emoji),
.fm_module_article_content .fl-module-content > img.alignright:not(.emoji),
.fm_module_article_content .fl-module-content .wp-caption.alignright {
  float: right;
  margin-left: var(--jcd-space-lg);
  margin-right: 0;
}

/**
 * Headings and rules start below a wrapped image; the h6 product line
 * sits beside it, its hairline starting at the image's edge.
 */
.fm_module_article_content .fl-module-content > :is(h2, h3, h4, hr) {
  clear: both;
}

.fm_module_article_content .fl-module-content > h6 {
  display: flow-root;
}

@media (max-width: 768px) {
  .fm_module_article_content .fl-module-content :is(p, a) > img:is(.alignleft, .alignright):not(.emoji),
  .fm_module_article_content .fl-module-content > img:is(.alignleft, .alignright):not(.emoji),
  .fm_module_article_content .fl-module-content .wp-caption:is(.alignleft, .alignright) {
    float: none;
    width: 60% !important;
    max-width: 60% !important;
    margin: var(--jcd-space-lg) auto;
  }
}

.fm_module_article_content .fl-module-content figure {
  margin-bottom: 0;
}

.fm_module_article_content .fl-module-content :is(figcaption, .wp-caption-text) {
  display: block;
  margin: var(--jcd-space-sm) 0 0;
  font-size: var(--jcd-text-caption);
  font-style: italic;
  line-height: 1.625;
  color: var(--jcd-color-muted);
  text-align: left;
}

/* Embeds */
.fm_module_article_content .fl-module-content iframe {
  max-width: 100%;
}

.fm_module_article_content .fl-module-content .wp-block-embed.is-type-video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* Quotes: blockquote, core Quote and Pullquote blocks */
/* Core Pullquote ships top/bottom borders and centred text; reset. */
.fm_module_article_content .fl-module-content > :is(blockquote, .wp-block-quote, .wp-block-pullquote) {
  margin: var(--jcd-space-2xl) 0;
  padding: 0 0 0 var(--jcd-space-lg);
  border: 0;
  border-left: 2px solid var(--jcd-color-accent);
  text-align: left;
}

.fm_module_article_content .fl-module-content .wp-block-pullquote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
}

.fm_module_article_content .fl-module-content :is(blockquote, .wp-block-pullquote) p {
  margin: 0;
  font-family: var(--jcd-font-serif);
  font-size: 1.875rem;
  font-weight: var(--jcd-weight-regular);
  line-height: 1.375;
  color: var(--jcd-color-ink);
}

.fm_module_article_content .fl-module-content :is(blockquote, .wp-block-pullquote) cite {
  display: block;
  margin-top: var(--jcd-space-md);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  font-style: normal;
  font-weight: var(--jcd-weight-semi);
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .fm_module_article_content .fl-module-content {
    font-size: 17px;
    line-height: 1.75;
  }

  .fm_module_article_content .fl-module-content > p:first-of-type {
    font-size: 1.25rem;
    line-height: 1.6;
  }

  .fm_module_article_content .fl-module-content > :is(h2, h3) {
    font-size: 1.875rem;
  }

  .fm_module_article_content .fl-module-content :is(blockquote, .wp-block-pullquote) p {
    font-size: var(--jcd-text-h4);
  }
}


/* ==========================================================================
   # 23. SINGLE ARTICLE — QUICK FACTS (BODY: STANDARD, COLUMN 1)
   ========================================================================== */

/**
 * Panel is ink at 2% on paper — a neutral near-white, not the cream
 * paper-alt.
 */

.fm_module_quick_facts {
  margin: var(--jcd-space-2xl) 0 0;
  padding: var(--jcd-space-xl);
  border-left: 2px solid var(--jcd-color-accent);
  background-color: color-mix(in srgb, var(--jcd-color-ink) 2%, var(--jcd-color-paper));
}

.fm_module_quick_facts .jcd_ui_kicker {
  margin: 0;
}

.fm_module_quick_facts .fm_module_quick_facts__heading {
  margin: var(--jcd-space-sm) 0 0;
  font-family: var(--jcd-font-serif);
  font-size: 1.875rem;
  font-weight: var(--jcd-weight-regular);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--jcd-color-ink);
}

.fm_module_quick_facts__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--jcd-space-md) var(--jcd-space-lg);
  margin: var(--jcd-space-lg) 0 0;
  font-size: 0.875rem;
}

.fm_module_quick_facts__list dt {
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  letter-spacing: var(--jcd-tracking-nav);
  text-transform: uppercase;
  color: var(--jcd-color-muted);
}

.fm_module_quick_facts__list dd {
  margin: var(--jcd-space-xs) 0 0;
  line-height: 1.625;
  color: color-mix(in srgb, var(--jcd-color-ink) 88%, transparent);
}

@media (max-width: 768px) {
  .fm_module_quick_facts {
    padding: var(--jcd-space-lg);
  }

  .fm_module_quick_facts .fm_module_quick_facts__heading {
    font-size: var(--jcd-text-h4);
  }

  .fm_module_quick_facts__list {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ==========================================================================
   # 24. SINGLE ARTICLE — MORE LIKE THIS (PART: ARTICLE BOTTOM)
   ========================================================================== */

/**
 * Reuses the homepage's section-header classes, More [Category] link
 * included, and overrides only the heading face and the gap to the grid.
 *
 * SHARED: the width, edges and whole card system below also serve the author
 * archive grid (fm_row_author_stories), the Promotions archive grid
 * (fm_row_promotions_grid, # 62) and the search results grid
 * (fm_row_search_grid, # 63) — one card, four places. The 4:3 crop set here
 * is the search grid's; Promotions overrides it to 16:9.
 *
 * ONE LINK PER CARD, as the hero: the title link's ::after covers the card;
 * the image is unlinked and "Read Story" is a decorative span.
 */

/* Width and edges */
/**
 * 1280px including the inset, so the section's edges line up with the article
 * body above it at every width. BB's column padding and module margins are
 * zeroed — they added 40px each side, which left cards 262px wide on a 390px
 * phone.
 */
:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) > .fl-row-content-wrap > .fl-row-content {
  max-width: 80rem;
}

:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .fl-col[data-node] > .fl-col-content {
  padding: 0;
}

:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .fl-module[data-node] > .fl-module-content,
:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .fl-module[data-node]:not(:has(> .fl-module-content)) {
  margin: 0;
}

/* Header */
/**
 * The More [Category] link is the homepage View All exactly — same
 * class, same size, weight, tracking, colour, hover and bottom
 * alignment. Only the heading face and the gap to the grid differ.
 */
.fm_row_related .fm_most_read_section_header {
  margin-bottom: var(--jcd-space-xl);
}

.fm_row_related .fm_most_read_heading {
  font-family: var(--jcd-font-serif);
  font-weight: var(--jcd-weight-regular);
}

/* Card */
:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) {
  --jcd-media-ratio: 4 / 3;
}

:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .pp-content-post {
  position: relative; /* containing block for ::after */
}

:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .pp-content-grid-post-text > * {
  margin: 0;
}

:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .fm_related_meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--jcd-space-sm);
  margin-top: var(--jcd-space-lg);
}

:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .fm_related_meta .jcd_ui_kicker {
  margin: 0;
}

:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .fm_related_meta__dot {
  width: var(--jcd-space-xs);
  height: var(--jcd-space-xs);
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--jcd-color-ink) 18%, transparent);
}

:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .fm_related_meta__date {
  font-size: var(--jcd-text-kicker);
  line-height: 1.5;
  letter-spacing: var(--jcd-tracking-nav);
  text-transform: uppercase;
  color: var(--jcd-color-muted);
}

:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .pp-content-grid-post-title {
  margin-top: var(--jcd-space-sm);
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-h4);
  font-weight: var(--jcd-weight-regular);
  line-height: 1.375;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--jcd-color-ink);
}

:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .pp-content-grid-post-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--jcd-duration-base) ease-out;
}

:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .pp-content-grid-post-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .pp-content-grid-post-title a:focus-visible {
  outline: none;
}

:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .pp-content-post:has(a:focus-visible) {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 4px;
}

:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .pp-content-grid-post-excerpt {
  margin-top: var(--jcd-space-sm);
  font-size: 0.875rem;
  line-height: 1.625;
  color: color-mix(in srgb, var(--jcd-color-ink) 70%, transparent);
}

/* Card hover and keyboard focus: the whole card is the link */
:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .pp-content-post:is(:hover, :has(a:focus-visible)) .pp-content-grid-post-title a {
  color: var(--jcd-color-accent-text);
}

:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .pp-content-post:is(:hover, :has(a:focus-visible)) .fm_most_read_read_more {
  color: var(--jcd-color-accent-text);
}

:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .pp-content-post:is(:hover, :has(a:focus-visible)) .fm_most_read_read_more span:first-child {
  border-color: var(--jcd-color-accent-text);
}

:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .pp-content-post:is(:hover, :has(a:focus-visible)) .fm_most_read_read_more span:last-child {
  transform: translateX(4px);
}

:is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .pp-content-post:is(:hover, :has(a:focus-visible)) .jcd_ui_post_media img {
  transform: scale(1.01);
}

@media (max-width: 768px) {
  /**
   * Side by side, the heading squeezed to one word a line and the link
   * ran off the screen. Stacked: kicker, heading, then the link.
   */
  .fm_row_related .fm_most_read_section_header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--jcd-space-md);
  }

  :is(.fm_row_related, .fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .pp-content-grid-post-title {
    font-size: 1.25rem;
  }
}


/* Load More */
/**
 * PowerPack's own Load More on the More Like This grid. It rendered with
 * PowerPack's defaults — a white 14px sentence-case link — because the pill
 * rules in # 13 and # 54 are scoped to their own grids. Same values as
 * those: kit pill type and colours, the design's larger padding, ink to
 * accent on hover, a ring in place of the white-ground spinner GIF.
 *
 * PowerPack writes the button at .fl-node-x .pp-content-grid-load-more a —
 * (0,2,1) — and its hover at (0,3,1). These start at (0,3,1) and (0,4,1).
 */
.fm_row_related .fl-module-pp-content-grid .pp-content-grid-load-more {
  margin-top: var(--jcd-space-2xl);
  text-align: center;
}

.fm_row_related .fl-module-pp-content-grid .pp-content-grid-load-more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--jcd-space-sm);
  min-height: 44px; /* WCAG 2.5.5 target, as in the kit pill */
  padding: var(--jcd-space-md) var(--jcd-space-xl);
  border: 1px solid var(--jcd-color-ink);
  border-radius: var(--jcd-radius-pill);
  background-color: var(--jcd-color-ink);
  color: var(--jcd-color-paper);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  line-height: 1;
  letter-spacing: var(--jcd-tracking-btn);
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background-color var(--jcd-duration-base) ease-out,
    border-color var(--jcd-duration-base) ease-out,
    color var(--jcd-duration-base) ease-out;
}

.fm_row_related .fl-module-pp-content-grid .pp-content-grid-load-more a:is(:hover, :focus-visible) {
  border-color: var(--jcd-color-accent);
  background-color: var(--jcd-color-accent);
  color: var(--jcd-color-cta-fg);
}

.fm_row_related .fl-module-pp-content-grid .pp-content-grid-load-more a:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 3px;
}

/* Loading: ring in the label colour (NN/g #1, visibility of system status). */
.fm_row_related .fl-module-pp-content-grid .pp-grid-loader-icon img {
  display: none;
}

.fm_row_related .fl-module-pp-content-grid .pp-grid-load-more-button.loading {
  cursor: progress;
}

.fm_row_related .fl-module-pp-content-grid .pp-grid-load-more-button.loading .pp-grid-loader-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: fm_load_more_spin 700ms linear infinite; /* keyframes in # 13 */
}

/* ==========================================================================
   # 25. SINGLE ARTICLE — AUTHOR BOX (PART: ARTICLE BOTTOM)
   ========================================================================== */

/**
 * Molongui's markup nests the parts four deep and puts the header ("Written
 * By") ABOVE the avatar row. The box becomes a two-column grid and the
 * wrappers between it and its parts are display: contents — their children
 * join the grid directly:
 *   col 1: avatar (spans the three rows)   col 2: kicker / name / bio
 *
 * SPECIFICITY: Molongui's stylesheet loads AFTER ours and reaches (0,5,0), so
 * equal selectors lose. Every rule starts
 *   .fm_row_article_author .fl-module .m-a-box[data-box-layout]
 * — (0,4,0) before the target — to clear it without !important. The two
 * !importants below answer Molongui's inline styles, which nothing else can
 * beat.
 *
 * Name colour: Molongui prints `.m-a-box-name * { color: inherit !important
 * }`, so the name's colour — and its hover — is set on the .m-a-box-name
 * wrapper it inherits from. The meta line (job title, "+ posts") is hidden.
 *
 * LITERALS: 768px measure, 48px band, 32px gap, 12px bio gap.
 */

/**
 * No author, no row. functions.php empties [molongui_author_box] when
 * the post has no author with a name; the row then holds no .m-a-box
 * and is removed — band, hairlines and padding with it.
 */
.fm_row_article_author:not(:has(.m-a-box)) {
  display: none;
}

.section_is_article_author {
  background-color: color-mix(in srgb, var(--jcd-color-ink) 1.5%, var(--jcd-color-paper));
  border-top: 1px solid color-mix(in srgb, var(--jcd-color-ink) 5%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--jcd-color-ink) 5%, transparent);
}

/**
 * This row owns its own rhythm and measure, so it carries no band or
 * width class — one owner.
 */
.fm_row_article_author > .fl-row-content-wrap {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.fm_row_article_author > .fl-row-content-wrap > .fl-row-content {
  max-width: 48rem;
}

.fm_row_article_author .fl-col[data-node] > .fl-col-content {
  padding: 0;
}

.fm_row_article_author .fl-module[data-node]:not(:has(> .fl-module-content)) {
  margin: 0;
}

.fm_row_article_author .molongui-clearfix,
.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-content-top,
.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-content-bottom,
.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-data .m-a-box-meta {
  display: none;
}

/* The grid */
.fm_row_article_author .fl-module .m-a-box[data-box-layout] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-items: center;
  column-gap: 2rem;
  margin: 0;
}

.fm_row_article_author .fl-module .m-a-box[data-box-layout]:has(.m-a-box-avatar) {
  grid-template-columns: auto minmax(0, 1fr);
}

.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-container,
.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile,
.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-content-middle,
.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-data {
  display: contents;
}

.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-avatar {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: center;
  padding: 0;
}

.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-header,
.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-name,
.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-bio {
  grid-column: -2; /* the last column, one or two */
  text-align: left;
}

.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-header { grid-row: 1; align-self: end; }
.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-name { grid-row: 2; }
.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-bio  { grid-row: 3; align-self: start; }

/* Avatar: initials circle */
/**
 * Molongui writes the circle's size inline (width:150px;height:150px) —
 * only !important beats an inline style.
 */
.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-avatar :is(img, .acronym-container) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px !important;
  height: 96px !important;
  margin: 0;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--jcd-color-accent);
}

.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-avatar .acronym-container > div {
  top: 0;
  font-family: var(--jcd-font-serif);
  font-size: 1.875rem;
  font-weight: var(--jcd-weight-regular);
  line-height: 1;
  color: var(--jcd-color-cta-fg); /* white on accent, 6.28:1 */
}

/* Kicker: "Written By" */
.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-header {
  width: auto;
  margin: 0;
}

.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-header > :first-child,
.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-header .m-a-box-header-title {
  margin: 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.5;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-muted);
}

/* Name */
.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-name {
  margin: var(--jcd-space-sm) 0 0;
  color: var(--jcd-color-ink);
  transition: color var(--jcd-duration-base) ease-out;
}

.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-name:has(a:is(:hover, :focus-visible)) {
  color: var(--jcd-color-accent-text);
}

.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-content.m-a-box-profile .m-a-box-data .m-a-box-name * {
  margin: 0;
  font-family: var(--jcd-font-serif);
  font-size: 1.5rem;
  font-weight: var(--jcd-weight-regular);
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-align: left;
  text-decoration: none;
}

/* Molongui removes every focus outline in the box (.m-a-box a:focus). */
.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-name a:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 3px;
}

/* Bio */
.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-bio {
  margin: 0.75rem 0 0;
}

.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-bio > * {
  margin: 0;
  font-family: var(--jcd-font-sans);
  font-size: 0.875rem;
  line-height: 1.625;
  color: color-mix(in srgb, var(--jcd-color-ink) 70%, transparent);
}

/* Phones: avatar above the text, left-aligned */
@media (max-width: 768px) {
  .fm_row_article_author > .fl-row-content-wrap {
    padding-top: var(--jcd-space-xl);
    padding-bottom: var(--jcd-space-xl);
  }

  .fm_row_article_author .fl-module .m-a-box[data-box-layout]:has(.m-a-box-avatar) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-avatar {
    grid-row: 1;
    justify-self: start;
    margin-bottom: var(--jcd-space-lg);
  }

  .fm_row_article_author .fl-module .m-a-box[data-box-layout]:has(.m-a-box-avatar) .m-a-box-header { grid-row: 2; }
  .fm_row_article_author .fl-module .m-a-box[data-box-layout]:has(.m-a-box-avatar) .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-name { grid-row: 3; }
  .fm_row_article_author .fl-module .m-a-box[data-box-layout]:has(.m-a-box-avatar) .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-bio  { grid-row: 4; }

  .fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-avatar :is(img, .acronym-container) {
    width: 80px !important; /* beats Molongui's inline size */
    height: 80px !important;
  }

  .fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-avatar .acronym-container > div {
    font-size: 1.5rem;
  }
}


/* --- No bios at the end of articles -------------------------------------- */
/**
 * CLIENT DECISION 2026-11-16: author bios go stale, so the box at the end
 * of an article shows the author's avatar and name only, never the bio,
 * whether or not the author has one. The bio still shows on the author's
 * own archive page ([fm_author_archive_header]). This applies to the
 * Standard/Open author row and the Long Form signature (# 44).
 *
 * Molongui prints the bio in .m-a-box-bio, and only the FIRST box of a
 * co-authored post carries the "Written By" header. Every author module
 * uses the compact layout first built for co-authors without bios: each
 * author a 56px avatar beside the name, side by side, under one
 * "Written By" (the first box's header, lifted to the top of the module).
 * Phones stack the authors; the avatar stays beside its name.
 *
 * To bring bios back, delete the display: none rule below and restore the
 * old condition in place of .fl-module:has(> .m-a-box) on every rule
 * here: .fl-module:has(> .m-a-box ~ .m-a-box) followed by
 * :not(:has(.m-a-box-bio:not(:empty))).
 */
.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-bio,
.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-bio {
  display: none;
}

.fm_row_article_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-bio:empty {
  display: none;
}

.fm_row_article_author .fl-module .m-a-box[data-box-layout]:not(:has(.m-a-box-header)) .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-name {
  margin-top: 0;
}

/**
 * BB's clearfix ::before/::after would be flex items (a 40px gap before the
 * first author); Molongui's clearfix divs are width:100% !important and
 * would force a line each. Its box margin is 20px 0 !important. Only
 * !important answers those.
 */
.fm_row_article_author .fl-module:has(> .m-a-box)::before,
.fm_row_article_author .fl-module:has(> .m-a-box)::after {
  content: none;
}

.fm_row_article_author .fl-module:has(> .m-a-box) > .molongui-clearfix {
  display: none !important;
}

.fm_row_article_author .fl-module:has(> .m-a-box) {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--jcd-space-xl);
  row-gap: var(--jcd-space-md);
  padding-top: calc(var(--jcd-text-kicker) * 1.5 + var(--jcd-space-md)); /* the lifted header's line + gap */
}

.fm_row_article_author .fl-module:has(> .m-a-box) > .m-a-box[data-box-layout] {
  width: auto;
  margin: 0 !important;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto;
  column-gap: var(--jcd-space-md);
}

.fm_row_article_author .fl-module:has(> .m-a-box) > .m-a-box[data-box-layout] .m-a-box-header {
  position: absolute;
  top: 0;
  left: 0;
}

.fm_row_article_author .fl-module:has(> .m-a-box) > .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-avatar {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}

.fm_row_article_author .fl-module:has(> .m-a-box) > .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-name {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

.fm_row_article_author .fl-module:has(> .m-a-box) > .m-a-box[data-box-layout] .m-a-box-container .m-a-box-content.m-a-box-profile .m-a-box-data .m-a-box-name * {
  font-size: 1.25rem;
}

/* !important: Molongui's inline 150px size, as above */
.fm_row_article_author .fl-module:has(> .m-a-box) > .m-a-box[data-box-layout] .m-a-box-avatar :is(img, .acronym-container) {
  width: 56px !important;
  height: 56px !important;
}

.fm_row_article_author .fl-module:has(> .m-a-box) > .m-a-box[data-box-layout] .m-a-box-avatar .acronym-container > div {
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  .fm_row_article_author .fl-module:has(> .m-a-box) {
    flex-direction: column;
  }

  .fm_row_article_author .fl-module:has(> .m-a-box) > .m-a-box[data-box-layout]:has(.m-a-box-avatar) {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .fm_row_article_author .fl-module:has(> .m-a-box) > .m-a-box[data-box-layout]:has(.m-a-box-avatar) .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-name {
    grid-row: 1;
  }

  .fm_row_article_author .fl-module:has(> .m-a-box) > .m-a-box[data-box-layout] .m-a-box-avatar :is(img, .acronym-container) {
    width: 48px !important;
    height: 48px !important;
  }

  .fm_row_article_author .fl-module:has(> .m-a-box) > .m-a-box[data-box-layout] .m-a-box-avatar .acronym-container > div {
    font-size: 1rem;
  }
}


/* ==========================================================================
   # 26. SINGLE ARTICLE — SHARE ROW (BODY: STANDARD, COLUMN 1, FIRST)
   ========================================================================== */

/**
 * The circles, icons, hover and focus ring are the SHARE RAIL's rules — that
 * block's selectors cover both modules, so the two can't drift. This block
 * only lays out the row.
 *
 * Visible at every width, unlike the rail. 36px circles meet WCAG 2.5.8's
 * 24px minimum on touch screens.
 */

.fm_module_share_row.fl-module {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--jcd-space-md);
  margin: 0 0 var(--jcd-space-xl);
  padding: var(--jcd-space-md) 0;
  border-top: 1px solid color-mix(in srgb, var(--jcd-color-ink) 5%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--jcd-color-ink) 5%, transparent);
}

.fm_module_share_row .fm_share_row_label {
  margin: 0;
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.5;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-muted);
}

/**
 * Both children size to their content, so label and circles stay on
 * one line down to 320px.
 */
.fm_module_share_row.fl-module > .fl-module {
  flex: 0 0 auto;
  width: auto;
}

/**
 * UABB's "auto" columns mode forces margin-left: 10px !important on the
 * first circle. Only !important answers !important.
 */
.fm_module_share_row .uabb-social-share-wrap.uabb-ss-column-auto .uabb-style-inline .uabb-ss-grid-item:first-child,
.fm_module_share_row .uabb-social-share-wrap .uabb-ss-grid-item:first-child {
  margin-left: 0 !important;
}

.fm_module_share_row .fl-module-uabb-social-share .uabb-social-share-wrap .uabb-ss-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--jcd-space-sm);
}


/* ==========================================================================
   # 27. AUTHOR ARCHIVE — HERO (THEMER ARCHIVE: AUTHOR ARCHIVES)
   ========================================================================== */

/**
 * Centred and stacked on phones; from 769px a two-column grid, 144px avatar +
 * text, left-aligned. The row sets its own measure and carries no jcd_width_*
 * class.
 *
 * The avatar is Molongui's (acronym fallback), sized by the same !important
 * answer to Molongui's inline 150px as the article's box.
 *
 * LITERALS: 1024px measure, 144px avatar, 48px initials, 60px name, 48px gap.
 * Bio is ink at 70%, not the design's 55% — 55% measures 4.35:1, under 4.5:1
 * for 18px text.
 */

.section_is_author_hero {
  border-bottom: 1px solid var(--jcd-color-rule);
}

.fm_row_author_hero > .fl-row-content-wrap > .fl-row-content {
  max-width: 64rem;
}

.fm_row_author_hero .fl-col[data-node] > .fl-col-content {
  padding: 0;
}

.fm_row_author_hero .fl-module[data-node] > .fl-module-content,
.fm_row_author_hero .fl-module[data-node]:not(:has(> .fl-module-content)) {
  margin: 0;
}

.fm_module_author_hero {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  align-items: center;
  column-gap: 3rem;
  text-align: left;
}

/* Avatar */
.fm_module_author_hero__avatar :is(img, .acronym-container, div[data-avatar-type="acronym"]) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 144px !important; /* beats Molongui's inline size */
  height: 144px !important;
  margin: 0;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--jcd-color-accent);
}

.fm_module_author_hero__avatar .acronym-container > div {
  top: 0;
  font-family: var(--jcd-font-serif);
  font-size: 3rem;
  font-weight: var(--jcd-weight-regular);
  line-height: 1;
  color: var(--jcd-color-cta-fg);
}

.fm_module_author_hero__avatar a {
  display: block;
  pointer-events: none; /* decorative here; the page IS the author */
}

/* Text */
.fm_module_author_hero .jcd_ui_kicker {
  margin: 0;
}

.fm_row_author_hero .fm_module_author_hero__name {
  margin: var(--jcd-space-md) 0 0;
  font-family: var(--jcd-font-serif);
  font-size: 3.75rem;
  font-weight: var(--jcd-weight-regular);
  line-height: 1;
  color: var(--jcd-color-ink);
}

.fm_module_author_hero__bio {
  max-width: 42rem;
  margin: var(--jcd-space-lg) 0 0;
  font-size: var(--jcd-text-lead);
  line-height: 1.625;
  color: color-mix(in srgb, var(--jcd-color-ink) 70%, transparent);
}

.fm_module_author_hero__bio > * {
  margin: 0;
}

.fm_module_author_hero__bio > * + * {
  margin-top: var(--jcd-space-md);
}

/* Phones: centred, avatar above */
@media (max-width: 768px) {
  .fm_module_author_hero {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    row-gap: var(--jcd-space-xl);
    text-align: center;
  }

  .fm_row_author_hero .fm_module_author_hero__name {
    font-size: var(--jcd-text-h2);
  }

  .fm_module_author_hero__bio {
    margin-left: auto;
    margin-right: auto;
  }
}


/* ==========================================================================
   # 28. AUTHOR ARCHIVE — STORIES (THEMER ARCHIVE: AUTHOR ARCHIVES)
   ========================================================================== */

/**
 * Width, edges and the whole card are SHARED with More Like This — see that
 * block. This block adds the bar, the grid gaps and the pagination. Six
 * stories a page: functions.php sets the main query.
 *
 * SHARED: the bar, gaps and numbered pagination also serve the Promotions
 * archive grid (fm_row_promotions_grid, # 62) and the search results grid
 * (fm_row_search_grid, # 63). All three rows turn the numbers into a Load
 * More button (# 59); the numbers stay styled for no-JS visitors.
 */

:is(.fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .fm_author_stories_bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--jcd-space-md);
  margin-bottom: var(--jcd-space-xl);
  padding-bottom: var(--jcd-space-md);
  border-bottom: 1px solid var(--jcd-color-rule);
}

:is(.fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .fm_author_stories_bar__title {
  margin: 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.5;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jcd-color-ink);
}

:is(.fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .fm_author_stories_bar__count {
  font-size: var(--jcd-text-kicker);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jcd-color-muted);
}

/* Grid gaps: 40px across, 64px down */
:is(.fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) .fl-module .pp-content-post-grid.pp-css-grid {
  column-gap: var(--jcd-space-xl);
  row-gap: var(--jcd-space-2xl);
}

/* Pagination */
/**
 * PowerPack prints WordPress's paginate_links() list. Numbers become
 * 44px circles — the current page filled ink; Prev/Next are text.
 */
:is(.fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) :is(.pp-content-grid-pagination, .fl-builder-pagination) {
  margin-top: var(--jcd-space-2xl);
  padding-top: var(--jcd-space-xl);
  border-top: 1px solid var(--jcd-color-rule);
}

:is(.fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) :is(.pp-content-grid-pagination, .fl-builder-pagination) ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--jcd-space-sm);
  margin: 0;
  padding: 0;
  list-style: none;
}

:is(.fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) :is(.pp-content-grid-pagination, .fl-builder-pagination) li {
  margin: 0;
}

:is(.fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) :is(.pp-content-grid-pagination, .fl-builder-pagination) .page-numbers:not(ul) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px; /* touch target */
  height: 44px;
  padding: 0;
  border: 1px solid var(--jcd-color-rule);
  border-radius: 50%;
  background: transparent;
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  line-height: 1;
  color: var(--jcd-color-ink);
  text-decoration: none;
  transition: border-color var(--jcd-duration-base) ease-out, color var(--jcd-duration-base) ease-out;
}

:is(.fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) :is(.pp-content-grid-pagination, .fl-builder-pagination) a.page-numbers:is(:hover, :focus-visible) {
  border-color: var(--jcd-color-ink);
}

:is(.fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) :is(.pp-content-grid-pagination, .fl-builder-pagination) .page-numbers.current {
  border-color: var(--jcd-color-ink);
  background-color: var(--jcd-color-ink);
  color: var(--jcd-color-paper);
}

:is(.fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) :is(.pp-content-grid-pagination, .fl-builder-pagination) .page-numbers.dots {
  border-color: transparent;
}

:is(.fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) :is(.pp-content-grid-pagination, .fl-builder-pagination) :is(.next, .prev).page-numbers {
  min-width: 0;
  padding: 0 var(--jcd-space-sm);
  border: 0;
  border-radius: 0;
  letter-spacing: var(--jcd-tracking-btn);
  text-transform: uppercase;
}

:is(.fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) :is(.pp-content-grid-pagination, .fl-builder-pagination) :is(.next, .prev).page-numbers:is(:hover, :focus-visible) {
  color: var(--jcd-color-accent-text);
}

:is(.fm_row_author_stories, .fm_row_promotions_grid, .fm_row_search_grid) :is(.pp-content-grid-pagination, .fl-builder-pagination) a.page-numbers:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 3px;
}


/* ==========================================================================
   # 29. BUILDER VIEW — GRID ROWS
   ========================================================================== */

/**
 * In the Beaver Builder editor, BB writes each column's width as an INLINE
 * style (style="width: 50%") and inserts drop-target <div>s among the
 * columns. Two things followed on every row laid out with CSS grid here (body
 * + sidebar, split, paired quote, two-up):
 *   - the inline 50% halved each column inside its grid track;
 *   - :first-child / :last-child matched a drop target, not a column,
 *     so the text column fell into one 12th of the grid and wrapped a
 *     letter a line.
 * Fixes: the rule below resets the inline width in the editor only, and
 * columns are picked with :nth-child(1 of .fl-col) / :nth-last-child(1 of
 * .fl-col), which count columns only. The front end is unchanged.
 *
 * WHY NOT min-width: 100% (used until 2026-11-18): Safari resolves a grid
 * item's percentage min-width against the whole grid, not the item's track.
 * Every column became as wide as the row: on Standard articles the body ran
 * about 1,000px wide, the sidebar was pushed off the screen (page width
 * about 1,960px at a 1,280px window, so Safari looked zoomed in), and the
 * Article Bottom rows drew over the story. Front-end grid items now take
 * min-width: 0, and this editor-only rule does the inline-width job.
 *
 * !important is the only way past BB's inline style="width: 50%"; it is
 * scoped to .fl-builder-edit, so it never reaches the live site.
 */
.fl-builder-edit :is(
  .fm_row_article_body_sidebar > .fl-row-content-wrap > .fl-row-content > .fl-col-group,
  .fm_row_lf_split .fl-col-group,
  .fm_row_lf_quote_paired .fl-col-group,
  .fm_row_lf_twoup .fl-col-group,
  .fm_row_gg_item_split .fl-col-group,
  .fm_row_gg_grid .fl-col-group,
  .fm_row_legal_body > .fl-row-content-wrap > .fl-row-content > .fl-col-group
) > .fl-col {
  width: auto !important;
}


/* ==========================================================================
   # 30. LONG FORM — SHARED (LAYOUT 02)
   ========================================================================== */

/**
 * EVERY long-form row carries fm_row_lf plus its own class. fm_row_lf is the
 * one owner of space inside these rows: BB column padding and module margins
 * are zeroed, so each row's own rules set its edges and rhythm. Long-form
 * rows take NO jcd_band_* or jcd_width_* class — each row sets its own
 * measure and padding, as the design gives every block its own.
 *
 * TYPE: Playfair Display at REGULAR throughout. Kickers use
 * --jcd-tracking-kicker, like every kicker on the site.
 *
 * LITERALS, scoped here — design sizes with no token: 42rem text measure,
 * 1400px / 1200px / 1024px / 896px containers, 26px / 22px body, 92px
 * headline, 11rem quote mark, 92px drop cap.
 */

.fm_row_lf .fl-col[data-node] > .fl-col-content {
  padding: 0;
}

.fm_row_lf .fl-module[data-node] > .fl-module-content,
.fm_row_lf .fl-module[data-node]:not(:has(> .fl-module-content)) {
  margin: 0;
}

.fm_row_lf :is(.fm_lf_kicker, .jcd_ui_section_header .pp-heading-prefix) {
  display: block;
  margin: 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.5;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-accent-text);
}

.fm_row_lf :is(.fl-photo-caption, .fm_lf_caption) {
  margin-top: var(--jcd-space-md);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-caption);
  font-style: italic;
  line-height: 1.625;
  color: var(--jcd-color-muted);
  text-align: left;
}

/* BB Photo module: fill the column, crop by the row's ratio. */
.fm_row_lf .fl-module-photo .fl-photo,
.fm_row_lf .fl-module-photo .fl-photo-content {
  display: block;
  width: 100%;
}

.fm_row_lf .fl-module-photo .fl-photo-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--fm-lf-ratio, 16 / 9);
  object-fit: cover;
}


/* ==========================================================================
   # 31. LONG FORM — READING PROGRESS (THEMER LAYOUT, HERO ROW)
   ========================================================================== */

/**
 * CSS only — a scroll-driven animation, no JavaScript. Where the browser has
 * no scroll timelines (Firefox, for now) the bar simply isn't drawn; nothing
 * else depends on it.
 */

.fm_lf_progress {
  display: none;
}

@supports (animation-timeline: scroll()) {
  .fm_lf_progress {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 600; /* above the compact bar (500) */
    height: 2px;
    background-color: var(--jcd-color-accent);
    transform-origin: 0 50%;
    transform: scaleX(0);
    pointer-events: none;
    animation: fm-lf-progress linear both;
    animation-timeline: scroll(root);
  }

  .admin-bar .fm_lf_progress { top: 32px; }
}

@keyframes fm-lf-progress {
  to { transform: scaleX(1); }
}


/* ==========================================================================
   # 32. LONG FORM — HERO (THEMER LAYOUT)
   ========================================================================== */

/**
 * 92% of the viewport tall (svh, so mobile browser chrome can't crop it),
 * featured image cover, dark gradient, text bottom-centred. Headline 92 / 72
 * / 48px. Kicker in --jcd-color-inverse-accent (12.02:1 on ink). Meta in
 * --jcd-color-inverse-muted. The "Scroll" cue pulses; reduced-motion users
 * get a still line.
 */

.fm_row_lf_hero > .fl-row-content-wrap {
  padding: 0;
}

.fm_module_lf_hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 560px;
  height: 92vh;
  height: 92svh;
  overflow: hidden;
  padding: 0 var(--jcd-page-inset) 8rem;
  text-align: center;
  color: var(--jcd-color-paper);
  background-color: var(--jcd-color-ink); /* before the image paints */
}

.fm_module_lf_hero__media,
.fm_module_lf_hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.fm_module_lf_hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--jcd-color-ink) 10%, transparent),
    color-mix(in srgb, var(--jcd-color-ink) 25%, transparent) 50%,
    color-mix(in srgb, var(--jcd-color-ink) 70%, transparent)
  );
}

.fm_module_lf_hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

/**
 * Section label: white on a solid crimson tag (2026-11-05).
 * Crimson text alone reached only 3.1:1 on ink and less over bright hero
 * photos; white on --jcd-color-accent is 6.3:1 on any image.
 * 1. Shrink-wraps the tag around the section name; the hero centres it.
 * 2. Tracking adds trailing space after the last letter, so the right
 *    padding gives it back to keep the name optically centred.
 */
.fm_module_lf_hero__kicker {
  display: inline-block; /* 1 */
  margin: 0;
  padding: var(--jcd-space-xs) calc(var(--jcd-space-sm) - var(--jcd-tracking-kicker)) var(--jcd-space-xs) var(--jcd-space-sm); /* 2 */
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-cta-fg);
  background-color: var(--jcd-color-accent);
}

.fm_module_lf_hero__kicker a {
  color: inherit;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity var(--jcd-duration-base) ease-out;
}

.fm_module_lf_hero__kicker a:is(:hover, :focus-visible) {
  opacity: 1;
}

.fm_module_lf_hero__kicker a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.fm_row_lf_hero .fm_module_lf_hero__title {
  max-width: 64rem;
  margin: var(--jcd-space-xl) auto 0;
  font-family: var(--jcd-font-serif);
  font-size: 92px;
  font-weight: var(--jcd-weight-regular);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--jcd-color-paper);
  text-wrap: balance;
}

.fm_module_lf_hero__dek {
  max-width: 42rem;
  margin: var(--jcd-space-xl) auto 0;
  font-size: 1.25rem;
  line-height: 1.625;
  color: color-mix(in srgb, var(--jcd-color-paper) 85%, transparent);
}

.fm_module_lf_hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--jcd-space-xs) 0;
  margin: var(--jcd-space-xl) 0 0;
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.5;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-inverse-muted);
}

/* " · " between items, drawn by CSS and silent to screen readers. */
.fm_module_lf_hero__meta > span + span::before {
  content: "·" / "";
  margin: 0 0.75em;
}

.fm_module_lf_hero__meta a {
  color: var(--jcd-color-paper);
  text-decoration: none;
}

.fm_module_lf_hero__meta a:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.fm_module_lf_hero__author .m-post-byline {
  display: inline;
}

.fm_module_lf_hero__meta > span:has(> .fm_module_lf_hero__author:empty) {
  display: none;
}

.fm_module_lf_hero__cue {
  position: absolute;
  bottom: var(--jcd-space-xl);
  left: 50%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--jcd-space-sm);
  transform: translateX(-50%);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  letter-spacing: var(--jcd-tracking-wide);
  text-transform: uppercase;
  color: color-mix(in srgb, var(--jcd-color-paper) 70%, transparent);
}

.fm_module_lf_hero__cue::after {
  content: "";
  width: 1px;
  height: var(--jcd-space-xl);
  background-color: color-mix(in srgb, var(--jcd-color-paper) 60%, transparent);
  animation: fm-lf-pulse 2s ease-in-out infinite;
}

@keyframes fm-lf-pulse {
  50% { opacity: 0.4; }
}

@media (max-width: 992px) {
  .fm_row_lf_hero .fm_module_lf_hero__title {
    font-size: var(--jcd-text-display);
  }
}

@media (max-width: 768px) {
  .fm_module_lf_hero {
    padding-bottom: 6rem;
  }

  .fm_row_lf_hero .fm_module_lf_hero__title {
    font-size: var(--jcd-text-h1);
  }

  .fm_module_lf_hero__dek {
    font-size: var(--jcd-text-lead);
  }

  /**
   * The meta wrapped mid-way and started its second line with a dot.
   * Byline and photo credit take a line each; date · read time share
   * the last. The dot before an item that starts a line is dropped.
   */
  .fm_module_lf_hero__meta > :is(span:first-child, .fm_module_lf_hero__credit) {
    flex-basis: 100%;
  }

  .fm_module_lf_hero__meta > .fm_module_lf_hero__credit::before,
  .fm_module_lf_hero__meta > :is(span:first-child, .fm_module_lf_hero__credit) + span::before {
    content: none;
  }

  /* The Scroll cue sat on top of the meta line on phones. */
  .fm_module_lf_hero__cue {
    display: none;
  }
}


/* ==========================================================================
   # 33. LONG FORM — POST CONTENT (THEMER LAYOUT)
   ========================================================================== */

/**
 * The saved rows the editor builds render inside this module — edge to edge,
 * each carrying its own measure and rhythm.
 */

.fm_row_lf_body > .fl-row-content-wrap {
  padding: 0;
}


/* ==========================================================================
   # 34. LONG FORM — SECTION HEADING (LIBRARY LF-01; LAYOUT 02)
   ========================================================================== */

/**
 * The 48px hairline under the heading is drawn here, not by PowerPack.
 *
 * SPECIFICITY: mirrors PowerPack's title-margin selector plus the row class,
 * as the category header does.
 */

.fm_row_lf_heading > .fl-row-content-wrap > .fl-row-content {
  max-width: 42rem;
}

.fm_row_lf_heading > .fl-row-content-wrap {
  padding-top: 3.5rem;
  padding-bottom: var(--jcd-space-xs);
}

.fm_row_lf_heading .fm_module_lf_heading .pp-heading-content {
  text-align: left;
}

.fm_row_lf_heading .fm_module_lf_heading .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
  margin: var(--jcd-space-md) 0 0;
  font-size: 3.75rem;
  line-height: 1.05;
  text-align: left;
}

/* With no eyebrow, the heading starts the row. */
.fm_row_lf_heading .fm_module_lf_heading .pp-heading-content:not(:has(.pp-heading-prefix:not(:empty))) .pp-heading:not(.pp-separator--inline) .heading-title {
  margin-top: 0;
}

.fm_row_lf_heading .fm_module_lf_heading .pp-primary-title {
  font-family: var(--jcd-font-serif);
  font-weight: var(--jcd-weight-regular);
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--jcd-color-ink);
}

.fm_row_lf_heading .fm_module_lf_heading .pp-heading::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin-top: var(--jcd-space-md);
  background-color: color-mix(in srgb, var(--jcd-color-ink) 18%, transparent);
}

.fm_row_lf_heading .fm_module_lf_heading .pp-sub-heading:not(:has(p:not(:empty))) {
  display: none;
}

@media (max-width: 768px) {
  .fm_row_lf_heading > .fl-row-content-wrap {
    padding-top: var(--jcd-space-xl);
  }

  .fm_row_lf_heading .fm_module_lf_heading .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
    font-size: var(--jcd-text-h2);
  }
}


/* ==========================================================================
   # 35. LONG FORM — BODY TEXT (LIBRARY LF-02, LF-03; LAYOUT 02)
   ========================================================================== */

/* fm_row_lf_dropcap drops the first letter of the first paragraph (LF-03). */

.fm_row_lf_text > .fl-row-content-wrap > .fl-row-content {
  max-width: 42rem;
}

.fm_row_lf_text > .fl-row-content-wrap {
  padding-top: var(--jcd-space-xl);
  padding-bottom: var(--jcd-space-xl);
}

.fm_row_lf_text .fl-rich-text {
  font-family: var(--jcd-font-serif);
  font-size: 26px;
  font-weight: var(--jcd-weight-regular);
  line-height: 1.6;
  color: color-mix(in srgb, var(--jcd-color-ink) 88%, transparent);
}

.fm_row_lf_text .fl-rich-text > * {
  margin: 0;
}

.fm_row_lf_text .fl-rich-text > * + * {
  margin-top: var(--jcd-space-lg);
}

.fm_row_lf_text .fl-rich-text a {
  color: var(--jcd-color-accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.fm_row_lf_text .fl-rich-text a:is(:hover, :focus-visible) {
  text-decoration-thickness: 2px;
}

.fm_row_lf_dropcap .fl-rich-text > p:first-child::first-letter {
  float: left;
  margin: 0.04em var(--jcd-space-sm) 0 0;
  font-size: 92px;
  line-height: 0.85;
  color: var(--jcd-color-ink);
}

@media (max-width: 768px) {
  .fm_row_lf_text > .fl-row-content-wrap {
    padding-top: var(--jcd-space-lg);
    padding-bottom: var(--jcd-space-lg);
  }

  .fm_row_lf_text .fl-rich-text {
    font-size: 22px;
    line-height: 1.65;
  }

  .fm_row_lf_dropcap .fl-rich-text > p:first-child::first-letter {
    font-size: 76px;
  }
}


/* ==========================================================================
   # 36. LONG FORM — CHAPTER OPENER (LIBRARY LF-04; MODULE H)
   ========================================================================== */

.fm_row_lf_opener > .fl-row-content-wrap {
  padding-top: 3.5rem;
  padding-bottom: var(--jcd-space-xl);
}

.fm_row_lf_opener .fm_module_lf_heading .pp-heading::after {
  display: none; /* no hairline on the opener */
}

.fm_row_lf_opener .fm_module_lf_heading .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
  font-size: var(--jcd-text-h1);
}

/* (0,4,0) — outranks fm_row_lf's module-margin reset (0,3,0). */
.fm_row_lf_opener .fl-col-content > .fl-module[data-node].fl-module-rich-text {
  margin-top: var(--jcd-space-xl);
}

@media (max-width: 768px) {
  .fm_row_lf_opener > .fl-row-content-wrap {
    padding-top: var(--jcd-space-xl);
    padding-bottom: var(--jcd-space-lg);
  }

  .fm_row_lf_opener .fm_module_lf_heading .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
    font-size: var(--jcd-text-h2);
  }
}


/* ==========================================================================
   # 37. LONG FORM — FULL-BLEED PHOTO (LIBRARY LF-05 … LF-08; A, I; LAYOUT 02)
   ========================================================================== */

/**
 * Row modifiers:
 *   fm_row_lf_photo_wide       21:9 instead of 16:9
 *   fm_row_lf_caption_right    caption right-aligned
 *   fm_row_lf_caption_corner   caption in a 24rem block, bottom-right
 */

.fm_row_lf_photo {
  --fm-lf-ratio: 16 / 9;
}

.fm_row_lf_photo_wide {
  --fm-lf-ratio: 21 / 9;
}

.fm_row_lf_photo > .fl-row-content-wrap {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.fm_row_lf_photo .fl-photo-caption {
  margin-top: var(--jcd-space-lg);
  padding: 0 var(--jcd-space-2xl);
}

.fm_row_lf_caption_right .fl-photo-caption {
  text-align: right;
}

.fm_row_lf_caption_corner .fl-photo-caption {
  max-width: 24rem;
  margin-left: auto;
  padding-left: 0;
  padding-right: max(var(--jcd-page-inset), calc((100% - 1400px) / 2 + var(--jcd-page-inset)));
  text-align: right;
}

@media (max-width: 768px) {
  .fm_row_lf_photo {
    --fm-lf-ratio: 16 / 10;
  }

  .fm_row_lf_photo_wide {
    --fm-lf-ratio: 21 / 9;
  }

  .fm_row_lf_photo > .fl-row-content-wrap {
    padding-top: var(--jcd-space-xl);
    padding-bottom: var(--jcd-space-xl);
  }

  .fm_row_lf_photo .fl-photo-caption,
  .fm_row_lf_caption_corner .fl-photo-caption {
    max-width: 48rem;
    margin: var(--jcd-space-md) auto 0;
    padding: 0 var(--jcd-page-inset);
    text-align: left;
  }
}


/* ==========================================================================
   # 38. LONG FORM — ASYMMETRIC SPLIT (LIBRARY LF-09, LF-10; B, C)
   ========================================================================== */

/**
 * fm_row_lf_split_reverse puts the image on the right. For that variant,
 * build the TEXT column first in BB — the rules pick columns by position.
 */

.fm_row_lf_split {
  --fm-lf-ratio: 4 / 3;
}

.fm_row_lf_split > .fl-row-content-wrap > .fl-row-content {
  max-width: 1400px;
}

.fm_row_lf_split > .fl-row-content-wrap {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.fm_row_lf_split .fl-col-group {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  column-gap: var(--jcd-space-2xl);
}

.fm_row_lf_split .fl-col-group::before,
.fm_row_lf_split .fl-col-group::after {
  display: none;
}

.fm_row_lf_split .fl-col-group > .fl-col {
  width: auto;
  float: none;
  min-width: 0; /* not 100%: Safari breaks (# 29) */
}

.fm_row_lf_split .fl-col-group > .fl-col:nth-child(1 of .fl-col) { grid-column: 1 / span 7; }
.fm_row_lf_split .fl-col-group > .fl-col:nth-last-child(1 of .fl-col)  { grid-column: 9 / span 4; }

.fm_row_lf_split_reverse .fl-col-group > .fl-col:nth-child(1 of .fl-col) { grid-column: 1 / span 4; }
.fm_row_lf_split_reverse .fl-col-group > .fl-col:nth-last-child(1 of .fl-col)  { grid-column: 6 / span 7; }

.fm_row_lf_split .fm_module_lf_heading .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
  margin: var(--jcd-space-md) 0 0;
  font-size: 2.25rem;
  line-height: 1.1;
  text-align: left;
}

.fm_row_lf_split .fm_module_lf_heading .pp-heading-prefix {
  letter-spacing: var(--jcd-tracking-kicker);
}

.fm_row_lf_split .fm_module_lf_heading .pp-primary-title {
  font-family: var(--jcd-font-serif);
  font-weight: var(--jcd-weight-regular);
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--jcd-color-ink);
}

.fm_row_lf_split .fl-rich-text {
  margin-top: var(--jcd-space-lg);
  font-size: 17px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--jcd-color-ink) 78%, transparent);
}

.fm_row_lf_split .fl-rich-text > * { margin: 0; }
.fm_row_lf_split .fl-rich-text > * + * { margin-top: var(--jcd-space-md); }

/* Optional link line: give the paragraph's link the class fm_lf_link. */
.fm_row_lf .fm_lf_link {
  display: inline-block;
  margin-top: var(--jcd-space-md);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--jcd-color-ink);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--jcd-color-ink);
  transition: color var(--jcd-duration-base) ease-out, border-color var(--jcd-duration-base) ease-out;
}

.fm_row_lf .fm_lf_link::after {
  content: " →" / "";
}

.fm_row_lf .fm_lf_link:is(:hover, :focus-visible) {
  border-color: var(--jcd-color-accent-text);
  color: var(--jcd-color-accent-text);
}

@media (max-width: 768px) {
  .fm_row_lf_split .fl-col-group {
    display: block;
  }

  .fm_row_lf_split .fl-col-group > .fl-col + .fl-col {
    margin-top: var(--jcd-space-xl);
  }

  .fm_row_lf_split .fm_module_lf_heading .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
    font-size: 1.875rem;
  }
}


/* ==========================================================================
   # 39. LONG FORM — MOSAIC GALLERY (LIBRARY LF-11; D)
   ========================================================================== */

/**
 * The rules pick modules by position: large photo, photo, photo, then the
 * caption text (class fm_lf_caption). Keep that order in the column.
 */

.fm_row_lf_mosaic > .fl-row-content-wrap > .fl-row-content {
  max-width: 1400px;
}

.fm_row_lf_mosaic > .fl-row-content-wrap {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.fm_row_lf_mosaic .fl-col-content {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--jcd-space-lg);
}

.fm_row_lf_mosaic .fl-col-content > .fl-module:nth-child(1 of .fl-module) {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
}

.fm_row_lf_mosaic .fl-col-content > .fl-module:nth-child(2 of .fl-module),
.fm_row_lf_mosaic .fl-col-content > .fl-module:nth-child(3 of .fl-module) {
  grid-column: 8 / span 5;
  --fm-lf-ratio: 4 / 3;
}

.fm_row_lf_mosaic .fl-col-content > .fl-module:nth-child(4 of .fl-module) {
  grid-column: 1 / -1;
}

/**
 * The large image fills the height the two small ones set. It is taken
 * out of flow so its own 4:5 height can't stretch the rows — without
 * this a 709px-wide portrait made the mosaic 1500px tall.
 */
.fm_row_lf_mosaic .fl-col-content > .fl-module:nth-child(1 of .fl-module) :is(.fl-module-content, .fl-photo, .fl-photo-content) {
  position: relative;
  height: 100%;
}

.fm_row_lf_mosaic .fl-col-content > .fl-module:nth-child(1 of .fl-module) .fl-photo-img {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: auto;
}

@media (max-width: 768px) {
  .fm_row_lf_mosaic .fl-col-content {
    gap: var(--jcd-space-md);
  }

  .fm_row_lf_mosaic .fl-col-content > .fl-module:nth-child(1 of .fl-module) {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .fm_row_lf_mosaic .fl-col-content > .fl-module:nth-child(1 of .fl-module) :is(.fl-module-content, .fl-photo, .fl-photo-content) {
    position: static;
    height: auto;
  }

  .fm_row_lf_mosaic .fl-col-content > .fl-module:nth-child(1 of .fl-module) .fl-photo-img {
    position: static;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .fm_row_lf_mosaic .fl-col-content > .fl-module:nth-child(2 of .fl-module) { grid-column: 1 / span 6; }
  .fm_row_lf_mosaic .fl-col-content > .fl-module:nth-child(3 of .fl-module) { grid-column: 7 / span 6; }
}


/* ==========================================================================
   # 40. LONG FORM — IMAGE CAROUSEL (LIBRARY LF-12; E)
   ========================================================================== */

/**
 * UABB builds on Slick. Verified against the rendered module: UABB pulls the
 * slider out 10px each side (margin: -10px) and pads every slide 10px — a
 * gutter for multi-image carousels that, at one photo a view, left the arrows
 * 10px outside the photo. Both are zeroed. Its arrow rules are (0,3,0)
 * including :hover, so every rule here is (0,4,0). The design's "01 / 05"
 * counter has no UABB equivalent.
 */

.fm_row_lf_carousel {
  --fm-lf-ratio: 16 / 9;
}

.fm_row_lf_carousel > .fl-row-content-wrap > .fl-row-content {
  max-width: 1400px;
}

.fm_row_lf_carousel > .fl-row-content-wrap {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.fm_row_lf_carousel .fl-module .uabb-image-carousel {
  margin: 0;
}

.fm_row_lf_carousel .fl-module .uabb-image-carousel .uabb-image-carousel-item {
  padding: 0;
}

.fm_row_lf_carousel .slick-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--fm-lf-ratio);
  object-fit: cover;
}

.fm_row_lf_carousel .fl-module .uabb-image-carousel .slick-arrow {
  z-index: 2;
  display: flex !important; /* Slick sets display inline — answers it */
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background-color: var(--jcd-color-veil);
  box-shadow: 0 1px 2px var(--jcd-color-shadow);
  color: var(--jcd-color-ink);
  transform: translateY(-50%); /* UABB centres on the left edge too: translate(-50%, -50%) */
}

.fm_row_lf_carousel .fl-module .uabb-image-carousel .slick-arrow:hover {
  background-color: var(--jcd-color-paper);
}

/* Font Awesome paints through ::before — both are matched. */
.fm_row_lf_carousel .fl-module .uabb-image-carousel .slick-arrow i,
.fm_row_lf_carousel .fl-module .uabb-image-carousel .slick-arrow i::before {
  font-size: var(--jcd-text-lead);
  color: var(--jcd-color-ink);
}

.fm_row_lf_carousel .fl-module .uabb-image-carousel .slick-prev { left: var(--jcd-space-lg); }
.fm_row_lf_carousel .fl-module .uabb-image-carousel .slick-next { right: var(--jcd-space-lg); }

.fm_row_lf_carousel .fl-module .uabb-image-carousel .slick-arrow:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 3px;
}

.fm_row_lf_carousel .fl-module .uabb-image-carousel .slick-dots {
  position: static;
  display: flex !important;
  justify-content: flex-end;
  gap: var(--jcd-space-sm);
  margin-top: var(--jcd-space-md);
}

.fm_row_lf_carousel .fl-module .uabb-image-carousel .slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
}

.fm_row_lf_carousel .fl-module .uabb-image-carousel .slick-dots li button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: var(--jcd-radius-pill);
  background-color: color-mix(in srgb, var(--jcd-color-ink) 17%, transparent);
  font-size: 0;
  transition: width var(--jcd-duration-base) ease-out, background-color var(--jcd-duration-base) ease-out;
}

.fm_row_lf_carousel .fl-module .uabb-image-carousel .slick-dots li button::before {
  display: none;
}

.fm_row_lf_carousel .fl-module .uabb-image-carousel .slick-dots li.slick-active button {
  width: var(--jcd-space-lg);
  background-color: var(--jcd-color-accent);
}

@media (max-width: 768px) {
  .fm_row_lf_carousel .fl-module .uabb-image-carousel .slick-arrow {
    width: 44px;
    height: 44px;
  }

  .fm_row_lf_carousel .fl-module .uabb-image-carousel .slick-prev { left: var(--jcd-space-md); }
  .fm_row_lf_carousel .fl-module .uabb-image-carousel .slick-next { right: var(--jcd-space-md); }
}


/* ==========================================================================
   # 41. LONG FORM — PULL QUOTE (LIBRARY LF-13, LF-14; F, G; LAYOUT 02)
   ========================================================================== */

/**
 * fm_row_lf_quote_paired adds a 4:5 photo column beside the quote.
 *
 * The giant quotation mark is drawn by CSS and is silent to screen readers.
 */

.fm_row_lf_quote > .fl-row-content-wrap > .fl-row-content {
  max-width: 56rem;
}

.fm_row_lf_quote > .fl-row-content-wrap {
  padding-top: var(--jcd-space-2xl);
  padding-bottom: var(--jcd-space-2xl);
}

.fm_lf_quote {
  margin: 0;
  text-align: center;
}

.fm_lf_quote::before {
  content: "“" / "";
  display: block;
  font-family: var(--jcd-font-serif);
  font-size: 11rem;
  line-height: 1;
  color: var(--jcd-color-accent);
  height: 0.55em; /* the glyph's ink sits high; trim the empty box */
}

.fm_lf_quote blockquote {
  margin: var(--jcd-space-md) 0 0;
  padding: 0;
  border: 0;
  font-family: var(--jcd-font-serif);
  font-size: 3rem;
  font-weight: var(--jcd-weight-regular);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--jcd-color-ink);
}

.fm_lf_quote blockquote p {
  margin: 0;
}

.fm_lf_quote figcaption {
  margin-top: var(--jcd-space-xl);
  font-size: 15px;
  font-weight: var(--jcd-weight-medium);
  letter-spacing: var(--jcd-tracking-nav);
  text-transform: uppercase;
  color: var(--jcd-color-muted);
}

/* Paired portrait */
.fm_row_lf_quote_paired {
  --fm-lf-ratio: 4 / 5;
}

.fm_row_lf_quote_paired > .fl-row-content-wrap > .fl-row-content {
  max-width: 1200px;
}

.fm_row_lf_quote_paired .fl-col-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  column-gap: var(--jcd-space-2xl);
}

.fm_row_lf_quote_paired .fl-col-group::before,
.fm_row_lf_quote_paired .fl-col-group::after {
  display: none;
}

.fm_row_lf_quote_paired .fl-col-group > .fl-col {
  width: auto;
  float: none;
  min-width: 0; /* not 100%: Safari breaks (# 29) */
}

.fm_row_lf_quote_paired .fm_lf_quote::before {
  content: "”" / "";
}

.fm_row_lf_quote_paired .fm_lf_quote blockquote {
  margin-top: var(--jcd-space-sm);
  font-size: 2.25rem;
  line-height: 1.2;
  text-align: left;
}

@media (max-width: 768px) {
  .fm_row_lf_quote > .fl-row-content-wrap {
    padding-top: var(--jcd-space-xl);
    padding-bottom: var(--jcd-space-xl);
  }

  .fm_lf_quote blockquote,
  .fm_row_lf_quote_paired .fm_lf_quote blockquote {
    font-size: 1.875rem;
  }

  .fm_row_lf_quote_paired .fl-col-group {
    display: flex;
    flex-direction: column-reverse; /* quote above the portrait */
    gap: var(--jcd-space-xl);
  }
}


/* ==========================================================================
   # 42. LONG FORM — TWO-UP PORTRAIT PAIR (LIBRARY LF-15; J)
   ========================================================================== */

.fm_row_lf_twoup {
  --fm-lf-ratio: 3 / 4;
}

.fm_row_lf_twoup > .fl-row-content-wrap > .fl-row-content {
  max-width: 1200px;
}

.fm_row_lf_twoup > .fl-row-content-wrap {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.fm_row_lf_twoup .fl-col-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--jcd-space-xl);
}

.fm_row_lf_twoup .fl-col-group::before,
.fm_row_lf_twoup .fl-col-group::after {
  display: none;
}

.fm_row_lf_twoup .fl-col-group > .fl-col {
  width: auto;
  float: none;
  min-width: 0; /* not 100%: Safari breaks (# 29) */
}

.fm_row_lf_twoup .fl-photo-caption {
  margin-top: var(--jcd-space-sm);
}

@media (max-width: 768px) {
  .fm_row_lf_twoup .fl-col-group {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--jcd-space-lg);
  }
}

/**
 * Phones: the media and split rows step down from 56px to 40px, as the
 * photo rows do. Placed after all four row blocks so it wins on order.
 */
@media (max-width: 768px) {
  :is(.fm_row_lf_split, .fm_row_lf_mosaic, .fm_row_lf_carousel, .fm_row_lf_twoup) > .fl-row-content-wrap {
    padding-top: var(--jcd-space-xl);
    padding-bottom: var(--jcd-space-xl);
  }
}


/* ==========================================================================
   # 43. LONG FORM — KNOW BEFORE YOU GO (THEMER LAYOUT)
   ========================================================================== */

/**
 * The SAME Quick Facts markup and conditional as the default layout — one set
 * of fields, two skins. Box Title becomes the kicker, Box Heading the
 * heading.
 */

/**
 * No facts -> no section. The module's own conditional hides the box;
 * this removes the row's 80px of padding with it.
 */
.fm_row_lf_facts:not(:has(.fm_module_quick_facts)) {
  display: none;
}

.fm_row_lf_facts > .fl-row-content-wrap > .fl-row-content {
  max-width: 64rem;
}

.fm_row_lf_facts > .fl-row-content-wrap {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.fm_row_lf_facts .fm_module_quick_facts {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.fm_row_lf_facts .fm_module_quick_facts .jcd_ui_kicker {
  letter-spacing: var(--jcd-tracking-kicker);
}

.fm_row_lf_facts .fm_module_quick_facts .fm_module_quick_facts__heading {
  margin-top: var(--jcd-space-md);
  font-size: 3rem;
  line-height: 1.25;
}

.fm_row_lf_facts .fm_module_quick_facts .fm_module_quick_facts__heading::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin-top: var(--jcd-space-md);
  background-color: color-mix(in srgb, var(--jcd-color-ink) 18%, transparent);
}

.fm_row_lf_facts .fm_module_quick_facts__list {
  gap: var(--jcd-space-xl) var(--jcd-space-2xl);
  margin-top: var(--jcd-space-xl);
  font-size: inherit;
}

.fm_row_lf_facts .fm_module_quick_facts__list > div {
  padding-top: var(--jcd-space-md);
  border-top: 1px solid color-mix(in srgb, var(--jcd-color-ink) 12%, transparent);
}

.fm_row_lf_facts .fm_module_quick_facts__list dt {
  letter-spacing: var(--jcd-tracking-wide);
}

.fm_row_lf_facts .fm_module_quick_facts__list dd {
  margin-top: var(--jcd-space-sm);
  font-family: var(--jcd-font-serif);
  font-size: 1.5rem;
  line-height: 1.375;
  color: var(--jcd-color-ink);
}

@media (max-width: 768px) {
  .fm_row_lf_facts > .fl-row-content-wrap {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .fm_row_lf_facts .fm_module_quick_facts .fm_module_quick_facts__heading {
    font-size: var(--jcd-text-h2);
  }
}


/* ==========================================================================
   # 44. LONG FORM — AUTHOR SIGNATURE (THEMER LAYOUT)
   ========================================================================== */

/**
 * Molongui's stylesheet loads after ours, so every rule starts with the same
 * (0,4,0) prefix the article author box uses. Empty author -> no box
 * (functions.php) -> no row.
 */

.fm_row_lf_author:not(:has(.m-a-box)) {
  display: none;
}

.fm_row_lf_author > .fl-row-content-wrap > .fl-row-content {
  max-width: 48rem;
}

.fm_row_lf_author > .fl-row-content-wrap {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.fm_row_lf_author .molongui-clearfix,
.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-content-top,
.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-content-bottom,
.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-data .m-a-box-meta {
  display: none;
}

.fm_row_lf_author .fl-module .m-a-box[data-box-layout] {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  text-align: center;
}

.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-container,
.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile,
.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-content-middle,
.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-data {
  display: contents;
}

/* Avatar first, then the kicker, name and bio. */
.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-avatar { order: 1; padding: 0; }
.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-header { order: 2; width: auto; margin: var(--jcd-space-lg) 0 0; }
.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-data .m-a-box-name { order: 3; }
.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-data .m-a-box-bio { order: 4; }

.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-avatar :is(img, .acronym-container) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px !important; /* beats Molongui's inline size */
  height: 64px !important;
  margin: 0;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--jcd-color-accent);
}

.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-avatar .acronym-container > div {
  top: 0;
  font-family: var(--jcd-font-serif);
  font-size: 1.25rem;
  font-weight: var(--jcd-weight-regular);
  line-height: 1;
  color: var(--jcd-color-cta-fg);
}

.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-header > :first-child {
  margin: 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.5;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-muted); /* not neutral-400, which fails 4.5:1 at 10px */
}

.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-name {
  margin: var(--jcd-space-sm) 0 0;
  color: var(--jcd-color-ink);
  transition: color var(--jcd-duration-base) ease-out;
}

.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-name:has(a:is(:hover, :focus-visible)) {
  color: var(--jcd-color-accent-text);
}

.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-content.m-a-box-profile .m-a-box-data .m-a-box-name * {
  margin: 0;
  font-family: var(--jcd-font-serif);
  font-size: 1.5rem;
  font-weight: var(--jcd-weight-regular);
  line-height: 1.25;
  letter-spacing: -0.025em;
  text-align: center;
  text-decoration: none;
}

.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-name a:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 3px;
}

.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-bio {
  max-width: 28rem;
  margin: 0.75rem auto 0;
}

.fm_row_lf_author .fl-module .m-a-box[data-box-layout] .m-a-box-container .m-a-box-profile .m-a-box-data .m-a-box-bio > * {
  margin: 0;
  font-family: var(--jcd-font-sans);
  font-size: 0.875rem;
  line-height: 1.625;
  text-align: center;
  color: color-mix(in srgb, var(--jcd-color-ink) 70%, transparent);
}

@media (max-width: 768px) {
  .fm_row_lf_author > .fl-row-content-wrap {
    padding-top: var(--jcd-space-2xl);
    padding-bottom: var(--jcd-space-2xl);
  }
}


/* ==========================================================================
   # 45. LONG FORM — RECOMMENDED STORIES (THEMER LAYOUT)
   ========================================================================== */

/* The numbers are a CSS counter — nothing to type, never out of order. */

/**
 * No related posts -> no section. PowerPack's "Sorry, we couldn't find
 * any posts" box never reaches a reader.
 */
.fm_row_lf_related:not(:has(.pp-content-post)) {
  display: none;
}

.section_is_feed.fm_row_lf_related {
  border-top: 1px solid color-mix(in srgb, var(--jcd-color-ink) 5%, transparent);
}

.fm_row_lf_related > .fl-row-content-wrap > .fl-row-content {
  max-width: 48rem;
}

.fm_row_lf_related > .fl-row-content-wrap {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.fm_row_lf_related .fm_lf_related_heading {
  margin: var(--jcd-space-md) 0 0;
  font-family: var(--jcd-font-serif);
  font-size: 2.25rem;
  font-weight: var(--jcd-weight-regular);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--jcd-color-ink);
}

.fm_row_lf_related .fl-module .pp-content-post-grid {
  counter-reset: fm-lf-related;
  display: block;
  margin-top: var(--jcd-space-xl);
  border-top: 1px solid color-mix(in srgb, var(--jcd-color-ink) 12%, transparent);
}

.fm_row_lf_related .fl-module .pp-content-post {
  counter-increment: fm-lf-related;
  position: relative;
  margin: 0;
  padding: 1.25rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--jcd-color-ink) 12%, transparent);
}

/**
 * The number and the item text sit in a two-column grid on the custom
 * layout's own wrapper — NOT on .pp-content-post, which also holds
 * PowerPack's schema.org <meta> and empty <div>s. As flex items those
 * took a 24px gap each and pushed "01" out of line.
 * The number shares row 1 with the kicker and aligns on its baseline,
 * as the design's items-baseline does.
 */
.fm_row_lf_related .fm_lf_related_item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  column-gap: var(--jcd-space-lg);
}

.fm_row_lf_related .fm_lf_related_item::before {
  content: counter(fm-lf-related, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1;
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-lead);
  line-height: 1;
  color: var(--jcd-color-accent-text);
}

.fm_row_lf_related .fm_lf_related_item > * {
  grid-column: 2;
}

.fm_row_lf_related .fm_lf_related_item .jcd_ui_kicker {
  margin: 0;
  letter-spacing: var(--jcd-tracking-kicker);
}

.fm_row_lf_related .fm_lf_related_item__title {
  margin: var(--jcd-space-sm) 0 0;
  font-family: var(--jcd-font-serif);
  font-size: 1.25rem;
  font-weight: var(--jcd-weight-regular);
  line-height: 1.375;
  color: var(--jcd-color-ink);
}

.fm_row_lf_related .fm_lf_related_item__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--jcd-duration-base) ease-out;
}

.fm_row_lf_related .fm_lf_related_item__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.fm_row_lf_related .fm_lf_related_item__title a:focus-visible {
  outline: none;
}

.fm_row_lf_related .fl-module .pp-content-post:has(a:focus-visible) {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 4px;
}

.fm_row_lf_related .fm_lf_related_item__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--jcd-space-md);
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-muted);
}

.fm_row_lf_related .fm_lf_related_item__more span:first-child {
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
}

/**
 * The arrow rides below the middle of the caps; lifted a tenth of an
 * em, as the View All arrow is.
 */
.fm_row_lf_related .fm_lf_related_item__more span:last-child {
  display: inline-block;
  transform: translateY(-0.1em);
  transition: transform var(--jcd-duration-base) ease-out;
}

.fm_row_lf_related .fl-module .pp-content-post:is(:hover, :has(a:focus-visible)) .fm_lf_related_item__title a,
.fm_row_lf_related .fl-module .pp-content-post:is(:hover, :has(a:focus-visible)) .fm_lf_related_item__more {
  color: var(--jcd-color-accent-text);
}

.fm_row_lf_related .fl-module .pp-content-post:is(:hover, :has(a:focus-visible)) .fm_lf_related_item__more span:last-child {
  transform: translate(4px, -0.1em);
}

@media (max-width: 768px) {
  .fm_row_lf_related > .fl-row-content-wrap {
    padding-top: var(--jcd-space-2xl);
    padding-bottom: var(--jcd-space-2xl);
  }

  .fm_row_lf_related .fm_lf_related_heading {
    font-size: 1.875rem;
  }

  .fm_row_lf_related .fm_lf_related_item__title {
    font-size: var(--jcd-text-lead);
  }
}


/* ==========================================================================
   # 46. LONG FORM — EDITOR NOTE (STARTER TEMPLATE)
   ========================================================================== */

/**
 * Visible ONLY inside the Beaver Builder editor (BB adds .fl-builder-edit to
 * <body> there), never on the published page. A how-to the client forgets to
 * delete can't ship.
 */

.fm_row_lf_note {
  display: none;
}

.fl-builder-edit .fm_row_lf_note {
  display: block;
}

.fl-builder-edit .fm_row_lf_note > .fl-row-content-wrap > .fl-row-content {
  max-width: 48rem;
}

.fl-builder-edit .fm_row_lf_note > .fl-row-content-wrap {
  padding: var(--jcd-space-xl) 0;
}

.fl-builder-edit .fm_row_lf_note .fl-rich-text {
  padding: var(--jcd-space-lg);
  border: 1px dashed var(--jcd-color-accent);
  background-color: var(--jcd-color-paper-alt);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--jcd-color-ink);
}

.fl-builder-edit .fm_row_lf_note .fl-rich-text::before {
  content: "Editor note — hidden on the published page";
  display: block;
  margin-bottom: var(--jcd-space-sm);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-accent-text);
}

.fl-builder-edit .fm_row_lf_note .fl-rich-text > * {
  margin: 0 0 var(--jcd-space-sm);
}


/* ==========================================================================
   # 47. OPEN — BUILDER CONTENT IN THE DEFAULT ARTICLE COLUMN
   ========================================================================== */

/**
 * A Standard post edited in Beaver Builder: the Post Content module in
 * "Article | Single – Default" renders the post's BB rows inside the 680px
 * column. Those nested rows would otherwise add the kit's 24px container
 * inset and BB's column padding again, narrowing the text to 592px. Here they
 * fill the column exactly.
 */

.fm_module_article_content .fl-builder-content .fl-row-content {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.fm_module_article_content .fl-builder-content .fl-row-content-wrap {
  padding-left: 0;
  padding-right: 0;
}

/**
 * Columns and modules inside those rows lose their side padding and
 * margins too, so text lines up with the share row above. BB's 20px
 * vertical module spacing stays — it separates a photo from the text.
 */
.fm_module_article_content .fl-builder-content .fl-col[data-node] > .fl-col-content {
  padding-left: 0;
  padding-right: 0;
}

.fm_module_article_content .fl-builder-content .fl-module[data-node] > .fl-module-content,
.fm_module_article_content .fl-builder-content .fl-module[data-node]:not(:has(> .fl-module-content)) {
  margin-left: 0;
  margin-right: 0;
}


/* ==========================================================================
   # 48. PRINT ISSUES — SHARED
   ========================================================================== */

/**
 * Both print pages: the Issues archive and the single issue.
 *
 * DESIGN DRIFT — the token wins:
 *   rose-600 text            -> --jcd-color-accent-text
 *   neutral-400/500/600 text -> --jcd-color-muted
 *   Landmark eyebrows and    -> soleil, matching every other eyebrow;
 *   section titles              Landmark stays on the masthead only
 *   button tracking          -> the kit pill's value
 *   2px / 8px radii          -> --jcd-radius-none / --jcd-radius-sm
 */

/* One owner for space */
/**
 * Same model as CATEGORY ARCHIVE — SHARED: BB's column padding and the
 * vertical module margins are zeroed, so the band owns the rhythm and
 * every print row shares one content edge (page inset + 20px module
 * margin).
 */
:is(.section_is_archive_header, .fm_row_issue_spotlight, .fm_row_issues_grid, .fm_row_breadcrumb, .fm_row_issue_hero, .fm_row_flipbook, .fm_row_issue_contents, .fm_row_collection) .fl-col[data-node] > .fl-col-content {
  padding: 0;
}

:is(.section_is_archive_header, .fm_row_issue_spotlight, .fm_row_issues_grid, .fm_row_breadcrumb, .fm_row_issue_hero, .fm_row_flipbook, .fm_row_issue_contents, .fm_row_collection) .fl-module[data-node] > .fl-module-content {
  margin-top: 0;
  margin-bottom: 0;
}

:is(.section_is_archive_header, .fm_row_issue_spotlight, .fm_row_issues_grid, .fm_row_breadcrumb, .fm_row_issue_hero, .fm_row_flipbook, .fm_row_issue_contents, .fm_row_collection) .fl-module[data-node]:not(:has(> .fl-module-content)) {
  margin-top: 0;
  margin-bottom: 0;
}

/* Issue kicker */
/**
 * "No. 31 · Spring 2026", "Vol. 32 // Summer 2026", "Print Archive".
 * Matches the site eyebrow (jcd_ui_kicker: soleil 10px / 600 / --jcd-tracking-kicker).
 * AUDIT 2026-10-01: these were Landmark at 400 — Loveable's display
 * face — and read thin and off-brand beside every other eyebrow on the
 * site. Landmark stays on the masthead only.
 */
.fm_issue_kicker {
  margin: 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.3;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-accent-text);
}

.fm_issue_kicker_muted {
  color: var(--jcd-color-muted);
}

/* Section header: "Back Catalog", "Inside This Issue" */
.fm_issue_section_header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--jcd-space-sm) var(--jcd-space-md);
  margin-bottom: var(--jcd-space-xl);
  padding-bottom: var(--jcd-space-md);
  border-bottom: 1px solid color-mix(in srgb, var(--jcd-color-ink) 10%, transparent);
}

.fm_issue_section_header__title {
  /**
   * Same as .fm_feed_section_heading ("Editor's Picks", "Featured
   * Travel") — 14px / 500 / 0.22em soleil.
   */
  margin: 0;
  font-family: var(--jcd-font-sans);
  font-size: 14px;
  font-weight: var(--jcd-weight-medium);
  line-height: 1.4;
  letter-spacing: 0.22em; /* as .fm_feed_section_heading */
  text-transform: uppercase;
  color: var(--jcd-color-ink);
}

.fm_issue_section_header__meta {
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  line-height: 1.3;
  letter-spacing: var(--jcd-tracking-nav);
  text-transform: uppercase;
  color: var(--jcd-color-muted);
}

a.fm_issue_section_header__meta {
  font-weight: var(--jcd-weight-semi);
  text-decoration: none;
  transition: color var(--jcd-duration-base) ease-out;
}

a.fm_issue_section_header__meta:is(:hover, :focus-visible) {
  color: var(--jcd-color-ink);
}

a.fm_issue_section_header__meta:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 3px;
  border-radius: var(--jcd-radius-sm);
}

/* Cards: one link per card */
/**
 * Vault, story and collection cards all follow the site pattern: the
 * title link's ::after covers the card, the read link is an
 * aria-hidden span, one tab stop per card.
 */
:is(.fm_row_issues_grid, .fm_row_issue_contents, .fm_row_collection) .pp-content-post {
  position: relative;
}

:is(.fm_row_issues_grid, .fm_row_issue_contents, .fm_row_collection) .pp-content-grid-post-title a {
  color: inherit;
  text-decoration: none;
}

:is(.fm_row_issues_grid, .fm_row_issue_contents, .fm_row_collection) .pp-content-grid-post-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

:is(.fm_row_issues_grid, .fm_row_issue_contents, .fm_row_collection) .pp-content-grid-post-title a:focus-visible {
  outline: none;
}

:is(.fm_row_issues_grid, .fm_row_issue_contents, .fm_row_collection) .pp-content-post:has(a:focus-visible) {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: var(--jcd-space-xs);
}

/**
 * The design's read links carry no underline and turn crimson with the
 * card — unlike the kit's underlined jcd_ui_read_link.
 */
:is(.fm_row_issues_grid, .fm_row_issue_contents) .jcd_ui_read_link {
  border-bottom: 0;
  padding-bottom: 0;
  letter-spacing: var(--jcd-tracking-btn);
}

:is(.fm_row_issues_grid, .fm_row_issue_contents) .pp-content-post:is(:hover, :focus-within) .jcd_ui_read_link {
  gap: 6px; /* hold the gap: the design does not widen it */
}

/**
 * Covers and story images scale 3% over 700ms, as the design — not the kit's
 * 4% over 650ms.
 */
:is(.fm_row_issues_grid, .fm_row_issue_contents) .jcd_ui_post_media img {
  transition-duration: 700ms;
}

:is(.fm_row_issues_grid, .fm_row_issue_contents) .pp-content-post:is(:hover, :focus-within) .jcd_ui_post_media img {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  :is(.fm_row_issues_grid, .fm_row_issue_contents) .pp-content-post:is(:hover, :focus-within) .jcd_ui_post_media img {
    transform: none;
  }
}

/* Serif titles */
.fm_module_archive_header__title,
.fm_issue_spotlight__title,
.fm_module_issue_hero__title,
:is(.fm_row_issues_grid, .fm_row_issue_contents, .fm_row_collection) .pp-content-grid-post-title {
  font-family: var(--jcd-font-serif);
  font-weight: var(--jcd-weight-regular);
  color: var(--jcd-color-ink);
}


/* ==========================================================================
   # 49. PRINT ISSUES — 1 · ARCHIVE HEADER
   ========================================================================== */

/**
 * fm_band_content gives the top (80 / 48). The design's bottom is 40
 * at every width, so the row sets its own; the Spotlight row below
 * starts at 0 and this is the whole gap.
 */
.fm_row_archive_header {
  padding-bottom: var(--jcd-space-xl);
}

.fm_module_archive_header__title {
  margin: var(--jcd-space-md) 0 0;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.fm_module_archive_header__intro {
  max-width: 42rem;
  margin: var(--jcd-space-md) 0 0;
  font-size: var(--jcd-text-lead);
  line-height: 1.625;
  color: var(--jcd-color-muted);
}

@media (max-width: 768px) {
  .fm_module_archive_header__title {
    font-size: 36px;
  }
  .fm_module_archive_header__intro {
    font-size: var(--jcd-text-body);
  }
}


/* ==========================================================================
   # 50. PRINT ISSUES — 2 · SPOTLIGHT
   ========================================================================== */

/* 45 / 55 split above 1200px, stacked below. */

/* PowerPack clips each post; the cover's blur halo sits outside it. */
.fm_module_issue_spotlight .pp-content-post {
  overflow: visible;
}

.fm_issue_spotlight {
  --fm-card-radius: 16px; /* no radius token at this size */
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: var(--jcd-space-2xl);
  padding: var(--jcd-space-xl);
  border: 1px solid color-mix(in srgb, var(--jcd-color-ink) 5%, transparent);
  border-radius: var(--fm-card-radius);
  /**
   * A neutral near-white, not the cream paper-alt. Shared with Inside This
   * Issue.
   */
  background-color: color-mix(in srgb, var(--jcd-color-rule) 25%, var(--jcd-color-paper));
}

/* Cover */
.fm_issue_spotlight__cover {
  position: relative;
}

/**
 * The soft halo. The design grows its inset from -16 to -24px on hover;
 * scale reproduces that without animating layout.
 */
.fm_issue_spotlight__cover::before {
  content: "";
  position: absolute;
  inset: calc(var(--jcd-space-md) * -1);
  border-radius: var(--fm-card-radius);
  background-color: color-mix(in srgb, var(--jcd-color-ink) 5%, transparent);
  filter: blur(40px);
  transition:
    transform 700ms ease-out,
    background-color 700ms ease-out;
}

.fm_issue_spotlight__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--jcd-radius-none);
  background-color: var(--jcd-color-paper);
  box-shadow: 0 20px 60px -15px color-mix(in srgb, var(--jcd-color-ink) 35%, transparent);
  transition:
    transform 500ms ease-out,
    box-shadow 500ms ease-out;
}

.fm_issue_spotlight__frame img {
  display: block;
  width: 100%;
  height: auto;
  /**
   * 5:6, not the design's 3:4. Flamingo's covers measure 0.83 wide to 1 tall
   * (V. 32: 848 x 1024; live uploads 2119 x 2560); 3:4 cut ~10% off the
   * sides, masthead included. 5:6 crops under 1%.
   */
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

/**
 * The cover links to the issue. The link is a second route for pointer
 * users only — tabindex="-1" + aria-hidden in the markup — so keyboard
 * and screen-reader users meet one link, "View Issue Details".
 * The lift answers the cover alone, not the whole card: a lift over
 * the text promised a click that wasn't there.
 */
.fm_issue_spotlight__cover_link {
  display: block;
  position: relative;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .fm_issue_spotlight__cover:hover::before {
    transform: scale(1.04);
    background-color: color-mix(in srgb, var(--jcd-color-ink) 10%, transparent);
  }

  .fm_issue_spotlight__cover:hover .fm_issue_spotlight__frame {
    transform: translateY(calc(var(--jcd-space-xs) * -1));
    box-shadow: 0 35px 80px -15px color-mix(in srgb, var(--jcd-color-ink) 45%, transparent);
  }
}

/* Details */
.fm_issue_spotlight__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fm_issue_spotlight__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--jcd-space-sm);
}

/**
 * "Current Issue" / "Current Edition" pill. Also used by the issue
 * hero's badge, which is drawn in CSS (PRINT ISSUES — 3).
 */
.fm_issue_badge {
  display: inline-block;
  padding: var(--jcd-space-xs) var(--jcd-space-sm);
  border-radius: var(--jcd-radius-pill);
  background-color: var(--jcd-color-accent);
  color: var(--jcd-color-cta-fg);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-bold);
  line-height: 1.3;
  letter-spacing: var(--jcd-tracking-nav);
  text-transform: uppercase;
}

.fm_issue_spotlight .jcd_ui_kicker {
  margin: var(--jcd-space-md) 0 0;
}

.fm_issue_spotlight__title {
  margin: var(--jcd-space-sm) 0 0;
  font-size: 48px;
  line-height: 1.1;
}

/* [fm_issue_highlights]: each item led by a 24px crimson rule. */
.fm_issue_highlights {
  margin: var(--jcd-space-lg) 0 0;
  padding: 0;
  list-style: none;
}

.fm_issue_highlights li {
  display: flex;
  align-items: center;
  gap: var(--jcd-space-sm);
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--jcd-color-ink);
}

.fm_issue_highlights li + li {
  margin-top: var(--jcd-space-sm);
}

.fm_issue_highlights li::before {
  content: "";
  flex: none;
  width: var(--jcd-space-lg);
  height: 1px;
  background-color: var(--jcd-color-accent);
}

.fm_issue_spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--jcd-space-sm);
  margin-top: var(--jcd-space-xl);
}

@media (max-width: 1200px) {
  .fm_issue_spotlight {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--jcd-space-xl);
    padding: var(--jcd-space-lg);
  }

  /**
   * Stacked, the cover ran the full card width — 667 x ~890px at 820 —
   * and pushed the title and both actions below the fold on an iPad.
   * Capped at the Cover Studio's 420px and centred; still shown whole.
   * (QA 2026-10-21)
   */
  .fm_issue_spotlight__cover {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .fm_issue_spotlight__title {
    font-size: 30px;
  }

  /**
   * At 360px "VIEW ISSUE DETAILS →" needed 225px in a 224px card body and
   * broke onto two lines. The card tightens to 16px and the actions stack
   * full width, as the single issue's do at 992px. (QA 2026-10-21)
   */
  .fm_issue_spotlight {
    padding: var(--jcd-space-md);
  }

  .fm_issue_spotlight__actions {
    flex-direction: column;
  }

  .fm_issue_spotlight__actions .jcd_ui_btn_pill {
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fm_issue_spotlight__cover:hover::before,
  .fm_issue_spotlight__cover:hover .fm_issue_spotlight__frame {
    transform: none;
  }
}


/* ==========================================================================
   # 51. PRINT ISSUES — 3 · COVER STUDIO (SINGLE ISSUE HERO)
   ========================================================================== */

/**
 * The cover has NO hover. On this page it is not a link, so a lift would
 * promise a click that does nothing (the design's mouse-tracking tilt was
 * never built for the same reason). It rests with its shadow, nothing more.
 *
 * CONTENT (all print rows): volume, season and theme are read from the issue
 * title ("V. 33 Fall 2026 Taste Issue") by [fm_issue part=…]; the heading
 * slot shows the THEME — the site has no cover-story headlines. Cover =
 * Featured Image. See PRINT ISSUES in functions.php.
 */

/**
 * .fl-module-content is sized to the cover so the "Current Edition" badge
 * positions against its edges.
 */
.fm_module_cover_studio .fl-module-content {
  position: relative;
  isolation: isolate;
  max-width: 420px;
  margin-inline: auto;
}

.fm_module_cover_studio img {
  display: block;
  width: 100%;
  height: auto; /* natural trim ratio */
  border-radius: var(--jcd-radius-none);
  box-shadow: 0 40px 90px -25px color-mix(in srgb, var(--jcd-color-ink) 55%, transparent);
}

/**
 * "Current Edition" — the newest issue only. body.fm_issue_current is
 * added in functions.php; a badge typed into the layout would show on
 * every back issue. Generated content carries its own alt text so a
 * screen reader says it once, in sentence case.
 */
.fm_issue_current .fm_module_cover_studio .fl-module-content::before {
  content: "Current Edition" / "Current edition";
  position: absolute;
  top: calc(var(--jcd-space-sm) * -1.5);
  left: var(--jcd-space-md);
  z-index: 1;
  padding: var(--jcd-space-xs) var(--jcd-space-md);
  border-radius: var(--jcd-radius-pill);
  background-color: var(--jcd-color-accent);
  color: var(--jcd-color-cta-fg);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-bold);
  line-height: 1.3;
  letter-spacing: var(--jcd-tracking-nav);
  text-transform: uppercase;
}

/* Breadcrumb (single issue §02) */
.fm_module_breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--jcd-text-caption);
  line-height: 1.5;
  letter-spacing: var(--jcd-tracking-nav);
  text-transform: uppercase;
  color: var(--jcd-color-muted);
}

.fm_module_breadcrumb li + li::before {
  content: "/" / "";
  margin-inline: var(--jcd-space-sm);
  color: var(--jcd-color-rule);
}

.fm_module_breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color var(--jcd-duration-base) ease-out;
}

.fm_module_breadcrumb a:is(:hover, :focus-visible),
.fm_module_breadcrumb [aria-current="page"] {
  color: var(--jcd-color-ink);
}

.fm_module_breadcrumb a:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 3px;
  border-radius: var(--jcd-radius-sm);
}

/* Issue hero (single issue §03) */
.fm_row_issue_hero .fl-col-group > .fl-col:first-child > .fl-col-content {
  padding-right: var(--jcd-space-xl); /* half the column gap */
}

.fm_row_issue_hero .fl-col-group > .fl-col:last-child > .fl-col-content {
  padding-left: var(--jcd-space-xl);
}

.fm_module_issue_hero__title {
  margin: var(--jcd-space-md) 0 0;
  font-size: 36px;
  line-height: 1.08;
}

.fm_module_issue_hero__summary {
  max-width: 36rem;
  margin: var(--jcd-space-md) 0 0;
  font-size: var(--jcd-text-body);
  line-height: 1.625;
  color: var(--jcd-color-muted);
}

/* [fm_issue_summary] returns one or more <p>. */
.fm_module_issue_hero__summary p {
  margin: 0 0 var(--jcd-space-md);
}

.fm_module_issue_hero__summary p:last-child {
  margin-bottom: 0;
}

.fm_module_issue_hero__meta {
  margin: var(--jcd-space-md) 0 0;
  font-size: var(--jcd-text-caption);
  line-height: 1.5;
  letter-spacing: var(--jcd-tracking-tight);
  text-transform: uppercase;
  color: var(--jcd-color-muted);
}

.fm_module_issue_hero__actions {
  display: flex;
  gap: var(--jcd-space-sm);
  margin-top: var(--jcd-space-xl);
}

/**
 * inline-flex + 44px: as inline-block the link rendered 19px tall, under
 * WCAG 2.5.8's 24px minimum. Only the hit area grows. (QA 2026-10-21)
 */
.fm_module_issue_hero__subscribe {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: var(--jcd-space-lg);
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  letter-spacing: var(--jcd-tracking-btn);
  text-transform: uppercase;
  text-decoration: none;
  text-underline-offset: 4px;
  color: var(--jcd-color-ink);
}

.fm_module_issue_hero__subscribe:is(:hover, :focus-visible) {
  color: var(--jcd-color-ink);
  text-decoration: underline;
}

.fm_module_issue_hero__subscribe:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 3px;
  border-radius: var(--jcd-radius-sm);
}

/**
 * The row stacks at 1200px. The reset must match the desktop selectors'
 * weight — :first-child / :last-child make those (0,5,0), and a plain
 * .fl-col (0,4,0) lost, so the stacked cover kept 40px on its right and
 * the text 40px on its left.
 */
@media (max-width: 1200px) {
  .fm_row_issue_hero .fl-col-group > .fl-col:is(:first-child, :last-child) > .fl-col-content {
    padding-right: 0;
    padding-left: 0;
  }

  .fm_row_issue_hero .fl-col-group > .fl-col + .fl-col {
    margin-top: var(--jcd-space-xl);
  }
}

/* Buttons stack full-width at 992px and below. */
@media (max-width: 992px) {
  .fm_module_issue_hero__title {
    font-size: 30px;
  }

  .fm_module_issue_hero__actions {
    flex-direction: column;
  }
}


/* ==========================================================================
   # 52. PRINT ISSUES — 4 · FLIPBOOK
   ========================================================================== */

/**
 * Everything OUTSIDE the iframe. The canvas panel, page arrows and toolbar
 * are inside it — css/_flipbook-viewer.css.
 */

/**
 * neutral-900 (#171717). A 5% paper lift over ink lands at #181818 —
 * the design's value without a new token.
 */
.section_is_flipbook {
  background-color: color-mix(in srgb, var(--jcd-color-paper) 5%, var(--jcd-color-ink));
  color: var(--jcd-color-paper);
}

/* "Read Digital Flipbook" jumps here; clear the fixed compact header. */
#issue-reader {
  scroll-margin-top: var(--jcd-header-height);
}

.fm_module_flipbook__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--jcd-space-md);
  margin-bottom: var(--jcd-space-lg);
}

/**
 * The design's white/40 is ~3.7:1 at 10px and fails 1.4.3; both labels use
 * the inverse-muted token (7.30:1).
 */
.fm_module_flipbook__label {
  /**
   * Both labels are site eyebrows, on ink: soleil 10px / 600 / --jcd-tracking-kicker.
   * They were two different faces side by side (Landmark 400 left,
   * soleil 400 right).
   */
  margin: 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.3;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-inverse-muted);
}

/**
 * The plugin sizes .tnc-flipbook-wrap inline (width, max-height,
 * aspect-ratio) — nothing here fights it. The iframe is transparent;
 * the viewer skin paints its own canvas panel.
 */
.fm_module_flipbook .tnc-flipbook-wrap {
  margin-inline: auto;
}

/**
 * Phones read one page at a time, so the plugin's 16:10 landscape frame
 * left a 300px-wide reader about 190px tall — the page a thumbnail and
 * the toolbar on top of it. A portrait frame instead, capped at three
 * quarters of the screen so a portrait tablet (680px wide) does not get
 * a reader taller than the screen. !important: the plugin writes
 * aspect-ratio and max-height inline.
 */
@media (max-width: 768px) {
  .fm_module_flipbook .tnc-flipbook-wrap {
    aspect-ratio: 3 / 4 !important;
    max-height: 75svh !important;
  }
}


/* ==========================================================================
   # 53. PRINT ISSUES — 5 · INSIDE THIS ISSUE
   ========================================================================== */

.section_is_issue_contents {
  border-top: 1px solid color-mix(in srgb, var(--jcd-color-ink) 10%, transparent);
  background-color: color-mix(in srgb, var(--jcd-color-rule) 25%, var(--jcd-color-paper));
}

.fm_row_issue_contents .fm_module_issue_story .pp-content-post-grid {
  gap: var(--jcd-space-2xl) var(--jcd-space-xl);
}

/**
 * 4:3 is the token default; the image frame takes the rule grey while the
 * photo loads.
 */
.fm_row_issue_contents .jcd_ui_post_media {
  background-color: var(--jcd-color-rule);
}

.fm_row_issue_contents .pp-content-grid-post-text .jcd_ui_kicker {
  margin: var(--jcd-space-md) 0 0;
}

.fm_row_issue_contents .pp-content-grid-post-title {
  margin: var(--jcd-space-sm) 0 0;
  font-size: 20px;
  line-height: 1.375;
}


/* ==========================================================================
   # 54. PRINT ISSUES — 6 · BACK CATALOG GRID
   ========================================================================== */

.fm_row_issues_grid {
  --jcd-media-ratio: 5 / 6; /* the real cover proportion — see SPOTLIGHT */
}

/**
 * PowerPack writes its grid gap at .fl-node-x .pp-content-post-grid
 * — (0,2,0). These are (0,3,0).
 */
.fm_row_issues_grid .fm_module_issue_card .pp-content-post-grid {
  gap: var(--jcd-space-2xl) var(--jcd-space-xl);
}

/* Cover */
.fm_issue_card__media {
  position: relative;
  border-radius: var(--jcd-radius-none);
  background-color: var(--jcd-color-rule);
  box-shadow: 0 15px 35px -15px color-mix(in srgb, var(--jcd-color-ink) 30%, transparent);
  transition: box-shadow 500ms ease-out;
}

.fm_row_issues_grid .pp-content-post:is(:hover, :focus-within) .fm_issue_card__media {
  box-shadow: 0 25px 50px -15px color-mix(in srgb, var(--jcd-color-ink) 45%, transparent);
}

/**
 * Gradient + "Explore Issue" pill, fading in with the card. Decorative:
 * the markup carries aria-hidden and the title link names the card.
 */
.fm_issue_card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: var(--jcd-space-xl);
  background-image: linear-gradient(
    to top,
    color-mix(in srgb, var(--jcd-color-ink) 70%, transparent),
    color-mix(in srgb, var(--jcd-color-ink) 10%, transparent) 50%,
    transparent
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease-out;
}

.fm_row_issues_grid .pp-content-post:is(:hover, :focus-within) .fm_issue_card__overlay {
  opacity: 1;
}

.fm_issue_card__cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--jcd-space-lg);
  border-radius: var(--jcd-radius-pill);
  background-color: var(--jcd-color-paper);
  color: var(--jcd-color-ink);
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  letter-spacing: var(--jcd-tracking-btn);
  text-transform: uppercase;
}

/* Text */
.fm_row_issues_grid .pp-content-grid-post-text {
  padding-top: var(--jcd-space-md);
}

.fm_row_issues_grid .pp-content-grid-post-title {
  margin: var(--jcd-space-sm) 0 0;
  font-size: var(--jcd-text-lead);
  line-height: 1.375;
}

/* Load More */
/**
 * The category archive's Load More, mirrored. PowerPack renders the
 * button itself, so it cannot carry jcd_ui_btn_pill; these start one
 * class above PowerPack's (0,2,1).
 */
.fm_row_issues_grid .fm_module_issue_card .pp-content-grid-load-more {
  margin-top: var(--jcd-space-2xl);
  text-align: center;
}

.fm_row_issues_grid .fm_module_issue_card .pp-content-grid-load-more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--jcd-space-sm);
  min-height: 44px;
  padding: var(--jcd-space-md) var(--jcd-space-xl);
  border: 1px solid var(--jcd-color-ink);
  border-radius: var(--jcd-radius-pill);
  background-color: var(--jcd-color-ink);
  color: var(--jcd-color-paper);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  line-height: 1;
  letter-spacing: var(--jcd-tracking-btn);
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background-color var(--jcd-duration-base) ease-out,
    border-color var(--jcd-duration-base) ease-out,
    color var(--jcd-duration-base) ease-out;
}

.fm_row_issues_grid .fm_module_issue_card .pp-content-grid-load-more a:is(:hover, :focus-visible) {
  border-color: var(--jcd-color-accent);
  background-color: var(--jcd-color-accent);
  color: var(--jcd-color-cta-fg);
}

.fm_row_issues_grid .fm_module_issue_card .pp-content-grid-load-more a:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 3px;
}

.fm_row_issues_grid .fm_module_issue_card .pp-grid-loader-icon img {
  display: none;
}

.fm_row_issues_grid .fm_module_issue_card .pp-grid-load-more-button.loading {
  cursor: progress;
}

.fm_row_issues_grid .fm_module_issue_card .pp-grid-load-more-button.loading .pp-grid-loader-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: fm_load_more_spin 700ms linear infinite; /* keyframes in CATEGORY ARCHIVE — FEATURED / MORE GRIDS */
}

@media (prefers-reduced-motion: reduce) {
  .fm_row_issues_grid .pp-content-post .fm_issue_card__media,
  .fm_row_issues_grid .pp-content-post .fm_issue_card__overlay {
    transition: none;
  }
}


/* ==========================================================================
   # 55. PRINT ISSUES — 7 · COMPLETE YOUR COLLECTION
   ========================================================================== */

/**
 * Five issues — the five before the one being viewed, chosen by
 * fm_collection_issue_ids() in functions.php — in five equal columns that
 * fill the content width, so the row never has an empty slot.
 *
 * PowerPack writes display: grid and its columns at .fl-node-x
 * .pp-content-post-grid — (0,2,0). This is (0,3,0).
 */
.fm_row_collection .fm_module_issue_mini .pp-content-post-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--jcd-space-lg);
}

.fm_row_collection .fm_module_issue_mini .pp-content-post {
  width: auto;
  min-width: 0;
}

/**
 * Below 992px five columns get too narrow for a cover and a title, so the
 * row becomes a sideways scroller of 220px cards. Three or two columns
 * would leave an empty slot on the last line.
 */
@media (max-width: 992px) {
  .fm_row_collection .fm_module_issue_mini .pp-content-post-grid {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-bottom: var(--jcd-space-md); /* room for the scrollbar */
  }

  .fm_row_collection .fm_module_issue_mini .pp-content-post {
    flex: 0 0 220px;
    width: 220px;
    scroll-snap-align: start;
  }
}

.fm_row_collection .fm_issue_mini__cover {
  overflow: hidden;
  border-radius: var(--jcd-radius-none);
  box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--jcd-color-ink) 40%, transparent);
}

.fm_row_collection .fm_issue_mini__cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6; /* real cover proportion */
  object-fit: cover;
}

.fm_row_collection .fm_issue_kicker {
  margin-top: var(--jcd-space-md);
}

.fm_row_collection .pp-content-grid-post-title {
  margin: var(--jcd-space-xs) 0 0;
  font-size: 14px;
  line-height: 1.5;
}

/* "View Issue →" — an aria-hidden span; the title carries the link. */
.fm_issue_mini__link {
  display: inline-block;
  margin-top: var(--jcd-space-sm);
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  letter-spacing: var(--jcd-tracking-btn);
  text-transform: uppercase;
  text-underline-offset: 4px;
  color: var(--jcd-color-ink);
}

.fm_row_collection .pp-content-post:is(:hover, :focus-within) .fm_issue_mini__link {
  text-decoration: underline;
}

/* Sold Out (issue hero, Spotlight) */
/**
 * [fm_issue_order_button] renders a non-link pill when Shopify reports
 * the product unavailable. Same shape as the order button, visibly
 * inert: rule outline, muted label, no hover.
 */
.jcd_ui_btn_pill.fm_issue_sold_out {
  border-color: var(--jcd-color-rule);
  background-color: transparent;
  color: var(--jcd-color-muted);
  cursor: default;
  pointer-events: none;
}


/* ==========================================================================
   # 56. STATIC PAGES — ABOUT (/about)
   ========================================================================== */

/**
 * Every BB Row/Column padding field and every module Style, Typography and
 * Colors field stays at Default. The band owns vertical space; this block
 * owns grid shape and the gaps inside a row.
 *
 * DESIGN DRIFT: the cover is not forced to 3:4. Real covers are ~5:6 and the
 * client rule is that a cover is never clipped, so it keeps its natural
 * ratio.
 *
 * STRUCTURE: stockist and team names are H3 under their H2 (the design uses
 * h4), styled at the H4 size so nothing visible changes.
 */

/* Surfaces */
:is(.section_is_about_hero, .section_is_about_stockists, .section_is_about_contact) {
  background-color: var(--jcd-color-paper-alt);
}

/* One owner for space */
/**
 * Same model as PRINT ISSUES — SHARED: column padding and vertical
 * module margins zeroed, horizontal module margins kept, so every row
 * on the page shares one content edge.
 */
:is(.fm_row_about_hero, .fm_row_about_mission, .fm_row_about_stockists, .fm_row_about_team, .fm_row_about_contact) .fl-col[data-node] > .fl-col-content {
  padding: 0;
}

:is(.fm_row_about_hero, .fm_row_about_mission, .fm_row_about_stockists, .fm_row_about_team, .fm_row_about_contact) .fl-module[data-node] > .fl-module-content {
  margin-top: 0;
  margin-bottom: 0;
}

:is(.fm_row_about_hero, .fm_row_about_mission, .fm_row_about_stockists, .fm_row_about_team, .fm_row_about_contact) .fl-module[data-node]:not(:has(> .fl-module-content)) {
  margin-top: 0;
  margin-bottom: 0;
}

/* Shared: serif item title (stockist, team name, media-kit card) */
/* H3 in the markup, H4 size on screen. */
.fm_about_item_title,
.fm_row_about_team .pp-member-name,
.fm_mk_card_title {
  margin: 0;
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-h4);
  font-weight: var(--jcd-weight-regular);
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  color: var(--jcd-color-ink);
}

/* Shared: body copy */
/**
 * :not(.jcd_ui_kicker) is required. Without it this selector is (0,1,1)
 * and outranks the kicker's own (0,1,0) — the mission eyebrows took
 * body size and muted colour on staging (audit 2026-10-01).
 */
:is(.fm_module_about_mission, .fm_module_about_stockists, .fm_module_about_contact) p:not(.jcd_ui_kicker),
.fm_module_about_contact address {
  margin: 0;
  font-size: var(--jcd-text-body);
  line-height: 1.6;
  color: var(--jcd-color-muted);
}

/* §1 Hero */
/**
 * The design puts the cover FIRST on the stack and right on desktop. DOM
 * order is text, cover; column-reverse flips the stack only. The cover is not
 * focusable, so tab order is unaffected.
 *
 * The group is made flex here, not through BB's Equal Heights toggle, so the
 * vertical centring and the stack point live in one file.
 */
.fm_row_about_hero .fl-col-group {
  display: flex;
  align-items: center;
}

/**
 * Column gap: the two modules' 20px side margins already make 40px. Column
 * padding on top doubled it to 80px, so it is removed.
 */

/**
 * PowerPack writes the title size at (0,5,1) — see CATEGORY ARCHIVE —
 * HEADER. Mirrored one class deeper, (0,6,0), not !important.
 */
.fm_row_about_hero .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
  margin: 0;
  font-size: var(--jcd-text-h1);
  line-height: 1.05;
}

.fm_row_about_hero .jcd_ui_section_header .pp-primary-title {
  font-family: var(--jcd-font-serif);
  font-weight: var(--jcd-weight-regular);
  letter-spacing: -0.025em;
  color: var(--jcd-color-ink);
}

/**
 * PowerPack zeroes the sub-heading margin at (0,3,1), so the gap is
 * padding, which it does not write.
 */
.fm_row_about_hero .jcd_ui_section_header .pp-sub-heading {
  max-width: 36rem;
  margin-top: 0;
  padding-top: var(--jcd-space-lg);
}

.fm_row_about_hero .jcd_ui_section_header .pp-sub-heading p {
  margin: 0;
  font-size: var(--jcd-text-lead);
  line-height: 1.6;
  color: var(--jcd-color-muted);
}

/**
 * Whole cover, natural ratio, never cropped; 448px max, centred in its
 * column.
 *
 * BB 2.11 renders the HTML module WITHOUT a .fl-module-content wrapper, so
 * the cap is on the IMAGE, not the module. The module keeps BB's 20px side
 * margins and the cover's edge matches the text on phones.
 */
.fm_module_about_cover img {
  display: block;
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
  height: auto;
  border-radius: var(--jcd-radius-none);
}

@media (max-width: 992px) {
  /**
   * Stacks below bblg. BB writes column width at node specificity
   * (0,1,0); this is (0,3,0).
   */
  .fm_row_about_hero .fl-col-group {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: var(--jcd-space-xl);
  }

  /**
   * BB caps a "small" column at 400px and centres it below 768px
   * (.fl-col-small:not(.fl-col-small-full-width), (0,2,0)). The hero
   * stacks full width, so both are released here.
   */
  .fm_row_about_hero .fl-col[data-node] {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .fm_row_about_hero .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
    font-size: var(--jcd-text-h2);
  }
}

@media (max-width: 768px) {
  .fm_row_about_hero .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
    font-size: var(--jcd-text-h3);
  }
}

/* §2 Mission */
/* The three statements are a list; the grid is CSS, not BB columns. */
.fm_module_about_mission ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--jcd-space-xl);
  margin: 0;
  padding: 0;
  list-style: none;
}

.fm_module_about_mission .jcd_ui_kicker {
  margin: 0;
}

.fm_module_about_mission .jcd_ui_kicker + p {
  padding-top: var(--jcd-space-md);
}

@media (max-width: 768px) {
  .fm_module_about_mission ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* §3 Where to Buy */
/* The H2 reuses .fm_feed_section_heading (14px / 500 / 0.22em). */
.fm_module_about_stockists ul {
  display: flex;
  flex-direction: column;
  gap: var(--jcd-space-xl);
  margin: 0;
  padding: var(--jcd-space-xl) 0 0;
  list-style: none;
}

.fm_module_about_stockists .fm_about_item_title + p {
  padding-top: var(--jcd-space-sm);
}

/**
 * Prose version (2026-11-18): the client's copy replaced the stockist list,
 * so the module is now a Text module (still classed
 * fm_module_about_stockists) holding the H2 and three paragraphs. The
 * shared body-copy rule above zeroes paragraph margins; spacing comes from
 * here instead.
 */
.fm_module_about_stockists .fm_feed_section_heading + p {
  padding-top: var(--jcd-space-xl);
}

.fm_module_about_stockists p + p {
  padding-top: var(--jcd-space-md);
}

/* §4 Team */
/**
 * The Box OWNS the grid shape: columns and gaps live in its settings, so the
 * client can see and reorder the grid in the builder. This block only removes
 * the module margins inside it and spaces it from the heading.
 *
 * TOKEN NOTE: the Box's 40 / 64 gaps are --jcd-space-xl / --jcd-space-2xl
 * typed as numbers. Re-type them if those tokens ever move.
 */

/**
 * The H2 is the site's section heading, not a display title — as
 * .fm_feed_section_heading.
 */
.fm_row_about_team .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.fm_row_about_team .jcd_ui_section_header .pp-primary-title {
  font-family: var(--jcd-font-sans);
  font-weight: var(--jcd-weight-medium);
  letter-spacing: 0.22em; /* as .fm_feed_section_heading */
  text-transform: uppercase;
  color: var(--jcd-color-ink);
}

/**
 * Padding, not margin: the shared rule above zeroes vertical module margins
 * at (0,4,0).
 */
.fm_row_about_team .fm_module_about_team_grid {
  padding-top: var(--jcd-space-xl);
}

/**
 * The Box zeroes its children's module margins itself
 * (.fl-module-box :where(.fl-module)), so the grid gap is already the
 * only spacing — no rule needed here.
 *
 * PowerPack Team writes its own text margins at (0,3,0), e.g.
 *   .fl-node-x .pp-member-wrapper .pp-member-name { margin: 30px 0 5px }
 * and padding 0 on .pp-member-content, which beat this block's (0,2,0)
 * rules: name sat 30px under the photo, role 13px under the name, bio
 * 36px under the role. Cleared at (0,4,0); the gaps below are padding,
 * which PowerPack does not write.
 */
.fm_row_about_team .fm_module_about_team_grid .pp-member-wrapper :is(.pp-member-name, .pp-member-designation, .pp-member-description) {
  margin-top: 0;
  margin-bottom: 0;
}

.fm_row_about_team .fm_module_about_team_grid .pp-member-wrapper .pp-member-content {
  padding: var(--jcd-space-lg) 0 0;
}

/* Placeholder or headshot, always a 4:5 portrait crop. */
.fm_row_about_team .pp-member-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--jcd-radius-none);
}

.fm_row_about_team .pp-member-content {
  text-align: left;
}

/* Title / role — the site eyebrow, as jcd_ui_kicker. */
.fm_row_about_team .pp-member-designation {
  margin: 0;
  padding-top: var(--jcd-space-sm);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.3;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-accent-text);
}

.fm_row_about_team .pp-member-description {
  padding-top: var(--jcd-space-md);
}

.fm_row_about_team .pp-member-description p {
  margin: 0;
  font-size: var(--jcd-text-body);
  line-height: 1.6;
  color: var(--jcd-color-muted);
}

/**
 * Switched off in each module's settings; hidden here as well so a
 * module added later without the toggles still matches.
 */
.fm_row_about_team :is(.pp-member-separator, .pp-member-social-profiles) {
  display: none;
}

/* §5 Contact */
.fm_module_about_contact {
  text-align: center;
}

.fm_module_about_contact address {
  padding-top: var(--jcd-space-lg);
  font-style: normal;
}

/**
 * Phone sits in the muted body colour and darkens to ink; email is
 * the accent link, underlined on hover. Both get the site ring.
 */
.fm_module_about_contact a {
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color var(--jcd-duration-base) ease-out;
}

.fm_module_about_contact a[href^="tel:"] {
  color: inherit;
}

.fm_module_about_contact a[href^="tel:"]:is(:hover, :focus-visible) {
  color: var(--jcd-color-ink);
}

.fm_module_about_contact a[href^="mailto:"] {
  color: var(--jcd-color-accent-text);
}

.fm_module_about_contact a[href^="mailto:"]:is(:hover, :focus-visible) {
  color: var(--jcd-color-accent-text);
  text-decoration: underline;
}

.fm_module_about_contact a:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 2px;
  border-radius: var(--jcd-radius-sm);
}


/* ==========================================================================
   # 57. STATIC PAGES — MEDIA KIT (/media-kit)
   ========================================================================== */

/**
 * Module Style / Typography / Colors fields stay at Default, as on /about.
 *
 * BRIEF OVERRIDE: the hero's right column is a PP Devices laptop in place of
 * the design's 4:3 photo and its "Photography by" caption.
 *
 * DESIGN DRIFT: buttons take the kit pill padding; the outline button takes
 * the kit's currentColor (white) border.
 */

/* Surfaces */
.section_is_mk_pdf {
  background-color: var(--jcd-color-paper-alt);
}
/**
 * The contact row is CRIMSON (client, 2026-10-21 — the ink band read as one
 * block with the black Newsletter row below). It keeps jcd_ui_inverse for
 * the paper headings and button; the accent fill and the token re-points
 * are in § 4 below.
 */

/* One owner for space */
:is(.fm_row_mk_hero, .fm_row_mk_pdf, .fm_row_mk_digital, .fm_row_mk_contact) .fl-col[data-node] > .fl-col-content {
  padding: 0;
}

:is(.fm_row_mk_hero, .fm_row_mk_pdf, .fm_row_mk_digital, .fm_row_mk_contact) .fl-module[data-node] > .fl-module-content {
  margin-top: 0;
  margin-bottom: 0;
}

:is(.fm_row_mk_hero, .fm_row_mk_pdf, .fm_row_mk_digital, .fm_row_mk_contact) .fl-module[data-node]:not(:has(> .fl-module-content)) {
  margin-top: 0;
  margin-bottom: 0;
}

/**
 * A button module directly under copy. Padding, not margin — the rule
 * above zeroes vertical module margins. Applied as a SECOND class on
 * the PP Smart Button module: jcd_ui_btn_pill fm_module_mk_cta.
 */
:is(.fm_row_mk_hero, .fm_row_mk_pdf, .fm_row_mk_contact) .fm_module_mk_cta {
  padding-top: var(--jcd-space-lg);
}

/**
 * Centred rows. PowerPack writes Smart Button alignment at (0,2,0) on
 * .pp-button-wrap and Smart Heading alignment on .pp-heading-content;
 * these are (0,3,0), so the module Alignment fields can stay Default.
 */
:is(.fm_row_mk_pdf, .fm_row_mk_contact) .fm_module_mk_cta .pp-button-wrap,
.fm_row_mk_contact .jcd_ui_section_header .pp-heading-content {
  text-align: center;
}

/* §1 Hero */
/* The design keeps text FIRST on the stack, so no reversal here. */
.fm_row_mk_hero .fl-col-group {
  display: flex;
  align-items: center;
}

.fm_row_mk_hero .jcd_ui_section_header .pp-heading-prefix {
  margin-bottom: var(--jcd-space-md);
}

/**
 * Title — same treatment as the /about H1. PowerPack writes the size
 * at (0,5,1); this is (0,6,0).
 */
.fm_row_mk_hero .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
  margin: 0;
  font-size: var(--jcd-text-h1);
  line-height: 1.05;
}

.fm_row_mk_hero .jcd_ui_section_header .pp-primary-title {
  font-family: var(--jcd-font-serif);
  font-weight: var(--jcd-weight-regular);
  letter-spacing: -0.025em;
  color: var(--jcd-color-ink);
}

.fm_row_mk_hero .jcd_ui_section_header .pp-sub-heading {
  max-width: 36rem;
  margin-top: 0;
  padding-top: var(--jcd-space-lg);
}

.fm_row_mk_hero .jcd_ui_section_header .pp-sub-heading p {
  margin: 0;
  font-size: var(--jcd-text-lead);
  line-height: 1.6;
  color: var(--jcd-color-muted);
}

/* The laptop fills its column; PP Devices scales its own frame. */
.fm_module_mk_device .pp-devices-content {
  width: 100%;
}

@media (max-width: 992px) {
  .fm_row_mk_hero .fl-col-group {
    flex-direction: column;
    align-items: stretch;
    gap: var(--jcd-space-xl);
  }

  /* Released from BB's 400px small-column cap — see the About hero. */
  .fm_row_mk_hero .fl-col[data-node] {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .fm_row_mk_hero .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
    font-size: var(--jcd-text-h2);
  }
}

@media (max-width: 768px) {
  .fm_row_mk_hero .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
    font-size: var(--jcd-text-h3);
  }
}

/* §2 Media kit PDF */
.fm_module_mk_pdf {
  text-align: center;
}

.fm_module_mk_pdf p {
  margin: 0;
  padding-top: var(--jcd-space-lg);
  font-size: var(--jcd-text-body);
  line-height: 1.6;
  color: var(--jcd-color-muted);
}

/* §3 Digital exclusives */
/**
 * The Box owns the grid and zeroes every child module's margins itself
 * (.fl-module-box :where(.fl-module)), as in the About team grid.
 *
 * WINDOW, NOT LAPTOP: the browser frame reads as "digital" at card size,
 * keeps the hero's laptop as the page's one device moment, and its frame
 * (padding-bottom 66%) sits close to the design's 16:9 slot. Its screen is
 * 5:3 — screen images are 1500 × 900.
 *
 * WHY THE TEXT IS NOT PP INFO BOX: its text link renders <a role="button"> —
 * a link announced as a button (WCAG 4.1.2) — and its label can't carry the
 * hidden text that tells the three "See an Example" links apart and flags the
 * new tab.
 */
.fm_row_mk_digital .fm_module_mk_digital_grid {
  padding-top: var(--jcd-space-xl);
}

/**
 * PP sizes each device by a fixed width (window 1000px) capped at
 * 100%; this makes the frame fill its card at every width.
 */
.fm_module_mk_card_device .pp-device-wrap {
  width: 100%;
}

.fm_module_mk_card_text .fm_mk_card_title {
  padding-top: var(--jcd-space-lg);
}

.fm_module_mk_card_text p {
  margin: 0;
  padding-top: var(--jcd-space-md);
  font-size: var(--jcd-text-body);
  line-height: 1.6;
  color: var(--jcd-color-muted);
}

/* Card links on one baseline */
/**
 * Descriptions differ in length, so the links would sit at three heights. The
 * grid stretches each card to the row's height; the card is a flex column,
 * the text module takes the space left under the device, and the link is
 * pushed to its foot.
 *
 * align-self on the card overrides any align-items the Box writes on the
 * grid. Both module forms are listed: BB 2.11 renders the HTML module WITHOUT
 * .fl-module-content (see the About hero), but a module that gains one later
 * still works.
 *
 * Keyed to the grid's DIRECT CHILD boxes, not to fm_module_mk_card: BB does
 * not reliably copy a module class onto duplicates, and on staging cards 2
 * and 3 fell out of a class-keyed rule — their links sat 26px higher. Any box
 * placed in this grid aligns, classed or not.
 */
.fm_module_mk_digital_grid > .fl-module-box {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.fm_module_mk_digital_grid > .fl-module-box > .fm_module_mk_card_text {
  flex: 1 1 auto;
}

.fm_module_mk_card_text:not(:has(> .fl-module-content)),
.fm_module_mk_card_text > .fl-module-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* link stays its own width */
}

/**
 * The 16px above the link is held on the paragraph, so the link's auto margin
 * can only ever ADD space, never remove it.
 */
.fm_module_mk_card_text p:last-of-type {
  padding-bottom: var(--jcd-space-md);
}

/* "See an Example →" — accent label, underline on hover, site ring. */
.fm_module_mk_card_text .fm_mk_card_link {
  display: inline-block;
  margin-top: auto; /* to the card's foot */
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.4;
  letter-spacing: var(--jcd-tracking-btn);
  text-transform: uppercase;
  text-decoration: none;
  text-underline-offset: 4px;
  color: var(--jcd-color-accent-text);
}

.fm_module_mk_card_text .fm_mk_card_link:is(:hover, :focus-visible) {
  color: var(--jcd-color-accent-text);
  text-decoration: underline;
}

.fm_module_mk_card_text .fm_mk_card_link:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 2px;
  border-radius: var(--jcd-radius-sm);
}

/* §4 Contact CTA (crimson) */
/**
 * Row class unchanged: section_is_mk_contact fm_row_mk_contact
 * jcd_ui_inverse fm_band_content jcd_width_narrow. jcd_ui_inverse still
 * turns the headings paper and suits the outline-inverse button; this rule
 * swaps its ink fill for the accent at (0,2,0), over its (0,1,0).
 *
 * Its inverse tokens are tuned for ink and fail on crimson, so three are
 * re-pointed for this row only (measured on #BF0D3E):
 *   kicker      inverse-accent pink 3.86:1 (10px text) -> paper 6.28:1
 *   body        inverse-muted white/60 3.25:1          -> white/85 4.82:1
 *   focus ring  pink 3.86:1                            -> paper 6.28:1
 * Heading and button label stay paper, 6.28:1. Button hover (paper fill,
 * ink label) is the kit's outline-inverse, unchanged.
 *
 * KEEP THIS BLOCK when merging _modules.css from another chat — it was
 * lost once (2026-10-22) when an older copy was uploaded over it.
 */
.section_is_mk_contact.jcd_ui_inverse {
  --jcd-color-accent-text: var(--jcd-color-paper);
  --jcd-color-focus:       var(--jcd-color-paper);
  --jcd-color-muted:       color-mix(in srgb, var(--jcd-color-paper) 85%, transparent);
  background-color: var(--jcd-color-accent);
}

.fm_row_mk_contact .jcd_ui_section_header .pp-heading-prefix {
  margin-bottom: var(--jcd-space-md);
}

.fm_row_mk_contact .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
  margin: 0;
  font-size: var(--jcd-text-h2);
  line-height: 1.1;
}

.fm_row_mk_contact .jcd_ui_section_header .pp-primary-title {
  font-family: var(--jcd-font-serif);
  font-weight: var(--jcd-weight-regular);
  letter-spacing: -0.025em;
}

.fm_row_mk_contact .jcd_ui_section_header .pp-sub-heading {
  margin-top: 0;
  padding-top: var(--jcd-space-lg);
}

.fm_row_mk_contact .jcd_ui_section_header .pp-sub-heading p {
  margin: 0;
  color: var(--jcd-color-muted); /* re-pointed to white/85 above */
}

/**
 * "EMAIL ADS@FLAMINGOMAG.COM" is one unbreakable word. Below ~340px it is
 * wider than the column and the button runs 19px past the content edge.
 * Capped at the column, and allowed to break inside the address only as a
 * last resort.
 */
.fm_row_mk_contact .fm_module_mk_cta .pp-button {
  max-width: 100%;
}

.fm_row_mk_contact .fm_module_mk_cta .pp-button-text {
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .fm_row_mk_contact .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
    font-size: var(--jcd-text-h3);
  }
}


/* ==========================================================================
   # 58. NEWSLETTER — FRESH SQUEEZED GLOBAL ROW
   ========================================================================== */

/**
 * Deliberate use of Playfair Display on the ink row. Heading uses the serif;
 * sub-heading is 70% white, not full white.
 */

.section_is_newsletter .pp-primary-title {
  font-family: var(--jcd-font-serif);
  font-weight: var(--jcd-weight-regular);
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--jcd-color-paper);
}

@media (min-width: 768px) {
  .section_is_newsletter .pp-primary-title {
    font-size: 60px;
  }
}

.section_is_newsletter .pp-sub-heading,
.section_is_newsletter .pp-sub-heading p {
  color: rgba(255, 255, 255, 0.70);
  font-size: var(--jcd-text-body);
  line-height: 1.625;
}

.section_is_newsletter .pp-heading-prefix {
  color: var(--jcd-color-accent-text);
}

/* --------------------------------------------------------------------------
   PRINT ISSUES 8 · COVER SHELF (part of # 48 to # 55, placed here)
   -------------------------------------------------------------------------- */

/**
 * Not part of # 58. This block belongs to the Print Issues set and
 * overrides the cover crops in # 50 (Spotlight), # 54 (Back Catalog) and
 * # 55 (Complete Your Collection) by source order, so it must stay below
 * # 55. In the file it follows # 58.
 *
 * Every Flamingo cover is 5:6 (the print trim, 0.83 wide to 1 tall).
 * The 3:4 slot this block first used was for the imported V.3–V.22
 * files, which the old site had padded to 3:4 with a colour band top and
 * bottom; those were replaced with the client's clean covers
 * (2026-11-04), so every slot is 5:6 again. Covers still stand on the
 * slot's bottom edge and are never cropped (object-fit: fill with the
 * file's own ratio), so a stray file of another shape shows whole
 * rather than distorted. The shadow sits on the cover itself.
 */

/* --- Spotlight: one cover, shown whole --- */
.fm_issue_spotlight .fm_issue_spotlight__frame img {
  aspect-ratio: auto 5 / 6;
  object-fit: fill;
}

/* --- Back Catalog: the shelf --- */
.fm_row_issues_grid .fm_issue_card__media.jcd_ui_post_media {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 5 / 6;
  overflow: visible;
  background-color: transparent;
  box-shadow: none;
}

.fm_row_issues_grid .fm_issue_card__media.jcd_ui_post_media img {
  width: 100%;
  height: auto;
  aspect-ratio: auto 5 / 6;
  object-fit: fill;
  box-shadow: 0 15px 35px -15px color-mix(in srgb, var(--jcd-color-ink) 30%, transparent);
  transition:
    transform 700ms ease-out,
    box-shadow 500ms ease-out;
}

.fm_row_issues_grid .pp-content-post:is(:hover, :focus-within) .fm_issue_card__media {
  box-shadow: none;
}

.fm_row_issues_grid .pp-content-post:is(:hover, :focus-within) .fm_issue_card__media.jcd_ui_post_media img {
  box-shadow: 0 25px 50px -15px color-mix(in srgb, var(--jcd-color-ink) 45%, transparent);
}

/* --- Complete Your Collection: same shelf --- */
.fm_row_collection .fm_issue_mini__cover {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 5 / 6;
  overflow: visible;
  box-shadow: none;
}

.fm_row_collection .fm_issue_mini__cover img {
  width: 100%;
  height: auto;
  aspect-ratio: auto 5 / 6;
  object-fit: fill;
  box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--jcd-color-ink) 40%, transparent);
}

/**
 * Hover: the cover and its overlay grow TOGETHER, from the shelf. Scaled
 * from the centre, the cover grew out from under the unscaled overlay and
 * its bottom edge peeked out below the gradient. Both now scale 3% from
 * their bottom edge, so the cover stays on the shelf and the overlay
 * stays on top of it.
 */
.fm_row_issues_grid .fm_issue_card__media.jcd_ui_post_media img,
.fm_row_issues_grid .fm_issue_card__overlay {
  transform-origin: 50% 100%;
}

.fm_row_issues_grid .fm_issue_card__overlay {
  transition:
    opacity 500ms ease-out,
    transform 700ms ease-out;
}

.fm_row_issues_grid .pp-content-post:is(:hover, :focus-within) .fm_issue_card__overlay {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .fm_row_issues_grid .fm_issue_card__media.jcd_ui_post_media img,
  .fm_row_issues_grid .fm_issue_card__overlay {
    transition: none;
  }

  .fm_row_issues_grid .pp-content-post:is(:hover, :focus-within) .fm_issue_card__overlay {
    transform: none;
  }
}


/* ==========================================================================
   # 59. AUTHOR ARCHIVE — LOAD MORE
   ========================================================================== */

/**
 * The button functions.php (§07) builds from the grid's numbered
 * pagination. Its values mirror the category archive's Load More pill
 * (# 13 MORE grid): kit type and colours, the design's larger padding,
 * the ink-to-accent hover and the ring spinner while loading — one look
 * for every Load More on the site.
 *
 * The numbers stay in the HTML for crawlers and no-JS visitors; they are
 * hidden once the button is in place (.fm_load_more_ready).
 *
 * (0,2,0): the BB skin styles every button through .fl-page button (0,1,1)
 * with a blue fill and border of its own.
 */
.fm_load_more_ready .pp-content-grid-pagination {
  display: none;
}

.fm_load_more_wrap {
  margin-top: var(--jcd-space-2xl);
  text-align: center;
}

.fm_load_more_wrap .fm_load_more_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--jcd-space-sm);
  min-height: 44px; /* WCAG 2.5.5 target, as in the kit pill */
  padding: var(--jcd-space-md) var(--jcd-space-xl);
  border: 1px solid var(--jcd-color-ink);
  border-radius: var(--jcd-radius-pill);
  background-color: var(--jcd-color-ink);
  box-shadow: none;
  color: var(--jcd-color-paper);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  line-height: 1;
  letter-spacing: var(--jcd-tracking-btn);
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color var(--jcd-duration-base) ease-out,
    border-color var(--jcd-duration-base) ease-out,
    color var(--jcd-duration-base) ease-out;
}

.fm_load_more_wrap .fm_load_more_btn:is(:hover, :focus, :focus-visible) {
  border-color: var(--jcd-color-accent);
  background-color: var(--jcd-color-accent);
  color: var(--jcd-color-cta-fg);
}

.fm_load_more_wrap .fm_load_more_btn:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 3px;
}

/* Loading: a ring in the label colour, as the category Load More shows. */
.fm_load_more_wrap .fm_load_more_btn.is-loading {
  cursor: progress;
}

.fm_load_more_wrap .fm_load_more_btn.is-loading::after {
  content: "";
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: fm_load_more_spin 700ms linear infinite; /* keyframes in # 13 */
}

/* Announced, not shown. */
.fm_load_more_status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ==========================================================================
   # 60. STATIC PAGES — NEWSLETTER (/newsletter)
   ========================================================================== */

/**
 * Masthead + Gravity Forms sign-up. Same space model as the About and Media
 * Kit pages: column padding and vertical module margins zeroed, the band
 * owns the rhythm.
 *
 * GRAVITY FORMS — ORBITAL. The form is styled through the GF CSS API, not by
 * overriding GF's selectors. Orbital prints its style settings inline on the
 * wrapper with an ID selector, and derives most globals there (e.g.
 * --gf-ctrl-border-color-focus: var(--gf-color-primary)) — so re-pointing a
 * base variable on the wrapper changes nothing. Every value is therefore
 * declared on the <form> itself, a descendant, where inheritance beats the
 * wrapper's specificity outright. Do NOT add jcd_ui_field to this module:
 * its direct property rules fight the framework.
 *
 * The submit button is already the accent pill sitewide (_components.css,
 * FORM FIELDS — GRAVITY FORMS), so nothing here touches it.
 *
 * DESIGN VALUES (nearest 4pt step, ties down): space-y-8 32 -> 24 · px-3 12
 * -> 8 · mb-1.5 6 -> 4 · gap-3 12 -> 8 · mt-5 20 -> 16 · rounded-sm ->
 * --jcd-radius-none. Field text, checkbox labels and the H1's 36px phone
 * step have no type token below 16px/above 28px — 14px is a literal, as in
 * FEED SECTION HEADERS. Body copy is --jcd-color-muted, not the design's
 * ink/70, to match every other static page.
 *
 * CHECKBOXES: the design uses the browser's native checkbox, 16px, filled
 * crimson with a white tick when checked (accent-color). Orbital instead
 * draws its own box (appearance: none, field border, icon-font tick) — a
 * #EEEFF0 outline on white, effectively invisible, with a crimson tick on
 * white. The choice fields switch Orbital back to native rendering below.
 */

/* Surfaces */
.section_is_nl_masthead {
  border-bottom: 1px solid var(--jcd-color-rule);
}

.section_is_nl_form {
  background-color: var(--jcd-color-paper-alt);
}

/* One owner for space */
:is(.fm_row_nl_masthead, .fm_row_nl_form) .fl-col[data-node] > .fl-col-content {
  padding: 0;
}

:is(.fm_row_nl_masthead, .fm_row_nl_form) .fl-module[data-node] > .fl-module-content {
  margin-top: 0;
  margin-bottom: 0;
}

:is(.fm_row_nl_masthead, .fm_row_nl_form) .fl-module[data-node]:not(:has(> .fl-module-content)) {
  margin-top: 0;
  margin-bottom: 0;
}

/* §1 Masthead */
/**
 * pb-10: the masthead closes tighter than it opens. fm_band_content gives
 * 80/48; the bottom is held at 40 at every width.
 */
.fm_band_content.fm_row_nl_masthead {
  padding-bottom: var(--jcd-space-xl);
}

/**
 * PowerPack writes alignment on .pp-heading-content and the title size at
 * (0,5,1); these mirror the Media Kit hero one class deeper.
 */
.fm_row_nl_masthead .jcd_ui_section_header .pp-heading-content {
  text-align: center;
}

.fm_row_nl_masthead .jcd_ui_section_header .pp-heading-prefix {
  margin-bottom: var(--jcd-space-md);
}

.fm_row_nl_masthead .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
  margin: 0;
  font-size: var(--jcd-text-h1);
  line-height: 1.05;
}

.fm_row_nl_masthead .jcd_ui_section_header .pp-primary-title {
  font-family: var(--jcd-font-serif);
  font-weight: var(--jcd-weight-regular);
  letter-spacing: -0.025em;
  color: var(--jcd-color-ink);
}

.fm_row_nl_masthead .jcd_ui_section_header .pp-sub-heading {
  max-width: 42rem;
  margin: 0 auto;
  padding-top: var(--jcd-space-lg);
}

.fm_row_nl_masthead .jcd_ui_section_header .pp-sub-heading p {
  margin: 0;
  font-size: var(--jcd-text-body);
  line-height: 1.6;
  color: var(--jcd-color-muted);
}

.fm_row_nl_masthead .jcd_ui_section_header .pp-sub-heading p + p {
  padding-top: var(--jcd-space-md);
}

/* "Enjoy!" — the sign-off sits in ink. */
.fm_row_nl_masthead .jcd_ui_section_header .pp-sub-heading p:last-child {
  color: var(--jcd-color-ink);
}

@media (max-width: 992px) {
  .fm_row_nl_masthead .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
    font-size: var(--jcd-text-h2);
  }
}

@media (max-width: 768px) {
  .fm_row_nl_masthead .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
    font-size: var(--jcd-text-h3);
  }
}

/* §2 Sign-up form — GF CSS API */
.fm_module_nl_form form {
  /* Rhythm */
  --gf-form-gap-y: var(--jcd-space-lg);            /* space-y-8 32 -> 24 */
  --gf-form-footer-margin-y-start: var(--jcd-space-lg);
  --gf-field-gap-x: var(--jcd-space-md);           /* gap-4 */
  --gf-field-gap-y: var(--jcd-space-md);
  --gf-label-space-primary: var(--jcd-space-sm);   /* legend mt-3 12 -> 8 */
  --gf-label-space-tertiary: var(--jcd-space-xs);  /* sub-label mb-1.5 6 -> 4 */
  --gf-label-space-x-secondary: var(--jcd-space-sm);  /* box to label, gap-3 */
  --gf-field-choice-gap: 0;                        /* rows carry 44px each */

  /* Controls */
  --gf-ctrl-size: 44px;                            /* WCAG 2.5.5 constant */
  --gf-ctrl-line-height: 44px;
  --gf-ctrl-padding-x: var(--jcd-space-sm);
  --gf-ctrl-radius: var(--jcd-radius-none);
  --gf-ctrl-shadow: none;
  --gf-ctrl-bg-color: var(--jcd-color-paper);
  --gf-ctrl-bg-color-hover: var(--jcd-color-paper);
  --gf-ctrl-bg-color-focus: var(--jcd-color-paper);
  --gf-ctrl-color: var(--jcd-color-ink);
  --gf-ctrl-color-hover: var(--jcd-color-ink);
  --gf-ctrl-color-focus: var(--jcd-color-ink);
  --gf-ctrl-font-family: var(--jcd-font-sans);
  --gf-ctrl-font-size: 14px;                       /* text-sm */
  --gf-ctrl-placeholder-color: var(--jcd-color-placeholder);
  --gf-ctrl-placeholder-font-family: var(--jcd-font-sans);
  --gf-ctrl-placeholder-font-size: 14px;

  /* Borders — the design's focus state is the border going ink; no ring. */
  --gf-ctrl-border-color: var(--jcd-color-rule);
  --gf-ctrl-border-color-hover: var(--jcd-color-rule);
  --gf-ctrl-border-color-focus: var(--jcd-color-ink);
  --gf-ctrl-border-color-error: var(--jcd-color-accent);
  --gf-ctrl-outline-width-focus: 0;

  /**
   * Labels — primary: field label / legend · secondary: checkbox and
   * consent text · tertiary: First / Last, Enter / Confirm Email ·
   * req: "(Required)"
   */
  --gf-ctrl-label-font-family-primary: var(--jcd-font-sans);
  --gf-ctrl-label-font-size-primary: var(--jcd-text-caption);
  --gf-ctrl-label-font-weight-primary: var(--jcd-weight-medium);
  --gf-ctrl-label-color-primary: var(--jcd-color-ink);
  --gf-ctrl-label-font-family-secondary: var(--jcd-font-sans);
  --gf-ctrl-label-font-size-secondary: 14px;
  --gf-ctrl-label-font-weight-secondary: var(--jcd-weight-regular);
  --gf-ctrl-label-color-secondary: var(--jcd-color-ink);
  --gf-ctrl-label-font-family-tertiary: var(--jcd-font-sans);
  --gf-ctrl-label-font-size-tertiary: var(--jcd-text-caption);
  --gf-ctrl-label-font-weight-tertiary: var(--jcd-weight-regular);
  --gf-ctrl-label-color-tertiary: var(--jcd-color-muted);
  --gf-ctrl-label-font-family-req: var(--jcd-font-sans);
  --gf-ctrl-label-font-size-req: var(--jcd-text-caption);
  --gf-ctrl-label-font-weight-req: var(--jcd-weight-medium);
  --gf-ctrl-label-color-req: var(--jcd-color-accent-text);

  /* Choices */
  --gf-ctrl-choice-size: var(--jcd-space-md);      /* h-4 w-4 */
  --gf-ctrl-choice-check-color: var(--jcd-color-accent);
  --gf-ctrl-accent-color: var(--jcd-color-accent);
  --gf-ctrl-checkbox-check-radius: var(--jcd-radius-none);

  /* Errors — field messages (the summary box is styled separately below) */
  --gf-ctrl-desc-font-family-error: var(--jcd-font-sans);
  --gf-ctrl-desc-font-size-error: var(--jcd-text-caption);   /* text-xs */
  --gf-ctrl-desc-color-error: var(--jcd-color-accent-text);
}

/**
 * Native checkboxes, as the design (see CHECKBOXES above). Orbital drives
 * every control's appearance from --gf-ctrl-appearance (none); re-declared
 * as auto on the two choice fields only, so text inputs and the select keep
 * Orbital's drawing. With native rendering the browser ignores Orbital's
 * border, background and ::before tick on the box, and paints it with
 * accent-color — already crimson via --gf-ctrl-accent-color on the form.
 * Size stays 16px from --gf-ctrl-choice-size.
 */
.fm_module_nl_form :is(.gfield--type-checkbox, .gfield--type-consent) {
  --gf-ctrl-appearance: auto;
}

/**
 * Each choice row is a 44px target (min-h-[44px] items-center). Orbital lays
 * .gchoice out as a two-column inline grid, box then label, at (0,3,0); this
 * keeps its grid and only adds height and centring. Same weight, loads later.
 */
.fm_module_nl_form .gfield--type-checkbox .gchoice {
  min-height: 44px;
  align-items: center;
}

/* Consent wraps to two lines on phones, so it aligns to the top (items-start). */
.fm_module_nl_form .gfield--type-consent .ginput_container_consent {
  min-height: 44px;
  align-items: start;
  padding-top: var(--jcd-space-sm);                /* mt-2 */
}

/**
 * First / Last and Email / Confirm sit side by side above 768 and stack at
 * 768, as the design (bbmd:grid-cols-2). GF's own stack point is 640px;
 * its rule is (0,3,0), this is (0,4,0).
 */
@media (max-width: 768px) {
  .fm_module_nl_form .ginput_complex .gform-grid-col.gform-grid-col--size-auto {
    flex: none;
    inline-size: 100%;
  }
}

/**
 * ERROR BORDER. The PowerPack module writes node CSS even with every Style
 * tab on No Styles, including
 *   .fl-node-x .pp-gf-content .gform_wrapper .gfield_error input:not(…)×6
 *   { border-color: transparent }                              (0,10,1)
 * which removes the crimson error border Orbital draws. This is one class
 * heavier, (0,11,1), and hands the colour back to Orbital's own local
 * variable — crimson in error, ink on focus.
 */
.fm_module_nl_form.fl-module .pp-gf-content .gform_wrapper .gfield_error input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='button']):not([type='image']):not([type='file']),
.fm_module_nl_form.fl-module .pp-gf-content .gform_wrapper .gfield_error .ginput_container select {
  border-color: var(--gf-local-border-color);
}

/**
 * VALIDATION SUMMARY. The design has no summary box — errors show under each
 * field only. GF's box is kept (it receives focus after a failed submit,
 * which screen-reader users rely on) but reduced to crimson text: PowerPack
 * already strips its border and vertical padding with !important, so the
 * rest goes flat to match. It sits outside the <form>, so its variables are
 * set on the box itself.
 */
.fm_module_nl_form .gform_validation_errors {
  --gf-form-validation-bg-color: transparent;
  --gf-form-validation-shadow: none;
  --gf-form-validation-radius: var(--jcd-radius-none);
  --gf-form-validation-padding-x: 0;             /* flush with the fields */
  --gf-form-validation-outline-focus: none;      /* no visible focus ring */
  --gf-form-validation-color: var(--jcd-color-accent-text);
  --gf-form-validation-font-family: var(--jcd-font-sans);
  --gf-form-validation-font-size: 14px;
  --gf-form-validation-heading-color: var(--jcd-color-accent-text);
  --gf-form-validation-heading-font-family: var(--jcd-font-sans);
  --gf-form-validation-heading-font-size: 14px;
  --gf-form-validation-heading-icon-color: var(--jcd-color-accent-text);
  --gf-form-validation-heading-icon-border-color: var(--jcd-color-accent);
  --gf-form-validation-summary-color: var(--jcd-color-accent-text);
  --gf-form-validation-summary-font-family: var(--jcd-font-sans);
  --gf-form-validation-summary-font-size: var(--jcd-text-caption);
}

/**
 * PowerPack forces the heading to display: block !important, which collapses
 * Orbital's flex gap between the error icon and the text. The space returns
 * as a margin on the icon.
 */
.fm_module_nl_form .gform_validation_errors .gform-icon {
  margin-inline-end: var(--jcd-space-sm);
  vertical-align: -0.15em;
}

/* Confirmation — GF Confirmation, type Text, markup in the build guide */
.fm_nl_success {
  padding: var(--jcd-space-xl);                    /* p-10 */
  border: 1px solid var(--jcd-color-rule);
  border-radius: var(--jcd-radius-none);
  background-color: var(--jcd-color-paper);
  text-align: center;
}

.fm_nl_success svg {
  display: block;
  width: var(--jcd-space-xl);                      /* h-10 w-10 */
  height: var(--jcd-space-xl);
  margin: 0 auto;
  color: var(--jcd-color-accent);
}

.fm_nl_success h2 {
  margin: 0;
  padding-top: var(--jcd-space-md);                /* mt-5 20 -> 16 */
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-h3);                   /* text-3xl 30 -> 28 */
  font-weight: var(--jcd-weight-regular);
  line-height: 1.15;
  color: var(--jcd-color-ink);
}

.fm_nl_success p {
  max-width: 28rem;                                /* max-w-md */
  margin: 0 auto;
  padding-top: var(--jcd-space-sm);                /* mt-3 12 -> 8 */
  font-size: 14px;                                 /* text-sm */
  line-height: 1.6;
  color: var(--jcd-color-muted);
}


/* ==========================================================================
   # 61. STATIC PAGES — SUBSCRIBE (/subscribe)
   ========================================================================== */

/**
 * Variant 01 — Pricing Grid. Hero with the current issue's cover, three plan
 * cards, gift / portal cards, FAQ. Same space model as the other static
 * pages: column padding and vertical module margins zeroed, the band owns
 * the rhythm.
 *
 * PLAN CARDS ARE HTML, NOT PP PRICING TABLE. The PowerPack module has no
 * field for the term line ("1-Year Subscription") or the savings line, its
 * button is <a role="button"> on a link that navigates (WCAG 4.1.2), and the
 * button cannot carry the data-cb-* attributes Chargebee's drop-in checkout
 * reads. Each card is one HTML module inside a BB Box grid; the buttons are
 * the kit's bare pills (jcd_ui_btn_pill, jcd_ui_btn_pill_outline), which
 * already match the design: ink fill turning crimson, ink outline filling ink.
 *
 * DESIGN VALUES (nearest 4pt step, ties down): mt-5 20 -> 16 · mt-14 56 ->
 * 64 · mb-14 56 -> 64 · mt-8 32 -> 24 · space-y-3 12 -> 8 · p-8 32 -> 24 ·
 * mt-12 48 -> 40. Type: H1 md:text-6xl 60 -> --jcd-text-h1 48, stepping
 * 48 / 36 / 28 like every static page; plan price 60 -> 48; "$" 24 ->
 * --jcd-text-h4 22; plan term 11 -> --jcd-text-caption 12. #FAF8F5 ->
 * --jcd-color-paper-alt. Eyebrows use the sitewide accent eyebrow; the
 * design greys three of them ("Choose Your Plan", "Frequently Asked").
 */

/* Surfaces */
.section_is_sub_hero {
  border-bottom: 1px solid var(--jcd-color-rule);
  background-color: var(--jcd-color-paper-alt);
}

.section_is_sub_utility {
  border-top: 1px solid var(--jcd-color-rule);
  border-bottom: 1px solid var(--jcd-color-rule);
  background-color: var(--jcd-color-paper-alt);
}

/* One owner for space */
:is(.fm_row_sub_hero, .fm_row_sub_plans, .fm_row_sub_utility, .fm_row_sub_faq) .fl-col[data-node] > .fl-col-content {
  padding: 0;
}

:is(.fm_row_sub_hero, .fm_row_sub_plans, .fm_row_sub_utility, .fm_row_sub_faq) .fl-module[data-node] > .fl-module-content {
  margin-top: 0;
  margin-bottom: 0;
}

:is(.fm_row_sub_hero, .fm_row_sub_plans, .fm_row_sub_utility, .fm_row_sub_faq) .fl-module[data-node]:not(:has(> .fl-module-content)) {
  margin-top: 0;
  margin-bottom: 0;
}

/* Centred section headers — hero, plans, FAQ */
/**
 * PowerPack writes Smart Heading alignment on .pp-heading-content and the
 * title size at (0,5,1); these are one class deeper.
 */
:is(.fm_row_sub_hero, .fm_row_sub_plans, .fm_row_sub_faq) .jcd_ui_section_header .pp-heading-content {
  text-align: center;
}

:is(.fm_row_sub_hero, .fm_row_sub_plans, .fm_row_sub_faq) .jcd_ui_section_header .pp-heading-prefix {
  margin-bottom: var(--jcd-space-md);              /* mt-4 / mt-5 */
}

:is(.fm_row_sub_hero, .fm_row_sub_plans, .fm_row_sub_faq) .jcd_ui_section_header .pp-primary-title {
  font-family: var(--jcd-font-serif);
  font-weight: var(--jcd-weight-regular);          /* font-light -> 400 */
  letter-spacing: -0.025em;
  color: var(--jcd-color-ink);
}

/* §1 Hero */
.fm_row_sub_hero .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
  max-width: 48rem;                                /* max-w-3xl */
  margin: 0 auto;
  font-size: var(--jcd-text-h1);
  line-height: 1.05;
}

.fm_row_sub_hero .jcd_ui_section_header .pp-sub-heading {
  max-width: 42rem;                                /* max-w-2xl */
  margin: 0 auto;
  padding-top: var(--jcd-space-lg);                /* mt-6 */
}

.fm_row_sub_hero .jcd_ui_section_header .pp-sub-heading p {
  margin: 0;
  font-size: var(--jcd-text-lead);                 /* md:text-lg */
  line-height: 1.6;
  color: var(--jcd-color-muted);
}

/**
 * Current issue cover — [fm_issue_cover issue="latest"], natural ratio,
 * never cropped (client rule). 300px wide, 240 on phones, with the design's
 * deep drop shadow. The design's blurred glow behind it is omitted: at 3%
 * black it is invisible on cream.
 */
.fm_module_sub_cover .fm_sub_cover {
  width: 300px;                                    /* md:w-[300px] */
  max-width: 100%;
  margin: var(--jcd-space-2xl) auto 0;             /* mt-14 56 -> 64 */
  text-align: center;
}

.fm_module_sub_cover .fm_sub_cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--jcd-radius-none);
  box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--jcd-color-ink) 35%, transparent);
}

/* "No. 33 · Fall 2026 Taste Issue" — a caption, so muted, not accent. */
.fm_module_sub_cover .fm_sub_cover figcaption {
  margin: 0;
  padding-top: var(--jcd-space-lg);                /* mt-6 */
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.3;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-muted);
}

@media (max-width: 992px) {
  .fm_row_sub_hero .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
    font-size: var(--jcd-text-h2);
  }
}

@media (max-width: 768px) {
  .fm_row_sub_hero .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
    font-size: var(--jcd-text-h3);
  }

  .fm_row_sub_hero .jcd_ui_section_header .pp-sub-heading p {
    font-size: var(--jcd-text-body);               /* text-base */
  }

  .fm_module_sub_cover .fm_sub_cover {
    width: 240px;                                  /* w-[240px] */
  }
}

/* §2 Plans — header */
.fm_row_sub_plans .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title,
.fm_row_sub_faq .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
  margin: 0;
  font-size: var(--jcd-text-h2);                   /* md:text-4xl */
  line-height: 1.15;
}

/* Header to grid: mb-14 56 -> 64. Padding, not margin — see above. */
.fm_row_sub_plans .fm_module_sub_plans_grid {
  padding-top: var(--jcd-space-2xl);
}

@media (max-width: 768px) {
  .fm_row_sub_plans .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title,
  .fm_row_sub_faq .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
    font-size: var(--jcd-text-h3);                 /* text-3xl 30 -> 28 */
  }
}

/* §2 Plans — cards */
/**
 * The Box stretches each card to the row's height; the card is a flex
 * column and the feature list takes the slack, so the three buttons sit on
 * one line. Keyed to the grid's direct children, classed or not — BB does
 * not reliably copy a class onto duplicates (see MEDIA KIT).
 */
.fm_module_sub_plans_grid > .fl-module {
  align-self: stretch;
}

.fm_sub_plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  padding: var(--jcd-space-xl);                    /* md:p-10 */
  border: 1px solid var(--jcd-color-rule);
  background-color: var(--jcd-color-paper);
  text-align: left;
  transition:
    border-color var(--jcd-duration-base) ease-out,
    transform var(--jcd-duration-base) ease-out;
}

.fm_sub_plan:hover {
  border-color: color-mix(in srgb, var(--jcd-color-ink) 40%, transparent);   /* hover:border-neutral-400 */
}

/* Featured — ink border, deep shadow, slight lift. */
.fm_sub_plan.fm_sub_plan_featured {
  z-index: 1;
  border-color: var(--jcd-color-ink);
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--jcd-color-ink) 40%, transparent);
  transform: scale(1.04);                          /* md:scale-[1.04] */
}

/* "Most Popular" — straddles the top edge. */
.fm_sub_plan_badge {
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0;
  padding: var(--jcd-space-sm) var(--jcd-space-md);   /* px-4 py-1.5 6 -> 8 */
  transform: translate(-50%, -50%);
  background-color: var(--jcd-color-ink);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--jcd-color-paper);
}

/* Tier — an H3 in the outline, an eyebrow on screen. */
.fm_sub_plan .fm_sub_plan_tier {
  margin: 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.3;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-accent-text);
}

.fm_sub_plan_term {
  margin: 0;
  padding-top: var(--jcd-space-sm);                /* mt-2 */
  font-size: var(--jcd-text-caption);
  line-height: 1.3;
  letter-spacing: var(--jcd-tracking-tight);       /* tracking-[0.2em] */
  text-transform: uppercase;
  color: var(--jcd-color-muted);
}

.fm_sub_plan_price {
  display: flex;
  align-items: baseline;
  gap: var(--jcd-space-sm);                        /* gap-2 */
  margin: 0;
  padding-top: var(--jcd-space-lg);                /* mt-8 32 -> 24 */
  line-height: 1;
}

.fm_sub_plan_currency {
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-h4);                   /* text-2xl 24 -> 22 */
  color: var(--jcd-color-muted);
}

.fm_sub_plan_amount {
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-h1);                   /* text-6xl 60 -> 48 */
  font-weight: var(--jcd-weight-regular);
  color: var(--jcd-color-ink);
}

.fm_sub_plan_cadence {
  font-size: 14px;                                 /* text-sm */
  color: var(--jcd-color-muted);
}

.fm_sub_plan_savings {
  margin: 0;
  padding-top: var(--jcd-space-sm);                /* mt-2 */
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.3;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-accent-text);
}

/* Features — the list takes the slack so the buttons align. */
.fm_sub_plan_features {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--jcd-space-sm);                        /* space-y-3 12 -> 8 */
  margin: 0;
  padding: var(--jcd-space-lg) 0 0;                /* mt-8 32 -> 24 */
  list-style: none;
}

.fm_sub_plan_features li {
  position: relative;
  padding-left: calc(var(--jcd-space-md) + var(--jcd-space-sm));   /* 16px dot + gap-3 12 -> 8 */
  font-size: 14px;                                 /* text-sm */
  line-height: 1.6;
  color: var(--jcd-color-muted);
}

/**
 * Check badge: a 16px circle (::before) with a tick masked out of an inline
 * SVG (::after) so its colour comes from a token. Standard plans: tick in
 * accent on an accent tint; featured: white on ink. Decorative — the text
 * carries the meaning.
 */
.fm_sub_plan_features li::before,
.fm_sub_plan_features li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;                                     /* mt-0.5 against 22px line */
  width: var(--jcd-space-md);
  height: var(--jcd-space-md);
}

.fm_sub_plan_features li::before {
  border-radius: var(--jcd-radius-pill);
  background-color: color-mix(in srgb, var(--jcd-color-accent) 10%, var(--jcd-color-paper));   /* #F3E7EA */
}

.fm_sub_plan_features li::after {
  background-color: var(--jcd-color-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
}

.fm_sub_plan_featured .fm_sub_plan_features li::before {
  background-color: var(--jcd-color-ink);
}

.fm_sub_plan_featured .fm_sub_plan_features li::after {
  background-color: var(--jcd-color-paper);
}

/* Full-width pill at the card's foot — mt-10. The kit pill does the rest. */
.fm_sub_plan .fm_sub_plan_cta {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  margin-top: var(--jcd-space-xl);
}

@media (max-width: 768px) {
  .fm_sub_plan {
    padding: var(--jcd-space-lg);                  /* p-8 32 -> 24 */
  }

  /* md:scale only — a stacked card does not lift. */
  .fm_sub_plan.fm_sub_plan_featured {
    transform: none;
  }
}

/* §3 Gift & portal */
/**
 * BB: one HTML module, a two-item list; the grid is CSS. Each card's border
 * turns ink on hover and while its link has keyboard focus.
 */
.fm_module_sub_utility ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));   /* md:grid-cols-2 */
  gap: var(--jcd-space-lg);                        /* md:gap-6 */
  margin: 0;
  padding: 0;
  list-style: none;
}

.fm_module_sub_utility li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--jcd-space-md);                        /* gap-4 */
  padding: var(--jcd-space-xl);                    /* md:p-10 */
  border: 1px solid var(--jcd-color-rule);
  background-color: var(--jcd-color-paper);
  transition: border-color var(--jcd-duration-base) ease-out;
}

.fm_module_sub_utility li:is(:hover, :focus-within) {
  border-color: var(--jcd-color-ink);
}

.fm_module_sub_utility .jcd_ui_kicker {
  margin: 0;
}

.fm_module_sub_utility h3 {
  margin: 0;
  padding-top: var(--jcd-space-sm);                /* mt-3 12 -> 8 */
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-h3);                   /* md:text-3xl 30 -> 28 */
  font-weight: var(--jcd-weight-regular);
  line-height: 1.15;
  color: var(--jcd-color-ink);
}

.fm_module_sub_utility p:not(.jcd_ui_kicker) {
  margin: 0;
  padding-top: var(--jcd-space-sm);                /* mt-3 12 -> 8 */
  font-size: 14px;                                 /* text-sm */
  line-height: 1.6;
  color: var(--jcd-color-muted);
}

/* "Send a Gift Subscription →" — nudges right on card hover. */
.fm_module_sub_utility .fm_sub_utility_link {
  display: inline-flex;
  align-items: center;
  gap: var(--jcd-space-xs);                        /* gap-1 */
  width: fit-content;
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.4;
  letter-spacing: var(--jcd-tracking-btn);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--jcd-color-ink);
  transition: transform var(--jcd-duration-base) ease-out;
}

.fm_module_sub_utility li:is(:hover, :focus-within) .fm_sub_utility_link {
  transform: translateX(var(--jcd-space-xs));     /* group-hover:translate-x-1 */
  color: var(--jcd-color-ink);
}

@media (max-width: 768px) {
  .fm_module_sub_utility ul {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--jcd-space-xl);                      /* gap-10 */
  }

  .fm_module_sub_utility li {
    padding: var(--jcd-space-lg);                  /* p-8 32 -> 24 */
  }

  .fm_module_sub_utility h3 {
    font-size: var(--jcd-text-h4);                 /* text-2xl 24 -> 22 */
  }
}

/* §4 FAQ */
/**
 * PP FAQ (schema on). The list sits 40px under the header (mt-12 48 -> 40)
 * with a rule above the first item and below every item. PowerPack's own
 * open / close icons are hidden; a "+" drawn on the question turns 45° to
 * an "×" while the item is open (.pp-faq-item-active).
 *
 * PowerPack writes size-preset label sizes at (0,2,0) and colours at node
 * specificity; every rule here is (0,3,0) or heavier.
 */
.fm_row_sub_faq .fm_module_sub_faq {
  padding-top: var(--jcd-space-xl);
}

.fm_module_sub_faq .pp-faq {
  border-top: 1px solid var(--jcd-color-rule);
}

.fm_module_sub_faq .pp-faq .pp-faq-item {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--jcd-color-rule);
  background: none;
}

.fm_module_sub_faq .pp-faq .pp-faq-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--jcd-space-lg);                        /* gap-6 */
  padding: var(--jcd-space-lg) 0;                  /* py-6 */
  border: 0;
  background: none;
}

.fm_module_sub_faq .pp-faq .pp-faq-button-label {
  display: block;
  margin: 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-lead);                 /* md:text-lg */
  font-weight: var(--jcd-weight-medium);
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  color: var(--jcd-color-ink);
}

.fm_module_sub_faq .pp-faq .pp-faq-button-icon {
  display: none;
}

.fm_module_sub_faq .pp-faq .pp-faq-button::after {
  content: "+" / "";
  flex: none;
  font-family: var(--jcd-font-sans);
  font-size: 24px;                                 /* text-2xl */
  font-weight: var(--jcd-weight-light);
  line-height: 1;
  color: var(--jcd-color-muted);
  transition: transform var(--jcd-duration-fast) var(--jcd-ease);
}

.fm_module_sub_faq .pp-faq .pp-faq-item-active .pp-faq-button::after {
  transform: rotate(45deg);
}

.fm_module_sub_faq .pp-faq .pp-faq-content {
  padding: 0 var(--jcd-space-xl) var(--jcd-space-lg) 0;   /* pr-10 pb-6 */
  border: 0;
  background: none;
}

.fm_module_sub_faq .pp-faq .pp-faq-content-text,
.fm_module_sub_faq .pp-faq .pp-faq-content-text p {
  margin: 0;
  font-size: 14px;                                 /* text-sm */
  line-height: 1.6;
  color: var(--jcd-color-muted);
}

@media (max-width: 768px) {
  .fm_module_sub_faq .pp-faq .pp-faq-button-label {
    font-size: var(--jcd-text-body);               /* text-base */
  }
}

/* ==========================================================================
   # 62. PROMOTIONS ARCHIVE (THEMER ARCHIVE: CATEGORY — PROMOTIONS)
   ========================================================================== */

/**
 * Its own Themer layout, not the category Default: a cream header band, one
 * main-query grid with a Load More button, then the global Newsletter row.
 *
 * LOAD MORE: the row carries fm_load_more and the grid's Pagination stays
 * NUMBERS. The functions.php §07 script swaps the numbers for the # 59
 * button, which fetches /page/2/, /page/3/… of the main query — so each click
 * adds the next 12 (§17). Not PowerPack's own Load More: it re-runs the query
 * itself at its own page size and skips the main query's 12.
 *
 * REUSED, NOT REWRITTEN: the grid's width, edges and whole card come from
 * # 24 (More Like This), its count bar, gaps and numbered pagination from
 * # 28 (Author Archive — Stories), and its button from # 59. # 24 and # 28
 * carry fm_row_promotions_grid in their selectors. This block adds only
 * what Promotions does differently: the header band, the 16:9 crop and
 * the two-line excerpt.
 *
 * functions.php (§17) sets 12 promotions a page on the main query, so the
 * 3 / 2 / 1-column grid always ends on a full row.
 *
 * SHARED WITH LEGAL (# 72): every header rule, the cream band included, also
 * carries fm_row_legal_header.
 *
 * SHARED WITH SEARCH (# 63): the header rules and the two-line excerpt clamp
 * also carry fm_row_search_header / fm_row_search_grid. The 16:9 crop does
 * not — search keeps # 24's 4:3.
 *
 * SHARED WITH 404 (# 71): every header rule except the cream band also
 * carries fm_row_404_header. The 404 header sits on paper.
 */

/* Header */
/**
 * SPECIFICITY: PowerPack writes the title margin at
 *   div.fl-node-x .pp-heading-content .pp-heading:not(.pp-separator--inline)
 *   .heading-title
 * — (0,5,1). The title rule mirrors that shape one class deeper (0,6,0),
 * as the category header does (# 11), rather than using !important.
 * PowerPack zeroes the sub-heading's margin at (0,3,1), so the gap above
 * it is padding.
 *
 * LITERAL: 2rem title on phones — the design's 32px has no type token
 * (--jcd-text-h2 is 36px, --jcd-text-h1 48px). The heading block is capped
 * at 48rem and the sub-heading at 36rem, the design's measures.
 *
 * CONTRAST: the design sets the description at ink 55% — about 4.2:1 on
 * paper-alt, under AA for 18px regular text. It uses the category header's
 * ink 70% instead (7:1).
 */
:is(.fm_row_promotions_header, .fm_row_search_header, .fm_row_legal_header) {
  background-color: var(--jcd-color-paper-alt);
}

:is(.fm_row_promotions_header, .fm_row_search_header, .fm_row_404_header, .fm_row_legal_header) .fl-col[data-node] > .fl-col-content {
  padding: 0;
}

:is(.fm_row_promotions_header, .fm_row_search_header, .fm_row_404_header, .fm_row_legal_header) .fl-module[data-node] > .fl-module-content {
  margin-top: 0;
  margin-bottom: 0;
}

:is(.fm_row_promotions_header, .fm_row_search_header, .fm_row_404_header, .fm_row_legal_header) .jcd_ui_section_header {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

:is(.fm_row_promotions_header, .fm_row_search_header, .fm_row_404_header, .fm_row_legal_header) .jcd_ui_section_header .pp-heading-prefix {
  margin-bottom: var(--jcd-space-md);
  letter-spacing: var(--jcd-tracking-kicker);
}

:is(.fm_row_promotions_header, .fm_row_search_header, .fm_row_404_header, .fm_row_legal_header) .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
  margin: 0;
  font-size: var(--jcd-text-h1);
  line-height: 1.05;
  text-wrap: balance;
}

:is(.fm_row_promotions_header, .fm_row_search_header, .fm_row_404_header, .fm_row_legal_header) .jcd_ui_section_header .pp-primary-title {
  font-family: var(--jcd-font-serif);
  font-weight: var(--jcd-weight-regular);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--jcd-color-ink);
}

:is(.fm_row_promotions_header, .fm_row_search_header, .fm_row_404_header, .fm_row_legal_header) .jcd_ui_section_header .pp-sub-heading {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  padding-top: var(--jcd-space-lg);
}

/* No description in Posts → Categories: no empty gap under the title. */
:is(.fm_row_promotions_header, .fm_row_search_header, .fm_row_404_header, .fm_row_legal_header) .jcd_ui_section_header .pp-sub-heading:not(:has(p:not(:empty))) {
  display: none;
}

:is(.fm_row_promotions_header, .fm_row_search_header, .fm_row_404_header, .fm_row_legal_header) .jcd_ui_section_header .pp-sub-heading p {
  margin: 0;
  font-size: var(--jcd-text-lead);
  line-height: 1.625;
  color: color-mix(in srgb, var(--jcd-color-ink) 70%, transparent);
}

/* Grid card */
.fm_row_promotions_grid {
  --jcd-media-ratio: 16 / 9;
}

/**
 * Two lines, as designed. Excerpts are written by many hands; the clamp keeps
 * a long one from pushing its card's read link out of line with its row.
 */
:is(.fm_row_promotions_grid, .fm_row_search_grid) .pp-content-grid-post-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 992px) {
  :is(.fm_row_promotions_header, .fm_row_search_header, .fm_row_404_header, .fm_row_legal_header) .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
    font-size: var(--jcd-text-h2);
  }
}

@media (max-width: 768px) {
  :is(.fm_row_promotions_header, .fm_row_search_header, .fm_row_404_header, .fm_row_legal_header) .jcd_ui_section_header .pp-heading-content .pp-heading:not(.pp-separator--inline) .heading-title {
    font-size: 2rem;
  }

  :is(.fm_row_promotions_header, .fm_row_search_header, .fm_row_404_header, .fm_row_legal_header) .jcd_ui_section_header .pp-sub-heading p {
    font-size: var(--jcd-text-body);
  }
}


/* ==========================================================================
   # 63. SEARCH RESULTS (THEMER ARCHIVE: SEARCH RESULTS)
   ========================================================================== */

/**
 * Promotions' twin: the same cream header band, the same grid card and Load
 * More, then the global Newsletter row. Reused, not rewritten:
 *   header band, kicker, H1 sizes, count line  -> # 62 (header selectors)
 *   width, edges, card, 4:3 crop               -> # 24
 *   count bar, gaps, numbered pagination       -> # 28
 *   Load More button                           -> # 59
 *   two-line excerpt                           -> # 62
 * This block adds only what search has and Promotions doesn't: the refine
 * form, the no-results state, and the rules that hide the grid when nothing
 * matched.
 *
 * SHARED WITH 404 (# 71): the refine form and the section pills also carry
 * fm_row_404_header, so the 404 page uses the same field, button and pills.
 *
 * MARKUP: [fm_search_form] and [fm_search_empty] (functions.php §18), each in
 * a BB HTML module under the PP Smart Heading. functions.php adds
 * body.fm_search_no_results when the search found nothing.
 *
 * SPECIFICITY: the BB skin styles every input and button through
 * .fl-page input[type=…] / .fl-page button — up to (0,2,1). Form rules here
 * start at (0,3,0). The Search button is not jcd_ui_btn_pill for the same
 * reason the Load More button isn't (# 59): the kit pill's (0,1,0) loses to
 * the skin on a <button>. Its values are the pill's, mirrored.
 *
 * LITERALS: 48px field height, 12px gap in the form and between the
 * section pills, 36rem form and tips measure, 16px field text — 16px is the
 * size below which iOS zooms a focused field.
 *
 * BREAKPOINT: the one-line form uses min-width: 769px, one of three
 * min-width queries in the file (with # 02 and # 58). Listed as a code
 * issue in this pass, not changed.
 */

/* No results: no grid, no count line */
.fm_search_no_results .fm_row_search_grid,
.fm_search_no_results .fm_row_search_header .pp-sub-heading {
  display: none;
}

/**
 * BB's HTML module has no .fl-module-content wrapper, so its margin sits on
 * the module itself; # 62 zeroes only the wrapped form.
 */
:is(.fm_row_search_header, .fm_row_404_header) .fl-module[data-node]:not(:has(> .fl-module-content)) {
  margin-top: 0;
  margin-bottom: 0;
}

/* Refine form */
:is(.fm_row_search_header, .fm_row_404_header) .fm_search_form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 36rem;
  margin: var(--jcd-space-xl) auto 0;
}

:is(.fm_row_search_header, .fm_row_404_header) .fm_search_form .fm_search_form__input {
  flex: 1 1 auto;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 var(--jcd-space-md);
  border: 1px solid color-mix(in srgb, var(--jcd-color-ink) 20%, transparent);
  border-radius: var(--jcd-radius-none);
  background-color: var(--jcd-color-paper);
  box-shadow: none;
  font-family: var(--jcd-font-sans);
  font-size: 16px;
  color: var(--jcd-color-ink);
  transition: border-color var(--jcd-duration-base) ease-out;
}

/* The design's focus state: the border goes ink. */
:is(.fm_row_search_header, .fm_row_404_header) .fm_search_form .fm_search_form__input:focus {
  border-color: var(--jcd-color-ink);
  outline: none;
}

:is(.fm_row_search_header, .fm_row_404_header) .fm_search_form .fm_search_form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px; /* matches the field; over the 44px target */
  margin: 0;
  padding: 0 var(--jcd-space-xl);
  border: 1px solid var(--jcd-color-ink);
  border-radius: var(--jcd-radius-pill);
  background-color: var(--jcd-color-ink);
  box-shadow: none;
  color: var(--jcd-color-paper);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  line-height: 1;
  letter-spacing: var(--jcd-tracking-btn); /* the kit pill's tracking, not the design's */
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color var(--jcd-duration-base) ease-out,
    border-color var(--jcd-duration-base) ease-out,
    color var(--jcd-duration-base) ease-out;
}

:is(.fm_row_search_header, .fm_row_404_header) .fm_search_form .fm_search_form__submit:is(:hover, :focus, :focus-visible) {
  border-color: var(--jcd-color-accent);
  background-color: var(--jcd-color-accent);
  color: var(--jcd-color-cta-fg);
}

:is(.fm_row_search_header, .fm_row_404_header) .fm_search_form .fm_search_form__submit:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 3px;
}

/* The field's label: read, not shown. */
:is(.fm_row_search_header, .fm_row_404_header) .fm_search_form .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* No results: tips, "Browse a section", section pills */
:is(.fm_row_search_header, .fm_row_404_header) .fm_search_empty {
  max-width: 36rem;
  margin: var(--jcd-space-xl) auto 0;
  text-align: center;
}

:is(.fm_row_search_header, .fm_row_404_header) .fm_search_empty__tips {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--jcd-text-body);
  line-height: 1.6;
  color: color-mix(in srgb, var(--jcd-color-ink) 70%, transparent); /* as the header description */
}

:is(.fm_row_search_header, .fm_row_404_header) .fm_search_empty__tips li + li {
  margin-top: var(--jcd-space-sm);
}

/* The H2 is .fm_feed_section_heading (# 08); only its gap is set here. */
:is(.fm_row_search_header, .fm_row_404_header) .fm_search_empty .fm_feed_section_heading {
  margin: var(--jcd-space-xl) 0 0;
}

:is(.fm_row_search_header, .fm_row_404_header) .fm_search_sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: var(--jcd-space-lg) 0 0;
  padding: 0;
  list-style: none;
}

:is(.fm_row_search_header, .fm_row_404_header) .fm_search_sections li {
  margin: 0;
}

/* Outline pill, filling ink on hover — the kit's outline pill values. */
:is(.fm_row_search_header, .fm_row_404_header) .fm_search_sections a {
  display: inline-flex;
  align-items: center;
  min-height: 44px; /* WCAG 2.5.5 target */
  padding: 0 var(--jcd-space-lg);
  border: 1px solid var(--jcd-color-ink);
  border-radius: var(--jcd-radius-pill);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  line-height: 1;
  letter-spacing: var(--jcd-tracking-btn);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--jcd-color-ink);
  transition:
    background-color var(--jcd-duration-base) ease-out,
    color var(--jcd-duration-base) ease-out;
}

:is(.fm_row_search_header, .fm_row_404_header) .fm_search_sections a:is(:hover, :focus-visible) {
  background-color: var(--jcd-color-ink);
  color: var(--jcd-color-paper);
  text-decoration: none;
}

:is(.fm_row_search_header, .fm_row_404_header) .fm_search_sections a:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 3px;
}

/* Form on one line above 768px; stacked full width at 768 and below. */
@media (min-width: 769px) {
  :is(.fm_row_search_header, .fm_row_404_header) .fm_search_form {
    flex-direction: row;
  }

  :is(.fm_row_search_header, .fm_row_404_header) .fm_search_form .fm_search_form__submit {
    width: auto;
  }
}


/* --------------------------------------------------------------------------
   LOGIN PAGE ([wp] Login, /login/), placed inside # 63
   -------------------------------------------------------------------------- */

/**
 * Not part of # 63. The login page's rules sit between # 63 and # 64, and
 * moving them would change the order of the cascade.
 *
 * Normal WP page built in Beaver Builder; PowerPack's Custom Login Page
 * points wp-login.php here (setup in the build guide).
 * Source: Lovable src/routes/wp-login-custom.tsx
 *
 * SCOPE: BB Row class fm_row_login. No body class (BB has no field
 * for one); page-level rules use body:has(.fm_row_login).
 * Split: 45% ink brand panel / 55% paper-alt form panel.
 *
 * LITERALS: this block keeps the design's pixel sizes where no token fits
 * (logo, divider, gaps, form width, type sizes, the 80px phone bar) and
 * white and ink alphas with no token.
 */

/* --- Page chrome ----------------------------------------------------------- */
/**
 * Themer Header/Footer are excluded from this page in Themer > Location.
 * With them gone, the BB theme falls back to its own header, footer and
 * scroll-to-top. Hide those only on the page that carries this row.
 */
body:has(.fm_row_login) .fl-page-bar,
body:has(.fm_row_login) .fl-page-header,
body:has(.fm_row_login) .fl-page-header-wrap,
body:has(.fm_row_login) .fl-page-footer-wrap,
body:has(.fm_row_login) #fl-to-top {
  display: none !important; /* answers BB theme fixed-header JS */
}

/* --- Row: full bleed, full height ------------------------------------------ */
/**
 * Kit gives fixed-width rows a 24px gutter on .fl-row-content; zero it so
 * the panels touch both viewport edges even if Width is left at Fixed.
 */
.fm_row_login > .fl-row-content-wrap {
  padding: 0;
  background-color: var(--jcd-color-paper-alt);
}

.fm_row_login > .fl-row-content-wrap > .fl-row-content {
  max-width: none;
  padding: 0;
}

.fm_row_login .fl-col-group {
  display: flex;
  min-height: 100vh;
}

.fm_row_login .fl-col.fm_login_panel_left,
.fm_row_login .fl-col.fm_login_panel_right {
  display: flex;
  float: none;
}

.fm_row_login .fl-col.fm_login_panel_left  { width: 45%; }
.fm_row_login .fl-col.fm_login_panel_right { width: 55%; }

.fm_row_login .fm_login_panel_left > .fl-col-content,
.fm_row_login .fm_login_panel_right > .fl-col-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Modules stack tight; spacing below comes from the design, not BB. */
.fm_row_login .fl-module,
.fm_row_login .fl-module > .fl-module-content {
  margin: 0; /* (0,3,0) — BB node margin rules beat (0,2,0) */
}

/* --- Left: brand panel ---------------------------------------------------- */
.fm_row_login .fm_login_panel_left > .fl-col-content {
  position: relative;
  background-color: var(--jcd-color-ink);
  padding: var(--jcd-space-2xl) var(--jcd-space-lg);
  text-align: center;
}

/* Logo, 224px wide */
.fm_row_login .fm_login_logo img {
  display: block;
  width: 224px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Brand block */
.fm_row_login .fm_login_brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fm_row_login .fm_login_kicker {
  margin: var(--jcd-space-lg) 0 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-caption);
  font-weight: var(--jcd-weight-regular);
  text-transform: uppercase;
  letter-spacing: var(--jcd-tracking-kicker); /* 0.32em is retired sitewide — gate check 6 */
  color: rgba(255, 255, 255, 0.5);
}

.fm_row_login .fm_login_divider {
  display: block;
  width: 40px;
  height: 1px;
  margin: 32px 0;
  background-color: rgba(255, 255, 255, 0.15);
}

/* Rotating quote — CSS only, 3 quotes x 6s, 1s crossfade */
.fm_row_login .fm_login_quotes {
  position: relative;
  width: 100%;
  max-width: 260px;
  height: 112px;
}

.fm_row_login .fm_login_quote {
  position: absolute;
  inset: 0;
  margin: 0;
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-lead);
  font-style: italic;
  font-weight: var(--jcd-weight-regular);
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  opacity: 0;
  animation: fm_login_quote 18s linear infinite;
}

.fm_row_login .fm_login_quote:nth-child(1) { animation-delay: 0s; }
.fm_row_login .fm_login_quote:nth-child(2) { animation-delay: -12s; }
.fm_row_login .fm_login_quote:nth-child(3) { animation-delay: -6s; }

@keyframes fm_login_quote {
  0%    { opacity: 1; }
  27.8% { opacity: 1; } /* 5s  */
  33.3% { opacity: 0; } /* 6s  */
  94.4% { opacity: 0; } /* 17s */
  100%  { opacity: 1; } /* 18s */
}

@media (prefers-reduced-motion: reduce) {
  .fm_row_login .fm_login_quote { animation: none; }
  .fm_row_login .fm_login_quote:nth-child(1) { opacity: 1; }
}

/**
 * Legal line, pinned 32px from the bottom. The design's white at 30% is
 * 2.4:1; raised to inverse-muted for WCAG AA.
 */
.fm_row_login .fm_login_legal {
  position: absolute;
  right: 0;
  bottom: 32px;
  left: 0;
}

.fm_row_login .fm_login_legal p {
  margin: 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  color: var(--jcd-color-inverse-muted);
  text-align: center;
}

/* --- Right: form panel, every module capped at 380px and centered ---------- */
.fm_row_login .fm_login_panel_right > .fl-col-content {
  padding: var(--jcd-space-2xl) var(--jcd-space-lg);
  color: var(--jcd-color-ink);
}

.fm_row_login .fm_login_panel_right .fl-module {
  width: 100%;
  max-width: 380px;
}

/* Intro */
.fm_row_login .fm_login_intro {
  text-align: center;
}

.fm_row_login .fm_login_bar {
  display: block;
  width: 40px;
  height: 3px;
  margin: 0 auto 32px;
  background-color: var(--jcd-color-accent);
}

.fm_row_login .fm_login_title {
  margin: 0 0 var(--jcd-space-sm);
  font-family: var(--jcd-font-serif);
  font-size: 32px; /* design value, between h3 28 and h2 36 */
  font-weight: var(--jcd-weight-regular);
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  color: var(--jcd-color-ink);
}

.fm_row_login .fm_login_sub {
  margin: 0 0 var(--jcd-space-xl);
  font-family: var(--jcd-font-sans);
  font-size: 13px; /* design value */
  color: var(--jcd-color-muted);
}

/* --- PowerPack Login Form ------------------------------------------------- */
/**
 * Selectors carry .fm_login_form so they reach (0,4,0) and outrank any
 * PP node rules written from module Style settings.
 */
.fm_row_login .fm_login_form .pp-login-form-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 20px;
}

.fm_row_login .fm_login_form .pp-field-group {
  width: 100%;
  margin: 0;
}

/* Order: user, password, [Remember | Forgot], Sign In */
.fm_row_login .fm_login_form .pp-field-type-checkbox { order: 3; width: 50%; }
.fm_row_login .fm_login_form .pp-field-type-link     { order: 4; width: 50%; text-align: right; }
.fm_row_login .fm_login_form .pp-field-type-submit   { order: 5; }
.fm_row_login .fm_login_form .pp-login-form-extra:not(:has(*)) { display: none; }

/* Labels */
.fm_row_login .fm_login_form .pp-field-group > label {
  display: block;
  margin: 0 0 var(--jcd-space-sm);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-caption);
  font-weight: var(--jcd-weight-medium);
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  color: var(--jcd-color-ink);
}

/* Inputs */
.fm_row_login .fm_login_form .pp-login-form .pp-login-form--input {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0 12px;
  background-color: var(--jcd-color-paper);
  border: 1px solid var(--jcd-color-rule);
  border-radius: 2px;
  box-shadow: none;
  outline: none;
  font-family: var(--jcd-font-sans);
  font-size: 14px;
  color: var(--jcd-color-ink);
  transition: border-color var(--jcd-duration-base) ease-out;
}

.fm_row_login .fm_login_form .pp-login-form .pp-login-form--input::placeholder {
  color: rgba(12, 12, 13, 0.4);
}

/* Focus: border flips rule -> ink (design). Strong enough for WCAG 2.4.7. */
.fm_row_login .fm_login_form .pp-login-form .pp-login-form--input:focus {
  border-color: var(--jcd-color-ink);
}

/* Remember Me */
.fm_row_login .fm_login_form .pp-field-type-checkbox label {
  display: flex;
  align-items: center;
  gap: var(--jcd-space-sm);
  min-height: 44px;
  margin: 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-caption);
  font-weight: var(--jcd-weight-regular);
  color: var(--jcd-color-ink);
  cursor: pointer;
}

.fm_row_login .fm_login_form .pp-login-form--checkbox {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--jcd-color-ink);
}

/* Forgot password */
.fm_row_login .fm_login_form .pp-login-lost-password {
  font-family: var(--jcd-font-sans);
  font-size: 11px; /* design value */
  color: var(--jcd-color-muted);
  text-decoration: none;
  transition: color var(--jcd-duration-base) ease-out;
}

.fm_row_login .fm_login_form .pp-login-lost-password:hover {
  color: var(--jcd-color-accent);
}

/* Sign In — ink pill, flips to accent */
.fm_row_login .fm_login_form .pp-login-form .pp-login-form--button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 var(--jcd-space-lg);
  background-color: var(--jcd-color-ink);
  border: 0;
  border-radius: var(--jcd-radius-pill);
  box-shadow: none;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: var(--jcd-tracking-kicker); /* 0.22em */
  color: var(--jcd-color-paper);
  cursor: pointer;
  transition: background-color var(--jcd-duration-base) ease-in-out;
}

.fm_row_login .fm_login_form .pp-login-form .pp-login-form--button:hover {
  background-color: var(--jcd-color-accent);
}

/* Keyboard focus — every interactive element in the row */
.fm_row_login .fm_login_form .pp-login-form .pp-login-form--button:focus-visible,
.fm_row_login .fm_login_form .pp-login-form--checkbox:focus-visible,
.fm_row_login .fm_login_form .pp-lf-toggle-pw:focus-visible,
.fm_row_login .fm_login_form .pp-login-lost-password:focus-visible,
.fm_row_login .fm_login_help a:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 2px;
}

/* Help */
.fm_row_login .fm_login_rule {
  height: 0;
  margin: 32px 0;
  border: 0;
  border-top: 1px solid rgba(12, 12, 13, 0.08);
}

.fm_row_login .fm_login_help p {
  margin: 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-caption);
  color: var(--jcd-color-muted); /* design ink/45 raised to kit muted */
  text-align: center;
}

.fm_row_login .fm_login_help a {
  color: var(--jcd-color-accent);
  text-decoration: none;
}

.fm_row_login .fm_login_help a:hover {
  text-decoration: underline;
}

/* --- Mobile (<=768px): ink bar on top, form below ------------------------ */
@media (max-width: 768px) {
  .fm_row_login .fl-col-group {
    flex-direction: column;
  }

  .fm_row_login .fl-col.fm_login_panel_left,
  .fm_row_login .fl-col.fm_login_panel_right {
    width: 100% !important;     /* answers BB responsive stacking  */
    max-width: none !important; /* answers BB .fl-col-small 400px  */
  }

  /**
   * BB equal-heights gives each column flex:1 and a 100vh min-height;
   * the bar must opt out or it fills the whole first screen.
   */
  .fm_row_login .fl-col.fm_login_panel_left {
    flex: none;
  }

  .fm_row_login .fm_login_panel_left > .fl-col-content {
    flex: none;
    height: 80px;
    min-height: 0;
    padding: 0 var(--jcd-space-lg);
  }

  /* 144px wide, capped at 48px tall so the stacked logo still fits the 80px bar. */
  .fm_row_login .fm_login_logo img {
    width: auto;
    max-width: 144px;
    max-height: 48px;
  }

  .fm_row_login .fm_login_brand,
  .fm_row_login .fm_login_legal {
    display: none;
  }

  .fm_row_login .fm_login_panel_right > .fl-col-content {
    min-height: calc(100vh - 80px);
    padding: var(--jcd-space-2xl) var(--jcd-space-lg);
  }
}


/* ==========================================================================
   # 64. AD SLOTS — ADVANCED ADS
   ========================================================================== */

/**
 * Markup comes from fm_ad_slot() in functions.php (§19), through [fm_ad] in
 * BB modules and the §05 mid-article filter:
 *
 *   aside.fm_ad_slot.fm_ad_slot_{type}   [+ fm_ad_in_article in articles]
 *     div.{unit}                          fm_ad_billboard, _leaderboard_unit,
 *                                         _ingrid, _halfpage (# 04, # 16)
 *       p.fm_ad_label                     # 04
 *       div.fm_ad_creative                the Advanced Ads output
 *
 * RESERVED HEIGHT. Passive cache busting injects the creative after the
 * page paints, so each box holds its unit's height before the ad arrives —
 * no layout shift (Core Web Vitals CLS). The heights follow the size each
 * placement serves at each breakpoint (Advanced Ads browser-width
 * conditions use the same 1200 / 992 / 768 steps):
 *
 *   type         XL    L     M     S
 *   billboard    250   90    90    100
 *   leaderboard  90    90    90    100
 *   inarticle    90    250   90    250
 *   ingrid       250   250   250   250
 *   halfpage     600   600   600   250
 *
 * 90, 100, 250 and 600 are IAB unit heights, not spacing steps — literals,
 * like the 728 in # 15.
 *
 * KNOWN EDGE: Advanced Ads measures the window without its scrollbar, CSS
 * with it. On Windows, just above the 1200 breakpoint, a page can reserve the XL
 * height while the Large creative is served. Smaller-than-reserved never
 * overflows; test in DevTools device mode, where the scrollbar doesn't count.
 *
 * NEVER SCALE A CREATIVE. Ad networks prohibit altering them; the right
 * size per breakpoint comes from the group, not from CSS.
 */

.fm_ad_slot {
  display: block;
}

.fm_ad_creative {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

/* Advanced Ads' own wrapper and the AdButler iframe: no stray inline gap */
.fm_ad_creative iframe,
.fm_ad_creative img {
  display: block;
  max-width: none;
}

/**
 * Retina creatives display at their slot size. A house ad uploaded at 2x
 * (600x500 for a 300x250) carries the slot size in its width/height
 * attributes; the top billboard sits in the Themer header, where BB's
 * shrink rule (.fl-builder-content[data-shrink="1"] img { width: auto })
 * overrides those and the image ran at its full 2x width (2026-11-16).
 * This restores the unit width; height follows the image's own ratio.
 * Not scaling: the creative shows at exactly the size it was booked at.
 */
.fm_ad_slot .fm_ad_creative img[width="160"] { width: 160px; }
.fm_ad_slot .fm_ad_creative img[width="300"] { width: 300px; }
.fm_ad_slot .fm_ad_creative img[width="320"] { width: 320px; }
.fm_ad_slot .fm_ad_creative img[width="336"] { width: 336px; }
.fm_ad_slot .fm_ad_creative img[width="728"] { width: 728px; }
.fm_ad_slot .fm_ad_creative img[width="970"] { width: 970px; }

.fm_ad_slot_billboard .fm_ad_creative   { min-height: 250px; }
.fm_ad_slot_leaderboard .fm_ad_creative { min-height: 90px; }
.fm_ad_slot_inarticle .fm_ad_creative   { min-height: 90px; }
.fm_ad_slot_ingrid .fm_ad_creative      { min-height: 250px; }
.fm_ad_slot_halfpage .fm_ad_creative    { min-height: 600px; }

/**
 * Empty slot, empty row. fm_ad_slot() prints nothing when no ad qualifies
 * (the optional top billboard switched off, an expired campaign), so the
 * row would keep its band padding and borders around nothing. The editor
 * always shows the placeholder, so rows never vanish while building.
 */
:is(.fm_row_ad_billboard, .fm_row_ad_leaderboard, .fm_row_ad_archive):not(:has(.fm_ad_slot)) {
  display: none;
}

@media (max-width: 1200px) {
  .fm_ad_slot_billboard .fm_ad_creative { min-height: 90px; }

  /* Large: the 728 no longer clears the sticky rail — a 300x250 runs. */
  .fm_ad_slot_inarticle .fm_ad_creative { min-height: 250px; }
}

@media (max-width: 992px) {
  /* Medium: the stacked column has room for the centred 728 again (# 15). */
  .fm_ad_slot_inarticle .fm_ad_creative { min-height: 90px; }
}

@media (max-width: 768px) {
  .fm_ad_slot_billboard .fm_ad_creative,
  .fm_ad_slot_leaderboard .fm_ad_creative { min-height: 100px; }

  .fm_ad_slot_inarticle .fm_ad_creative,
  .fm_ad_slot_halfpage .fm_ad_creative    { min-height: 250px; }
}


/* ==========================================================================
   # 65. CATEGORY ARCHIVE — EXPLORE CHIPS + EYEBROW LINK
   ========================================================================== */

/**
 * The section's own navigation, printed by [fm_section_nav] (functions.php
 * §25) in a BB HTML module, fm_module_section_nav, under the heading in the
 * Category Header of every category Themer archive layout. One row only: an archive with children lists them ("All Travel", Big
 * Cities, Near & Far…); one without lists its siblings. The eyebrow above
 * the title is the way back up. The module hides itself when there is
 * nothing to list (Events, Promotions).
 *
 * The chips are the Curated Destinations pills (# 14) on a light ground:
 * same face, 12px semibold uppercase at the button tracking, 32px pill,
 * 1px border. The glass pill inverts to a paper fill on hover; here the
 * FILL is kept for the current page (ink, plus aria-current — colour is
 * never the only signal) and hover is the lighter step: an ink border on
 * the rule tint. Each link is a 44px row around its 32px chip, so the
 * target meets WCAG 2.5.5 while the chip matches the 32px pills.
 *
 * Below 768px the chips stay on one line and scroll sideways, edge to
 * edge; the cut-off chip shows there is more (the standard filter bar).
 */

.fm_module_section_nav[data-node],
.fm_module_section_nav[data-node] > .fl-module-content {
  margin: 0;
}

.fm_section_nav {
  margin-top: var(--jcd-space-lg);
  text-align: center;
}

/**
 * "Explore" — the kit kicker, muted so it sits under the accent eyebrow.
 * NOTE: muted is 4.35:1 on paper; see the 0.57 flag in _tokens.css.
 */
.fm_section_nav__label {
  margin: 0 0 var(--jcd-space-xs);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.3;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-muted);
}

.fm_section_nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: var(--jcd-space-sm);
  margin: 0;
  padding: 0;
  list-style: none;
}

.fm_section_nav__item {
  flex: none;
  margin: 0;
}

/* The 44px target. Its own outline is off; the ring draws on the chip. */
.fm_section_nav .fm_section_nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: var(--jcd-radius-pill);
  text-decoration: none;
  outline: none;
}

/* The chip: # 14's pill type, light ground */
.fm_section_nav .fm_section_nav__chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: var(--jcd-space-sm) var(--jcd-space-md);
  border: 1px solid color-mix(in srgb, var(--jcd-color-ink) 20%, transparent);
  border-radius: var(--jcd-radius-pill);
  background-color: transparent;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  line-height: 1;
  letter-spacing: var(--jcd-tracking-btn); /* the kit pill's tracking, as # 14 */
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--jcd-color-ink);
  transition:
    background-color var(--jcd-duration-base) ease-out,
    border-color var(--jcd-duration-base) ease-out,
    color var(--jcd-duration-base) ease-out;
}

.fm_section_nav .fm_section_nav__link:is(:hover, :focus-visible) .fm_section_nav__chip {
  border-color: var(--jcd-color-ink);
  background-color: var(--jcd-color-rule);
}

.fm_section_nav .fm_section_nav__link:focus-visible .fm_section_nav__chip {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 2px;
}

/* Current page: the filled chip. Listed after hover so it holds on hover. */
.fm_section_nav .fm_section_nav__link[aria-current="page"] .fm_section_nav__chip {
  border-color: var(--jcd-color-ink);
  background-color: var(--jcd-color-ink);
  color: var(--jcd-color-paper);
}

@media (max-width: 768px) {
  /**
   * Edge to edge: the list bleeds through the page inset and pads it
   * back, so the first chip lines up with the text and the last scrolls
   * to the screen edge. "safe center" centres the line while it fits and
   * starts it at the left once it overflows (flex-start where unsupported).
   */
  .fm_section_nav__list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    justify-content: safe center;
    margin-inline: calc(var(--jcd-page-inset) * -1);
    padding-inline: var(--jcd-page-inset);
    overflow-x: auto;
    scroll-padding-inline: var(--jcd-page-inset);
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .fm_section_nav__list::-webkit-scrollbar {
    display: none;
  }

  .fm_section_nav__item {
    scroll-snap-align: start;
  }

  /**
   * Set by the footer script in functions.php §25 when the line overflows:
   * the label moves left with the chips.
   */
  .fm_section_nav--scrolls .fm_section_nav__label {
    text-align: left;
  }
}

/**
 * The eyebrow's parent link ([fm_archive_eyebrow]): underlined on hover so
 * it reads as a link, not decoration. Colour comes from the kit.
 */
.section_is_category_header .pp-heading-prefix a:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ==========================================================================
   # 66. NEWSLETTER MODAL (THEMER PART: NEWSLETTER MODAL — MODULE U)
   ========================================================================== */

/**
 * PowerPack Modal Box, class fm_modal_newsletter, in the Themer Part
 * "Newsletter Modal". Its content is a saved row, fm_row_modal_newsletter,
 * with a media column (fm_modal_media) and a body column (fm_modal_body).
 *
 * SCOPE: PowerPack MOVES .pp-modal-wrap (#modal-{node}) out of the module to
 * the end of <body>, so nothing here can hang off .fm_modal_newsletter. The
 * dialog rules use
 *   .pp-modal-wrap:is(:has(.fm_row_modal_newsletter), #fm_modal_nl)
 * :has() finds this modal by its Saved Row, so it survives a rebuilt module
 * (new node ID). #fm_modal_nl never exists; it is only in :is() to lift the
 * selector to ID weight, so these rules beat PowerPack's generated
 * #modal-{node} CSS without !important.
 *
 * Opened by the Part's layout JS (desktop and tablet only, at 50% scroll,
 * once per 30 days, never after sign-up) through the hidden trigger button
 * .fm_nl_modal_open — PowerPack's own triggers cannot be kept off phones.
 *
 * The form reuses the /newsletter page's Gravity Forms styling (# 60): the
 * PowerPack Gravity Form module carries fm_module_nl_form, so fields, labels,
 * native checkboxes and errors are identical on both. Square field corners
 * follow that page, not the mockup's 6px, for one form language sitewide.
 *
 * LITERAL: the 32px headline; no type token sits between h3 (28px) and
 * h2 (36px). The success heading's 28px is --jcd-text-h3, not a literal.
 * The 41.6667% / 58.3333% columns are the design's 5 / 7 split.
 */

/**
 * Overlay: fullscreen, ink at 60%. Fixed to the viewport, not the wrap,
 * so it stays edge to edge while a tall dialog scrolls.
 */
.pp-modal-wrap:is(:has(.fm_row_modal_newsletter), #fm_modal_nl) .pp-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: color-mix(in srgb, var(--jcd-color-ink) 60%, transparent);
}

/**
 * Dialog. PowerPack sets the top offset inline; inline auto keeps it
 * centred once its 20px top and bottom margins are cleared.
 */
.pp-modal-wrap:is(:has(.fm_row_modal_newsletter), #fm_modal_nl) .pp-modal.layout-standard {
  max-width: calc(100vw - (var(--jcd-space-lg) * 2));
  margin-inline: auto;
  margin-block: 0;
  border: 0;
  border-radius: var(--jcd-radius-sm);
  background-color: var(--jcd-color-paper);
  box-shadow: 0 24px 48px var(--jcd-color-shadow);
  overflow: hidden;
}

.pp-modal-wrap:is(:has(.fm_row_modal_newsletter), #fm_modal_nl) .pp-modal .pp-modal-body,
.pp-modal-wrap:is(:has(.fm_row_modal_newsletter), #fm_modal_nl) .pp-modal .pp-modal-content,
.pp-modal-wrap:is(:has(.fm_row_modal_newsletter), #fm_modal_nl) .pp-modal .pp-modal-content-inner {
  padding: 0;
}

/* Saved Row — two columns, full height */
.fm_row_modal_newsletter > .fl-row-content-wrap {
  padding: 0;
}

.fm_row_modal_newsletter > .fl-row-content-wrap > .fl-row-content {
  max-width: none;
  padding: 0;
}

.fm_row_modal_newsletter .fl-col-group {
  display: flex;
}

.fm_row_modal_newsletter .fl-col.fm_modal_media { width: 41.6667%; }
.fm_row_modal_newsletter .fl-col.fm_modal_body  { width: 58.3333%; }

.fm_row_modal_newsletter .fl-col[data-node] > .fl-col-content {
  height: 100%;
  padding: 0;
}

.fm_row_modal_newsletter .fl-module[data-node],
.fm_row_modal_newsletter .fl-module[data-node] > .fl-module-content {
  margin: 0;
}

/**
 * Media column: the photo fills the column, cropped. Covers both the
 * PowerPack Image module (pp-photo-*) and the BB Photo module (fl-photo-*).
 */
.fm_row_modal_newsletter .fm_modal_media .fl-col-content {
  background-color: var(--jcd-color-rule);   /* while the image loads */
}

.fm_row_modal_newsletter .fm_modal_media :is(.fl-module, .fl-module-content, .pp-photo-container, .pp-photo, .pp-photo-content, .pp-photo-content-inner, .fl-photo, .fl-photo-content) {
  height: 100%;
}

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

/**
 * Content column. (0,5,0): must outrank the zeroed column padding above,
 * .fm_row_modal_newsletter .fl-col[data-node] > .fl-col-content (0,4,0).
 */
.fm_row_modal_newsletter .fl-col.fm_modal_body[data-node] > .fl-col-content {
  padding: var(--jcd-space-xl);
}

.fm_row_modal_newsletter .fm_modal_body .jcd_ui_section_header .pp-heading-content {
  text-align: left;
}

.fm_row_modal_newsletter .fm_modal_body .jcd_ui_section_header .pp-primary-title {
  font-family: var(--jcd-font-serif);
  font-size: 32px;                           /* design value */
  font-weight: var(--jcd-weight-regular);
  line-height: 1.2;
}

.fm_row_modal_newsletter .fm_modal_body .jcd_ui_section_header .pp-sub-heading,
.fm_row_modal_newsletter .fm_modal_body .jcd_ui_section_header .pp-sub-heading p {
  margin-top: var(--jcd-space-sm);
  margin-bottom: 0;
}

.fm_row_modal_newsletter .fm_modal_body .fm_module_nl_form {
  margin-top: var(--jcd-space-lg);
}

/**
 * Submit fills the column, as the design. The footer is a flex row, so
 * width alone is ignored — the button has to grow as a flex item.
 */
.fm_row_modal_newsletter .fm_module_nl_form .gform_footer button.gform_button {
  flex: 1 1 100%;
  width: 100%;
}

.fm_row_modal_newsletter .fm_modal_fineprint,
.fm_row_modal_newsletter .fm_modal_fineprint p {
  margin: var(--jcd-space-sm) 0 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-caption);
  color: var(--jcd-color-muted);
}

/* Success — the form's confirmation message */
.fm_modal_success__icon {
  display: block;
  width: 32px;
  height: 32px;
  color: var(--jcd-color-accent);
}

.fm_modal_success h2 {
  margin: var(--jcd-space-md) 0 var(--jcd-space-sm);
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-h3);             /* 28px */
  font-weight: var(--jcd-weight-regular);
}

.fm_modal_success p {
  margin: 0 0 var(--jcd-space-lg);
  color: var(--jcd-color-muted);
}

/* Close: 44px target, ink cross, no disc */
.pp-modal-wrap:is(:has(.fm_row_modal_newsletter), #fm_modal_nl) .pp-modal-close.box-top-right {
  top: var(--jcd-space-sm);
  right: var(--jcd-space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--jcd-radius-pill);
  background-color: transparent;
  cursor: pointer;
  transition: background-color var(--jcd-duration-base) ease-out;
}

/* The cross stays 20px inside the 44px target */
.pp-modal-wrap:is(:has(.fm_row_modal_newsletter), #fm_modal_nl) .pp-modal-close .bar-wrap {
  position: relative;
  width: 20px;
  height: 20px;
}

.pp-modal-wrap:is(:has(.fm_row_modal_newsletter), #fm_modal_nl) .pp-modal-close .bar-wrap span {
  background-color: var(--jcd-color-ink);
}

.pp-modal-wrap:is(:has(.fm_row_modal_newsletter), #fm_modal_nl) .pp-modal-close:is(:hover, :focus-visible) {
  background-color: var(--jcd-color-rule);
}

.pp-modal-wrap:is(:has(.fm_row_modal_newsletter), #fm_modal_nl) .pp-modal-close:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 2px;
}

/* The trigger the layout JS presses. Never shown. */
.fm_nl_modal_open {
  display: none;
}


/* ==========================================================================
   # 67. HEADER — SMALL PHONES: CENTRED LOGO, SUBSCRIBE IN THE PANEL
   ========================================================================== */

/**
 * At 544px and below the compact bar is hamburger + centred logo, and the
 * Subscribe pill moves into the off-canvas panel as a filled CTA. On a
 * 360px phone the bar could fit hamburger, logo and pill only by shrinking
 * the logo to 112px; centred alone it gets 180px.
 *
 * BREAKPOINT EXCEPTION: 544px is not a Beaver Builder breakpoint. Like
 * _navigation.css's 782px admin-bar query it is deliberate: it is where the
 * three-item bar stops fitting at a legible logo size, not a layout step.
 * BB has no setting at this width, so nothing in Global Settings can drift
 * from it. Do not normalise it to 768: tablets keep the header pill.
 *
 * Logo: centred on the bar, which is fixed and has equal side padding, so
 * bar centre = screen centre. Width leaves 90px each side: 24px inset, the
 * 44px hamburger and a 22px gap. These selectors repeat _navigation.css's
 * (0,5,0) width rule and load after it.
 *
 * Panel: the WordPress menu item "Subscribe" in the Off-Canvas menu carries
 * the CSS class fm_menu_subscribe (setup in the build guide). Above 544px
 * it stays a plain link.
 */
@media (max-width: 544px) {
  .jcd_ui_header_compact .jcd_ui_btn_pill[data-node] {
    display: none;
  }

  .jcd_ui_header_compact .jcd_ui_logo_secondary[data-node] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .jcd_ui_header_compact .jcd_ui_logo_secondary[data-node] .pp-photo-content .pp-photo-content-inner {
    width: clamp(112px, calc(100vw - 180px), 180px);
  }

  /* Subscribe as the kit's CTA pill: accent fill, 44px target */
  #off_canvas_menu .menu > li.fm_menu_subscribe > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: var(--jcd-space-sm) 0;
    padding: 0 var(--jcd-space-lg);
    border-radius: var(--jcd-radius-pill);
    background-color: var(--jcd-color-accent);
    transition: background-color var(--jcd-duration-base) ease-out;
  }

  #off_canvas_menu .menu > li.fm_menu_subscribe > a .menu-item-text {
    font-size: var(--jcd-text-btn);
    font-weight: var(--jcd-weight-semi);
    letter-spacing: var(--jcd-tracking-btn);
    color: var(--jcd-color-cta-fg);
  }

  #off_canvas_menu .menu > li.fm_menu_subscribe > a:is(:hover, :focus-visible) {
    background-color: var(--jcd-color-ink);
  }

  #off_canvas_menu .menu > li.fm_menu_subscribe > a:is(:hover, :focus-visible) .menu-item-text {
    color: var(--jcd-color-paper);
  }
}


/* ==========================================================================
   # 68. OFF-CANVAS SECTIONS ACCORDION
   ========================================================================== */

/**
 * PowerPack Advanced Menu, Accordion layout, class fm_offcanvas_sections,
 * menu "Off-Canvas Sections": the six sections, each opening to "All
 * <section>" and its sub-sections. Two levels; the archive chips (# 65)
 * cover the third.
 *
 * Hierarchy without new styles: the loud links above are crimson bold
 * uppercase (actions); sections are ink semibold (places); sub-sections
 * are regular weight on an indented rule. The current section and page
 * take the accent, as in #off_canvas_menu.
 *
 * PowerPack writes its look per node (.fl-node-… .pp-advanced-menu …,
 * up to 0,3,2): white arrows, centred text, crimson links. [data-node]
 * lifts every rule here above those, so the module's Style tab can stay
 * at its defaults.
 *
 * The toggle is PowerPack's own <button> with aria-expanded and
 * aria-controls, made a 44px target (WCAG 2.5.5); the chevron turns over
 * when its section is open. The section name stays a link to the archive.
 */

/**
 * Divider above, matching the About menu's .menu-section-divider in
 * _navigation.css: a 2px rule, then 24px to the first section. The panel's
 * 24px row-gap gives the space above it. Side margins stay BB's, so the
 * rule and the text line up with the menus around it.
 */
.fm_offcanvas_sections[data-node] > .fl-module-content {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: var(--jcd-space-lg);
  border-top: 2px solid var(--jcd-color-rule);
}

/* Responsive toggle is off; its hidden hamburger must not take focus */
.fm_offcanvas_sections[data-node] .pp-advanced-menu-mobile {
  display: none;
}

.fm_offcanvas_sections[data-node] .pp-advanced-menu .menu,
.fm_offcanvas_sections[data-node] .pp-advanced-menu .sub-menu {
  margin: 0;
  padding: 0;
  text-align: left;
}

.fm_offcanvas_sections[data-node] .pp-advanced-menu .menu > li {
  margin: 0;
  border: 0;
}

/* Section row: name left, toggle right */
.fm_offcanvas_sections[data-node] .pp-advanced-menu .pp-has-submenu-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--jcd-space-sm);
}

.fm_offcanvas_sections[data-node] .pp-advanced-menu .menu > li > a,
.fm_offcanvas_sections[data-node] .pp-advanced-menu .menu > li > .pp-has-submenu-container > a {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-height: 44px;
  padding: 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-body);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  color: var(--jcd-color-ink);
  transition: color var(--jcd-duration-base) ease-out;
}

/* Sub-sections: regular weight on an indented rule */
.fm_offcanvas_sections[data-node] .pp-advanced-menu .sub-menu {
  margin: 0 0 var(--jcd-space-sm);
  padding-left: var(--jcd-space-md);
  border-left: 1px solid var(--jcd-color-rule);
}

.fm_offcanvas_sections[data-node] .pp-advanced-menu .sub-menu > li > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-body);
  font-weight: var(--jcd-weight-regular);
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  color: var(--jcd-color-ink);
  background-color: transparent;
  transition: color var(--jcd-duration-base) ease-out;
}

.fm_offcanvas_sections[data-node] .pp-advanced-menu .menu-item-text {
  padding: 0;
  color: inherit;
}

/* Hover, and where you are */
.fm_offcanvas_sections[data-node] .pp-advanced-menu .menu a:is(:hover, :focus-visible),
.fm_offcanvas_sections[data-node] .pp-advanced-menu .menu > li:is(.current-menu-item, .current-menu-ancestor) > .pp-has-submenu-container > a,
.fm_offcanvas_sections[data-node] .pp-advanced-menu .menu > li.current-menu-item > a,
.fm_offcanvas_sections[data-node] .pp-advanced-menu .sub-menu > li.current-menu-item > a {
  color: var(--jcd-color-accent-text);
}

.fm_offcanvas_sections[data-node] .pp-advanced-menu .sub-menu > li.current-menu-item > a {
  font-weight: var(--jcd-weight-medium);
}

.fm_offcanvas_sections[data-node] .pp-advanced-menu .menu a:focus-visible,
.fm_offcanvas_sections[data-node] .pp-advanced-menu .pp-menu-toggle:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 2px;
  border-radius: var(--jcd-radius-sm);
}

/**
 * Toggle: a 44px button in the row (PowerPack parks a 23px one absolutely,
 * at .fl-node-… .pp-advanced-menu-accordion.pp-toggle-arrows, 0,4,0; the
 * extra .menu here outranks it). PowerPack turns the button over itself
 * when the section opens (.pp-active, rotate -180deg); only the timing is
 * set here. The -12px right margin puts the chevron's centre 10px in from
 * the text edge, so the arrows line up under the panel's right edge.
 */
.fm_offcanvas_sections[data-node] .pp-advanced-menu .menu .pp-menu-toggle {
  position: relative;
  top: auto;
  right: auto;
  flex: none;
  width: 44px;
  height: 44px;
  margin: 0 -12px 0 0;
  padding: 0;
  border-radius: var(--jcd-radius-sm);
  cursor: pointer;
  transition: transform var(--jcd-duration-base) var(--jcd-ease-out);
}

.fm_offcanvas_sections[data-node] .pp-advanced-menu .pp-menu-toggle::before {
  top: 50%;
  right: 50%;
  left: auto;
  width: 8px;
  height: 8px;
  margin: -6px -4px 0 0;   /* centres the rotated 8px box */
  border-style: solid;
  border-color: var(--jcd-color-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.fm_offcanvas_sections[data-node] .pp-advanced-menu .pp-menu-toggle:hover::before {
  border-color: var(--jcd-color-accent-text);
}


/* ==========================================================================
   # 69. OPEN — MODULE LIBRARY (SAVED ROWS "OPEN | 01" … "OPEN | 10")
   ========================================================================== */

/**
 * The saved rows an editor drops into an Open article: a Standard article
 * built in Beaver Builder, whose rows render inside the 680px article
 * column (# 47) beside the sticky rail. Approved in the Lovable "Open
 * Article Module Library" (2026-11-17). The sub-sections below follow the
 * row numbers 01 to 10; the class each row carries is in the build guide.
 * Every row but 01 carries fm_row_open.
 *
 * 05 and 06 ARE the Long Form rows 12 and 11 — same modules, same classes,
 * so # 40 (carousel) and # 39 (mosaic) draw them and the two can never
 * drift apart. Here they only lose the Long Form row padding, and the
 * mosaic's crops are set for the column.
 *
 * The starter's editor note uses # 46's fm_row_lf_note: shown in the
 * builder, never on the page.
 */

/* Every Open row: the column owns the measure, the row owns the rhythm. */
.fm_row_open > .fl-row-content-wrap {
  padding-top: var(--jcd-space-lg);
  padding-bottom: var(--jcd-space-lg);
}

.fm_row_open .fl-col[data-node] > .fl-col-content {
  padding: 0;
}

.fm_row_open .fl-module[data-node] > .fl-module-content,
.fm_row_open .fl-module[data-node]:not(:has(> .fl-module-content)) {
  margin: 0;
}

/* Captions under video, carousel and mosaic: the Long Form caption. */
.fm_row_open .fm_open_caption {
  margin: var(--jcd-space-md) 0 0;
  font-size: var(--jcd-text-caption);
  font-style: italic;
  line-height: 1.625;
  color: var(--jcd-color-muted);
  text-align: left;
}

@media (max-width: 768px) {
  .fm_row_open > .fl-row-content-wrap {
    padding-top: var(--jcd-space-md);
    padding-bottom: var(--jcd-space-md);
  }
}


/* --------------------------------------------------------------------------
   01 · Body Text — the Standard body (# 22) for builder rows
   -------------------------------------------------------------------------- */

/**
 * # 22 styles the Post Content module's direct children. In an Open
 * article those children are builder rows, so the paragraphs sit one level
 * deeper, inside each Rich Text module. The same rules, reached there.
 * Rows of the library (fm_row_open, fm_row_lf) keep their own type.
 */
.fm_module_article_content .fl-builder-content .fl-row:not(.fm_row_open, .fm_row_lf) .fl-rich-text > p {
  margin: 0 0 var(--jcd-space-lg);
}

.fm_module_article_content .fl-builder-content .fl-row:not(.fm_row_open, .fm_row_lf) .fl-rich-text > :last-child {
  margin-bottom: 0;
}

/* Lead: the first paragraph of the story's first text row. */
.fm_module_article_content .fl-builder-content > .fl-row:first-child:not(.fm_row_open, .fm_row_lf) .fl-rich-text > p:first-of-type,
.fm_module_article_content .fl-builder-content > .fm_row_lf_note:first-child + .fl-row:not(.fm_row_open, .fm_row_lf) .fl-rich-text > p:first-of-type {
  font-size: var(--jcd-text-h4);
  line-height: 1.5;
  color: color-mix(in srgb, var(--jcd-color-ink) 78%, transparent);
}

.fm_module_article_content .fl-builder-content .fl-row:not(.fm_row_open, .fm_row_lf) .fl-rich-text > :is(h2, h3) {
  margin: var(--jcd-space-2xl) 0 var(--jcd-space-lg);
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-h2);
  font-weight: var(--jcd-weight-regular);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--jcd-color-ink);
}

.fm_module_article_content .fl-builder-content .fl-row:not(.fm_row_open, .fm_row_lf) .fl-rich-text > :is(h2, h3):first-child {
  margin-top: 0;
}

.fm_module_article_content .fl-builder-content .fl-row:not(.fm_row_open, .fm_row_lf) .fl-rich-text > h4 {
  margin: var(--jcd-space-xl) 0 var(--jcd-space-md);
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-h4);
  font-weight: var(--jcd-weight-regular);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--jcd-color-ink);
}

.fm_module_article_content .fl-builder-content .fl-row:not(.fm_row_open, .fm_row_lf) .fl-rich-text > h6 {
  margin: var(--jcd-space-xl) 0 0;
  padding-top: var(--jcd-space-lg);
  border-top: 1px solid var(--jcd-color-rule);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-body);
  font-weight: var(--jcd-weight-regular);
  font-style: italic;
  line-height: 1.6;
  color: color-mix(in srgb, var(--jcd-color-ink) 70%, transparent);
}

.fm_module_article_content .fl-builder-content .fl-row:not(.fm_row_open, .fm_row_lf) .fl-rich-text > :is(ul, ol) {
  margin: 0 0 var(--jcd-space-lg);
  padding-left: 1.25em;
}

.fm_module_article_content .fl-builder-content .fl-row:not(.fm_row_open, .fm_row_lf) .fl-rich-text > :is(ul, ol) li {
  margin-bottom: var(--jcd-space-sm);
  padding-left: var(--jcd-space-xs);
}

.fm_module_article_content .fl-builder-content .fl-row:not(.fm_row_open, .fm_row_lf) .fl-rich-text > :is(ul, ol) li::marker {
  color: var(--jcd-color-accent-text);
}

@media (max-width: 768px) {
  .fm_module_article_content .fl-builder-content > .fl-row:first-child:not(.fm_row_open, .fm_row_lf) .fl-rich-text > p:first-of-type,
  .fm_module_article_content .fl-builder-content > .fm_row_lf_note:first-child + .fl-row:not(.fm_row_open, .fm_row_lf) .fl-rich-text > p:first-of-type {
    font-size: 1.25rem;
    line-height: 1.6;
  }

  .fm_module_article_content .fl-builder-content .fl-row:not(.fm_row_open, .fm_row_lf) .fl-rich-text > :is(h2, h3) {
    font-size: 1.875rem;
  }
}


/* --------------------------------------------------------------------------
   02 · 03 · Photo — Enlarge / Portrait
   -------------------------------------------------------------------------- */

/**
 * BB Photo, Link Type: Lightbox. # 22 already sets the photo to the column
 * width and styles the caption. Added here: the expand cue in the corner
 * (a 36px square, the 16px icon drawn with a mask so it takes the ink
 * token) and the zoom cursor. The cue is decoration: the link itself is the
 * control, and the photo's alt text names it.
 *
 * The mosaic (Open 06 and Long Form 11, both fm_row_lf_mosaic) opens the same
 * lightbox from every tile and shares the cue and cursor. Its link stays
 * inline: display: block there would break the large tile's height: 100%.
 */
.fm_row_open_photo .fl-photo-content,
.fm_row_lf_mosaic .fl-photo-content {
  position: relative;
}

.fm_row_open_photo .fl-photo-content > a {
  display: block;
  cursor: zoom-in;
}

.fm_row_lf_mosaic .fl-photo-content > a {
  cursor: zoom-in;
}

.fm_row_open_photo .fl-photo-content > a::before,
.fm_row_open_photo .fl-photo-content > a::after,
.fm_row_lf_mosaic .fl-photo-content > a::before,
.fm_row_lf_mosaic .fl-photo-content > a::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: var(--jcd-space-sm);
  bottom: var(--jcd-space-sm);
  width: 36px;
  height: 36px;
  pointer-events: none;
}

.fm_row_open_photo .fl-photo-content > a::before,
.fm_row_lf_mosaic .fl-photo-content > a::before {
  background-color: color-mix(in srgb, var(--jcd-color-paper) 90%, transparent);
  transition: background-color var(--jcd-duration-fast) ease-out;
}

.fm_row_open_photo .fl-photo-content > a::after,
.fm_row_lf_mosaic .fl-photo-content > a::after {
  background-color: var(--jcd-color-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}

.fm_row_open_photo .fl-photo-content > a:is(:hover, :focus-visible)::before,
.fm_row_lf_mosaic .fl-photo-content > a:is(:hover, :focus-visible)::before {
  background-color: var(--jcd-color-paper);
}

/**
 * 03: a portrait sits centred at 70% of the column; full width on phones.
 * The photo module is its own wrapper (no .fl-module-content), so the
 * "margin: 0" rules above and in # 47 reach it; these selectors outrank both.
 */
.fm_row_open_photo_portrait .fl-photo {
  width: 70%;
}

.fm_row_open.fm_row_open_photo_portrait .fl-module.fl-photo[data-node],
.fm_module_article_content .fl-builder-content .fm_row_open_photo_portrait .fl-module.fl-photo[data-node] {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .fm_row_open_photo_portrait .fl-photo {
    width: 100%;
  }
}

/**
 * The lightbox. Beaver Builder opens it with Magnific Popup, appended to
 * <body>, so these reach every BB photo lightbox on the site — there is no
 * row to scope them to. Ink backdrop at 92%; the image and caption are left
 * as Magnific draws them.
 */
.mfp-bg.mfp-ready {
  background-color: var(--jcd-color-ink);
  opacity: 0.92;
}


/* --------------------------------------------------------------------------
   04 · Video — PowerPack Video with an image overlay
   -------------------------------------------------------------------------- */

/**
 * The player loads only when the reader presses play: PowerPack keeps the
 * iframe's address in data-src until then. Play button: a 72px crimson
 * circle with a white triangle. scale (not transform) on hover, so
 * PowerPack's own centring transform is left alone.
 */
.fm_row_open_video .fl-module .pp-video-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: var(--jcd-radius-pill);
  background-color: var(--jcd-color-accent);
  transition: scale var(--jcd-duration-fast) ease-out;
}

.fm_row_open_video .fl-module .pp-video-play-icon svg {
  width: 24px;
  height: 24px;
  margin-left: var(--jcd-space-xs); /* optical centre of the triangle */
  fill: var(--jcd-color-cta-fg);
}

.fm_row_open_video .fl-module .pp-video-image-overlay:hover .pp-video-play-icon,
.fm_row_open_video .fl-module .pp-video-play-icon:focus-visible {
  scale: 1.05;
}

@media (prefers-reduced-motion: reduce) {
  .fm_row_open_video .fl-module .pp-video-play-icon {
    transition: none;
  }
}


/* --------------------------------------------------------------------------
   05 · 06 · Image Carousel and Mosaic Gallery (Long Form 12 and 11)
   -------------------------------------------------------------------------- */

/**
 * # 39 / # 40 pad these rows 3.5rem for Long Form; in the column they take
 * the Open rhythm above. (0,3,0) beats their (0,2,0).
 */
.fm_row_open.fm_row_lf > .fl-row-content-wrap {
  padding-top: var(--jcd-space-lg);
  padding-bottom: var(--jcd-space-lg);
}

/**
 * # 22 forces every photo in the article to its file's own shape
 * (height and aspect-ratio auto, !important, against the old editor's
 * inline sizes). The mosaic needs the opposite — two 4:3 crops beside a
 * photo that fills their height — so its photos answer with !important at
 * (0,6,0) over # 22's (0,4,2).
 */
.fm_module_article_content .fl-module-content .fm_row_open.fm_row_lf_mosaic .fl-module-photo .fl-photo-img {
  aspect-ratio: var(--fm-lf-ratio, 4 / 3) !important;
  object-fit: cover;
}

.fm_module_article_content .fl-module-content .fm_row_open.fm_row_lf_mosaic .fl-col-content > .fl-module:nth-child(1 of .fl-module) .fl-photo-img {
  height: 100% !important;
  aspect-ratio: auto !important;
}

@media (max-width: 768px) {
  .fm_row_open.fm_row_lf > .fl-row-content-wrap {
    padding-top: var(--jcd-space-md);
    padding-bottom: var(--jcd-space-md);
  }

  .fm_module_article_content .fl-module-content .fm_row_open.fm_row_lf_mosaic .fl-col-content > .fl-module:nth-child(1 of .fl-module) .fl-photo-img {
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
  }
}


/* --------------------------------------------------------------------------
   07 · Pull Quote
   -------------------------------------------------------------------------- */

/**
 * A figure, blockquote and figcaption in an HTML module (markup in the
 * build guide). The column is too narrow for Long Form's 11rem quotation
 * mark, so a 48px crimson rule sits above the quote instead. The
 * attribution's dash is added here; the editor types only the name.
 *
 * SPECIFICITY: # 22 styles every blockquote p and figcaption inside the
 * article at (0,3,1) and (0,3,0); these rules carry the same context.
 */
.fm_module_article_content .fl-module-content .fm_open_quote,
.fm_open_quote {
  margin: 0;
  text-align: center;
}

.fm_open_quote::before {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 0 auto var(--jcd-space-lg);
  background-color: var(--jcd-color-accent);
}

.fm_module_article_content .fl-module-content .fm_open_quote blockquote,
.fm_open_quote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
}

.fm_module_article_content .fl-module-content .fm_open_quote blockquote p,
.fm_open_quote blockquote p {
  margin: 0;
  font-family: var(--jcd-font-serif);
  font-size: 1.75rem;
  font-weight: var(--jcd-weight-regular);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--jcd-color-ink);
}

.fm_module_article_content .fl-module-content .fm_open_quote figcaption,
.fm_open_quote figcaption {
  margin: var(--jcd-space-lg) 0 0;
  font-size: var(--jcd-text-kicker);
  font-style: normal;
  font-weight: var(--jcd-weight-semi);
  line-height: 1.5;
  letter-spacing: var(--jcd-tracking-kicker);
  text-align: center;
  text-transform: uppercase;
  color: var(--jcd-color-muted);
}

.fm_open_quote figcaption::before {
  content: "— ";
}

@media (max-width: 768px) {
  .fm_module_article_content .fl-module-content .fm_open_quote blockquote p,
  .fm_open_quote blockquote p {
    font-size: 1.375rem;
  }
}


/* --------------------------------------------------------------------------
   08 · Print Issue — [fm_issue_card] (inc/fm-issue-card.php)
   -------------------------------------------------------------------------- */

/**
 * The Subscribe hero in miniature: cream panel, the cover printed with a
 * soft shadow, kicker, issue name, one line, two pills. 140px cover is a
 * design constant (120px on phones).
 */
.fm_issue_card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: center;
  gap: var(--jcd-space-lg);
  padding: var(--jcd-space-lg);
  border: 1px solid var(--jcd-color-rule);
  background-color: var(--jcd-color-paper-alt);
}

.fm_issue_card .fm_issue_card__cover {
  display: block;
  width: 140px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 8px 24px var(--jcd-color-shadow);
}

.fm_issue_card .fm_issue_card__kicker {
  margin: 0;
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.5;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-accent-text);
}

.fm_issue_card .fm_issue_card__title {
  margin: var(--jcd-space-sm) 0 0;
  font-family: var(--jcd-font-serif);
  font-size: 1.75rem;
  font-weight: var(--jcd-weight-regular);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--jcd-color-ink);
}

.fm_issue_card .fm_issue_card__text {
  margin: var(--jcd-space-sm) 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--jcd-color-muted);
}

.fm_issue_card .fm_issue_card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--jcd-space-sm);
  margin-top: var(--jcd-space-lg);
}

@media (max-width: 768px) {
  .fm_issue_card {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .fm_issue_card .fm_issue_card__cover {
    width: 120px;
  }

  .fm_issue_card .fm_issue_card__title {
    font-size: var(--jcd-text-h4);
  }

  .fm_issue_card .fm_issue_card__actions {
    flex-direction: column;
    width: 100%;
  }

  .fm_issue_card .fm_issue_card__actions > a {
    width: 100%;
    justify-content: center;
  }
}


/* --------------------------------------------------------------------------
   09 · Know Before You Go — any title, typed in a Rich Text module
   -------------------------------------------------------------------------- */

/**
 * The Quick Facts box (# 23), built from plain text so the editor can title
 * it anything ("If You Go", "Where to Eat") and add or remove rows:
 *
 *   first paragraph   the kicker            Know Before You Go
 *   H3                the heading           Bungalows Key Largo
 *   each paragraph    Bold label, Shift+Enter, value
 *   a paragraph that does not start with a bold label spans both columns
 *
 * The text module is the panel; its children are placed on the grid.
 */
.fm_row_open_details .fl-rich-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--jcd-space-md) var(--jcd-space-lg);
  padding: var(--jcd-space-xl);
  border-left: 2px solid var(--jcd-color-accent);
  background-color: color-mix(in srgb, var(--jcd-color-ink) 2%, var(--jcd-color-paper));
  font-size: 0.875rem;
  line-height: 1.625;
  color: color-mix(in srgb, var(--jcd-color-ink) 88%, transparent);
}

.fm_row_open_details .fl-rich-text > * {
  grid-column: 1 / -1;
  margin: 0;
}

.fm_row_open_details .fl-rich-text > p:first-child {
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.5;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-accent-text);
}

.fm_row_open_details .fl-rich-text > :is(h2, h3, h4) {
  margin: calc(var(--jcd-space-sm) - var(--jcd-space-md)) 0 var(--jcd-space-sm);
  font-family: var(--jcd-font-serif);
  font-size: 1.875rem;
  font-weight: var(--jcd-weight-regular);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--jcd-color-ink);
}

/* A label-and-value pair takes one column. */
.fm_row_open_details .fl-rich-text > p:not(:first-child):has(> strong:first-child) {
  grid-column: auto;
}

.fm_row_open_details .fl-rich-text > p > strong:first-child {
  display: block;
  margin-bottom: var(--jcd-space-xs);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  letter-spacing: var(--jcd-tracking-nav);
  text-transform: uppercase;
  color: var(--jcd-color-muted);
}

/* The line break typed after the label is redundant once it is a block. */
.fm_row_open_details .fl-rich-text > p > strong:first-child + br {
  display: none;
}

.fm_row_open_details .fl-rich-text a {
  color: var(--jcd-color-accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

@media (max-width: 768px) {
  .fm_row_open_details .fl-rich-text {
    grid-template-columns: minmax(0, 1fr);
    padding: var(--jcd-space-lg);
  }

  .fm_row_open_details .fl-rich-text > :is(h2, h3, h4) {
    font-size: var(--jcd-text-h4);
  }
}


/* ==========================================================================
   # 70. GIFT GUIDE (THEMER LAYOUT + SAVED ROWS "GIFT GUIDE | 01" … "06")
   ========================================================================== */

/**
 * Article Format "Gift Guide" (fm_article_format term 5745) loads the Themer
 * layout "Article | Single – Gift Guide" (24663): the Long Form hero (# 32,
 * same classes, no reading bar, text centred) over the post's own Beaver
 * Builder rows. The Top part (13203) is excluded; the Bottom part (13210)
 * still adds the author box and More Like This. Approved design: Lovable
 * "Concept A, The Editorial Catalog" (2026-11-17).
 *
 * Six saved rows, 01 to 06, each carrying fm_row_gg (the class list is in
 * the build guide). The starter's builder-only editor note is # 46's
 * fm_row_lf_note.
 *
 * THE EDITOR TYPES TEXT, THE CSS DOES THE DESIGN. Each copy column is one
 * Text module, styled by position so no class has to survive the editor:
 *   - a first paragraph followed by a heading is the kicker;
 *   - a list is the products: one bullet each, the product name linked to
 *     the shop, then the price in bold.
 *
 * THE STAMP is the Photo module's caption ("Orlando, FL"). Empty caption,
 * no stamp.
 *
 * NUMBERS AND SIDES are automatic. Gifts count 01, 02… down the page with a
 * CSS counter; every second gift swaps sides and sits on cream. Add, delete
 * or reorder a gift and the rest renumber themselves.
 *
 * LITERAL: the 96px stamp, the one design size with no token.
 */

/**
 * The layout's Post Content row runs edge to edge, so each gift row's cream
 * band reaches both sides of the screen. Only the layout's own column and
 * module are zeroed (child combinators); rows inside keep their own rules.
 */
.fm_row_gg_body > .fl-row-content-wrap > .fl-row-content > .fl-col-group > .fl-col > .fl-col-content {
  padding: 0;
}

.fm_row_gg_body > .fl-row-content-wrap > .fl-row-content > .fl-col-group > .fl-col > .fl-col-content > .fl-module-fl-post-content > .fl-module-content {
  margin: 0;
}

/* Every Gift Guide row: the row owns the rhythm, the column the measure. */
.fm_row_gg > .fl-row-content-wrap {
  padding-top: var(--jcd-band-lg);
  padding-bottom: var(--jcd-band-lg);
}

.fm_row_gg .fl-col[data-node] > .fl-col-content {
  padding: 0;
}

.fm_row_gg .fl-module[data-node] > .fl-module-content,
.fm_row_gg .fl-module[data-node]:not(:has(> .fl-module-content)) {
  margin: 0;
}

.fm_row_gg .fl-rich-text > * {
  margin: 0;
}

.fm_row_gg .fl-rich-text > * + * {
  margin-top: var(--jcd-space-md);
}

.fm_row_gg .fl-rich-text > :is(h2, h3) {
  font-family: var(--jcd-font-serif);
  font-weight: var(--jcd-weight-regular);
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  color: var(--jcd-color-ink);
}

.fm_row_gg .fl-rich-text > h2 { font-size: var(--jcd-text-h2); }
.fm_row_gg .fl-rich-text > h3 { font-size: var(--jcd-text-h3); }

/* Kicker: a first paragraph followed by a heading. */
.fm_row_gg .fl-rich-text > p:first-child:has(+ :is(h2, h3)) {
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.6;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-accent-text);
}

.fm_row_gg .fl-rich-text > p:first-child + :is(h2, h3) {
  margin-top: var(--jcd-space-sm);
}

/**
 * Links that leave the site get an arrow. The second declaration names it
 * for screen readers; browsers without alt-text content keep the first.
 */
.fm_row_gg .fl-rich-text a[target="_blank"]::after {
  content: "\00a0\2197";
  content: "\00a0\2197" / " (opens in a new tab)";
  text-decoration: none;
}

.fm_row_gg a:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 3px;
}


/* --- Hero: text centred in the frame ------------------------------------- */

/**
 * The Long Form hero (# 32) with one change: the text sits in the middle,
 * not over the bottom third. Gift Guide heroes are stock still lifes with
 * an empty centre (2,400 x 1,600), so the scrim darkens the centre behind
 * the text and leaves the frame bright.
 */
.fm_row_gg_hero .fm_module_gg_hero {
  justify-content: center;
  padding: var(--jcd-space-3xl) var(--jcd-page-inset);
}

.fm_row_gg_hero .fm_module_gg_hero .fm_module_lf_hero__media::after {
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--jcd-color-ink) 45%, transparent),
    color-mix(in srgb, var(--jcd-color-ink) 10%, transparent) 70%
  );
}

.fm_row_gg_hero .fm_module_gg_hero .fm_module_lf_hero__content {
  max-width: 48rem;
}

@media (max-width: 768px) {
  .fm_row_gg_hero .fm_module_gg_hero {
    padding-top: var(--jcd-space-2xl);
    padding-bottom: var(--jcd-space-2xl);
  }
}


/* --- 01 Intro ------------------------------------------------------------ */

/* The measure sits on the column: the module itself is zeroed above. */
.fm_row_gg_intro .fl-col[data-node] > .fl-col-content {
  max-width: var(--jcd-width-article);
  margin: 0 auto;
}

.fm_row_gg_intro .fl-rich-text {
  text-align: center;
}

.fm_row_gg_intro .fl-rich-text > h2 {
  font-style: italic;
}

.fm_row_gg_intro .fl-rich-text > p:not(:first-child:has(+ :is(h2, h3))) {
  font-size: var(--jcd-text-lead);
  line-height: 1.65;
  color: color-mix(in srgb, var(--jcd-color-ink) 78%, transparent);
}


/* --- 02 Gift: split row -------------------------------------------------- */

/**
 * Build the PHOTO column first. Every second gift (counted among gift rows
 * only, so a note or ad between them changes nothing) shows the photo on
 * the right, on cream. Phones always show the photo first.
 */

.fm_row_gg_body {
  counter-reset: fm-gg-item;
}

.fm_row_gg_item_split {
  counter-increment: fm-gg-item;
}

.fm_row_gg_item_split > .fl-row-content-wrap {
  border-bottom: 1px solid var(--jcd-color-rule);
}

/**
 * Band colors are wrapped in :where() so they weigh less than Beaver
 * Builder's own row background (.fl-node-… > .fl-row-content-wrap). A
 * color set in Row Settings → Style → Background always wins.
 */
:where(.fm_row_gg_item_split:nth-child(even of .fm_row_gg_item_split)) > .fl-row-content-wrap {
  background-color: var(--jcd-color-paper-alt);
}

.fm_row_gg_item_split .fl-col-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  column-gap: var(--jcd-space-3xl);
}

.fm_row_gg_item_split .fl-col-group::before,
.fm_row_gg_item_split .fl-col-group::after,
.fm_row_gg_grid .fl-col-group::before,
.fm_row_gg_grid .fl-col-group::after {
  display: none;
}

.fm_row_gg_item_split .fl-col-group > .fl-col,
.fm_row_gg_grid .fl-col-group > .fl-col {
  width: auto;
  min-width: 0; /* not 100%: Safari breaks (# 29) */
  float: none;
}

.fm_row_gg_item_split:nth-child(even of .fm_row_gg_item_split) .fl-col-group > .fl-col:nth-child(1 of .fl-col) {
  grid-column: 2;
  grid-row: 1;
}

.fm_row_gg_item_split:nth-child(even of .fm_row_gg_item_split) .fl-col-group > .fl-col:nth-child(2 of .fl-col) {
  grid-column: 1;
  grid-row: 1;
}

/* The number, 01 to 99, over the copy. Decorative: silent where supported. */
.fm_row_gg_item_split .fl-col:nth-child(2 of .fl-col) .fl-rich-text::before {
  content: counter(fm-gg-item, decimal-leading-zero);
  content: counter(fm-gg-item, decimal-leading-zero) / "";
  display: block;
  margin-bottom: var(--jcd-space-md);
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-display);
  line-height: 1;
  color: var(--jcd-color-muted);
}

/* The story. Ink at 78%, not muted: muted fails AA on cream (4.27:1). */
:is(.fm_row_gg_item_split, .fm_row_gg_grid) .fl-rich-text > p {
  font-size: var(--jcd-text-body);
  line-height: 1.65;
  color: color-mix(in srgb, var(--jcd-color-ink) 78%, transparent);
}

/* Products: name (the link), then the price in bold, one per line. */
:is(.fm_row_gg_item_split, .fm_row_gg_grid) .fl-rich-text > ul {
  display: flex;
  flex-direction: column;
  gap: var(--jcd-space-md);
  margin-top: var(--jcd-space-lg);
  padding: var(--jcd-space-lg) 0 0;
  border-top: 1px solid var(--jcd-color-rule);
  list-style: none;
}

:is(.fm_row_gg_item_split, .fm_row_gg_grid) .fl-rich-text > ul > li {
  margin: 0;
  padding: 0;
  font-size: var(--jcd-text-body);
  line-height: 1.5;
  color: var(--jcd-color-ink);
}

:is(.fm_row_gg_item_split, .fm_row_gg_grid) .fl-rich-text > ul > li::before,
:is(.fm_row_gg_item_split, .fm_row_gg_grid) .fl-rich-text > ul > li::marker {
  content: none;
}

:is(.fm_row_gg_item_split, .fm_row_gg_grid) .fl-rich-text > ul :is(strong, b) {
  display: block;
  margin-top: var(--jcd-space-xs);
  font-weight: var(--jcd-weight-semi);
}

/**
 * The product name IS the shop link (no separate "Shop" line, 2026-11-17).
 * Styled like the Subscribe page's "Send a Gift Subscription →" (# 61 §3):
 * uppercase button type, the same → and the same nudge right on hover,
 * here in --jcd-color-accent-text. Inline-block so the nudge can move it.
 */
:is(.fm_row_gg_item_split, .fm_row_gg_grid) .fl-rich-text > ul a {
  display: inline-block;
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.4;
  letter-spacing: var(--jcd-tracking-btn);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--jcd-color-accent-text);
  transition: transform var(--jcd-duration-base) ease-out;
  /* A taller tap target (33px, over WCAG's 24) without moving the layout. */
  padding-block: var(--jcd-space-sm);
  margin-block: calc(var(--jcd-space-sm) * -1);
}

:is(.fm_row_gg_item_split, .fm_row_gg_grid) .fl-rich-text > ul a[target="_blank"]::after {
  content: "\00a0\2192";
  content: "\00a0\2192" / " (opens in a new tab)";
}

:is(.fm_row_gg_item_split, .fm_row_gg_grid) .fl-rich-text > ul a:is(:hover, :focus-visible) {
  transform: translateX(var(--jcd-space-xs));
  color: var(--jcd-color-accent-text);
}


/* --- The product tile and its stamp (02 and 06) -------------------------- */

/**
 * A square, the product contained inside it, on the row's own ground (no
 * white box on cream); a product shot of any shape still fits (upload size
 * in the build guide). The whole tile links to the shop when the Photo
 * module has a link.
 */
:is(.fm_row_gg_item_split, .fm_row_gg_grid) .fl-photo {
  position: relative;
  display: block;
  width: 100%;
}

:is(.fm_row_gg_item_split, .fm_row_gg_grid) .fl-photo-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  padding: var(--jcd-space-xl);
  background-color: transparent; /* no white box on cream (client, 2026-11-17) */
}

:is(.fm_row_gg_item_split, .fm_row_gg_grid) .fl-photo-content > a {
  display: block;
  width: 100%;
  height: 100%;
}

:is(.fm_row_gg_item_split, .fm_row_gg_grid) .fl-photo-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

/**
 * No hover motion on the tile (2026-11-17): a scale made the photo jump and
 * shifted the stamp. The link still takes the focus ring above.
 */

/* The stamp: the photo's caption, set as a tilted round postmark. */
:is(.fm_row_gg_item_split, .fm_row_gg_grid) .fl-photo-caption {
  position: absolute;
  top: var(--jcd-space-md);
  right: var(--jcd-space-md);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: 0;
  padding: var(--jcd-space-sm);
  border: 1px solid var(--jcd-color-accent);
  border-radius: var(--jcd-radius-pill);
  background-color: var(--jcd-color-paper);
  transform: rotate(8deg);
  font-size: var(--jcd-text-kicker);
  font-style: normal;
  font-weight: var(--jcd-weight-semi);
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--jcd-color-accent-text);
  pointer-events: none;
}

/**
 * A gift with no photo yet keeps its square, so the grid stays even. A
 * hairline outline rather than a fill, so it reads on white or cream.
 */
.fm_row_gg_grid .fl-col-group:has(> .fl-col:nth-child(2 of .fl-col)) > .fl-col:not(:has(.fl-photo)) > .fl-col-content::before {
  content: "";
  display: block;
  aspect-ratio: 1;
  margin-bottom: var(--jcd-space-lg);
  border: 1px solid var(--jcd-color-rule);
}


/* --- 03 Editor's Note ---------------------------------------------------- */

.fm_row_gg_editors_note .fl-col[data-node] > .fl-col-content {
  max-width: var(--jcd-width-narrow);
  margin: 0 auto;
}

.fm_row_gg_editors_note .fl-rich-text {
  padding: var(--jcd-space-2xl) 0;
  border-top: 1px solid var(--jcd-color-rule);
  border-bottom: 1px solid var(--jcd-color-rule);
  text-align: center;
}

.fm_row_gg_editors_note .fl-rich-text > p:first-child {
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.6;
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-accent-text);
}

.fm_row_gg_editors_note .fl-rich-text > blockquote {
  margin: var(--jcd-space-lg) 0 0;
  padding: 0;
  border: 0;
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-h2);
  font-style: italic;
  line-height: 1.4;
  color: var(--jcd-color-ink);
}

.fm_row_gg_editors_note .fl-rich-text > blockquote > p {
  margin: 0;
  font: inherit;
  color: inherit;
}

.fm_row_gg_editors_note .fl-rich-text > blockquote + p {
  margin-top: var(--jcd-space-lg);
  font-size: var(--jcd-text-caption);
  color: var(--jcd-color-muted);
}


/* --- 04 Give Flamingo: the gift subscription band ------------------------ */

/**
 * One soft action beside the direct product links. Ink band, pink kicker,
 * serif line, and the last paragraph's link drawn as a white pill.
 */
.fm_row_gg_subscribe_cta > .fl-row-content-wrap {
  padding-top: var(--jcd-band-md);
  padding-bottom: var(--jcd-band-md);
  background-color: var(--jcd-color-ink);
}

.fm_row_gg_subscribe_cta .fl-col[data-node] > .fl-col-content {
  max-width: var(--jcd-width-narrow);
  margin: 0 auto;
}

.fm_row_gg_subscribe_cta .fl-rich-text {
  text-align: center;
  color: var(--jcd-color-paper);
}

.fm_row_gg_subscribe_cta .fl-rich-text > * + * {
  margin-top: var(--jcd-space-lg);
}

.fm_row_gg_subscribe_cta .fl-rich-text > p:first-child:has(+ :is(h2, h3)) {
  color: var(--jcd-color-inverse-accent);
}

.fm_row_gg_subscribe_cta .fl-rich-text > p:first-child + :is(h2, h3) {
  margin-top: var(--jcd-space-sm);
}

.fm_row_gg_subscribe_cta .fl-rich-text > :is(h2, h3) {
  color: var(--jcd-color-paper);
}

.fm_row_gg_subscribe_cta .fl-rich-text > p:last-child:not(:first-child) > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: var(--jcd-space-md) var(--jcd-space-xl);
  border-radius: var(--jcd-radius-pill);
  background-color: var(--jcd-color-paper);
  font-size: var(--jcd-text-btn);
  font-weight: var(--jcd-weight-semi);
  letter-spacing: var(--jcd-tracking-btn);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--jcd-color-ink);
  transition: background-color var(--jcd-duration-fast) var(--jcd-ease), color var(--jcd-duration-fast) var(--jcd-ease);
}

.fm_row_gg_subscribe_cta .fl-rich-text > p:last-child:not(:first-child) > a:hover {
  background-color: var(--jcd-color-accent);
  color: var(--jcd-color-cta-fg);
}

.fm_row_gg_subscribe_cta .fl-rich-text a:focus-visible {
  outline-color: var(--jcd-color-inverse-accent);
}


/* --- 05 Ad --------------------------------------------------------------- */

.fm_row_gg_ad > .fl-row-content-wrap {
  padding-top: var(--jcd-band-md);
  padding-bottom: var(--jcd-band-md);
}

.fm_row_gg_ad .fl-col-content {
  display: flex;
  justify-content: center;
}


/* --- 06 Small Gifts Grid (Stocking Stuffers) ----------------------------- */

/**
 * Two column groups in one cream row: a one-column opener (kicker, h2, a
 * line), then any number of gift cards, three across. Add a gift by
 * duplicating a card column; the grid wraps it.
 */

/**
 * Cream by default. Straight after a cream gift (an even-numbered one) it
 * turns white so the two bands don't run together. Either way, a color
 * set in the row's Beaver Builder settings wins (see :where() above).
 */
:where(.fm_row_gg_grid) > .fl-row-content-wrap {
  background-color: var(--jcd-color-paper-alt);
}

:where(.fm_row_gg_item_split:nth-child(even of .fm_row_gg_item_split) + .fm_row_gg_grid) > .fl-row-content-wrap {
  background-color: var(--jcd-color-paper);
}

.fm_row_gg_grid .fl-col-group:not(:has(> .fl-col:nth-child(2 of .fl-col))) {
  max-width: var(--jcd-width-article);
  margin-bottom: var(--jcd-space-xl);
}

.fm_row_gg_grid .fl-col-group:has(> .fl-col:nth-child(2 of .fl-col)) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: var(--jcd-space-2xl) var(--jcd-space-xl);
}

.fm_row_gg_grid .fl-col-group:has(> .fl-col:nth-child(2 of .fl-col)) .fl-photo {
  margin-bottom: var(--jcd-space-lg);
}

.fm_row_gg_grid .fl-col-group:has(> .fl-col:nth-child(2 of .fl-col)) .fl-photo-content {
  padding: var(--jcd-space-lg);
}

.fm_row_gg_grid .fl-col-group:has(> .fl-col:nth-child(2 of .fl-col)) .fl-rich-text > h3 {
  font-size: var(--jcd-text-h4);
}


/* --- Breakpoints --------------------------------------------------------- */

@media (max-width: 1200px) {
  .fm_row_gg_item_split .fl-col-group {
    column-gap: var(--jcd-space-2xl);
  }
}

@media (max-width: 992px) {
  .fm_row_gg_item_split .fl-col-group {
    column-gap: var(--jcd-space-xl);
  }

  .fm_row_gg_grid .fl-col-group:has(> .fl-col:nth-child(2 of .fl-col)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .fm_row_gg .fl-rich-text > h2 { font-size: var(--jcd-text-h3); }
  .fm_row_gg .fl-rich-text > h3 { font-size: var(--jcd-text-h4); }

  .fm_row_gg_item_split .fl-col-group,
  .fm_row_gg_grid .fl-col-group:has(> .fl-col:nth-child(2 of .fl-col)) {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--jcd-space-xl);
  }

  /* Photo first on phones, whichever side it takes on desktop. */
  .fm_row_gg_item_split:nth-child(even of .fm_row_gg_item_split) .fl-col-group > .fl-col:nth-child(1 of .fl-col),
  .fm_row_gg_item_split:nth-child(even of .fm_row_gg_item_split) .fl-col-group > .fl-col:nth-child(2 of .fl-col) {
    grid-column: 1;
    grid-row: auto;
  }

  .fm_row_gg_item_split .fl-col:nth-child(2 of .fl-col) .fl-rich-text::before {
    font-size: var(--jcd-text-h1);
  }

  :is(.fm_row_gg_item_split, .fm_row_gg_grid) .fl-photo-content {
    padding: var(--jcd-space-lg);
  }

  .fm_row_gg_editors_note .fl-rich-text {
    padding: var(--jcd-space-xl) 0;
  }

  .fm_row_gg_editors_note .fl-rich-text > blockquote {
    font-size: var(--jcd-text-h3);
  }

  .fm_row_gg_subscribe_cta .fl-rich-text > p:last-child:not(:first-child) > a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.fm_row_gg_item_split, .fm_row_gg_grid) .fl-rich-text > ul a {
    transition: none;
  }
}


/* ==========================================================================
   # 71. 404 PAGE (THEMER LAYOUT: PAGE NOT FOUND | 404)
   ========================================================================== */

/**
 * Lovable /404. Two rows, both built from parts that already exist (the
 * module recipe is in the build guide): fm_row_404_header, the search
 * header's heading, form and section pills; and fm_row_404_feed, a copy of
 * the homepage Just In row.
 *
 * REUSED, NOT REWRITTEN: heading sizes, kicker and dek come from # 62, and
 * the field, Search pill and outline section pills from # 63. Both carry
 * fm_row_404_header in their selectors. # 62's cream background does not:
 * the 404 header sits on paper, as the design.
 *
 * This block adds only what the 404 does differently: the pills on one line
 * at desktop, and the centred "Back to the homepage" link (kit
 * jcd_ui_read_link) under the grid.
 *
 * LITERAL: the 56rem pill measure, wide enough for six pills on one line.
 */

/* Six section pills fit one line at desktop (search keeps 36rem). */
.fm_row_404_header .fm_search_empty {
  max-width: 56rem;
}

/**
 * BB's HTML module has no .fl-module-content wrapper, so the gap above the
 * link is padding: BB's own per-node margin rule stays untouched.
 */
.fm_row_404_feed .fm_module_404_home {
  padding-top: var(--jcd-space-2xl);
  text-align: center;
}


/* ==========================================================================
   # 72. LEGAL PAGES (PRIVACY POLICY, TERMS, COOKIE POLICY, DISCLAIMER)
   ========================================================================== */

/**
 * Lovable /privacy-policy. One layout on four pages, two rows (the module
 * recipe is in the build guide): fm_row_legal_header on the cream band, and
 * fm_row_legal_body with a rail column (fm_legal_rail_col: the legal nav
 * and the "Questions?" block) and a policy column (fm_legal_main_col: the
 * Termageddon embed and the "Questions?" block shown at 992 and below).
 *
 * REUSED, NOT REWRITTEN: the header band, kicker, H1 sizes and dek come from
 * # 62, which carries fm_row_legal_header in its selectors (cream band
 * included). The nav pills at 992 and below use # 63's outline pill values.
 *
 * THE NAV IS FOUR LINKS, NOT A TABLE OF CONTENTS. It does not read the
 * embed, so it works whatever Termageddon injects. Each page's nav module
 * carries its own aria-current="page"; there is no script.
 *
 * THE EMBED HAS NO CLASSES WE CONTROL. Termageddon injects plain h2 / h3 / p
 * / ul / table markup into its own div (policy_embed_div), so every content
 * rule is a descendant of the HTML module. The class and the ID sit on the
 * module (Advanced), so pasting a new embed code over the module's HTML
 * can't remove them.
 *
 * WHY THE ID: Termageddon always injects a reset scoped to an ID, even with
 * its Embedded CSS off. A class selector can't outrank an ID, so every
 * content rule starts #fm_legal_policy.fm_module_legal_content (the
 * module's ID plus its class) and wins without !important. With the reset
 * answered, these rules are the only styling.
 *
 * WHY A GRID: as # 21, BB floats its columns and a sticky rail needs a
 * container as tall as the policy. Every rule targets the row's OWN column
 * group by its exact path. The column rule, (0,5,0), beats BB's per-node
 * width rule (0,1,0).
 *
 * LITERAL: 260px rail, from the design; 1100px layout cap; 12px gap between
 * the pills at 992 and below; 32px, the WordPress admin bar's height above
 * 782px.
 */

/* Body row: rail + policy */
.fm_row_legal_body > .fl-row-content-wrap > .fl-row-content > .fl-col-group {
  display: grid;
  grid-template-columns: 260px minmax(0, var(--jcd-width-article));
  justify-content: space-between;
  align-items: start; /* sticky needs start alignment */
  column-gap: var(--jcd-space-3xl);
  max-width: 1100px;
  margin: 0 auto;
}

.fm_row_legal_body > .fl-row-content-wrap > .fl-row-content > .fl-col-group::before,
.fm_row_legal_body > .fl-row-content-wrap > .fl-row-content > .fl-col-group::after {
  display: none;
}

.fm_row_legal_body > .fl-row-content-wrap > .fl-row-content > .fl-col-group > .fl-col {
  width: auto;
  min-width: 0; /* not 100%: Safari breaks (# 29) */
  float: none;
}

.fm_row_legal_body .fl-col[data-node] > .fl-col-content {
  padding: 0;
}

/* HTML modules have no .fl-module-content wrapper: the margin sits on the module. */
.fm_row_legal_body .fl-module[data-node] > .fl-module-content,
.fm_row_legal_body .fl-col .fl-module-html[data-node] {
  margin: 0;
}

.fm_row_legal_body > .fl-row-content-wrap > .fl-row-content > .fl-col-group > .fm_legal_rail_col {
  position: sticky;
  top: calc(var(--jcd-header-offset) + var(--jcd-space-xl));
}

.admin-bar .fm_row_legal_body > .fl-row-content-wrap > .fl-row-content > .fl-col-group > .fm_legal_rail_col {
  top: calc(var(--jcd-header-offset) + var(--jcd-space-xl) + 32px);
}

/* Legal nav: a list with an accent bar on the current page (desktop) */
.fm_legal_nav__label {
  margin: 0 0 var(--jcd-space-md);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  letter-spacing: var(--jcd-tracking-kicker);
  text-transform: uppercase;
  color: var(--jcd-color-accent-text);
}

.fm_legal_nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fm_legal_nav li {
  margin: 0;
}

.fm_legal_nav a {
  display: flex;
  align-items: center;
  min-height: 44px; /* WCAG 2.5.5 target */
  padding-left: var(--jcd-space-md);
  border-left: 2px solid transparent;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-caption);
  text-decoration: none;
  color: color-mix(in srgb, var(--jcd-color-ink) 70%, transparent);
  transition: color var(--jcd-duration-base) ease-out;
}

.fm_legal_nav a:hover {
  color: var(--jcd-color-ink);
}

.fm_legal_nav a[aria-current="page"] {
  border-left-color: var(--jcd-color-accent);
  font-weight: var(--jcd-weight-semi);
  color: var(--jcd-color-accent-text);
}

.fm_legal_nav a:focus-visible,
.fm_legal_help a:focus-visible,
#fm_legal_policy.fm_module_legal_content a:focus-visible {
  outline: 2px solid var(--jcd-color-focus);
  outline-offset: 3px;
}

/* "Questions?" block: in the rail on desktop, under the policy at 992 and below */
.fm_module_legal_help--rail {
  padding-top: var(--jcd-space-2xl);
}

.fm_module_legal_help--below {
  display: none;
}

.fm_legal_help p {
  margin: 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-caption);
  line-height: 1.625;
  color: color-mix(in srgb, var(--jcd-color-ink) 70%, transparent);
}

.fm_legal_help .fm_legal_help__title {
  font-weight: var(--jcd-weight-semi);
  color: var(--jcd-color-ink);
}

.fm_legal_help a {
  color: var(--jcd-color-accent-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.fm_legal_help a:hover {
  color: var(--jcd-color-ink);
}

/* The policy (Termageddon's injected markup) */
#fm_legal_policy.fm_module_legal_content {
  min-width: 0;
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-body);
  line-height: 1.7;
  color: color-mix(in srgb, var(--jcd-color-ink) 70%, transparent);
}

#fm_legal_policy.fm_module_legal_content > :first-child,
#fm_legal_policy.fm_module_legal_content > :first-child > :first-child {
  margin-top: 0;
}

#fm_legal_policy.fm_module_legal_content h2 {
  margin: var(--jcd-space-2xl) 0 var(--jcd-space-md);
  padding-top: var(--jcd-space-xl);
  border-top: 1px solid var(--jcd-color-rule);
  font-family: var(--jcd-font-serif);
  font-size: var(--jcd-text-h3);
  font-weight: var(--jcd-weight-regular);
  line-height: 1.25;
  letter-spacing: normal;
  text-transform: none;
  color: var(--jcd-color-ink);
}

/* No rule above the first section. */
#fm_legal_policy.fm_module_legal_content h2:first-of-type {
  margin-top: var(--jcd-space-xl);
  padding-top: 0;
  border-top: 0;
}

#fm_legal_policy.fm_module_legal_content h3 {
  margin: var(--jcd-space-xl) 0 var(--jcd-space-sm);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-lead);
  font-weight: var(--jcd-weight-semi);
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  color: var(--jcd-color-ink);
}

#fm_legal_policy.fm_module_legal_content h4 {
  margin: var(--jcd-space-lg) 0 var(--jcd-space-sm);
  font-family: var(--jcd-font-sans);
  font-size: var(--jcd-text-body);
  font-weight: var(--jcd-weight-semi);
  color: var(--jcd-color-ink);
}

/* ALL CAPS legal paragraphs keep their case, at body size and normal tracking. */
#fm_legal_policy.fm_module_legal_content p {
  margin: 0 0 var(--jcd-space-md);
  font-size: var(--jcd-text-body);
  letter-spacing: normal;
}

#fm_legal_policy.fm_module_legal_content :is(ul, ol) {
  margin: 0 0 var(--jcd-space-md);
  padding-left: var(--jcd-space-lg);
}

#fm_legal_policy.fm_module_legal_content ul {
  list-style: disc;
}

#fm_legal_policy.fm_module_legal_content ol {
  list-style: decimal;
}

#fm_legal_policy.fm_module_legal_content li + li {
  margin-top: var(--jcd-space-sm);
}

#fm_legal_policy.fm_module_legal_content strong {
  font-weight: var(--jcd-weight-semi);
  color: var(--jcd-color-ink);
}

/* Long URLs and emails in the policy never push the page sideways. */
#fm_legal_policy.fm_module_legal_content a {
  overflow-wrap: anywhere;
  color: var(--jcd-color-accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--jcd-duration-base) ease-out;
}

#fm_legal_policy.fm_module_legal_content a:hover {
  color: var(--jcd-color-ink);
}

/**
 * Tables: the embed gives a table no scroll wrapper, so the table itself
 * scrolls (display: block) and the page never does.
 */
#fm_legal_policy.fm_module_legal_content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 0 0 var(--jcd-space-lg);
  border-collapse: collapse;
  font-size: var(--jcd-text-caption);
}

#fm_legal_policy.fm_module_legal_content th {
  font-size: var(--jcd-text-kicker);
  font-weight: var(--jcd-weight-semi);
  font-variant: small-caps;
  letter-spacing: var(--jcd-tracking-kicker);
  text-align: left;
  color: var(--jcd-color-ink);
}

#fm_legal_policy.fm_module_legal_content :is(th, td) {
  padding: var(--jcd-space-sm) var(--jcd-space-md) var(--jcd-space-sm) 0;
  border-bottom: 1px solid var(--jcd-color-rule);
  vertical-align: top;
}

/* Responsive: the rail becomes a row of outline pills above the policy */
@media (max-width: 992px) {
  .fm_row_legal_body > .fl-row-content-wrap > .fl-row-content > .fl-col-group {
    display: block;
    max-width: var(--jcd-width-article);
  }

  .fm_row_legal_body > .fl-row-content-wrap > .fl-row-content > .fl-col-group > .fm_legal_rail_col {
    position: static;
    margin-bottom: var(--jcd-space-xl);
  }

  .fm_legal_nav__label,
  .fm_module_legal_help--rail {
    display: none;
  }

  .fm_module_legal_help--below {
    display: block;
    margin-top: var(--jcd-space-xl);
    padding-top: var(--jcd-space-xl);
    border-top: 1px solid var(--jcd-color-rule);
  }

  .fm_legal_nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* # 63's outline pill; the current page fills ink. */
  .fm_legal_nav a {
    padding: 0 var(--jcd-space-lg);
    border: 1px solid var(--jcd-color-ink);
    border-radius: var(--jcd-radius-pill);
    font-size: var(--jcd-text-btn);
    font-weight: var(--jcd-weight-semi);
    line-height: 1;
    letter-spacing: var(--jcd-tracking-btn);
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--jcd-color-ink);
    transition:
      background-color var(--jcd-duration-base) ease-out,
      color var(--jcd-duration-base) ease-out;
  }

  .fm_legal_nav a:is(:hover, [aria-current="page"]) {
    border-color: var(--jcd-color-ink);
    background-color: var(--jcd-color-ink);
    color: var(--jcd-color-paper);
  }
}

/* One scrolling line on phones; the page itself never scrolls sideways. */
@media (max-width: 768px) {
  #fm_legal_policy.fm_module_legal_content h2 {
    margin-top: var(--jcd-space-xl);
  }

  .fm_legal_nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: calc(var(--jcd-page-inset) * -1);
    padding: 2px var(--jcd-page-inset) 2px 2px; /* room for the focus ring */
    scrollbar-width: none;
  }

  .fm_legal_nav ul::-webkit-scrollbar {
    display: none;
  }

  .fm_legal_nav li {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fm_legal_nav a,
  #fm_legal_policy.fm_module_legal_content a {
    transition: none;
  }
}