/*
 * Stoei Core recipe: directory.
 *
 * Optional add-on for directory sites (businesses, places, people). Load it
 * after web.css and before the site's theme file, only on sites that need it.
 * Holds: listing cards (featured, location, mention), area cards and bands,
 * people (cards, photo circle, person page, "Works at", "Shared by"), the
 * filter bar, the listing page (photos, contact box, opening hours, contact
 * bar, branches) and the "Send a message" box.
 *
 * Like every Stoei Core file it only reads settings from tokens.css. Its own
 * component settings are below; a theme can override them.
 */

:root {
  --st-contact-bar-height: 72px;          /* phones: the fixed bar at the bottom of a listing */
  --st-contact-bar-button-height: 56px;
  --st-contact-bar-height-tall: 100px;    /* the bar with an "after hours" line above its buttons */
}

/* Featured listing: wide, amber border, warm background. */
.st-card--featured { flex-direction: row; flex-wrap: wrap; background: var(--st-color-featured); border-color: var(--st-color-accent); }
.st-card--featured__photo { flex: 1 1 360px; }
.st-card--featured__photo .st-photo { height: 100%; min-height: 240px; aspect-ratio: auto; }
.st-card--featured .st-card__body { flex: 999 1 360px; padding: var(--st-space-7); gap: var(--st-space-2); justify-content: center; }
.st-card--featured .st-meta { margin-top: var(--st-space-2); }
/* Area group card: links of its own, so no stretched link. */
.st-card--area { padding: var(--st-space-6); gap: var(--st-space-3); }
.st-card--area .st-card__title { font-size: var(--st-text-8); }
.st-card__places { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--st-space-2); font-size: var(--st-text-small); }
.st-card__places { color: var(--st-color-text-muted); }
.st-card__places a { color: var(--st-color-text); text-decoration: underline; text-decoration-color: var(--st-color-line); text-underline-offset: 3px; }
.st-card__places a:hover { color: var(--st-color-accent); text-decoration-color: currentColor; }
/* Listing mentioned inside an article. */
.st-card--mention { flex-direction: row; flex-wrap: wrap; font-size: var(--st-text-5); line-height: var(--st-leading-body); }
.st-card--mention__photo { flex: 1 1 180px; }
.st-card--mention__photo .st-photo { height: 100%; min-height: 140px; aspect-ratio: auto; }
.st-card--mention .st-card__body { flex: 999 1 280px; padding: var(--st-space-5) var(--st-space-5); gap: var(--st-space-1); }
.st-card--mention .st-card__title { font-size: var(--st-text-9); }
.st-prose .st-card--mention a { text-decoration: none; }

/* A listing's locations (main listing and its branches): no photo. */
.st-card--location .st-card__body { padding: var(--st-space-5); gap: var(--st-space-1); }
.st-card--location .st-card__title { font-size: var(--st-text-8); }
.st-card--location .st-card__cta, .st-card__here { margin-top: auto; padding-top: var(--st-space-2); font-size: var(--st-text-small); }
.st-card__here { color: var(--st-color-text-muted); }
.st-grid--listings { --st-grid-min: 260px; }
.st-grid--areas    { --st-grid-min: 210px; grid-template-columns: repeat(auto-fit, minmax(var(--st-grid-min), 1fr)); }
.st-grid--locations { --st-grid-min: 220px; }
.st-grid--people { --st-grid-min: 240px; }
/* Person card (People): photo circle beside the name, role and link */
.st-card--person .st-card__body { flex-direction: row; align-items: flex-start; gap: var(--st-space-4); padding: var(--st-space-5); }
.st-card--person .st-card__text { display: flex; flex-direction: column; gap: var(--st-space-1); min-width: 0; flex: 1; }
.st-card--person .st-card__title { font-size: var(--st-text-8); overflow-wrap: anywhere; }
/* Photo circle: a person's initials until photos can be uploaded */
.st-avatar { flex: none; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: var(--st-radius-pill); background: var(--st-color-placeholder); color: var(--st-color-on-placeholder); font-family: var(--st-font-display); font-weight: var(--st-weight-heading); font-size: var(--st-text-8); line-height: 1; letter-spacing: 0.02em; }
.st-avatar--lg { width: 112px; height: 112px; font-size: var(--st-text-14); }
img.st-avatar { object-fit: cover; padding: 0; }
/* ---------- 14. Filter bar ---------- */

.st-filter__form {
  background: var(--st-color-surface); border: var(--st-line-width) solid var(--st-color-line); border-radius: var(--st-radius-card);
  padding: var(--st-space-4); display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--st-space-3) var(--st-space-4);
}
.st-filter__form .st-field { flex: 1 1 200px; }
.st-filter__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--st-space-3); min-height: var(--st-control-height); }
.st-filter__clear { font-weight: var(--st-weight-strong); padding: var(--st-space-2); }
.st-filter__count { color: var(--st-color-text-muted); font-size: var(--st-text-small); margin-right: var(--st-space-2); }
/* Filter box (or the phone's Filters button), then the count, then the cards.
   The gap holds even when a site adds a stack class to .st-filter. */
.st-filter { display: flex; flex-direction: column; gap: var(--st-count-space); }
.st-filter + .st-after-head { margin-top: var(--st-count-to-results); }
/* On phones the form folds behind a "Filters (2)" button: a plain <details>,
   so it opens and closes without JavaScript. On wider screens the script opens
   it and the button hides; browsers that can style the box's contents show
   the form even without the script. */
.st-filter__toggle {
  display: flex; justify-content: space-between; align-items: center; gap: var(--st-space-3);
  min-height: var(--st-control-height); padding: 0 var(--st-space-4); border: var(--st-line-width) solid var(--st-color-line); border-radius: var(--st-radius-control);
  background: var(--st-color-surface); color: var(--st-color-text); font-weight: var(--st-weight-strong); cursor: pointer; list-style: none;
}
.st-filter__toggle::-webkit-details-marker { display: none; }
.st-filter__toggle::after {
  content: ""; width: 8px; height: 8px; margin-left: auto; flex: none;
  border-right: 2px solid var(--st-color-text-muted); border-bottom: 2px solid var(--st-color-text-muted); transform: translateY(-2px) rotate(45deg);
}
.st-filter__fold[open] > .st-filter__toggle { margin-bottom: var(--st-space-3); }
.st-filter__fold[open] > .st-filter__toggle::after { transform: translateY(2px) rotate(-135deg); }
.st-filter__toggle:hover { border-color: var(--st-color-accent); }
.st-filter__badge {
  display: inline-block; min-width: 22px; padding: 1px var(--st-space-2); border-radius: var(--st-radius-pill);
  background: var(--st-color-accent); color: var(--st-color-on-accent); font-size: var(--st-text-2); line-height: 1.5; text-align: center;
}
@media (max-width: 720px) {
  .st-filter__fold .st-filter__form { flex-direction: column; align-items: stretch; }
  .st-filter__fold .st-filter__form .st-field { flex: none; }
  .st-filter__fold .st-filter__actions { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (min-width: 721px) {
  .st-js .st-filter__fold > .st-filter__toggle { display: none; }
  @supports selector(::details-content) {
    .st-filter__fold > .st-filter__toggle { display: none; }
    .st-filter__fold::details-content { content-visibility: visible; display: contents; }
  }
}

/* Business forms (Add your business, Ask for changes). */
/* "Already listed?" under a business name box: informs, never blocks. */
.st-listed { border: var(--st-line-width) solid var(--st-color-accent); background: var(--st-color-featured); border-radius: var(--st-radius-control); padding: var(--st-space-3) var(--st-space-4); font-size: var(--st-text-caption); margin: 0; }
.st-listed a { font-weight: var(--st-weight-strong); }
/* "Ask for changes": the old value under a box once it's changed ("On the site now: ..."). */
.st-was { font-size: var(--st-text-caption); color: var(--st-color-text-muted); margin: 0; }
.st-was[hidden] { display: none; }
/* Opening hours on a visitor form: a day per row on phones, two columns on wider screens. */
.st-hours { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--st-space-2); min-width: 0; }
.st-hours__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--st-space-3) var(--st-space-5); }
.st-hours__day { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); align-items: center; gap: var(--st-space-1) var(--st-space-3); }
.st-hours__day .st-field__msg { grid-column: 2; }

/* Area pages: a warm full-width band with an optional photo beside the text. */
.st-band { background: var(--st-color-sunk); padding-block: var(--st-section-space); }
.st-band__inner { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--st-space-7); }
.st-band__inner > .st-head { flex: 999 1 520px; }
.st-band__media { flex: 1 1 320px; }
.st-band__media .st-photo { border-radius: var(--st-radius-card); }

/* ---------- 22. Listing page ---------- */

/* Photos: one big, up to two beside it. */
.st-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: var(--st-space-3); }
.st-gallery--single { grid-template-columns: 1fr; }
.st-gallery .st-photo { border-radius: var(--st-radius-card); height: 100%; }
.st-gallery__main .st-photo { min-height: 380px; aspect-ratio: auto; }
.st-gallery--single .st-gallery__main .st-photo { aspect-ratio: 21 / 9; min-height: 0; }
.st-gallery__side { display: grid; grid-auto-rows: 1fr; gap: var(--st-space-3); }
.st-gallery__item { position: relative; min-height: 184px; }
.st-gallery__item .st-photo { position: absolute; inset: 0; aspect-ratio: auto; }
/* Each photo is a link that opens the lightbox (0.14.0): the link fills the photo's place. */
.st-gallery .st-photo-link { height: 100%; }
.st-gallery__all { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
@media (max-width: 720px) {
  .st-gallery { grid-template-columns: 1fr; }
  .st-gallery__main .st-photo, .st-gallery__item { min-height: 0; aspect-ratio: 4 / 3; }
  .st-gallery__side { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  }

/* Main column and the contact box beside it; the box drops below on narrow screens. */
.st-listing { display: flex; flex-wrap: wrap; gap: var(--st-space-8); }
.st-listing__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: var(--st-space-8); }
.st-listing__aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: var(--st-space-5); }
/* Section headings inside the listing (About, Opening hours...): one size, whatever the level. */
.st-listing__main section > :is(h2, h3, h4):first-child { font-size: var(--st-text-12); margin-bottom: var(--st-space-3); }
.st-listing__main section > p + p { margin-top: var(--st-space-4); }

.st-listing-head { gap: var(--st-space-3); }
.st-listing-head .st-contact-bar { margin-top: var(--st-space-2); }
.st-contact-bar__phone { display: none; } /* a button only the phone bar shows (e.g. Book; the contact box has it on wider screens) */

/* Contact bar (templates/.../contact-bar.php; kept as one block so it can move
   into a plugin). Wide screens: a row of buttons. Phones: fixed to the bottom
   of the screen, buttons share the width, icon above the word; the page gets
   matching space at the bottom so nothing hides behind it. No JavaScript
   (only the Email button waits for it, see contact-bar.php).
   No safe-area padding: some Android browsers report a changing bottom inset
   while scrolling, which left a gap under the buttons and made the bar
   wiggle (Jansie's phone, 12 Nov 2026). */
@media (max-width: 720px) {
  .st-contact-bar--sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; margin: 0;
    flex-wrap: nowrap; gap: var(--st-space-2);
    padding: var(--st-space-2) var(--st-gutter);
    background: var(--st-color-surface); border-top: var(--st-line-width) solid var(--st-color-line);
    transform: translateZ(0); /* own layer: steadier when the browser's address bar slides away (DuckDuckGo) */
  }
  .st-listing-head .st-contact-bar--sticky { margin-top: 0; }
  .st-contact-bar--sticky .st-btn {
    flex: 1 1 0; min-width: 0; flex-direction: column; gap: 2px;
    min-height: var(--st-contact-bar-button-height); padding: var(--st-space-1) var(--st-space-2); font-size: var(--st-text-caption);
  }
  .st-contact-bar--sticky .st-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  body:has(.st-contact-bar--sticky:not([hidden])) { padding-bottom: var(--st-contact-bar-height); }
  /* With Message in the bar, Website stays in the contact box only, so four buttons fit. */
  .st-contact-bar--sticky .st-contact-bar__wide { display: none; }
  /* Four buttons or more (e.g. Call, Email, Message, Directions): a little less side room, so
     "Directions" still fits on a 360px phone. */
  .st-contact-bar--sticky .st-contact-bar__phone { display: inline-flex; }
  .st-contact-bar--sticky:has(> a:nth-of-type(4)) { gap: var(--st-space-2); padding-inline: var(--st-space-3); }
  .st-contact-bar--sticky:has(> a:nth-of-type(4)) .st-btn { padding-inline: 2px; }
  /* After hours (phone numbers only while open): a plain line above the buttons,
     "Calls from 9 AM tomorrow". Not a button, so it doesn't look like one. */
  .st-contact-bar--sticky:has(> .st-contact-bar__from:not([hidden])) { flex-wrap: wrap; row-gap: var(--st-space-1); }
  .st-contact-bar--sticky .st-contact-bar__from { display: block; flex: 1 0 100%; order: -1; margin: 0; text-align: center; font-size: var(--st-text-small); color: var(--st-color-text-muted); }
  body:has(.st-contact-bar__from:not([hidden])) { padding-bottom: var(--st-contact-bar-height-tall); }
}
.st-contact-bar__from { display: none; }
/* Today's row in the opening hours. */
.st-hours tr.is-today th, .st-hours tr.is-today td { font-weight: 700; color: var(--st-color-text); }
.st-hours th + td { padding-left: var(--st-space-4); }

.st-hours { width: 100%; max-width: 420px; border-collapse: collapse; font-size: var(--st-text-5); }
.st-hours tr { border-bottom: var(--st-line-width) solid var(--st-color-line); }
.st-hours th { text-align: left; font-weight: var(--st-weight-strong); padding: var(--st-space-2) 0; }
.st-hours td { text-align: right; padding: var(--st-space-2) 0; color: var(--st-color-text-muted); }

.st-contact { background: var(--st-color-surface); border: var(--st-line-width) solid var(--st-color-line); border-radius: var(--st-radius-card); padding: var(--st-space-6); display: flex; flex-direction: column; gap: var(--st-space-4); font-size: var(--st-text-5); }
.st-contact__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--st-space-4); }
.st-contact__list li { display: flex; gap: var(--st-space-3); overflow-wrap: anywhere; }
.st-contact .st-icon, .st-location__address .st-icon { margin-top: var(--st-space-1); color: var(--st-color-text-muted); }
.st-contact__claim { padding-top: var(--st-space-4); border-top: var(--st-line-width) solid var(--st-color-line); color: var(--st-color-text-muted); font-size: var(--st-text-small); }
.st-contact__claim a { font-weight: var(--st-weight-strong); }
.st-contact__claim:first-child { padding-top: 0; border-top: 0; }
/* The site's own contact details (templates/default/contact-details.php). */
.st-contact__status { display: flex; gap: var(--st-space-3); margin: 0; }
.st-contact-line { margin: 0; }
.st-open { color: var(--st-color-ok); }
.st-closed { color: var(--st-color-bad); }

/* Listing fields (mockup approved 16 Nov 2026): short facts under the name, the
   booking button and social links in the contact box, closed notices, stay times. */
.st-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--st-space-1) var(--st-space-3); font-size: var(--st-text-small); color: var(--st-color-text-muted); }
.st-facts li { display: inline-flex; align-items: center; gap: var(--st-space-3); }
.st-facts li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.st-facts strong { color: var(--st-color-text); font-weight: var(--st-weight-strong); }
.st-contact__book { justify-content: center; width: 100%; }
.st-contact .st-contact__book .st-icon, .st-contact .st-social .st-icon { margin-top: 0; color: currentColor; }
.st-social a { width: var(--st-touch); height: var(--st-touch); display: grid; place-items: center; border: var(--st-line-width) solid var(--st-color-line); border-radius: var(--st-radius-control); color: var(--st-color-text); }
.st-social a:hover { background: var(--st-color-sunk); }
.st-notice { border: var(--st-line-width) solid var(--st-color-line); background: var(--st-color-sunk); border-radius: var(--st-radius-control); padding: var(--st-space-3) var(--st-space-4); display: flex; flex-direction: column; gap: 2px; font-size: var(--st-text-small); }
.st-notice strong { font-size: var(--st-text-5); color: var(--st-color-text); }
.st-notice--closed { background: transparent; border-color: var(--st-color-bad); }
.st-notice--closed strong { color: var(--st-color-bad); }
/* Closed band (core 0.11.0): a listing that is closed for good or for now
   says so first, full width right under the site header, and stays on
   screen while scrolling, below the admin bar for signed-in people (and
   below anything else that sets --st-sticky-top). In the site's accent
   color. Not a heading: the name stays the page's only h1. A #link stops
   below it. Markup: Stoei CMS part closed-band.php. */
.st-closed-band {
  position: sticky; top: var(--st-sticky-top, 0px); z-index: 60;
  background: var(--st-color-accent); color: var(--st-color-on-accent);
}
.st-closed-band__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--st-space-1) var(--st-space-3); padding-block: var(--st-space-3); }
.st-closed-band .st-icon { flex: none; }
.st-closed-band strong { font-weight: 700; }
.st-closed-band a { color: inherit; font-weight: var(--st-weight-strong); text-decoration: underline; text-underline-offset: 3px; margin-left: auto; }
.st-closed-band a:hover { text-decoration-thickness: 2px; }
.st-closed-band a:focus-visible { outline: var(--st-focus-width) solid currentColor; outline-offset: var(--st-focus-offset); }
:root:has(.st-closed-band) { --st-closed-band-height: 3rem; scroll-padding-top: calc(var(--st-sticky-top, 0px) + var(--st-closed-band-height)); }
@media (max-width: 720px) {
  .st-closed-band__inner { padding-block: var(--st-space-2); gap: 0 var(--st-space-2); font-size: var(--st-text-small); }
  .st-closed-band a { margin-left: 0; }
  :root:has(.st-closed-band) { --st-closed-band-height: 4rem; }
}
@media print { .st-closed-band { position: static; } }
.st-times { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--st-space-3); max-width: 420px; }
.st-times div { border: var(--st-line-width) solid var(--st-color-line); border-radius: var(--st-radius-control); background: var(--st-color-surface); padding: var(--st-space-3) var(--st-space-4); }
.st-times span { display: block; font-size: var(--st-text-label); font-weight: var(--st-weight-strong); letter-spacing: .06em; text-transform: uppercase; color: var(--st-color-text-muted); }
.st-times b { font-family: var(--st-font-display); font-size: var(--st-text-h3); font-weight: var(--st-weight-heading); }
.st-note-line { display: flex; gap: var(--st-space-2); align-items: flex-start; margin: var(--st-space-3) 0 0; font-size: var(--st-text-small); }
.st-note-line .st-icon { margin-top: var(--st-space-1); color: var(--st-color-text-muted); flex: none; }
.st-card__closed { justify-self: start; align-self: flex-start; margin: 0; font-size: var(--st-text-label); font-weight: 700; padding: 1px var(--st-space-3); border-radius: var(--st-radius-pill); border: var(--st-line-width) solid var(--st-color-bad); color: var(--st-color-bad); }

/* A short line beside a listing, e.g. "One of 3 Copper & Oak locations". */
.st-branch-note { margin: 0; background: var(--st-color-sunk); border-radius: var(--st-radius-card); padding: var(--st-space-3) var(--st-space-4); font-size: var(--st-text-small); }
.st-branch-note a { font-weight: var(--st-weight-strong); }
/* A person's page: photo circle beside the name; the contact bar under both */
.st-person-head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--st-space-4) var(--st-space-6); }
.st-person-head--plain { grid-template-columns: 1fr; }
.st-person-head__text { display: flex; flex-direction: column; gap: var(--st-space-3); min-width: 0; }
.st-person-head .st-chips { margin-top: 0; }
.st-person-head .st-head__title { overflow-wrap: anywhere; }
.st-person-head .st-contact-bar { grid-column: 1 / -1; }
@media (max-width: 560px) {
  .st-person-head { grid-template-columns: 1fr; }
  .st-avatar--lg { width: 88px; height: 88px; font-size: var(--st-text-12); }
}
/* "Works at" box beside a person's details */
.st-works-at { margin-top: var(--st-space-5); display: flex; flex-direction: column; gap: var(--st-space-2); }
.st-message + .st-works-at { margin-top: 0; } /* after the form, the column's own gap is enough */
.st-works-at__name { font-family: var(--st-font-display); font-size: var(--st-text-8); font-weight: var(--st-weight-heading); overflow-wrap: anywhere; }
.st-works-at__line { display: flex; gap: var(--st-space-2); color: var(--st-color-text-muted); font-size: var(--st-text-small); }
/* "Shared by" at the end of an article */
.st-shared-by { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--st-space-3); }
.st-shared-by__item { display: flex; align-items: center; gap: var(--st-space-4); padding: var(--st-space-5); border: var(--st-line-width) solid var(--st-color-line); border-radius: var(--st-radius-card); background: var(--st-color-surface); overflow-wrap: anywhere; }
.st-shared-by__label { display: block; } /* with .st-eyebrow for the look */
#locations { scroll-margin-top: var(--st-scroll-offset); }

.st-location__address { display: flex; gap: var(--st-space-3); }
.st-location__link { font-weight: var(--st-weight-strong); align-self: flex-start; }

/* "Send a message" box beside a listing or person (message-form.php). */
.st-message { scroll-margin-top: var(--st-space-6); }
.st-message__head { display: flex; flex-direction: column; gap: var(--st-space-1); }
.st-message__title { font-family: var(--st-font-display); font-size: var(--st-text-10); font-weight: var(--st-weight-heading); line-height: var(--st-leading-tight); overflow-wrap: anywhere; }
.st-message__title--bad { color: var(--st-color-bad); }
.st-message__title:focus { outline: none; }
.st-message__head a[href^="tel:"] { white-space: nowrap; }
/* Back-to-top button (web.css): on phones it sits above the contact bar. */
@media (max-width: 720px) {
  body:has(.st-contact-bar--sticky:not([hidden])) .st-totop { bottom: calc(var(--st-contact-bar-height) + var(--st-space-3)); }
}

/* ---------- Contact buttons on a listing card (owner rule 2026-11-18) ----------
   Call, WhatsApp, Website and the like at the foot of a card. They sit side by
   side only when the card itself is wide enough (a container query on the
   card's width, not the screen's), and stack one per row otherwise, so a
   label is never squeezed. A primary button always takes its own row. They
   sit above the card's own full-card link. The group alone is pushed to the
   card's bottom (margin-top: auto), so buttons line up across a row while the
   text above stays at the top; an empty group is hidden. */
.st-card__contact { container-type: inline-size; position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: var(--st-space-2); margin-top: auto; padding-top: var(--st-space-3); }
.st-card__contact .st-btn { flex: 1 1 100%; min-width: 0; min-height: var(--st-touch); justify-content: center; padding-inline: var(--st-space-4); font-size: var(--st-text-small); white-space: nowrap; }
@container (min-width: 18rem) {
  .st-card__contact .st-btn:not(.st-btn--primary) { flex: 1 1 0; }
}
.st-card__contact:not(:has(*)) { display: none; }
