:root {
  /* YIRDO brand palette, drawn from the organization logo: a sky-blue helping
     hand, a gold ring, and a warm red/amber second hand. --green/--green-dark
     keep their original names (used throughout this file) but now carry the
     brand's gold tone instead of green. */
  --blue: #1f8fd6;
  --blue-dark: #0e4f85;
  --green: #f0a824;
  --green-dark: #b9790a;
  --red: #e04630;
  --red-dark: #a72c1b;
  --ink: #17223a;
  --muted: #5b6b7c;
  --bg: #f6f9fb;
  --card: #ffffff;
  --border: #e3ebf1;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(23, 34, 51, 0.08);

  /* Header / nav-bar palette: deep indigo base + gold/blue accent (active states, hover, buttons) */
  --nav-navy: #142352;
  --nav-navy-dark: #0c1836;
  --nav-accent: linear-gradient(120deg, var(--green), var(--blue));
  --nav-accent-solid: var(--green);
  --nav-accent-dark: linear-gradient(120deg, var(--green-dark), var(--blue-dark));
  --topbar-bg: #eef4f9;

  /* Used for the badges / rank markers borrowed from the base template */
  --somali-blue: #1f8fd6;
  --somali-blue-dark: #0e4f85;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-weight: 700; margin: 0 0 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }

/* Top utility bar: social icons + language switcher */
.top-bar {
  background: var(--topbar-bg);
  border-bottom: 1px solid #dfe9f0;
}
.top-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 24px;
}
.top-bar-left { display: flex; align-items: center; gap: 18px; }
.top-bar-social { display: flex; align-items: center; gap: 10px; }
.top-bar-social a {
  width: 26px; height: 26px; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  color: var(--nav-navy); opacity: .75; transition: opacity .15s, color .15s;
}
.top-bar-social a:hover { opacity: 1; color: var(--green-dark); }
.top-bar-social svg { width: 15px; height: 15px; fill: currentColor; }

.top-bar-quicklinks {
  display: flex; align-items: center; gap: 16px;
  padding-left: 16px; border-left: 1px solid #d6e2ea;
}
.top-bar-quicklinks a {
  font-size: 12px; font-weight: 700; color: var(--nav-navy); opacity: .8;
  letter-spacing: .2px; white-space: nowrap; transition: opacity .15s, color .15s;
}
.top-bar-quicklinks a:hover { opacity: 1; color: var(--green-dark); }

.lang-switch { display: flex; gap: 8px; }
.lang-switch a {
  padding: 6px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .3px; color: #fff;
  background: var(--nav-navy);
}
.lang-switch a.active { background: var(--nav-accent); }
.lang-switch a:not(.active) { opacity: .85; }

/* Navy nav-bar */
.main-navbar {
  background: var(--nav-navy);
  border-bottom: 3px solid transparent;
  border-image: var(--nav-accent) 1;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  min-height: 68px;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 68px; width: 68px; object-fit: contain; flex-shrink: 0; }
.brand-name { display: block; font-size: 19px; font-weight: 800; color: #fff; letter-spacing: .2px; line-height: 1.25; max-width: 330px; }

.admin-header .header-inner { justify-content: space-between; gap: 20px; max-width: none; }
.admin-header-title { color: #fff; font-size: 26px; font-weight: 800; letter-spacing: .2px; margin: 0; }
.dash-header h1 { display: none; }

.main-nav { display: flex; align-items: center; gap: 2px; font-weight: 700; height: 68px; flex-wrap: nowrap; }
.main-nav a, .main-nav .nav-drop-toggle {
  display: flex; align-items: center; height: 48px;
  color: #dce8f2; font-size: 15px; font-weight: 700; letter-spacing: .2px; white-space: nowrap;
  padding: 0 14px; border-radius: 10px; transition: background .15s, color .15s;
}
.main-nav a:hover, .main-nav .nav-drop-toggle:hover { background: var(--nav-accent); color: #fff; }
.main-nav a.active, .main-nav .nav-drop-toggle.active {
  background: var(--nav-accent); color: #fff;
  box-shadow: 0 4px 14px rgba(63,169,221,.35);
}
.main-nav .btn-nav {
  background: var(--nav-accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  margin-left: 10px;
  height: auto;
  align-self: center;
  white-space: nowrap;
  flex-shrink: 0;
  transition: filter .15s;
}
.main-nav .btn-nav:hover { filter: brightness(1.08); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: #fff; }

.user-menu { position: relative; margin-left: auto; }
.user-menu-trigger {
  display: flex; align-items: center; gap: 10px; background: linear-gradient(120deg, var(--green), var(--blue));
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 16px 6px 6px; cursor: pointer;
  transition: filter .15s;
}
.user-menu-trigger:hover, .user-menu.open .user-menu-trigger { filter: brightness(1.08); }
.user-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  background: rgba(255,255,255,.25); border: 2px solid rgba(255,255,255,.6);
}
.user-avatar-fallback {
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 17px;
}
.user-info { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.25; }
.user-info strong { color: #fff; font-size: 13px; font-weight: 700; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-info small { color: rgba(255,255,255,.85); font-size: 11px; font-weight: 600; text-transform: lowercase; }
.user-menu-chevron { width: 16px; height: 16px; color: #9fc3dd; transition: transform .15s; }
.user-menu.open .user-menu-chevron { transform: rotate(180deg); }
.user-menu-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 200px; background: #fff;
  border-radius: 12px; box-shadow: 0 12px 32px rgba(11,42,74,.25); overflow: hidden; z-index: 200;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.user-menu.open .user-menu-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.user-menu-dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: var(--ink); font-size: 13.5px; font-weight: 600;
}
.user-menu-dropdown a svg { width: 17px; height: 17px; color: var(--blue-dark); flex-shrink: 0; }
.user-menu-dropdown a:hover { background: var(--bg); }
.user-menu-dropdown a.user-menu-logout { color: #c94444; border-top: 1px solid var(--border); }
.user-menu-dropdown a.user-menu-logout svg { color: #c94444; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 20% 20%, rgba(63,169,221,.15), transparent 45%),
              radial-gradient(circle at 80% 0%, rgba(108,181,45,.15), transparent 45%),
              #0e2a3d;
  color: #fff;
  padding: 90px 0 70px;
  text-align: center;
}
.hero h1 { font-size: clamp(26px, 3.6vw, 42px); max-width: 780px; margin: 0 auto 16px; }
.hero p { font-size: 17px; max-width: 640px; margin: 0 auto 30px; color: #cfe3ee; }
.hero-star { color: var(--blue); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn-primary { background: linear-gradient(135deg, var(--green), var(--blue)); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn-dark { background: var(--ink); color: #fff; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-xs { padding: 5px 13px; font-size: 12px; }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.hb-news-section { padding-top: 0; position: relative; }

/* ---- Full-bleed decorative divider between sections ---- */
.section-divider {
  width: 100vw; position: relative; left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  display: flex; align-items: center; justify-content: center;
  padding: 18px 0;
}
.section-divider span {
  display: block; width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--green), var(--blue) 25%, var(--blue) 75%, var(--green));
  position: relative;
  box-shadow: 0 2px 10px rgba(63,169,221,.35);
}
.section-divider .divider-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--somali-blue);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
  border: 4px solid #fff; box-shadow: 0 8px 20px rgba(65,137,221,.4);
  z-index: 2;
}
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head .eyebrow {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.section-head h2 { font-size: clamp(22px, 2.4vw, 30px); color: var(--blue-dark); }
.section-head p { color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
}
.card .icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff; margin-bottom: 16px;
}
.card h3 { font-size: 18px; color: var(--ink); }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }

.stats-bar-section { padding-top: 0; padding-bottom: 10px; position: relative; z-index: 3; }
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--ink);
  border-radius: var(--radius);
  padding: 34px 20px;
  color: #fff;
  text-align: center;
  max-width: 980px;
  margin: -70px auto 0;
  box-shadow: 0 25px 50px rgba(11, 42, 74, .35);
}
.stats-bar .num { font-size: clamp(20px, 2.4vw, 30px); font-weight: 800; color: var(--blue); }
.stats-bar .label { font-size: 13px; color: #b9c6d4; margin-top: 4px; }

/* ---------- Leadership ---------- */
.leader-card {
  text-align: center; position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.leader-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.leader-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 64px;
  background: linear-gradient(120deg, var(--green), var(--blue)); opacity: .08; z-index: 0;
}
.leader-photo-wrap { position: relative; z-index: 1; width: 130px; height: 130px; margin: 0 auto 16px; }
.leader-photo-wrap::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
}
.leader-photo {
  position: relative; width: 130px; height: 130px; border-radius: 50%;
  object-fit: cover; display: block;
  border: 4px solid #fff; box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--green), var(--blue));
}
.leader-card h3 { position: relative; z-index: 1; font-size: 16.5px; margin-bottom: 2px; }
.leader-card .role {
  position: relative; z-index: 1;
  color: var(--green-dark); font-weight: 600; font-size: 12.5px;
  display: inline-block; margin-top: 2px; padding: 3px 12px;
  background: #eef8ea; border-radius: 999px;
}

/* ---------- News ---------- */
.news-card {
  overflow: hidden; padding: 0; position: relative;
  transition: transform .2s, box-shadow .2s;
}
.news-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--green), var(--blue));
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(23,34,51,.14); }
.news-card img { height: 130px; width: 100%; object-fit: cover; }
.news-card .body { padding: 16px 18px 18px; }
.news-card .kicker {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .5px;
  color: var(--green-dark); background: #eef8ea; padding: 3px 10px; border-radius: 999px;
  text-transform: uppercase; margin-bottom: 8px;
}
.news-card.video-card .kicker { color: var(--somali-blue-dark); background: #eaf3fc; }
.news-card .date { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.news-card h3 { font-size: 14.5px; margin: 6px 0; line-height: 1.35; }
.news-card p { color: var(--muted); font-size: 12.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-grid { margin-bottom: 6px; }

/* ---- Large event card (ReliefWeb / IOM-style): big photo, outlined pill + date row, bold title ---- */
.event-card-lg { overflow: hidden; padding: 0; position: relative; border-radius: 10px; transition: transform .2s, box-shadow .2s; }
.event-card-lg::before { display: none; }
.event-card-lg:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(23,34,51,.14); }
.event-card-lg img { height: 230px; width: 100%; object-fit: cover; }
.event-card-lg .body { padding: 18px 20px 22px; }
.event-card-lg .row-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.event-card-lg .kicker-outline {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .5px;
  color: var(--ink); background: none; border: 1.5px solid var(--ink);
  padding: 4px 14px; border-radius: 999px; text-transform: uppercase;
}
.event-card-lg .date { font-size: 13.5px; color: var(--muted); }
.event-card-lg h3 { font-size: 18px; font-weight: 800; line-height: 1.35; margin: 0; color: var(--ink); }
.event-grid-lg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .event-grid-lg { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .event-grid-lg { grid-template-columns: 1fr; } .event-card-lg img { height: 200px; } }

.video-card .play-badge-lg {
  position: absolute; top: 65px; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  box-shadow: 0 10px 24px rgba(0,0,0,.25); transition: transform .2s, background .2s, color .2s;
}
.video-card:hover .play-badge-lg { transform: translate(-50%, -50%) scale(1.1); background: var(--somali-blue); color: #fff; }

/* ---- News/Video type tabs + pagination (news.php) ---- */
.news-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; }
.news-tabs a {
  padding: 11px 26px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: #fff; border: 1.5px solid var(--border); color: var(--muted);
  transition: background .15s, color .15s, border-color .15s;
}
.news-tabs a.active { background: var(--nav-accent); color: #fff; border-color: transparent; }
.news-tabs a:hover:not(.active) { border-color: var(--green); color: var(--green-dark); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 6px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: var(--ink); background: #fff;
  border: 1.5px solid var(--border);
}
.pagination a:hover { border-color: var(--green); color: var(--green-dark); }
.pagination .current { background: var(--nav-accent); color: #fff; border-color: transparent; }
.pagination .disabled { opacity: .4; pointer-events: none; }

/* ---------- Forms ---------- */
.form-wrap {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-wrap.wide { max-width: 900px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.field input[type=text],
.field input[type=email],
.field input[type=tel],
.field input[type=password],
.field input[type=date],
.field input[type=file],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14.5px;
  background: #fbfdfe;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
}

.alert { padding: 14px 18px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; }
.alert-success { background: #e8f6e0; color: var(--green-dark); border: 1px solid #cbe8b5; }
.alert-error { background: #fdeaea; color: #b23a3a; border: 1px solid #f3c3c3; }
.alert-info { background: #e7f3fb; color: var(--blue-dark); border: 1px solid #c3e0f3; }

/* ---------- Badges ---------- */
.badge { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; display: inline-block; }
.badge-pending { background: #fff3cd; color: #916c00; }
.badge-verified { background: #dff5df; color: #2c7a2c; }
.badge-rejected { background: #fbe0e0; color: #a13030; }
.badge-suspended { background: #e8e8e8; color: #555; }

/* ---------- Dashboard layout ---------- */
.dash-wrap { display: block; min-height: 100vh; }
.dash-sidebar {
  position: fixed; top: 0; left: 0; width: 240px; height: 100vh; overflow-y: auto; z-index: 30;
  background: linear-gradient(180deg, var(--green-dark), var(--blue-dark)); color: #fff; padding: 0 0 28px;
}
.dash-sidebar .side-nav { padding: 6px 12px; display: flex; flex-direction: column; gap: 2px; }
.dash-sidebar a {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin: 0;
  color: rgba(255,255,255,.78); font-size: 14px; font-weight: 500; border-radius: 10px;
  background: rgba(255,255,255,.05);
  transition: background .15s, color .15s, transform .15s;
}
.dash-sidebar a:hover { background: rgba(255,255,255,.13); color: #fff; transform: translateX(2px); }
.dash-sidebar a.active {
  background: rgba(255,255,255,.24); color: #fff; font-weight: 700;
  box-shadow: inset 3px 0 0 #fff, 0 2px 8px rgba(0,0,0,.12);
}
.dash-sidebar .nav-ic { width: 19px; height: 19px; flex-shrink: 0; opacity: .9; }
.dash-sidebar a.active .nav-ic { opacity: 1; }
.dash-sidebar a span:not(.nav-badge) { flex: 1; }
.dash-sidebar .nav-badge { margin-left: auto; flex: none; }
.dash-sidebar .side-title { padding: 0 26px 16px; font-size: 11px; text-transform: uppercase; color: rgba(255,255,255,.65); letter-spacing: 1px; }
.dash-sidebar .side-logo { display: flex; align-items: center; justify-content: center; height: 150px; overflow: hidden; padding: 0; }
.dash-sidebar .side-logo img { width: 210px; height: 210px; max-width: none; object-fit: cover; }
.dash-sidebar .side-brand-name {
  text-align: center; color: #fff; font-weight: 800; font-size: 15px; line-height: 1.35;
  padding: 0 14px 11px; text-transform: uppercase; letter-spacing: 0; font-family: inherit;
}
.dash-sidebar .side-menu-label {
  background: linear-gradient(90deg, var(--nav-navy-dark), var(--nav-navy), var(--nav-navy-dark));
  color: #fff; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
  padding: 11px 18px; margin: 0 0 6px; border-radius: var(--radius); position: relative;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: inset 0 -2px 0 rgba(255,255,255,.08);
}
.dash-sidebar .side-menu-label::before,
.dash-sidebar .side-menu-label::after {
  content: ""; flex: 1; max-width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55));
}
.dash-sidebar .side-menu-label::after { background: linear-gradient(90deg, rgba(255,255,255,.55), transparent); }
.dash-main { padding: 36px; margin-left: 240px; }
.admin-header { margin-left: 240px; }
.dash-header { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 14px; }
.dash-header h1 { font-size: 24px; color: var(--blue-dark); margin: 0; }

/* ---------- Settings sub-tabs ---------- */
.settings-layout { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: start; }
.settings-nav {
  display: flex; flex-direction: column; gap: 2px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 8px; position: sticky; top: 20px;
}
.settings-nav-item {
  text-align: left; background: none; border: none; cursor: pointer;
  padding: 11px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 600;
  color: var(--ink); opacity: .72; transition: background .15s, opacity .15s, color .15s;
}
.settings-nav-item:hover { background: #f3f6f9; opacity: 1; }
.settings-nav-item.active { background: var(--blue-dark); color: #fff; opacity: 1; }
.settings-panel { display: none; }
.settings-panel.active { display: block; }

@media (max-width: 900px) {
  .settings-layout { grid-template-columns: 1fr; }
  .settings-nav { flex-direction: row; flex-wrap: wrap; position: static; }
  .settings-nav-item { flex: none; }
}

.table-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: auto; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { background: #f3f7fa; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; }
tr:last-child td { border-bottom: none; }
.actions-cell { display: flex; gap: 8px; }

/* ---- Members filter bar ---- */
.members-filter-bar {
  display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 20px; margin-bottom: 22px; box-shadow: var(--shadow);
}
.members-filter-bar .field { margin-bottom: 0; min-width: 150px; }
.members-filter-bar .field label {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .4px;
  color: var(--muted); margin-bottom: 5px;
}
.members-filter-bar .field select,
.members-filter-bar .field input { padding: 10px 12px; font-size: 13.5px; }
.members-filter-search { flex: 1; min-width: 200px; }
.members-filter-actions { display: flex; gap: 8px; }

/* ---- Members table ---- */
.members-table-wrap { border-radius: 14px; }
.action-dropdown { position: relative; display: inline-block; }
.action-dropdown summary {
  list-style: none; cursor: pointer;
}
.action-dropdown summary::-webkit-details-marker { display: none; }
.action-dropdown summary::after { content: ' \25BE'; }
.action-menu {
  position: fixed; z-index: 200;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow); min-width: 120px; overflow: hidden;
}
.action-menu a, .action-menu-delete {
  display: block; width: 100%; text-align: left; padding: 10px 14px;
  font-size: 13px; color: var(--ink); background: none; border: none; cursor: pointer;
}
.action-menu a:hover { background: #f3f7fa; }
.action-menu-delete { color: #c94444; font-weight: 600; }
.action-menu-delete:hover { background: #fdeaea; }
.action-menu form { margin: 0; }
.members-table th {
  background: linear-gradient(120deg, var(--nav-navy), var(--nav-navy-dark));
  color: #cfe3ee; font-size: 11.5px; padding: 10px 16px;
}
.members-table td { padding: 14px 16px; vertical-align: middle; border-bottom: 1px solid #9fb3c2; }
.members-table tbody tr { transition: background .12s; }
.members-table tbody tr:last-child td { border-bottom: none; }
.members-table tbody td:nth-child(odd) { background: #dcefe0; }
.members-table tbody tr:hover td { background: #d9ecf5; }
.row-no-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px;
  font-weight: 800; font-size: 13px; color: #fff;
  background: var(--nav-navy);
}
.member-no {
  display: inline-block; font-family: var(--font-mono, monospace); font-size: 12px;
  font-weight: 700; color: var(--blue-dark); background: #eaf3fc;
  padding: 3px 9px; border-radius: 999px; letter-spacing: .2px;
}
.gender-tag {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.gender-tag.gender-male { color: var(--blue-dark); background: #eaf3fc; }
.gender-tag.gender-female { color: #b5348a; background: #fbeaf2; }
.role-pill {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 11px;
  border-radius: 999px;
}
.role-pill.role-member { background: #eef2f5; color: #5a6a78; }
.role-pill.role-staff { background: #eaf7e3; color: var(--green-dark); }
.role-pill.role-admin { background: #fdeee0; color: #b5541a; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.kpi-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.kpi-card .num { font-size: 28px; font-weight: 800; color: var(--blue-dark); }
.kpi-card.kpi-card-brand {
  background: linear-gradient(120deg, var(--green), var(--blue)); border-color: transparent;
  position: relative; overflow: hidden; text-align: center;
}
.kpi-card.kpi-card-brand .num { position: relative; z-index: 2; color: #fff; }
.kpi-card.kpi-card-brand .label { position: relative; z-index: 2; color: rgba(255,255,255,.85); font-weight: 700; }
.kpi-brand-watermark { position: absolute; width: 88px; height: 88px; color: rgba(255,255,255,.18); z-index: 1; }
.kpi-brand-watermark-br { right: -10px; bottom: -14px; }
.kpi-brand-watermark-tl { left: -12px; top: -16px; transform: rotate(180deg); }
.kpi-brand-watermark svg { width: 100%; height: 100%; }
.kpi-brand-shine {
  position: absolute; top: -60%; left: -20%; width: 60%; height: 220%;
  background: rgba(255,255,255,.16); transform: rotate(20deg); z-index: 1; pointer-events: none;
}
.kpi-card .label { color: var(--muted); font-size: 13px; margin-top: 4px; }
.kpi-card .label small { display: block; font-size: 10.5px; font-weight: 500; opacity: .8; margin-top: 1px; }
.kpi-card.kpi-card-blue {
  background: linear-gradient(120deg, var(--blue), var(--blue-dark)); border-color: transparent;
  position: relative; overflow: hidden; text-align: center;
}
.kpi-card.kpi-card-blue .num { position: relative; z-index: 2; color: #fff; }
.kpi-card.kpi-card-blue .label { position: relative; z-index: 2; color: rgba(255,255,255,.85); font-weight: 700; }
.kpi-card.kpi-card-red {
  background: linear-gradient(120deg, #e2453f, #a12a25); border-color: transparent;
  position: relative; overflow: hidden; text-align: center;
}
.kpi-card.kpi-card-red .num { position: relative; z-index: 2; color: #fff; }
.kpi-card.kpi-card-red .label { position: relative; z-index: 2; color: rgba(255,255,255,.85); font-weight: 700; }
.kpi-card.kpi-card-amber {
  background: linear-gradient(120deg, #f0ad4e, #b9760f); border-color: transparent;
  position: relative; overflow: hidden; text-align: center;
}
.kpi-card.kpi-card-amber .num { position: relative; z-index: 2; color: #fff; }
.kpi-card.kpi-card-amber .label { position: relative; z-index: 2; color: rgba(255,255,255,.9); font-weight: 700; }

.profile-photo-lg { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; background: #dde8ef; }

/* Dashboard: Members by State — ranked, flag-led cards */
.state-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 34px; }
.state-card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 18px 18px; box-shadow: var(--shadow); overflow: hidden; transition: transform .15s, box-shadow .15s;
}
.state-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 56px;
  background-image: linear-gradient(120deg, rgba(11,42,74,.78), rgba(28,127,181,.55) 60%, rgba(76,138,31,.5)), var(--flag-bg, none);
  background-color: var(--nav-navy);
  background-size: cover; background-position: center, var(--flag-pos, center);
  z-index: 0;
}
.state-card::after {
  content: ""; position: absolute; top: 0; right: -30px; width: 110px; height: 90px;
  background: radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
}
.state-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(23,34,51,.14); }
.state-rank {
  position: absolute; top: 10px; right: 12px; z-index: 1; font-size: 11px; font-weight: 800;
  color: #fff; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px; padding: 3px 9px; letter-spacing: .3px;
}
.state-card-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.state-flag-wrap {
  width: 46px; height: 46px; border-radius: 50%; background: #fff; padding: 3px;
  box-shadow: 0 4px 12px rgba(0,0,0,.25); flex-shrink: 0;
}
.state-flag-wrap img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: #dde8ef; }
.state-name { color: #fff; font-weight: 700; font-size: 14.5px; line-height: 1.25; }
.state-body-row { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 12px; align-self: stretch; width: 100%; }
.state-total { flex-shrink: 0; max-width: 64px; margin-left: -18px; padding-left: 6px; align-self: flex-start; }
.state-total .num { font-size: 30px; font-weight: 800; color: var(--blue-dark); line-height: 1; }
.state-total .label { color: var(--muted); font-size: 12px; margin-top: 4px; text-transform: uppercase; letter-spacing: .4px; }
.state-sub-stats { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; margin-right: 12px; }
.state-sub-stat {
  position: relative; display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink);
  border: 1px solid var(--border); border-radius: 8px; padding-right: 5px; background: #fff;
  height: 34px; overflow: hidden;
}
.ssub-icon { position: relative; z-index: 2; flex-shrink: 0; width: 26px; height: 34px; display: flex; align-items: center; justify-content: center; }
.ssub-icon::before { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: polygon(0 0, 72% 0, 46% 100%, 0 100%); }
.ssub-icon svg { width: 13px; height: 13px; position: relative; z-index: 1; }
.ssub-exec .ssub-icon::before { background: var(--green); }
.ssub-central .ssub-icon::before { background: var(--blue); }
.ssub-watermark { position: absolute; right: -4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; opacity: .1; z-index: 0; }
.ssub-watermark svg { width: 100%; height: 100%; }
.ssub-exec .ssub-watermark { color: var(--green); }
.ssub-central .ssub-watermark { color: var(--blue); }
.ssub-text { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: row; align-items: baseline; justify-content: center; gap: 5px; min-width: 0; white-space: nowrap; }
.ssub-text .v { font-weight: 800; font-size: 15px; }
.ssub-exec .ssub-text .v { color: var(--green-dark); }
.ssub-central .ssub-text .v { color: var(--blue-dark); }
.ssub-text .k { font-weight: 700; font-size: 10.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.state-card-foot {
  position: relative; z-index: 1; align-self: stretch; margin: 14px -20px -20px; height: 16px;
  background: linear-gradient(90deg, rgba(108,181,45,.14), rgba(63,169,221,.14) 50%, rgba(108,181,45,.14));
  border-radius: 0 0 var(--radius) var(--radius);
}
.state-card-foot::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63,169,221,.35), transparent);
}
.state-card-foot span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--blue);
  box-shadow: -10px 0 0 rgba(108,181,45,.5), 10px 0 0 rgba(108,181,45,.5),
    -20px 0 0 rgba(63,169,221,.3), 20px 0 0 rgba(63,169,221,.3);
}
@media (max-width: 980px) { .state-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .state-grid { grid-template-columns: 1fr; } }

/* Dashboard: top panel row — state chart, gender donut, pending list */
.dash-panels-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.dash-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.dash-panel-head {
  background: var(--nav-navy); color: #fff; font-weight: 700; font-size: 14px;
  padding: 13px 18px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 3px solid; border-image: linear-gradient(90deg, var(--green), var(--blue)) 1;
}
.dash-panel-head a { color: #cfe8ff; font-size: 12px; font-weight: 600; text-decoration: none; }
.dash-panel-head a:hover { text-decoration: underline; }
.dash-panel-body { padding: 20px 18px; }
.dash-panel-body.no-pad { padding: 0; }
.dash-panel-body.chart-body { padding-bottom: 6px; flex: 1; display: flex; flex-direction: column; }

/* bar chart */
.bar-chart { display: flex; gap: 8px; flex: 1; min-height: 190px; }
.bar-chart-y { display: flex; flex-direction: column; justify-content: space-between; font-size: 10.5px; color: var(--muted); text-align: right; padding-bottom: 42px; }
.bar-chart-plot {
  flex: 1; display: flex; align-items: flex-end; gap: 6px;
  background-image: repeating-linear-gradient(to top, var(--border) 0, var(--border) 1px, transparent 1px, transparent 25%);
  border-bottom: 1px solid var(--border);
}
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.bar-val { font-size: 10px; font-weight: 700; color: var(--blue-dark); margin-bottom: 3px; }
.bar { width: 60%; max-width: 22px; border-radius: 5px 5px 0 0; background: var(--bar-color, var(--blue)); }
.bar-label { font-size: 9.5px; color: var(--muted); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bar-flag {
  width: 18px; height: 18px; border-radius: 50%; object-fit: cover; margin-top: 4px;
  border: 1.5px solid #fff; box-shadow: 0 1px 3px rgba(23,34,51,.25); background: #dde8ef; flex-shrink: 0;
}

/* gender donut */
.gender-panel-body { position: relative; overflow: hidden; }
.gender-panel-body::before {
  content: ""; position: absolute; top: -30px; left: -30px; width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63,169,221,.16) 0%, rgba(63,169,221,0) 70%); z-index: 0;
}
.gender-panel-body::after {
  content: ""; position: absolute; bottom: -30px; right: -30px; width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,98,158,.16) 0%, rgba(224,98,158,0) 70%); z-index: 0;
}
.donut-wrap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; }
.gender-deco { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.gender-deco-badge {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.gender-deco svg { width: 26px; height: 26px; }
.gender-deco span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.gender-deco small { font-size: 10px; color: var(--muted); font-weight: 600; }
.gender-deco-male { color: var(--blue); }
.gender-deco-male .gender-deco-badge { background: rgba(63,169,221,.12); border: 1.5px dashed rgba(63,169,221,.4); }
.gender-deco-female { color: #e0629e; }
.gender-deco-female .gender-deco-badge { background: rgba(224,98,158,.12); border: 1.5px dashed rgba(224,98,158,.4); }
.donut {
  --male-color: var(--blue); --female-color: #e0629e;
  width: 150px; height: 150px; border-radius: 50%; position: relative; flex-shrink: 0;
  background: conic-gradient(var(--male-color) 0 calc(var(--male) * 1%), var(--female-color) 0 100%);
  display: flex; align-items: center; justify-content: center;
}
.donut::before { content: ""; position: absolute; inset: 16px; background: #fff; border-radius: 50%; }
.donut-center { position: relative; z-index: 1; text-align: center; }
.donut-center small { display: block; font-size: 10px; color: var(--muted); letter-spacing: .4px; }
.donut-center strong { font-size: 22px; color: var(--ink); }
.donut-legend { display: flex; flex-direction: column; gap: 10px; }
.donut-legend-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); }
.donut-legend-row .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.donut-legend-row .dot.male { background: var(--blue); }
.donut-legend-row .dot.female { background: #e0629e; }
.donut-legend-row b { margin-left: auto; }
.donut-legend-row small { color: var(--muted); width: 40px; text-align: right; }

/* mini table (pending list) */
.mini-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.mini-table thead th {
  text-align: left; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px;
  padding: 10px 6px; border-bottom: 1px solid var(--border); background: var(--bg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mini-table thead th:first-child, .mini-table tbody td:first-child { padding-left: 14px; }
.mini-table thead th:last-child, .mini-table tbody td:last-child { padding-right: 14px; text-align: right; }
.mini-table tbody td { padding: 9px 6px; border-bottom: 1px solid var(--border); font-size: 12.5px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-table tbody tr:hover { background: var(--bg); }
.mini-table tbody tr:last-child td { border-bottom: none; }
.mini-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.mini-muted { color: var(--muted); font-size: 12px; white-space: nowrap; }
.mini-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.mini-badge-approved { background: #dff5df; color: #2c7a2c; }
.mini-badge-pending { background: #fbe0e0; color: #a13030; }

/* Dashboard: Top 5 member-type lists (Executive/Central Committee, General Assembly) */
.member-list-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.member-list-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.member-list-head {
  background: var(--nav-navy); color: #fff; padding: 13px 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  border-bottom: 3px solid; border-image: linear-gradient(90deg, var(--green), var(--blue)) 1;
}
.member-list-head span { font-weight: 700; font-size: 13.5px; }
.member-list-head small { display: block; font-weight: 500; font-size: 11px; opacity: .75; }
.btn-view-all {
  background: #fff; color: var(--nav-navy); font-size: 11.5px; font-weight: 700; text-decoration: none;
  padding: 6px 12px; border-radius: 999px; white-space: nowrap; flex-shrink: 0;
}
.btn-view-all:hover { background: #eef4f9; }
.member-list-body { padding: 4px 0; }
.member-list-body.no-pad { padding: 0; }
.mini-val { font-weight: 700; color: var(--green-dark); }
.mini-val .muted { color: var(--muted); font-weight: 400; }
.member-list-empty { padding: 20px 16px; text-align: center; color: var(--muted); font-size: 13px; }
.member-list-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--border); }
.member-list-item:last-child { border-bottom: none; }
.member-list-item .name { font-weight: 700; font-size: 13.5px; color: var(--ink); }
.member-list-item .sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.member-list-item .val { font-weight: 700; font-size: 12.5px; color: var(--green-dark); text-align: right; white-space: nowrap; }
.member-list-item .val .muted { color: var(--muted); font-weight: 400; }
@media (max-width: 980px) { .member-list-row { grid-template-columns: 1fr; } }

@media (max-width: 980px) { .dash-panels-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #0e2a3d; color: #cfe3ee; margin-top: 60px; }
.footer-inner {
  display: grid; grid-template-columns: .85fr 1.15fr .9fr .9fr; gap: 30px;
  padding: 60px 24px 34px;
}
.footer-logo { display: flex; }
.footer-brand-media { position: relative; width: 100%; max-width: 220px; height: 100%; }
.footer-brand-media::before {
  content: ''; position: absolute; top: -10px; left: -10px; right: 10px; bottom: 10px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  border-radius: 0; opacity: .45; z-index: 0;
}
.footer-brand-frame {
  position: relative; z-index: 1; height: 100%; min-height: 200px;
  border-radius: 0; overflow: hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
  background: linear-gradient(135deg, var(--green), var(--blue));
  display: flex; align-items: center; justify-content: center;
}
.footer-brand-frame img { width: 82%; height: 82%; object-fit: contain; }
.footer-brand-title {
  color: #fff; font-size: 17px; font-weight: 800; line-height: 1.4; margin: 0 0 14px;
}
.footer-about p { font-size: 13.5px; color: #9fb6c6; line-height: 1.75; margin: 0 0 12px; }
.footer-about p:last-child { margin-bottom: 0; }

.footer-links h4, .footer-contact h4, .footer-social h4 {
  color: #fff; font-size: 14.5px; margin-bottom: 20px; position: relative; padding-bottom: 12px;
}
.footer-links h4::after, .footer-contact h4::after, .footer-social h4::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px;
  border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--blue));
}
.footer-links a {
  display: flex; align-items: center; gap: 7px; margin-bottom: 11px;
  font-size: 13.5px; color: #9fb6c6; transition: color .15s, transform .15s;
}
.footer-links a::before { content: '\203A'; color: var(--blue); font-weight: 800; font-size: 15px; line-height: 1; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }

.footer-contact p {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: #9fb6c6; margin: 0 0 14px; line-height: 1.5;
}
.footer-contact p svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; fill: var(--blue); }

.footer-contact .footer-social { margin-top: 24px; }
.footer-social-blurb { font-size: 13.5px; color: #9fb6c6; line-height: 1.7; margin: 0 0 18px; }
.footer-social-icons { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-social-icons a {
  position: relative; width: 38px; height: 38px; z-index: 1;
  border-radius: 11px; overflow: hidden;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 10px 20px rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s, box-shadow .15s;
}
.footer-social-icons a::before {
  content: ''; position: absolute; top: -6px; left: -6px; right: 6px; bottom: 6px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  border-radius: 10px; opacity: .4; z-index: -1;
}
.footer-social-icons a svg { width: 17px; height: 17px; fill: #fff; }
.footer-social-icons a:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(0,0,0,.4); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand-media { margin-left: auto; margin-right: auto; }
  .footer-links h4::after, .footer-contact h4::after, .footer-social h4::after { left: 50%; transform: translateX(-50%); }
  .footer-links a, .footer-contact p, .footer-about p { justify-content: center; }
  .footer-social-icons { justify-content: center; }
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 24px; font-size: 12.5px; border-top: 1px solid rgba(255,255,255,.08); color: #7f97a8;
}
.footer-copyright { white-space: nowrap; }
.footer-copyright strong { color: #fff; font-weight: 800; }
.footer-credit { color: #7f97a8; white-space: nowrap; }
.footer-credit a { font-weight: 800; color: #a9d6f5; }
.footer-credit a:hover { color: #fff; }
.footer-login-link {
  font-size: 11px; color: #5c7488; opacity: .8;
  white-space: nowrap; margin-right: 64px;
}
.footer-login-link:hover { color: #9fb6c6; opacity: 1; }
@media (max-width: 760px) {
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-login-link { margin-right: 0; }
}

/* ---------- Responsive ---------- */
/* Shrink the nav a notch on medium/laptop widths so nothing overlaps or wraps
   before the hamburger menu takes over at 640px. */
@media (max-width: 1400px) and (min-width: 641px) {
  .header-inner { gap: 34px; }
  .brand-name { font-size: 15.5px; max-width: 240px; }
  .brand img { height: 54px; width: 54px; }
  .main-nav { gap: 0; }
  .main-nav a, .main-nav .nav-drop-toggle { padding: 0 10px; font-size: 13.5px; }
  .main-nav .btn-nav { padding: 9px 16px; font-size: 13.5px; margin-left: 4px; }
}
@media (max-width: 1150px) and (min-width: 641px) {
  .header-inner { gap: 20px; }
  .brand-name { font-size: 13px; max-width: 210px; }
  .brand img { height: 46px; width: 46px; }
  .main-nav a, .main-nav .nav-drop-toggle { padding: 0 7px; font-size: 12.5px; }
}
.dash-nav-toggle {
  display: none;
  background: none; border: none; color: #fff; font-size: 24px; line-height: 1;
  cursor: pointer; padding: 6px 10px; margin-right: 4px; border-radius: 8px;
}
.dash-nav-toggle:hover { background: rgba(255,255,255,.1); }
.dash-sidebar-overlay {
  display: none; position: fixed; inset: 0; background: rgba(10,25,38,.5);
  z-index: 29; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.dash-sidebar-overlay.open { opacity: 1; pointer-events: auto; }

@media (max-width: 900px) {
  .grid-3, .grid-4, .stats-bar, .kpi-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .dash-nav-toggle { display: inline-block; }
  .dash-sidebar-overlay { display: block; }
  .dash-sidebar {
    transform: translateX(-100%); transition: transform .25s ease;
    box-shadow: 0 0 40px rgba(0,0,0,.3);
  }
  .dash-sidebar.open { transform: translateX(0); }
  .dash-main { margin-left: 0; }
  .admin-header { margin-left: 0; }
}
@media (max-width: 900px) {
  .top-bar-inner { padding: 6px 24px; }
  .lang-switch a { padding: 5px 12px; font-size: 11px; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .header-inner { min-height: 60px; justify-content: space-between; gap: 12px; }
  .brand img { height: 40px; width: 40px; }
  .brand-name { font-size: 13.5px; max-width: 220px; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--nav-navy); flex-direction: column; align-items: stretch; padding: 10px 0; gap: 0;
    height: auto; border-top: 2px solid var(--nav-accent-solid);
    box-shadow: var(--shadow); max-height: 80vh; overflow-y: auto;
  }
  .nav-drop { width: 100%; }
  .main-nav.open { display: flex; }
  .main-nav a, .main-nav .nav-drop-toggle { height: auto; padding: 13px 24px; width: 100%; }
  .main-nav .btn-nav { margin: 10px 24px; text-align: center; justify-content: center; }
  /* The admin header's nav only holds the small user menu button — keep it
     visible and inline instead of collapsing it behind the public site's
     hamburger-menu rules above (which target the same .main-nav class). */
  .admin-header .main-nav {
    display: flex; position: static; background: none; flex-direction: row;
    padding: 0; height: auto; border-top: none; box-shadow: none;
    max-height: none; overflow: visible; width: auto;
  }
  .admin-header .user-menu-trigger { padding: 4px; gap: 0; }
  .admin-header .user-info, .admin-header .user-menu-chevron { display: none; }
  .admin-header .user-avatar { width: 36px; height: 36px; }
  .admin-header-title { font-size: 19px; }
  .top-bar-social { gap: 6px; }
  .top-bar-social a { width: 22px; height: 22px; }
  .top-bar-left { gap: 10px; }
  .top-bar-quicklinks { gap: 10px; padding-left: 10px; }
  .top-bar-quicklinks a { font-size: 10.5px; }
  .top-bar-inner { overflow-x: auto; }
  .grid-3, .grid-4, .stats-bar, .kpi-grid, .form-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hb-news-section .news-grid, .hb-video-section .news-grid { grid-template-columns: 1fr; gap: 16px; max-width: 360px; margin-left: auto; margin-right: auto; }
  .hb-news-section .news-grid .news-card:nth-child(n+3), .hb-video-section .news-grid .news-card:nth-child(n+3) { display: none; }
}

/* =============================================================
   HOME PAGE — hero band, principles, CTA band, leadership, news band
   ============================================================= */

/* ---- Hero band with animated gradient background (or uploaded photo) ---- */
.hb-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(440px, 62vh, 700px);
  display: flex;
  align-items: center;
  color: #fff;
  background: #0e2a3d;
}
.hb-hero.has-photo { background-size: cover; background-position: center; }
.hb-hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hb-hero-anim {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(63,169,221,.55), transparent 42%),
    radial-gradient(circle at 85% 15%, rgba(108,181,45,.5), transparent 45%),
    radial-gradient(circle at 30% 85%, rgba(108,181,45,.4), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(63,169,221,.4), transparent 42%),
    linear-gradient(135deg, #0b2436, #123249 60%, #0e2a3d);
  background-size: 200% 200%;
  animation: hbFlow 18s ease-in-out infinite;
}
@keyframes hbFlow {
  0%   { background-position: 0% 0%, 100% 0%, 0% 100%, 100% 100%, 0% 0%; }
  50%  { background-position: 30% 20%, 70% 30%, 30% 70%, 70% 80%, 0% 0%; }
  100% { background-position: 0% 0%, 100% 0%, 0% 100%, 100% 100%, 0% 0%; }
}
.hb-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,25,38,.35) 0%, rgba(10,25,38,.65) 100%);
}
.hb-hero-particles span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  animation: hbFloat linear infinite;
}
@keyframes hbFloat {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-560px) translateX(30px); opacity: 0; }
}
.hb-hero-inner {
  position: relative; z-index: 2;
  max-width: 780px; margin: 0 auto; text-align: center; padding: 60px 24px;
}
.hb-hero-inner h1 { font-size: clamp(26px, 3.6vw, 46px); line-height: 1.15; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hb-hero-inner p { font-size: clamp(14.5px, 1.4vw, 17.5px); color: #dbe9f2; margin-bottom: 34px; }
.hb-pill-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 32px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  transition: transform .15s, box-shadow .15s;
}
.pill-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.pill-btn-white { background: #fff; color: var(--blue-dark); }
.pill-btn-green { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; }

/* ---- About (single centered column, like the reference site) ---- */
.hb-about { padding: 28px 0 50px; text-align: center; overflow: hidden; }
.hb-about h2 { color: var(--blue-dark); font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 14px; }
.hb-about p { max-width: 780px; margin: 0 auto 12px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.hb-underline { width: 90px; height: 4px; margin: 10px auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--blue)); }

/* ---- About: split layout, image left / text right ---- */
.hb-about-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; text-align: left; }
.hb-about-media { position: relative; max-width: 320px; margin: 0 auto; }
.hb-about-media::before {
  content: ''; position: absolute; top: -30px; left: -30px; right: 30px; bottom: 30px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  border-radius: 28px; opacity: .18; z-index: 0;
}
.hb-about-media::after {
  content: ''; position: absolute; bottom: -24px; right: -24px;
  width: 130px; height: 130px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  opacity: .15; z-index: 0;
}
.hb-about-media-frame {
  position: relative; z-index: 1;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(23,34,51,.18);
  border: 6px solid;
  border-image: linear-gradient(135deg, var(--green), var(--blue)) 1;
  aspect-ratio: 4/3;
}
.hb-about-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.hb-about-media-placeholder {
  width: 100%; height: 100%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.hb-about-media-placeholder img { width: 94%; height: 94%; object-fit: contain; opacity: 1; }
.hb-about-text .eyebrow { display: block; }
.hb-about-text p { max-width: none; margin: 0 0 14px; text-align: left; }

@media (max-width: 900px) {
  .hb-about-split { grid-template-columns: 1fr; gap: 40px; }
  .hb-about-media { max-width: 420px; margin: 0 auto; width: 100%; }
  .hb-about-text { text-align: center; }
  .hb-about-text p { text-align: center; margin-left: auto; margin-right: auto; max-width: 560px; }
  .hb-about-text .hb-underline { margin-left: auto; margin-right: auto; }
}

/* ---- Principles / Pillars section ---- */
.hb-principles { background: linear-gradient(180deg, #e9f5ea, #eef7f3); padding: 24px 0 44px; position: relative; overflow: hidden; }
.hb-principles::before, .hb-principles::after {
  content: ''; position: absolute; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue)); opacity: .08; z-index: 0;
}
.hb-principles::before { width: 320px; height: 320px; top: -120px; left: -120px; }
.hb-principles::after { width: 260px; height: 260px; bottom: -100px; right: -100px; }
.hb-principles .section-head, .hb-principles .grid-4, .hb-principles-more { position: relative; z-index: 1; }
.hb-principles .section-head h2 { color: var(--green-dark); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.about-principles-grid { grid-template-columns: repeat(2, 1fr); margin-bottom: 20px; }

.pillar-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pillar-card .emoji {
  width: 50px; height: 50px; margin: 0 auto 12px;
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green), var(--blue)); font-size: 21px;
  box-shadow: 0 10px 22px rgba(63,169,221,.28);
}
.pillar-card h3 { color: var(--blue-dark); font-size: 14.5px; margin-bottom: 6px; }
.pillar-card p { color: var(--muted); font-size: 12.5px; margin: 0; line-height: 1.55; }

.hb-principles-more { text-align: center; margin-top: 26px; }

@media (max-width: 900px) and (min-width: 641px) {
  .hb-principles .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .pillar-card { padding: 16px 10px; }
  .pillar-card .emoji { width: 42px; height: 42px; font-size: 18px; margin-bottom: 8px; }
  .pillar-card h3 { font-size: 12.5px; }
  .pillar-card p { font-size: 11px; line-height: 1.45; }
}
@media (max-width: 640px) {
  .hb-principles .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ---- CTA band (full-bleed solid color) ---- */
.hb-cta {
  background: linear-gradient(120deg, var(--green-dark), var(--blue-dark));
  color: #fff; text-align: center; padding: 56px 24px;
}
.hb-cta h2 { font-size: 26px; margin-bottom: 10px; }
.hb-cta p { color: #e6f2ea; margin-bottom: 24px; font-size: 15px; }

/* ---- Join CTA band (compact, matches "Make a Change" band) ---- */
.hb-join-cta { position: relative; overflow: hidden; padding: 60px 24px; text-align: left; }
.hb-join-cta-blobs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hb-join-cta-blobs::before, .hb-join-cta-blobs::after {
  content: ''; position: absolute; border-radius: 50%; background: #fff; opacity: .07;
}
.hb-join-cta-blobs::before { width: 260px; height: 260px; top: -110px; left: -80px; }
.hb-join-cta-blobs::after { width: 220px; height: 220px; bottom: -100px; right: -70px; }
.hb-join-cta .container { position: relative; z-index: 1; }
.hb-join-cta .join-eyebrow {
  display: inline-block; font-weight: 700; font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; color: #fff; opacity: .85; margin-bottom: 6px;
}
.hb-join-cta h2 { text-align: left; }
.hb-join-cta p { text-align: left; }

/* ---- Join CTA: split layout, logo/media left / text right ---- */
.hb-join-split { display: grid; grid-template-columns: 220px 1fr; gap: 46px; align-items: center; }
.hb-join-media-frame {
  position: relative; border-radius: 20px; padding: 5px;
  background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.3);
  aspect-ratio: 1; box-shadow: 0 20px 40px rgba(0,0,0,.2);
}
.hb-join-media-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; }
.hb-join-media-placeholder {
  width: 100%; height: 100%; border-radius: 16px;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
}
.hb-join-media-placeholder img { width: 88%; height: 88%; object-fit: contain; opacity: .95; }

.join-steps {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 30px;
}
.join-step {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px; padding: 8px 16px 8px 8px;
  font-size: 13px; font-weight: 600; color: #fff;
}
.join-step-link {
  background: #fff; border-color: #fff; color: var(--green-dark); font-weight: 800;
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.join-step-link span { background: var(--green-dark); color: #fff; }
.join-step-link:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.join-step span {
  width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--green-dark);
  font-size: 11.5px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ---- Leadership section: full-bleed band with decoration ---- */
.hb-leadership { position: relative; overflow: hidden; padding: 32px 0 20px; background: linear-gradient(180deg, #fff, #f3f9f4 60%, #fff); }
.hb-leadership-blobs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hb-leadership-blobs::before, .hb-leadership-blobs::after {
  content: ''; position: absolute; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue)); opacity: .07;
}
.hb-leadership-blobs::before { width: 380px; height: 380px; top: -160px; right: -140px; }
.hb-leadership-blobs::after { width: 300px; height: 300px; bottom: -140px; left: -120px; }
.hb-leadership .container { position: relative; z-index: 1; }
.hb-leadership-head p { margin-top: 16px; }

/* ---- Leadership: first member big, rest in grid ---- */
.leader-hero {
  display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: center;
  background: #fff; border-radius: var(--radius);
  padding: 34px; box-shadow: 0 20px 45px rgba(23,34,51,.12); margin-bottom: 46px;
  position: relative; overflow: hidden;
  border: 1px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(120deg, var(--green), var(--blue));
  background-origin: border-box; background-clip: padding-box, border-box;
}
.leader-hero::before {
  content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue)); opacity: .07;
  top: -80px; right: -80px; z-index: 0;
}
.leader-hero > * { position: relative; z-index: 1; }
.leader-hero-ribbon {
  position: absolute; top: 18px; right: -38px; z-index: 2;
  transform: rotate(40deg); transform-origin: center;
  background: linear-gradient(120deg, var(--green), var(--blue)); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .4px;
  padding: 5px 46px; box-shadow: 0 6px 14px rgba(23,34,51,.2);
}
.leader-hero .photo-frame {
  position: relative; border-radius: 14px; padding: 5px;
  background: linear-gradient(135deg, var(--green), var(--blue));
}
.leader-hero img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: linear-gradient(160deg, var(--blue), var(--blue-dark)); display: block; }
.leader-hero h3 { color: var(--ink); font-size: 22px; margin-bottom: 4px; }
.leader-hero .role {
  display: inline-block; color: var(--green-dark); font-weight: 700; font-size: 13px;
  margin: 6px 0 14px; padding: 5px 14px; background: #eef8ea; border-radius: 999px;
}
.leader-hero p { color: var(--muted); font-size: 14.5px; }

.leader-quote {
  position: relative; margin: 4px 0 0; padding: 16px 20px 16px 44px;
  background: linear-gradient(120deg, #eef8ea, #eaf5fb);
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  color: var(--ink); font-size: 14.5px; font-style: italic; line-height: 1.7;
}
.leader-quote .quote-mark {
  position: absolute; left: 10px; top: 4px;
  font-size: 34px; font-style: normal; font-weight: 800; line-height: 1;
  color: var(--green); opacity: .5; font-family: Georgia, serif;
}

/* ---- Leadership slider (below the Chairman hero card) — full-bleed, edge to edge ---- */
.leader-slider-wrap {
  position: relative;
  width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw;
  padding: 0 64px;
}
.leader-slider {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 24px 20px; scrollbar-width: none;
}
.leader-slider::-webkit-scrollbar { display: none; }
.leader-slide { flex: 0 0 220px; scroll-snap-align: start; position: relative; }
.leader-rank {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--somali-blue); color: #fff;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(65,137,221,.4);
  border: 2px solid #fff;
}
.slider-arrow {
  position: absolute; top: 90px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: #fff; color: var(--blue-dark); font-size: 15px;
  box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s, transform .15s;
}
.slider-arrow:hover { background: var(--nav-accent); color: #fff; transform: translateY(-2px); }
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }

@media (max-width: 640px) {
  .leader-slider-wrap { padding: 0 44px; }
  .leader-slide { flex-basis: 180px; }
  .slider-arrow { width: 38px; height: 38px; top: 70px; }
}

/* ---- News band (colored header bar + list) ---- */
.hb-news-panel { background: #eef7ee; border-radius: var(--radius); overflow: hidden; }
.hb-news-header { background: linear-gradient(120deg, var(--green), var(--green-dark)); color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 22px 30px; }
.hb-news-header h2 { margin: 0; font-size: 20px; letter-spacing: .5px; }
.hb-news-header a { color: #fff; font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.hb-news-list { padding: 10px 30px 26px; }
.hb-news-row { display: flex; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.hb-news-row:last-child { border-bottom: none; }
.hb-news-row img { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: #dde8ef; }
.hb-news-row h3 { font-size: 15.5px; margin: 0 0 4px; color: var(--ink); }
.hb-news-row .date { font-size: 12.5px; color: var(--green-dark); font-weight: 600; }

/* ---- Floating scroll-to-top button ---- */
.scroll-top-btn {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: var(--shadow); border: none; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.scroll-top-btn.visible { opacity: 1; pointer-events: auto; }
.scroll-top-btn:hover { transform: translateY(-3px); }

@media (max-width: 760px) {
  .hb-hero-inner h1 { font-size: 32px; }
  .leader-hero { grid-template-columns: 1fr; text-align: center; }
  .leader-hero .photo-frame { max-width: 220px; margin: 0 auto; }
  .hb-news-header { padding: 18px 20px; }
  .hb-news-list { padding: 6px 20px 20px; }
  .hb-join-split { grid-template-columns: 1fr; text-align: center; }
  .hb-join-media-frame { max-width: 160px; margin: 0 auto; }
  .hb-join-cta h2, .hb-join-cta p { text-align: center; }
  .join-steps { justify-content: center; }
}

/* =============================================================
   NAV DROPDOWNS (Members / States)
   ============================================================= */
.nav-drop { position: relative; display: flex; }
.nav-drop-toggle {
  background: none; border: none; font-family: inherit;
  cursor: pointer; gap: 6px;
}
.nav-drop-toggle .caret { font-size: 9px; transition: transform .15s; margin-left: 2px; }
.nav-drop.open .nav-drop-toggle .caret { transform: rotate(180deg); }
.nav-drop-panel {
  display: none;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow); padding: 10px; min-width: 220px; z-index: 70;
  margin-top: 4px;
}
.nav-drop.open .nav-drop-panel { display: block; }
.nav-drop-panel a {
  display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--ink);
  white-space: nowrap; height: auto;
}
.nav-drop-panel a:hover, .nav-drop-panel a.active { background: var(--nav-accent); color: #fff; font-weight: 600; }

@media (max-width: 640px) {
  .nav-drop-panel { position: static; transform: none; box-shadow: none; border: none; padding: 0 0 0 14px; margin-top: 6px; display: none; background: transparent; }
  .nav-drop.open .nav-drop-panel { display: block; }
  .nav-drop-toggle { width: 100%; justify-content: space-between; padding: 10px 16px; }
  .nav-drop { flex-direction: column; }
  .nav-drop-panel a { color: rgba(255,255,255,.82); }
  .nav-drop-panel a:hover, .nav-drop-panel a.active { background: rgba(255,255,255,.12); color: #fff; }
}

/* =============================================================
   Committee / info pages (General Assembly, Central Committee, etc.)
   ============================================================= */
.info-hero {
  background: linear-gradient(120deg, #0e2a3d, #123249);
  color: #fff; padding: 64px 0; text-align: center;
  position: relative; overflow: hidden;
}
.info-hero::before, .info-hero::after {
  content: ''; position: absolute; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue)); opacity: .16; z-index: 0;
}
.info-hero::before { width: 160px; height: 160px; top: -70px; left: -50px; }
.info-hero::after { width: 130px; height: 130px; bottom: -60px; right: -40px; }
.info-hero .container { position: relative; z-index: 1; }
.info-hero h1 { font-size: 32px; margin-bottom: 10px; }
.info-hero p { color: #bcd4e3; max-width: 600px; margin: 0 auto; }
.info-body { max-width: 820px; margin: 0 auto; padding: 60px 24px; font-size: 15.5px; color: var(--ink); line-height: 1.9; }
.info-body h2 { color: var(--blue-dark); font-size: 24px; }

/* ---- Executive Committee team band: small decorative shapes ---- */
.ec-team-band { position: relative; overflow: hidden; }
.ec-team-band::before, .ec-team-band::after {
  content: ''; position: absolute; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue)); opacity: .07; z-index: 0;
}
.ec-team-band::before { width: 170px; height: 170px; top: -70px; right: -60px; }
.ec-team-band::after { width: 140px; height: 140px; bottom: -60px; left: -50px; }
.ec-team-band .container { position: relative; z-index: 1; }
.ec-team-band .section-head h2 { color: var(--blue-dark); font-size: 26px; }

/* =============================================================
   STATES
   ============================================================= */
.state-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 26px 20px;
}
.state-card .flag {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  background: linear-gradient(135deg, var(--green), var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px; font-weight: 800; margin-bottom: 14px;
  border: 3px solid var(--bg); box-shadow: var(--shadow);
}
.state-card h3 { font-size: 16px; margin-bottom: 4px; }
.state-card p { color: var(--muted); font-size: 12.5px; margin: 0; }

.state-detail-header {
  display: flex; align-items: center; gap: 22px; margin-bottom: 30px; flex-wrap: wrap;
}
.state-detail-header .flag-lg {
  width: 100px; height: 100px; border-radius: 50%; object-fit: cover;
  background: linear-gradient(135deg, var(--green), var(--blue));
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 30px; font-weight: 800;
  box-shadow: var(--shadow);
}
.state-detail-header h1 { font-size: 28px; color: var(--blue-dark); margin: 0; }

/* =============================================================
   GALLERY
   ============================================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3;
  background: #dde8ef; box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,.65), transparent);
  color: #fff; font-size: 12.5px; opacity: 0; transition: opacity .2s;
}
.gallery-item:hover .caption { opacity: 1; }
.gallery-item.is-zoomable { cursor: zoom-in; }
.gallery-item.is-zoomable::before {
  content: '\26F6'; position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(11,42,74,.55); color: #fff; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.gallery-item.is-zoomable:hover::before { opacity: 1; }

/* ---- Lightbox: click a gallery photo to enlarge it in place ---- */
.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  align-items: center; justify-content: center; padding: 60px 24px;
  background: rgba(9,22,36,.94); cursor: zoom-out;
  animation: lbFadeIn .18s ease;
}
.lightbox-overlay.open { display: flex; }
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-overlay img {
  max-width: 90vw; max-height: 78vh; border-radius: 14px; cursor: default;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); border: 4px solid rgba(255,255,255,.15);
}
.lightbox-caption {
  position: absolute; bottom: 34px; left: 24px; right: 24px; text-align: center;
  color: #fff; font-size: 15px; font-weight: 600; text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.lightbox-close {
  position: absolute; top: 22px; right: 26px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.12); color: #fff; font-size: 24px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .15s, transform .15s;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); transform: rotate(90deg); }

@media (max-width: 640px) {
  .lightbox-overlay { padding: 30px 16px; }
  .lightbox-close { top: 14px; right: 14px; width: 38px; height: 38px; font-size: 20px; }
  .lightbox-caption { bottom: 20px; font-size: 13px; }
}

/* ---- Video lightbox: click a video card to play it in place ---- */
.video-card { cursor: pointer; }
.video-lightbox-overlay { cursor: default; flex-direction: column; }
.video-lightbox-frame {
  width: 90vw; max-width: 960px; aspect-ratio: 16/9;
  border-radius: 14px; overflow: hidden; cursor: default;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); border: 4px solid rgba(255,255,255,.15);
  background: #000;
}
.video-lightbox-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-lightbox-overlay .lightbox-caption { position: static; margin-top: 18px; }
@media (max-width: 640px) {
  .video-lightbox-frame { width: 100%; }
}

/* =============================================================
   NEWS TYPE BADGES / VIDEO ROWS
   ============================================================= */
.hb-news-row .play-badge {
  position: absolute; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center; font-size: 11px;
  margin-left: -50px; margin-top: 29px;
}

@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .state-detail-header { text-align: center; justify-content: center; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---- Home page Gallery mosaic: full-bleed 7-column wall ---- */
.hb-gallery { padding: 32px 0 84px; background: #fff; }
.hb-video-section { padding-top: 32px; }
.gallery-mosaic-wrap {
  width: 100vw; position: relative; left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  padding: 0 24px;
}
.gallery-mosaic {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  max-width: 1400px; margin: 0 auto;
}
.gallery-mosaic .gallery-item { aspect-ratio: 4/3; border-radius: 14px; box-shadow: var(--shadow); }
.gallery-mosaic .gallery-item::after {
  content: ''; position: absolute; inset: 0; border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}
.gallery-mosaic .gallery-item .caption {
  font-size: 13px; font-weight: 600; padding: 14px 16px; line-height: 1.35;
}

@media (max-width: 900px) {
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .gallery-mosaic .gallery-item:nth-child(n+5) { display: none; }
}
@media (max-width: 480px) {
  .gallery-mosaic { grid-template-columns: 1fr; gap: 14px; }
}

/* =============================================================
   ABOUT family pages: shared sidebar + content layout
   ============================================================= */
.about-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: 40px;
  align-items: start; padding: 60px 0 80px;
}
.about-sidebar {
  position: sticky; top: 90px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 10px; overflow: hidden;
}
.about-sidebar-title {
  padding: 14px 18px 10px; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted);
}
.about-sidebar a {
  display: block; padding: 12px 18px; border-radius: 10px; font-size: 14.5px; font-weight: 600;
  color: var(--ink); margin-bottom: 2px; transition: background .15s, color .15s;
}
.about-sidebar a:hover { background: #eef8ea; color: var(--green-dark); }
.about-sidebar a.active { background: var(--nav-accent); color: #fff; }

.about-content h1 { color: var(--blue-dark); font-size: 28px; margin-bottom: 6px; }
.about-content .about-lead { color: var(--muted); font-size: 15px; margin-bottom: 30px; }

/* About Us page: centered title + main column with matching right-side summary cards */
.about-hero { padding: 64px 0 26px; }
.about-hero .container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.about-hero-eyebrow {
  display: inline-block; color: var(--green-dark); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px;
}
.about-hero-title { position: relative; color: var(--blue-dark); font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; margin: 0 0 20px; letter-spacing: .2px; text-align: center; }
.about-hero-title::after {
  content: ""; position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  width: 70px; height: 4px; border-radius: 999px; background: var(--nav-accent);
}
.about-hero-lead { max-width: 760px; color: var(--muted); font-size: 15.5px; line-height: 1.8; margin: 28px auto 0; text-align: justify; }
.about-hero-eyebrow-center { display: block; text-align: center; }
.about-hero-image {
  width: 100%; max-height: 320px; object-fit: cover; border-radius: 18px;
  margin: 28px 0; box-shadow: 0 16px 40px rgba(23,34,51,.16);
}
.about-main-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 44px 40px; height: auto; min-height: 0;
}
.about-layout-v2 { display: grid; grid-template-columns: 692px 400px; gap: 40px; align-items: start; padding-bottom: 70px; }
.about-main p { line-height: 1.8; text-align: justify; }
.about-section-title { position: relative; color: var(--blue-dark); font-size: 20px; margin: 34px 0 16px; padding-bottom: 10px; }
.about-section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px; border-radius: 999px; background: var(--nav-accent); }
.about-side { display: flex; flex-direction: column; gap: 20px; }
.about-side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.about-side-card h3 { position: relative; color: var(--blue-dark); font-size: 15px; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 14px; padding-bottom: 10px; }
.about-side-card h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 999px; background: var(--nav-accent); }
.about-side-card p { color: var(--muted); font-size: 13.5px; line-height: 1.75; margin: 0; text-align: justify; }
.about-side-card ul { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0; padding-left: 18px; }
.about-side-card li { text-align: justify; }
.about-side-card li { margin-bottom: 8px; }
@media (max-width: 900px) {
  .about-layout-v2 { grid-template-columns: 1fr; }
  .about-side { position: static; order: -1; margin-bottom: 8px; }
  .about-main { order: 2; }
  .about-hero { padding: 32px 0 16px; }
}

/* ---- Decorative "coming soon" placeholder for pages not yet written ---- */
.about-placeholder {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #f3f9f4, #eef6fb);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 64px 32px; text-align: center;
}
.about-placeholder::before, .about-placeholder::after {
  content: ''; position: absolute; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue)); opacity: .09;
}
.about-placeholder::before { width: 200px; height: 200px; top: -80px; left: -60px; }
.about-placeholder::after { width: 160px; height: 160px; bottom: -70px; right: -50px; }
.about-placeholder-icon {
  position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 20px;
  border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--blue));
  display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff;
  box-shadow: 0 14px 30px rgba(63,169,221,.3);
}
.about-placeholder h2 { position: relative; z-index: 1; color: var(--blue-dark); font-size: 22px; margin-bottom: 10px; }
.about-placeholder p { position: relative; z-index: 1; color: var(--muted); font-size: 14.5px; max-width: 420px; margin: 0 auto; }

@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-sidebar { position: static; display: flex; overflow-x: auto; padding: 8px; gap: 4px; }
  .about-sidebar-title { display: none; }
  .about-sidebar a { white-space: nowrap; margin-bottom: 0; }
}

/* =============================================================
   YIRDO additions — event meta rows, red/urgent CTA, partner strip
   ============================================================= */
.pill-btn-red, .btn-red { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; }

.event-meta { display: flex; flex-wrap: wrap; gap: 18px; margin: 14px 0 6px; }
.event-meta-item { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.event-meta-item svg { width: 16px; height: 16px; color: var(--blue-dark); flex-shrink: 0; }

.news-card .kicker.kicker-event { color: var(--red-dark); background: #fdeae6; }

.partners-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 34px; }
.partners-strip .partner-logo { height: 56px; max-width: 150px; object-fit: contain; opacity: .75; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.partners-strip .partner-logo:hover { opacity: 1; filter: grayscale(0); }

/* ---- Partners marquee: logos glide in from the right, continuously, forever ---- */
.partners-marquee {
  width: 100vw; position: relative; left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners-marquee-track {
  display: flex; align-items: center; gap: 56px; width: max-content;
  animation: partnersMarquee 28s linear infinite;
}
.partners-marquee:hover .partners-marquee-track { animation-play-state: paused; }
.partners-marquee-track .partner-logo-card {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; padding: 6px 10px;
}
.partners-marquee-track .partner-logo { height: 56px; max-width: 170px; object-fit: contain; opacity: .8; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.partners-marquee-track .partner-logo:hover { opacity: 1; filter: grayscale(0); }
.partners-marquee-track .partner-name-plain { font-weight: 800; font-size: 17px; color: var(--muted); opacity: .8; white-space: nowrap; }
@keyframes partnersMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partners-marquee-track { animation: none; }
}

.sector-card { text-align: left; }
.sector-card .icon { font-size: 22px; }

.quote-banner {
  position: relative; background: linear-gradient(120deg, var(--nav-navy), var(--nav-navy-dark));
  color: #fff; border-radius: var(--radius); padding: 40px 36px; overflow: hidden;
}
.quote-banner::before {
  content: '\201C'; position: absolute; top: -20px; left: 20px; font-size: 120px; font-family: Georgia, serif;
  color: rgba(255,255,255,.08); line-height: 1;
}
.quote-banner p { position: relative; z-index: 1; font-size: 16px; font-style: italic; line-height: 1.8; margin: 0; color: #dbe9f2; }
.quote-banner cite { position: relative; z-index: 1; display: block; margin-top: 14px; font-style: normal; font-weight: 700; font-size: 13px; color: var(--green); }

.timeline { border-left: 3px solid var(--border); margin-left: 10px; padding-left: 28px; }
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -35px; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue)); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--border);
}
.timeline-item h3 { font-size: 15.5px; color: var(--blue-dark); margin-bottom: 4px; }
.timeline-item p { color: var(--muted); font-size: 13.5px; margin: 0; }

.program-row { display: grid; grid-template-columns: 120px 1fr; gap: 30px; align-items: center; padding: 34px 0; }
.program-row-icon { text-align: center; padding: 26px 10px; }
.program-row:nth-child(even) { grid-template-columns: 1fr 120px; }
.program-row:nth-child(even) .program-row-icon { order: 2; }
@media (max-width: 640px) {
  .program-row, .program-row:nth-child(even) { grid-template-columns: 1fr; text-align: center; }
  .program-row:nth-child(even) .program-row-icon { order: 0; }
}

/* =============================================================
   IOM.int-style header: dark utility top bar (links / logo / search
   / quick-links dropdown / donate button) + white bold nav row below.
   ============================================================= */
.iom-header { position: sticky; top: 0; z-index: 50; }

.iom-topbar { background: var(--nav-navy); }
.iom-topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 12px 24px; min-height: 56px;
}
.iom-topbar-left { display: flex; align-items: center; gap: 22px; flex: 1; min-width: 0; }
.iom-topbar-left a { color: #fff; font-weight: 700; font-size: 13px; opacity: .88; white-space: nowrap; transition: opacity .15s; }
.iom-topbar-left a:hover { opacity: 1; }

.iom-topbar-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-align: left; }
.iom-topbar-logo img { height: 38px; width: 38px; object-fit: contain; flex-shrink: 0; }
.iom-topbar-logo strong { color: #fff; font-size: 12.5px; font-weight: 800; line-height: 1.3; letter-spacing: .2px; }

.iom-topbar-right { display: flex; align-items: center; gap: 14px; flex: 1; justify-content: flex-end; }

.iom-search { position: relative; }
.iom-search-btn { background: none; border: none; color: #fff; cursor: pointer; padding: 6px; display: flex; opacity: .9; }
.iom-search-btn:hover { opacity: 1; }
.iom-search-btn svg { width: 19px; height: 19px; }
.iom-search-box {
  display: none; position: absolute; top: calc(100% + 12px); right: -10px;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 8px; z-index: 80;
}
.iom-search-box.open { display: block; }
.iom-search-box input {
  width: 220px; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 13.5px;
}

.iom-quicklinks-toggle {
  color: #fff; font-size: 13px; font-weight: 700; border: 1.5px solid rgba(255,255,255,.45);
  border-radius: 8px; padding: 8px 14px; display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.iom-quicklinks-toggle:hover { background: rgba(255,255,255,.08); }
.iom-quicklinks-drop .nav-drop-panel { right: 0; left: auto; transform: none; top: calc(100% + 6px); }

.iom-donate-btn {
  display: flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; font-weight: 800; font-size: 13.5px; padding: 10px 20px; border-radius: 8px; white-space: nowrap;
  transition: filter .15s, transform .15s;
}
.iom-donate-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.iom-donate-btn svg { width: 16px; height: 16px; }

.iom-navbar { background: #fff; border-bottom: 1px solid var(--border); }
.iom-navbar-inner { display: flex; align-items: center; justify-content: center; padding: 0 24px; }
.iom-main-nav { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.iom-main-nav a, .iom-main-nav .nav-drop-toggle {
  display: flex; align-items: center; height: 56px; padding: 0 18px;
  color: var(--blue-dark); font-weight: 800; font-size: 13.5px; letter-spacing: .4px; text-transform: uppercase;
  border-bottom: 3px solid transparent; transition: color .15s, border-color .15s;
}
.iom-main-nav a:hover, .iom-main-nav .nav-drop-toggle:hover,
.iom-main-nav a.active, .iom-main-nav .nav-drop-toggle.active {
  color: var(--green-dark); border-bottom-color: var(--green);
}
.iom-main-nav .nav-drop-panel a { text-transform: none; height: auto; border-bottom: none; padding: 10px 14px; color: var(--ink); font-weight: 600; }
.iom-main-nav .nav-drop-panel a:hover, .iom-main-nav .nav-drop-panel a.active { background: var(--nav-accent); color: #fff; }
.iom-nav-toggle { display: none; }

@media (max-width: 1100px) {
  .iom-topbar-left a:nth-child(n+3) { display: none; }
}
@media (max-width: 900px) {
  .iom-topbar-left { display: none; }
  .iom-topbar-inner { justify-content: space-between; }
  .iom-topbar-logo { flex: 1; }
}
@media (max-width: 900px) {
  .iom-main-nav a, .iom-main-nav .nav-drop-toggle { padding: 0 12px; font-size: 12.5px; }
}
@media (max-width: 760px) {
  .iom-nav-toggle {
    display: block; background: none; border: none; font-size: 24px; color: var(--nav-navy);
    cursor: pointer; padding: 14px 0;
  }
  .iom-navbar-inner { justify-content: flex-start; }
  .iom-main-nav {
    display: none; flex-direction: column; align-items: stretch; width: 100%;
    position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    border-top: 1px solid var(--border); box-shadow: var(--shadow); padding: 6px 0;
  }
  .iom-main-nav.open { display: flex; }
  .iom-main-nav a, .iom-main-nav .nav-drop-toggle { height: auto; padding: 14px 24px; border-bottom: none; border-left: 3px solid transparent; justify-content: space-between; }
  .iom-main-nav a.active, .iom-main-nav .nav-drop-toggle.active { border-left-color: var(--green); background: #f6f9fb; }
  .iom-navbar { position: relative; }
  .iom-topbar-left { display: none; }
  .iom-topbar-logo strong { display: none; }
  .iom-topbar-right { gap: 8px; }
  .iom-quicklinks-label { display: none; }
  .iom-quicklinks-toggle { padding: 8px 12px; }
  .iom-quicklinks-toggle .caret { display: none; }
  .iom-quicklinks-toggle::after { content: '\22EF'; font-size: 19px; line-height: 1; font-weight: 900; }
}
/* =============================================================
   World Bank-style split CTA band: dark navy, text + two "Learn More"
   links on the left, big circular photo with a decorative offset
   ring on the right.
   ============================================================= */
.hb-cta-split { background: var(--nav-navy); color: #fff; overflow: hidden; }
.hb-cta-split-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 420px; }
.hb-cta-left { padding: 60px 48px; }
.hb-cta-heading { display: block; margin: 0 0 18px; }
.hb-cta-heading .line1 { display: block; font-size: clamp(20px, 2.4vw, 26px); font-weight: 400; letter-spacing: 1px; text-transform: uppercase; color: #b9cfe0; }
.hb-cta-heading .line2 { display: block; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #fff; margin-top: 2px; }
.hb-cta-split .lead { color: #c3d5e3; font-size: 15.5px; line-height: 1.7; max-width: 480px; margin: 0 0 36px; }
.hb-cta-links-row { display: flex; gap: 0; flex-wrap: wrap; }
.hb-cta-link-col { flex: 1; min-width: 200px; padding-right: 26px; }
.hb-cta-link-col + .hb-cta-link-col { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.22); }
.hb-cta-link-col h4 { font-size: 15px; font-weight: 800; margin: 0 0 8px; color: #fff; }
.hb-cta-link-col p { font-size: 13px; color: #b9cfe0; margin: 0 0 14px; line-height: 1.65; }
.hb-cta-link-col a.learn-more {
  display: inline-block; color: #fff; font-weight: 800; font-size: 12.5px; letter-spacing: .3px;
  text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: 4px; transition: border-color .15s, opacity .15s;
}
.hb-cta-link-col a.learn-more:hover { opacity: .82; }

.hb-cta-photo-wrap { position: relative; height: 100%; min-height: 340px; display: flex; align-items: center; justify-content: center; }
.hb-cta-photo-ring {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.28); transform: rotate(-10deg) translate(-16px, 14px);
}
.hb-cta-photo-frame {
  position: relative; z-index: 2; width: 320px; height: 320px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.35); background: linear-gradient(135deg, var(--green), var(--blue));
  flex-shrink: 0;
}
.hb-cta-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-cta-photo-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.hb-cta-photo-placeholder img { width: 55%; height: 55%; object-fit: contain; }

@media (max-width: 900px) {
  .hb-cta-split-inner { grid-template-columns: 1fr; }
  .hb-cta-left { padding: 50px 28px 20px; text-align: center; }
  .hb-cta-split .lead { margin-left: auto; margin-right: auto; }
  .hb-cta-links-row { justify-content: center; text-align: left; max-width: 460px; margin: 0 auto; }
  .hb-cta-photo-wrap { padding: 20px 0 56px; min-height: 0; }
  .hb-cta-photo-ring { width: 260px; height: 260px; }
  .hb-cta-photo-frame { width: 240px; height: 240px; }
}
@media (max-width: 480px) {
  .hb-cta-links-row { flex-direction: column; gap: 24px; }
  .hb-cta-link-col + .hb-cta-link-col { padding-left: 0; border-left: none; border-top: 1px solid rgba(255,255,255,.22); padding-top: 20px; }
}

@media (max-width: 480px) {
  .iom-donate-btn span, .iom-donate-btn { font-size: 12px; padding: 9px 14px; }
  .iom-search-box { right: -60px; }
  .iom-search-box input { width: 170px; }
}
