/* ============================================================
   FACEBOOK ADS AUTOMATION — page-only blocks of bir.ch/facebook-ads-automation
   (moved off Webflow as is, 06.11.2026). Requires: tokens.css, page.css, patterns.css, surface.css, product-blocks.css

   .fba-cells  — cells of an icon, a title and a grey text: 3 in the «Why Birch» panel, 4 a row in the rule grid
                 (2 on tablets, 1 on phones); a centred dark button under them (.fba-more)
   .fba-quote  — the client quote card in the Strategies FeatureRow's slot
   Whether these become components is decided in the page's overview (docs/page-migration.md).
   ============================================================ */

/* ---- cells ---- */
.fba-cells { row-gap: var(--block-gap); }
.fba-cell { display: flex; flex-direction: column; gap: var(--gap-heading-small); grid-column: span 4; }
.fba-cells--4 .fba-cell { grid-column: span 3; }
@media (max-width: 61.9375rem) { .fba-cells--4 .fba-cell { grid-column: span 6; } }
@media (max-width: 47.9375rem) { .fba-cell, .fba-cells--4 .fba-cell { grid-column: 1 / -1; } }
/* icons: one height a set, the width from the file — 32 (Spacing MD) for the rule grid and for every cell on phones, 48
   (Spacing LG) for the three Why Birch cells from 768 (Liliya 10.11.2026: «as if the icon sizes are not groomed»; the Why
   icons were 48 on phones too, next to the rules' 32). The icon belongs to its title: 8 to it (the cell's gap, Spacing XS),
   as an eyebrow to its heading — on phones the cell above is 24 away, so the icon reads with the title under it, not
   with the text over it (was 24 to both). The files are live's PNGs with uneven transparent margins
   (site/migrations/facebook-ads-automation.md, «Icons»), so the drawings still differ until new files come. */
.fba-cell__icon { display: block; align-self: flex-start; width: auto; height: var(--space-md); }
@media (min-width: 48rem) { .fba-cell__icon--lg { height: var(--space-lg); } }
.fba-more { margin: var(--block-gap) 0 0; text-align: center; } /* holds a dark S button in a .btn-group, full width on phones (Liliya, 10.11.2026: was an outline XS, then a «… →» link) */
/* «Why Birch»: the heading on columns 3–10 of the panel's 12-column grid (from 768), the same 8 as the hero lead and
   the FAQ block. The three cells on the grid's own lines, 4 columns each, the grid gap between them; from 992 each cell
   is an invisible card — a card's side padding, no fill or border — so its column breathes and a line runs ~45
   characters (Liliya's reviews 09.11.2026: «squeezed», «did you leave the 12-column grid?» — the cells were narrowed
   to 8/12 of the panel, which put them on a grid of their own). Side padding only: top and bottom stay on the spacing
   table (heading → cells, cells → button). Tablets 768–991 keep the cells unpadded: three a row there are ~200 px. */
/* the block head is already those 8 columns, so its H2 takes all of them rather than .block-head's 8/12 of them again
   (page-check «block heading squeezed», 11.11.2026: three lines in 619 of 935 px at 1440) */
@media (min-width: 48rem) { .fba-why__head { grid-column: 3 / span 8; } .fba-why__head > h2 { max-width: none; } }
@media (min-width: 62rem) { .fba-why .fba-cell { padding-inline: var(--pad-card-fluid); } }

/* the client quote: a card under the link */
.fba-quote { display: flex; flex-direction: column; gap: var(--space-sm); margin: 0; }
.fba-quote blockquote, .fba-quote blockquote p { margin: 0; }
.fba-quote__logo { align-self: flex-start; width: auto; height: var(--space); }
.fba-quote__author { display: flex; align-items: center; gap: var(--space-sm); }
.fba-quote__author > span { display: flex; flex-direction: column; }
.fba-quote__photo { width: var(--space-lg); height: var(--space-lg); border-radius: 50%; }
.fba-quote__name { font-weight: 600; }
