/* ADM portal homepage + header (matches design mockup). Loaded after afridev-modern.css */
:root {
  --adm-green: #0f3d2e;
  --adm-green-2: #1a5a42;
  --adm-gold: #e0a526;
  --adm-red: #d62828;
  --adm-home-border: #e3e6e4;
  --adm-b-0: #2f7d32; --adm-b-1: #1f6fd0; --adm-b-2: #c0561a; --adm-b-3: #7b3fb0;
  --adm-b-4: #0a8a8a; --adm-b-5: #b0263f; --adm-b-6: #6b7a1c;
}
[data-theme="dark"] { --adm-home-border: #272c3c; }

/* ── Header ───────────────────────────────────────────── */
.adm-header .adm-topbar {
  background: var(--adm-green);
  color: #e8f0ec;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.adm-header .adm-topbar a,
.adm-header .adm-topbar summary {
  color: #e8f0ec;
  text-decoration: none;
}
.adm-header .adm-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 40px;
  padding: 5px 0;
  flex-wrap: nowrap;
}
.adm-header .adm-topbar-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  font-weight: 600;
}
.adm-header .adm-topbar-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 0;
}
.adm-header .adm-topbar-links a {
  white-space: nowrap;
  opacity: 0.92;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.adm-header .adm-topbar-links a:hover {
  opacity: 1;
  color: #ffffff;
}
@media (max-width: 1199px) {
  .adm-header .adm-topbar-links a:nth-child(n+5) {
    display: none;
  }
}
@media (max-width: 991px) {
  .adm-header .adm-topbar-links {
    display: none;
  }
}
.adm-header .adm-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}
.adm-lang {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.adm-lang summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}
.adm-lang summary::-webkit-details-marker { display: none; }
.adm-lang ul {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px 0;
  min-width: 130px;
  background: var(--adm-surface);
  border: 1px solid var(--adm-home-border);
  border-radius: 6px;
  list-style: none;
  z-index: 10000;
}
.adm-lang ul a { display: block; padding: 6px 14px; color: var(--adm-ink); }
.adm-header .adm-topbar .adm-theme-toggle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
}
.adm-topbar-socials {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.adm-topbar-socials ul,
.adm-topbar-socials ul.nav {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 5px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.adm-topbar-socials ul li {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex;
}
.adm-topbar-socials a {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--adm-green) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  transition: transform 0.15s ease, background 0.15s ease;
}
.adm-topbar-socials a:hover {
  background: var(--adm-gold);
  color: #12211a !important;
}
.adm-topbar-auth {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 2px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}
.adm-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
}
.adm-header .adm-topbar a.adm-auth-btn--login,
.adm-auth-btn--login {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.38);
}
.adm-header .adm-topbar a.adm-auth-btn--login:hover,
.adm-auth-btn--login:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff !important;
}
.adm-header .adm-topbar a.adm-auth-btn--register,
.adm-auth-btn--register {
  background: var(--adm-gold, #e0a526);
  color: #12211a !important;
  border: 1px solid var(--adm-gold, #e0a526);
}
.adm-header .adm-topbar a.adm-auth-btn--register:hover,
.adm-auth-btn--register:hover {
  background: #efb63d;
  color: #12211a !important;
}
.adm-auth-btn--account {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.adm-account-menu { position: relative; }
.adm-account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 225px;
  background: var(--adm-surface, #ffffff);
  border: 1px solid var(--adm-home-border, #e2e8f0);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
  padding: 6px 0;
  z-index: 10050;
}
.adm-account-head {
  padding: 8px 14px;
  border-bottom: 1px solid var(--adm-home-border, #e2e8f0);
  margin-bottom: 4px;
}
.adm-account-head strong {
  display: block;
  font-size: 13px;
  color: var(--adm-ink, #0f172a);
  line-height: 1.3;
}
.adm-account-head small {
  display: block;
  font-size: 11px;
  color: #64748b;
}
.adm-header .adm-topbar a.adm-account-link,
.adm-account-link,
.adm-switch-item {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--adm-ink, #1e293b) !important;
  text-decoration: none !important;
  cursor: pointer;
}
.adm-header .adm-topbar a.adm-account-link:hover,
.adm-account-link:hover,
.adm-switch-item:hover {
  background: rgba(15, 61, 46, 0.08);
  color: var(--adm-green, #0f3d2e) !important;
}
.adm-header .adm-topbar a.adm-account-link--logout,
.adm-account-link--logout {
  color: #dc2626 !important;
}
.adm-account-divider {
  height: 1px;
  background: var(--adm-home-border, #e2e8f0);
  margin: 5px 0;
}
.adm-account-section-label {
  padding: 4px 14px 2px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.adm-masthead { background: var(--adm-surface); border-bottom: 1px solid var(--adm-home-border); }
.adm-masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.adm-masthead .adm-logo { gap: 12px; }
.adm-masthead .adm-logo img { max-height: 64px; width: auto; }
.adm-logo-text { display: flex; flex-direction: column; line-height: 1.05; color: var(--adm-green); }
.adm-logo-text strong { font: 800 26px/1 var(--adm-body); text-transform: uppercase; letter-spacing: -.3px; max-width: 280px; }
.adm-logo-text small { font-size: 13px; font-weight: 600; color: var(--adm-green-2); margin-top: 4px; }
.adm-masthead-ad { flex: 1; text-align: center; min-width: 0; }
.adm-masthead-ad img { max-height: 62px; width: 100%; object-fit: cover; border-radius: 3px; }
.adm-masthead-search { display: flex; align-items: center; border: 1px solid var(--adm-home-border); border-radius: 6px; overflow: hidden; width: 270px; margin-left: auto; background: var(--adm-surface); }
.adm-masthead-search input { flex: 1; border: 0; padding: 9px 12px; font-size: 13px; background: transparent; color: var(--adm-ink); min-width: 0; outline: 0; }
.adm-masthead-search button { border: 0; background: transparent; padding: 0 12px; color: var(--adm-ink); height: 36px; }

html body .adm-header .adm-nav { background: var(--adm-green) !important; border: 0; }
html body .adm-header .adm-nav .horizontal-menu > ul { display: flex; align-items: center; flex-wrap: nowrap; margin: 0; padding: 0; list-style: none; }
html body .adm-header .adm-nav .horizontal-menu > ul > li > a { display: flex; align-items: center; padding: 14px 18px; color: #fff !important; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
html body .adm-header .adm-nav .horizontal-menu > ul > li > a::after { display: none; }
html body .adm-header .adm-nav .horizontal-menu > ul > li:hover > a,
html body .adm-header .adm-nav .horizontal-menu > ul > li.current-menu-item > a { background: var(--adm-gold) !important; color: #1b1b1b !important; }

/* ── Layout ───────────────────────────────────────────── */
.adm-home { padding-bottom: 40px; }
.adm-hero-row { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 18px; }
.adm-hero-left { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 18px; }
.adm-hero-right { display: flex; flex-direction: column; gap: 14px; }

.adm-badge, .adm-tag { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; color: #fff; letter-spacing: .2px; }
.adm-badge--red { background: var(--adm-red); }
.adm-badge.adm-b-0, .adm-b-0 { background: var(--adm-b-0); } .adm-b-1 { background: var(--adm-b-1); } .adm-b-2 { background: var(--adm-b-2); }
.adm-b-3 { background: var(--adm-b-3); } .adm-b-4 { background: var(--adm-b-4); } .adm-b-5 { background: var(--adm-b-5); } .adm-b-6 { background: var(--adm-b-6); }
.adm-tag { color: inherit; background: color-mix(in srgb, currentColor 0%, transparent); }
.adm-tag.adm-b-0 { color: var(--adm-b-0); background: #e7f3e8; } .adm-tag.adm-b-1 { color: var(--adm-b-1); background: #e5effb; }
.adm-tag.adm-b-2 { color: var(--adm-b-2); background: #fbece3; } .adm-tag.adm-b-3 { color: var(--adm-b-3); background: #f0e8f7; }
.adm-tag.adm-b-4 { color: var(--adm-b-4); background: #e2f4f4; } .adm-tag.adm-b-5 { color: var(--adm-b-5); background: #fbe7ec; }
.adm-tag.adm-b-6 { color: var(--adm-b-6); background: #f1f4de; } .adm-tag.adm-b-green { color: #2f7d32; background: #e7f3e8; }

/* Lead */
.adm-lead { position: relative; border-radius: 6px; overflow: hidden; min-height: 440px; background: #111; display: flex; }
.adm-lead-img, .adm-lead-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.adm-lead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.35) 55%, transparent 100%); pointer-events: none; }
.adm-lead-body { position: relative; z-index: 1; align-self: flex-end; padding: 22px; color: #fff; }
.adm-lead-body h2 { font: 800 clamp(24px, 2.6vw, 32px)/1.15 var(--adm-body); margin: 10px 0; }
.adm-lead-body h2 a { color: #fff; }
.adm-lead-body p { font-size: 14px; color: #e6e6e6; margin: 0 0 12px; }
.adm-lead-meta { display: flex; align-items: center; gap: 16px; font-size: 12px; color: #ddd; }
.adm-readmore { margin-left: auto; color: var(--adm-gold) !important; font-weight: 700; }

/* Side list */
.adm-side-list { display: flex; flex-direction: column; gap: 10px; }
.adm-side-item { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--adm-home-border); }
.adm-side-item:last-child { border: 0; }
.adm-thumb { display: block; overflow: hidden; border-radius: 3px; }
.adm-thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; display: block; }
.adm-side-item h3, .adm-mini h4 { font: 700 14px/1.3 var(--adm-body); margin: 5px 0; }
.adm-side-item h3 a, .adm-mini h4 a, .adm-feature h3 a { color: var(--adm-ink); }
.adm-side-item time, .adm-row-meta time { font-size: 11px; color: var(--adm-muted); }

/* Radio + digest */
.adm-hero-right .adm-panel { border: 1px solid var(--adm-home-border); border-radius: 6px; padding: 14px; background: var(--adm-surface); }
.adm-radio-head { display: flex; justify-content: space-between; align-items: flex-start; }
.adm-radio h3, .adm-digest h3 { font: 800 15px/1.2 var(--adm-body); margin: 0 0 3px; color: var(--adm-green); }
.adm-radio small { font-size: 11px; color: var(--adm-muted); }
.adm-live-pill { background: var(--adm-red); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 3px; }
.adm-live-pill.is-off { background: var(--adm-muted); }
.adm-low-bw { display: block; font-size: 11px; color: var(--adm-muted); margin: -4px 0 10px; }
.adm-radio-next { list-style: none; margin: 0 0 10px; padding: 0; font-size: 11px; color: var(--adm-muted); }
.adm-radio-next b { color: var(--adm-ink); margin-right: 4px; }
.adm-player { display: flex; align-items: center; gap: 12px; background: var(--adm-green); color: #fff; border-radius: 6px; padding: 12px; margin: 12px 0; }
.adm-player-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--adm-green); flex-shrink: 0; }
.adm-player-btn:disabled { opacity: .5; }
.adm-player-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.adm-player-info strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-player-info small { color: #b8d3c7; }
.adm-player-bar { height: 3px; background: rgba(255,255,255,.3); border-radius: 2px; margin-top: 6px; }
.adm-player-bar span { display: block; height: 100%; width: 0; background: var(--adm-gold); border-radius: 2px; }
.adm-radio-links { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--adm-home-border); border-radius: 4px; }
.adm-radio-links a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px; font-size: 11px; font-weight: 600; color: var(--adm-ink); border-right: 1px solid var(--adm-home-border); }
.adm-radio-links a:last-child { border: 0; }
.adm-radio-links i { font-size: 16px; }
.adm-digest { background: #f5f1e6; }
[data-theme="dark"] .adm-digest { background: var(--adm-surface-2); }
.adm-digest p { font-size: 12.5px; margin: 6px 0 10px; color: var(--adm-ink-soft); }
.adm-digest form { display: flex; gap: 6px; }
.adm-digest input { flex: 1; min-width: 0; border: 1px solid var(--adm-home-border); border-radius: 4px; padding: 8px 10px; font-size: 12px; }
.adm-digest button { background: var(--adm-gold); border: 0; border-radius: 4px; padding: 0 14px; font-weight: 700; font-size: 12px; color: #fff; }

/* Quick tiles */
.adm-tiles-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin: 22px 0; }
.adm-qtile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 92px; padding: 12px 8px; border-radius: 4px; color: #fff !important; text-align: center; font-size: 12px; font-weight: 800; text-transform: uppercase; line-height: 1.2; transition: transform .2s; }
.adm-qtile:hover { transform: translateY(-3px); }
.adm-qtile i { font-size: 24px; }
.adm-qtile--green-d { background: #12392c; } .adm-qtile--gold { background: #c58a14; } .adm-qtile--maroon { background: #6b1f1a; }
.adm-qtile--blue { background: #1f5fc0; } .adm-qtile--green { background: #2f8a3c; } .adm-qtile--orange { background: #c4561a; } .adm-qtile--indigo { background: #3d3a9c; }

/* Lower blocks */
.adm-lower { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr) 250px; gap: 22px; }
.adm-block { margin-bottom: 24px; }
.adm-block-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--adm-home-border); margin-bottom: 12px; padding-bottom: 6px; }
.adm-block-head h2 { font: 800 14px/1 var(--adm-body); text-transform: uppercase; color: var(--adm-green); margin: 0; }
.adm-block-head a { font-size: 11px; color: var(--adm-ink-soft); }
.adm-block--side .adm-block-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.adm-feature-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; display: block; }
.adm-feature h3 { font: 800 16px/1.3 var(--adm-body); margin: 10px 0 6px; }
.adm-row-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.adm-mini-list { display: flex; flex-direction: column; gap: 12px; }
.adm-mini { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.adm-block--below .adm-mini-list { margin-top: 12px; }
.adm-block--below .adm-mini { grid-template-columns: 90px 1fr; }

/* Countries + voices */
.adm-countries-body { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: center; }
.adm-map polygon { fill: #d7dcd9; stroke: #fff; stroke-width: .6; }
.adm-map circle { fill: var(--adm-green-2); stroke: #fff; stroke-width: 1; }
.adm-flag-list { list-style: none; margin: 0; padding: 0; font-size: 12px; }
.adm-flag-list li { padding: 4px 0; }
.adm-flag-list a { display: flex; align-items: center; gap: 8px; color: var(--adm-ink); }
.adm-flag-list .adm-more a { color: var(--adm-gold); font-weight: 700; }
.adm-mini--voice { grid-template-columns: 56px 1fr; margin-bottom: 12px; }
.adm-avatar-lg { width: 56px; height: 56px; border-radius: 4px; overflow: hidden; display: block; }
.adm-avatar-lg img { width: 100%; height: 100%; object-fit: cover; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1199px) {
  .adm-hero-row { grid-template-columns: 1fr; }
  .adm-hero-right { flex-direction: row; } .adm-hero-right > * { flex: 1; }
  .adm-lower { grid-template-columns: 1fr 1fr; } .adm-lower-c { grid-column: 1 / -1; }
  .adm-tiles-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .adm-hero-left, .adm-lower, .adm-block--side .adm-block-body, .adm-hero-right { grid-template-columns: 1fr; display: grid; }
  .adm-lead { min-height: 340px; }
  .adm-tiles-row { grid-template-columns: repeat(2, 1fr); }
  .adm-logo-text strong { font-size: 17px; max-width: 190px; } .adm-masthead .adm-logo img { max-height: 44px; }
}

/* Nav: beat afridev-modern glass rules */
html body .adm-header .adm-nav#header_bottom_h1,
html body .adm-header .adm-nav.is-stuck#header_bottom_h1 { background: var(--adm-green) !important; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; }
html body .adm-header .adm-nav .horizontal-menu > ul > li > a { color: #fff; font-size: 12.5px; }
html body .adm-header .adm-nav .horizontal-menu > ul > li:hover > a { color: #1b1b1b; }
.adm-header .adm-nav .horizontal-menu > ul { flex-wrap: nowrap; }
.adm-header .adm-nav .horizontal-menu > ul > li > a { padding: 14px 14px; white-space: nowrap; }
html body .adm-header .adm-nav .horizontal-menu > ul > li > a { line-height: 1.2; }
@media (max-width: 767px) {
  .adm-qtile:last-child { grid-column: 1 / -1; }
  .adm-qtile { min-height: 80px; }
}
@media (max-width: 991px) {
  .adm-header .adm-topbar-links { display: none; }
  .adm-header .adm-topbar-inner { justify-content: space-between; }
  .adm-hero-left { grid-template-columns: 1fr; }
  .adm-side-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .adm-side-item { border: 0; grid-template-columns: 100px 1fr; }
  .adm-lead { min-height: 400px; }
}
@media (max-width: 575px) {
  .adm-side-list { grid-template-columns: 1fr; }
  .adm-hero-right { flex-direction: column; }
  .adm-lead-body { padding: 16px; }
  .adm-lead-meta { flex-wrap: wrap; gap: 6px 14px; }
}

/* Home: first menu item is the active (gold) one, like the design */
html body .adm-header--home .adm-nav .horizontal-menu > ul > li:first-child > a { background: var(--adm-gold); color: #1b1b1b; }
@media (min-width: 768px) { .adm-masthead .adm-logo img { max-height: 76px; } }

/* Match design: block images, compact heads, no wrapping chips */
.adm-feature-img { display: block; }
.adm-feature-img img { aspect-ratio: 16/10; }
.adm-block-head h2 { font-size: 13px; letter-spacing: .2px; }
.adm-block-head a { white-space: nowrap; margin-left: 8px; }
.adm-tag { white-space: nowrap; max-width: 96px; overflow: hidden; text-overflow: ellipsis; font-size: 10px; }
.adm-mini h4 { font-size: 13px; font-weight: 600; }
.adm-mini .adm-thumb img { aspect-ratio: 4/3; }
/* 3-col only on desktop; unscoped it overrode the tablet/mobile stacking above */
@media (min-width: 1200px) { .adm-lower { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1.1fr) 240px; } .adm-lower-a, .adm-lower-b { padding-right: 4px; } }
.adm-block--below .adm-feature-img img { height: 190px; aspect-ratio: auto; }
.adm-block--side .adm-feature-img img { height: 210px; aspect-ratio: auto; }
.adm-tag { max-width: 120px; }

/* Dark mode: --adm-green (#0f3d2e) is a background colour; as text it vanished on dark surfaces. */
html[data-theme="dark"] body :is(.adm-archive-title, .hub-head h1, .hub-tabs a:hover, .hub-tabs a.is-active,
  .hub-card--country h3, .hub-kv--inline dd, .hub-h2, .hub-empty h2, .adm-block-head h2, .adm-radio h3,
  .adm-digest h3, .adm-logo-text, .adm-sb-title) { color: #8fd3b0; }
/* Logo PNG has dark lettering: give it a light plate on dark surfaces. */
html[data-theme="dark"] .adm-logo img { background: #fff; padding: 3px 6px; border-radius: 6px; }

/* ══ Landing v2 ══════════════════════════════════════════ */
.adm-home .container > * { min-width: 0; }
.adm-section { margin: 40px 0; }
.adm-section .adm-block-head { border-bottom: 0; position: relative; padding-bottom: 10px; }
.adm-section .adm-block-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--adm-gold) 0 56px, var(--adm-home-border) 56px); }
.adm-section .adm-block-head h2 { font-size: 16px; }

/* Ticker */
.adm-ticker { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; background: var(--adm-surface); border: 1px solid var(--adm-home-border); border-radius: 999px; padding: 6px 6px 6px 6px; overflow: hidden; }
.adm-ticker-label { flex: none; background: var(--adm-red); color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; padding: 5px 12px; border-radius: 999px; }
.adm-ticker-track { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; white-space: nowrap; }
.adm-ticker-track::-webkit-scrollbar { display: none; }
.adm-ticker-track a { scroll-snap-align: start; font-size: 13px; color: var(--adm-ink); }
.adm-ticker-track a:hover { color: var(--adm-red); }

/* Hero polish */
.adm-lead { border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.adm-lead-img img { transition: transform .6s ease; }
.adm-lead:hover .adm-lead-img img { transform: scale(1.04); }
.adm-hero-right .adm-panel { border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }

/* Tiles */
.adm-qtile { min-height: 64px; border-radius: 12px; transition: transform .2s ease, box-shadow .2s ease; }
.adm-qtile:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.16); }

/* Stats band */
.adm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 26px 0 0; background: rgba(255,255,255,.12); border-radius: 14px; overflow: hidden; }
.adm-stat { background: linear-gradient(135deg, var(--adm-green), var(--adm-green-2)); color: #fff; text-align: center; padding: 22px 10px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.adm-stat i { color: var(--adm-gold); font-size: 20px; }
.adm-stat strong { font: 800 clamp(22px, 3vw, 32px)/1.1 var(--adm-body); }
.adm-stat span { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; opacity: .85; }

/* Card grid */
.adm-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.adm-card { display: flex; flex-direction: column; background: var(--adm-surface); border: 1px solid var(--adm-home-border); border-radius: 12px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.adm-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,.12); }
.adm-card-img { position: relative; display: block; overflow: hidden; }
.adm-card-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; transition: transform .5s ease; }
.adm-card:hover .adm-card-img img { transform: scale(1.06); }
.adm-card-img .adm-badge { position: absolute; left: 10px; top: 10px; }
.adm-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.adm-card-body h3 { font: 700 16px/1.35 var(--adm-body); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.adm-card-body h3 a { color: var(--adm-ink); }
.adm-card-body h3 a:hover { color: var(--adm-green-2); }
.adm-card-body p { font-size: 13px; line-height: 1.5; color: var(--adm-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.adm-card-meta { margin-top: auto; display: flex; justify-content: space-between; font-size: 11px; color: var(--adm-muted); padding-top: 6px; }

/* Trending + topics */
.adm-trend-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; }
.adm-trend-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.adm-trend-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.adm-trend-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--adm-green); color: #fff; font-weight: 800; }
.adm-trend-list a { font: 700 15px/1.35 var(--adm-body); color: var(--adm-ink); display: block; }
.adm-trend-list small { color: var(--adm-muted); font-size: 11px; }
.adm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-chip { color: #fff; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; min-height: 36px; display: inline-flex; align-items: center; gap: 6px; transition: transform .15s ease, opacity .15s ease; }
.adm-chip small { background: rgba(255,255,255,.25); border-radius: 999px; padding: 0 7px; font-size: 11px; }
.adm-chip:hover { transform: translateY(-2px); opacity: .92; color: #fff; }

/* CTA */
.adm-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 44px 0 0; padding: clamp(24px, 4vw, 44px); border-radius: 16px; color: #fff; background: linear-gradient(120deg, var(--adm-green) 0%, var(--adm-green-2) 70%, #23775a 100%); }
.adm-cta h2 { font: 800 clamp(22px, 3vw, 32px)/1.2 var(--adm-body); margin: 0 0 8px; color: #fff; }
.adm-cta p { margin: 0; color: #d6e6de; max-width: 520px; }
.adm-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.adm-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: transform .15s ease; }
.adm-btn:hover { transform: translateY(-2px); }
.adm-btn--gold { background: var(--adm-gold); color: #1b1b1b; }
.adm-btn--ghost { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.adm-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

[data-theme="dark"] .adm-card, [data-theme="dark"] .adm-ticker { background: var(--adm-surface-2, var(--adm-surface)); }

@media (max-width: 1199px) { .adm-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px) {
  .adm-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-trend-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 767px) {
  .adm-section { margin: 28px 0; }
  .adm-stats { grid-template-columns: repeat(2, 1fr); }
  .adm-card-grid { gap: 14px; }
  .adm-lead { min-height: 300px; border-radius: 10px; }
  .adm-cta { margin-top: 32px; }
  .adm-tiles-row > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 575px) {
  .adm-card-grid { grid-template-columns: 1fr; }
  .adm-card { flex-direction: row; }
  .adm-card-img { flex: 0 0 120px; }
  .adm-card-img img { height: 100%; aspect-ratio: 1; }
  .adm-card-img .adm-badge { display: none; }
  .adm-card-body { padding: 10px 12px; gap: 4px; }
  .adm-card-body h3 { font-size: 14px; }
  .adm-card-body p { display: none; }
  .adm-cta-actions, .adm-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .adm-card, .adm-qtile, .adm-chip, .adm-btn, .adm-lead-img img, .adm-card-img img { transition: none; }
  .adm-card:hover, .adm-qtile:hover { transform: none; }
}
