/* ============================================
   NJ Civic Information Consortium
   Custom Stylesheet — Redesigned
   Font: Mulish | Visual ref: schumannfund.org
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  --color-navy: #183642;
  --color-navy-light: #1e4452;
  --color-navy-dark: #0f232b;
  --color-yellow: #E6AF2E;
  --color-yellow-light: #f0c55a;
  --color-teal: #3AC5C9;
  --color-teal-light: #6dd5d8;
  --color-orange: #F34213;
  --color-orange-light: #f56a45;
  --color-white: #ffffff;
  --color-offwhite: #f7f8fa;
  --color-gray-100: #f0f2f4;
  --color-gray-200: #e2e6ea;
  --color-gray-300: #cdd3d9;
  --color-gray-600: #5a6872;
  --color-gray-800: #2d3640;

  --font-body: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-height: 80px;
  --container-max: 1200px;
  --section-padding: 100px 0;
  --transition: all 0.35s ease-in-out;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-pill: 40px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-gray-800);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-teal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  line-height: 1.2;
  color: var(--color-navy);
}

h1 { font-weight: 900; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }
h4 { font-weight: 700; }

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  height: var(--nav-height);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
}

.nav-links li a {
  color: var(--color-navy);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--color-teal);
  background: rgba(58, 197, 201, 0.08);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-orange-light);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(243, 66, 19, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  color: var(--color-white);
  transform: translateY(-3px);
}

.btn-text {
  background: none;
  color: var(--color-navy);
  padding: 14px 8px;
  font-weight: 700;
}

.btn-text:hover {
  color: var(--color-teal);
}

.btn-text span {
  transition: transform 0.3s ease;
  display: inline-block;
}

.btn-text:hover span {
  transform: translateX(4px);
}

/* ============================================
   HERO SECTION (Home)
   ============================================ */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  margin-top: var(--nav-height);
  background: linear-gradient(
    150deg,
    var(--color-navy) 0%,
    var(--color-navy-light) 35%,
    #1a5060 65%,
    var(--color-navy) 100%
  );
  overflow: hidden;
}

.hero.hero-photo {
  background: var(--color-navy);
}

.hero.hero-photo > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero.hero-photo::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 35, 43, 0.60) 0%,
    rgba(24, 54, 66, 0.67) 40%,
    rgba(24, 54, 66, 0.75) 100%
  );
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 15% 85%, rgba(243, 66, 19, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(58, 197, 201, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.hero-decoration {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
}

.hero-shape-1 {
  top: -120px;
  right: -80px;
  width: 450px;
  height: 450px;
  background: rgba(58, 197, 201, 0.06);
}

.hero-shape-2 {
  bottom: -60px;
  left: 10%;
  width: 280px;
  height: 280px;
  background: rgba(243, 66, 19, 0.05);
}

.hero-shape-3 {
  top: 30%;
  right: 20%;
  width: 160px;
  height: 160px;
  background: rgba(230, 175, 46, 0.06);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

.hero-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 16px;
  padding: 8px 20px;
  border: 1.5px solid rgba(58, 197, 201, 0.4);
  border-radius: var(--radius-pill);
}

.hero h1 {
  font-size: 60px;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.0 !important;
  max-width: 900px;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--color-teal);
}

.hero-subtitle {
  font-size: 19px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  max-width: 700px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   PAGE HERO (Interior Pages)
   ============================================ */
.page-hero {
  margin-top: var(--nav-height);
  padding: 80px 0 70px;
  background: linear-gradient(
    150deg,
    var(--color-navy) 0%,
    var(--color-navy-light) 50%,
    #1a5060 100%
  );
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(243, 66, 19, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 30%, rgba(58, 197, 201, 0.08) 0%, transparent 50%);
}

.page-hero-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 52px;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-hero-subtitle {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
  line-height: 1.7;
  font-weight: 400;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
  padding: var(--section-padding);
}

.bg-offwhite {
  background: var(--color-offwhite);
}

.bg-navy {
  background: var(--color-navy);
}

.content-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.content-grid-reverse {
  direction: ltr;
}

.content-text .section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 16px;
}

.content-text h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

.content-text p {
  font-size: 17px;
  color: var(--color-gray-600);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* ============================================
   MISSION SECTION
   ============================================ */
.mission {
  padding: var(--section-padding);
  background: var(--color-white);
}

.mission-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission-text .section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 16px;
}

.mission-text h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

.mission-text p {
  font-size: 17px;
  color: var(--color-gray-600);
  margin-bottom: 16px;
  line-height: 1.8;
}

.mission-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.mission-vision {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vision-card {
  background: var(--color-offwhite);
  border-radius: var(--radius);
  padding: 32px;
  border-left: 4px solid var(--color-teal);
  transition: var(--transition);
}

.vision-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.vision-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--color-navy);
}

.vision-card p {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: 17px;
  color: var(--color-gray-600);
  line-height: 1.7;
}

.section-header-light h2 {
  color: var(--color-white);
}

.section-header-light p {
  color: rgba(255, 255, 255, 0.7);
}

.section-header-light .section-label {
  color: var(--color-teal);
}

/* ============================================
   PROGRAM PRIORITIES / CARDS
   ============================================ */
.priorities {
  padding: var(--section-padding);
  background: var(--color-offwhite);
}

.priorities-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.priorities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.priority-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-200);
}

.priority-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-teal);
}

.priority-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.priority-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--color-teal);
}

.priority-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--color-navy);
}

.priority-card p {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* ============================================
   ICON GRID (What We Do)
   ============================================ */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.icon-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.icon-circle {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-circle svg {
  width: 28px;
  height: 28px;
  fill: var(--color-teal);
}

.icon-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--color-navy);
}

.icon-card p {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
  padding: 80px 0;
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(58, 197, 201, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 50%, rgba(243, 66, 19, 0.06) 0%, transparent 60%);
}

.stats-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.stats-header {
  text-align: center;
  margin-bottom: 60px;
}

.stats-header .section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 16px;
}

.stats-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-body);
  font-size: 52px;
  font-weight: 900;
  color: var(--color-teal);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Stat brand color variants */
.stat-color-teal {
  color: #2dc8d2 !important;
}

.stat-color-yellow {
  color: #e6af2e !important;
}

/* Stats sidebar (Grantmaking page) */
.stats-sidebar {
  background: var(--color-navy);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-stat .stat-number {
  font-size: 44px;
}

.sidebar-stat .stat-label {
  font-size: 14px;
}

/* ============================================
   VALUES SECTION
   ============================================ */
.values {
  padding: var(--section-padding);
  background: var(--color-white);
}

.values-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.value-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--color-offwhite);
  transition: var(--transition);
  border: 1px solid transparent;
}

.value-card:hover {
  background: var(--color-white);
  border-color: var(--color-gray-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.value-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-teal);
}

.value-content h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--color-navy);
}

.value-content p {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  text-align: center;
}

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

.cta-section h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   CLICK-TO-EXPAND COMPONENTS
   ============================================ */
.expand-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.expand-item {
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  background: var(--color-white);
  overflow: hidden;
  transition: var(--transition);
}

.expand-item:hover {
  border-color: var(--color-gray-300);
  box-shadow: var(--shadow-sm);
}

.expand-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
  transition: var(--transition);
}

.expand-toggle:hover {
  background: var(--color-offwhite);
}

.expand-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.expand-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
}

.expand-header span {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-teal);
}

.expand-icon-wrap {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expand-icon-wrap svg {
  width: 22px;
  height: 22px;
  fill: var(--color-teal);
}

.expand-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  color: var(--color-navy);
  border: 2px solid var(--color-gray-200);
  border-radius: 50%;
  transition: var(--transition);
}

.expand-toggle:hover .expand-icon {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

.expand-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 28px;
}

.expand-content.expand-open {
  padding: 0 28px 24px;
}

.expand-content p {
  font-size: 16px;
  color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: 12px;
}

.expand-content p:last-child {
  margin-bottom: 0;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.feature-card {
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.feature-card.accent-teal {
  background: linear-gradient(135deg, var(--color-navy), #1a5060);
  color: var(--color-white);
}

.feature-card.accent-orange {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-light));
  color: var(--color-white);
}

.feature-stat {
  font-size: 56px;
  font-weight: 900;
  color: var(--color-teal);
  line-height: 1;
  margin-bottom: 16px;
}

.feature-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.feature-card.accent-orange h3 {
  color: var(--color-white);
  font-size: 22px;
  margin-bottom: 12px;
}

/* ============================================
   PROCESS STEPS (Grantmaking)
   ============================================ */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px;
  background: var(--color-offwhite);
  border-radius: var(--radius);
  transition: var(--transition);
}

.process-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
}

.step-content h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--color-navy);
}

.step-content p {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* Deadlines */
.deadlines-section {
  margin-top: 48px;
  text-align: center;
}

.deadlines-section > h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--color-navy);
}

.deadlines-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.deadline-card {
  background: var(--color-offwhite);
  border-radius: var(--radius);
  padding: 28px;
  border-top: 3px solid var(--color-teal);
}

.deadline-card h4 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.deadline-card ul {
  list-style: none;
}

.deadline-card ul li {
  font-size: 15px;
  color: var(--color-gray-600);
  padding: 6px 0;
  border-bottom: 1px solid var(--color-gray-200);
  font-weight: 500;
}

.deadline-card ul li:last-child {
  border-bottom: none;
}

/* Check list */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--color-gray-600);
  line-height: 1.7;
}

.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-teal);
  font-weight: 700;
  font-size: 16px;
}

/* ============================================
   TWO COLUMN INFO CARDS
   ============================================ */
.two-col-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.info-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-200);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.info-card-number {
  width: 36px;
  height: 36px;
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}

.info-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-navy);
}

.info-card p {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* ============================================
   PRINCIPLES GRID (What We Do - Navy bg)
   ============================================ */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.principle-item {
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.principle-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(58, 197, 201, 0.3);
  transform: translateY(-3px);
}

.principle-number {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: var(--color-teal);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.principle-item h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 8px;
}

.principle-item p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* ============================================
   NEWS LIST
   ============================================ */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-gray-200);
  transition: var(--transition);
}

.news-item:first-child {
  padding-top: 0;
}

.news-date {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-gray-600);
  min-width: 120px;
  padding-top: 4px;
}

.news-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-navy);
  line-height: 1.3;
}

.news-body h3 a {
  color: var(--color-navy);
  transition: var(--transition);
}

.news-body h3 a:hover {
  color: var(--color-teal);
}

.news-body p {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* ============================================
   RESOURCE CARDS
   ============================================ */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.resource-card {
  display: block;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--color-gray-200);
  transition: var(--transition);
  text-decoration: none;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-teal);
}

.resource-icon {
  width: 48px;
  height: 48px;
  background: var(--color-offwhite);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.resource-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-navy);
}

.resource-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--color-navy);
}

.resource-card p {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 12px;
}

.resource-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-teal);
}

.resource-card:hover .resource-link {
  color: var(--color-orange);
}

/* ============================================
   TEAM GRID
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--color-gray-200);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 3px solid var(--color-gray-200);
  background: var(--color-offwhite);
}

.team-card:hover .team-photo {
  border-color: var(--color-teal);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.team-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-teal);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-card .expand-item {
  border: none;
  background: none;
}

.team-card .expand-toggle {
  padding: 8px 0;
}

.team-card .expand-content {
  padding: 0;
}

.team-card .expand-content.expand-open {
  padding: 0 0 8px;
}

.team-card .expand-content p {
  font-size: 14px;
}

.team-list .team-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-gray-200);
  font-size: 16px;
  color: var(--color-gray-600);
}

.team-list .team-item:last-child {
  border-bottom: none;
}

.team-list .team-item strong {
  color: var(--color-navy);
}

/* ============================================
   BOARD GRID
   ============================================ */
.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.board-member {
  background: var(--color-offwhite);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: var(--transition);
}

.board-member:hover {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.board-member .board-name {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #2dc8d2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.board-member .board-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.5;
}

.board-member .board-appointment {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-gray-600);
  line-height: 1.5;
  margin-top: 4px;
}

/* ============================================
   UNIVERSITY GRID
   ============================================ */
.university-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.university-item {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-navy);
  border: 1px solid var(--color-gray-200);
  transition: var(--transition);
}

.university-item:hover {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-logo-img {
  height: 72px;
  width: auto;
}

.footer-links h4 {
  font-family: var(--font-body);
  font-size: 14px !important;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--color-teal);
}

/* Social links */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--color-teal);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-bottom {
  background: var(--color-navy-dark) !important;
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================
   PAGE LAYOUT (Markdown pages)
   ============================================ */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.page-content h1 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 32px;
}

.page-content h2 {
  font-size: 28px;
  font-weight: 800;
  margin-top: 40px;
  margin-bottom: 16px;
}

.page-content h3 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 12px;
}

.page-content p {
  margin-bottom: 16px;
  color: var(--color-gray-600);
  font-size: 17px;
}

.page-content ul, .page-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.page-content li {
  margin-bottom: 8px;
  color: var(--color-gray-600);
  font-size: 17px;
}

.page-content strong {
  color: var(--color-navy);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 48px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .mission-content,
  .content-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .section-header h2,
  .mission-text h2,
  .stats-header h2,
  .content-text h2 {
    font-size: 34px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .board-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 12px 16px;
  }

  .hero {
    min-height: auto;
    padding: 80px 0 72px;
    align-items: flex-start;
  }

  .hero-content {
    padding: 0 24px;
  }

  .hero h1 {
    font-size: 36px;
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 16px;
    max-width: 100%;
  }

  .hero-impact-callout {
    max-width: 100%;
  }

  .page-hero {
    padding: 60px 0 50px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .priorities-grid {
    grid-template-columns: 1fr !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-number {
    font-size: 40px;
  }

  .values-grid,
  .icon-grid,
  .resources-grid,
  .two-col-cards {
    grid-template-columns: 1fr;
  }

  .deadlines-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid:not(.footer-grid-4col) {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .university-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .news-item {
    flex-direction: column;
    gap: 8px;
  }

  .news-date {
    min-width: auto;
  }

  .footer-logo-col {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }

  .university-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   5-COLUMN STATS GRID (Home page)
   ============================================ */
.stats-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1024px) {
  .stats-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid-5 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   TESTIMONIALS CAROUSEL
   ============================================ */
.testimonials-section {
  padding: var(--section-padding);
  background: var(--color-white);
}

.testimonials-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.testimonials-track-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}

.testimonials-track {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gray-300) transparent;
}

.testimonials-track::-webkit-scrollbar {
  height: 6px;
}

.testimonials-track::-webkit-scrollbar-track {
  background: transparent;
}

.testimonials-track::-webkit-scrollbar-thumb {
  background: var(--color-gray-300);
  border-radius: 3px;
}

.testimonial-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: var(--color-offwhite);
  border-radius: var(--radius);
  padding: 36px;
  border-left: 4px solid var(--color-teal);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-quote p {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-navy);
}

.testimonial-author span {
  font-size: 13px;
  color: var(--color-teal);
  font-weight: 600;
}

.testimonial-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-gray-200);
  background: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.testimonial-arrow:hover {
  border-color: var(--color-teal);
  background: var(--color-offwhite);
}

.testimonial-arrow svg {
  width: 24px;
  height: 24px;
  fill: var(--color-navy);
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 300px;
    padding: 28px;
  }

  .testimonial-arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    flex: 0 0 260px;
  }
}

/* ============================================
   MAP EMBED
   ============================================ */
.map-embed-wrapper {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-gray-200);
}

.map-embed {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .map-embed {
    height: 350px;
  }
}

/* Map CTA Card */
.map-cta-card {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.map-cta-icon {
  width: 72px;
  height: 72px;
  background: rgba(58, 197, 201, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.map-cta-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--color-teal);
}

.map-cta-card h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
}

.map-cta-card p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ============================================
   VIDEO EMBED
   ============================================ */
.video-embed-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.video-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   IMPACT STATS INLINE (What We Do)
   ============================================ */
.impact-stats-inline {
  margin-top: 20px;
  margin-bottom: 8px;
}

.impact-stat-row {
  padding: 8px 0;
  font-size: 16px;
  color: var(--color-gray-600);
  border-bottom: 1px solid var(--color-gray-200);
  line-height: 1.6;
}

.impact-stat-row:last-child {
  border-bottom: none;
}

.impact-stat-row strong {
  color: var(--color-teal);
  font-weight: 900;
  font-size: 18px;
}

/* ============================================
   FOOTER 4-COLUMN LAYOUT
   ============================================ */
.footer-grid-4col {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.5fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-col .footer-logo-img {
  height: 72px;
  width: auto;
}

.footer-logo-col .footer-address {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .footer-grid-4col {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-grid-4col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================
   FOOTER EMAIL
   ============================================ */
.footer-email {
  font-size: 14px;
  margin-top: -8px;
}

.footer-email a {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  transition: var(--transition);
}

.footer-email a:hover {
  color: var(--color-teal);
}

/* ============================================
   6-COLUMN STATS GRID (Home page)
   ============================================ */
.stats-grid-6 {
  grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 1024px) {
  .stats-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid-6 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   IMPACT CALLOUT BLOCKS (What We Do)
   ============================================ */
.impact-callout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.impact-callout-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--color-gray-200);
  border-top: 4px solid var(--accent-color, #2dc8d2);
  transition: all 0.35s ease-in-out;
  box-shadow: var(--shadow-sm);
}

.impact-callout-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-color, #2dc8d2);
}

.impact-callout-number {
  font-family: var(--font-body);
  font-size: 48px;
  font-weight: 900;
  color: var(--accent-color, #2dc8d2);
  line-height: 1;
  margin-bottom: 12px;
}

.impact-callout-label {
  font-size: 15px;
  color: var(--color-gray-600);
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .impact-callout-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .impact-callout-grid {
    grid-template-columns: 1fr;
  }

  .impact-callout-number {
    font-size: 40px;
  }
}

/* ============================================
   PFNJ LEADERSHIP GRID
   ============================================ */
.pfnj-leadership-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.pfnj-leader-card {
  text-align: center;
  transition: var(--transition);
}

.pfnj-leader-card:hover {
  transform: translateY(-4px);
}

.pfnj-leader-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--color-gray-200);
  transition: var(--transition);
  background: var(--color-offwhite);
}

.pfnj-leader-card:hover .pfnj-leader-photo {
  border-color: var(--color-teal);
  box-shadow: var(--shadow-md);
}

.pfnj-leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pfnj-leader-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.pfnj-leader-title {
  font-size: 13px;
  color: var(--color-gray-600);
  line-height: 1.4;
  display: block;
}

@media (max-width: 1024px) {
  .pfnj-leadership-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .pfnj-leadership-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .pfnj-leadership-grid {
    grid-template-columns: 1fr;
  }

  .pfnj-leader-photo {
    width: 120px;
    height: 120px;
  }
}

/* ============================================
   PAGE-SPECIFIC BACKGROUND PHOTOS
   ============================================ */

/* --- Hero Background Photos --- */
.page-hero-what-we-do::after,
.page-hero-grantmaking::after,
.page-hero-press-forward::after,
.page-hero-news-resources::after,
.page-hero-about-us::after,
.page-hero-internship::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.30;
  z-index: 0;
  pointer-events: none;
}

.page-hero-what-we-do::after {
  background-image: url('../images/what-we-do-header.png');
}

.page-hero-grantmaking::after {
  background-image: url('../images/grantmaking-header.png');
}

.page-hero-press-forward::after {
  background-image: url('../images/press-forward-new-jersey-header.png');
}

.page-hero-news-resources::after {
  background-image: url('../images/news-resources-header.png');
}

.page-hero-about-us::after {
  background-image: url('../images/about-us-header.png');
}

.page-hero-internship::after {
  background-image: url('../images/grantmaking-header.png');
}

/* --- Internship Page Styles --- */
.internship-dates-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.internship-date-card {
  flex: 1;
  min-width: 260px;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-200);
}

.internship-date-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--color-navy);
}

.internship-date-card ul {
  list-style: none;
  padding: 0;
}

.internship-date-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-gray-100);
  font-size: 16px;
}

.internship-date-card ul li:last-child {
  border-bottom: none;
}

.internship-resources-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.internship-resource-card {
  flex: 1;
  min-width: 300px;
  background: var(--color-offwhite);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--color-gray-200);
}

.resource-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.resource-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.resource-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-white);
}

.resource-card-header h3 {
  font-size: 22px;
  color: var(--color-navy);
  margin: 0;
}

.internship-resource-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.internship-resource-card p {
  margin-bottom: 12px;
  line-height: 1.7;
}

.internship-resource-card ul {
  margin: 12px 0;
  padding-left: 20px;
}

.internship-resource-card ul li {
  margin-bottom: 6px;
  line-height: 1.6;
}

/* --- Section Background Photos --- */
.section-bg-what-we-do,
.section-bg-grantmaking {
  position: relative;
  overflow: hidden;
}

.section-bg-what-we-do::after,
.section-bg-grantmaking::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
}

.section-bg-what-we-do::after {
  background-image: url('../images/what-we-do-section.png');
}

.section-bg-grantmaking::after {
  background-image: url('../images/grantmaking-section.png');
}

.section-bg-what-we-do > .content-container,
.section-bg-grantmaking > .content-container {
  position: relative;
  z-index: 1;
}

/* --- Mobile Optimization for Background Photos --- */
@media (max-width: 768px) {
  .page-hero-what-we-do::after,
  .page-hero-grantmaking::after,
  .page-hero-press-forward::after,
  .page-hero-news-resources::after,
  .page-hero-about-us::after,
  .page-hero-internship::after {
    opacity: 0.25;
    background-position: center top;
  }

  .section-bg-what-we-do::after,
  .section-bg-grantmaking::after {
    opacity: 0.04;
  }
}

@media (max-width: 480px) {
  .page-hero-what-we-do::after,
  .page-hero-grantmaking::after,
  .page-hero-press-forward::after,
  .page-hero-news-resources::after,
  .page-hero-about-us::after,
  .page-hero-internship::after {
    opacity: 0.23;
  }

  .section-bg-what-we-do::after,
  .section-bg-grantmaking::after {
    opacity: 0.03;
  }
}

/* ============================================
   HERO IMPACT CALLOUT
   ============================================ */
.hero-impact-callout {
  background: rgba(58, 197, 201, 0.12);
  border-left: 3px solid var(--color-teal);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  margin-bottom: 32px;
  max-width: 740px;
}

.hero-impact-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}

/* ============================================
   IMPACT BENTO GRID (Home - At a Glance)
   ============================================ */
.impact-bento {
  padding: 80px 0;
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
}

.impact-bento::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(58, 197, 201, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 50%, rgba(243, 66, 19, 0.06) 0%, transparent 60%);
}

.impact-bento-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.impact-bento-header {
  text-align: center;
  margin-bottom: 60px;
}

.impact-bento-header .section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 16px;
}

.impact-bento-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-white);
}

.impact-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.impact-bento-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid var(--card-accent, var(--color-teal));
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.35s ease-in-out;
}

.impact-bento-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--card-accent, var(--color-teal));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.impact-bento-card.impact-bento-wide {
  grid-column: span 1;
}

.impact-bento-number {
  font-family: var(--font-body);
  font-size: 48px;
  font-weight: 900;
  color: var(--card-accent, var(--color-teal));
  line-height: 1;
  margin-bottom: 12px;
}

.impact-bento-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .impact-bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .impact-bento-header h2 {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .impact-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-bento-number {
    font-size: 40px;
  }
}

@media (max-width: 480px) {
  .impact-bento-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   DIGITAL IMPACT SECTION
   ============================================ */
.digital-impact {
  padding: 80px 0;
  background: var(--color-offwhite);
  position: relative;
}

.digital-impact-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.digital-impact-header {
  text-align: center;
  margin-bottom: 40px;
}

.digital-impact-header .section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 16px;
}

.digital-impact-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

.digital-impact-intro {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

.digital-impact-intro p {
  font-size: 17px;
  color: var(--color-gray-600);
  line-height: 1.8;
}

.digital-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.digital-impact-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--color-gray-200);
  border-top: 4px solid var(--card-accent, var(--color-teal));
  transition: all 0.35s ease-in-out;
  box-shadow: var(--shadow-sm);
}

.digital-impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--card-accent, var(--color-teal));
}

.digital-impact-number {
  font-family: var(--font-body);
  font-size: 48px;
  font-weight: 900;
  color: var(--card-accent, var(--color-teal));
  line-height: 1;
  margin-bottom: 12px;
}

.digital-impact-label {
  font-size: 15px;
  color: var(--color-gray-600);
  font-weight: 500;
  line-height: 1.5;
}

.digital-impact-card-highlight {
  /* highlight styling placeholder */
}

@media (max-width: 1024px) {
  .digital-impact-header h2 {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .digital-impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .digital-impact-number {
    font-size: 40px;
  }
}

@media (max-width: 480px) {
  .digital-impact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   MAP CTA CARD WITH PHOTO BACKGROUND
   ============================================ */
.map-cta-card-photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-cta-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.map-cta-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 40px;
  max-width: 600px;
}

.map-cta-card-photo::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(24, 54, 66, 0.82) 0%,
    rgba(30, 68, 82, 0.75) 50%,
    rgba(24, 54, 66, 0.85) 100%
  );
  z-index: 1;
}

@media (max-width: 768px) {
  .map-cta-card-photo {
    min-height: 320px;
  }
  .map-cta-overlay {
    padding: 40px 24px;
  }
}

/* ============================================
   FUNDING POOLS CALLOUT (Press Forward NJ)
   ============================================ */
.funding-pools-callout {
  margin-top: 48px;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px 40px;
  border-left: 4px solid var(--color-teal);
  box-shadow: var(--shadow-sm);
}

.funding-pools-callout h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.funding-pools-callout p {
  font-size: 16px;
  color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: 12px;
}

.funding-pools-callout p:last-child {
  margin-bottom: 0;
}

/* ============================================
   WORDPRESS ADMIN BAR COMPATIBILITY
   ============================================ */
.admin-bar .site-nav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-nav {
    top: 46px;
  }
}

/* ============================================
   ECOSYSTEM REPORT PAGE
   ============================================ */
.page-hero-ecosystem-report::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.30;
  z-index: 0;
  pointer-events: none;
  background-image: url('../images/news-resources-header.png');
}

.report-intro {
  max-width: 800px;
  margin: 0 auto;
}

.report-intro p {
  font-size: 17px;
  color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.report-body-text {
  max-width: 800px;
  margin: 0 auto;
}

.report-body-text p {
  font-size: 17px;
  color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Key Takeaways */
.takeaways-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.takeaway-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px;
  background: var(--color-white);
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-200);
}

.takeaway-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--color-teal);
}

.takeaway-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-navy);
  color: var(--color-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
}

.takeaway-content h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--color-navy);
}

.takeaway-content p {
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 8px;
}

.takeaway-content ul {
  list-style: none;
  padding: 0;
  margin-top: 8px;
}

.takeaway-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--color-gray-600);
  line-height: 1.7;
}

.takeaway-content ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-teal);
  font-weight: 700;
}

@media (max-width: 768px) {
  .takeaway-item {
    flex-direction: column;
    gap: 16px;
  }
}

/* ============================================
   PRESS RELEASE PAGE
   ============================================ */
.page-hero-press-release::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.30;
  z-index: 0;
  pointer-events: none;
  background-image: url('../images/news-resources-header.png');
}

.press-release-body {
  max-width: 800px;
  margin: 0 auto;
}

.press-release-headline {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.press-release-subhead {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-gray-600);
  font-style: italic;
  margin-bottom: 32px;
  line-height: 1.6;
}

.press-release-body p {
  font-size: 17px;
  color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.press-release-body ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.press-release-body ul li {
  font-size: 17px;
  color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: 8px;
}

.press-release-quote {
  margin: 32px 0;
  padding: 24px 32px;
  background: var(--color-offwhite);
  border-left: 4px solid var(--color-teal);
  border-radius: var(--radius-sm);
}

.press-release-quote p {
  font-size: 17px;
  font-style: italic;
  color: var(--color-navy);
  line-height: 1.7;
  margin-bottom: 8px;
}

.press-release-quote cite {
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  color: var(--color-gray-600);
}

.press-release-divider {
  border: none;
  border-top: 1px solid var(--color-gray-200);
  margin: 40px 0;
}

.press-release-boilerplate {
  margin-bottom: 32px;
}

.press-release-boilerplate h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.press-release-contact {
  background: var(--color-offwhite);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
}

.press-release-contact h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.press-release-contact p {
  font-size: 15px;
  margin-bottom: 0;
}

/* Report CTA Card (on press release page) */
.report-cta-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 40px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-gray-200);
}

.report-cta-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.report-cta-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--color-teal);
}

.report-cta-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.report-cta-card p {
  font-size: 16px;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Highlighted Resource Card */
.resource-card-highlight {
  border: 2px solid var(--color-orange);
  position: relative;
}

.resource-card-highlight:hover {
  border-color: var(--color-teal);
}

.resource-card-new-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-orange);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .page-hero-ecosystem-report::after,
  .page-hero-press-release::after {
    opacity: 0.25;
    background-position: center top;
  }
}

@media (max-width: 480px) {
  .page-hero-ecosystem-report::after,
  .page-hero-press-release::after {
    opacity: 0.23;
  }

  .press-release-headline {
    font-size: 22px;
  }
}

/* ============================================
   OVERRIDE WP CUSTOM CSS ELEMENT DECLARATIONS
   (WPBakery/ACT theme sets h4: 32px, p: 20px,
    body line-height: 1.8 all with !important)
   ============================================ */
body { line-height: 1.6 !important; }
p { font-size: inherit !important; }
