/* ============================================================================
   ragazzi-community.css - CARRIED from
   ragazzi-site/community/css/sections/community.css.

   A CUSTOM section, not a Dawn restyle. Two columns that are not two of the
   same thing: the left is a heading, a paragraph and a row of pill links; the
   right is a heading, a cropped photo and a caption. They are 34.2% / 65.7% of
   the post-gap row, and on mobile the RIGHT one comes first. No stock section
   models that - `multicolumn` and `image-with-text` both loop or pair
   LIKE items, and neither has the order swap or the pill row.

   RENAMED, 1:1:  .community  ->  .ragazzi-community   (children unchanged)
   That rename also moves the button norm to `:where(.ragazzi-community) .btn`.
   The `:where()` is LOAD-BEARING and must stay: it contributes zero
   specificity, so the norm ranks exactly like the bare `.btn` it replaced. A
   real ancestor class would raise it to (0,2,0) and silently kill
   `.community__btn--whatsapp`'s letter-spacing, which is (0,1,0). The theme's
   only other `.btn` is `:where(.hero--home) .btn`, scoped the same way, so the
   two cannot meet.

   ONE DELIBERATE DEVIATION from the static, marked `PORT:` below: `--text-body`
   (20px on both layers, against the site-wide 14 -> 18) comes from the static's
   css/community-page.css, where it sits on `body.page-community`. Scoped to the
   SECTION root here instead - the theme emits no template class on <body>, and
   <body> is shared with the header, the footer and every stock section. Same
   call as ragazzi-text-1.css; all three bands carried verbatim.

   The two per-node button deviations are the static's and are NOT normalised:
   mobile WHATSAPP tracking 7.2% while its STRAVA sibling is 0%, desktop STRAVA
   weight 600 while WHATSAPP is 700. In a data-driven section they can only be
   POSITIONAL - the section file hands the modifier classes to the first and the
   second pill, and a third block gets neither. See that file's header.
============================================================================ */

/* ---------------------------------------------------------------------------
   SECTION TOKENS — moved out of the page's tokens.css on 2026-08-13.

   These values are used by THIS block and nothing else, so they belong here,
   not in a site-wide :root. That is not tidiness: in Shopify a section can be
   dropped onto any template from the theme editor, so a section that reads a
   token from a page-level scope breaks the moment it is moved. Scoped to the
   block's own class, it travels with it.

   All three bands are carried verbatim from the page's old tokens.css —
   desktop at the top, then the mobile and pseudo-tablet overrides — so the
   cascade is unchanged. Verified by computed-style diff at 375/768/1024/1440/1920.
--------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------
   MOVED HERE 2026-08-15, from the page's css/components.css, which is now gone.

   `.btn` was defined by home AND community with different rules — a collision
   that only the two files' separate FOLDERS were keeping apart, and a Shopify
   theme's `assets/` is flat. Both of this page's buttons live in this section,
   so the norm travels with it.

   Every selector is wrapped in `:where(.ragazzi-community)`, which contributes ZERO
   specificity: `:where(.ragazzi-community) .btn` ranks exactly like the bare `.btn` it
   replaces. That matters here — `.community__btn--whatsapp` sets
   `letter-spacing` and `.btn` sets `letter-spacing: 0em`; a real ancestor class
   would have raised `.btn` to (0,2,0) and silently killed that per-node
   deviation. (FD-190 is the same defect, found the hard way.)

   Placed at the TOP of this file so the cascade order between these rules and
   the section's own is what it was when they were two linked stylesheets.
--------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------
   MOVED HERE 2026-08-15, from the site's css/tokens.css.

   `--gap-col` was one of 113 tokens in a shared file that had never been
   trimmed since it was home's. Measured across all six pages, THIS section is
   the only thing on the site that reads it, so it belongs here — a Shopify
   section must not reach into a page-level scope for a value. All three bands
   carried verbatim; the shared file no longer declares the name.
--------------------------------------------------------------------------- */
.ragazzi-community {
  --gap-col: clamp(17px, calc(20px + (var(--max-vw) - 375px) * 0.015), 41px);
}

@media (min-width: 768px) {
  .ragazzi-community {
    --gap-col: clamp(20px, calc(20px + (var(--max-vw) - 768px) * 0.025), 100px);
  }
}

@media (min-width: 1024px) {
  .ragazzi-community {
    --gap-col: clamp(53px, calc(100px * (var(--max-vw) / var(--vw-base))), 100px);
  }
}

:where(.ragazzi-community) .btn {
  --text-btn: clamp(11px, calc(20px * (var(--max-vw) / var(--vw-base))), 20px);
  --lh-btn: 1.2;
  --btn-pad-y: clamp(11px, calc(20px * (var(--max-vw) / var(--vw-base))), 20px);
  --btn-pad-x: clamp(32px, calc(60px * (var(--max-vw) / var(--vw-base))), 60px);
  --btn-border-width: 1px;
  --radius-full: 9999px;
  --color-btn-bg: #000000;
  --color-btn-text: #ffffff;
  --color-btn-border: #000000;
}

@media (max-width: 767px) {
  :where(.ragazzi-community) .btn {
    --text-btn: clamp(12px, calc(14px + (var(--max-vw) - 375px) * 0.015), 29px);
    --lh-btn: 1.1;
    --btn-pad-y: clamp(9px, calc(10px + (var(--max-vw) - 375px) * 0.015), 20px);
    --btn-pad-x: clamp(27px, calc(32px + (var(--max-vw) - 375px) * 0.015), 65px);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :where(.ragazzi-community) .btn {
    --text-btn: clamp(14px, calc(14px + (var(--max-vw) - 768px) * 0.025), 20px);
    --lh-btn: 1.2;
    --btn-pad-y: clamp(10px, calc(10px + (var(--max-vw) - 768px) * 0.025), 20px);
    --btn-pad-x: clamp(32px, calc(32px + (var(--max-vw) - 768px) * 0.025), 60px);
  }
}

/* ---- Pill link (WHATSAPP / STRAVA) -----------------------
   Figma: fill #000, stroke #000 1.2567px INSIDE desktop / 1px mobile
   (same colour as the fill, so visually inert but present),
   cornerRadius 160.85 desktop / 128 mobile — both far exceed half the
   button height, i.e. a pill. Labels are uppercase in the SOURCE
   characters *and* carry Figma `textCase: UPPER`; `text-transform`
   below reproduces the node property, it does not invent one.
   Per-node deviations that do NOT belong here (they are one button
   each, and `community` owns them): desktop STRAVA weight 600, mobile
   WHATSAPP tracking 7.2%, mobile STRAVA min-width 129.008px, the mobile
   fixed 50px height.
   -------------------------------------------------------- */
:where(.ragazzi-community) .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: var(--btn-border-width) solid var(--color-btn-border);
  border-radius: var(--radius-full);
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  font-family: var(--font-body);
  font-size: var(--text-btn);
  font-weight: 700;
  line-height: var(--lh-btn);
  letter-spacing: 0em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;   /* both labels are single words; Figma hugs them on one line */
  transition: opacity 0.2s ease;
}

/* Figma defines NO hover, focus or active state anywhere on this page.
   These are a Tier-1 accessibility addition sanctioned page-level by
   brief-page.md §8, built only from the existing 4-colour palette —
   no new colour, no new geometry. */
:where(.ragazzi-community) .btn:hover { opacity: 0.85; }

:where(.ragazzi-community) .btn:focus-visible {
  outline: 2px solid var(--color-btn-bg);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  :where(.ragazzi-community) .btn { transition: none; }
}

.ragazzi-community {
  --text-h2: clamp(35px, calc(65px * (var(--max-vw) / var(--vw-base))), 65px);
  --lh-heading: 1.2;
  --section-pad-y: clamp(53px, calc(100px * (var(--max-vw) / var(--vw-base))), 100px);
  --gap-col: clamp(53px, calc(100px * (var(--max-vw) / var(--vw-base))), 100px);
  --gap-stack: clamp(32px, calc(60px * (var(--max-vw) / var(--vw-base))), 60px);
  --gap-heading: clamp(13px, calc(25px * (var(--max-vw) / var(--vw-base))), 25px);
  --gap-btn: clamp(8px, calc(15.08px * (var(--max-vw) / var(--vw-base))), 15.08px);
  --pad-btnrow-top: clamp(43px, calc(80px * (var(--max-vw) / var(--vw-base))), 80px);
  --pad-caption-top: clamp(16px, calc(30.16px * (var(--max-vw) / var(--vw-base))), 30.16px);
  --ls-btn-whatsapp: 0em;
  /* PORT: see the header - the static keeps this one on body.page-community. */
  --text-body: clamp(11px, calc(20px * (var(--max-vw) / var(--vw-base))), 20px);
}

@media (max-width: 767px) {
  .ragazzi-community {
    --text-h2: clamp(27px, calc(32px + (var(--max-vw) - 375px) * 0.015), 65px);
    --lh-heading: 1.1;
    --section-pad-y: clamp(34px, calc(40px + (var(--max-vw) - 375px) * 0.015), 82px);
    --gap-col: clamp(51px, calc(60px + (var(--max-vw) - 375px) * 0.015), 123px);
    --gap-stack: clamp(51px, calc(60px + (var(--max-vw) - 375px) * 0.015), 123px);
    --gap-heading: clamp(17px, calc(20px + (var(--max-vw) - 375px) * 0.015), 41px);
    --gap-btn: clamp(10px, calc(12px + (var(--max-vw) - 375px) * 0.015), 25px);
    --pad-btnrow-top: clamp(34px, calc(40px + (var(--max-vw) - 375px) * 0.015), 82px);
    --pad-caption-top: 0px;
    --ls-btn-whatsapp: 0.072em;
    --text-body: clamp(17px, calc(20px + (var(--max-vw) - 375px) * 0.015), 41px);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ragazzi-community {
    --text-h2: clamp(32px, calc(32px + (var(--max-vw) - 768px) * 0.025), 65px);
    --lh-heading: 1.2;
    --section-pad-y: clamp(40px, calc(40px + (var(--max-vw) - 768px) * 0.025), 100px);
    --gap-col: clamp(60px, calc(60px + (var(--max-vw) - 768px) * 0.025), 60px);
    --gap-stack: clamp(60px, calc(60px + (var(--max-vw) - 768px) * 0.025), 60px);
    --gap-heading: clamp(20px, calc(20px + (var(--max-vw) - 768px) * 0.025), 25px);
    --gap-btn: clamp(12px, calc(12px + (var(--max-vw) - 768px) * 0.025), 15.08px);
    --pad-btnrow-top: clamp(40px, calc(40px + (var(--max-vw) - 768px) * 0.025), 80px);
    --pad-caption-top: clamp(0px, calc(0px + (var(--max-vw) - 768px) * 0.025), 30.16px);
    --ls-btn-whatsapp: 0em;
    --text-body: clamp(20px, calc(20px + (var(--max-vw) - 768px) * 0.025), 20px);
  }
}

/* ---- MOBILE BASE (0-767) ---------------------------------
   Figma 3100:21268: 375x1004, VERTICAL, gap 60, padding 40/20/40/20,
   alignItems MIN. `justifyContent: MAX` is INERT (children sum to
   40+555+60+309+40 = 1004 exactly) — deliberately not emitted (D-com-13). */

.ragazzi-community {
  padding-top: var(--section-pad-y);      /* M 40 / D 100 — longhand only */
  padding-bottom: var(--section-pad-y);
  display: flex;
  flex-direction: column;
  align-items: flex-start;                /* Figma alignItems MIN */
  gap: var(--gap-stack);                  /* M 60 */
}

/* THE ORDER SWAP — one DOM, one property (D-com-1 MUST-APPLY).
   Desktop reading order is the SOURCE order (chat, then leaders); mobile
   flips it visually. NOT `column-reverse`: that is positional magic which
   also inverts the section's (inert) justifyContent. NOT a second markup
   block: that would double both headings in the a11y tree, give keyboard
   users four tab stops, and make every node-vs-DOM sieve ambiguous. */
.community__leaders { order: -1; }

.community__chat,
.community__leaders {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  /* M: chat 3100:21276 gap 20 · leaders 3100:21269 gap 20 */
  gap: var(--gap-heading);
}

.community__chat-head {
  /* D-com-2: this wrapper has no mobile Figma node, and it is what makes
     ONE DOM exact on BOTH layers. Desktop needs h2->copy 25 and
     copy->buttons 80; mobile needs 20 and 60. With the wrapper:
     D = chat gap 0 + head gap 25 + actions padding-top 80  ✓
     M = chat gap 20 + head gap 20 + actions padding-top 40 ✓
     Flattened to three siblings the desktop gap 25 would ADD to the 80
     padding (buttons 25px too low). */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: var(--gap-heading);                /* M 20 / D 25 */
}

/* ---- TYPE -------------------------------------------------
   base.css resets h2 to font-size/weight/line-height: inherit, so every
   value is (re)stated here from the node, not inherited by luck. */

/* GATE_DOM fix (iter 1). Figma's `Heading 2` wrapper frames are NOT the
   identical box their text node occupies — they FILL the column while the
   text HUGS: 3100:21003 1064.15 vs 3100:21004 377 (D leaders),
   3100:21270 335 vs 3100:21271 186 (M leaders), 3100:21277 335 vs
   3100:21278 199 (M chat). The first map collapsed each pair onto the
   `<h2>`, so the gate compared a full-width frame against a hugging
   heading — 4 P1. Two elements now, one per node, which is what Figma
   actually has. (The desktop CHAT heading has no wrapper of its own: its
   parent is `3100:20994`, the real `.community__chat-head`. The box is
   still emitted there for one DOM across layers; it maps to no node on
   desktop and is therefore not compared.) */
.community__title-box {
  width: 100%;
}

.community__title {
  /* HUGS its text, like the Figma text node. Inside `.community__title-box`
     (a block) an <h2> would otherwise stretch to the wrapper's width and
     the node-vs-DOM check would read 1064 where the node says 377. Before
     the wrapper existed the hug came for free from the flex column's
     `align-items: flex-start`; it must now be stated. */
  width: max-content;
  max-width: 100%;
  margin: 0;                              /* section margins are provably 0 */
  font-family: var(--font-body);
  font-size: var(--text-h2);              /* M 32 / D 65 */
  font-weight: 500;                       /* 3100:21271 / 3100:21278 / 3100:20995 / 3100:21004 */
  /* --lh-heading is 1.1 in the mobile band and 1.2 from 768 up. BOTH of
     this section's headings are the 110% pair (3100:21271, 3100:21278),
     so the token is correct here as-is and must NOT be re-declared
     locally (pic-1's heading is the 120% odd one out and overrides it
     in its own file). */
  line-height: var(--lh-heading);
  letter-spacing: 0em;          /* 0% on all four heading nodes */
  color: var(--color-text);
  text-align: left;                       /* Figma textAlign LEFT, both layers */
}

.community__copy,
.community__caption {
  margin: 0;
  /* D-com-8: the Figma text boxes are 1px wider than their parents
     (555.451 in 554.44, 336 in 335, 1064.404 in 1064.149) — that is hug
     rounding, not layout. Width is 100% of the column; assert LINE COUNTS
     (D 4 / M 6 for the copy, D 2 / M 6 for the caption), not widths. */
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-body);            /* 20px on BOTH layers */
  font-weight: 400;
  line-height: var(--lh-body);            /* 120% everywhere */
  letter-spacing: 0em;
  color: var(--color-text);
  text-align: left;
  overflow-wrap: break-word;              /* Figma word-break: break-word */
}

/* GATE_DOM fix (iter 1). The padding belongs to the Figma WRAPPER frame
   (`3100:21006` 1064.15x78.16, padding-top 30.16), not to the text node
   (`3100:21007` 1064.4x48). Collapsing the two onto the <p> made the
   paragraph 78 tall with 30.16 of padding where the node says 48 and 0
   — 2 P1. The wrapper is now its own element, exactly as in Figma.
   photo -> caption: M = leaders gap 20 + padding 0 = 20
                     D = leaders gap 0  + padding 30.16 = 30.16
   --pad-caption-top is 0px in the mobile band and 30.16 on desktop, so one
   declaration serves every band. */
.community__caption-box {
  width: 100%;
  padding-top: var(--pad-caption-top);
}

/* ---- BUTTON ROW -------------------------------------------
   Figma 3100:21281 (M): HORIZONTAL, gap 12, padding-top 40, alignItems
   MAX — INERT (both buttons are exactly 50 tall), not emitted.
   Figma 3100:20997 (D): gap 15.08, padding-top 80, alignItems MIN —
   also inert. D-com-5: do NOT reproduce 3100:20997's FIXED height
   168.395 (content is 146.51); the 21.88px of dead space sits below the
   last child of the SHORTER column and renders nothing. */
.community__actions {
  display: flex;
  align-items: flex-start;
  /* D-com-10: a FLOOR, never the design. In the designed range the row
     never wraps (M 153 + 12 + 129.01 = 294.01 in 335; D 235.51 + 15.08 +
     201.51 = 452.10 in 554.44). It exists because html/body use
     `overflow-x: clip`, which would make a sub-320px overflow provably
     INVISIBLE to every stage of this pipeline; a wrap is visible. */
  flex-wrap: wrap;
  gap: var(--gap-btn);                    /* M 12 / D 15.08 */
  padding-top: var(--pad-btnrow-top);     /* M 40 / D 80 */
  width: 100%;
}

/* Only the per-node DEVIATIONS live here — the pill norm is `.btn`. */
.community__btn {
  /* D-com-6 MUST-APPLY: Figma puts min-width on all four button nodes.
     It is inert three times out of four and LOAD-BEARING once: mobile
     STRAVA hugs to 2x1 + 2x32 + 56 = 122px but the node measures
     129.008 — the whole 7.01px is the min-width. Drop it and STRAVA
     renders ~5.4% narrow and the pills stop matching, which no line-count
     or height check would catch.
     M-min = round(129.008 x 320/375) = 110; M-max = round(x 767/375) = 264. */
  min-width: clamp(110px, calc(129.008px + (var(--max-vw) - 375px) * 0.015), 264px);
  /* Mobile buttons are FIXED height 50 (3100:21282 / 3100:21284); the hug
     would be ~37. `min-height`, not `height`, so the label can never be
     clipped. M-min = round(50 x 320/375) = 43; M-max = round(x 767/375) = 102. */
  min-height: clamp(43px, calc(50px + (var(--max-vw) - 375px) * 0.015), 102px);
}

.community__btn--whatsapp {
  /* brief-page.md §4.2a: 3100:21283 letterSpacing 7.2% while its STRAVA
     sibling 3100:21285 is 0%. The token resolves to 0.072em in the mobile
     band and 0 in every other band, so one declaration is per-band
     correct and no desktop reset is needed. em, never px. */
  letter-spacing: var(--ls-btn-whatsapp);
}

/* ---- IMAGE ------------------------------------------------
   D-com-4: 3100:21272 `Container:margin` and 3100:21273 `Image` occupy
   the identical 335x336 box -> ONE element. */
.community__image {
  position: relative;
  width: 100%;
  /* D-com-9 MUST-APPLY: the 641x420 RGBA master has a 4px FULLY
     TRANSPARENT right edge (columns 637-640, getbbox right = 637). It is
     outside BOTH Figma crops (desktop's window ends at 98.09% = 628.9px,
     mobile's cover window at ~559.9px), so it is invisible as specified —
     and it appears the instant anyone switches the fit to `contain`,
     drops this `overflow: hidden`, or lets the box grow wider than the
     crop. Keep both this line and `object-fit: cover` below. */
  overflow: hidden;
  aspect-ratio: 335 / 336;                /* MOBILE box 3100:21273 */
}

.community__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* mobile fill: scaleMode FILL, no imageTransform -> plain centred cover.
     NEVER `contain` (D-com-9). */
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}

/* ---- PSEUDO-TABLET (768-1023) -----------------------------
   has-tablet-layer: false. The section is STILL ONE COLUMN through this
   whole band — the switch to a row is at 1024, NOT 768 (brief-page.md §7
   MUST-APPLY 2: the columns are 32% / 62%, not 50/50; at a 768 viewport
   the left column would be ~240px and could not hold a 65px heading).
   Type and spacing are already interpolated by the tokens. */
@media (min-width: 768px) {
  /* MUST-APPLY (brief-page.md §7 rule 3 / D-com-7): because the section
     stays stacked to 1023, a full-width photo at the MOBILE 1:1 ratio
     would render ~970px tall at a 1023 viewport. The desktop ratio gives
     ~635px there. Measured, not assumed. */
  .community__image { aspect-ratio: 1064.15 / 697; }

  /* THE DESKTOP CROP WINDOW IS GONE — the mobile band's plain cover now serves
     both layers.

     It was Figma's `imageTransform` ported exactly:
       [[0.9628018,0,0.01810175],[0,0.96167594,0.01923858]]
       -> width 103.864%  left -1.880%  height 103.985%  top -2.000%
     and the note here defended it: "a plain `cover` would show 100% of the
     source instead of 96.3%, i.e. silently un-zoom the photo by ~4%." True of
     THE PHOTO IN THE MOCK, and only of it. `leaders_image` is a section setting,
     so the merchant can replace the picture — and then that 4% zoom with its
     -1.88% / -2% offset is framing someone else's subject.

     Reproduce the BOX (`.community__image` already carries the drawn ratio per
     band) and let `object-fit: cover` place whatever is in it. Framing stays
     adjustable from the image picker: the section passes Shopify's per-image
     focal point through as an inline `object-position`.

     Same call as the athletes rail and the ingredients card, both of which
     carried the identical mistake. */
}

/* RESPONSIVE fix. `.community__btn`'s two `min-*` floors were the ONLY
   declarations in this build defined in the mobile base with a desktop
   override but NO pseudo-tablet block, so the MOBILE formula (coefficient
   0.015, anchored at 375) kept running through 768-1023 — the band-inflation
   trap in responsive-layout STEP 3b. Measured before the fix: min-width
   134.90px at 768 (M-base is 129.008) and min-height 55.90px at 768 (M-base
   is 50), and BOTH were binding — STRAVA rendered 134.89 wide and 55.89 tall
   where the interpolation says 129.008 / 50.
   Rebuilt to the mandated band shape (brief-page.md §7):
   clamp(M-base, calc(M-base + (var(--max-vw) - 768px) * 0.025), D-base).
   D-base for min-width is the desktop node value 162.121 (3100:20998 /
   3100:21000); D-base for min-height is the desktop button's designed hug
   66.51 — desktop itself declares `min-height: 0` because it hugs, so the
   ceiling here only keeps the band from over-running the design, it never
   sets the height (the hug is 58.75 at 1023 and wins on its own).
   Bounded to 1023 so it cannot leak past the desktop block. */
@media (min-width: 768px) and (max-width: 1023px) {
  .community__btn {
    min-width:  clamp(129.008px, calc(129.008px + (var(--max-vw) - 768px) * 0.025), 162.121px);
    min-height: clamp(50px,      calc(50px      + (var(--max-vw) - 768px) * 0.025), 66.51px);
  }
}

/* ---- DESKTOP (1024+) : the two-column row -----------------
   Figma 3100:20992: HORIZONTAL, gap 100, justify MIN, align MIN,
   padding 100 all round. */
@media (min-width: 1024px) {
  .ragazzi-community {
    flex-direction: row;
    /* the columns are 367.39 vs 853.16 tall — the short one must NOT
       stretch (Figma alignItems MIN) */
    align-items: flex-start;
    gap: var(--gap-col);                  /* 100 at 1920 */
  }

  .community__leaders { order: 0; }       /* undo the mobile swap */

  /* D-com-3: percentages of the POST-GAP space, never fixed px — the
     content box scales with the viewport across the desktop band, so
     554.44 / 1064.15 px would blow the row out at 1024.
     554.44 / 1620 = 0.34225 · 1064.15 / 1620 = 0.65688  (1620 = 1720 - 100)
     They sum to 0.99913, leaving the SAME 1.41px unused at the right edge
     that Figma leaves (justifyContent MIN). Do not round it up, and never
     put `flex: 1` on the right column — that would make its width depend
     on the left column's content instead of on the design. */
  .community__chat {
    flex: 0 0 auto;
    width: calc((100% - var(--gap-col)) * 0.34225);
    gap: 0;                               /* Figma 3100:20993 gap 0 */
  }
  .community__leaders {
    flex: 0 0 auto;
    width: calc((100% - var(--gap-col)) * 0.65688);
    gap: 0;                               /* Figma 3100:21002 gap 0 */
  }

  .community__btn {
    /* 3100:20998 / 3100:21000 min-width 162.121 — INERT on both desktop
       buttons (labels are 235.51 / 201.51 wide), kept for fidelity.
       D-min = round(162.121 x 1024/1920) = 86. */
    min-width: clamp(86px, calc(162.121px * (var(--max-vw) / var(--vw-base))), 162.121px);
    /* desktop HUGS: 20 + 24 + 20 + 2x1px border = 66 (Figma 66.51, the
       0.51 is the 1.2567px Figma stroke pinned to 1px in §4.5). */
    min-height: 0;
  }

  .community__btn--strava {
    /* brief-page.md §4.2a: 3100:21001 fontWeight 600 while its WHATSAPP
       sibling 3100:20999 is 700. Designer drift, reproduced verbatim —
       gate-dom-diff.mjs compares NO fontWeight, so this can only be lost
       silently (D-com-14). DESKTOP ONLY: mobile 3100:21285 is 700. */
    font-weight: 600;
  }
}
