/* ============================================================
   CSS MAGAZINE — screen.css
   Caribbean Social Studies
   ============================================================ */

:root {
  --pink: #ff0090;
  --green: #00ff57;
  --gold: #ffc200;
  --coral: #ff6b6b;
  --navy: #0e0c22;
  --bg: #ffffff;
  --surface: #f7f7f7;
  --surface2: #eeeeee;
  --border: rgba(0,0,0,0.08);
  --text: #0d1117;
  --text-muted: rgba(0,0,0,0.5);
  --text-dim: rgba(0,0,0,0.3);
  --footer-bg: #0e0c22;
  --footer-text: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { overflow-x: hidden; }
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: #0d1117;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
}

.mag {
  width: 100%;
  min-height: 100%;
}

/* ── NAV ── */
.nav { background: #ffffff; border-bottom: 1px solid #e8e8e8; position: sticky; top: 0; z-index: 100; }
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 62px; gap: 0; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 6px; background: var(--green); display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 900; color: #0a1a0f; letter-spacing: 0.04em; flex-shrink: 0; }
.logo-text { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #000; line-height: 1.2; }
.logo-sub { font-size: 8.5px; font-weight: 400; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; display: block; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-icon { color: #666; cursor: pointer; display: flex; align-items: center; text-decoration: none; }
.nav-icon svg { width: 15px; height: 15px; }
.nav-signin { font-size: 11px; color: #555; cursor: pointer; text-decoration: none; }
.nav-sub-btn { font-size: 11px; padding: 6px 16px; border-radius: 20px; background: var(--pink); color: #fff; font-weight: 700; cursor: pointer; white-space: nowrap; text-decoration: none; }
.nav-links { display: flex; align-items: center; flex: 1; justify-content: center; overflow-x: auto; padding: 0; height: 100%; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-link { padding: 0 10px; height: 62px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #444; white-space: nowrap; text-decoration: none; border-bottom: 3px solid transparent; transition: color 0.15s, border-color 0.15s; display: flex; align-items: center; }
.nav-link:hover { color: #000; }
.nav-link.active { color: #000; border-bottom-color: #ff0090; }

/* ── HERO BANNER ── */
.hero-banner { position: relative; width: 100%; padding-top: 50%; overflow: hidden; }
.slide { position: absolute; inset: 0; display: flex; align-items: flex-end; opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.slide.active { opacity: 1; pointer-events: auto; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,17,23,0.97) 0%, rgba(13,17,23,0.5) 50%, rgba(13,17,23,0.1) 100%); }
.slide-content { position: relative; z-index: 2; padding: 0 36px 28px; width: 100%; }
.slide-tag { display: inline-block; margin-bottom: 8px; font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; }
.tag-pink { background: var(--pink); color: #fff; }
.tag-green { background: var(--green); color: #0a1a0f; }
.tag-gold { background: var(--gold); color: #1a0f00; }
.slide-title a { color: #fff; text-decoration: none; }
.slide-title { font-size: clamp(26px, 3.5vw, 46px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; max-width: 65%; margin-bottom: 14px; color: #fff; }
.slide-excerpt { font-size: clamp(14px, 1.4vw, 18px); color: rgba(255,255,255,0.75); max-width: 58%; line-height: 1.6; }
.slide-meta { font-size: 10px; color: rgba(255,255,255,0.3); letter-spacing: 0.04em; }
.banner-controls { position: absolute; bottom: 16px; right: 28px; z-index: 10; display: flex; align-items: center; gap: 6px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.2); cursor: pointer; transition: all 0.2s; }
.dot.active { background: var(--pink); width: 18px; border-radius: 3px; }
.banner-nav { display: flex; gap: 5px; margin-left: 8px; }
.bnav { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 11px; color: rgba(255,255,255,0.5); transition: all 0.15s; }
.bnav:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ── TOGGLE BAR ── */
.toggle-bar { display: flex; align-items: center; background: #fff; border-bottom: 1px solid #e8e8e8; padding: 0 24px; overflow-x: auto; }
.toggle-bar::-webkit-scrollbar { display: none; }
.tab { padding: 12px 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #888; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: color 0.15s; text-decoration: none; }
.tab.active { color: #0d1117; border-bottom-color: #ff0090; }
.tab:hover:not(.active) { color: #0d1117; }

/* ── TOGGLE BAR SUBSCRIBE PILL ── */
.toggle-subscribe { margin-left: auto; padding: 0 4px 0 16px; display: flex; align-items: center; flex-shrink: 0; }
.toggle-sub-btn { display: inline-block; padding: 7px 16px; border-radius: 20px; background: #ff0090; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-decoration: none; white-space: nowrap; transition: opacity 0.15s; }
.toggle-sub-btn:hover { opacity: 0.88; }

/* ── SECTIONS ── */
.section { padding: 32px 28px; border-top: 1px solid #e8e8e8; }
.sec-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.sec-title { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #aaa; white-space: nowrap; }
.sec-line { flex: 1; height: 0.5px; background: #e8e8e8; }
.sec-tag { font-size: 9px; padding: 2px 8px; border-radius: 4px; background: rgba(0,255,87,0.1); color: var(--green); letter-spacing: 0.05em; white-space: nowrap; }

/* ── ARTICLE CARDS ── */
.art-card { background: #fff; border-radius: 12px; border: 1px solid #e8e8e8; overflow: hidden; cursor: pointer; transition: box-shadow 0.15s; display: block; }
.art-card:hover { border-color: #ccc; box-shadow: 0 4px 16px rgba(0,0,0,0.09); }
.card-img { background: #e8edf2; display: flex; align-items: center; justify-content: center; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: #bbb; width: 100%; object-fit: cover; }
.h-100 { aspect-ratio: 16/9; }
.h-120 { aspect-ratio: 16/9; }
.h-140 { aspect-ratio: 16/9; }
.card-body { padding: 12px 14px; }
.card-tag { font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 5px; }
.card-title { font-size: 15px; font-weight: 700; color: #0d1117; line-height: 1.35; margin-bottom: 5px; }
.card-excerpt { font-size: 13px; color: #555; line-height: 1.5; }
.card-meta { font-size: 9.5px; color: #bbb; margin-top: 8px; }

/* ── LATEST TOP GRID ── */
.latest-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.latest-large-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}
.latest-large-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.latest-large-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #e8edf2; flex-shrink: 0; }
.latest-large-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.3s; }
.latest-large-card:hover .latest-large-img img { transform: scale(1.04); }
.latest-large-body { padding: 20px 22px 24px; flex: 1; }
.latest-large-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #ff0090; margin-bottom: 8px; }
.latest-large-title { font-size: 20px; font-weight: 800; color: #0d1117; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 10px; }
.latest-large-excerpt { font-size: 14px; color: #555; line-height: 1.6; }

/* ── LATEST SMALL GRID ── */
.latest-small-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.latest-small-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}
.latest-small-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); border-color: #ccc; }
.latest-small-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #e8edf2; flex-shrink: 0; }
.latest-small-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.3s; }
.latest-small-card:hover .latest-small-img img { transform: scale(1.04); }
.latest-small-body { padding: 16px 18px 20px; flex: 1; }
.latest-small-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #ff0090; margin-bottom: 8px; }
.latest-small-title { font-size: 15px; font-weight: 700; color: #0d1117; line-height: 1.35; }
.no-img-placeholder { width: 100%; height: 100%; background: #e8edf2; }

/* ── SHORTS ── */
.shorts-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.short-card { background: #fff; border-radius: 12px; border: 1px solid #e8e8e8; overflow: hidden; cursor: pointer; transition: box-shadow 0.15s; text-decoration: none; display: block; }
.short-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.short-thumb { width: 100%; aspect-ratio: 9/16; display: flex; align-items: center; justify-content: center; position: relative; background: #0a1a14; }
.play-btn { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,0,144,0.9); display: flex; align-items: center; justify-content: center; }
.play-tri { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 9px solid #fff; margin-left: 2px; }
.short-body { padding: 9px 11px; }
.short-series { font-size: 9px; color: #00aa44; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 3px; }
.short-title { font-size: 13px; font-weight: 700; color: #0d1117; line-height: 1.3; }
.short-loc { font-size: 9px; color: #aaa; margin-top: 5px; }

/* ── INSIGHTS ── */
.insights-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.insight-card { background: #f0faf4; border-radius: 12px; border: 1px solid #c8efd8; overflow: hidden; cursor: pointer; transition: box-shadow 0.15s; display: block; text-decoration: none; }
.insight-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.insight-top { padding: 16px 14px 12px; }
.insight-icon { width: 30px; height: 30px; border-radius: 7px; background: rgba(0,255,87,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.insight-icon svg { width: 14px; height: 14px; display: block; }
.insight-title { font-size: 14px; font-weight: 700; color: #0d1117; line-height: 1.35; margin-bottom: 5px; }
.insight-excerpt { font-size: 12px; color: #555; line-height: 1.5; }
.insight-foot { padding: 9px 14px; border-top: 0.5px solid rgba(0,255,87,0.08); display: flex; align-items: center; justify-content: space-between; }
.insight-stat { font-size: 11px; font-weight: 700; color: #00aa44; }
.insight-meta { font-size: 9px; color: var(--text-dim); }

/* ── EVENTS GRID ── */
.events-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }

/* ── BY COUNTRY ── */
.country-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.ctab { padding: 7px 16px; border-radius: 20px; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid #e0e0e0; color: #555; cursor: pointer; transition: all 0.15s; white-space: nowrap; background: #fff; }
.ctab.active, .ctab:hover { background: #ff0090; color: #fff; border-color: #ff0090; }
.country-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.country-panel { display: none; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.country-panel.visible { display: grid; }

/* ── ADSENSE AD SLOTS ── */
.ad-slot { width: 100%; background: #f9f9f9; border: 1px dashed #e0e0e0; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; text-align: center; min-height: 100px; }
.ad-slot-label { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: #ccc; margin-bottom: 6px; }
.ad-slot-inner { width: 100%; }
.ad-banner { min-height: 90px; }
.ad-rect { min-height: 250px; }
.ad-section { padding: 16px 28px; border-top: 1px solid #e8e8e8; }

/* ── PARALLAX SUBSCRIBE CTA ── */
.subscribe-band {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-top: none;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parallax-bg {
  position: absolute;
  inset: -60px 0;
  background-image: var(--cta-img, none);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: #0d1a10;
  will-change: transform;
  z-index: 0;
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,17,23,0.82) 0%, rgba(10,26,15,0.75) 100%);
  z-index: 1;
}
.subscribe-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 56px 28px;
  width: 100%;
}
.subscribe-band h2 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 8px; letter-spacing: -0.01em; }
.subscribe-band p { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 22px; }
.sub-form { display: flex; gap: 8px; max-width: 360px; margin: 0 auto; }
.sub-form input { flex: 1; padding: 11px 16px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); border-radius: 24px; color: #fff; font-size: 12px; outline: none; font-family: inherit; backdrop-filter: blur(4px); }
.sub-form input::placeholder { color: rgba(255,255,255,0.45); }
.sub-form input:focus { border-color: var(--green); background: rgba(255,255,255,0.16); }
.sub-btn { padding: 11px 20px; border-radius: 24px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; border: none; font-family: inherit; white-space: nowrap; transition: transform 0.15s; }
.sub-btn:hover { transform: scale(1.03); }

/* ── FOOTER ── */
.footer { background: #0e0c22; padding: 40px 32px; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand .f-logo { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #ffffff; }
.footer-brand .f-tagline { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 4px; max-width: 180px; line-height: 1.45; }
.footer-col h4 { font-size: 9.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 10px; }
.footer-col a { display: block; font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.75); text-decoration: none; margin-bottom: 7px; transition: color 0.15s; }
.footer-col a:hover { color: #00ff57; }
.footer-bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom span { font-size: 10px; color: rgba(255,255,255,0.3); }
.footer-social { display: flex; gap: 8px; }
.social-btn { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; cursor: pointer; color: rgba(255,255,255,0.8); transition: all 0.15s; text-decoration: none; }
.social-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); color: #fff; }
.social-btn svg { width: 14px; height: 14px; display: block; }

/* ── POST TEMPLATE ── */
.post-wrap { max-width: 740px; margin: 0 auto; padding: 48px 28px 64px; }
.post-header { margin-bottom: 32px; }
.post-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.post-title { font-size: clamp(28px, 4vw, 48px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; color: #0d1117; margin-bottom: 16px; }
.post-excerpt { font-size: 18px; color: #555; line-height: 1.6; margin-bottom: 16px; }
.post-meta { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.post-meta-sep { color: var(--text-dim); }
.post-feature-img { margin-bottom: 36px; border-radius: 12px; overflow: hidden; }
.post-feature-img img { width: 100%; height: auto; display: block; }
.post-feature-img figcaption { font-size: 11px; color: var(--text-muted); padding: 8px 0 0; text-align: center; }
.post-content { font-size: 17px; line-height: 1.75; color: #1a1a2e; }
.post-content h2 { font-size: 24px; font-weight: 800; margin: 36px 0 14px; letter-spacing: -0.01em; }
.post-content h3 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; }
.post-content p { margin-bottom: 20px; }
.post-content a { color: var(--pink); }
.post-content img { max-width: 100%; border-radius: 8px; margin: 24px 0; }
.post-content blockquote { border-left: 3px solid var(--pink); padding: 8px 0 8px 20px; margin: 28px 0; color: #555; font-style: italic; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 20px; }
.post-content li { margin-bottom: 8px; }
.post-footer { margin-top: 48px; padding-top: 28px; border-top: 1px solid #e8e8e8; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.post-tags-row { display: flex; gap: 8px; flex-wrap: wrap; }
.post-tag-pill { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; background: var(--surface); color: var(--text-muted); text-decoration: none; border: 1px solid #e8e8e8; transition: background 0.15s; }
.post-tag-pill:hover { background: #e8e8e8; }
.post-share { display: flex; gap: 8px; }
.share-btn { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 7px 14px; border-radius: 20px; border: 1px solid #e8e8e8; color: #555; text-decoration: none; transition: background 0.15s; }
.share-btn:hover { background: var(--surface); }

/* ── PAGINATION ── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 32px 0; }
.pagination .page-number { font-size: 13px; color: var(--text-muted); }
.pagination .older-posts, .pagination .newer-posts { font-size: 13px; font-weight: 600; color: var(--pink); text-decoration: none; padding: 8px 18px; border-radius: 20px; border: 1px solid var(--pink); transition: all 0.15s; }
.pagination .older-posts:hover, .pagination .newer-posts:hover { background: var(--pink); color: #fff; }

/* ── MAGAZINE HAMBURGER ── */
.mag-nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  flex-shrink: 0;
}
.mag-nav-burger span {
  display: block;
  height: 1.5px;
  background: #080C14;
  border-radius: 2px;
  transition: all .28s cubic-bezier(.16,1,.3,1);
  transform-origin: center;
}
.mag-nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mag-nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mag-nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mag-nav-mobile-actions { display: none; }

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET (≤768px)
═══════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-banner { padding-top: 60%; }
  .slide-content { padding: 0 20px 24px; }
  .banner-controls { bottom: 12px; right: 16px; }
  .latest-top-grid { grid-template-columns: 1fr; }
  .latest-small-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .shorts-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .insights-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .country-panel.visible { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .subscribe-band { min-height: 260px; }
  .subscribe-content { padding: 44px 20px; }
  .subscribe-band h2 { font-size: 18px; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .post-wrap { padding: 32px 20px 48px; }

  /* Magazine mobile nav */
  .mag-nav-burger { display: flex; }
  .nav-signin { display: none; }
  .nav-sub-btn { display: none; }
  .nav-links {
    display: none;
    position: fixed;
    top: 62px; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.99);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 24px 24px 40px;
    gap: 0;
    overflow-y: auto;
    z-index: 299;
    border-top: 1px solid rgba(8,12,20,.08);
    height: auto;
  }
  .nav-links.open { display: flex; }
  .nav-link {
    height: auto;
    font-size: 15px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(8,12,20,.07);
    width: 100%;
    color: #080C14;
    letter-spacing: .03em;
    display: block;
  }
  .nav-link.active { border-bottom-color: rgba(8,12,20,.07); color: #ff0090; }
  .mag-nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid rgba(8,12,20,.08);
  }
  .mag-nav-mobile-actions .nav-sub-btn { display: block; }
  .nav-row { padding: 0 16px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE (≤480px)
═══════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-banner { padding-top: 120%; }
  .slide-content { padding: 0 16px 20px; }
  .slide-title { max-width: 90%; }
  .slide-excerpt { max-width: 90%; }
  .banner-controls { bottom: 10px; right: 14px; }
  .latest-top-grid { grid-template-columns: 1fr; }
  .latest-small-grid { grid-template-columns: 1fr; }
  .shorts-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .insights-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .country-panel.visible { grid-template-columns: 1fr; }
  .subscribe-band { min-height: 240px; }
  .subscribe-content { padding: 36px 16px; }
  .subscribe-band h2 { font-size: 16px; }
  .subscribe-band p { font-size: 11px; }
  .sub-form { flex-direction: column; max-width: 100%; }
  .sub-form input { width: 100%; }
  .sub-btn { width: 100%; padding: 12px; font-size: 13px; }
  .ad-rect { min-height: 180px; }
  .post-wrap { padding: 24px 16px 40px; }
  .sec-tag { display: none; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — LARGE DESKTOP (≥1200px)
═══════════════════════════════════════ */
@media (min-width: 1200px) {
  .slide-content { padding: 0 48px 36px; }
  .subscribe-content { padding: 64px 40px; }
  .subscribe-band h2 { font-size: 26px; }
  .shorts-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .insights-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .events-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
