/* ============================================================
   CDF — Community Development Foundation
   Design System CSS — v1.0
   Based on DESIGN.md + UI_KIT_SPEC.md
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800&family=Manrope:wght@700;800;900&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Colors */
  --cdf-primary: #F97316;
  --cdf-primary-hover: #EA580C;
  --cdf-primary-soft: #FFF3EA;

  --cdf-gold: #F5B400;
  --cdf-gold-soft: #FFF8E1;
  --cdf-gold-dark: #8A5A00;

  --cdf-charcoal: #1F2937;
  --cdf-text: #1F2937;
  --cdf-muted: #6B7280;
  --cdf-subtle: #9CA3AF;

  --cdf-bg: #F7F7F3;
  --cdf-section: #FAFAF7;
  --cdf-card: #FFFFFF;
  --cdf-border: #E5E7EB;

  --cdf-success: #16A34A;
  --cdf-danger: #DC2626;
  --cdf-warning: #F59E0B;
  --cdf-info: #2563EB;

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 2px 8px rgba(31,41,55,0.04);
  --shadow-sm: 0 6px 18px rgba(31,41,55,0.06);
  --shadow-md: 0 14px 34px rgba(31,41,55,0.10);
  --shadow-lg: 0 22px 56px rgba(31,41,55,0.14);

  /* Typography */
  --font-heading: "Poppins", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-number: "Manrope", "Inter", system-ui, sans-serif;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--cdf-text);
  background: var(--cdf-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cdf-primary); text-decoration: none; transition: color 180ms; }
a:hover { color: var(--cdf-primary-hover); }
ul { list-style: none; }

/* ============================================================
   3. LAYOUT
   ============================================================ */
.cdf-container {
  width: min(100% - 48px, 1200px);
  margin-inline: auto;
}
.cdf-container-wide {
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
}
.cdf-section {
  padding: 88px 0;
}
.cdf-section-compact {
  padding: 64px 0;
}
.cdf-section-hero {
  padding: 96px 0;
}
.bg-white { background: #FFFFFF; }
.bg-warm { background: var(--cdf-bg); }
.bg-section { background: var(--cdf-section); }
.bg-charcoal { background: var(--cdf-charcoal); }

/* ============================================================
   4. SECTION HEADERS
   ============================================================ */
.section-label {
  display: inline-block;
  color: var(--cdf-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--cdf-charcoal);
  margin-bottom: 16px;
}
.section-intro {
  font-size: 17px;
  line-height: 1.75;
  color: var(--cdf-muted);
  max-width: 680px;
}
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-intro { margin-inline: auto; }

/* ============================================================
   5. HEADER & NAV
   ============================================================ */
.cdf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cdf-border);
  box-shadow: var(--shadow-xs);
}
.cdf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.cdf-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.cdf-logo-svg { width: 44px; height: 44px; }
.cdf-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.cdf-logo-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--cdf-charcoal);
  letter-spacing: -0.02em;
}
.cdf-logo-tagline {
  font-size: 10px;
  font-weight: 600;
  color: var(--cdf-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cdf-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.cdf-nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.cdf-nav-link {
  color: var(--cdf-charcoal);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 180ms, background 180ms;
  white-space: nowrap;
}
.cdf-nav-link:hover,
.cdf-nav-link.active {
  color: var(--cdf-primary);
  background: var(--cdf-primary-soft);
}
.cdf-nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: #FFFFFF;
  border: 1px solid var(--cdf-border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 80;
}
.cdf-nav-submenu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.cdf-nav-item:hover .cdf-nav-submenu,
.cdf-nav-item:focus-within .cdf-nav-submenu {
  display: flex;
}
.cdf-nav-submenu a {
  display: block;
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--cdf-charcoal);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.cdf-nav-submenu a:hover {
  color: var(--cdf-primary);
  background: var(--cdf-primary-soft);
}
.cdf-header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cdf-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.cdf-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cdf-charcoal);
  border-radius: 2px;
  transition: all 300ms;
}

/* Mobile Menu */
.cdf-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(31,41,55,0.5);
}
.cdf-mobile-menu.open { display: block; }
.cdf-mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 90vw);
  height: 100%;
  background: #FFFFFF;
  padding: 24px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.cdf-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cdf-border);
}
.cdf-mobile-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--cdf-charcoal);
  padding: 4px;
}
.cdf-mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.cdf-mobile-nav a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--cdf-charcoal);
  font-size: 15px;
  font-weight: 700;
  transition: background 180ms, color 180ms;
}
.cdf-mobile-nav a:hover { background: var(--cdf-primary-soft); color: var(--cdf-primary); }
.cdf-mobile-nav a.cdf-mobile-sub-link {
  margin-left: 14px;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--cdf-muted);
  border-left: 2px solid var(--cdf-border);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.cdf-mobile-contact {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--cdf-border);
}
.cdf-mobile-contact p { font-size: 13px; color: var(--cdf-muted); margin-bottom: 8px; }

.ac-shortcode-menu {
  width: 100%;
  border: 1px solid var(--cdf-border);
  border-radius: 14px;
  background: #FFFFFF;
  padding: 10px;
}
.ac-shortcode-menu-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.ac-shortcode-menu-list li { position: relative; }
.ac-shortcode-menu-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--cdf-charcoal);
  font-weight: 800;
  font-size: 13px;
  background: var(--cdf-primary-soft);
}
.ac-shortcode-menu-list a:hover {
  color: var(--cdf-primary);
}
.ac-shortcode-menu-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(249,115,22,.14);
  color: var(--cdf-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.ac-shortcode-menu-list .ac-shortcode-menu-list {
  margin-top: 8px;
  padding-left: 12px;
  border-left: 2px solid var(--cdf-primary-soft);
}
.cdf-mobile-contact a { display: block; color: var(--cdf-primary); font-weight: 700; font-size: 14px; }

/* ============================================================
   6. BUTTONS
   ============================================================ */
.cdf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  min-height: 46px;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 180ms ease;
}
.cdf-btn-primary {
  background: var(--cdf-primary);
  color: #FFFFFF;
  border-color: var(--cdf-primary);
  box-shadow: 0 10px 24px rgba(249,115,22,0.25);
}
.cdf-btn-primary:hover {
  background: var(--cdf-primary-hover);
  border-color: var(--cdf-primary-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}
.cdf-btn-primary:focus-visible {
  outline: 3px solid rgba(249,115,22,0.28);
  outline-offset: 3px;
}
.cdf-btn-secondary {
  background: #FFFFFF;
  color: var(--cdf-charcoal);
  border-color: var(--cdf-border);
  box-shadow: var(--shadow-xs);
}
.cdf-btn-secondary:hover {
  border-color: rgba(249,115,22,0.35);
  color: var(--cdf-primary);
  transform: translateY(-1px);
}
.cdf-btn-gold {
  background: var(--cdf-gold);
  color: var(--cdf-charcoal);
  border-color: var(--cdf-gold);
  font-weight: 900;
}
.cdf-btn-sm { padding: 9px 18px; font-size: 14px; min-height: 38px; }
.cdf-btn-lg { padding: 16px 32px; font-size: 16px; min-height: 52px; }

/* ============================================================
   7. CARDS
   ============================================================ */
.cdf-card {
  background: var(--cdf-card);
  border: 1px solid var(--cdf-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.cdf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(249,115,22,0.25);
}

/* Program Card */
.cdf-program-card { display: flex; flex-direction: column; gap: 16px; }
.cdf-program-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--cdf-primary-soft);
  color: var(--cdf-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 180ms, color 180ms;
}
.cdf-program-icon svg { width: 26px; height: 26px; }
.cdf-card:hover .cdf-program-icon { background: var(--cdf-primary); color: #FFFFFF; }
.cdf-program-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--cdf-charcoal);
  margin-bottom: 8px;
}
.cdf-program-desc {
  font-size: 15px;
  color: var(--cdf-muted);
  line-height: 1.6;
}
.cdf-program-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cdf-program-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--cdf-bg);
  color: var(--cdf-muted);
  border: 1px solid var(--cdf-border);
}
.cdf-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--cdf-primary);
  margin-top: auto;
}
.cdf-learn-more:hover { gap: 8px; }

/* Project Card */
.cdf-project-card { padding: 0; overflow: hidden; }
.cdf-project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--cdf-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cdf-subtle);
}
.cdf-project-img img { width: 100%; height: 100%; object-fit: cover; }
.cdf-project-body { padding: 22px; }
.cdf-project-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--cdf-charcoal);
  margin: 10px 0 8px;
  line-height: 1.3;
}
.cdf-project-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.cdf-project-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--cdf-muted);
  font-weight: 500;
}
.cdf-project-meta-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.cdf-project-desc {
  font-size: 14px;
  color: var(--cdf-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* News Card */
.cdf-news-card { padding: 0; overflow: hidden; }
.cdf-news-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  overflow: hidden;
}
.cdf-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms; }
.cdf-news-card:hover .cdf-news-img img { transform: scale(1.03); }
.cdf-news-body { padding: 22px; }
.cdf-news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--cdf-muted);
}
.cdf-news-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--cdf-border); flex-shrink: 0; }
.cdf-news-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--cdf-charcoal);
  margin-bottom: 8px;
  line-height: 1.35;
}
.cdf-news-excerpt {
  font-size: 14px;
  color: var(--cdf-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Publication Card */
.cdf-pub-card { display: flex; gap: 16px; align-items: flex-start; }
.cdf-pub-icon {
  width: 52px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--cdf-primary-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--cdf-primary);
}
.cdf-pub-icon svg { width: 28px; height: 28px; }
.cdf-pub-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--cdf-charcoal);
  margin: 8px 0 6px;
  line-height: 1.3;
}
.cdf-pub-meta { font-size: 13px; color: var(--cdf-muted); }

/* ============================================================
   8. BADGES
   ============================================================ */
.cdf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.cdf-badge-orange {
  background: var(--cdf-primary-soft);
  color: var(--cdf-primary);
  border: 1px solid rgba(249,115,22,0.18);
}
.cdf-badge-gold {
  background: var(--cdf-gold-soft);
  color: var(--cdf-gold-dark);
  border: 1px solid rgba(245,180,0,0.22);
}
.cdf-badge-green {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid rgba(22,163,74,0.2);
}
.cdf-badge-blue {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid rgba(37,99,235,0.2);
}
.cdf-badge-gray {
  background: var(--cdf-bg);
  color: var(--cdf-muted);
  border: 1px solid var(--cdf-border);
}

/* ============================================================
   9. IMPACT STATS
   ============================================================ */
.cdf-impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.cdf-impact-card {
  text-align: center;
  padding: 32px 24px;
  background: #FFFFFF;
  border: 1px solid var(--cdf-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.cdf-impact-number {
  font-family: var(--font-number);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  line-height: 1;
  color: var(--cdf-primary);
  display: block;
}
.cdf-impact-number.gold { color: var(--cdf-gold); }
.cdf-impact-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--cdf-charcoal);
  margin-top: 10px;
  display: block;
}
.cdf-impact-note {
  font-size: 13px;
  color: var(--cdf-muted);
  margin-top: 4px;
  display: block;
}

/* ============================================================
   10. HERO
   ============================================================ */
.cdf-hero {
  background: var(--cdf-bg);
  padding: 80px 0 96px;
  overflow: hidden;
  position: relative;
}
.cdf-hero-grid {
  display: grid;
  grid-template-columns: 52fr 48fr;
  gap: 64px;
  align-items: center;
}
.cdf-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--cdf-charcoal);
  border: 1px solid var(--cdf-border);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--shadow-xs);
  margin-bottom: 24px;
}
.cdf-hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cdf-success);
}
.cdf-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--cdf-charcoal);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.cdf-hero-title .highlight { color: var(--cdf-primary); }
.cdf-hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--cdf-muted);
  margin-bottom: 36px;
  max-width: 560px;
}
.cdf-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.cdf-hero-mini-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--cdf-border);
  flex-wrap: wrap;
}
.cdf-hero-stat { }
.cdf-hero-stat-number {
  font-family: var(--font-number);
  font-size: 26px;
  font-weight: 900;
  color: var(--cdf-primary);
  line-height: 1;
  display: block;
}
.cdf-hero-stat-label {
  font-size: 13px;
  color: var(--cdf-muted);
  font-weight: 600;
  display: block;
  margin-top: 4px;
}
.cdf-hero-visual { position: relative; }
.cdf-hero-img {
  width: 100%;
  aspect-ratio: 4/3.2;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-md);
  background: var(--cdf-border);
  overflow: hidden;
}
.cdf-hero-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-xl); }
.cdf-floating-card {
  position: absolute;
  bottom: -20px;
  left: -28px;
  background: #FFFFFF;
  border: 1px solid var(--cdf-border);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}
.cdf-floating-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--cdf-primary-soft);
  color: var(--cdf-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cdf-floating-card-icon svg { width: 22px; height: 22px; }
.cdf-floating-card-num {
  font-family: var(--font-number);
  font-size: 24px;
  font-weight: 900;
  color: var(--cdf-charcoal);
  line-height: 1;
}
.cdf-floating-card-label { font-size: 12px; color: var(--cdf-muted); font-weight: 600; }

/* Accent shape */
.cdf-hero-visual::before {
  content: '';
  position: absolute;
  top: -24px;
  right: -24px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--cdf-gold-soft);
  border: 3px solid var(--cdf-gold);
  z-index: -1;
}

/* ============================================================
   11. TRUST STRIP
   ============================================================ */
.cdf-trust-strip {
  background: #FFFFFF;
  border-top: 1px solid var(--cdf-border);
  border-bottom: 1px solid var(--cdf-border);
  padding: 24px 0;
}
.cdf-trust-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.cdf-trust-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--cdf-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.cdf-trust-partners {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.cdf-trust-partner {
  font-size: 13px;
  font-weight: 700;
  color: var(--cdf-subtle);
  padding: 6px 14px;
  border: 1px solid var(--cdf-border);
  border-radius: var(--radius-pill);
  background: var(--cdf-bg);
  transition: color 180ms, border-color 180ms;
}
.cdf-trust-partner:hover { color: var(--cdf-charcoal); border-color: var(--cdf-charcoal); }

/* ============================================================
   12. GRIDS
   ============================================================ */
.cdf-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cdf-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cdf-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ============================================================
   13. ABOUT STRIP
   ============================================================ */
.cdf-about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cdf-about-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  background: var(--cdf-border);
}
.cdf-about-img img { width: 100%; height: 100%; object-fit: cover; }
.cdf-value-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.cdf-value-item { display: flex; gap: 12px; align-items: flex-start; }
.cdf-value-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cdf-primary);
  margin-top: 7px;
  flex-shrink: 0;
}
.cdf-value-text { font-size: 15px; color: var(--cdf-muted); line-height: 1.6; }
.cdf-value-text strong { color: var(--cdf-charcoal); font-weight: 700; display: block; }

/* ============================================================
   14. GEOGRAPHIC MAP PLACEHOLDER
   ============================================================ */
.cdf-map-placeholder {
  background: var(--cdf-bg);
  border: 2px dashed var(--cdf-border);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  text-align: center;
  color: var(--cdf-muted);
}
.cdf-map-placeholder svg { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--cdf-subtle); }
.cdf-districts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  justify-content: center;
}
.cdf-district-pill {
  padding: 7px 14px;
  border: 1px solid var(--cdf-border);
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  color: var(--cdf-charcoal);
}
.cdf-district-pill.sindh { border-color: rgba(249,115,22,0.3); background: var(--cdf-primary-soft); color: var(--cdf-primary); }
.cdf-district-pill.baloch { border-color: rgba(245,180,0,0.3); background: var(--cdf-gold-soft); color: var(--cdf-gold-dark); }

/* ============================================================
   15. PARTNER LOGOS
   ============================================================ */
.cdf-partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.cdf-partner-card {
  background: #FFFFFF;
  border: 1px solid var(--cdf-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  font-size: 13px;
  font-weight: 800;
  color: var(--cdf-subtle);
  text-align: center;
  transition: color 200ms, border-color 200ms, box-shadow 200ms;
  line-height: 1.3;
}
.cdf-partner-card:hover {
  color: var(--cdf-charcoal);
  border-color: rgba(249,115,22,0.3);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   16. CTA PANELS
   ============================================================ */
.cdf-cta-panel {
  background: var(--cdf-charcoal);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cdf-cta-panel::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(249,115,22,0.12);
}
.cdf-cta-panel::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(245,180,0,0.1);
}
.cdf-cta-label {
  display: inline-block;
  color: var(--cdf-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cdf-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.2;
}
.cdf-cta-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.65;
}
.cdf-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cdf-soft-cta {
  background: var(--cdf-primary-soft);
  border: 1px solid rgba(249,115,22,0.18);
  border-radius: var(--radius-xl);
  padding: 40px;
}

/* ============================================================
   17. FORMS
   ============================================================ */
.cdf-form-group { margin-bottom: 20px; }
.cdf-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--cdf-charcoal);
}
.cdf-label .required { color: var(--cdf-danger); margin-left: 2px; }
.cdf-input, .cdf-select, .cdf-textarea {
  width: 100%;
  min-height: 48px;
  background: #FFFFFF;
  border: 1px solid var(--cdf-border);
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 15px;
  color: var(--cdf-charcoal);
  font-family: var(--font-body);
  transition: border-color 180ms, box-shadow 180ms;
}
.cdf-input:focus, .cdf-select:focus, .cdf-textarea:focus {
  outline: none;
  border-color: var(--cdf-primary);
  box-shadow: 0 0 0 4px rgba(249,115,22,0.12);
}
.cdf-textarea { min-height: 140px; resize: vertical; }
.cdf-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.cdf-help { margin-top: 6px; color: var(--cdf-muted); font-size: 13px; }
.cdf-field-error { margin-top: 6px; color: var(--cdf-danger); font-size: 13px; font-weight: 700; }
.cdf-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cdf-form-success {
  background: #DCFCE7;
  border: 1px solid rgba(22,163,74,0.3);
  color: #166534;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  display: none;
}
.cdf-form-success.show { display: block; }
.cdf-error-box {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
  border-radius: 16px;
  padding: 16px;
}

/* ============================================================
   18. FILTER BAR
   ============================================================ */
.cdf-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--cdf-border);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 36px;
}
.cdf-filter-pill {
  min-height: 36px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--cdf-border);
  background: #FFFFFF;
  color: var(--cdf-charcoal);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 180ms;
}
.cdf-filter-pill:hover, .cdf-filter-pill.active {
  background: var(--cdf-primary);
  color: #FFFFFF;
  border-color: var(--cdf-primary);
}
.cdf-search-input {
  flex: 1;
  min-width: 200px;
  border: 1px solid var(--cdf-border);
  border-radius: var(--radius-pill);
  padding: 9px 16px 9px 38px;
  font-size: 14px;
  background: var(--cdf-bg);
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7' cy='7' r='5' stroke='%239CA3AF' stroke-width='1.5'/%3E%3Cpath d='m11 11 2.5 2.5' stroke='%239CA3AF' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
  outline: none;
  transition: border-color 180ms;
}
.cdf-search-input:focus { border-color: var(--cdf-primary); background-color: #FFFFFF; }

/* ============================================================
   19. TIMELINE
   ============================================================ */
.cdf-timeline { position: relative; padding-left: 32px; }
.cdf-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--cdf-border);
}
.cdf-timeline-item { position: relative; margin-bottom: 36px; }
.cdf-timeline-dot {
  position: absolute;
  left: -28px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cdf-primary);
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 0 2px var(--cdf-primary);
}
.cdf-timeline-year {
  font-family: var(--font-number);
  font-size: 13px;
  font-weight: 800;
  color: var(--cdf-primary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cdf-timeline-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--cdf-charcoal);
  margin-bottom: 6px;
}
.cdf-timeline-desc { font-size: 14px; color: var(--cdf-muted); line-height: 1.6; }

/* ============================================================
   20. FOOTER
   ============================================================ */
.cdf-footer {
  background: var(--cdf-charcoal);
  color: #FFFFFF;
  padding: 72px 0 0;
}
.cdf-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cdf-footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; text-decoration: none; }
.cdf-footer-desc { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 24px; }
.cdf-footer-social { display: flex; gap: 10px; }
.cdf-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.65);
  transition: all 180ms;
}
.cdf-social-link:hover { background: var(--cdf-primary); border-color: var(--cdf-primary); color: #FFFFFF; }
.cdf-social-link svg { width: 16px; height: 16px; }
.cdf-footer-heading {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.cdf-footer-links { display: flex; flex-direction: column; gap: 10px; }
.cdf-footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 180ms;
}
.cdf-footer-links a:hover { color: var(--cdf-gold); }
.cdf-footer-sub-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0 2px 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.12);
}
.cdf-footer-sub-links a {
  font-size: 12px;
  color: rgba(255,255,255,.5);
}
.cdf-footer-contact { display: flex; flex-direction: column; gap: 14px; }
.cdf-footer-contact-item { display: flex; gap: 10px; align-items: flex-start; }
.cdf-footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(249,115,22,0.15);
  display: grid;
  place-items: center;
  color: var(--cdf-primary);
  flex-shrink: 0;
}
.cdf-footer-contact-icon svg { width: 15px; height: 15px; }
.cdf-footer-contact-text { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.cdf-footer-contact-text strong { display: block; color: #FFFFFF; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.cdf-footer-newsletter { margin-top: 20px; }
.cdf-footer-newsletter-form { display: flex; gap: 8px; }
.cdf-footer-newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 14px;
  color: #FFFFFF;
  outline: none;
}
.cdf-footer-newsletter-input::placeholder { color: rgba(255,255,255,0.45); }
.cdf-footer-newsletter-input:focus { border-color: var(--cdf-primary); }
.cdf-footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.cdf-footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.cdf-footer-legal a { color: rgba(255,255,255,0.5); transition: color 180ms; }
.cdf-footer-legal a:hover { color: rgba(255,255,255,0.9); }

/* ============================================================
   21. PAGE HERO (inner pages)
   ============================================================ */
.cdf-page-hero {
  background: var(--cdf-charcoal);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.cdf-page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(249,115,22,0.08);
}
.cdf-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.cdf-breadcrumb a { color: rgba(255,255,255,0.55); transition: color 180ms; }
.cdf-breadcrumb a:hover { color: var(--cdf-gold); }
.cdf-breadcrumb .sep { color: rgba(255,255,255,0.3); }
.cdf-breadcrumb .current { color: #FFFFFF; font-weight: 700; }
.cdf-page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.15;
}
.cdf-page-hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  line-height: 1.65;
}

/* ============================================================
   21A. PROJECT DETAIL
   ============================================================ */
.cdf-project-detail-hero {
  background:
    radial-gradient(circle at 92% 12%, rgba(249,115,22,0.12), transparent 28%),
    linear-gradient(180deg, #FBFAF6 0%, #F5F3EC 100%);
  padding: 44px 0 58px;
  border-bottom: 1px solid var(--cdf-border);
}
.cdf-project-detail-hero .cdf-breadcrumb {
  color: var(--cdf-muted);
  margin-bottom: 22px;
}
.cdf-project-detail-hero .cdf-breadcrumb a { color: var(--cdf-muted); }
.cdf-project-detail-hero .cdf-breadcrumb .current { color: var(--cdf-charcoal); }
.cdf-project-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}
.cdf-project-detail-copy {
  max-width: 620px;
}
.cdf-project-detail-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.cdf-project-detail-copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--cdf-charcoal);
  margin: 0 0 14px;
}
.cdf-project-detail-copy p {
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.72;
  color: var(--cdf-muted);
  margin: 0;
}
.cdf-project-detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.cdf-project-detail-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(31,41,55,0.08);
  box-shadow: 0 24px 60px rgba(31,41,55,0.16);
  aspect-ratio: 4 / 3;
}
.cdf-project-detail-media::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -80px 90px rgba(31,41,55,0.12);
  pointer-events: none;
}
.cdf-project-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cdf-project-detail-layout {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
}
.cdf-project-facts {
  position: sticky;
  top: 88px;
  background: #FFFFFF;
  border: 1px solid var(--cdf-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.cdf-project-facts h2 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  color: var(--cdf-charcoal);
  margin: 0 0 18px;
}
.cdf-project-facts dl {
  display: grid;
  gap: 12px;
  margin: 0;
}
.cdf-project-facts dl div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cdf-border);
}
.cdf-project-facts dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.cdf-project-facts dt {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cdf-primary);
  margin-bottom: 4px;
}
.cdf-project-facts dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 750;
  color: var(--cdf-charcoal);
}
.cdf-project-story {
  background: #FFFFFF;
  border: 1px solid var(--cdf-border);
  border-radius: 18px;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.cdf-project-story .section-label {
  margin-bottom: 10px;
}
.cdf-project-story h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 900;
  color: var(--cdf-charcoal);
  margin: 0 0 16px;
}
.cdf-project-story p {
  font-size: 15px;
  line-height: 1.78;
  color: var(--cdf-muted);
  margin: 0 0 14px;
}
.cdf-project-story .lead {
  font-size: 18px;
  line-height: 1.72;
  color: var(--cdf-charcoal);
  font-weight: 650;
  margin-bottom: 20px;
}
.cdf-project-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}
.cdf-project-focus-grid > div {
  background: #FBFAF6;
  border: 1px solid var(--cdf-border);
  border-radius: 14px;
  padding: 18px;
}
.cdf-project-focus-grid h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 900;
  color: var(--cdf-charcoal);
  margin: 0 0 8px;
}
.cdf-project-focus-grid p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
.cdf-project-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 180ms, box-shadow 180ms, border-color 180ms;
}
.cdf-project-link:hover {
  transform: translateY(-4px);
  border-color: rgba(249,115,22,0.28);
  box-shadow: 0 20px 42px rgba(31,41,55,0.12);
}
.cdf-project-readmore {
  display: inline-flex;
  margin-top: 10px;
  color: var(--cdf-primary);
  font-size: 13px;
  font-weight: 900;
}

/* ============================================================
   22. UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--cdf-muted); }
.text-primary { color: var(--cdf-primary); }
.text-charcoal { color: var(--cdf-charcoal); }
.fw-bold { font-weight: 700; }
.fw-black { font-weight: 900; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none; }

/* Empty State */
.cdf-empty-state {
  text-align: center;
  padding: 64px 32px;
  color: var(--cdf-muted);
}
.cdf-empty-state svg { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--cdf-subtle); }
.cdf-empty-title { font-size: 18px; font-weight: 700; color: var(--cdf-charcoal); margin-bottom: 8px; }
.cdf-empty-desc { font-size: 15px; color: var(--cdf-muted); }

/* Separator */
.cdf-divider { border: none; border-top: 1px solid var(--cdf-border); margin: 32px 0; }

/* Pagination */
.cdf-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.cdf-page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--cdf-border);
  background: #FFFFFF;
  color: var(--cdf-charcoal);
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 180ms;
  text-decoration: none;
}
.cdf-page-btn:hover, .cdf-page-btn.active {
  background: var(--cdf-primary);
  border-color: var(--cdf-primary);
  color: #FFFFFF;
}

/* ============================================================
   23. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cdf-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .cdf-hero-visual { display: none; }
  .cdf-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cdf-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .cdf-about-strip { grid-template-columns: 1fr; }
  .cdf-project-detail-hero-grid,
  .cdf-project-detail-layout {
    grid-template-columns: 1fr;
  }
  .cdf-project-facts {
    position: static;
  }
}
@media (max-width: 768px) {
  .cdf-nav { display: none; }
  .cdf-hamburger { display: flex; }
  .cdf-header-actions .cdf-btn { display: none; }
  .cdf-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cdf-grid-2 { grid-template-columns: 1fr; }
  .cdf-impact-grid { grid-template-columns: repeat(2, 1fr); }
  .cdf-form-row { grid-template-columns: 1fr; }
  .cdf-cta-panel { padding: 40px 28px; }
  .cdf-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cdf-footer-newsletter-form { flex-direction: column; }
  .cdf-partner-grid { grid-template-columns: repeat(3, 1fr); }
  .cdf-section { padding: 56px 0; }
  .cdf-section-compact { padding: 40px 0; }
  .cdf-project-detail-hero {
    padding: 30px 0 42px;
  }
  .cdf-project-detail-media {
    border-radius: 16px;
    aspect-ratio: 16 / 11;
  }
  .cdf-project-focus-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 540px) {
  .cdf-grid-3, .cdf-grid-4 { grid-template-columns: 1fr; }
  .cdf-impact-grid { grid-template-columns: 1fr 1fr; }
  .cdf-hero { padding: 56px 0 64px; }
  .cdf-hero-actions { flex-direction: column; }
  .cdf-hero-actions .cdf-btn { width: 100%; justify-content: center; }
  .cdf-partner-grid { grid-template-columns: repeat(2, 1fr); }
  .cdf-floating-card { display: none; }
  .cdf-footer-bottom { flex-direction: column; text-align: center; }
  .cdf-container, .cdf-container-wide { width: min(100% - 32px, 100%); }
  .cdf-project-detail-actions .cdf-btn {
    width: 100%;
    justify-content: center;
  }
  .cdf-project-story,
  .cdf-project-facts {
    padding: 20px;
    border-radius: 14px;
  }
}

/* Transition for page items */
.fade-in { animation: fadeIn 0.4s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ── AsliCreate Traffic footer widget ─────────────────────────────────── */
.cdf-visitor-widget{
  margin-top:14px;padding:12px 14px;border-top:1px solid rgba(255,255,255,.1);
  display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;
  color:rgba(255,255,255,.7);font-size:12px;
}
.cdf-visitor-widget-label{font-weight:800;color:#fff;letter-spacing:.01em}
.cdf-visitor-widget-metrics{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.cdf-visitor-metric{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.cdf-visitor-metric strong{color:#fff;font-size:13px;font-variant-numeric:tabular-nums}
.cdf-visitor-metric>span{color:rgba(255,255,255,.58)}
.cdf-visitor-live{width:7px;height:7px;border-radius:50%;background:#34d399;box-shadow:0 0 0 4px rgba(52,211,153,.12);display:inline-block}
.cdf-visitor-paused{padding:3px 7px;border-radius:999px;background:rgba(245,158,11,.13);color:#fde68a;font-size:10px;font-weight:800}
.cdf-visitor-widget--badges .cdf-visitor-metric{padding:7px 10px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.045);border-radius:999px}
.cdf-visitor-widget--minimal{padding-top:9px;padding-bottom:9px;opacity:.82}
.cdf-visitor-widget--minimal .cdf-visitor-widget-label{font-weight:600;color:rgba(255,255,255,.62)}
.cdf-visitor-widget--minimal .cdf-visitor-metric strong{font-size:12px}
@media(max-width:640px){
  .cdf-visitor-widget{align-items:flex-start;flex-direction:column;gap:8px}
  .cdf-visitor-widget-metrics{justify-content:flex-start;gap:8px 12px}
}

/* ═══════════════════════════════════════════════════════════════
   CDF News Management — public listing and detail pages
═══════════════════════════════════════════════════════════════ */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.cdf-news-card-link{padding:0;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.cdf-news-card-link:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(31,41,55,.12);border-color:rgba(249,115,22,.28)}.cdf-news-card-cover{display:block;height:100%;color:inherit;text-decoration:none}.cdf-news-card-cover:focus-visible{outline:3px solid rgba(249,115,22,.45);outline-offset:3px;border-radius:var(--radius-md)}.cdf-news-tools{display:flex;flex-direction:column;gap:18px;margin-bottom:32px}.cdf-news-search{width:min(100%,460px);height:46px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--cdf-border);border-radius:999px;padding:0 18px;color:var(--cdf-muted);box-shadow:0 8px 24px rgba(31,41,55,.05)}.cdf-news-search:focus-within{border-color:var(--cdf-primary);box-shadow:0 0 0 4px rgba(249,115,22,.1)}.cdf-news-search input{width:100%;border:0;outline:0;background:transparent;font:inherit;font-size:14px;color:var(--cdf-charcoal)}.cdf-news-search input::placeholder{color:#9ca3af}.cdf-news-empty{text-align:center;padding:52px 20px;background:#fff;border:1px dashed var(--cdf-border);border-radius:var(--radius-lg)}.cdf-news-empty h3{font-family:var(--font-heading);font-size:22px;color:var(--cdf-charcoal);margin-bottom:8px}.cdf-news-empty p{color:var(--cdf-muted)}
.cdf-news-detail-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#fff7ed 0%,#fff 46%,#fef3c7 100%);padding:62px 0 72px;border-bottom:1px solid rgba(249,115,22,.12)}.cdf-news-detail-hero::after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-170px;top:-230px;background:radial-gradient(circle,rgba(249,115,22,.14),transparent 70%);pointer-events:none}.cdf-news-detail-hero-inner{position:relative;z-index:1;max-width:980px}.cdf-news-detail-hero h1{font-family:var(--font-heading);font-size:clamp(34px,5vw,58px);line-height:1.08;letter-spacing:-.035em;color:var(--cdf-charcoal);margin:18px 0}.cdf-news-detail-lead{font-size:clamp(17px,2vw,21px);line-height:1.7;color:var(--cdf-muted);max-width:860px}.cdf-news-detail-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:22px;font-size:14px;font-weight:600;color:#6b7280}.cdf-news-detail-meta .dot{width:5px;height:5px;border-radius:50%;background:#d1d5db}.cdf-news-detail-section{padding-top:0}.cdf-news-detail-cover{max-width:1160px;margin:-34px auto 52px;position:relative;z-index:2}.cdf-news-detail-cover img{display:block;width:100%;height:min(58vw,590px);object-fit:cover;border-radius:22px;box-shadow:0 28px 70px rgba(31,41,55,.18)}.cdf-news-detail-cover figcaption{text-align:center;color:var(--cdf-muted);font-size:12px;margin-top:10px}.cdf-news-detail-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(260px,330px);gap:64px;align-items:start;justify-content:center}.cdf-news-article{font-size:17px;line-height:1.85;color:#4b5563}.cdf-news-article>*:first-child{margin-top:0}.cdf-news-article p{margin:0 0 22px}.cdf-news-article h2,.cdf-news-article h3,.cdf-news-article h4{font-family:var(--font-heading);color:var(--cdf-charcoal);line-height:1.25;margin:38px 0 16px}.cdf-news-article h2{font-size:30px}.cdf-news-article h3{font-size:23px}.cdf-news-article h4{font-size:18px}.cdf-news-article ul,.cdf-news-article ol{margin:0 0 24px;padding-left:24px}.cdf-news-article li{margin:8px 0}.cdf-news-article blockquote{margin:30px 0;padding:22px 26px;border-left:4px solid var(--cdf-primary);background:var(--cdf-primary-soft);border-radius:0 14px 14px 0;font-size:19px;font-weight:600;color:var(--cdf-charcoal)}.cdf-news-article a{color:var(--cdf-primary);text-decoration:underline;text-underline-offset:3px}.cdf-news-article img{max-width:100%;height:auto;border-radius:14px;margin:18px 0}.cdf-news-article table{width:100%;border-collapse:collapse;margin:24px 0;font-size:14px}.cdf-news-article th,.cdf-news-article td{padding:12px;border:1px solid var(--cdf-border);text-align:left}.cdf-news-article th{background:var(--cdf-warm);color:var(--cdf-charcoal)}.cdf-news-source{padding-top:18px;border-top:1px solid var(--cdf-border);font-size:14px}.cdf-news-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:30px}.cdf-news-tags span{padding:7px 11px;border-radius:999px;background:var(--cdf-warm);border:1px solid var(--cdf-border);font-size:12px;font-weight:700;color:#6b7280}.cdf-news-detail-aside{position:sticky;top:100px;display:grid;gap:18px}.cdf-news-share-card,.cdf-news-back-card{padding:24px;border-radius:18px;border:1px solid var(--cdf-border);background:#fff;box-shadow:0 14px 36px rgba(31,41,55,.07)}.cdf-news-share-card h2,.cdf-news-back-card h2{font-family:var(--font-heading);font-size:20px;color:var(--cdf-charcoal);margin-bottom:8px}.cdf-news-share-card p,.cdf-news-back-card p{font-size:14px;line-height:1.6;color:var(--cdf-muted);margin-bottom:16px}.cdf-news-share-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.cdf-news-share-links a,.cdf-news-share-links button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:62px;padding:8px 5px;border-radius:10px;border:1px solid var(--cdf-border);background:var(--cdf-warm);color:var(--cdf-charcoal);font:inherit;font-size:10px;font-weight:750;cursor:pointer;transition:.18s;text-align:center}.cdf-news-share-links svg{width:18px;height:18px;display:block}.cdf-news-share-links a:hover,.cdf-news-share-links button:hover{background:var(--cdf-primary);border-color:var(--cdf-primary);color:#fff;transform:translateY(-2px)}.cdf-news-share-status{min-height:1.2em;margin:10px 0 0!important;font-size:11px!important;color:var(--cdf-primary)!important}.cdf-news-back-card{background:linear-gradient(145deg,#1f2937,#111827);border-color:transparent}.cdf-news-back-card h2{color:#fff}.cdf-news-back-card p{color:rgba(255,255,255,.68)}
@media(max-width:920px){.cdf-news-detail-layout{grid-template-columns:1fr;gap:36px}.cdf-news-detail-aside{position:static;grid-template-columns:1fr 1fr}.cdf-news-detail-cover img{height:min(66vw,520px)}}@media(max-width:640px){.cdf-news-share-links{grid-template-columns:repeat(3,minmax(0,1fr))}.cdf-news-detail-hero{padding:44px 0 58px}.cdf-news-detail-hero h1{font-size:34px}.cdf-news-detail-lead{font-size:16px}.cdf-news-detail-meta{font-size:12px}.cdf-news-detail-cover{margin:-24px auto 34px}.cdf-news-detail-cover img{height:62vw;border-radius:14px}.cdf-news-detail-layout{gap:28px}.cdf-news-article{font-size:16px}.cdf-news-article h2{font-size:25px}.cdf-news-detail-aside{grid-template-columns:1fr}.cdf-news-share-links{grid-template-columns:1fr 1fr}.cdf-news-tools{gap:14px}.cdf-news-search{width:100%}}
