/* ══════════════════════════════════════════
   AP Arabic v3 — Design System
   Colors match accuracypress.org/en/
══════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────── */
:root {
  --navy:      #0B1929;
  --navy-mid:  #162437;
  --navy-light:#1E3347;
  --gold:      #F5A623;
  --gold-dark: #D4880E;
  --blue:      #4A9CCF;
  --blue-dark: #3A7CAF;
  --white:     #FFFFFF;
  --paper:     #F5F4EF;
  --ink:       #111827;
  --muted:     #6B7280;
  --border-dark: rgba(255,255,255,.1);
  --border-light: #E2DDD3;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,.14);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.2);
  --r:         2px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { direction: rtl; font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Tajawal', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── Layout ─────────────────────────────── */
.container       { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.container--wide { max-width: 1380px; margin: 0 auto; padding: 0 2rem; }

/* ── Admin bar ──────────────────────────── */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ══════════════════════════════════════════
   SITE HEADER
══════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--border-dark);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img {
  height: 38px;
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text-main {
  font-size: .95rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: .02em;
}
.logo-text-sub {
  font-size: .68rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.site-nav a {
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  font-weight: 700;
  padding: .4rem .75rem;
  border-radius: var(--r);
  transition: color var(--transition), background var(--transition);
  letter-spacing: .02em;
}
.site-nav a:hover,
.site-nav a.active { color: var(--gold); background: rgba(245,166,35,.08); }

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .8rem;
  font-weight: 900;
  padding: .45rem 1.1rem;
  border-radius: var(--r);
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}
.btn-gold:hover { background: var(--gold-dark); color: var(--navy); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  font-weight: 700;
  padding: .45rem 1.1rem;
  border-radius: var(--r);
  transition: border-color var(--transition), color var(--transition);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--blue);
  color: var(--white);
  font-size: .85rem;
  font-weight: 900;
  padding: .6rem 1.4rem;
  border-radius: var(--r);
  transition: background var(--transition), transform var(--transition);
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: var(--white);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
}
.mobile-drawer.open { display: block; }
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: var(--navy-mid);
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
}
.mobile-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  margin-bottom: 2rem;
  display: block;
}
.drawer-nav a {
  display: block;
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  font-weight: 700;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border-dark);
}
.drawer-nav a:hover { color: var(--gold); }
.drawer-cta { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }

/* ══════════════════════════════════════════
   WIRE BAR (AP WIRE ticker)
══════════════════════════════════════════ */
.wire-bar {
  background: var(--gold);
  color: var(--navy);
  height: 38px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.wire-label {
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--gold);
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
}
.wire-track {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.wire-inner {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: wireTicker 30s linear infinite;
}
.wire-inner:hover { animation-play-state: paused; }
.wire-item {
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.wire-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--navy);
  opacity: .5;
  flex-shrink: 0;
}
@keyframes wireTicker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  background: var(--navy) url('https://www.accuracypress.org/en/wp-content/themes/accuracy-press-en/assets/images/hero.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11,25,41,.82);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-top: 2.5rem; padding-bottom: 3.5rem; }
.hero-date {
  font-family: system-ui, sans-serif;
  font-size: 0.68rem;
  color: rgba(255,255,255,.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 2px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 0.35rem 0;
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
}
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
}
/* RTL: hero-main is the RIGHT column, hero-sidebar is the LEFT column */
.hero-main {
  padding: 0 0 0 2rem;
  border-left: 1px solid rgba(255,255,255,.12);
}
.hero-kicker {
  font-family: system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--navy);
  display: inline-block;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.85rem;
}
.hero-headline {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 0.85rem;
  text-wrap: balance;
  border-bottom: 2px solid rgba(255,255,255,.15);
  padding-bottom: 0.85rem;
  min-height: 3.5em;
}
.typewriter-cursor::after {
  content: '|';
  animation: tw-blink .75s step-end infinite;
}
@keyframes tw-blink { 0%,100%{opacity:1} 50%{opacity:0} }
.hero-deck {
  font-size: 1rem;
  color: rgba(255,255,255,.82);
  line-height: 1.82;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.hero-byline {
  font-family: system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}
.hero-ctas {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.hero-sidebar {
  padding-right: 1.5rem;
}
.sidebar-stat {
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 0.85rem 0;
  text-align: center;
}
.sidebar-stat:first-child { padding-top: 0; }
.sidebar-num {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.sidebar-label {
  font-family: system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-top: 0.2rem;
}
.sidebar-trust {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 2px solid rgba(255,255,255,.18);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}
.trust-badge::before {
  content: '▪';
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════════ */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}
.section-head-left { display: flex; align-items: center; gap: 1rem; }
.section-rule-bar {
  width: 3px;
  height: 28px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-label {
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy);
  margin-top: .15rem;
}
.section-more {
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--transition);
}
.section-more:hover { gap: .6rem; color: var(--blue-dark); }

/* Dark section head */
.section-head--dark .section-title { color: var(--white); }
.section-head--dark .section-more { color: rgba(255,255,255,.6); }
.section-head--dark .section-more:hover { color: var(--gold); }

/* ══════════════════════════════════════════
   HOME SECTIONS
══════════════════════════════════════════ */
.home-section { padding: 4rem 0; }
.home-section--dark { background: var(--navy); padding: 4rem 0; }
.home-section--paper { background: var(--paper); padding: 4rem 0; border-top: 1px solid var(--border-light); }

/* Featured story */
.featured-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border: 1px solid var(--border-light);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.featured-wrap:hover { box-shadow: var(--shadow-md); }
.featured-img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.featured-wrap:hover .featured-img-wrap img { transform: scale(1.04); }
.featured-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .7rem;
}
.featured-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-cat {
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .75rem;
}
.featured-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 1rem;
}
.featured-title a { color: inherit; }
.featured-title a:hover { color: var(--gold-dark); }
.featured-excerpt {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.featured-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .75rem;
  color: var(--muted);
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}
.featured-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.featured-read-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue);
  margin-top: 1rem;
}
.featured-read-more:hover { gap: .7rem; color: var(--blue-dark); }

/* Article grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.article-card-img {
  position: relative;
  overflow: hidden;
  height: 180px;
  background: var(--navy-mid);
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.article-card:hover .article-card-img img { transform: scale(1.06); }
.article-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-card-img-placeholder::after {
  content: 'AP';
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
  opacity: .4;
}
.article-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.cat-label {
  display: inline-block;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .6rem;
}
.cat-label a { color: inherit; }
.cat-label a:hover { color: var(--gold-dark); }
.article-card-title {
  font-size: .92rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: auto;
}
.article-card-title a { color: inherit; }
.article-card-title a:hover { color: var(--blue-dark); }
.article-card-meta {
  font-size: .72rem;
  color: var(--muted);
  margin-top: .85rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Tips grid (3 col) */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tip-card {
  background: var(--navy-mid);
  border: 1px solid var(--border-dark);
  padding: 1.75rem;
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.tip-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}
.tip-card:hover { border-color: rgba(245,166,35,.3); transform: translateY(-2px); }
.tip-card:hover::before { transform: scaleY(1); }
.tip-number {
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: .75rem;
  opacity: .7;
}
.tip-title {
  font-size: .95rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: .75rem;
}
.tip-title a { color: inherit; }
.tip-title a:hover { color: var(--gold); }
.tip-excerpt {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  line-height: 1.75;
}
.tip-meta {
  margin-top: 1rem;
  font-size: .72rem;
  color: rgba(255,255,255,.35);
}

/* ══════════════════════════════════════════
   IMPACT BAND
══════════════════════════════════════════ */
.impact-band {
  background: var(--gold);
  padding: 3.5rem 0;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.impact-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: .4rem;
}
.impact-label {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(11,25,41,.65);
  letter-spacing: .04em;
}

/* ══════════════════════════════════════════
   OPPORTUNITIES
══════════════════════════════════════════ */
.opp-list { display: flex; flex-direction: column; gap: 1px; }
.opp-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  padding: 1.5rem 1.75rem;
  border-right: 3px solid transparent;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.opp-card:hover {
  border-color: var(--gold);
  background: #FFFBF2;
  transform: translateX(-3px);
}
.opp-card--expired { opacity: .55; }
.opp-type-label {
  display: inline-block;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(74,156,207,.12);
  color: var(--blue-dark);
  padding: .25rem .6rem;
  border-radius: 2px;
  margin-bottom: .5rem;
}
.opp-title {
  font-size: .95rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: .3rem;
}
.opp-title a { color: inherit; }
.opp-title a:hover { color: var(--blue-dark); }
.opp-excerpt {
  font-size: .8rem;
  color: var(--muted);
}
.opp-side { text-align: center; flex-shrink: 0; min-width: 110px; }
.opp-deadline { margin-bottom: .5rem; }
.opp-deadline-lbl {
  display: block;
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .2rem;
}
.opp-deadline-date {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
}
.opp-deadline--expired .opp-deadline-date { color: var(--muted); text-decoration: line-through; }
.btn-apply {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 900;
  padding: .4rem .9rem;
  letter-spacing: .04em;
  transition: background var(--transition);
}
.btn-apply:hover { background: var(--gold-dark); color: var(--navy); }

/* ══════════════════════════════════════════
   LIBRARY / BOOKS
══════════════════════════════════════════ */
/* Library layout: sidebar + grid */
.library-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding-top: 3rem;
  padding-bottom: 4rem;
}
.library-sidebar {
  position: sticky;
  top: 5rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 1.25rem;
}
.lib-sidebar-title {
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .9rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border-light);
}
.lib-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.lib-cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem .6rem;
  font-size: .83rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 2px;
  transition: background var(--transition), color var(--transition);
}
.lib-cat-list li a:hover { background: var(--bg-alt); color: var(--navy); }
.lib-cat-list li.active a {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}
.lib-cat-list li.active .lib-cat-count {
  background: rgba(255,255,255,.2);
  color: var(--white);
}
.lib-cat-count {
  font-size: .68rem;
  font-weight: 700;
  background: var(--bg-alt);
  color: var(--muted);
  padding: .1rem .45rem;
  border-radius: 99px;
  min-width: 22px;
  text-align: center;
}
.library-main { min-width: 0; }

.library-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.book-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
}
.book-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.book-cover {
  position: relative;
  overflow: hidden;
  height: 200px;
}
.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.book-card:hover .book-cover img { transform: scale(1.05); }
.book-cover-link { display: block; }
.book-cover-link:hover .book-cover img { transform: scale(1.05); }
.book-card-dl {
  display: block;
  padding: .6rem 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 900;
  text-align: center;
  letter-spacing: .03em;
  transition: background var(--transition), color var(--transition);
}
.book-card-dl:hover { background: var(--navy); color: var(--gold); }
.book-card-dl--details {
  background: transparent;
  color: var(--blue);
  border-top: 1px solid var(--border-light);
  font-weight: 700;
}
.book-card-dl--details:hover { background: var(--border-light); color: var(--navy); }
.book-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.4;
}
.bc-navy  { background: var(--navy);      color: var(--gold);  }
.bc-gold  { background: var(--gold);      color: var(--navy);  }
.bc-blue  { background: var(--blue);      color: var(--white); }
.bc-dark  { background: #0D1F30;          color: var(--gold);  }
.bc-mid   { background: var(--navy-mid);  color: rgba(245,166,35,.8); }
.book-body { padding: 1rem; flex: 1; }
.book-cat {
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .4rem;
}
.book-title {
  font-size: .85rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: .3rem;
}
.book-author { font-size: .75rem; color: var(--muted); }
.book-footer {
  padding: .75rem 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.book-footer .book-card-dl {
  display: block;
  padding: .45rem .75rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 900;
  text-align: center;
  border-radius: 2px;
  letter-spacing: .02em;
  transition: background var(--transition), color var(--transition);
}
.book-footer .book-card-dl:hover { background: var(--navy); color: var(--gold); }
.book-pages { font-size: .7rem; color: var(--muted); }
.btn-download {
  font-size: .72rem;
  font-weight: 700;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--transition), color var(--transition);
}
.btn-download:hover { gap: .55rem; color: var(--blue-dark); }

/* ══════════════════════════════════════════
   SINGLE BOOK PAGE
══════════════════════════════════════════ */
.book-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: start;
  padding-top: 3rem;
  padding-bottom: 5rem;
}
.book-cover-col {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.book-cover-img {
  width: 100%;
  display: block;
  box-shadow: 0 8px 32px rgba(11,30,45,.15);
}
.book-cover-placeholder-single {
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  font-size: .85rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  text-align: center;
  line-height: 1.5;
  box-shadow: 0 8px 32px rgba(11,30,45,.15);
}
.btn-download-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.25rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .04em;
  transition: background var(--transition), transform .15s;
}
.btn-download-main:hover { background: #e8b420; transform: translateY(-1px); }
.book-single-back {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  text-align: center;
  transition: color var(--transition);
}
.book-single-back:hover { color: var(--navy); }
.book-details-col { padding-top: .25rem; }
.book-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--navy);
  color: var(--gold);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  margin-bottom: 1.25rem;
}
.book-cat-dot {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.book-details-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: .6rem;
}
.book-details-subtitle {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.book-meta-table {
  border-top: 2px solid var(--navy);
  margin-bottom: 2.5rem;
}
.book-meta-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}
.book-meta-row::before {
  content: '';
  position: absolute;
  right: 130px;
  top: 20%;
  bottom: 20%;
  width: 2px;
  background: var(--gold);
  opacity: .5;
}
.book-meta-label {
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .75rem 1rem .75rem 1.25rem;
}
.book-meta-value {
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
  padding: .75rem 1.25rem;
}
.book-meta-value a {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}
.book-meta-value a:hover { opacity: .75; }
.book-desc-head {
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.book-desc-head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}
.book-desc-text {
  font-size: .93rem;
  line-height: 1.9;
  color: var(--text);
}
@media (max-width: 900px) {
  .book-layout {
    grid-template-columns: 1fr;
  }
  .book-cover-col {
    position: static;
    max-width: 260px;
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .book-meta-row { grid-template-columns: 110px 1fr; }
  .book-meta-row::before { right: 110px; }
  .book-details-title { font-size: 1.4rem; }
}

/* ══════════════════════════════════════════
   NEWSLETTER STRIP
══════════════════════════════════════════ */
.nl-strip {
  background: var(--navy-mid);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 2.5rem 0;
}
.nl-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.nl-text h3 {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: .2rem;
}
.nl-text p { font-size: .85rem; color: rgba(255,255,255,.55); }
.nl-form {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}
.nl-input {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border-dark);
  color: var(--white);
  font-family: inherit;
  font-size: .85rem;
  padding: .55rem 1rem;
  border-radius: var(--r);
  width: 240px;
  outline: none;
  transition: border-color var(--transition);
  direction: rtl;
}
.nl-input::placeholder { color: rgba(255,255,255,.35); }
.nl-input:focus { border-color: var(--gold); }

/* ══════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════ */
.cta-band {
  background: var(--navy);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(245,166,35,.07) 0%, transparent 65%);
}
.cta-band-inner { position: relative; z-index: 1; }
.cta-eyebrow {
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: .75rem;
  text-wrap: balance;
}
.cta-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.55);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════
   PAGE HEAD
══════════════════════════════════════════ */
.page-head {
  background: var(--navy);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 50%, rgba(74,156,207,.07) 0%, transparent 60%);
}
.page-head-inner { position: relative; z-index: 1; }
.page-head-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .85rem;
}
.page-head-kicker::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}
.page-head h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: .75rem;
  text-wrap: balance;
}
.page-head p {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  max-width: 560px;
  line-height: 1.8;
}

/* ══════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 440px;
}
.about-text-col {
  padding: 4rem 3rem 4rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-text-col h2 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.about-text-col p {
  font-size: .95rem;
  color: #444;
  line-height: 1.9;
  margin-bottom: 1rem;
}
.about-img-col {
  overflow: hidden;
  position: relative;
}
.about-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 440px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}
.about-stat-num {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: .3rem;
}
.about-stat-lbl {
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .03em;
}

/* Vision & Goals */
.vision-goals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.vision-box, .goals-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  position: relative;
}
.vision-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
}
.goals-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: var(--blue);
}
.vision-box h3, .goals-box h3 {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1rem;
}
.vision-box p {
  font-size: .92rem;
  color: #444;
  line-height: 1.85;
}
.goals-list { display: flex; flex-direction: column; gap: .75rem; }
.goals-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .88rem;
  color: #444;
  line-height: 1.6;
}
.goals-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: .55rem;
  flex-shrink: 0;
}

/* Mission quote */
.mission-quote {
  background: var(--navy);
  padding: 3.5rem;
  border-right: 4px solid var(--gold);
  margin: 3rem 0;
}
.mission-quote p {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.7;
  font-style: italic;
}

/* Board / Team */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.board-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.board-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.board-photo {
  height: 260px;
  overflow: hidden;
  background: var(--navy);
}
.board-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.board-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  background: var(--navy-mid);
  letter-spacing: .05em;
}
.board-body { padding: 1.5rem; }
.board-name {
  font-size: 1rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: .25rem;
}
.board-role {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: .85rem;
}
.board-bio {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.75;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.team-card { text-align: center; }
.team-photo {
  height: 160px;
  overflow: hidden;
  background: var(--paper);
  margin-bottom: 1rem;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--navy);
  background: var(--paper);
  border: 2px solid var(--border-light);
  letter-spacing: .05em;
}
.team-name {
  font-size: .88rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: .2rem;
}
.team-role {
  font-size: .68rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.4;
  margin-bottom: .5rem;
}
.team-bio { font-size: .75rem; color: var(--muted); line-height: 1.7; }

/* ══════════════════════════════════════════
   PROGRAMS PAGE
══════════════════════════════════════════ */
.program-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 420px;
  border-top: 1px solid var(--border-light);
}
.program-block.flip { direction: ltr; }
.program-block.flip .program-text { direction: rtl; }
.program-img {
  overflow: hidden;
  position: relative;
  min-height: 340px;
}
.program-img img { width: 100%; height: 100%; object-fit: cover; }
.program-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 340px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.program-img-placeholder .pillar-num-large {
  font-size: 6rem;
  font-weight: 900;
  color: rgba(245,166,35,.15);
  line-height: 1;
}
.program-text {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}
.program-num {
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .75rem;
}
.program-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1rem;
}
.program-body {
  font-size: .92rem;
  color: #444;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}
.topic-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.topic-pill {
  font-size: .7rem;
  font-weight: 700;
  background: rgba(74,156,207,.1);
  color: var(--blue-dark);
  padding: .3rem .75rem;
  border-radius: 20px;
  letter-spacing: .02em;
}

/* ══════════════════════════════════════════
   PILLARS GRID (programs page redesign)
══════════════════════════════════════════ */
.pillars-section { padding: 4rem 0; background: var(--paper); border-top: 1px solid var(--border-light); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.pillar-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.pillar-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pillar-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--navy);
  flex-shrink: 0;
}
.pillar-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pillar-card:hover .pillar-card-img img { transform: scale(1.04); }
.pillar-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,25,41,.38);
  pointer-events: none;
}
.pillar-card-num {
  position: absolute;
  bottom: .85rem;
  right: 1.1rem;
  font-size: 3.75rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
  font-variant-numeric: tabular-nums;
}
.pillar-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pillar-kicker {
  font-family: system-ui, sans-serif;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .45rem;
}
.pillar-heading {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: .75rem;
}
.pillar-text {
  font-size: .875rem;
  color: #444;
  line-height: 1.85;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* Where we work */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.city-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
}
.city-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.city-name {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: .2rem;
}
.city-country {
  font-size: .68rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .6rem;
}
.city-desc { font-size: .82rem; color: var(--muted); line-height: 1.75; }

/* ══════════════════════════════════════════
   ARCHIVE (news / tips)
══════════════════════════════════════════ */
.archive-header { background: var(--navy); padding: 3rem 0 2.5rem; }
.archive-header h1 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: .4rem;
}
.archive-header p { font-size: .9rem; color: rgba(255,255,255,.5); }
.archive-body { padding: 3rem 0; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.archive-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.archive-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.archive-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--navy-mid);
}
.archive-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.archive-card:hover .archive-card-img img { transform: scale(1.05); }
.archive-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.archive-card-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: .75rem;
  flex: 1;
}
.archive-card-title a { color: inherit; }
.archive-card-title a:hover { color: var(--blue-dark); }
.archive-card-excerpt { font-size: .85rem; color: var(--muted); line-height: 1.75; margin-bottom: .75rem; }
.archive-card-meta {
  font-size: .75rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-light);
  padding-top: .75rem;
  margin-top: auto;
}
.opp-meta-deadline { flex: 1; }
.opp-meta-expired { color: var(--muted); text-decoration: line-through; }

/* Pagination */
.pagination-wrap {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 3rem;
}
.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-light);
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  transition: background var(--transition), color var(--transition);
}
.pagination-wrap .page-numbers:hover { background: var(--navy); color: var(--white); }
.pagination-wrap .page-numbers.current { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ══════════════════════════════════════════
   SINGLE POST
══════════════════════════════════════════ */
.single-header {
  background: var(--navy);
  padding: 4rem 0 3rem;
}
.single-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.single-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
}
.single-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.single-body-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  padding: 3rem 0 4rem;
}
.single-body {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.9;
}
.single-body h2, .single-body h3 {
  font-weight: 900;
  color: var(--navy);
  margin: 2rem 0 .75rem;
}
.single-body h2 { font-size: 1.4rem; }
.single-body h3 { font-size: 1.15rem; }
.single-body p { margin-bottom: 1.25rem; }
.single-body a { color: var(--blue); }
.single-body a:hover { color: var(--blue-dark); }
.single-body img { max-width: 100%; margin: 1.5rem auto; border-radius: var(--r); }
.single-body blockquote {
  border-right: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  background: var(--paper);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy);
  margin: 1.5rem 0;
}

/* Sidebar */
.single-sidebar { position: sticky; top: 80px; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget-title {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border-light);
}
.sidebar-post { display: flex; gap: .75rem; margin-bottom: .85rem; padding-bottom: .85rem; border-bottom: 1px solid var(--border-light); }
.sidebar-post:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-post-img { width: 60px; height: 50px; flex-shrink: 0; overflow: hidden; background: var(--navy-mid); }
.sidebar-post-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post-title { font-size: .8rem; font-weight: 700; color: var(--navy); line-height: 1.4; }
.sidebar-post-title a { color: inherit; }
.sidebar-post-title a:hover { color: var(--blue-dark); }
.sidebar-post-date { font-size: .7rem; color: var(--muted); margin-top: .25rem; }

/* ══════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  padding: 4rem 0;
}
.contact-info h2 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1rem;
}
.contact-info p { font-size: .92rem; color: #444; line-height: 1.85; margin-bottom: 1.5rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-item-icon {
  width: 38px;
  height: 38px;
  background: rgba(74,156,207,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r);
  flex-shrink: 0;
}
.contact-item-icon svg { width: 16px; height: 16px; stroke: var(--blue); fill: none; }
.contact-item-text { font-size: .88rem; color: var(--navy); line-height: 1.6; }
.contact-item-text strong { display: block; font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.contact-social { display: flex; gap: .75rem; margin-top: 1.5rem; }
.contact-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: border-color var(--transition), color var(--transition);
}
.contact-social a:hover { border-color: var(--gold); color: var(--gold); }
.contact-social svg { width: 15px; height: 15px; fill: currentColor; }

/* Contact form */
.contact-form { background: var(--white); border: 1px solid var(--border-light); padding: 2.5rem; }
.contact-form h3 { font-size: 1.1rem; font-weight: 900; color: var(--navy); margin-bottom: 1.5rem; }
.form-row { margin-bottom: 1.25rem; }
.form-row label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
  letter-spacing: .04em;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--border-light);
  color: var(--ink);
  font-family: inherit;
  font-size: .9rem;
  padding: .65rem 1rem;
  border-radius: var(--r);
  outline: none;
  transition: border-color var(--transition);
  direction: rtl;
}
.form-row input:focus,
.form-row textarea:focus { border-color: var(--blue); }
.form-row textarea { min-height: 140px; resize: vertical; }
.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--navy);
  color: var(--white);
  font-family: inherit;
  font-size: .85rem;
  font-weight: 900;
  padding: .75rem 1.75rem;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  letter-spacing: .04em;
  transition: background var(--transition);
}
.btn-submit:hover { background: var(--gold); color: var(--navy); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--border-dark);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand {}
.footer-logo { margin-bottom: .75rem; }
.footer-logo img { height: 42px; width: auto; opacity: .9; }
.footer-logo-text {
  font-size: 1rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: .02em;
}
.footer-tagline {
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: .1rem;
  margin-bottom: .75rem;
}
.footer-desc {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: border-color var(--transition), color var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg { width: 13px; height: 13px; fill: currentColor; }

.footer-col h4 {
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border-dark);
}
.footer-col a {
  display: block;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .6rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .75rem;
  color: rgba(255,255,255,.3);
}
.footer-bottom a { color: rgba(255,255,255,.3); }
.footer-bottom a:hover { color: var(--gold); }

/* ══════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .library-layout { grid-template-columns: 1fr; }
  .library-sidebar { position: static; }
  .lib-cat-list { flex-direction: row; flex-wrap: wrap; gap: .4rem; }
  .lib-cat-list li a { padding: .35rem .7rem; font-size: .78rem; }
  .library-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid    { grid-template-columns: repeat(3, 1fr); }
  .hero-grid    { grid-template-columns: 1fr; }
  .hero-main    { border-left: none; padding-left: 0; }
  .hero-sidebar { padding-right: 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
  .sidebar-stat { border-bottom: none; }
  .sidebar-trust { grid-column: 1 / -1; }
  .single-body-wrap { grid-template-columns: 1fr; }
  .single-sidebar { position: static; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .about-stats  { grid-template-columns: repeat(2, 1fr); }
  .vision-goals { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .site-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .hero-sidebar { grid-template-columns: repeat(2, 1fr); }
  .featured-wrap { grid-template-columns: 1fr; }
  .featured-img-wrap { min-height: 220px; }
  .article-grid { grid-template-columns: 1fr; }
  .tips-grid    { grid-template-columns: 1fr; }
  .library-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid  { grid-template-columns: repeat(2, 1fr); }
  .team-grid    { grid-template-columns: repeat(2, 1fr); }
  .board-grid   { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .about-intro  { grid-template-columns: 1fr; }
  .about-img-col { display: none; }
  .program-block, .program-block.flip { grid-template-columns: 1fr; direction: rtl; }
  .program-img  { min-height: 200px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .cities-grid  { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .nl-inner     { flex-direction: column; align-items: flex-start; }
  .nl-form      { width: 100%; flex-direction: column; }
  .nl-input     { width: 100%; }
  .opp-card     { grid-template-columns: 1fr; }
  .opp-side     { text-align: right; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .library-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .hero-sidebar { grid-template-columns: repeat(2, 1fr); }
}
