/*
 * Zoey Made — the activity card (VS-005).
 *
 * `inc/content/activity-card.php` is the renderer, the two variants, the ownership review that
 * had to happen before the extraction, and the reason the class names below do not match this
 * component's name. This file is the appearance, moved here from `make-landing.css` rather than
 * rewritten: every measurement in it was taken against a real phone or a real browser by MAKE-005,
 * MAKE-006 or MAKE-009, and the comments that record those measurements moved with the rules they
 * explain. Nothing here is a new design decision except where it says so.
 *
 * ## What the surface now owns
 *
 * The feature card used to mix its own cream, draw its own border and set its own padding. It is
 * now a `soft-paper` `zoey_made_surface()`, so the paper, the hairline, the radius, the padding,
 * the narrow treatment, the forced-colors hairline and the print behaviour are all VS-004's and
 * are not restated here. What is left in this file is the card's **composition**: which part goes
 * where, at which width, and why.
 *
 * One consequence to know about: the card's children are inside `.zoey-surface__content`, so the
 * grid is declared on that element and not on `.zoey-make-feature` itself. The card's own class
 * stays on the root, which is what keeps it a grid item of the workbench.
 *
 * The other consequence is the one worth watching for: the narrow padding is now a **container
 * query** on the surface's own width rather than a media query on the window's. Below a 26rem
 * surface the padding comes in to 1rem, which is the same 1rem the card used to take below a
 * 48rem viewport, reached by a better question — a card in a narrow column of a wide page now
 * gets the tight padding too, and a reader at 200% text is seen, which a media query never is.
 *
 * ## What the control family now owns
 *
 * *"Let's make it"* is `zoey_made_action()` at `compact` with `fill: narrow`, so the pill, the
 * 44px box, the hover state, the focus behaviour, the forced-colors border and the full-width
 * behaviour on a phone are `components/action.css`'s. `.zoey-make-feature__cta` survives as a
 * positioning hook with **no declarations of its own**, which is the honest shape of a control
 * that no longer has a second implementation.
 */

/* --- The feature card -------------------------------------------------------------------- */

/*
 * Compact on a phone, roomy from 48rem.
 *
 * `MAKE-LANDING-PROD-001` §6 asks the whole call to action to be inside the first viewport at
 * 390×844 and 430×932, and asks for art and spacing to be compacted in pursuit of it before
 * anything is done to the text. 0.75rem between the parts costs the card nothing a reader would
 * notice and buys the fold about 36px.
 */
.zoey-make-feature > .zoey-surface__content,
.zoey-make-feature__lead,
.zoey-make-feature__tail {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--30);
}

/*
 * The eyebrow is a small yellow chip, which is Concept 02's and §7's yellow accent. Ink on it
 * measures 13.4:1, so the label that says what this card *is* is the most readable thing on it
 * rather than the faintest. The study-set card's chip is the same mix at the same strength, so a
 * label saying what a card is looks the same whether the card is an activity or a study set.
 */
.zoey-make-feature__eyebrow {
  --zoey-make-chip: color-mix(in srgb, var(--wp--preset--color--zoey-yellow) 40%, var(--wp--preset--color--surface));

  /* A chip is as wide as its label. In a flex column that is align-self; in a grid, justify. */
  align-self: start;
  justify-self: start;
  margin: 0;
  padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--30);
  border-radius: var(--wp--custom--radius--pill);
  background-color: var(--zoey-make-chip);
  color: var(--wp--preset--color--ink);
  font-size: var(--wp--preset--font-size--body-small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/*
 * The title and the invitation break a long word rather than reaching out of the card.
 *
 * Added by VS-005, and found by measuring rather than by reading: at 320px with a reader's text at
 * 200% the title's content ran 55px past its own column. `make-landing.css` never had the rule —
 * the homepage, the shop archive and the activity guide all do, each added after somebody measured
 * the same thing on their own surface — so this is the same fix on the one that its own sweeps did
 * not reach. `anywhere` rather than `break-word`, for the reason STORE-013 wrote out: only
 * `anywhere` also reduces the element's *minimum* width, which is what a shrink-to-fit grid track
 * actually asks for. A heading whose words already fit is unaffected.
 */
.zoey-make-feature__title,
.zoey-make-feature__invitation {
  overflow-wrap: anywhere;
}

.zoey-make-feature__title {
  margin: 0;
  font-size: var(--wp--preset--font-size--section-title);
}

.zoey-make-feature__invitation {
  margin: 0;
  max-inline-size: var(--wp--custom--measure);
}

/*
 * The preview picture keeps the dimensions core wrote onto it, so its space is reserved before
 * the bytes arrive and §7's "reserve image space" costs no layout shift. No artwork on the
 * activity means no figure at all — the clean omission §9 asks for, handled in the renderer.
 */
.zoey-make-feature__media {
  margin: 0;
}

.zoey-make-feature__image {
  border-radius: var(--wp--custom--radius--medium);

  /*
   * Capped by height on a phone, for the same fold. This picture is a *preview* — the guide is
   * where the finished result is shown properly — and an unbounded one pushes the button off the
   * screen the moment real photography replaces a small placeholder. The cap is on the block size
   * so the artwork keeps its own ratio whatever shape it is.
   *
   * 5rem rather than 8rem since MAKE-006: the real activity's photograph is portrait, and §6 asks
   * the whole CTA to sit in the first viewport at 390×844 and 430×932 — and names compacting art
   * and spacing as the way to get there, ahead of touching text. Measured: 8rem left the button
   * 71px below the fold at 390 after the metadata was trimmed, and 5rem clears it.
   */
  max-block-size: 5rem;
  inline-size: auto;
}

/* Metadata wraps rather than shrinking — §6 keeps the labels readable. */
.zoey-make-feature__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--50);
  margin: 0;
}

.zoey-make-feature__fact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--wp--preset--spacing--20);
  min-inline-size: 0;
}

/*
 * Both halves of a fact can shrink and both can break a word.
 *
 * `__fact` already had `min-inline-size: 0`, which lets the *pair* shrink; its two children had
 * nothing, so their own min-content width was the floor. Measured at 320px with a reader's text at
 * 200%: *"1 sheet of paper, US Letter, any colour"* pushed the card's content 61px past its own
 * box. A fact is a label and a value, not a column of a table, so it wraps.
 */
.zoey-make-feature__label,
.zoey-make-feature__value {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

.zoey-make-feature__label {
  color: var(--wp--preset--color--ink-soft);
  font-size: var(--wp--preset--font-size--body-small);
}

.zoey-make-feature__value {
  margin: 0;
}

.zoey-make-feature__action {
  margin: 0;
}

/*
 * Visibly a preview, and deliberately plain: no tint, no icon, no badge. It says what the page is
 * rather than decorating it, so a screenshot of a draft cannot pass for the public page.
 */
.zoey-make-feature__preview {
  margin: 0;
  padding: var(--wp--preset--spacing--30);
  border: 1px dashed var(--wp--preset--color--ink-soft);
  border-radius: var(--wp--custom--radius--small);
  color: var(--wp--preset--color--ink);
  font-size: var(--wp--preset--font-size--body-small);
}

/*
 * The phone composition, and the one thing on this card that a browser could not have told us.
 *
 * §6 asks the whole call to action to sit in the first viewport at 390×844 and 430×932. Measured
 * in a browser at those viewports it did, by 23px and 109px — and on a real iPhone **half the
 * button was below the fold**, which the reviewer found in MAKE-009's physical pass. The numbers
 * were not wrong; the viewport was. A browser viewport of 390×844 is the whole screen, and Safari
 * gives a page about 734px of it once its own top and bottom bars are there. Against 734 the
 * shipped card measured **-87px**.
 *
 * Two changes, both the reviewer's, and neither of them enough on its own:
 *
 *   half the page's top padding      -87px  ->  -39px
 *   ...and the photo beside the copy  -39px  ->  +36px
 *
 * The second is the one that also answers what the picture is *for*. Capped at 5rem across the
 * full width it was a 316x89 letterbox — a thumbnail of a plane rather than a preview of one.
 * Beside the metadata it is 90x129: taller, squarer, and no longer spending a whole row of a phone
 * screen on itself. An earlier attempt at this put a *larger* picture beside the metadata and
 * measured worse; the saving comes from the row, not the ratio.
 *
 * Phones only. From 48rem the card has room for MAKE-005's composition and nothing here applies;
 * from 64rem the desktop grid below takes over.
 */
@media (max-width: 47.99rem) {
  .zoey-make-feature > .zoey-surface__content {
    display: grid;

    /*
     * `minmax(0, …)` on both tracks, so neither column can refuse to shrink. Without the first
     * one the picture's own width is a floor, and at 200% text the card overflowed its phone by
     * 5px — caught by the reflow sweep, fixed here rather than accepted.
     */
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: start;
    column-gap: var(--wp--preset--spacing--40);
  }

  /* Document order is untouched: title, invitation, picture, facts, button. */
  .zoey-make-feature__lead {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .zoey-make-feature__media {
    grid-column: 1;
    grid-row: 2;
  }

  /*
   * `display: contents` so the metadata and the button become grid items in their own right. The
   * metadata shares the picture's row; the button keeps the full width of the card, which is what
   * §6 asks for on a phone and what the picture would otherwise have indented it out of. The
   * element stays in the markup because the desktop grid below places it as one thing.
   */
  .zoey-make-feature__tail {
    display: contents;
  }

  .zoey-make-feature__facts {
    grid-column: 2;
    grid-row: 2;
  }

  .zoey-make-feature__action {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  /*
   * The cap is in pixels, and deliberately: this is **artwork**, not type. A rem cap doubles with
   * the root font size, so at 200% text the picture grew to fill the column it was supposed to be
   * sharing. A reader who doubles their text wants bigger *words*, not a bigger photograph — and
   * `max-inline-size` lets the picture give the column back whatever it needs.
   */
  .zoey-make-feature__image {
    max-block-size: 120px;
    max-inline-size: 100%;
    inline-size: auto;
  }
}

/*
 * One column again when the card has stopped being wide enough for two — which is a question
 * about the reader's text size, not about the window.
 *
 * The phone grid above puts the preview picture beside the metadata, and MAKE-009's physical pass
 * depends on it: it is half of the two fixes that brought the call to action above a real iPhone's
 * fold. It is right at a phone's ordinary text size and wrong at a doubled one — measured at 320px
 * with the root font at 32px, the two tracks resolved to **90px and 30px**, and the metadata was
 * three characters wide.
 *
 * A **container query in `rem`** is the only mechanism that can tell those two situations apart,
 * and it is the one `surface.css` documents for exactly this reason: a media query's `rem` is
 * always the initial 16px, so a media query cannot see a reader's text zoom at all. The surface is
 * the query container; this responds to how wide the card is *in its own type*:
 *
 *   320px, normal text   288px card  = 18.0rem   two columns, unchanged
 *   390px, normal text   348px card  = 21.8rem   two columns, unchanged
 *   320px, 200% text     212px card  =  6.6rem   one column
 *   390px, 200% text     348px card  = 10.9rem   one column
 *
 * 16rem sits between the two groups with room on both sides, so nothing moves for any reader at an
 * ordinary text size at any width — verified at all three widths before and after.
 */
@container zoey-surface (max-width: 16rem) {
  .zoey-make-feature > .zoey-surface__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .zoey-make-feature__lead,
  .zoey-make-feature__media,
  .zoey-make-feature__facts,
  .zoey-make-feature__action {
    grid-column: 1;
  }

  /* The document's order, as rows, since the two-column arrangement is gone. */
  .zoey-make-feature__lead {
    grid-row: 1;
  }

  .zoey-make-feature__media {
    grid-row: 2;
  }

  .zoey-make-feature__facts {
    grid-row: 3;
  }

  .zoey-make-feature__action {
    grid-row: 4;
  }

  /* The picture has the whole column now, so the cap that shared one no longer applies. */
  .zoey-make-feature__image {
    max-block-size: 160px;
  }
}

@media (min-width: 48rem) {
  .zoey-make-feature > .zoey-surface__content,
  .zoey-make-feature__lead,
  .zoey-make-feature__tail {
    gap: var(--wp--preset--spacing--40);
  }

  .zoey-make-feature__image {
    max-block-size: 18rem;
  }

  .zoey-make-feature__action {
    display: flex;
  }
}

/*
 * §6's desktop composition, and the only place anything sits beside anything else. Below this
 * width the card is a single column in document order, which is the default above.
 */
@media (min-width: 64rem) {
  .zoey-make-feature > .zoey-surface__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 15rem);
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: var(--wp--preset--spacing--50);
  }

  .zoey-make-feature__lead {
    grid-column: 1;
    grid-row: 1;
  }

  .zoey-make-feature__tail {
    grid-column: 1;
    grid-row: 2;
  }

  /*
   * The picture spans both word rows, against declared row lines. `1 / -1` without
   * `grid-template-rows` has no last explicit line to reach and collapses into the first row,
   * which put a 152px gap between the eyebrow and the title — measured, then fixed here.
   */
  .zoey-make-feature__media {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }

  .zoey-make-feature__image {
    max-block-size: none;
    inline-size: 100%;
  }
}

/*
 * --- The promotional presentation (SL-003, D3) -------------------------------------------
 *
 * One opt-in block, every rule gated on `--promo`, placed after all three of the feature card's
 * grid arrangements so equal-specificity declarations resolve in its favour by order and the
 * higher-specificity ones by weight. **Nothing above this line changes**, which is the whole point:
 * `EPIC-006` measured the Make card's call to action 87px below a real iPhone's fold and the caps
 * above are half of what cleared it, so they are kept exactly as they are for the card that has a
 * call to action.
 *
 * A promo card has none. It is a forthcoming game's illustration with honest status text beneath
 * it, and the picture is the point rather than a preview sharing the row — so the three grids
 * collapse back to the single column the base already declares, and the caps lift.
 *
 * The picture keeps its own ratio. The box has no `aspect-ratio` and no `object-fit`, so a 3:2
 * master is shown **whole at the card's own width** with no crop and no distortion — which is what
 * `DESIGN-CONTRACT.md` §7.4 asks for, and the reason no `media_fit` was needed here.
 */
.zoey-make-feature--promo > .zoey-surface__content {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--30);
}

/*
 * The phone grid turns the tail into `display: contents` so the metadata and the button can become
 * grid items of their own. With no grid above it there is nothing for that to mean, and a promo
 * card has neither metadata nor a button — so the tail goes back to being the column it is
 * everywhere else, and renders as nothing at all while it stays empty.
 */
.zoey-make-feature--promo .zoey-make-feature__tail {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--30);
}

.zoey-make-feature--promo .zoey-make-feature__media {
  margin: 0;
}

/*
 * `max-block-size: none` is the opt-in, stated once and overriding all four of the default's caps
 * — 5rem base, 120px and 160px on a phone, 18rem from 48rem — because this selector carries one
 * more class than any of them.
 *
 * `inline-size: 100%` with `block-size: auto` is what keeps the ratio the master's own rather than
 * the box's. `max-inline-size: 100%` is restated because core's global image rules set it and a
 * promo picture must still never exceed its card.
 */
.zoey-make-feature--promo .zoey-make-feature__image {
  inline-size: 100%;
  max-inline-size: 100%;
  block-size: auto;
  max-block-size: none;
}

/* --- The compact card -------------------------------------------------------------------- */

/*
 * Plain white with a hairline, and deliberately not paper.
 *
 * §6 asks for expressive detail *selectively*, and the story is explicit that tape and torn edges
 * must not be added to every card. A list of further things to look at is not a sheet on the
 * table: one sheet on the page is what makes it the one the page is leading with. So the compact
 * card is not a `zoey_made_surface()` at all — it would be `plain`, which is a border and a
 * radius, and reaching for a component to get two declarations is the wrapper the catalog warns
 * against.
 */
.zoey-make-others__card {
  padding: var(--wp--preset--spacing--40);
  border: 1px solid var(--wp--preset--color--border-soft);
  border-radius: var(--wp--custom--radius--medium);
  background-color: var(--wp--preset--color--surface);
}

.zoey-make-others__title {
  margin: 0;
  font-size: var(--wp--preset--font-size--card-title);
  overflow-wrap: anywhere;
}

.zoey-make-others__meta {
  margin-block: var(--wp--preset--spacing--20) 0;
  color: var(--wp--preset--color--ink-soft);
  font-size: var(--wp--preset--font-size--body-small);
}

/*
 * A hairline is already a border rather than a tint, so the compact card survives forced colors
 * on its own; it is restated in the system's own colour so it follows the reader's palette rather
 * than insisting on ours. The feature card needs nothing here — `surface.css` puts its hairline
 * back, including the case where a torn variant had dropped it.
 */
@media (forced-colors: active) {
  .zoey-make-others__card {
    border-color: CanvasText;
  }
}

/* --- The collection card (SL-001) -------------------------------------------------------- */

/*
 * Soft paper, picture first, at every width.
 *
 * The same surface the feature card takes, at the same approved defaults, so nothing about the
 * paper is restated here. What is here is the composition, and it is deliberately the simplest
 * one in this file: a single column of picture, title, invitation, metadata and action, in
 * document order, with no second arrangement at any breakpoint. A card in a grid changes size,
 * not shape — which is `DESIGN-CONTRACT.md` §3's *"same image-above format on mobile"* and also
 * why there is no media query below.
 *
 * As with the feature card, the children sit inside `.zoey-surface__content`, so the column is
 * declared there and the card's own class stays on the root to be a grid item.
 *
 * `block-size: 100%` on both is what makes a row of cards reach the same bottom edge when their
 * titles wrap to different numbers of lines. It is the card stretching to its grid cell rather
 * than the grid squashing the card, so nothing inside is compressed and no text is clipped.
 */
.zoey-make-collection__card {
  block-size: 100%;
}

.zoey-make-collection__card > .zoey-surface__content {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--30);
  block-size: 100%;
}

/*
 * The picture's box: 3:2, which is the ratio `collection-card.css` already uses for the shop's
 * Collection tiles. Two components, one shape, so the two read as members of one system without
 * sharing an implementation — the renderer's header records why sharing one was ruled out.
 *
 * `aspect-ratio` rather than a height, so the box scales with the column and there is no fixed
 * dimension anywhere on this card. `overflow: hidden` with the radius is what crops a photograph
 * to the corner; `contain` never reaches the edges, so it crops nothing.
 */
.zoey-make-collection__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--wp--custom--radius--medium);
  background-color: var(--wp--preset--color--zoey-lavender-pale);
}

/*
 * **The descendant selector is the fix, and the bug it replaces is worth keeping written down.**
 *
 * This was `> :is(figure, img)` — a *child* selector — and the picture arrives wrapped in a
 * `<figure>`. So the figure was sized to the box and the `<img>` inside it was never sized at all.
 * `object-fit` then did nothing, because object-fit only has an effect when an element's box
 * differs from its content's intrinsic ratio, and the image's box *was* its intrinsic ratio.
 *
 * Measured, before the fix, in a 363x242 box: the real 480x640 project photograph rendered
 * 363x484 — width constrained by core's `img { max-width: 100% }`, height following the aspect —
 * and was clipped to its top half by `overflow: hidden`, which read as a crop nobody chose. A
 * 119x128 fixture picture rendered at 119x128 in the top-left corner and left most of a 363x242
 * lavender panel showing, which read as a **missing image**. It was neither: the file, the
 * attachment, the response and the decode were all correct.
 *
 * `:is(figure, img)` as a descendant reaches both the wrapper and the picture, so the image fills
 * the box and `object-fit` finally has something to do.
 */
.zoey-make-collection__media :is(figure, img) {
  display: block;
  margin: 0;
  inline-size: 100%;
  block-size: 100%;
}

/*
 * `max-inline-size` and `max-block-size` are stated because core's global image rules set
 * `max-width: 100%` and `height: auto`, and `height: auto` on a shorthand-adjacent property is
 * exactly the kind of thing that quietly wins. Both are the same 100% the sizing above asks for,
 * so they constrain nothing new; they stop something else constraining it.
 */
.zoey-make-collection__media img {
  max-inline-size: 100%;
  max-block-size: 100%;
  object-fit: cover;
}

/*
 * `contain` is for artwork that has to be seen whole — a diagram, a drawing, anything where a
 * crop would remove the subject. The pale ground behind it is the same one the empty state uses,
 * so a fitted picture sits on a deliberate colour rather than on a white gap.
 */
.zoey-make-collection__media--contain img {
  object-fit: contain;
}

/*
 * The missing-picture state, which is a tint and nothing else: no icon, no "no image" label, no
 * dashed outline. §3 asks for a *quiet, intentional* fallback, and the quietest honest thing a
 * card can say about a picture it does not have is to keep the space and stay silent. It carries
 * `aria-hidden` in the markup, so there is nothing here for a screen reader to meet.
 */
.zoey-make-collection__media--empty {
  display: grid;
  place-items: center;
  background-color: var(--wp--preset--color--zoey-lavender-pale);
}

/*
 * The doodle in the empty panel.
 *
 * Sized against the panel rather than against text — it is the only thing in the box, so
 * `1.5em` of a font it does not sit beside would be arbitrary. `20%` of the box's width keeps it
 * proportionate at every column width without a single media query, and the opacity keeps it a
 * *mark on a surface* rather than an illustration: the card still reads as a card whose picture
 * is yet to come, which is the honest thing for it to say.
 *
 * Lavender rather than `currentColor`: the body text's ink at this size would read as content.
 */
.zoey-make-collection__doodle {
  --zoey-doodle-size: 20%;

  inline-size: 20%;
  block-size: auto;
  aspect-ratio: 1;
  max-inline-size: 4rem;
  color: var(--wp--preset--color--zoey-lavender);
  opacity: 0.65;
}

/*
 * Forced colors replaces a background with the canvas colour, and a masked shape is painted with
 * `background-color` — so this doodle simply disappears there. That is correct and is stated
 * rather than left as an absence: it carries no information, and `doodle.css` records the same
 * boundary. A reader in high contrast loses a flourish and not a fact.
 */
@media (forced-colors: active) {
  .zoey-make-collection__doodle {
    display: none;
  }
}

/*
 * The words. `flex: 1` on the body and `margin-block-start: auto` on the action are the pair that
 * puts every card's button on the same line as its neighbours' without giving anything a fixed
 * height: the body grows into whatever the tallest card in the row established, and the action is
 * pushed to the bottom of it. A card with a long title and a card with a short one agree at the
 * button and nowhere else, which is the right thing for them to agree about.
 */
.zoey-make-collection__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--wp--preset--spacing--20);
}

/*
 * `overflow-wrap: anywhere` for the reason STORE-013 and PRODUCT-009 found twice and
 * `page-intro.css` records at length: it makes the minimum width of this text a character rather
 * than its longest word, which is what stops a long project name widening its grid column and
 * scrolling the page sideways at 320px and 200% text. A title whose words already fit is
 * unaffected.
 *
 * No `line-clamp`, no fixed height, no ellipsis. §3 is explicit, and a clamped invitation is a
 * sentence a reader cannot finish.
 */
.zoey-make-collection__title {
  margin: 0;
  font-size: var(--wp--preset--font-size--card-title);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.zoey-make-collection__invitation {
  margin: 0;
  color: var(--wp--preset--color--ink-soft);
  overflow-wrap: anywhere;
}

/*
 * Duration and help, as a description list rather than a sentence, because each value means
 * something particular and the label is what says which. One row per fact; the label is the
 * small caps-free lead and the value follows it on the same line, which keeps two facts to two
 * lines in a narrow column instead of four.
 *
 * `flex-wrap` rather than a fixed label column: a reader at 200% text gets the value on its own
 * line rather than a squeezed one.
 */
.zoey-make-collection__facts {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--10);
  margin: 0;
  font-size: var(--wp--preset--font-size--body-small);
}

.zoey-make-collection__fact {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.4em;
}

.zoey-make-collection__label,
.zoey-make-collection__value {
  margin: 0;
}

.zoey-make-collection__label {
  color: var(--wp--preset--color--ink-soft);
  font-weight: 700;
}

.zoey-make-collection__label::after {
  content: ":";
}

.zoey-make-collection__value {
  color: var(--wp--preset--color--ink-soft);
}

/*
 * The action. Spacing and placement only — the pill, the 44px box, the hover, the focus ring and
 * the forced-colors border are all `components/action.css`'s, exactly as they are on the feature
 * card. `.zoey-make-collection__cta` is a positioning hook with no declarations of its own.
 *
 * `margin-block-start: auto` is the bottom-alignment half of the pair described above.
 */
.zoey-make-collection__action {
  margin: var(--wp--preset--spacing--20) 0 0;
  margin-block-start: auto;
  padding-block-start: var(--wp--preset--spacing--20);
}

/* --- Print ------------------------------------------------------------------------------- */

/*
 * §11's economical ink. The feature card's paper and grain are already handled by `surface.css`;
 * what is left is the preview picture, which is the single most expensive thing on this card to
 * print and the one that carries least on paper — the guide is where the finished result is shown
 * properly, and a printed landing page is a reference to it.
 */
@media print {
  .zoey-make-feature__media,
  .zoey-make-collection__media {
    display: none;
  }

  .zoey-make-feature,
  .zoey-make-others__card,
  .zoey-make-collection__card {
    break-inside: avoid;
  }
}
