/* EUROPES — editorial design system */
:root {
  --navy: #061633;
  --navy-2: #0a2247;
  --gold: #f5c518;
  --ink: #14181f;
  --ink-2: #4a5260;
  --paper: #faf9f6;
  --card: #ffffff;
  --line: #e4e1da;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
}
html[data-theme="dark"] {
  --ink: #e8e6e1;
  --ink-2: #9aa3b2;
  --paper: #0b0f17;
  --card: #131a26;
  --line: #232c3d;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ── topbar ── */
.topbar { background: var(--navy); color: #c9d4e8; font-size: 12.5px; }
.topbar-in { display: flex; align-items: center; gap: 18px; height: 34px; }
.topbar-date { white-space: nowrap; }
.topbar-fx { display: flex; gap: 14px; overflow: hidden; flex: 1; white-space: nowrap; }
.fx-pair b { color: var(--gold); font-weight: 600; }
.fx-more { color: var(--gold); }
.topbar-auth { white-space: nowrap; display: flex; gap: 6px; align-items: center; }
.topbar-auth a { color: #fff; }
.topbar-auth .join { color: var(--gold); font-weight: 700; }
.theme-btn { background: none; border: none; color: #c9d4e8; font-size: 15px; cursor: pointer; margin-left: 8px; }

/* ── masthead ── */
.masthead { background: var(--card); border-bottom: 1px solid var(--line); }
.masthead-in { display: flex; align-items: center; justify-content: space-between; padding: 22px 20px; gap: 20px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif); font-weight: 900; font-size: 52px;
  letter-spacing: 4px; color: var(--ink);
}
.brand-name::first-letter { color: var(--gold); }
.brand-sub { font-size: 11px; letter-spacing: 5px; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
.search { display: flex; border: 1.5px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--paper); }
.search input { border: none; outline: none; padding: 9px 16px; width: 220px; background: transparent; color: var(--ink); font-size: 14px; }
.search button { border: none; background: none; padding: 0 14px; font-size: 17px; cursor: pointer; color: var(--ink-2); }
.search.big { max-width: 560px; margin: 0 auto 36px; }
.search.big input { width: 100%; font-size: 16px; padding: 13px 20px; }

/* ── nav ── */
.mainnav { background: var(--card); border-bottom: 2.5px solid var(--navy); position: sticky; top: 0; z-index: 50; }
.mainnav-in { display: flex; align-items: center; }
.nav-burger { display: none; background: none; border: none; font-size: 22px; color: var(--ink); cursor: pointer; padding: 10px; }
.nav-links { display: flex; flex-wrap: wrap; }
.nav-links a {
  padding: 12px 13px; font-size: 13.5px; font-weight: 600;
  letter-spacing: .3px; border-bottom: 3px solid transparent; transition: .15s;
}
.nav-links a:hover, .nav-links a.on { border-bottom-color: var(--cat, var(--gold)); color: var(--cat, inherit); }
.nav-group { color: #8a6d00; font-weight: 800 !important; }
html[data-theme="dark"] .nav-group { color: var(--gold); }

/* ── ticker ── */
.ticker { display: flex; align-items: center; background: #a31a1a; color: #fff; overflow: hidden; height: 36px; }
.ticker-tag { background: #7a0f0f; font-weight: 800; font-size: 11.5px; letter-spacing: 2px; padding: 0 14px; line-height: 36px; flex-shrink: 0; }
.ticker-rail { overflow: hidden; flex: 1; }
.ticker-move { display: inline-flex; align-items: center; gap: 18px; white-space: nowrap; animation: tick 80s linear infinite; padding-left: 10px; }
.ticker-move a { font-size: 13px; font-weight: 500; }
.ticker-move a:hover { text-decoration: underline; }
.tick-dot { font-size: 7px; color: var(--gold); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── imágenes / placeholder ── */
.img-box { position: relative; overflow: hidden; border-radius: 6px; background: linear-gradient(135deg, var(--cat, var(--navy)) 0%, #0a0f1d 130%); }
.ratio-wide { aspect-ratio: 16 / 9; }
.ratio-sq { aspect-ratio: 1; }
.img-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; z-index: 1; }
.img-box .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 44px; font-weight: 900; color: rgba(255,255,255,.25);
  background: linear-gradient(135deg, var(--cat, var(--navy)) 0%, #0a0f1d 130%);
}
a:hover .img-box img, .card:hover .img-box img { transform: scale(1.045); }

/* ── kicker / byline ── */
.kicker {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--cat, var(--navy));
  border-left: 3px solid var(--cat, var(--gold)); padding-left: 8px; margin-bottom: 8px;
}
.kicker.sm { font-size: 10px; margin-bottom: 4px; }
.byline { font-size: 12px; color: var(--ink-2); }

/* ── hero ── */
.hero { display: grid; grid-template-columns: 1.9fr 1fr; gap: 28px; padding: 28px 0 10px; }
.hero-lead .hero-txt { padding-top: 16px; }
.hero-lead h1 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 44px); line-height: 1.12; margin: 4px 0 10px; }
.hero-lead p { color: var(--ink-2); font-size: 16px; max-width: 60ch; margin-bottom: 8px; }
.hero-side { display: flex; flex-direction: column; gap: 16px; }
.side-card { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.side-card:last-child { border-bottom: none; }
.side-card h3 { font-family: var(--serif); font-size: 16.5px; line-height: 1.25; margin-bottom: 4px; }
.side-card:hover h3 { text-decoration: underline; }

/* ── market strip ── */
.market-strip {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: var(--navy); color: #c9d4e8; border-radius: 8px;
  padding: 10px 18px; margin: 22px 0; font-size: 13px;
}
.ms-title { color: var(--gold); font-weight: 800; letter-spacing: 2px; font-size: 11.5px; }
.ms-item b { color: #fff; }
.ms-item.btc b { color: var(--gold); }
.ms-item i { font-style: normal; font-size: 11.5px; margin-left: 3px; }
.up { color: #4ade80; } .down { color: #f87171; }
.ms-link { margin-left: auto; color: var(--gold); font-weight: 700; }

/* ── secciones home ── */
.sec-row { padding: 26px 0 6px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 3px solid var(--cat, var(--navy)); margin-bottom: 18px; }
.sec-head h2 { font-family: var(--serif); font-size: 24px; padding-bottom: 6px; }
.sec-head h2 a:hover { color: var(--cat); }
.sec-all { font-size: 12.5px; font-weight: 700; color: var(--cat, var(--navy)); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card h3 { font-family: var(--serif); font-size: 16.5px; line-height: 1.28; margin: 10px 0 6px; }
.card:hover h3 { text-decoration: underline; }
.card p { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }

/* ── section page ── */
.sec-hero { padding: 34px 0 18px; border-bottom: 4px solid var(--cat, var(--navy)); margin-bottom: 22px; }
.sec-hero h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 48px); color: var(--cat, var(--ink)); }
.sec-hero p { color: var(--ink-2); max-width: 70ch; margin-top: 6px; }
.country-filter { margin-bottom: 20px; }
.country-filter select {
  padding: 9px 14px; border-radius: 8px; border: 1.5px solid var(--line);
  background: var(--card); color: var(--ink); font-size: 14px; font-family: var(--sans);
}
.empty { padding: 50px 0; color: var(--ink-2); font-size: 15px; }
.pager { display: flex; gap: 18px; align-items: center; justify-content: center; padding: 34px 0; font-weight: 600; }
.pager a { color: var(--navy); border: 1.5px solid var(--line); background: var(--card); padding: 8px 18px; border-radius: 24px; }
html[data-theme="dark"] .pager a { color: var(--gold); }
.pager span { color: var(--ink-2); font-size: 13.5px; }

/* ── article ── */
.story { max-width: 820px; margin: 0 auto; padding: 34px 0 10px; }
.story-head h1 { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 44px); line-height: 1.14; margin: 8px 0 14px; }
.story-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--ink-2); font-size: 13px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; margin-bottom: 22px; }
.story-img { margin-bottom: 22px; }
.story-img img { width: 100%; border-radius: 8px; }
.story-img figcaption { font-size: 12px; color: var(--ink-2); margin-top: 6px; }
.story-body .lede { font-size: 19px; line-height: 1.6; font-weight: 450; margin-bottom: 18px; }
.src-note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 6px; font-size: 14px; color: var(--ink-2); margin-bottom: 22px; }
.btn-gold {
  display: inline-block; background: var(--gold); color: #14181f !important;
  font-weight: 800; padding: 12px 24px; border-radius: 28px; font-size: 14.5px;
  border: none; cursor: pointer; transition: .15s;
}
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-gold.full { width: 100%; }

/* ── videos ── */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.video-grid.big { grid-template-columns: repeat(3, 1fr); }
.video-card h3 { font-family: var(--serif); font-size: 15.5px; line-height: 1.3; margin: 9px 0 4px; }
.vthumb { cursor: pointer; }
.vthumb .play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; z-index: 2; transition: .2s;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.vthumb .play::before {
  content: ''; position: absolute; width: 58px; height: 40px; border-radius: 10px;
  background: rgba(163, 26, 26, .92); z-index: -1;
}
.vthumb:hover .play { transform: scale(1.12); }
.video-card iframe { width: 100%; aspect-ratio: 16/9; border: none; border-radius: 6px; }

/* ── jobs ── */
.job-list { display: flex; flex-direction: column; gap: 10px; }
.job-row {
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 13px 18px; transition: .15s;
}
.job-row:hover { border-color: var(--gold); transform: translateX(3px); }
.job-row b { display: block; font-size: 14.5px; }
.job-row span { font-size: 12.5px; color: var(--ink-2); display: block; }
.job-tags { margin-top: 2px; }
.job-side { text-align: right; flex-shrink: 0; }
.remote-tag { font-style: normal; background: #0e6e8c; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 1px; padding: 2px 8px; border-radius: 10px; }
.inline-block { margin-top: 22px; }

/* ── markets page ── */
.fx-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin: 6px 0 14px; }
.fx-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.fx-cur { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--ink-2); }
.fx-val { display: block; font-size: 24px; font-family: var(--serif); margin-top: 4px; }
.fx-chg { font-style: normal; font-size: 12px; font-weight: 700; }

/* ── conglomerate ── */
.cong-hero { padding: 56px 0 36px; text-align: center; }
.cong-hero h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 64px); line-height: 1.08; margin: 12px 0 18px; }
.cong-lede { max-width: 78ch; margin: 0 auto 30px; color: var(--ink-2); font-size: 16.5px; }
.cong-stats { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; }
.cong-stats b { display: block; font-family: var(--serif); font-size: 34px; color: var(--navy); }
html[data-theme="dark"] .cong-stats b { color: var(--gold); }
.cong-stats span { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-2); }
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 22px; transition: .18s; border-top: 3px solid var(--gold);
}
.sector-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(6, 22, 51, .12); }
.sector-card h3 { font-family: var(--serif); font-size: 18px; margin-bottom: 6px; }
.sector-card p { font-size: 13.5px; color: var(--ink-2); }
.cong-media { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 26px; font-size: 15.5px; }
.cong-media p { margin-bottom: 16px; max-width: 90ch; }
.cong-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  background: var(--navy); color: #fff; border-radius: 12px;
  padding: 34px 38px; margin: 40px 0;
}
.cong-banner h2 { font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); margin: 6px 0 8px; }
.cong-banner p { color: #c9d4e8; max-width: 64ch; font-size: 14.5px; }

/* ── longevity tips ── */
.tips-board { background: linear-gradient(135deg, #0d7d5c 0%, #064d38 100%); border-radius: 14px; padding: 30px; color: #eafff7; margin: 6px 0 10px; }
.tips-board.home { margin-top: 4px; }
.tips-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.tips-head h2 { font-family: var(--serif); font-size: 26px; color: #fff; }
.tips-head p { color: #b8e8d8; font-size: 14px; }
.tips-head .sec-all { color: var(--gold); }
.tips-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tips-grid.three { grid-template-columns: repeat(3, 1fr); }
.tip-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 16px 18px; transition: .18s; }
.tip-card:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.tip-num { font-size: 11px; font-weight: 800; letter-spacing: 2px; color: var(--gold); }
.tip-card h3 { font-family: var(--serif); font-size: 16.5px; margin: 4px 0 6px; color: #fff; }
.tip-card p { font-size: 12.5px; color: #cdeede; line-height: 1.5; }
@media (max-width: 1020px) { .tips-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tips-grid, .tips-grid.three { grid-template-columns: 1fr; } }

/* ── clubs ── */
.crumbs { font-size: 12.5px; color: var(--ink-2); margin-bottom: 8px; }
.crumbs a { color: var(--ink-2); text-decoration: underline; }
.club-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.club-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px; position: relative; transition: .18s; }
.club-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(6,22,51,.12); }
.club-card.top { border-top: 3px solid #a31a6e; }
.club-rank { font-family: var(--serif); font-weight: 900; font-size: 18px; color: var(--gold); }
.club-card h3 { font-family: var(--serif); font-size: 17px; margin: 4px 0 6px; }
.club-meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ink-2); margin-bottom: 8px; }
.club-meta.big { font-size: 15px; gap: 16px; margin: 10px 0; }
.club-rating { color: #c98a00; font-weight: 800; }
.club-city { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.club-city a:hover { text-decoration: underline; }
.club-addr { font-size: 12px; color: var(--ink-2); margin-bottom: 3px; }
.club-maps { font-size: 12.5px; font-weight: 700; color: #a31a6e; }
.country-head { font-family: var(--serif); font-size: 19px; margin: 18px 0 10px; }
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.city-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; transition: .15s; }
.city-card:hover { border-color: #a31a6e; transform: translateX(3px); }
.city-card b { display: block; font-family: var(--serif); font-size: 16px; }
.city-card span { display: block; font-size: 12px; color: var(--ink-2); }
.city-best { margin-top: 4px; }
.best-club { background: linear-gradient(135deg, #2b0a20 0%, #0b0f17 100%); color: #f3e9ef; border-radius: 14px; padding: 30px; margin: 8px 0 8px; }
.best-club h2 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 40px); color: #fff; margin: 6px 0; }
.best-club p { margin: 4px 0; font-size: 14.5px; }
.best-club a { color: var(--gold); }
.best-club .btn-gold { margin-top: 12px; }
.city-map { width: 100%; height: 420px; border: none; border-radius: 10px; }
.club-table { display: flex; flex-direction: column; gap: 8px; }
.club-row { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; }
.club-row .club-rank { min-width: 38px; }
.club-info { flex: 1; }
.club-info b { font-size: 14.5px; }
.club-info span { display: block; font-size: 12px; color: var(--ink-2); }
.club-web { font-size: 12px; color: #0e6e8c; }
.club-side { text-align: right; flex-shrink: 0; }
.club-side .byline { display: block; }
.banner-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── adventure / gravity ── */
.sport-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.sport-chip { background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 7px 14px; font-size: 13px; font-weight: 600; }
.sport-chip b { color: #c2410c; }
a.sport-chip:hover, .chip-on { border-color: #c2410c; color: #c2410c; }
.gravity-banner, .gravity-hero {
  background: linear-gradient(120deg, #1a0f02 0%, #3a1505 55%, #0b0f17 100%);
  color: #f7ece2; border-radius: 14px; padding: 34px 38px; margin: 14px 0;
}
.gravity-banner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.gravity-banner h2 { font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); color: #fff; margin: 6px 0 8px; }
.gravity-banner p { color: #e8cdb5; max-width: 70ch; font-size: 14.5px; }
.gravity-hero { text-align: center; padding: 50px 38px; }
.gravity-hero h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 60px); color: #fff; margin: 10px 0 16px; }
.gravity-hero .cong-lede { color: #e8cdb5; }
.gravity-hero .cong-stats b { color: var(--gold); }
.gravity-hero .cong-stats span { color: #c9a283; }
.grav-text { font-size: 15.5px; max-width: 90ch; }
.grav-facts { margin-left: 20px; font-size: 14.5px; }
.grav-facts li { padding: 5px 0; }
.price-table { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.price-card { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 10px; padding: 20px; }
.price-card h3 { font-family: var(--serif); font-size: 20px; }
.price-dur { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-2); }
.price-card p { font-size: 13px; color: var(--ink-2); margin: 8px 0; }
.price-val { font-size: 18px; color: #c2410c; }
@media (max-width: 1020px) { .price-table { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .price-table { grid-template-columns: 1fr; } }

/* ── tours ── */
.tour { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px; margin: 18px 0; }
.tour-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.tour-head h2 { font-family: var(--serif); font-size: 26px; }
.tour-meta { display: flex; gap: 12px; font-size: 12.5px; color: var(--ink-2); font-weight: 700; }
.tour-desc { color: var(--ink-2); font-size: 14.5px; margin: 8px 0 18px; max-width: 90ch; }
.tour-route { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.tour-stop { flex: 1; min-width: 190px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.stop-num { display: inline-block; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #14181f; font-weight: 800; font-size: 13px; text-align: center; line-height: 24px; }
.tour-stop h3 { font-family: var(--serif); font-size: 18px; margin: 6px 0 0; }
.tour-stop h3 a:hover { text-decoration: underline; }
.stop-clubs { list-style: none; margin: 10px 0; }
.stop-clubs li { font-size: 13px; padding: 3px 0; border-bottom: 1px dashed var(--line); }
.stop-clubs li:last-child { border-bottom: none; }
.stop-clubs i { font-style: normal; color: #c98a00; font-size: 12px; font-weight: 700; }
.tour-arrow { align-self: center; font-size: 22px; color: var(--gold); font-weight: 800; }
@media (max-width: 1020px) { .club-grid, .city-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .club-grid, .city-grid { grid-template-columns: 1fr; }
  .tour-route { flex-direction: column; }
  .tour-arrow { transform: rotate(90deg); align-self: flex-start; margin-left: 20px; }
  .club-row { flex-wrap: wrap; }
}

/* ── auth ── */
.auth-box { max-width: 420px; margin: 56px auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 36px; text-align: center; }
.auth-box h1 { font-family: var(--serif); font-size: 32px; }
.auth-sub { color: var(--ink-2); margin: 6px 0 22px; }
.auth-err { background: #fde8e8; color: #a31a1a; border-radius: 8px; padding: 10px; font-size: 13.5px; margin-bottom: 16px; }
.auth-box label { display: block; text-align: left; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.auth-box input {
  width: 100%; margin-top: 5px; padding: 11px 14px; border-radius: 8px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font-size: 14.5px;
}
.auth-alt { margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.auth-alt a { color: var(--navy); font-weight: 700; }
html[data-theme="dark"] .auth-alt a { color: var(--gold); }

/* ── footer ── */
.footer { background: var(--navy); color: #c9d4e8; margin-top: 50px; padding: 44px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 30px; }
.f-name { font-size: 34px; color: #fff; margin-bottom: 8px; }
.f-small { font-size: 12px; color: #8a96ad; margin-top: 8px; }
.footer h4 { color: var(--gold); font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.footer a { display: block; font-size: 13.5px; padding: 3px 0; color: #c9d4e8; }
.footer a:hover { color: #fff; }
.f-bottom { border-top: 1px solid #1b2c4d; padding: 16px 20px; font-size: 12.5px; color: #8a96ad; }

/* ── responsive ── */
@media (max-width: 1020px) {
  .card-grid, .card-grid.four { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .brand-name { font-size: 38px; }
  .masthead-in { flex-direction: column; gap: 12px; }
  .topbar-fx { display: none; }
  .nav-burger { display: block; }
  .nav-links { display: none; flex-direction: column; width: 100%; }
  .nav-links.open { display: flex; }
  .card-grid, .card-grid.four, .video-grid, .video-grid.big { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cong-banner { padding: 26px; }
}
@media (max-width: 520px) {
  .card-grid, .card-grid.four, .video-grid, .video-grid.big, .sector-grid { grid-template-columns: 1fr; }
  .job-row { flex-direction: column; align-items: flex-start; }
  .job-side { text-align: left; }
}
