/* ══════════════════════════════════════════════════════
   HEADER V2 — Appinventiv / Zoho-style
   Palette: white · #0A97BE accent · #0A1628 dark · #f8fafc bg
   ══════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
#header { height: 0; overflow: visible; }
/* Override legacy header.css margin-top to match new header height exactly */
#main-content { margin-top: 72px !important; }

.hv2-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e8ecf2;
  box-shadow: 0 1px 0 rgba(10,151,190,0.06);
  transition: top 0.3s ease, box-shadow 0.3s ease;
}
.hv2-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(10,22,40,0.1);
}
.hv2-header.is-hidden {
  top: -80px;
}

.hv2-nav-wrap {
  width: 100%;
  padding: 0 clamp(12px, 2vw, 24px);
  height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── Logo ── */
.hv2-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.hv2-logo img { height: 38px; width: auto; display: block; }

/* ── Nav list ── */
.hv2-nav { flex: 1; display: flex; justify-content: center; }
.hv2-nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 2px;
}
.hv2-nav-item { position: static; }

.hv2-nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 12px; border: none; background: none; cursor: pointer;
  font-size: 0.9rem; font-weight: 400; color: #1a1a2e;
  border-radius: 8px; white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  font-family: inherit;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.hv2-nav-link:hover, .hv2-nav-item.is-open > .hv2-nav-link {
  color: #0A97BE;
  background: rgba(10,151,190,0.07);
}
.hv2-nav-arrow {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.hv2-nav-item.is-open .hv2-nav-arrow {
  transform: rotate(180deg);
}
.hv2-plain-link { font-weight: 400; }

/* ── Mega panel ── */
.hv2-mega {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 2px solid #0A97BE;
  box-shadow: 0 12px 48px rgba(10,22,40,0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  pointer-events: none;
  z-index: 999;
}
.hv2-nav-item.is-open .hv2-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.hv2-mega-inner {
  width: 100%;
  padding: 0 clamp(12px, 2vw, 24px);
  display: grid;
  grid-template-columns: 260px 1fr 290px;
  gap: 0;
  min-height: 340px;
}

/* ── Tab sidebar (left) ── */
.hv2-mega-tabs {
  background: #fff;
  border-right: 1px solid #e8ecf2;
  padding: 24px 16px 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hv2-mega-section-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
  padding: 0 4px 12px;
  margin: 0;
}
.hv2-tab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e8ecf2;
  background: #f8fafc;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 400;
  color: #374151;
  text-align: left;
  border-radius: 10px;
  transition: color 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s;
  font-family: inherit;
}
.hv2-tab-btn svg { opacity: 0; transition: opacity 0.18s; flex-shrink: 0; }
.hv2-tab-btn:hover {
  color: #0A97BE;
  background: #f0f9fc;
  border-color: rgba(10,151,190,0.35);
}
.hv2-tab-btn.is-active {
  color: #0A97BE;
  background: #e8f7fb;
  border-color: #0A97BE;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(10,151,190,0.15);
}
.hv2-tab-btn.is-active svg { opacity: 1; color: #0A97BE; }
.hv2-all-link {
  display: flex; align-items: center; gap: 6px;
  margin: 12px 20px 0;
  font-size: 0.78rem; font-weight: 700; color: #0A97BE;
  text-decoration: none;
  transition: gap 0.2s;
}
.hv2-all-link:hover { gap: 10px; }

/* ── Cards content (center) ── */
.hv2-mega-content {
  padding: 28px 28px 28px 32px;
  overflow-y: auto;
  max-height: 420px;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}
.hv2-mega-content::-webkit-scrollbar { width: 4px; }
.hv2-mega-content::-webkit-scrollbar-track { background: transparent; }
.hv2-mega-content::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
.hv2-mega-content::-webkit-scrollbar-thumb:hover { background: #9ca3af; }
.hv2-tab-pane { display: none; }
.hv2-tab-pane.is-active { display: block; }
.hv2-pane-label {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: #9ca3af; margin: 0 0 14px;
}
.hv2-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.hv2-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
  cursor: pointer;
}
.hv2-card:hover {
  background: rgba(10,151,190,0.06);
  border-color: rgba(10,151,190,0.18);
  transform: translateX(2px);
}
.hv2-card:hover .hv2-card-arrow { opacity: 1; }
.hv2-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #f0f9fc;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(10,151,190,0.1);
}
.hv2-card-icon img {
  width: 28px; height: 28px; object-fit: contain; display: block;
}
.hv2-card-body { flex: 1; min-width: 0; }
.hv2-card-name {
  display: block;
  font-size: 0.95rem; font-weight: 700; color: #1a1a2e;
  line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hv2-card-desc {
  display: -webkit-box;
  font-size: 0.78rem; color: #6b7280; line-height: 1.4;
  margin-top: 2px;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hv2-card-arrow { color: #0A97BE; opacity: 0; flex-shrink: 0; transition: opacity 0.18s; }

/* ── Featured card (right) ── */
.hv2-mega-featured {
  border-left: 1px solid #e8ecf2;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(160deg, #f8fafc 0%, #f0f9fc 100%);
}
.hv2-feat-eyebrow {
  display: inline-flex; align-items: center;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: #0A97BE;
  background: rgba(10,151,190,0.1); border: 1px solid rgba(10,151,190,0.2);
  padding: 3px 10px; border-radius: 100px;
  width: fit-content;
}
.hv2-feat-img-wrap {
  width: 100%; aspect-ratio: 16/9;
  border-radius: 12px; overflow: hidden;
  background: #fff;
  border: 1px solid rgba(10,151,190,0.15);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(10,151,190,0.1);
}
.hv2-feat-img-wrap img {
  width: 60%; height: 60%; object-fit: contain; display: block;
}
.hv2-feat-title {
  font-size: 1rem; font-weight: 800; color: #0A1628; margin: 0; line-height: 1.3;
}
.hv2-feat-desc {
  font-size: 0.78rem; color: #6b7280; line-height: 1.6; margin: 0;
}
.hv2-feat-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: #0A97BE; color: #fff;
  font-size: 0.82rem; font-weight: 700;
  padding: 10px 18px; border-radius: 100px; text-decoration: none;
  width: fit-content; margin-top: 4px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(10,151,190,0.35);
}
.hv2-feat-btn:hover { background: #0881a0; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,151,190,0.45); color: #fff; }

/* ══ Exchange Premium Right Panel ══ */
.hv2-exc-premium {
  display: flex; flex-direction: column; gap: 10px; height: 100%;
}
.hv2-exc-product-card {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, #08111f 0%, #0d1f3c 60%, #091929 100%);
  border-radius: 14px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
  border: 1px solid rgba(10,151,190,0.18);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.hv2-exc-glow {
  position: absolute; top: -40px; right: -40px;
  width: 130px; height: 130px;
  background: radial-gradient(circle, rgba(10,151,190,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.hv2-exc-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: #f59e0b;
  background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.28);
  padding: 3px 9px; border-radius: 100px; width: fit-content;
}
.hv2-exc-product-row {
  display: flex; align-items: center; gap: 10px;
}
.hv2-exc-product-thumb {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hv2-exc-product-thumb img { width: 26px; height: 26px; object-fit: contain; display: block; }
.hv2-exc-thumb-fa { position: relative; }
.hv2-exc-thumb-sub { position: absolute; bottom: 4px; right: 4px; font-size: 8px !important; opacity: 0.85; }
.hv2-exc-product-name {
  font-size: 0.82rem; font-weight: 700; color: #fff; line-height: 1.2;
}
.hv2-exc-product-sub {
  font-size: 0.68rem; color: rgba(255,255,255,0.42); margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hv2-exc-stats-row { display: flex; gap: 6px; }
.hv2-exc-stat-pill {
  flex: 1;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px; padding: 6px 6px 5px;
  text-align: center;
  font-size: 0.58rem; color: rgba(255,255,255,0.4); line-height: 1;
}
.hv2-exc-stat-pill span {
  display: block; font-size: 0.75rem; font-weight: 700; color: #0A97BE; margin-bottom: 2px;
}
.hv2-exc-view-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #0A97BE, #0d7da0);
  color: #fff; font-size: 0.76rem; font-weight: 700;
  padding: 8px 16px; border-radius: 100px;
  text-decoration: none; width: fit-content;
  box-shadow: 0 4px 14px rgba(10,151,190,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hv2-exc-view-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,151,190,0.55); color: #fff; }

/* Calculator card */
.hv2-exc-calc-card {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 13px;
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid #e8ecf2;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.18s;
}
.hv2-exc-calc-card:hover {
  border-color: #0A97BE;
  box-shadow: 0 4px 16px rgba(10,151,190,0.15);
  transform: translateY(-1px);
}
.hv2-exc-calc-icon-wrap {
  width: 36px; height: 36px; flex-shrink: 0;
  background: linear-gradient(135deg, #0A97BE 0%, #067a9a 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(10,151,190,0.35);
}
.hv2-exc-calc-icon-wrap i { color: #fff; font-size: 14px; }
.hv2-exc-calc-info { flex: 1; min-width: 0; }
.hv2-exc-calc-title { font-size: 0.8rem; font-weight: 700; color: #0A1628; }
.hv2-exc-calc-sub { font-size: 0.68rem; color: #6b7280; margin-top: 1px; }
.hv2-exc-calc-chevron { color: #0A97BE; flex-shrink: 0; }
.hv2-exc-calc-chevron i { font-size: 11px; }

/* ── FA icon card: center the icon properly ── */
.hv2-card-icon i { display: flex; align-items: center; justify-content: center; }

/* ══ Exchange UI Mockup ══ */
.hv2-exchange-ui {
  background: #0d1421;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
/* Top bar */
.hv2-eu-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; background: #141d2e;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hv2-eu-pair { display: flex; align-items: center; gap: 8px; }
.hv2-eu-pair-name { font-size: 12px; font-weight: 800; color: #fff; letter-spacing: 0.02em; }
.hv2-eu-badge {
  font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  background: rgba(10,151,190,0.25); color: #0A97BE;
  padding: 2px 7px; border-radius: 100px; border: 1px solid rgba(10,151,190,0.3);
}
.hv2-eu-price-wrap { display: flex; align-items: baseline; gap: 8px; }
.hv2-eu-price { font-size: 13px; font-weight: 800; color: #22c55e; }
.hv2-eu-change { font-size: 10px; font-weight: 700; color: #22c55e; }

/* Chart */
.hv2-eu-chart { padding: 10px 14px 6px; background: #0d1421; }
.hv2-eu-chart-bars {
  display: flex; align-items: flex-end; gap: 3px; height: 56px;
}
.hv2-bar {
  flex: 1; height: var(--h); background: var(--c);
  border-radius: 2px 2px 0 0; opacity: 0.85;
  transition: opacity 0.2s;
}
.hv2-eu-chart:hover .hv2-bar { opacity: 1; }

/* Order book */
.hv2-eu-book {
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 8px 14px; gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hv2-eu-book-label {
  display: block; font-size: 9px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 5px;
}
.hv2-eu-book-label.sell { color: #ef4444; }
.hv2-eu-book-label.buy  { color: #22c55e; }
.hv2-eu-row {
  display: flex; justify-content: space-between;
  padding: 2px 0; font-size: 10px; font-weight: 500;
  border-radius: 3px; padding: 2px 4px; margin-bottom: 1px;
}
.hv2-eu-row.sell { color: #f87171; background: rgba(239,68,68,0.07); }
.hv2-eu-row.buy  { color: #4ade80; background: rgba(34,197,94,0.07); }

/* Actions */
.hv2-eu-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hv2-eu-buy, .hv2-eu-sell {
  padding: 8px; border: none; border-radius: 8px;
  font-size: 11px; font-weight: 800; cursor: pointer;
  letter-spacing: 0.03em; transition: opacity 0.2s;
}
.hv2-eu-buy  { background: #22c55e; color: #fff; }
.hv2-eu-sell { background: #ef4444; color: #fff; }
.hv2-eu-buy:hover, .hv2-eu-sell:hover { opacity: 0.85; }

/* ── Right: CTA + Hamburger ── */
.hv2-nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.hv2-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0A1628; color: #fff;
  font-size: 0.88rem; font-weight: 700;
  padding: 10px 20px; border-radius: 100px; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.hv2-cta-btn:hover { background: #0A97BE; transform: translateY(-1px); color: #fff; }

/* ── Hamburger ── */
.hv2-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px; border: none; background: none;
  cursor: pointer; padding: 8px; border-radius: 8px;
  transition: background 0.2s;
}
.hv2-hamburger:hover { background: rgba(10,151,190,0.08); }
.hv2-hamburger span {
  display: block; height: 2px; background: #1a1a2e; border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hv2-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hv2-hamburger.is-open span:nth-child(2) { opacity: 0; }
.hv2-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Overlay ── */
.hv2-overlay {
  position: fixed; inset: 72px 0 0 0;
  background: rgba(10,22,40,0.35); backdrop-filter: blur(2px);
  z-index: 998; opacity: 0; visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s;
}
.hv2-overlay.is-active { opacity: 1; visibility: visible; }

/* ── Mobile drawer ── */
.hv2-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw); background: #fff;
  z-index: 1100; transform: translateX(110%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 40px rgba(10,22,40,0.18);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hv2-drawer.is-open { transform: translateX(0); }
.hv2-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid #e8ecf2; flex-shrink: 0;
}
.hv2-drawer-close {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: none; background: #f8fafc;
  border-radius: 8px; cursor: pointer; color: #1a1a2e;
  transition: background 0.2s;
}
.hv2-drawer-close:hover { background: rgba(10,151,190,0.1); color: #0A97BE; }
.hv2-drawer-body {
  flex: 1; overflow-y: auto; padding: 12px 16px 24px;
  display: flex; flex-direction: column; gap: 2px;
}
.hv2-drawer-item { border-radius: 10px; }

/* Level 1 toggle — menu name */
.hv2-drawer-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 13px 14px; border: none; background: none;
  font-size: 0.95rem; font-weight: 700; color: #1a1a2e; cursor: pointer;
  border-radius: 10px; font-family: inherit;
  transition: background 0.18s, color 0.18s;
}
.hv2-drawer-toggle:hover { background: rgba(10,151,190,0.07); color: #0A97BE; }
.hv2-drawer-toggle.is-open { color: #0A97BE; background: rgba(10,151,190,0.05); }
.hv2-drawer-toggle svg { transition: transform 0.25s; flex-shrink: 0; }
.hv2-drawer-toggle.is-open > svg { transform: rotate(180deg); }

/* Level 1 sub container */
.hv2-drawer-sub {
  display: none;
  padding: 6px 10px 8px 10px;
}
.hv2-drawer-sub.is-open { display: block; }

/* Level 2 tab item */
.hv2-drawer-tab-item { margin-bottom: 6px; }

/* Level 2 sub-toggle — styled category header */
.hv2-drawer-sub-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 11px 14px;
  border: none;
  border-left: 3px solid #0A97BE;
  background: linear-gradient(135deg, #e8f7fb 0%, #f0f9fc 100%);
  font-size: 0.83rem; font-weight: 700; color: #0A1628;
  cursor: pointer; font-family: inherit; text-align: left;
  border-radius: 0 10px 10px 0;
  transition: background 0.18s, color 0.18s;
}
.hv2-drawer-sub-toggle:hover {
  background: linear-gradient(135deg, #cceef6 0%, #e0f5fb 100%);
  color: #0A97BE;
}
.hv2-drawer-sub-toggle.is-open {
  background: linear-gradient(135deg, #0A97BE 0%, #0881a0 100%);
  color: #fff;
  border-left-color: #065f7a;
}
.hv2-drawer-sub-toggle.is-open svg { stroke: #fff; }
.hv2-drawer-sub-toggle svg { transition: transform 0.25s; flex-shrink: 0; }
.hv2-drawer-sub-toggle.is-open > svg { transform: rotate(180deg); }

/* Level 2 links panel */
.hv2-drawer-tab-sub {
  display: none;
  padding: 4px 0 2px 8px;
  border-left: 2px solid rgba(10,151,190,0.15);
  margin-left: 6px;
}
.hv2-drawer-tab-sub.is-open { display: block; }

/* Link row */
.hv2-drawer-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 8px; text-decoration: none;
  font-size: 0.97rem; font-weight: 600; color: #1a1a2e;
  transition: background 0.18s, color 0.18s;
}
.hv2-drawer-link img { width: 26px; height: 26px; object-fit: contain; border-radius: 4px; flex-shrink: 0; }
.hv2-drawer-link i { font-size: 20px !important; width: 26px !important; }
.hv2-drawer-link:hover { background: rgba(10,151,190,0.07); color: #0A97BE; }
.hv2-drawer-blog { margin-top: 8px; border-top: 1px solid #e8ecf2; padding-top: 14px; }

/* ══ Responsive ══ */

/* Tablet: hide desktop nav, show hamburger */
@media (max-width: 1024px) {
  .hv2-nav { display: none; }
  .hv2-hamburger { display: flex; }
  .hv2-cta-btn { display: none; }
  .hv2-mega { display: none !important; }
  .hv2-nav-right { margin-left: auto; }
}

/* Tablet: tighter padding, slightly smaller logo */
@media (max-width: 1024px) and (min-width: 641px) {
  .hv2-nav-wrap { padding: 0 16px; height: 64px; }
  .hv2-logo img { height: 32px; }
  #main-content { margin-top: 64px !important; }
}

/* Mobile: compact navbar */
@media (max-width: 640px) {
  .hv2-nav-wrap { padding: 0 12px; height: 60px; }
  .hv2-logo img { height: 28px; }
  .hv2-header.is-hidden { top: -60px; }
  #main-content { margin-top: 60px !important; }
}

/* Drawer responsive: full width on very small screens */
@media (max-width: 400px) {
  .hv2-drawer { width: 100%; }
}

/* Mega panel: tighter on medium screens */
@media (min-width: 1025px) and (max-width: 1280px) {
  .hv2-mega-inner {
    grid-template-columns: 220px 1fr 240px;
  }
  .hv2-cards-grid { grid-template-columns: 1fr; }
}

/* Mega panel: full 2-col cards on large screens */
@media (min-width: 1281px) {
  .hv2-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Accessibility: visible keyboard focus + skip link ───────────────────────
   Added 2026-09-24. The site had only 2 :focus rules across ~240 KB of CSS, so
   keyboard focus was effectively invisible. :focus-visible means mouse users see
   no ring, only keyboard users do. High specificity so it wins over any
   outline:none left in the older stylesheets. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #0A97BE !important;
  outline-offset: 2px !important;
  border-radius: 2px;
}

.cc-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 12px 20px;
  background: #0A1628;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}
.cc-skip-link:focus {
  left: 0;
  outline: 3px solid #0A97BE;
  outline-offset: 2px;
}
