/* site.css — the pages rendered on the server (src/web.js): the menu of the site in the header, the lists of the
   showcase with their filters, the pages of a company, a catalogue entry and an event, the partners.
   Loaded after app.css, kit.css and blocks.css. The classes of app.css are used as they are (.btn, .pill, .card,
   .field, .input, .select, .pager, the event card); everything added here is prefixed web-.
   No style attribute exists in the markup (CSP): every variant is a class or a data attribute. */

/* ---------- 1. Header: the menu of the site ---------- */
/* Phones: the menu is behind the menu button of app.css. From 768 px it is a row of its own under the brand; a short
   menu (data-menu, counted by src/web.js) joins the brand's row from 1200 px, a medium one from 1600 px. */
.web-nav { display: none; min-width: 0; }
.web-nav ul, .web-menu ul { margin: 0; padding: 0; list-style: none; }
.web-nav li, .web-menu li { margin: 0; }
.web-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--navy);
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.web-nav a:hover { background: var(--blue-50); color: var(--blue-800); }
.web-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 5px;
  height: 2px;
  border-radius: 1px;
  background: var(--blue);
}
@media (min-width: 768px) {
  .web-header .header-inner { flex-wrap: wrap; row-gap: 0; }
  .web-nav { display: block; order: 3; flex: 1 0 100%; margin: 0 -12px; padding-bottom: 8px; }
  .web-nav ul { display: flex; flex-wrap: wrap; gap: 2px; }
}
/* two rows are too tall to keep on screen: the header of these pages scrolls away until the menu fits the brand's row */
@media (min-width: 768px) and (min-height: 560px) {
  .web-header { position: relative; }
  :root:has(.web-header) { --sticky-top: 0px; }
}
@media (min-width: 1200px) {
  .web-header[data-menu="short"] .header-inner { flex-wrap: nowrap; }
  .web-header[data-menu="short"] .web-nav { order: 0; flex: 1 1 auto; margin: 0 0 0 12px; padding: 0; }
}
@media (min-width: 1200px) and (min-height: 560px) {
  .web-header[data-menu="short"] { position: sticky; }
  :root:has(.web-header[data-menu="short"]) { --sticky-top: var(--header-h); }
}
@media (min-width: 1600px) {
  .web-header[data-menu="medium"] .header-inner { flex-wrap: nowrap; }
  .web-header[data-menu="medium"] .web-nav { order: 0; flex: 1 1 auto; margin: 0 0 0 12px; padding: 0; }
}
@media (min-width: 1600px) and (min-height: 560px) {
  .web-header[data-menu="medium"] { position: sticky; }
  :root:has(.web-header[data-menu="medium"]) { --sticky-top: var(--header-h); }
}

/* the phone's menu: the sections one under the other, then the language and the buttons of app.css */
.web-menu { padding-top: 8px; }
.web-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--gray-50);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.web-menu a[aria-current="page"] { color: var(--blue); }
/* without scripts nothing opens the menu of a phone: it stays open under the header */
@media (scripting: none) and (max-width: 767.98px) {
  .web-header .burger { display: none; }
  .web-header .mobile-menu[hidden] { display: block !important; }
}

/* The language switch as links (the server renders the page again): the look of the buttons that i18n.js puts into
   .lang-switch on the static pages, in the header, in the phone's menu and on the navy footer. */
.web-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 34px;
  padding: 0 8px;
  border-radius: 7px;
  color: var(--navy);
  font-size: .8125rem;
  font-weight: 700;
  text-decoration: none;
}
.web-lang:hover { background: var(--blue-50); color: var(--navy); }
.web-lang[aria-current="true"] { background: var(--navy); color: #FFFFFF; }
@media (max-width: 767.98px) { .web-lang { min-height: 38px; } }
@media (max-width: 399.98px) { .web-lang { min-width: 38px; padding: 0 6px; } }
.on-dark .web-lang { color: #FFFFFF; }
.on-dark .web-lang:hover { background: rgba(255, 255, 255, .12); color: #FFFFFF; }
.on-dark .web-lang[aria-current="true"] { background: #FFFFFF; color: var(--navy); }

/* the footer: the sections and the links of the site settings in two columns, the networks under the text */
@media (min-width: 480px) {
  .web-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}
.web-social { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; list-style: none; }
.web-social li { margin: 0; }
.web-social a { color: #FFFFFF; font-weight: 600; }

/* a draft opened from the studio: said once, above the page */
.web-preview { background: var(--amber-50); border-bottom: 1px solid #F3D8A6; color: var(--amber-800); font-weight: 600; font-size: .9375rem; }
.web-preview .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
.web-preview p { margin: 0; min-width: 0; }

/* ---------- 2. The frame of a page ---------- */
.web-wrap { padding-top: 20px; padding-bottom: 56px; }
@media (min-width: 768px) { .web-wrap { padding-top: 28px; padding-bottom: 72px; } }

.web-crumbs { margin-bottom: 14px; color: var(--muted); font-size: .875rem; }
.web-crumbs ol { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0; padding: 0; list-style: none; }
.web-crumbs li { display: flex; gap: 8px; margin: 0; min-width: 0; padding: 4px 0; overflow-wrap: anywhere; }
.web-crumbs li + li::before { content: "/"; color: var(--line-2); }
.web-crumbs a { color: var(--muted); }
.web-crumbs a:hover { color: var(--blue-700); }
.web-crumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

.web-head { max-width: 47.5rem; margin-bottom: 20px; }
.web-head h1, .web-profile h1, .web-offer h1, .web-event-head h1 { font-size: clamp(1.6rem, 1.25rem + 1.7vw, 2.4rem); line-height: 1.12; overflow-wrap: anywhere; }
.web-head h1 { margin-bottom: 8px; }
.web-lead { max-width: var(--measure); margin: 0; color: var(--muted); font-size: 1.0625rem; overflow-wrap: anywhere; }

.web-section { margin-top: 32px; }
.web-section > h2 { margin-bottom: 12px; font-size: 1.25rem; }
/* typed by a company: its line breaks stay, a long word or a pasted link breaks inside */
.web-text { max-width: 47.5rem; margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.web-note { margin: 0; color: var(--muted); font-size: .875rem; }
.web-where { margin: 0; color: var(--muted); font-size: .875rem; font-weight: 600; overflow-wrap: anywhere; }
.web-kind { margin: 0; color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; overflow-wrap: anywhere; }
.web-count { color: var(--muted); font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.web-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; }
.web-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* «Проверено», and by whom: the mark is drawn here, so it is there before and without the scripts */
.web-verified {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 2px 0 0;
  color: var(--green-700);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.web-verified::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23075F11' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l7 2.5v5.5c0 4.5-3 7.8-7 9-4-1.2-7-4.5-7-9V6z'/%3E%3Cpath d='M9 12l2.2 2.2L15.5 10'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}

/* The certificates of a company in two groups: the organisers saw the document, or the company declares it.
   Quiet on purpose: a name in a thin frame, the group said once above its names. */
.web-certs { display: grid; gap: 6px; margin: 8px 0 0; }
.web-certs > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-width: 0; }
/* the list also stands inside the facts of a company page: its names keep their own look there */
.web-certs > div > dt { color: var(--muted); font-size: .8125rem; font-weight: 600; line-height: 1.4; }
.web-certs > .web-certs-checked > dt { color: var(--green-700); }
.web-certs > div > dd { display: flex; flex-wrap: wrap; gap: 4px 6px; min-width: 0; margin: 0; }
.web-facts .web-certs { margin-top: 4px; }
.web-cert {
  min-width: 0;
  padding: 2px 8px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--card);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
/* whose words the page prints: said once, under everything the company says of itself */
.web-trust { padding-top: 12px; border-top: 1px solid var(--gray-50); font-size: .8125rem; line-height: 1.45; }

/* A logo, or the initials of the name on one of three tints of the palette (src/web.js picks it by the id) */
.web-logo {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #FFFFFF;
  object-fit: contain;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
  overflow: hidden;
}
img.web-logo { padding: 4px; }
.web-logo-lg { width: 72px; height: 72px; font-size: 1.375rem; border-radius: 14px; }
.web-logo-xl { width: 88px; height: 88px; font-size: 1.75rem; border-radius: 16px; }
@media (min-width: 768px) { .web-logo-xl { width: 112px; height: 112px; font-size: 2.125rem; } }
.web-tint-0 { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-800); }
.web-tint-1 { background: var(--green-50); border-color: var(--green-100); color: var(--green-700); }
.web-tint-2 { background: var(--bg-2); border-color: var(--line); color: var(--navy); }

/* ---------- 3. Lists: filters, cards, pages ---------- */
/* a GET form: it works without scripts; with them a choice in a list sends it at once (site.js) */
.web-filters {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.web-filters > * { min-width: 0; }
.web-filters .field > label { font-size: .8125rem; }
.web-filter-actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.web-filter-actions .btn { flex: 1 1 auto; }
@media (min-width: 560px) {
  .web-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px; }
  .web-filter-search { grid-column: 1 / -1; }
  .web-filter-actions .btn { flex: 0 0 auto; }
}
@media (min-width: 1024px) {
  .web-filters { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; }
  /* the companies have a fourth list, the certificate: the search is the first child, the lists follow it */
  .web-filters:has(> .field:nth-child(5)) { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
}

.web-found { margin: 0 0 12px; color: var(--muted); font-size: .9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }

.web-grid { display: grid; gap: 12px; }
.web-grid > * { min-width: 0; }
@media (min-width: 1024px) { .web-grid { gap: 16px; } }
.web-grid-companies { grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); }
.web-grid-partners { grid-template-columns: repeat(auto-fill, minmax(min(100%, 25rem), 1fr)); }
@media (min-width: 560px) {
  .web-grid-catalog { grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); }
}

.web-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.web-card-title { margin: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; overflow-wrap: anywhere; }
.web-card-title a { color: var(--heading); text-decoration: none; }
/* the whole card opens what its title names; the ring of the keyboard goes around the card */
.web-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.web-card-title a:hover { color: var(--blue); }
.web-card-title a:focus-visible { outline: none; }
.web-card-title a:focus-visible::after { outline: 3px solid var(--focus); outline-offset: -3px; }
.web-card:has(.web-card-title a):hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.web-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  margin: 4px 0 0;
  overflow: hidden;
  font-size: .9375rem;
  overflow-wrap: anywhere;
}

.web-company { display: flex; align-items: flex-start; gap: 14px; padding: 16px; }
.web-company-text { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }

/* A catalogue entry. Phones: a row with a small picture, so that a screen holds several; from 560 px a card under
   its picture. Without a picture the cover carries the logo or the initials of the company over the girih pattern. */
.web-listing { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: start; gap: 12px; padding: 12px; }
.web-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 10px;
  background: var(--bg);
  overflow: hidden;
}
.web-cover > img:not(.web-logo) { display: block; width: 100%; height: 100%; object-fit: cover; }
.web-cover-none { background: var(--bg) url("../img/pattern.svg") center / 88px 88px; }
.web-listing-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.web-price { margin: 2px 0 0; color: var(--heading); font-weight: 800; overflow-wrap: anywhere; }
@media (max-width: 559.98px) {
  .web-listing .web-logo-lg { width: 56px; height: 56px; font-size: 1.125rem; border-radius: 12px; }
}
@media (min-width: 560px) {
  .web-listing { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
  .web-cover { aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); border-radius: 0; }
  .web-listing-text { flex: 1; padding: 14px 16px 16px; }
  /* the company stays on the last line of every card of a row */
  .web-listing .web-where { margin-top: auto; padding-top: 8px; }
}

/* nothing to show: what happened and what to do next, said in the place of the list */
.web-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 20px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.web-empty h2 { margin: 0; font-size: 1.25rem; }
.web-empty p { max-width: var(--measure); margin: 0 0 4px; color: var(--muted); }

/* a call under a list, for a visitor without a session */
.web-join {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 40px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.web-join > div:first-child { flex: 1 1 22rem; min-width: 0; }
.web-join h2 { margin-bottom: 6px; font-size: 1.25rem; }
.web-join p { max-width: var(--measure); margin: 0; color: var(--muted); }
.web-join-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 768px) { .web-join { padding: 24px 28px; } }
@media (max-width: 479.98px) { .web-join-actions, .web-join-actions .btn { flex: 1 1 100%; } }

/* ---------- 4. A company, a catalogue entry, an event ---------- */
.web-profile { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.web-profile > div { min-width: 0; }
.web-profile h1 { margin-bottom: 6px; }
@media (min-width: 768px) { .web-profile { gap: 24px; } }
@media (max-width: 359.98px) { .web-profile { flex-direction: column; } }

/* the text on the left, the card with the actions on the right; phones: one column in the order of the markup */
.web-cols { display: grid; gap: 24px; }
.web-cols > * { min-width: 0; }
.web-main-col > .web-section:first-child { margin-top: 0; }
@media (min-width: 960px) {
  .web-cols { grid-template-columns: minmax(0, 1fr) 21.25rem; align-items: start; gap: 32px; }
  .web-main-col { grid-column: 1; grid-row: 1; }
  .web-side { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--sticky-top) + 20px); }
}
/* a side card with no column beside it (the contacts under an event that asks for nothing else) */
.web-alone { max-width: 21.25rem; }
.web-side-card { display: grid; gap: 14px; padding: 20px; }
.web-side-card > * { min-width: 0; }
.web-side-card .web-verified { margin: 0; font-size: .9375rem; }
.web-side-card .web-verified::before { width: 18px; height: 18px; background-size: 18px 18px; }
.web-side-card .web-actions .btn { flex: 1 1 auto; }
.web-side-title { margin: 0; font-size: 1.0625rem; }

/* facts as a list of names and values: dense, aligned, figures of one width */
.web-facts { margin: 0; }
.web-facts > div { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 2px 16px; padding: 10px 0; border-top: 1px solid var(--gray-50); }
.web-facts > div:first-child { padding-top: 0; border-top: 0; }
.web-facts > div:last-child { padding-bottom: 0; }
.web-facts dt { color: var(--muted); font-size: .875rem; font-weight: 600; }
.web-facts dd { margin: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.web-section > .web-facts { max-width: 47.5rem; }
.web-side-card .web-facts > div { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 479.98px) { .web-facts > div { grid-template-columns: minmax(0, 1fr); } }
/* the terms of a catalogue entry next to its price: a few short lines, two columns on a phone too */
.web-terms { margin-bottom: 16px; }
.web-terms > div { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); padding: 4px 0; border-top: 0; }
@media (min-width: 480px) { .web-terms > div { grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); } }

.web-files { display: grid; gap: 8px; max-width: 34rem; margin: 0; padding: 0; list-style: none; }
.web-files li { margin: 0; }
.web-files a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  font-weight: 600;
  text-decoration: none;
}
.web-files a:hover { border-color: var(--blue-100); background: var(--blue-50); }
.web-files svg { width: 18px; height: 18px; }
.web-files span { min-width: 0; overflow-wrap: anywhere; }

.web-offer { display: grid; gap: 20px; }
.web-offer > * { min-width: 0; }
.web-offer h1 { margin: 6px 0 10px; }
.web-offer-plain { max-width: 47.5rem; }
.web-offer-price { margin: 0 0 16px; color: var(--heading); font-size: 1.25rem; font-weight: 800; overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .web-offer:not(.web-offer-plain) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; gap: 32px; }
}
.web-seller { display: grid; gap: 14px; padding: 16px; }
.web-seller-who { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.web-seller-who > div { min-width: 0; }
.web-seller-name { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.web-seller .web-actions .btn { flex: 1 1 auto; }

/* the pictures of an entry: one large, the others as small links (site.js shows the chosen one in the large frame) */
.web-gallery-main { display: block; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); overflow: hidden; }
.web-gallery-main img { display: block; width: 100%; height: 100%; object-fit: contain; }
.web-thumbs { display: flex; gap: 8px; margin: 10px 0 0; padding: 0 0 2px; list-style: none; overflow-x: auto; }
.web-thumbs li { flex: none; margin: 0; }
.web-thumbs a { display: block; width: 72px; height: 54px; border: 2px solid var(--line); border-radius: 10px; background: var(--card); overflow: hidden; }
.web-thumbs a[aria-current="true"] { border-color: var(--blue); }
.web-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }

.web-event-head { margin-bottom: 24px; padding-top: 30px; }
.web-programme { margin-bottom: 32px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.web-programme > h2 { margin: 0 0 20px; font-size: 1.375rem; }
@media (max-width: 479.98px) { .web-programme { padding: 20px 16px; } }
.web-event-head h1 { margin: 4px 0 0; }
.web-event-dates { margin: 6px 0 12px; color: var(--blue); font-size: 1.25rem; font-weight: 800; }
.web-event-head .web-lead { margin-top: 14px; color: var(--text); }
.web-event-head .web-actions { margin-top: 20px; }
@media (max-width: 479.98px) { .web-event-head .web-actions .btn-lg { flex: 1 1 100%; } }
/* the city of an event card leads to the page of the event and keeps the look of the card's title */
.page-site .event-card h3 a { color: inherit; text-decoration: none; }
.page-site .event-card h3 a:hover { color: var(--blue); text-decoration: underline; }
/* on a phone the way in and the programme stand one under the other */
@media (max-width: 479.98px) { .page-site .event-foot .btn { flex: 1 1 auto; } }
.events-none + .web-actions { margin: 16px 0 0; }

.web-past { max-width: 47.5rem; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.web-past li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; margin: 0; padding: 12px 16px; border-top: 1px solid var(--gray-50); }
.web-past li:first-child { border-top: 0; }
.web-past a { min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.web-past span { color: var(--muted); font-variant-numeric: tabular-nums; }
.web-past .web-past-what { flex: 1 0 100%; font-size: .9375rem; }

.web-partner { display: flex; align-items: flex-start; gap: 16px; padding: 20px; }
.web-partner-text { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.web-partner .web-clamp { -webkit-line-clamp: 4; line-clamp: 4; }
.web-partner-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 8px 0 0; font-size: .875rem; }
.web-partner-foot:empty { display: none; }
/* the partner's own site stays a link of its own above the link of the card */
.web-partner-foot a { position: relative; z-index: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 399.98px) { .web-partner { flex-direction: column; } }

@media print {
  .web-filters, .web-join, .web-actions, .web-preview, .pager { display: none !important; }
  .web-card { box-shadow: none; break-inside: avoid; }
}
