/* ============================================================
   mafincash.com — Home page (route: home; layout inherited from ant.exchange)
   Hero · 3-column exchange calculator · partners · rates.
   ============================================================ */

.section { padding: 40px 0; }
.section__head { text-align: center; margin-bottom: 28px; }
.section__head h2 { font-size: var(--fs-h2); }
.section__head p { color: var(--muted-foreground); font-size: var(--fs-lead); margin: 8px 0 0; }

/* Hero banner removed for mafincash (see components/exchangeShell.php) —
   rules deleted with it, live mafincash.com/ru has no such section. */

/* ─────────────────────────────────────────────
   "Новини" preview + partners band — home only (components/homeNews.php),
   matches the live mafincash.com/ru layout exactly (no site-wide footer there).
   ───────────────────────────────────────────── */
.home-news { padding-top: 8px; }
.home-news .section__head { text-align: left; margin-bottom: 16px; }
.home-news .section__head h2 { font-size: var(--fs-h3); }
/* .home-news__grid/__item/__thumb/etc. card rules live in components.css — that
   file loads on every route (head.php only auto-loads ONE per-route stylesheet,
   so /news never saw home.css and rendered these classes completely unstyled). */
.home-news__cta { display: flex; justify-content: center; margin-top: 22px; }

/* Partners band moved to a site-wide FIXED footer — see components.css
   (.home-partners-section etc.) and components/siteFooter.php. */

/* ─────────────────────────────────────────────
   Exchange calculator
   ───────────────────────────────────────────── */
.calc { margin-top: 26px; }
/* when a pair-change navigates to /exchange/{slug}#exchange, land on the calculator
   with room for the sticky header/top-bar instead of hidden behind it */
#exchange { scroll-margin-top: 96px; }
.calc__grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.18fr);
  gap: 20px; align-items: stretch; /* all 3 columns share the tallest column's height (the form) */
}
.calc__col {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-2xl);
  box-shadow: var(--shadow); padding: 22px; min-width: 0; position: relative;
  display: flex; flex-direction: column; /* lets .cc-list flex-fill to the column bottom */
}
.calc__label { font-size: var(--fs-h3); font-weight: 700; margin-bottom: 16px; }

/* amount + currency badge row */
.calc__amount {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--input); border-radius: var(--radius-lg);
  padding: 10px 12px 10px 16px; background: var(--background);
}
.calc__amount input {
  flex: 1 1 auto; min-width: 0; width: 100%; border: 0; outline: none; background: transparent;
  font-size: var(--fs-amount); font-weight: 500; color: var(--foreground); padding: 0;
}
.cc-row { min-width: 0; }
.cc-row > b { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rates-wrap { min-width: 0; }
.cur-badge { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
  background: var(--secondary); border: 1px solid var(--accent); border-radius: var(--radius-pill);
  padding: 6px 12px 6px 6px; font-weight: 600; font-size: var(--fs-small); color: var(--secondary-foreground); }
.cur-badge img { width: 26px; height: 26px; border-radius: 50%; background: #fff; }
.calc__range { font-size: var(--fs-xs); color: var(--muted-foreground); margin: 8px 2px 6px; }
/* below-minimum feedback */
.calc__amount input.is-under { color: var(--destructive); }
.calc__amount:has(input.is-under) { border-color: var(--destructive); box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.calc__range--error, .calc__range--error strong { color: var(--destructive); }
.calc__note { color: var(--destructive); font-size: var(--fs-xs); font-weight: 600; margin: 0 2px 12px; }
.calc__note[hidden] { display: none; }
.calc__note--warn { color: #b45309; background: #fff7ed; border: 1px solid #fed7aa; border-radius: var(--radius-md); padding: 8px 11px; }

/* swap (reverse-pair) button — sits in the gap between the send and receive columns */
.calc__swap {
  position: absolute; z-index: 4; top: 58px; right: -30px;
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  border-radius: 50%; border: 3px solid var(--background); background: var(--primary); color: #fff;
  cursor: pointer; box-shadow: var(--shadow-md); transition: transform .2s var(--ease), background .15s var(--ease);
}
.calc__swap:hover { transform: rotate(180deg); }
.calc__swap:active { transform: rotate(180deg) scale(.92); }
.calc__swap svg { width: 20px; height: 20px; }

/* currency list */
/* Desktop: list fills the column down to the form's bottom → the number of visible
   currencies tracks the form height. flex-basis:0 + min-height:0 so the list contributes
   NO intrinsic height (otherwise its rows would make col1/col2 the tallest). Scroll for rest. */
.cc-list { flex: 1 1 0; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; margin-top: 12px; padding-right: 4px; }
/* Home has no tall form to stretch against (col3 is a short prompt), so give the
   lists a floor of ~10 rows instead of collapsing to the prompt's height. */
.calc__grid--home .cc-list { min-height: 460px; }
.cc-list::-webkit-scrollbar { width: 8px; }
.cc-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }
.cc-list::-webkit-scrollbar-track { background: transparent; }
.cc-row {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 9px 12px; border: 1px solid transparent; border-radius: var(--radius-md);
  background: transparent; cursor: pointer; color: var(--foreground); font-size: var(--fs-small);
  transition: all var(--dur-fast) var(--ease);
}
.cc-row:hover { background: var(--secondary); }
.cc-row.is-selected { background: var(--accent); border-color: var(--primary); }
.cc-row.is-hidden { display: none; }
.cc-row img { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--border); flex: 0 0 auto; }
.cc-row b { font-weight: 600; }
.cc-row .cc-row__iso { color: var(--muted-foreground); font-weight: 500; margin-left: auto; font-size: var(--fs-xs); }
.cc-empty { padding: 24px; text-align: center; color: var(--muted-foreground); font-size: var(--fs-small); display: none; }
.cc-empty.is-shown { display: block; }

/* ── Flat list + filter pills + mobile bottom-sheet picker ──────────────────
   Flat, alphabetical (stablecoins pinned first — see exchangeData.php), filtered by
   the .cc-filter pills (Усі/Крипто/Стейбли/Гаманці/Банки/…, owner's request
   2026-07-27) instead of the old asset/brand groups. On DESKTOP the inline list +
   pills show directly; on MOBILE they live inside the tap-to-open bottom-sheet. */
.cc-trigger { display: none; }
.cc-sheet, .cc-sheet__panel { display: contents; }
.cc-sheet__backdrop, .cc-sheet__head { display: none; }

.cc-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cc-filter {
  display: inline-flex; align-items: center; padding: 6px 13px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--background); color: var(--muted-foreground);
  font-size: var(--fs-xs); font-weight: 600; cursor: pointer; transition: all var(--dur-fast) var(--ease);
}
.cc-filter:hover { border-color: var(--accent); color: var(--foreground); }
.cc-filter.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* MOBILE: tap-to-open bottom-sheet with the same flat list + pills. */
@media (max-width: 1023px) {
  .cc-trigger {
    display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 14px;
    padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-lg);
    background: var(--card); cursor: pointer; font: inherit; text-align: left;
  }
  .cc-trigger__cur { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; font-weight: 600; font-size: var(--fs-small); }
  .cc-trigger__cur img { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid var(--border); flex: 0 0 auto; }
  .cc-trigger__cur b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cc-trigger__cur .cc-trigger__iso { color: var(--muted-foreground); font-weight: 500; font-size: var(--fs-xs); }
  .cc-trigger__chev { width: 20px; height: 20px; color: var(--muted-foreground); flex: 0 0 auto; }
  .cc-trigger__hint { color: var(--muted-foreground); font-weight: 500; font-size: var(--fs-small); }

  .cc-sheet { display: none; position: fixed; inset: 0; z-index: 1000; }
  .cc-sheet.is-open { display: block; }
  .cc-sheet__backdrop { display: block; position: absolute; inset: 0; background: rgba(15, 23, 42, .45); animation: cc-fade .18s ease; }
  .cc-sheet__panel {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; bottom: 0;
    max-width: 480px; margin: 0 auto; /* narrower, centred sheet (like the original ant) */
    max-height: 90vh; background: var(--card); border-radius: 22px 22px 0 0;
    padding: 8px 16px 16px; box-shadow: 0 -12px 40px rgba(0,0,0,.18); animation: cc-slide .22s ease;
  }
  .cc-sheet__panel::before { content: ""; width: 44px; height: 5px; border-radius: 3px; background: var(--border-strong); margin: 6px auto 10px; flex: 0 0 auto; }
  .cc-sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
  .cc-sheet__title { font-size: var(--fs-h4); font-weight: 700; }
  .cc-sheet__close { display: inline-flex; padding: 6px; border: none; background: transparent; color: var(--muted-foreground); cursor: pointer; }
  .cc-sheet__close svg { width: 22px; height: 22px; }
  /* list fills the sheet and scrolls */
  .cc-sheet__panel .cc-list { flex: 1 1 auto; height: auto; max-height: none; min-height: 0; margin-top: 6px; }
}
@keyframes cc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cc-slide { from { transform: translateY(100%); } to { transform: translateY(0); } }
body.cc-sheet-lock { overflow: hidden; }

/* ─────────────────────────────────────────────
   Right column — embedded exchange form
   ───────────────────────────────────────────── */
.calc__form { min-height: 320px; }
/* col3 placeholder (home mode — no form yet) */
.calc__placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 320px; text-align: center; color: var(--muted-foreground); padding: 24px; }
.calc__placeholder svg { width: 42px; height: 42px; color: var(--accent-foreground); opacity: .55; margin-bottom: 2px; }
.calc__placeholder-title { color: var(--foreground); font-size: var(--fs-h4); font-weight: 700; }
/* AJAX direction-swap: subtle dim on the parts being replaced (no reload/scroll) */
.calc__grid.is-swapping .calc__col--form,
.calc__grid.is-swapping .cur-badge,
.calc__grid.is-swapping .calc__range { opacity: .5; transition: opacity .12s ease; }
.calc__grid.is-swapping .calc__col--form { pointer-events: none; }

/* col3 order form (direction mode), self-contained amounts */
.ex-title { font-size: var(--fs-h3); font-weight: 700; margin: 0 0 12px; }
.ex-amount { margin-bottom: 14px; }
.ex-cur { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: var(--fs-small); margin-bottom: 8px; }
.ex-cur img { width: 26px; height: 26px; border-radius: 50%; }
.ex-process { color: var(--muted-foreground); font-size: var(--fs-small); margin: 12px 0; }
.calc__col--form .ex-fields { grid-template-columns: 1fr; }
.calc__form-loading { display: grid; place-items: center; min-height: 320px; color: var(--muted-foreground); gap: 12px; }
.spinner { width: 34px; height: 34px; border: 3px solid var(--accent); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.ex-pair { display: flex; align-items: center; gap: 10px; font-size: var(--fs-h4); font-weight: 700; margin-bottom: 14px; }
.ex-pair img { width: 26px; height: 26px; border-radius: 50%; }
.ex-rate { display: flex; align-items: center; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap;
  background: var(--muted); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 12px 16px; margin-bottom: 16px; }
.ex-rate__label { font-size: var(--fs-small); color: var(--muted-foreground); flex: 0 0 auto; }
.ex-rate__value { font-weight: 600; font-size: var(--fs-small); min-width: 0; overflow-wrap: anywhere; text-align: right; flex: 1 1 auto; }
.ex-rate__timer { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; padding: 3px 9px; border-radius: var(--radius-pill); background: var(--card); border: 1px solid var(--border); color: var(--muted-foreground); font-size: var(--fs-xs); font-weight: 600; font-variant-numeric: tabular-nums; }
.ex-rate__timer svg { width: 14px; height: 14px; flex: 0 0 auto; }

/* send → receive summary row under the rate (like the original) */
.ex-summary { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.ex-summary__side { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 0; }
.ex-summary__side--right { align-items: flex-end; text-align: right; }
.ex-summary__name { font-size: var(--fs-xs); color: var(--muted-foreground); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-summary__val { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; font-size: var(--fs-small); }
.ex-summary__val b { font-weight: 700; overflow-wrap: anywhere; }
.ex-summary__val img { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--border); flex: 0 0 auto; }
.ex-summary__arrow { width: 22px; height: 22px; color: var(--muted-foreground); flex: 0 0 auto; }
/* long min/max/reserve numbers must wrap, never widen the column */
.ex-min-amount, .ex-max-amount, .ex-reserve, .ex-rate-line { overflow-wrap: anywhere; }

.ex-terms { margin: 16px 0; }
.ex-terms h4 { font-size: var(--fs-h4); margin-bottom: 10px; }
.ex-terms ul { margin: 0; padding-left: 18px; color: var(--muted-foreground); font-size: var(--fs-small); line-height: 1.7; }

.ex-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ex-fields .form-group { margin-bottom: 0; }
.ex-fields .form-group--full { grid-column: 1 / -1; }
.ex-hint { font-size: var(--fs-xs); color: var(--muted-foreground); margin-top: 8px; }
.ex-options { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; margin: 16px 0; }
/* neutralise Bootstrap .row negative gutters inside the embedded form (prevents horizontal overflow) */
#ant-exchange-view .row, .calc .row { margin-left: 0; margin-right: 0; }
#ant-exchange-view .row > [class*="col-"], .calc .row > [class*="col-"] { padding-left: 0; padding-right: 0; }
.ex-options h4 { font-size: var(--fs-small); margin-bottom: 12px; }
.ex-checks { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.ex-min-amount, .ex-max-amount, .ex-reserve, .ex-rate-line { font-size: var(--fs-xs); color: var(--muted-foreground); margin: 2px 0; }
.ex-min-amount span, .ex-max-amount span, .ex-reserve span, .ex-rate-line span { color: var(--foreground); font-weight: 600; }

/* Verify-lock (KYC) — shown in col3 instead of the order form for directions
   that require verification when the user isn't verified. */
.dl-lock { display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 320px; padding: 8px 4px; }
.dl-lock__badge { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--secondary); color: var(--primary); margin-bottom: 16px; }
.dl-lock__badge svg { width: 30px; height: 30px; }
.dl-lock__title { font-size: var(--fs-h3); font-weight: 700; margin: 0 0 8px; }
.dl-lock__hint { font-size: var(--fs-small); color: var(--muted-foreground); margin: 0 0 20px; max-width: 34em; }
.dl-lock__steps { display: flex; align-items: flex-start; justify-content: center; gap: 4px; width: 100%; max-width: 360px; margin: 0 0 20px; }
.dl-lock__step { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dl-lock__num { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: var(--primary-foreground); font-weight: 700; }
.dl-lock__step:nth-child(3) .dl-lock__num { background: #8b76ff; }
.dl-lock__step:nth-child(5) .dl-lock__num { background: #16a34a; }
.dl-lock__step-label { font-size: var(--fs-xs); font-weight: 600; line-height: 1.25; }
.dl-lock__bar { flex: 0 0 20px; height: 2px; margin-top: 19px; background: var(--border); }
.dl-lock__info { width: 100%; background: var(--muted); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 12px 16px; margin: 0 0 16px; }
.dl-lock__info-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--fs-small); padding: 4px 0; }
.dl-lock__info-row span { color: var(--muted-foreground); }
.dl-lock__info-row strong { font-weight: 700; overflow-wrap: anywhere; text-align: right; }
.dl-lock__kyc { font-size: var(--fs-xs); color: var(--muted-foreground); line-height: 1.6; text-align: left; width: 100%; margin: 0 0 16px; }
.dl-lock__actions { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: auto; }
.dl-lock__more { display: inline-block; margin-top: 14px; font-size: var(--fs-small); font-weight: 600; }

/* AML block */
.aml { margin-top: 22px; background: var(--secondary); border: 1px solid var(--accent); border-radius: var(--radius-xl); padding: 20px; }
.aml__head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: var(--fs-h4); color: var(--secondary-foreground); margin-bottom: 10px; }
.aml__head svg { width: 22px; height: 22px; color: var(--primary); }
.aml p { font-size: var(--fs-small); color: var(--muted-foreground); line-height: 1.55; margin: 6px 0; }
.aml strong { color: var(--foreground); }
.aml ul { margin: 6px 0; padding-left: 18px; font-size: var(--fs-small); color: var(--muted-foreground); line-height: 1.6; }

/* the amlAware gate link now opens the pre-check modal */
.js-aml-precheck { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* ── Preliminary AML-check modal ── */
body.aml-modal-lock { overflow: hidden; }
.aml-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.aml-modal[hidden] { display: none; }
.aml-modal__backdrop { position: absolute; inset: 0; background: rgba(24, 20, 46, 0.55); backdrop-filter: blur(2px); }
.aml-modal__dialog { position: relative; z-index: 1; display: flex; flex-direction: column; width: 100%; max-width: 640px; max-height: calc(100vh - 40px); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg, 0 24px 60px rgba(24, 20, 46, 0.28)); overflow: hidden; animation: aml-modal-in 0.18s ease; }
@keyframes aml-modal-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
.aml-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.aml-modal__title { margin: 0; font-size: var(--fs-h4); font-weight: 800; letter-spacing: -0.01em; }
.aml-modal__x { flex: 0 0 auto; display: inline-grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: var(--radius-lg); background: var(--secondary); color: var(--muted-foreground); cursor: pointer; transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.aml-modal__x:hover { background: var(--accent); color: var(--foreground); }
.aml-modal__body { padding: 20px 22px; overflow-y: auto; }
.aml-modal__h { margin: 0 0 8px; font-size: var(--fs-base, 1rem); font-weight: 700; }
.aml-modal__intro { margin: 0 0 16px; font-size: var(--fs-small); color: var(--muted-foreground); line-height: 1.6; }
.aml-step { padding: 12px 0; border-top: 1px solid var(--border); }
.aml-step:first-of-type { border-top: 0; padding-top: 0; }
.aml-step__t { margin: 0 0 4px; font-size: var(--fs-small); font-weight: 700; color: var(--foreground); }
.aml-step__d { margin: 0; font-size: var(--fs-small); color: var(--muted-foreground); line-height: 1.6; }
.aml-step__list { margin: 8px 0 0; padding-left: 18px; font-size: var(--fs-small); color: var(--muted-foreground); line-height: 1.6; }
.aml-step__list li { margin: 3px 0; }
.aml-modal__foot { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--border); font-size: var(--fs-small); color: var(--muted-foreground); line-height: 1.6; }
.aml-modal__more { margin: 8px 0 0; font-size: var(--fs-small); color: var(--muted-foreground); }
.aml-modal__more a { color: var(--primary); font-weight: 600; }
.aml-modal__footer { padding: 16px 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.aml-modal__footer .btn { min-width: 140px; }
@media (max-width: 480px) { .aml-modal__footer .btn { flex: 1 1 100%; min-width: 0; } }
@media (max-width: 560px) {
  .aml-modal { padding: 0; }
  .aml-modal__dialog { max-width: none; height: 100%; max-height: 100%; border-radius: 0; border: 0; }
}

/* Match old ant: 3 cols on desktop (>=1024px), single-column stack below — no 2-col stage. */
@media (max-width: 1023px) {
  .calc__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .calc__col--form { grid-column: auto; }
  /* stacked: swap button moves to the bottom-centre of the send column, rotated */
  .calc__swap { top: auto; right: auto; bottom: -28px; left: 50%; transform: translateX(-50%) rotate(90deg); }
  .calc__swap:hover, .calc__swap:active { transform: translateX(-50%) rotate(90deg); }
  /* Stacked single-column: no tall sibling to match, so use a fixed-height scroll box. */
  .cc-list { flex: 0 0 auto; height: 320px; min-height: 0; }
}
@media (max-width: 680px) {
  .ex-fields { grid-template-columns: 1fr; }
}
/* Phone: tighter spacing, smaller amount field, reachable sticky submit. */
@media (max-width: 600px) {
  .section { padding: 26px 0; }
  .calc { margin-top: 18px; }
  .calc__col { padding: 16px; border-radius: var(--radius-xl); }
  .calc__label { font-size: 18px; margin-bottom: 12px; }
  .calc__amount input { font-size: 24px; }
  .cc-list { height: 264px; }
  .section__head h2 { font-size: 24px; }
  .ex-pair { font-size: 16px; }
  /* Submit stays in normal flow at the end of the form. (Was position:sticky;
     bottom:10px — it floated as a translucent "phantom" pill over the fields
     mid-form, see issue #12. A sticky pill over scrolling content reads as broken.) */
}

/* Partners section removed from the homepage (moved to the site-wide footer,
   see components/footer.php .footer__partners) — rules removed with it. */

/* ─────────────────────────────────────────────
   Rates table
   ───────────────────────────────────────────── */
.rates-card { overflow: hidden; }
.rates-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.rates-table th { text-align: left; font-weight: 600; color: var(--muted-foreground); font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: .04em; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.rates-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.rates-table tr:last-child td { border-bottom: 0; }
.rates-table tr:hover td { background: var(--muted); }
.rates-table img { width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.rates-table .ex-link { color: var(--primary); font-weight: 600; }
.rates-wrap { overflow-x: auto; }
