/* SlotVerdict — Header & Footer */

/* ══════════════════════════════════════
   DESKTOP HEADER — B: Pill nav
   ══════════════════════════════════════ */
.hd-outer {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-self: stretch;
}
/* Desktop wrapper constrains inner content width */
.hd-desktop-inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* Full-width bg, content max-width constrained */
.hd-main-wrap {
  border-bottom: 1px solid var(--line);
}
.hd-main-wrap .hd-main {
  border-bottom: none;
  max-width: 1400px;
  margin: 0 auto;
}
.hd-ql-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 5px 28px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* ≥901px: desktop visible */
@media(min-width: 901px){
  .hd-desktop { display: block; }
  .hd-mobile  { display: none; }
}
/* ≤900px: mobile visible */
@media(max-width: 900px){
  .hd-desktop { display: none; }
  .hd-mobile  { display: block; }
}

/* Main row */
.hd-main {
  display: flex;
  align-items: center;
  padding: 10px 28px;
  gap: 8px;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
}

/* Logo */
.hd-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 8px;
}
.hd-logo-mark {
  width: 32px; height: 32px;
  background: var(--teal);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.hd-logo-mark svg { width: 16px; height: 16px; color: #fff; }
.hd-logo-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-1);
}
.hd-logo-sup {
  font-size: 10px;
  font-weight: 700;
  color: var(--teal);
  vertical-align: super;
  margin-left: 1px;
}

/* Pill nav */
.hd-nav {
  display: flex;
  gap: 4px;
}
.hd-nav-a {
  display: flex;
  align-items: center;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 8px;
  text-decoration: none;
  transition: background .12s, color .12s;
}
.hd-nav-a:hover {
  background: var(--bg);
  color: var(--ink-1);
}
.hd-nav-a.on {
  background: var(--teal-l);
  color: #065f46;
}

/* Search */
.hd-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  flex: 1;
  max-width: 340px;
  margin-left: 8px;
}
.hd-search-wrap svg { width: 14px; height: 14px; color: var(--ink-4); flex-shrink: 0; }
.hd-search-wrap input {
  border: none; background: none;
  font-size: 13px; font-family: var(--font);
  color: var(--ink-1); width: 100%; outline: none;
}
/* ── Mega Search Dropdown ── */
.hd-search-wrap { position: relative; }

.hd-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--ink-3);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color .15s, background .15s;
}
.hd-search-clear:hover { color: var(--ink-1); background: var(--bg); }

.hd-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  z-index: 9999;
  overflow: hidden;
  display: none;
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.hd-search-dropdown.open { display: block; }

/* Group header */
.hd-sd-group {
  padding: 8px 14px 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .07em;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

/* Result item */
.hd-sd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background .12s;
}
.hd-sd-item:last-child { border-bottom: none; }
.hd-sd-item:hover { background: var(--bg); }

.hd-sd-logo {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: contain;
  border: 1px solid var(--line);
  padding: 2px;
  background: var(--white);
  flex-shrink: 0;
}
.hd-sd-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}
.hd-sd-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hd-sd-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hd-sd-title mark {
  background: #FEF9C3;
  color: var(--ink-1);
  padding: 0 1px;
  border-radius: 2px;
}
.hd-sd-exc {
  font-size: 11px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hd-sd-exc mark {
  background: #FEF9C3;
  color: var(--ink-2);
}
.hd-sd-meta {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  flex-shrink: 0;
  background: #E1F5EE;
  padding: 2px 7px;
  border-radius: 8px;
}

/* Empty / loading */
.hd-sd-empty {
  padding: 16px 14px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}
.hd-sd-loading {
  padding: 14px;
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hd-sd-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid var(--line);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: sd-spin .6s linear infinite;
  flex-shrink: 0;
}
@keyframes sd-spin { to { transform: rotate(360deg); } }

/* Mobile dropdown: full width */
.hd-search-dropdown-mob {
  left: -14px;
  right: -14px;
  border-radius: 0 0 12px 12px;
}

@media(max-width:768px) {
  .hd-search-dropdown { max-height: 60vh; }
  .hd-sd-item { padding: 9px 12px; gap: 9px; }
  .hd-sd-logo, .hd-sd-icon { width: 28px; height: 28px; }
  .hd-sd-title { font-size: 12px; }
}


/* Actions: lang + login */
.hd-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* Lang dropdown */
.hd-lang-dd { position: relative; }
.hd-lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px; font-weight: 600;
  font-family: var(--font);
  color: var(--ink-1);
  cursor: pointer;
  transition: border-color .12s;
}
.hd-lang-btn:hover { border-color: var(--ink-4); }
.hd-lang-btn svg { width: 11px; height: 11px; color: var(--ink-4); transition: transform .2s; }
.hd-lang-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.hd-lang-flag {
  width: 18px; height: 13px;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}
.hd-flag-uk { background: linear-gradient(180deg,#005BBB 50%,#FFD500 50%); }
.hd-flag-ru { background: #f0f0f0; border: 1px solid #ddd; box-sizing: border-box; }
.hd-flag-en {
  background: #012169;
  background-image:
    linear-gradient(to bottom, transparent 35%, #fff 35%, #fff 42%, #C8102E 42%, #C8102E 58%, #fff 58%, #fff 65%, transparent 65%),
    linear-gradient(to right, transparent 35%, #fff 35%, #fff 42%, #C8102E 42%, #C8102E 58%, #fff 58%, #fff 65%, transparent 65%);
  position: relative; overflow: hidden;
}

.hd-lang-code { font-weight: 700; font-size: 12px; }

.hd-lang-drop {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 150px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  z-index: 999;
}
.hd-lang-drop.open { display: block; }
.hd-lang-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-1);
  text-decoration: none;
  transition: background .1s;
}
.hd-lang-opt:hover { background: var(--bg); }
.hd-lang-opt.active { background: var(--teal-l); color: #065f46; }
.hd-lang-opt-code {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
}

/* Login / User */
.hd-login-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 18px;
  background: var(--teal);
  color: #fff;
  border-radius: 9px;
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: background .12s;
}
.hd-login-btn:hover { background: var(--teal-d, #0f766e); }
.hd-login-btn svg { width: 14px; height: 14px; }
.hd-user-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13px; font-weight: 600;
  color: var(--ink-1);
  text-decoration: none;
}
.hd-avatar {
  width: 28px; height: 28px;
  background: var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #fff;
}

/* Quick links bar */
.hd-ql-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.hd-ql-bar-in {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5px 28px;
  width: 100%;
}
.hd-ql {
  font-size: 11px;
  color: var(--ink-3);
  text-decoration: none;
  padding: 4px 0;
  transition: color .12s;
}
.hd-ql:hover { color: var(--teal); }
.hd-ql-sep {
  margin: 0 10px;
  color: var(--line);
  font-size: 12px;
}
.hd-ql-krayl {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--teal);
  font-weight: 600;
}
.hd-ql-krayl svg { width: 12px; height: 12px; color: var(--teal); }

/* ══════════════════════════════════════
   MOBILE HEADER — MC: Teal top
   ══════════════════════════════════════ */
@media(max-width: 900px){

  /* Row 1: teal bg */
  .hd-mob-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fff;
    border-bottom: 1px solid var(--line, #e5e7eb);
  }
  .hd-mob-logo {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    flex: 1;
    min-width: 0;
  }
  .hd-mob-logo img { }
  .hd-mob-logo-mark {
    width: 28px; height: 28px;
    background: var(--teal-l, #e1f5ee);
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .hd-mob-logo-mark svg { width: 14px; height: 14px; color: var(--teal); }
  .hd-mob-logo span:first-of-type {
    font-size: 14px; font-weight: 700; color: var(--ink-1, #1c1c1c);
  }
  .hd-mob-logo-tag {
    font-size: 9px; font-weight: 700;
    background: var(--teal-l, #e1f5ee);
    color: var(--teal);
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 2px;
  }

  /* Mobile lang dropdown */
  .hd-mob-lang-btn {
    display: flex; align-items: center; gap: 5px;
    padding: 6px 9px;
    background: var(--bg-2, #f3f4f6);
    border: 1px solid var(--line, #e5e7eb);
    border-radius: 7px;
    font-size: 11px; font-weight: 700;
    color: var(--ink-1, #1c1c1c);
    font-family: var(--font);
    cursor: pointer;
    flex-shrink: 0;
  }
  .hd-mob-lang-btn .hd-lang-flag { width: 16px; height: 11px; }
  .hd-mob-lang-btn svg { width: 10px; height: 10px; color: var(--ink-3, #999); }

  .hd-lang-drop-mob {
    top: calc(100% + 6px);
    left: 0; right: auto;
  }

  /* Login / avatar */
  .hd-mob-login {
    padding: 7px 13px;
    background: var(--teal);
    color: #fff;
    border-radius: 7px;
    font-size: 12px; font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
  }
  .hd-mob-avatar {
    width: 30px; height: 30px;
    background: var(--teal-l, #e1f5ee);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; color: var(--teal);
    text-decoration: none;
    flex-shrink: 0;
  }

  /* Burger */
  .hd-mob-burger {
    width: 32px; height: 32px;
    background: var(--bg-2, #f3f4f6);
    border: 1px solid var(--line, #e5e7eb);
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
  }
  .hd-mob-burger svg { width: 16px; height: 16px; color: var(--ink-1, #1c1c1c); }

  /* Row 2: search */
  .hd-mob-search-row {
    padding: 9px 14px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .hd-mob-search {
    display: flex; align-items: center; gap: 7px;
    padding: 9px 12px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
  }
  .hd-mob-search svg { width: 14px; height: 14px; color: var(--ink-4); flex-shrink: 0; }
  .hd-mob-search input {
    border: none; background: none;
    font-size: 16px; font-family: var(--font);
    color: var(--ink-1); width: 100%; outline: none;
  }

  /* Row 3: scroll nav */
  .hd-mob-nav {
    display: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .hd-mob-nav::-webkit-scrollbar { display: none; }
  .hd-mob-nav-a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    font-size: 12px; font-weight: 600;
    color: var(--ink-3);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    border-bottom: 2px solid transparent;
    transition: color .12s;
  }
  .hd-mob-nav-a:hover { color: var(--teal); }
  .hd-mob-nav-a.on { color: var(--teal); border-bottom-color: var(--teal); }
  .hd-mob-nav-a svg { width: 13px; height: 13px; }
}

/* ══════════════════════════════════════
   MOBILE DRAWER
   ══════════════════════════════════════ */
.hd-mob-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 280px;
  background: var(--white);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  border-right: 1px solid var(--line);
}
.hd-mob-drawer.open { transform: translateX(0); }
.hd-mob-drawer-in { padding: 20px 0; }
.hd-mob-drawer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.hd-mob-dlink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  font-size: 14px; font-weight: 600;
  color: var(--ink-1);
  text-decoration: none;
  transition: background .12s;
}
.hd-mob-dlink:hover { background: var(--bg); }
.hd-mob-dlink svg { width: 18px; height: 18px; color: var(--ink-3); }
.hd-mob-drawer-sep {
  height: 1px;
  background: var(--line);
  margin: 8px 0;
}
.hd-mob-dlink-sm {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
}
.hd-mob-dlink-sm:hover { color: var(--teal); }
.hd-mob-drawer-btn {
  display: block;
  margin: 12px 18px 0;
  padding: 13px;
  background: var(--teal);
  color: #fff;
  border-radius: 10px;
  font-size: 14px; font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.hd-mob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 9998;
}
.hd-mob-overlay.open { display: block; }


/* ══════════════════════════════════════
   FOOTER — existing footer.php classes
   ══════════════════════════════════════ */
.ft-outer {
  background: #0f172a;
  color: rgba(255,255,255,.6);
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
  align-self: stretch;
}
.ft-top-bar {
  background: var(--teal);
  padding: 8px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ft-top-bar-text {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: #fff;
}
.ft-top-bar-text svg { width: 14px; height: 14px; flex-shrink: 0; }
.ft-top-bar-btn {
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: 4px 10px;
  background: rgba(255,255,255,.15);
  border-radius: 5px;
  flex-shrink: 0;
}
.ft-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3,1fr);
  gap: 40px;
}
.ft-brand-pill {
  background: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 18px 20px;
}
.ft-brand-logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 16px; font-weight: 700; color: #1a1f2e;
  margin-bottom: 10px;
}
.ft-brand-icon {
  width: 30px; height: 30px;
  background: var(--teal);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.ft-brand-icon svg { width: 15px; height: 15px; color: #fff; }
.ft-brand-desc {
  font-size: 12px; line-height: 1.6;
  color: #64748b;
  margin-bottom: 14px;
}
.ft-brand-rating {
  display: flex; align-items: center; gap: 10px;
}
.ft-brand-rating-num {
  font-size: 28px; font-weight: 800; color: var(--teal); line-height: 1;
}
.ft-brand-rating-stars {
  display: flex; gap: 3px; margin-bottom: 3px;
}
.ft-brand-rating-star {
  width: 12px; height: 12px;
  background: var(--teal);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
.ft-brand-rating-label {
  font-size: 11px; color: #94a3b8;
}
.ft-col h5 {
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 12px;
}
.ft-col a {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.55);
  text-decoration: none; padding: 5px 0;
  transition: color .12s;
}
.ft-col a:hover { color: #fff; }
.ft-col a svg { width: 14px; height: 14px; flex-shrink: 0; opacity: .5; }
.ft-bottom {
  max-width: 1400px; margin: 0 auto;
  padding: 16px 40px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; color: rgba(255,255,255,.3);
}
.ft-copy a { color: rgba(255,255,255,.4); text-decoration: none; }
.ft-copy a:hover { color: rgba(255,255,255,.7); }
.ft-spacer { flex: 1; }
.ft-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.ft-badge {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 8px;
  background: rgba(255,255,255,.07);
  border-radius: 5px;
  font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,.5);
}
.ft-badge svg { width: 10px; height: 10px; }
.ft-rg {
  padding: 4px 8px;
  background: rgba(255,255,255,.07);
  border-radius: 5px;
  font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,.5);
}

/* old footer responsive rules moved to "Footer mobile fixes" section below */

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.ft-outer { background: #0f172a; margin-top: 40px; }

/* RG bar — compact pill-style inside */
.ft-top-bar {
  background: #0f172a;
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 0 40px;
}
.ft-top-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  height: 44px;
}
.ft-top-bar-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,148,136,.15);
  border: 1px solid rgba(13,148,136,.3);
  border-radius: 20px;
  padding: 5px 14px;
}
.ft-top-bar-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  animation: ft-pulse 2s infinite;
}
@keyframes ft-pulse {
  0%,100%{ opacity:1; transform:scale(1); }
  50%{ opacity:.5; transform:scale(.8); }
}
.ft-top-bar-text {
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,.7);
}
.ft-top-bar-text strong { color: #fff; font-weight: 700; }
.ft-top-bar-btn {
  margin-left: 10px;
  padding: 3px 12px;
  background: var(--teal);
  color: #fff;
  border-radius: 20px;
  font-size: 11px; font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.ft-top-bar-btn:hover { background: #0f766e; }
.ft-top-bar-badges {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ft-top-bar-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px;
  background: rgba(255,255,255,.06);
  border-radius: 4px;
  font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,.4);
}
.ft-top-bar-badge svg { width: 10px; height: 10px; }

.ft-main {
  max-width: 1400px; margin: 0 auto;
  padding: 40px;
  display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 40px;
}

.ft-brand-pill {
  background: #fff;
  border: none;
  border-radius: 14px;
  padding: 18px 20px;
}
.ft-brand-logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 17px; font-weight: 700; color: #1a1f2e;
  margin-bottom: 10px;
}
.ft-brand-icon {
  width: 32px; height: 32px; background: var(--teal); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.ft-brand-icon svg { width: 16px; height: 16px; color: #fff; }
.ft-brand-desc { font-size: 12px; color: #64748b; line-height: 1.6; margin-bottom: 14px; }
.ft-brand-rating { display: flex; align-items: center; gap: 10px; }
.ft-brand-rating-num { font-size: 28px; font-weight: 800; color: var(--teal); }
.ft-brand-rating-stars { display: flex; gap: 3px; margin-bottom: 3px; }
.ft-brand-rating-star { width: 12px; height: 12px; background: var(--teal); border-radius: 1px; clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.ft-brand-rating-label { font-size: 11px; color: #94a3b8; }

.ft-col h5 { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; }
.ft-col a {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.55);
  text-decoration: none; padding: 5px 0;
  transition: color .12s;
}
.ft-col a:hover { color: #fff; }
.ft-col a svg { width: 14px; height: 14px; flex-shrink: 0; color: rgba(255,255,255,.3); }

.ft-bottom {
  max-width: 1400px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 40px;
  display: flex; align-items: center;
  font-size: 11px; color: rgba(255,255,255,.3);
}
.ft-copy { }
.ft-copy a { color: rgba(255,255,255,.4); text-decoration: none; }
.ft-copy a:hover { color: rgba(255,255,255,.7); }
.ft-spacer { flex: 1; }
.ft-badges { display: flex; gap: 8px; align-items: center; }
.ft-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 9px;
  background: rgba(255,255,255,.08);
  border-radius: 5px;
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,.55);
}
.ft-badge svg { width: 10px; height: 10px; }
.ft-rg {
  padding: 4px 9px;
  background: rgba(255,255,255,.08);
  border-radius: 5px;
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,.55);
}

/* ── Footer mobile fixes ── */
@media(max-width: 768px) {
  .ft-outer { font-size: 13px; }

  /* RG bar */
  .ft-top-bar { padding: 12px 16px; }
  .ft-top-bar-inner { height: auto; padding: 0; flex-wrap: wrap; gap: 10px; }
  .ft-top-bar-pill { flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; }
  .ft-top-bar-text { font-size: 13px; line-height: 1.4; }
  .ft-top-bar-btn { font-size: 12px; padding: 6px 16px; border-radius: 6px; }
  .ft-top-bar-badges { margin-left: 0; width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 6px; }
  .ft-top-bar-badge { font-size: 11px; padding: 4px 10px; }

  /* Main grid */
  .ft-main { grid-template-columns: 1fr !important; gap: 0; padding: 0 16px; }

  /* Brand section — left aligned pill */
  .ft-brand { text-align: left; padding: 0; border-bottom: none; }
  .ft-brand-pill { background: #fff; border: none; border-radius: 12px; padding: 16px; }
  .ft-brand-logo { justify-content: flex-start; font-size: 16px; color: #1a1f2e; }
  .ft-brand-logo img, .ft-logo-img { height: var(--ft-h-mob, 28px) !important; }
  .ft-brand-desc { font-size: 12px; line-height: 1.5; max-width: none; margin: 6px 0 0; color: #64748b; }
  .ft-brand-rating { justify-content: flex-start; margin-top: 10px; }
  .ft-brand-rating-label { color: #94a3b8; }
  .ft-brand-rating-num { font-size: 28px; }
  .ft-brand-rating-label { font-size: 12px; }

  /* Nav columns — two per row */
  .ft-col { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .ft-col:last-child { border-bottom: none; }
  .ft-col h5 { font-size: 11px; margin-bottom: 12px; }
  .ft-col a { font-size: 14px; padding: 6px 0; gap: 10px; }
  .ft-col a svg { width: 16px; height: 16px; opacity: .4; }

  /* Bottom bar */
  .ft-bottom { flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 16px; }
  .ft-spacer { display: none; }
  .ft-copy { font-size: 11px; order: 2; }
  .ft-badges { flex-wrap: wrap; justify-content: center; gap: 8px; order: 1; }
  .ft-badges span { font-size: 10px; }
}
@media(max-width: 480px) {
  .ft-brand-pill { padding: 12px !important; }
  .ft-brand-desc { font-size: 11px; }
  .ft-top-bar-text { font-size: 12px; }
}

/* ── Mobile search icon + overlay ── */
.hd-mob-search-btn {
  width: 32px; height: 32px;
  background: var(--bg-2, #f3f4f6);
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; padding: 0;
}
.hd-mob-search-btn svg { width: 16px; height: 16px; color: var(--teal); }
.hd-mob-search-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.4); z-index: 10000;
  animation: fadeIn .15s ease;
}
.hd-mob-search-inner {
  background: #fff; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.hd-mob-search-inner .hd-search-wrap { flex: 1; }
.hd-mob-search-inner input {
  font-size: 16px !important;
  padding: 10px 12px 10px 36px !important;
}
.hd-mob-search-close {
  background: none; border: none;
  color: var(--teal); font-size: 13px; font-weight: 600;
  font-family: var(--font); cursor: pointer;
  white-space: nowrap; padding: 8px 4px;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media(min-width: 901px) {
  .hd-mob-search-btn { display: none; }
}

/* Stats strip — visible on all devices */
.ft-stats-strip {
  display: flex;
  justify-content: space-around;
  padding: 18px 60px;
  background: #0D9488;
  max-width: 1320px;
  margin: 0 auto;
  border-radius: 12px;
  margin-top: 20px;
}
.ft-strip-item { text-align: center; flex: 1; }
.ft-strip-n { font-size: 22px; font-weight: 700; color: #fff; line-height: 1.2; }
.ft-strip-l { font-size: 9px; color: #99f6e4; text-transform: uppercase; letter-spacing: .4px; margin-top: 3px; }
.ft-desktop-only {
  display: none;
}

@media (max-width: 768px) {
  .ft-stats-strip {
    margin: 12px 16px;
    padding: 14px 16px;
    border-radius: 10px;
    margin-top: 12px;
  }
  .ft-strip-n { font-size: 18px; }
  .ft-strip-l { font-size: 8px; }

  .ft-main {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px 16px !important;
    padding: 16px 20px !important;
  }
  .ft-brand {
    grid-column: 1 / -1 !important;
    margin-bottom: 4px !important;
    text-align: left !important;
    padding: 0 !important;
    border-bottom: none !important;
  }
  .ft-brand-pill { padding: 14px !important; border-radius: 12px !important; background: #fff !important; }
  .ft-brand-logo { justify-content: flex-start !important; color: #1a1f2e !important; }
  .ft-brand-logo img, .ft-logo-img { height: var(--ft-h-mob, 28px) !important; }
  .ft-brand-desc { font-size: 11px !important; line-height: 1.5 !important; margin: 6px 0 0 !important; max-width: none !important; color: #64748b !important; }
  .ft-brand-rating { margin-top: 8px !important; justify-content: flex-start !important; }
  .ft-brand-rating-label { color: #94a3b8 !important; }
  .ft-brand-rating-num { font-size: 18px !important; }
  .ft-brand-rating-label { font-size: 10px !important; }

  .ft-col { padding: 0 !important; }
  .ft-col h5 { font-size: 10px !important; margin-bottom: 10px !important; }
  .ft-col a { font-size: 12px !important; padding: 5px 0 !important; gap: 6px !important; }
  .ft-col a svg { width: 14px !important; height: 14px !important; }

  .ft-bottom {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 16px 16px !important;
  }
  .ft-badges { justify-content: center !important; }
  .ft-copy { text-align: center !important; font-size: 10px !important; }
}
