/* ===================================================================
   ea-empty — the "nothing matched" panel, for every surface that draws one.

   Ported from concept/mockups/02-site-v1/css/parts/ea-empty.css §5.25.

   WHY THIS FILE EXISTS. The panel is ONE object emitted by ONE function,
   `ea_filter_empty_markup()` in ea-filter.php, and until now its rules lived in
   `blocks/listing/style.css` §6, which only the catalogue loads. Three other
   surfaces emit the same markup and got none of it:

     /alternative-to/                     blocks/listing/render.php   (--band)
     /services/<category>/                themes/…/taxonomy-service-category.php
     /services-by-countries/<country>/    themes/…/taxonomy-service-country.php
     /search/                             search/render.php           (no modifier)

   Measured on 2026-09-09, before this file existed, on the two archives in both
   languages at 1440, 900 and 390: `.ea-empty__shell` computed
   `background: rgba(0,0,0,0)`, `border: 0px none`, `border-radius: 0px`,
   `padding: 0px`, `max-width: none`, `text-align: start`, against the
   catalogue's `rgb(245,247,250)`, `1px solid rgb(226,230,236)`, `10px`,
   `48px 24px`, `1080px`, `center`. Three surfaces disagreeing about one object
   is the definition of a part with no owner, and `css/pages/category-single.css`
   §4 and `css/pages/search-results.css` §5 both already name this file as the
   place the rules belong.

   THE RULES BELOW ARE `blocks/listing/style.css` §6 MOVED, NOT REWRITTEN. Not
   one declaration is added, removed or reordered, because the catalogue's panel
   is the reference the other three have to match and a "while we are here"
   improvement would move the reference out from under them. `ea-enqueue.php`
   makes this sheet a dependency of `ea-listing`, so the catalogue and the
   search page receive it in front of the sheet that used to carry it and their
   cascade is unchanged.

   WHAT THIS FILE DELIBERATELY DOES NOT DECLARE. The bare `.ea-empty` class,
   for the reason §6 below states. `.ea-btn-secondary`, which is the reset
   link's class and belongs to ea-content.css. `.ea-sr-empty*`, which is the
   search page's own extension of this object and stays in its page sheet.
   ==================================================================*/

/* -------------------------------------------------------------------
   §1 THE PANEL (§5.25, moved here from blocks/listing/style.css §6)

   The bare `.ea-empty` class stays undeclared, as in the mockup: whether the
   state sits inside a padded section or spans the page's own band is the
   page's decision and the pages that draw it differ on exactly that. The
   catalogue takes `--band`; both taxonomy archives take `--spaced`, which is
   `ea_filter_context_defaults()`'s own default, and the search page takes
   neither and lets `.ea-sr-empty` place it. All four now load this file, so
   the modifier is the only thing they still disagree about, which is the
   disagreement the design intends.

   THE STATE FILLS ITS COLUMN AND IS NEVER A CENTRED BLOCK (rule 9). Its left
   edge sat at x=266 at 1280 while every other element on the page started at
   x=100. The card fills the column; the text is centred inside the card.
   -------------------------------------------------------------------*/
.ea-empty--spaced {
    padding: var(--ea-s8) 0;
}
.ea-empty--band {
    padding: var(--ea-s8) var(--section-padding-x);
    background: var(--ea-surface);
}
@media (max-width: 767px) {
    .ea-empty--spaced {
        padding: var(--ea-s6) 0;
    }
    /* The two longhands, not the shorthand: the gutter is unchanged here. */
    .ea-empty--band {
        padding-top: var(--ea-s6);
        padding-bottom: var(--ea-s6);
    }
}
.ea-empty__shell {
    max-width: var(--site-content-width);
    margin: 0 auto;
    padding: var(--ea-s7) var(--ea-s5);
    border: 1px solid var(--ea-line);
    border-radius: var(--ea-radius-card);
    background: var(--ea-surface-muted);
    text-align: center;
}
.ea-empty__title {
    margin: 0 0 var(--ea-s3);
    color: var(--ea-blue-900);
}
/* The measure caps the paragraphs, not the shell: the shell is the state's
   ground and the page sets how wide that is (01 §4.4). */
.ea-empty__what,
.ea-empty__hint {
    max-width: var(--ea-measure);
    margin-inline: auto;
}
.ea-empty__what {
    margin: 0 auto var(--ea-s2);
    color: var(--ea-ink-700);
}
.ea-empty__hint {
    margin: 0 auto var(--ea-s4);
    color: var(--ea-ink-500);
    font-size: 0.94rem;
    line-height: 26px;
}
.ea-empty__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--ea-s5);
    margin: var(--ea-s5) 0 0;
}
/* 44px per 01 §11, and `inline-flex` so the target is the label's width
   rather than a full-width strip. */
.ea-empty__submit {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ea-blue-700);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
.ea-empty__submit:hover {
    color: var(--ea-blue-500);
}
