/* ═══════════════════════════════════════════
   GROUPE PIVOT SANTÉ POPULATION — MALI
   Feuille de style principale
   Version 1.0 — KGS Solutions Informatiques
═══════════════════════════════════════════ */

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

:root {
  --blue:       #2B2523;
  --blue-dark:  #443F3D;
  --blue-deep:  #1C1817;
  --blue-light: #F3F1F0;
  --red:        #D1191C;
  --red-light:  #FBEDED;
  --green:      #1A7A4A;
  --green-light:#E8F5EE;
  --gray-dark:  #2B2523;
  --gray:       #4A4A4A;
  --gray-mid:   #888888;
  --gray-light: #F5F4F3;
  --border:     #E7E2DF;
  --white:      #ffffff;
  --font:       'Segoe UI', Arial, sans-serif;
  --shadow:     0 2px 12px rgba(0,0,0,.1);
  --radius:     8px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font); color: var(--gray-dark); font-size: 16px; line-height: 1.65; background: #fff; overflow-x: hidden; max-width: 100vw; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font); cursor: pointer; border: none; }
input, select, textarea { font-family: var(--font); outline: none; }
ul { list-style: none; }

/* ── UTILITIES ── */
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.section { padding: 56px 0; }
.section-alt { background: var(--gray-light); }
.section-blue { background: var(--blue-light); }
.section-dark { background: var(--blue-deep); color: #fff; }
.section-header { margin-bottom: 36px; }
.section-header h2 { font-size: 30px; font-weight: 700; color: var(--blue-dark); margin-bottom: 8px; letter-spacing: -.3px; }
.section-header p { font-size: 15.5px; color: var(--gray-mid); }
.accent-bar { width: 52px; height: 4px; background: var(--red); border-radius: 2px; margin: 12px 0 0; }
.page-header h1 { font-size: 32px; font-weight: 700; letter-spacing: -.3px; display: flex; align-items: center; gap: 14px; }
.page-header h1 i { font-size: 27px; opacity: .85; }
.page-header p { font-size: 15.5px; }
.page-header { position: relative; overflow: hidden; padding-bottom: 74px !important; }
.page-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C240,100 480,0 720,40 C960,80 1200,0 1440,40 L1440,100 L0,100 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}
.btn-primary { background: var(--red); color: #fff; padding: 11px 24px; border-radius: 4px; font-size: 14px; font-weight: 600; transition: background .2s; }
.btn-primary:hover { background: #A71416; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); padding: 11px 24px; border-radius: 4px; font-size: 14px; transition: all .2s; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-blue { background: var(--blue); color: #fff; padding: 10px 20px; border-radius: 4px; font-size: 13px; font-weight: 600; transition: background .2s; }
.btn-blue:hover { background: var(--blue-dark); }
.tag { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 3px; letter-spacing: .5px; text-transform: uppercase; }
.tag-red   { background: var(--red-light); color: var(--red); }
.tag-blue  { background: var(--blue-light); color: var(--blue-dark); }
.tag-green { background: var(--green-light); color: var(--green); }
.tag-gray  { background: var(--gray-light); color: var(--gray-mid); }
.badge-pub   { background: var(--green-light); color: var(--green); }
.badge-draft { background: #FEF9E7; color: #B7770D; }
.badge-arch  { background: var(--gray-light); color: var(--gray-mid); }
.badge-act   { background: var(--blue-light); color: var(--blue-dark); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── TOPBAR ── */
.topbar { background: var(--blue-deep); padding: 6px 0; font-size: 12px; color: #D9D8D7; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #D9D8D7; margin-right: 14px; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-lang { display: flex; gap: 10px; }
.topbar-lang a { margin-right: 0; }
.topbar-lang a.active { color: #fff; font-weight: 600; }
.topbar-admin { background: rgba(255,255,255,.15); padding: 3px 10px; border-radius: 3px; color: #fff !important; font-weight: 500 !important; margin-right: 0 !important; }

/* ── NAVBAR ── */
.navbar { background: var(--blue); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav-logo { display: flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.nav-logo img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); background: #fff; }
.nav-logo-text strong { display: block; font-size: 14px; font-weight: 700; }
.nav-logo-text span { font-size: 10px; color: #D9D8D7; }
.nav-menu { display: flex; gap: 2px; }
.nav-menu a { color: #D9D8D7; font-size: 13px; padding: 8px 12px; border-radius: 4px; transition: all .2s; white-space: nowrap; }
.nav-menu a:hover, .nav-menu a.active { background: rgba(255,255,255,.15); color: #fff; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-search { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: 20px; padding: 7px 16px; color: #fff; font-size: 13px; width: 170px; transition: background .2s; }
.nav-search::placeholder { color: #D9D8D7; }
.nav-search:focus { background: rgba(255,255,255,.22); }
.btn-donate { background: var(--red); color: #fff !important; padding: 8px 18px; border-radius: 20px; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .2s, transform .2s, box-shadow .2s; }
.btn-donate:hover { background: #A71416; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(209,25,28,.35); }
.btn-alert { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: #fff !important; border: 1.5px solid var(--red); padding: 7px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .2s, transform .2s, box-shadow .2s; }
.btn-alert:hover { background: var(--red); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(209,25,28,.35); }

/* ── MOBILE NAV TOGGLE ── */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV DRAWER ── */
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 300; }
.mobile-nav-overlay.open { display: block; }
.mobile-nav { position: fixed; top: 0; left: 0; bottom: 0; width: 280px; max-width: 85vw; background: var(--blue-deep); padding: 70px 16px 24px; overflow-y: auto; transform: translateX(-100%); transition: transform .3s cubic-bezier(.22,1,.36,1); z-index: 301; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-overlay.open .mobile-nav { transform: translateX(0); }
.mobile-nav a { color: #D9D8D7; font-size: 15px; font-weight: 500; padding: 13px 14px; border-radius: 8px; transition: background .2s, color .2s; }
.mobile-nav a:hover, .mobile-nav a.active { background: rgba(255,255,255,.12); color: #fff; }
.mobile-nav-close { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,.12); border: none; color: #fff; width: 36px; height: 36px; border-radius: 8px; font-size: 15px; cursor: pointer; transition: background .2s; }
.mobile-nav-close:hover { background: rgba(255,255,255,.22); }
.mobile-nav-donate { margin-top: 12px; background: var(--red); color: #fff !important; text-align: center; font-weight: 600; }
.mobile-nav-donate:hover { background: #A71416; }
.mobile-nav-alert { margin-top: 12px; background: transparent; border: 1.5px solid var(--red); color: #fff !important; text-align: center; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; }
.mobile-nav-alert:hover { background: rgba(209,25,28,.15); }

/* ── ALERT BAR ── */
.alertbar { background: #FEF9E7; border-bottom: 2px solid #F39C12; padding: 10px 0; font-size: 13px; color: #7D6608; }
.alertbar .container { display: flex; align-items: center; gap: 12px; }
.alert-tag { background: var(--red); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 3px; white-space: nowrap; letter-spacing: .8px; }
.alertbar a { color: var(--blue); font-weight: 600; }

/* ── HERO ── */
.hero { background: linear-gradient(135deg, #1C1817 0%, #2B2523 55%, #D1191C 100%); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -100px; top: -100px; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.04); }
.hero::after  { content: ''; position: absolute; left: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.03); }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; will-change: transform; }
.hero-blob-1 { width: 420px; height: 420px; top: -140px; right: -100px; background: radial-gradient(circle, rgba(209,25,28,.55), transparent 70%); animation: blobFloat1 16s ease-in-out infinite; }
.hero-blob-2 { width: 300px; height: 300px; bottom: -120px; left: 8%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); animation: blobFloat2 20s ease-in-out infinite; }
.hero-blob-3 { width: 220px; height: 220px; top: 35%; left: -70px; background: radial-gradient(circle, rgba(209,25,28,.4), transparent 70%); animation: blobFloat3 18s ease-in-out infinite; }
@keyframes blobFloat1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,40px) scale(1.18); } }
@keyframes blobFloat2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.25); } }
@keyframes blobFloat3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(35px,35px) scale(.85); } }
@media (prefers-reduced-motion: reduce) { .hero-blob { animation: none !important; } }
.hero .container { display: flex; flex-direction: column; gap: 36px; position: relative; z-index: 1; }
.hero-lower { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: center; }
.hero-side { display: flex; flex-direction: column; gap: 16px; }
.hero-scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.75); display: flex; align-items: center; justify-content: center; font-size: 13px; z-index: 2; transition: background .2s, border-color .2s, color .2s; }
.hero-scroll-cue:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); color: #fff; }

/* ── HERO CAROUSEL (slides + featured video) ── */
.hero-carousel { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 16px 40px rgba(0,0,0,.35); background: #1C1817; }
.hero-carousel-top { width: 100%; aspect-ratio: 3/1; }
.hc-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity 1s ease, transform 6s cubic-bezier(.22,1,.36,1); pointer-events: none; cursor: pointer; }
.hc-slide.active { opacity: 1; transform: scale(1); pointer-events: auto; z-index: 2; }
.hc-slide img, .hc-slide iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.hc-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#1C1817,#2B2523); color: rgba(255,255,255,.25); font-size: 44px; }
.hc-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 18px 16px; background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,0) 100%); color: #fff; transform: translateY(14px); opacity: 0; transition: transform .6s cubic-bezier(.22,1,.36,1) .15s, opacity .6s ease .15s; }
.hc-slide.active .hc-overlay { transform: translateY(0); opacity: 1; }
.hc-tag { display: inline-flex; align-items: center; gap: 5px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 3px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 8px; }
.hc-overlay h4 { font-size: 14px; font-weight: 600; line-height: 1.4; }
.hc-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1; }
.hc-play i { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--blue-dark); display: flex; align-items: center; justify-content: center; font-size: 19px; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.hc-slide:hover .hc-play i { transform: scale(1.1); }
.hc-dots { position: absolute; bottom: 12px; right: 14px; display: flex; gap: 6px; z-index: 3; }
.hc-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.hc-dot.active { background: #fff; transform: scale(1.35); }
.hero-logo { width: 76px; height: 76px; border-radius: 50%; border: 3px solid rgba(255,255,255,.55); background: #fff; margin-bottom: 16px; }
.hero-eyebrow { display: inline-block; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; padding: 4px 12px; border-radius: 3px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; letter-spacing: -.5px; }
.hero-desc { font-size: 16px; color: #D9D8D7; line-height: 1.7; margin-bottom: 26px; max-width: 480px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; flex-direction: column; gap: 14px; }
.stat-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 18px 22px; text-align: center; backdrop-filter: blur(4px); }
.stat-card .num { font-size: 34px; font-weight: 700; color: #fff; line-height: 1; }
.stat-card .lbl { font-size: 12px; color: #D9D8D7; margin-top: 4px; line-height: 1.3; }

/* ── NEWS GRID ── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.news-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-card-top { height: 5px; }
.news-card-body { padding: 16px 18px; }
.news-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.news-date { font-size: 11px; color: var(--gray-mid); }
.news-card h3 { font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.news-card p { font-size: 13.5px; color: var(--gray); line-height: 1.6; }
.news-link { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--blue); font-weight: 600; }
.news-link:hover { text-decoration: underline; }
.news-photo { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; cursor: pointer; }
.news-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.news-photo:hover img { transform: scale(1.06); }
.news-photo-badge { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.65); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; display: flex; align-items: center; gap: 5px; }

/* ── NEWS DETAIL GALLERY ── */
.news-show-gallery { margin-bottom: 8px; }
.news-show-cover { display: block; position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow); }
.news-show-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.news-show-cover:hover img { transform: scale(1.04); }
.news-show-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.news-show-thumbs a { display: block; width: 84px; aspect-ratio: 1/1; border-radius: 6px; overflow: hidden; position: relative; opacity: .8; transition: opacity .2s, transform .2s; }
.news-show-thumbs a:hover { opacity: 1; transform: translateY(-2px); }
.news-show-thumbs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ── PHOTO LIGHTBOX ── */
.lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 400; align-items: center; justify-content: center; }
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 20px; right: 20px; width: 42px; height: 42px; font-size: 16px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 18px; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 12px; background: rgba(255,255,255,.12); padding: 4px 14px; border-radius: 20px; }
@media (max-width: 600px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 15px; }
  .lightbox-close { width: 36px; height: 36px; font-size: 14px; top: 12px; right: 12px; }
}

/* ── PODCASTS / VIDÉOS ── */
.podcast-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.podcast-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.podcast-thumb { position: relative; display: block; aspect-ratio: 16/9; background: #1C1817; cursor: pointer; overflow: hidden; }
.podcast-thumb img, .podcast-thumb iframe, .podcast-thumb .hc-noimg { position: absolute; inset: 0; width: 100%; height: 100%; }
.podcast-thumb img { object-fit: cover; opacity: .88; transition: opacity .4s ease, transform .5s cubic-bezier(.22,1,.36,1); }
.podcast-thumb:hover img { opacity: 1; transform: scale(1.06); }
.podcast-thumb iframe { border: 0; }
.podcast-thumb .play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.podcast-thumb .play-btn i { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--blue-dark); display: flex; align-items: center; justify-content: center; font-size: 17px; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.podcast-thumb:hover .play-btn i { transform: scale(1.1); }
.podcast-badge { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 3px; letter-spacing: .5px; }
.podcast-body { padding: 16px 18px; }
.podcast-body h3 { font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.podcast-body p { font-size: 13.5px; color: var(--gray); line-height: 1.6; }

/* ── DOMAINS ── */
.domains-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.domain-item { display: block; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 30px 16px; text-align: center; cursor: pointer; transition: all .2s; }
.domain-item:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 6px 16px rgba(43,37,35,.12); }
.domain-icon { width: 68px; height: 68px; border-radius: 50%; background: var(--blue-light); color: var(--blue-dark); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 28px; transition: background .2s, color .2s; }
.domain-item:hover .domain-icon { background: #FBEAEA; }
.domain-item span { font-size: 15px; font-weight: 600; line-height: 1.35; display: block; }
.domain-icon.icon-red    { background: var(--red-light);   color: var(--red); }
.domain-icon.icon-green  { background: var(--green-light); color: var(--green); }
.domain-icon.icon-yellow { background: #FEF9E7;             color: #B7770D; }
.domain-item:hover .domain-icon.icon-red    { background: #F6C9CA; }
.domain-item:hover .domain-icon.icon-green  { background: #C9EBD8; }
.domain-item:hover .domain-icon.icon-yellow { background: #FCEEBD; }
.domain-item:hover .domain-icon.icon-blue   { background: #E3E0DE; }

/* ── PROGRAMMES ── */
.prog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.prog-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: box-shadow .2s; padding: 22px 22px 20px; }
.prog-card:hover { box-shadow: var(--shadow); }
.prog-banner { height: 100px; display: flex; align-items: center; justify-content: center; font-size: 44px; }
.prog-body { padding: 18px 20px; }
.prog-card h3, .prog-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--blue-dark); }
.prog-card > p, .prog-body p { font-size: 14.5px; color: var(--gray); line-height: 1.65; margin-bottom: 14px; }
.prog-stats { display: flex; gap: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.prog-stat { display: flex; flex-direction: column; gap: 2px; }
.prog-stat .val { font-size: 19px; font-weight: 700; color: var(--blue); }
.prog-stat .lbl { font-size: 11px; color: var(--gray-mid); }
.prog-link { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--blue); font-weight: 600; }
.prog-link:hover { text-decoration: underline; }

/* ── IMPACT ── */
.impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 22px; }
.impact-item, .impact-card { position: relative; overflow: hidden; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 30px 18px; text-align: center; }
.impact-item .big, .impact-card .big { display: inline-block; font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: -.5px;
  background: linear-gradient(100deg, #fff 30%, #FBC7C8 45%, #fff 60%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: impactShimmer 3.5s ease-in-out infinite;
}
.impact-item .desc, .impact-card .desc { font-size: 13.5px; color: #D9D8D7; margin-top: 8px; line-height: 1.45; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about-text h3 { font-size: 19px; font-weight: 700; color: var(--blue-dark); margin-bottom: 14px; }
.about-text p { font-size: 15px; color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
.mission-item { border-left: 4px solid; border-radius: 0 6px 6px 0; padding: 12px 16px; margin-bottom: 12px; }
.mission-item strong { display: block; font-size: 14px; margin-bottom: 4px; }
.mission-item span { font-size: 13px; color: var(--gray); }
.mission-blue  { background: var(--blue-light); border-color: var(--blue); }
.mission-blue strong { color: var(--blue-dark); }
.mission-green { background: var(--green-light); border-color: var(--green); }
.mission-green strong { color: var(--green); }
.mission-yellow { background: #FEF9E7; border-color: #F39C12; }
.mission-yellow strong { color: #B7770D; }
.mission-red   { background: var(--red-light); border-color: var(--red); }
.mission-red strong { color: var(--red); }

/* ── CHARTS ── */
.charts-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; }
.chart-box { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px; }
.chart-box h4 { font-size: 14px; font-weight: 600; color: var(--blue-dark); margin-bottom: 16px; }
.chart-box canvas { max-height: 260px; }

/* ── PUBLICATIONS ── */
.pub-list { display: flex; flex-direction: column; gap: 13px; }
.pub-item { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; transition: border-color .2s, box-shadow .2s; }
.pub-item:hover { border-color: var(--blue); box-shadow: 0 3px 10px rgba(43,37,35,.08); }
.pub-info h4 { font-size: 15px; font-weight: 500; margin-bottom: 3px; }
.pub-info span { font-size: 12px; color: var(--gray-mid); }

.pub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.pub-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease, border-color .25s ease; }
.pub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
.pub-icon { width: 50px; height: 50px; background: var(--blue-light); color: var(--blue); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; transition: background .25s ease, color .25s ease; }
.pub-card:hover .pub-icon { background: var(--blue); color: #fff; }
.pub-body { flex: 1; min-width: 0; }
.pub-body h3 { font-size: 15.5px; font-weight: 700; color: var(--blue-dark); line-height: 1.4; margin-bottom: 7px; overflow-wrap: break-word; }
.pub-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--gray-mid); }
.pub-meta span { display: flex; align-items: center; gap: 5px; }
.pub-meta i { color: var(--blue); font-size: 11px; }
.pub-dl { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; transition: background .2s ease, color .2s ease, transform .2s ease; }
.pub-dl:hover { background: var(--red); color: #fff; transform: scale(1.08); }

/* ── PARTNERS ── */
.partners-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.partner-badge { background: var(--gray-light); border: 1px solid var(--border); border-radius: 5px; padding: 9px 20px; font-size: 14px; font-weight: 600; }

/* ── CTA ── */
.cta-section { background: var(--blue); color: #fff; padding: 56px 0; }
.cta-section .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-text h2 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.cta-text p { font-size: 15px; color: #D9D8D7; max-width: 440px; }
.cta-btns { display: flex; gap: 12px; flex-shrink: 0; }

/* ── FOOTER ── */
footer { background: var(--blue-deep); color: #D9D8D7; padding: 52px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-about { }
.footer-about .logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-about img { width: 38px; height: 38px; border-radius: 50%; background: #fff; }
.footer-about strong { color: #fff; font-size: 14px; }
.footer-about p { font-size: 13px; line-height: 1.7; color: #B8ADA8; max-width: 230px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: #B8ADA8; margin-bottom: 7px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact p { font-size: 13px; color: #B8ADA8; margin-bottom: 7px; display: flex; align-items: center; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #8C827D; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: #8C827D; transition: color .2s; }
.footer-bottom a:hover { color: #D9D8D7; }
.social-links { display: flex; gap: 10px; margin-top: 12px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: rgba(255,255,255,.1); border-radius: 50%; color: #D9D8D7; font-size: 14px; transition: background .2s, color .2s; }
.social-links a:hover { background: var(--blue); color: #fff; }

/* ── MOBILE NAV ── */
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 300; }
.mobile-nav-overlay.open { display: block; }
.mobile-nav-panel { position: fixed; top: 0; left: 0; bottom: 0; width: 280px; background: var(--blue-deep); padding: 0; overflow-y: auto; transform: translateX(-100%); transition: transform .3s ease; z-index: 301; }
.mobile-nav-overlay.open .mobile-nav-panel { transform: translateX(0); }
.mob-nav-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.mob-nav-header .logo-wrap { display: flex; align-items: center; gap: 10px; }
.mob-nav-header img { width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.mob-nav-header strong { color: #fff; font-size: 12px; }
.mob-nav-close { background: none; color: #fff; font-size: 22px; padding: 4px; }
.mob-nav-section { padding: 12px 20px 4px; font-size: 10px; font-weight: 700; color: #8C827D; letter-spacing: 1px; text-transform: uppercase; margin-top: 8px; }
.mob-nav-link { display: block; padding: 12px 20px; color: #D9D8D7; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.06); transition: background .2s; }
.mob-nav-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.mob-donate { display: block; margin: 16px 20px 20px; background: var(--red); color: #fff; padding: 12px; border-radius: 5px; text-align: center; font-size: 13px; font-weight: 600; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (min-width: 1200px) {
  .hero h1 { font-size: 58px; }
}
@media (max-width: 1340px) {
  .nav-menu, .nav-search, .btn-donate, .btn-alert { display: none; }
  .nav-toggle { display: flex; }
  .nav-logo-text span { display: none; }
}
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .topbar-links { display: none; }
  .charts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-section .container { flex-direction: column; text-align: center; }
  .cta-btns { justify-content: center; }
  .domains-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hero-lower { grid-template-columns: 1fr; gap: 28px; }
  .hero-side { max-width: 420px; }
  .hero-carousel-top { aspect-ratio: 16/10; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .stat-card { min-width: 140px; flex: 1; }
}
@media (max-width: 640px) {
  .topbar-lang a:not(.topbar-admin) { display: none; }
  .topbar-admin span { display: none; }
}
@media (max-width: 600px) {
  .container { padding: 0 14px; }
  .section { padding: 32px 0; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 30px; }
  .hero-side { max-width: 100%; }
  .hero-btns { flex-direction: column; }
  .hero-btns button, .hero-btns a { width: 100%; text-align: center; }
  .stat-card { min-width: calc(50% - 5px); }
  .news-grid { grid-template-columns: 1fr; }
  .prog-grid { grid-template-columns: 1fr; }
  .podcast-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .domains-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .domain-item { padding: 22px 10px; }
  .domain-icon { width: 56px; height: 56px; font-size: 24px; margin-bottom: 10px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 26px; }
  .hero-stats { flex-direction: column; }
  .stat-card { width: 100%; }
  .impact-grid { grid-template-columns: 1fr; }
}
@media print {
  .topbar, .navbar, .alertbar, .menu-toggle, .cta-section, footer { display: none; }
  .hero { background: #1C1817 !important; -webkit-print-color-adjust: exact; }
  .section { padding: 20px 0; }
}
