/* CDRD Theme - Combined CSS File */
/* Upload this entire file to Asset Injector as "Global: CDRD Theme" */
/* This combines tokens.css, typography.css, components.css, and layout.css */

/* Font Face - Museo Slab 500 */
@font-face {
  font-family: "Museo Slab 500";
  font-style: normal;
  font-weight: normal;
  src: local("Museo Slab 500"),
    url("../assets/fonts/exljbris-MuseoSlab-500.woff") format("woff");
}

/* ============================================
   CSS VARIABLES (TOKENS)
   ============================================ */
:root {
  /* Primary Brand Colors */
  --color-primary-blue: #252b69;
  --color-primary-yellow: #fed107;
  
  /* Background Colors */
  --color-bg-white: #ffffff;
  --color-bg-dark: #252b69;
  
  /* Text Colors */
  --color-text-primary: #353535;
  --color-text-white: #ffffff;
  --color-text-dark-blue: #252b69;
  --color-text-dark-gray: #4b4b4b;
  --color-text-gray: #3a3a3a;
  --color-text-black: #121212;
  
  /* Border Colors */
  --color-border-gray: #bcbcbc;
  --color-border-light-gray: #e2e2e2;
  
  /* Button Colors */
  --color-button-primary-bg: #fed107;
  --color-button-primary-text: #252b69;
  
  /* Spacing */
  --spacing-page-gutter: 80px;
  --spacing-section-gap: 40px;
  --spacing-element-gap: 20px;
  --spacing-small-gap: 10px;
  
  /* Button Spacing */
  --button-padding-x: 24px;
  --button-padding-y: 12px;
  --button-gap: 10px;
  
  /* Border Radius */
  --radius-button: 2px;
  --radius-small: 2px;
  --radius-card: 8px;
  
  /* Container */
  --container-max-width: 1280px;
  
  /* Grid */
  --grid-columns-desktop: 3;
  --grid-gap: 20px;
  
  /* Shadows */
  --shadow-card: 0px 4px 20px rgba(0, 0, 0, 0.08);
  
  /* Typography */
  --font-heading: "Museo Slab 500", serif;
  --font-body: "Trebuchet MS", sans-serif;
  
  --font-size-h1: 58px;
  --font-size-h2: 42px;
  --font-size-h3: 32px;
  --font-size-h4: 24px;
  --font-size-h5: 20px;
  --font-size-h6: 18px;
  --font-size-body: 16px;
  --font-size-body-small: 14px;
  --font-size-tag: 12px;
  --font-size-button: 18px;
  --font-size-button-small: 16px;
  
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  --line-height-heading: 1;
  --line-height-body: 1.85;
  --line-height-tight: 1.3;
}

/* ============================================
   BASE TYPOGRAPHY
   ============================================ */
body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: var(--color-text-primary);
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

p + p {
  margin-top: 0.75rem;
}

h1, .h1, .heading-xl {
  font-family: var(--font-heading);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-heading);
}

h2, .h2, .heading-lg {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-heading);
  text-transform: capitalize;
  color: var(--color-text-primary);
}

h3, .h3, .heading-md {
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-heading);
  color: var(--color-text-primary);
}

h4, .h4, .heading-sm {
  font-family: var(--font-heading);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-heading);
  color: var(--color-text-primary);
}

h5, .h5 {
  font-family: var(--font-heading);
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-heading);
}

h6, .h6 {
  font-family: var(--font-heading);
  font-size: var(--font-size-h6);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-heading);
}

a {
  color: var(--color-link, #0b4ea2);
}

a:hover, a:focus {
  text-decoration: underline;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--button-gap);
  padding: var(--button-padding-y) var(--button-padding-x);
  border-radius: var(--radius-button);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--font-size-button);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-body);
  text-decoration: none;
  text-transform: none;
}

.btn-primary {
  background-color: var(--color-button-primary-bg);
  color: var(--color-button-primary-text);
}

.btn-primary:hover, .btn-primary:focus {
  text-decoration: underline;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-dark-blue);
  font-size: var(--font-size-button-small);
  font-weight: var(--font-weight-semibold);
  border: 1px solid var(--color-text-dark-blue);
}

.btn-secondary:hover, .btn-secondary:focus {
  text-decoration: underline;
}

/* ============================================
   NAVIGATION
   ============================================ */
.cdrd-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cdrd-nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--color-text-primary, #111827);
}

.cdrd-nav a:hover, .cdrd-nav a:focus {
  text-decoration: underline;
}

/* ============================================
   CARDS
   ============================================ */
.program-card, .resource-card, .about-card {
  background-color: #ffffff;
  border-radius: var(--radius-card, 8px);
  box-shadow: var(--shadow-card, 0 4px 20px rgba(0,0,0,0.08));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.program-card__image, .resource-card__image, .about-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.program-card__image img, .resource-card__image img, .about-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.program-card__body, .resource-card__body, .about-card__body {
  padding: 1rem 1.25rem 1.25rem;
  transition: all 0.3s ease;
  background-color: #ffffff;
}

.program-card__title, .resource-card__title, .about-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
  color: var(--color-text-primary);
}

.program-card__summary, .about-card__summary {
  color: var(--color-text-secondary, #4b5563);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

/* Program Card Hover Effects - Blue Background with White Text */
.program-card:hover {
  background-color: #252b69 !important;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);
}

.program-card:hover .program-card__image {
  position: relative;
}

.program-card:hover .program-card__image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #252b69;
  opacity: 0.6; /* Reduced opacity so image shows through more */
  z-index: 1;
}

.program-card:hover .program-card__image img {
  opacity: 0.8; /* Increased opacity so photo is more visible */
  transform: scale(1.05);
}

.program-card:hover .program-card__body {
  background-color: #252b69 !important;
  position: relative;
  z-index: 2;
}

.program-card:hover .program-card__title {
  color: #ffffff !important;
}

.program-card:hover .program-card__summary {
  color: #ffffff !important;
}

.program-card:hover .btn-primary {
  background-color: #fed107 !important;
  color: #252b69 !important;
  border: none;
}

/* Ensure program cards are clickable */
a.program-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

a.program-card:hover {
  text-decoration: none;
}

/* ============================================
   PROGRAM SIDEBAR NAVIGATION TABS
   ============================================ */
.program-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.program-sidebar-nav__item {
  display: flex;
  align-items: center;
  padding: 20px 30px;
  background-color: #ffffff;
  border-radius: var(--radius-card, 8px);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #393939;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.3;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 70px;
}

.program-sidebar-nav__item:hover {
  background-color: #252b69 !important;
  color: #ffffff !important;
  text-decoration: none;
}

.program-sidebar-nav__item--active {
  background-color: var(--color-primary-yellow) !important;
  color: var(--color-primary-blue) !important;
}

.program-sidebar-nav__item--back {
  font-weight: var(--font-weight-normal);
  font-size: 14px;
  color: #3a3a3a;
  line-height: 1.85;
}

.program-sidebar-nav__item--back:hover {
  background-color: #252b69 !important;
  color: #ffffff !important;
}

.about-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
}

.about-card__title {
  font-size: 1.25rem;
}

.resource-card {
  background-color: transparent;
  box-shadow: var(--shadow-card, 0 8px 24px rgba(0, 0, 0, 0.25));
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card, 8px);
  display: flex;
  flex-direction: column;
}

.resource-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.resource-card__image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(37, 43, 105, 0.6) 0%, rgba(37, 43, 105, 0.95) 100%);
  z-index: 1;
}

.resource-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
}

.resource-card__body {
  padding: 1.5rem;
  background-color: rgba(37, 43, 105, 0.95);
  position: relative;
  z-index: 2;
}

.resource-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: var(--font-weight-normal);
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.resource-card__summary {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.resource-card .btn-primary {
  background-color: var(--color-button-primary-bg);
  color: var(--color-button-primary-text);
}

/* ============================================
   LAYOUT
   ============================================ */
.page-wrapper {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-page-gutter);
}

/* Header */
.cdrd-header-top {
  background-color: var(--color-bg-dark);
  padding: 9px var(--spacing-page-gutter);
  min-height: 40px;
  height: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.cdrd-header-top > div[style*="max-width: 1280px"] {
  align-items: center !important;
}

.cdrd-header-top > div[style*="max-width: 1280px"] > div[style*="display: flex"] {
  align-items: center !important;
}

.cdrd-header-top > div[style*="max-width: 1280px"] > div[style*="display: flex"] > div[style*="display: flex"] {
  align-items: center !important;
  flex-shrink: 0 !important;
}

/* Base icon size for header top */
.cdrd-header-top img[src*="icon-phone"],
.cdrd-header-top img[src*="icon-mail"],
.cdrd-header-top img[alt*="Phone"],
.cdrd-header-top img[alt*="Email"],
.cdrd-header-top img {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
  aspect-ratio: 1 / 1 !important;
  transition: width 0.2s ease, height 0.2s ease;
}

.cdrd-header-top p {
  color: var(--color-text-white);
  font-family: var(--font-body);
  font-size: var(--font-size-tag);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-body);
}

.cdrd-header-top a {
  color: var(--color-text-white);
  text-decoration: none;
}

.cdrd-header-top a:hover {
  text-decoration: underline;
}

.cdrd-header-wrapper {
  position: relative;
  z-index: 100;
  width: 100%;
  overflow: visible;
}

.cdrd-header-top {
  position: relative;
  z-index: 101;
  width: 100%;
  overflow: hidden;
}

.cdrd-header {
  background-color: var(--color-bg-white);
  padding: 25px var(--spacing-page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 100;
}

.cdrd-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cdrd-header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cdrd-header__logo img {
  max-height: 56px;
  width: auto;
}

.cdrd-header__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cdrd-header__nav a {
  white-space: nowrap;
}

.cdrd-header__nav a {
  color: var(--color-text-primary);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-semibold);
  text-transform: capitalize;
  transition: opacity 0.2s ease;
}

.cdrd-header__nav a:hover,
.cdrd-header__nav a:focus {
  opacity: 0.8;
  text-decoration: underline;
}

/* Programs Dropdown Indicator */
.cdrd-header__nav-item--dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cdrd-header__nav-item--dropdown::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--color-primary-blue);
  margin-left: 4px;
}

/* Hero */
.cdrd-hero {
  background-image: url('../images/hero-tem.jpg');
  background-size: cover;
  background-position: center 30%; /* Focus on upper portion to keep face visible */
  background-attachment: scroll;
  position: relative;
  padding: 4rem 0 3rem; /* Reduced top padding to move content up */
  /* Fixed height to maintain consistent view across all devices */
  height: 475px;
  min-height: 475px;
  max-height: 475px;
  display: flex;
  align-items: flex-end; /* Align content to bottom */
  justify-content: flex-start; /* Align content to the left */
  /* Optimize image loading */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  will-change: background-image;
  /* Prevent cropping on resize - maintain image parity */
  background-repeat: no-repeat;
  overflow: hidden; /* Ensure content doesn't overflow */
}

/* Responsive hero image - maintain consistent view across all devices */
@media (max-width: 1200px) {
  .cdrd-hero {
    background-position: center 30%;
    height: 475px;
    min-height: 475px;
    max-height: 475px;
  }
}

@media (max-width: 768px) {
  .cdrd-hero {
    background-size: cover;
    background-position: center 30%;
    height: 400px;
    min-height: 400px;
    max-height: 400px;
    padding: 2rem 0;
  }
}

@media (min-width: 1400px) {
  .cdrd-hero {
    background-size: cover;
    background-position: center 25%; /* Keep face visible on larger screens */
    height: 475px;
    min-height: 475px;
    max-height: 475px;
  }
}

@media (min-width: 1920px) {
  .cdrd-hero {
    background-position: center 20%; /* Further adjust for very large screens */
  }
}

/* Specific rule for programs hero image to ensure face stays visible */
.cdrd-hero[style*="programs-hero.png"] {
  background-position: center 30% !important;
}

@media (min-width: 1400px) {
  .cdrd-hero[style*="programs-hero.png"] {
    background-position: center 25% !important;
  }
}

@media (min-width: 1920px) {
  .cdrd-hero[style*="programs-hero.png"] {
    background-position: center 20% !important;
  }
}

@media (min-width: 2560px) {
  .cdrd-hero[style*="programs-hero.png"] {
    background-position: center 15% !important;
  }
}

.cdrd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* 80% opacity overlay using #1B1F4C (rgb(27, 31, 76)) */
  background: rgba(27, 31, 76, 0.8);
  z-index: 0;
}

.cdrd-hero__content {
  position: relative;
  z-index: 1;
  color: white;
  padding-bottom: 2rem; /* Add bottom padding for spacing from bottom edge */
  margin-top: 0;
}

/* About Us Hero Section */
.cdrd-hero-about {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* Use aspect ratio to maintain parity - prevents cropping on resize */
  aspect-ratio: 16 / 9;
  min-height: 500px;
  max-height: 800px;
}

.cdrd-hero-about__image {
  position: absolute;
  inset: 0;
  background-image: url('../images/about-us/about-us-hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  z-index: 0;
  /* Optimize image loading */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  will-change: background-image;
}

/* Responsive about hero image - maintain parity on resize */
@media (max-width: 1200px) {
  .cdrd-hero-about {
    aspect-ratio: 16 / 9;
  }
  .cdrd-hero-about__image {
    background-position: center center;
  }
}

@media (max-width: 768px) {
  .cdrd-hero-about {
    aspect-ratio: 16 / 9;
    min-height: 400px;
    max-height: 600px;
  }
  .cdrd-hero-about__image {
    background-size: cover;
    background-position: center center;
  }
}

@media (min-width: 1400px) {
  .cdrd-hero-about {
    aspect-ratio: 16 / 9;
    max-height: 900px;
  }
  .cdrd-hero-about__image {
    background-size: cover;
    background-position: center center;
  }
}

/* Fallback for browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
  .cdrd-hero-about {
    height: 56.25vw; /* 16:9 aspect ratio using viewport width */
    min-height: 500px;
    max-height: 800px;
  }
  
  @media (max-width: 768px) {
    .cdrd-hero-about {
      min-height: 400px;
      max-height: 600px;
    }
  }
  
  @media (min-width: 1400px) {
    .cdrd-hero-about {
      max-height: 900px;
    }
  }
}

.cdrd-hero-about__overlay {
  position: absolute;
  inset: 0;
  /* 70% opacity overlay using #1B1F4C (rgb(27, 31, 76)) */
  background: rgba(27, 31, 76, 0.7);
  z-index: 1;
}

.cdrd-hero-about__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 120px;
}

.cdrd-hero-about__title {
  font-family: var(--font-heading);
  font-size: 58px;
  color: white;
  line-height: 1;
  text-align: left;
  width: 585px;
  margin: 0;
}

/* Legislation Hero Section */
.cdrd-hero-legislation {
  height: 475px;
  min-height: 475px;
  max-height: 475px;
  position: relative;
  overflow: hidden;
}

/* Responsive legislation hero - maintain consistent view */
@media (max-width: 768px) {
  .cdrd-hero-legislation {
    height: 400px;
    min-height: 400px;
    max-height: 400px;
  }
}

.cdrd-hero-legislation__image {
  position: absolute;
  inset: 0;
  background-image: url('../images/legislation/legislation-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.cdrd-hero-legislation__overlay {
  position: absolute;
  inset: 0;
  /* 50% opacity overlay (50% image visibility) - darker for legislation page */
  background: linear-gradient(90deg, rgba(27, 31, 76, 0.5) 0%, rgba(27, 31, 76, 0.5) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
  z-index: 1;
}

.cdrd-hero-legislation__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
}

.cdrd-hero-legislation__title {
  font-family: var(--font-heading);
  font-size: 58px;
  color: white;
  line-height: 1;
  text-align: left;
  margin: 0;
}

/* CAS Hero Section */
.cdrd-hero-cas {
  height: 475px;
  position: relative;
  overflow: hidden;
}

.cdrd-hero-cas__image {
  position: absolute;
  inset: 0;
  background-image: url('../images/programs/program-cas-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.cdrd-hero-cas__overlay {
  position: absolute;
  inset: 0;
  /* 50% opacity overlay (50% image visibility) - darker for CAS page */
  background: linear-gradient(90deg, rgba(27, 31, 76, 0.5) 0%, rgba(27, 31, 76, 0.5) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
  z-index: 1;
}

.cdrd-hero-cas__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
}

.cdrd-hero-cas__title {
  font-family: var(--font-heading);
  font-size: 58px;
  color: white;
  line-height: 1;
  text-align: left;
  margin: 0;
}

/* CAS Tab Buttons */
.cas-tab-button {
  background-color: white;
  color: #393939;
  border: none;
  padding: 20px 30px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  cursor: pointer;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-card, 8px);
  margin-bottom: 10px;
  text-align: left;
  transition: all 0.3s ease;
  width: 100%;
}

.cas-tab-button.active {
  background-color: #252b69;
  color: white;
}

.cas-tab-button:not(.active):hover {
  background-color: #f9fafb;
}

/* CTAP Hero Section */
.cdrd-hero-ctap {
  height: 475px;
  position: relative;
  overflow: hidden;
}

.cdrd-hero-ctap__image {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-tem.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.cdrd-hero-ctap__overlay {
  position: absolute;
  inset: 0;
  /* 50% opacity overlay (50% image visibility) - darker for CTAP page */
  background: linear-gradient(90deg, rgba(27, 31, 76, 0.5) 0%, rgba(27, 31, 76, 0.5) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
  z-index: 1;
}

.cdrd-hero-ctap__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
}

.cdrd-hero-ctap__title {
  font-family: var(--font-heading);
  font-size: 58px;
  color: white;
  line-height: 1;
  text-align: left;
  margin: 0;
}

/* CTAP Tab Buttons */
.ctap-tab-button {
  background-color: white;
  color: #393939;
  border: none;
  padding: 20px 30px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  cursor: pointer;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-card, 8px);
  margin-bottom: 10px;
  text-align: left;
  transition: all 0.3s ease;
  width: 100%;
}

.ctap-tab-button.active {
  background-color: #252b69;
  color: white;
}

.ctap-tab-button:not(.active):hover {
  background-color: #f9fafb;
}

/* Community Relations Hero Section */
.cdrd-hero-community-relations {
  height: 475px;
  position: relative;
  overflow: hidden;
}

.cdrd-hero-community-relations__image {
  position: absolute;
  inset: 0;
  background-image: url('../images/programs/community-relations/community-relations-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.cdrd-hero-community-relations__overlay {
  position: absolute;
  inset: 0;
  /* 50% opacity overlay (50% image visibility) - darker for Community Relations page */
  background: linear-gradient(90deg, rgba(27, 31, 76, 0.5) 0%, rgba(27, 31, 76, 0.5) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
  z-index: 1;
}

.cdrd-hero-community-relations__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
}

.cdrd-hero-community-relations__title {
  font-family: var(--font-heading);
  font-size: 58px;
  color: white;
  line-height: 1;
  text-align: left;
  margin: 0;
}

/* COEHDI Hero Section */
.cdrd-hero-coehdi {
  height: 475px;
  position: relative;
  overflow: hidden;
}

.cdrd-hero-coehdi__image {
  position: absolute;
  inset: 0;
  background-image: url('../images/programs/coehdi/coehdi-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.cdrd-hero-coehdi__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 31, 76, 0.3) 0%, rgba(27, 31, 76, 0.3) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.15) 100%);
  z-index: 1;
}

.cdrd-hero-coehdi__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
}

.cdrd-hero-coehdi__title {
  font-family: var(--font-heading);
  font-size: 58px;
  color: transparent;
  line-height: 1;
  text-align: left;
  margin: 0;
}

/* DeafBlind Programs Hero Section */
.cdrd-hero-deafblind {
  width: 100%;
  height: 475px;
  position: relative;
  overflow: hidden;
}

.cdrd-hero-deafblind__image {
  position: absolute;
  inset: 0;
  background-image: url('../images/programs/deafblind/deafblind-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.cdrd-hero-deafblind__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 31, 76, 0.3) 0%, rgba(27, 31, 76, 0.3) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.15) 100%);
  z-index: 1;
}

.cdrd-hero-deafblind__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
}

.cdrd-hero-deafblind__title {
  font-family: var(--font-heading);
  font-size: 58px;
  color: transparent;
  line-height: 1;
  text-align: left;
  margin: 0;
}

/* System Engagement Hero Section */
.cdrd-hero-system-engagement {
  width: 100%;
  height: 475px;
  position: relative;
  overflow: hidden;
}

.cdrd-hero-system-engagement__image {
  position: absolute;
  inset: 0;
  background-image: url('../images/programs/system-engagement/system-engagement-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.cdrd-hero-system-engagement__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 31, 76, 0.3) 0%, rgba(27, 31, 76, 0.3) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.15) 100%);
  z-index: 1;
}

.cdrd-hero-system-engagement__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
}

.cdrd-hero-system-engagement__title {
  font-family: var(--font-heading);
  font-size: 58px;
  color: transparent;
  line-height: 1;
  text-align: left;
  margin: 0;
}

/* Vendors Hero Section */
.cdrd-hero-vendors {
  width: 100%;
  height: 475px;
  position: relative;
  overflow: hidden;
}

.cdrd-hero-vendors__image {
  position: absolute;
  inset: 0;
  background-image: url('../images/vendors/vendors-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.cdrd-hero-vendors__overlay {
  position: absolute;
  inset: 0;
  /* 80% opacity overlay using #1B1F4C (rgb(27, 31, 76)) */
  background: rgba(27, 31, 76, 0.8);
  z-index: 1;
}

.cdrd-hero-vendors__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
}

.cdrd-hero-vendors__title {
  font-family: var(--font-heading);
  font-size: 58px;
  color: transparent;
  line-height: 1;
  text-align: left;
  margin: 0;
}

/* Vendor Navigation Buttons */
.vendor-nav-button {
  background: white;
  padding: 30px 10px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  color: var(--color-primary-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex: 1;
  min-height: 106px;
}

.vendor-nav-button.active {
  background: var(--color-primary-blue);
  color: white;
}

.vendor-nav-button:hover:not(.active) {
  background: var(--color-primary-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0px 6px 25px rgba(0,0,0,0.12);
}

/* Fee Schedule Cards */
.fee-schedule-card {
  background: white;
  padding: 20px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 80px;
  min-height: 200px;
  width: 370px;
}

.fee-schedule-card__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-h5);
  color: var(--color-text-primary);
  margin: 0;
  text-transform: capitalize;
}

.fee-schedule-card__buttons {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.fee-schedule-card__button {
  border: 1px solid var(--color-primary-blue);
  padding: 10px 20px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-blue);
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  transition: all 0.3s ease;
}

.fee-schedule-card__button:hover {
  background: var(--color-primary-blue);
  color: white;
}

/* Service Provider Lookup */
.provider-lookup-section {
  background: #f9fafb;
  padding: 20px;
  border-radius: var(--radius-card);
  margin-bottom: 20px;
}

.provider-lookup-filters {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.provider-lookup-filters__intro {
  flex: 0 0 420px;
}

.provider-lookup-filters__intro h4 {
  font-family: var(--font-heading);
  font-size: var(--font-size-h5);
  color: var(--color-text-dark-gray);
  margin: 0 0 18px 0;
}

.provider-lookup-filters__intro p {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-style: italic;
  color: var(--color-text-gray);
  margin: 0;
}

.provider-lookup-filters__checkboxes {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.provider-lookup-checkbox {
  display: flex;
  gap: 12px;
  align-items: center;
}

.provider-lookup-checkbox input[type="checkbox"] {
  width: 18px;
  height: 17px;
  border: 1px solid var(--color-primary-blue);
  border-radius: 2px;
  cursor: pointer;
}

.provider-lookup-checkbox label {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-primary);
  cursor: pointer;
  text-transform: capitalize;
}

.provider-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.provider-card {
  background: white;
  padding: 20px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 220px;
  justify-content: flex-end;
}

.provider-card h4 {
  font-family: var(--font-heading);
  font-size: var(--font-size-h5);
  color: var(--color-text-primary);
  margin: 0;
  text-transform: capitalize;
}

.provider-card .provider-category {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-primary-blue);
  margin: 0;
}

.provider-card .provider-url {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-dark-gray);
  margin: 0;
}

.provider-card .provider-url a {
  color: var(--color-text-dark-gray);
  text-decoration: underline;
}

/* Stay Connected Hero Section */
.cdrd-hero-stay-connected {
  width: 100%;
  height: 475px;
  position: relative;
  overflow: hidden;
}

.cdrd-hero-stay-connected__image {
  position: absolute;
  inset: 0;
  background-image: url('../images/stay-connected/stay-connected-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.cdrd-hero-stay-connected__overlay {
  position: absolute;
  inset: 0;
  /* 80% opacity overlay using #1B1F4C (rgb(27, 31, 76)) */
  background: rgba(27, 31, 76, 0.8);
  z-index: 1;
}

.cdrd-hero-stay-connected__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
}

.cdrd-hero-stay-connected__title {
  font-family: var(--font-heading);
  font-size: 58px;
  color: white;
  line-height: 1;
  text-align: left;
  margin: 0;
}

/* Newsletter Cards */
.newsletter-card {
  background: white;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.newsletter-card__image {
  width: 100%;
  height: 166px;
  object-fit: cover;
}

.newsletter-card__content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.newsletter-card__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-h5);
  color: var(--color-text-primary);
  margin: 0;
  text-transform: capitalize;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.newsletter-card__description {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-dark-gray);
  line-height: 1.85;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.newsletter-card__date {
  font-family: var(--font-body);
  font-size: 12px;
  color: #bcbcbc;
  margin: 0;
}

/* Newsletter List Items */
.newsletter-list-item {
  background: white;
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-gray);
  text-transform: capitalize;
}

.newsletter-list-item.active {
  background: var(--color-primary-blue);
  color: white;
}

/* Social Media Section */
.social-media-section {
  background: var(--color-primary-blue);
  padding: 40px;
  border-radius: var(--radius-card);
  color: white;
}

.social-media-section h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: white;
  margin: 0 0 10px 0;
}

.social-media-section p {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: white;
  margin: 0 0 20px 0;
}

.social-media-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-media-link {
  display: flex;
  gap: 15px;
  align-items: center;
  color: white;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-semibold);
}

.social-media-link img {
  width: 32px;
  height: 24px;
}

.social-media-row {
  display: flex;
  gap: 15px;
}

/* Contact Cards Section */
.contact-cards-section {
  background: var(--color-primary-blue);
  padding: 80px 0;
}

.contact-cards-section h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: white;
  margin: 0 0 40px 0;
}

.contact-card {
  background: white;
  padding: 20px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  justify-content: flex-end;
}

.contact-card h4 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-text-gray);
  margin: 0;
  text-transform: capitalize;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-card ul li {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-primary-blue);
  line-height: 1.3;
  margin-bottom: 0;
}

.contact-card a {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-primary-blue);
  text-decoration: underline;
  margin-top: auto;
}

/* Subscribe Form Section */
.subscribe-form-section {
  background: rgba(37, 43, 105, 0.1);
  padding: 80px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.subscribe-form-section__image {
  flex: 0 0 616px;
  height: 538px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.subscribe-form-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subscribe-form-section__form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.subscribe-form-section h2 {
  font-family: var(--font-heading);
  font-size: 42px;
  color: #313131;
  line-height: 1.1;
  margin: 0;
}

.subscribe-form-section p {
  font-family: var(--font-body);
  font-size: 18px;
  color: #313131;
  line-height: 1.3;
  margin: 0;
}

.subscribe-form-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 40px;
}

.subscribe-form-checkbox {
  display: flex;
  gap: 8px;
  align-items: center;
}

.subscribe-form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.subscribe-form-checkbox label {
  font-family: var(--font-body);
  font-size: 16px;
  color: #313131;
  cursor: pointer;
}

.subscribe-form-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.subscribe-form-row {
  display: flex;
  gap: 16px;
}

.subscribe-form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.subscribe-form-field label {
  font-family: var(--font-body);
  font-size: 16px;
  color: #313131;
}

.subscribe-form-field input {
  background: white;
  border: none;
  border-bottom: 1px solid #c1c7cd;
  padding: 12px 16px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #313131;
  height: 48px;
}

.subscribe-form-field.full-width {
  flex: 1 0 100%;
}

/* Community Relations Tab Buttons */
.cr-tab-button {
  background-color: white;
  color: #393939;
  border: none;
  padding: 20px 30px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-transform: capitalize;
  cursor: pointer;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-card, 8px);
  margin-bottom: 10px;
  text-align: left;
  transition: all 0.3s ease;
  width: 100%;
}

.cr-tab-button.active {
  background-color: #252b69;
  color: white;
}

.cr-tab-button:not(.active):hover {
  background-color: #f9fafb;
}

.cdrd-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 2rem;
}

.cdrd-hero-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-heading);
  color: white;
  margin-bottom: 1rem;
}

.cdrd-hero-summary {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
}

/* Homepage Sections */
.homepage-section {
  padding: 3rem 0;
  position: relative;
  z-index: 1;
}

.homepage-section--programs {
  background-color: #f9fafb;
}

.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-normal);
}

.section-intro {
  margin-top: 0.75rem;
  max-width: 48rem;
  color: var(--color-text-secondary, #4b5563);
  line-height: 1.3;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 24px;
  color: #393939;
  margin-bottom: 20px;
}

.section-sub-subtitle {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #353535;
  margin-bottom: 10px;
}

/* Uniform paragraph line-height for COEHDI and other program pages */
.homepage-section p,
.section-subtitle + p,
.section-sub-subtitle + p,
.section-intro {
  line-height: 1.3;
}

.cdrd-program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.homepage-section--resources {
  background-color: var(--color-bg-dark);
  color: var(--color-text-white);
}

.homepage-section--resources .section-intro {
  color: rgba(255, 255, 255, 0.9);
}

.cdrd-resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.section-header--on-dark .section-title {
  color: #ffffff;
}

.section-header--on-dark .section-intro {
  color: rgba(255, 255, 255, 0.9);
}

.homepage-section--about {
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

/* Contact Band */
.homepage-section--contact {
  background-color: #1B1F4C; /* Solid blue background */
  background-image: none; /* Remove background image */
  position: relative;
  padding: 4rem 0;
}

/* Remove overlay for solid blue background */
.homepage-section--contact::before {
  display: none;
}

.homepage-section--contact .contact-band {
  position: relative;
  z-index: 1;
  text-align: left; /* Changed to left align */
}

.contact-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.contact-band__content {
  max-width: 36rem;
  text-align: left; /* Ensure left alignment */
}

.contact-band__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-heading);
  color: var(--color-text-white);
  margin-bottom: var(--spacing-element-gap);
  text-transform: none; /* Ensure text stays as written, no capitalization */
}

.contact-band__summary {
  color: var(--color-text-white);
}

.contact-band__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.contact-band__phone,
.contact-band__email {
  font-weight: 500;
  text-decoration: none;
  color: var(--color-text-white) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-band__phone:hover, 
.contact-band__phone:focus,
.contact-band__email:hover,
.contact-band__email:focus {
  text-decoration: underline;
}

/* Footer */
.cdrd-footer {
  background-color: white; /* White background */
  color: var(--color-text-primary); /* Dark text */
  padding: 3rem var(--spacing-page-gutter) 1rem;
  margin-top: 3rem;
}

.cdrd-footer-content {
  display: flex;
  gap: 136px;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.cdrd-footer-logo {
  flex: 0 0 auto;
}

.cdrd-footer-logo-img {
  max-width: 300px;
  height: auto;
  /* Logo in original colors - no filter */
}

.cdrd-footer-logo img {
  max-width: 300px;
  height: auto;
}

.cdrd-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 320px;
}

.cdrd-footer-contact-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--font-size-h5);
  color: var(--color-text-primary);
  font-weight: var(--font-weight-normal);
  text-transform: capitalize;
}

.cdrd-footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cdrd-footer-contact-item img {
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
}

.cdrd-footer-contact-item a.cdrd-footer-link,
.cdrd-footer-contact-item span.cdrd-footer-link {
  color: var(--color-text-gray);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
}

.cdrd-footer-icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
  aspect-ratio: 1 / 1 !important;
  /* All footer icons are blue to match email icon */
  filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(2000%) hue-rotate(220deg) brightness(0.9) contrast(1.2) !important;
}

.cdrd-footer-link {
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.cdrd-footer-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.cdrd-footer-socials {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 1rem;
}

.cdrd-footer-socials img {
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
}

.cdrd-footer-social-link {
  display: inline-block;
}

.cdrd-footer-social-icon {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
  aspect-ratio: 1 / 1 !important;
  /* All footer icons are blue to match email icon */
  filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(2000%) hue-rotate(220deg) brightness(0.9) contrast(1.2) !important;
}

.cdrd-footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 280px;
}

.cdrd-footer-links .cdrd-footer-contact-title {
  margin-bottom: 0;
}

.cdrd-footer-links .cdrd-footer-link {
  font-family: var(--font-heading);
  font-size: var(--font-size-body);
  color: var(--color-text-primary);
}

.cdrd-footer-copyright {
  border-top: 1px solid var(--color-border-light-gray);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cdrd-footer-copyright-text {
  margin: 0;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--font-size-tag);
}

.cdrd-footer .page-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cdrd-footer a {
  color: var(--color-text-primary);
  text-decoration: none;
}

.cdrd-footer a:hover, .cdrd-footer a:focus {
  text-decoration: underline;
}

.cdrd-footer p {
  margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  :root {
    --spacing-page-gutter: 20px;
    --grid-columns-desktop: 1;
  }
  
  .cdrd-hero {
    min-height: 400px;
    padding: 2rem 0;
  }
  
  .cdrd-hero__content {
    padding: 0 20px !important;
  }
  
  .cdrd-hero-title {
    font-size: 28px !important;
  }
  
  .cdrd-program-grid,
  .cdrd-resources-grid,
  .about-grid {
    grid-template-columns: 1fr !important;
  }
  
  .contact-band {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cdrd-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cdrd-footer-content {
    flex-direction: column;
    gap: 2rem !important;
  }
  
  /* Header - mobile layout */
  .cdrd-header {
    position: relative;
    z-index: 10;
  }
  
  .cdrd-header > div[style*="max-width: 1280px"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 0 20px !important;
  }
  
  .cdrd-header__logo {
    position: relative;
    z-index: 10;
    width: 100%;
    margin-bottom: 1rem;
    max-width: 100%;
  }
  
  .cdrd-header__logo img {
    max-width: 100%;
    height: auto;
  }
  
  .cdrd-header__nav {
    flex-direction: row !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 1rem;
    position: relative;
    z-index: 10;
    flex-wrap: wrap !important;
  }
  
  .cdrd-header__nav a {
    width: auto !important;
    padding: 8px 4px !important;
    border-bottom: none !important;
    white-space: nowrap !important;
    font-size: 13px !important;
  }
  
  /* Top bar - keep visible on mobile, don't hide */
  .cdrd-header-top {
    min-height: auto !important;
    height: auto !important;
    padding: 10px 20px !important;
  }
  
  .cdrd-header-top > div[style*="max-width: 1280px"] {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 20px !important;
    gap: 15px !important;
  }
  
  .cdrd-header-top > div[style*="max-width: 1280px"] > div[style*="display: flex"] {
    flex-wrap: wrap !important;
    gap: 15px !important;
    justify-content: center !important;
  }
  
  .cdrd-header-top img[src*="icon-phone"],
  .cdrd-header-top img[src*="icon-mail"],
  .cdrd-header-top img[alt*="Phone"],
  .cdrd-header-top img[alt*="Email"],
  .cdrd-header-top img {
    width: 13px !important;
    height: 13px !important;
    flex-shrink: 0 !important;
    display: block !important;
  }
  
  .cdrd-header-top p {
    font-size: 11px !important;
    white-space: nowrap !important;
  }
  
  /* Find what you need cards - stack on mobile */
  .homepage-section > div[style*="max-width: 1280px"] {
    padding: 0 20px !important;
  }
  
  .homepage-section > div > div[style*="display: flex"][style*="flex-direction: column"] > div[style*="display: flex"] {
    flex-direction: column !important;
  }
  
  .homepage-section > div > div[style*="display: flex"][style*="flex-direction: column"] > div[style*="display: flex"] > a {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  
  /* About Us sections - stack on mobile */
  section > div[style*="max-width: 1280px"] {
    padding: 0 20px !important;
  }
  
  section > div[style*="max-width: 1280px"] > div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 2rem !important;
  }
  
  section > div[style*="max-width: 1280px"] > div[style*="display: flex"] > div[style*="flex:"] {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  section > div[style*="max-width: 1280px"] > div[style*="display: flex"] > div[style*="flex:"] > img {
    width: 100% !important;
    height: auto !important;
  }
  
  /* Program grid - single column on mobile */
  div[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Resources grid - single column on mobile */
  div[style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Footer padding */
  .cdrd-footer > div[style*="max-width: 1280px"] {
    padding: 0 20px !important;
  }
  
  /* Contact band padding */
  .homepage-section--contact > div[style*="max-width: 1280px"] {
    padding: 0 20px !important;
  }
  
  h1, .h1 {
    font-size: 32px;
  }
  
  h2, .h2 {
    font-size: 28px;
  }
  
  h3 {
    font-size: 24px;
  }
}

@media (max-width: 1024px) {
  :root {
    --grid-columns-desktop: 2;
    --spacing-page-gutter: 40px;
  }
  
  .cdrd-program-grid[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .cdrd-hero__content {
    padding: 0 40px !important;
  }
  
  /* Find what you need - 2 columns on tablet */
  .homepage-section > div > div[style*="display: flex"] > div[style*="display: flex"] {
    flex-wrap: wrap;
  }
  
  .homepage-section > div > div[style*="display: flex"] > div[style*="display: flex"] > a {
    flex: 1 1 calc(50% - 10px) !important;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-page-gutter: 16px;
  }
  
  .cdrd-hero-title {
    font-size: 24px !important;
  }
  
  .cdrd-hero-summary {
    font-size: 14px !important;
  }
}

/* Find What You Need Cards - Hover Effects */
.find-card {
  background: white !important;
  border: 2px solid transparent !important;
}

.find-card:hover {
  background: #252b69 !important;
  border-color: #252b69 !important;
}

.find-card:hover p {
  color: white !important;
}

/* Program Navigation Cards - Hover Effects */
.program-nav-card {
  transition: all 0.3s ease;
}

.program-nav-card:hover {
  background: var(--color-primary-blue) !important;
}

.program-nav-card:hover p {
  color: white !important;
}

/* Footer icons - Blue color (#252b69) for email, phone, Facebook, YouTube, Instagram */
/* Footer contact icons - Email and Phone */
.cdrd-footer-contact-item img[src*="icon-phone"],
.cdrd-footer-contact-item img[src*="icon-mail"],
.cdrd-footer-contact-item img[alt*="Phone icon"],
.cdrd-footer-contact-item img[alt*="Email icon"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  object-fit: contain !important;
  aspect-ratio: 1 / 1 !important;
  filter: brightness(0) saturate(100%) invert(15%) sepia(95%) saturate(2000%) hue-rotate(230deg) brightness(0.85) contrast(1.1) !important; /* Brand blue #252b69 */
}

/* Footer social media icons - Facebook, YouTube, Instagram */
.cdrd-footer-socials img[src*="icon-facebook"],
.cdrd-footer-socials img[src*="icon-instagram"],
.cdrd-footer-socials img[src*="icon-youtube"],
.cdrd-footer-socials img[alt*="Facebook"],
.cdrd-footer-socials img[alt*="Instagram"],
.cdrd-footer-socials img[alt*="YouTube"] {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain !important;
  aspect-ratio: 1 / 1 !important;
  filter: brightness(0) saturate(100%) invert(15%) sepia(95%) saturate(2000%) hue-rotate(230deg) brightness(0.85) contrast(1.1) !important; /* Brand blue #252b69 */
}

/* Other footer icons (location, fax, linkedin) - also blue */
.cdrd-footer-contact-item img[src*="icon-location"],
.cdrd-footer-contact-item img[src*="icon-fax"],
.cdrd-footer-contact-item img[alt*="Location icon"],
.cdrd-footer-contact-item img[alt*="Fax icon"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  object-fit: contain !important;
  aspect-ratio: 1 / 1 !important;
  filter: brightness(0) saturate(100%) invert(15%) sepia(95%) saturate(2000%) hue-rotate(230deg) brightness(0.85) contrast(1.1) !important; /* Brand blue #252b69 */
}

.cdrd-footer-socials img[src*="icon-linkedin"],
.cdrd-footer-socials img[alt*="LinkedIn"] {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain !important;
  aspect-ratio: 1 / 1 !important;
  filter: brightness(0) saturate(100%) invert(15%) sepia(95%) saturate(2000%) hue-rotate(230deg) brightness(0.85) contrast(1.1) !important; /* Brand blue #252b69 */
}

/* Contact band icons */
/* Contact band icons - Yellow color (#fed107) for "Need help or have a question?" section only */
.contact-band__phone img[src*="icon-phone"],
.contact-band__email img[src*="icon-mail"],
.contact-band__phone img[alt*="Phone icon"],
.contact-band__email img[alt*="Email icon"] {
  filter: brightness(0) saturate(100%) invert(78%) sepia(98%) saturate(1352%) hue-rotate(1deg) brightness(102%) contrast(101%) !important; /* Yellow color (#fed107) */
}

/* Header contact icons (if they exist) */
.cdrd-header__contact img[src*="icon-phone"],
.cdrd-header__contact img[src*="icon-mail"],
.cdrd-header__contact img[alt*="Phone icon"],
.cdrd-header__contact img[alt*="Email icon"] {
  filter: brightness(0) saturate(100%) invert(78%) sepia(98%) saturate(1352%) hue-rotate(1deg) brightness(102%) contrast(101%) !important;
}

/* Header top bar phone and email icons - Yellow Color (#fed107) */
.cdrd-header-top img[src*="icon-phone"],
.cdrd-header-top img[src*="icon-mail"],
.cdrd-header-top img[alt*="Phone icon"],
.cdrd-header-top img[alt*="Email icon"] {
  filter: brightness(0) saturate(100%) invert(78%) sepia(98%) saturate(1352%) hue-rotate(1deg) brightness(102%) contrast(101%) !important;
}

/* ============================================
   COMPREHENSIVE RESPONSIVE FIXES
   ============================================ */

/* Base responsive container */
.page-wrapper,
div[style*="max-width: 1280px"] {
  max-width: 100% !important;
  padding-left: var(--spacing-page-gutter) !important;
  padding-right: var(--spacing-page-gutter) !important;
  box-sizing: border-box;
}

/* Ensure all images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Prevent horizontal overflow - critical for 200% zoom */
body, html {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative;
}

/* Ensure containers respect viewport width - but allow flex/grid children to shrink */
div, section, article, aside, nav, main, header, footer {
  max-width: 100%;
  box-sizing: border-box;
}

/* Exception for images and media that should scale */
img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* Make all fixed-width elements responsive */
* {
  box-sizing: border-box;
}

/* Hero sections - responsive height */
@media (max-width: 768px) {
  .cdrd-hero-ctap,
  .cdrd-hero-community-relations,
  .cdrd-hero-coehdi,
  .cdrd-hero-deafblind,
  .cdrd-hero-system-engagement,
  .cdrd-hero-vendors,
  .cdrd-hero-stay-connected {
    height: auto !important;
    min-height: 300px !important;
  }
  
  .cdrd-hero-ctap__content,
  .cdrd-hero-community-relations__content,
  .cdrd-hero-coehdi__content,
  .cdrd-hero-deafblind__content,
  .cdrd-hero-system-engagement__content,
  .cdrd-hero-vendors__content,
  .cdrd-hero-stay-connected__content {
    padding: 20px !important;
    padding-bottom: 30px !important;
  }
  
  .cdrd-hero-ctap__title,
  .cdrd-hero-community-relations__title,
  .cdrd-hero-coehdi__title,
  .cdrd-hero-deafblind__title,
  .cdrd-hero-system-engagement__title,
  .cdrd-hero-vendors__title,
  .cdrd-hero-stay-connected__title {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
}

/* Program pages with sidebars - stack on mobile */
@media (max-width: 1024px) {
  /* Two-column layouts become single column */
  .program-page-layout,
  div[style*="display: flex"][style*="gap:"] {
    flex-direction: column !important;
  }
  
  /* Sidebar navigation */
  .program-sidebar-nav {
    width: 100% !important;
    margin-bottom: 2rem;
  }
  
  /* Main content area */
  .program-main-content {
    width: 100% !important;
  }
  
  /* Program detail cards - stack on tablet and smaller */
  .program-detail-card {
    flex-direction: column !important;
    height: auto !important;
    min-height: auto !important;
  }
  
  .program-detail-card > div[style*="width: 536px"] {
    width: 100% !important;
    height: 300px !important;
    min-height: 300px !important;
    flex-shrink: 1 !important;
  }
  
  .program-detail-card > div[style*="flex: 1"] {
    flex: 1 1 auto !important;
    padding: 40px !important;
    min-width: 0 !important;
  }
}

/* Program detail cards - responsive on smaller screens */
@media (max-width: 768px) {
  .program-detail-card {
    flex-direction: column !important;
    height: auto !important;
    min-height: auto !important;
  }
  
  .program-detail-card > div[style*="width: 536px"] {
    width: 100% !important;
    height: 250px !important;
    min-height: 250px !important;
    flex-shrink: 1 !important;
    order: -1; /* Image first on mobile */
  }
  
  .program-detail-card > div[style*="flex: 1"] {
    flex: 1 1 auto !important;
    padding: 30px 20px !important;
    min-width: 0 !important;
  }
  
  .program-detail-card h3 {
    font-size: 24px !important;
  }
  
  .program-detail-card p {
    font-size: 14px !important;
  }
}

/* Tab buttons - stack on mobile */
@media (max-width: 768px) {
  .ctap-tab-button,
  .cr-tab-button,
  .cas-tab-button,
  .vendor-nav-button {
    width: 100% !important;
    margin-bottom: 10px;
  }
  
  /* Tab container */
  .tab-container,
  div[style*="display: flex"][style*="flex-direction: column"] {
    width: 100% !important;
  }
}

/* Forms - responsive */
@media (max-width: 768px) {
  form {
    width: 100% !important;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  
  .form-row,
  div[style*="display: flex"][style*="gap:"] {
    flex-direction: column !important;
  }
  
  .form-group {
    width: 100% !important;
    margin-bottom: 1rem;
  }
}

/* Buttons - responsive */
@media (max-width: 768px) {
  .btn,
  .btn-primary,
  .btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .button-group,
  div[style*="display: flex"][style*="gap:"][style*="items-center"] {
    flex-direction: column !important;
    width: 100% !important;
  }
  
  .button-group .btn,
  .button-group a {
    width: 100% !important;
    margin-bottom: 10px;
  }
}

/* Cards - responsive */
@media (max-width: 768px) {
  .fee-schedule-card {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .newsletter-card {
    width: 100% !important;
  }
}

/* Text overflow prevention */
@media (max-width: 768px) {
  p, h1, h2, h3, h4, h5, h6, span, a {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Long email addresses and phone numbers */
  .cdrd-header-contact-item p,
  .contact-email-box__email {
    font-size: 11px !important;
    word-break: break-all;
  }
}

/* Header top bar - keep visible and responsive at all sizes */
@media (max-width: 1200px) {
  .cdrd-header-top img[src*="icon-phone"],
  .cdrd-header-top img[src*="icon-mail"],
  .cdrd-header-top img[alt*="Phone"],
  .cdrd-header-top img[alt*="Email"],
  .cdrd-header-top img {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
    flex-shrink: 0 !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}

@media (max-width: 1024px) {
  .cdrd-header-top {
    padding: 8px 20px !important;
    min-height: auto !important;
  }
  
  .cdrd-header-top > div[style*="max-width: 1280px"] {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 15px !important;
    padding: 0 20px !important;
    align-items: center !important;
  }
  
  .cdrd-header-top > div[style*="max-width: 1280px"] > div[style*="display: flex"] {
    flex-wrap: wrap !important;
    gap: 15px !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .cdrd-header-top > div[style*="max-width: 1280px"] > div[style*="display: flex"] > div[style*="display: flex"] {
    align-items: center !important;
    flex-shrink: 0 !important;
  }
  
  .cdrd-header-top img[src*="icon-phone"],
  .cdrd-header-top img[src*="icon-mail"],
  .cdrd-header-top img[alt*="Phone"],
  .cdrd-header-top img[alt*="Email"],
  .cdrd-header-top img {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    flex-shrink: 0 !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center !important;
  }
  
  .cdrd-header-top p {
    font-size: 11px !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }
}

@media (max-width: 768px) {
  .cdrd-header-top {
    padding: 8px 15px !important;
  }
  
  .cdrd-header-top > div[style*="max-width: 1280px"] {
    padding: 0 15px !important;
    gap: 10px !important;
  }
  
  .cdrd-header-top > div[style*="max-width: 1280px"] > div[style*="display: flex"] {
    gap: 10px !important;
  }
  
  .cdrd-header-top img[src*="icon-phone"],
  .cdrd-header-top img[src*="icon-mail"],
  .cdrd-header-top img[alt*="Phone"],
  .cdrd-header-top img[alt*="Email"],
  .cdrd-header-top img {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    min-height: 12px !important;
    max-width: 12px !important;
    max-height: 12px !important;
    flex-shrink: 0 !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center !important;
  }
  
  .cdrd-header-top p {
    font-size: 10px !important;
  }
}

@media (max-width: 480px) {
  .cdrd-header-top img[src*="icon-phone"],
  .cdrd-header-top img[src*="icon-mail"],
  .cdrd-header-top img[alt*="Phone"],
  .cdrd-header-top img[alt*="Email"],
  .cdrd-header-top img {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    max-width: 10px !important;
    max-height: 10px !important;
    object-fit: contain !important;
    object-position: center !important;
  }
  
  .cdrd-header-top p {
    font-size: 9px !important;
  }
}

/* Navigation - prevent line breaks within links, center when wrapping */
@media (max-width: 1200px) {
  .cdrd-header__nav {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  
  .cdrd-header__nav a {
    white-space: nowrap !important;
    font-size: clamp(12px, 1.2vw, 16px) !important;
  }
}

/* Navigation - mobile menu */
@media (max-width: 768px) {
  .cdrd-header__nav {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }
  
  .cdrd-header__nav a {
    font-size: 12px !important;
    padding: 6px 4px !important;
    white-space: nowrap !important;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-gray);
  margin: 0;
}

.breadcrumbs a {
  color: var(--color-text-gray);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  color: var(--color-primary-blue);
}

.breadcrumb-section {
  background: #f9fafb;
  padding: 1rem 0;
}

/* Breadcrumbs - responsive */
@media (max-width: 768px) {
  .breadcrumbs,
  p[style*="font-size: 12px"][style*="color: #3a3a3a"] {
    font-size: 11px !important;
    padding: 0 20px !important;
  }
}

/* Content sections - responsive padding */
@media (max-width: 1024px) {
  section {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}

@media (max-width: 768px) {
  section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* Grid layouts - responsive */
@media (max-width: 1024px) {
  .vendor-nav-container,
  div[style*="display: flex"][style*="gap: 20px"] {
    flex-direction: column !important;
  }
  
  .vendor-nav-button {
    width: 100% !important;
  }
}

/* Newsletter grid - responsive */
@media (max-width: 768px) {
  .newsletter-grid,
  div[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* Contact cards - responsive */
@media (max-width: 768px) {
  .contact-cards,
  div[style*="display: flex"][style*="gap: 20px"][style*="flex-wrap: wrap"] {
    flex-direction: column !important;
  }
  
  .contact-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Tables - responsive (if any) */
@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    width: 100%;
  }
}

/* Footer - responsive */
@media (max-width: 768px) {
  .cdrd-footer-content {
    flex-direction: column !important;
    gap: 2rem !important;
  }
  
  .cdrd-footer-content > div {
    width: 100% !important;
  }
  
  .cdrd-footer-logo img,
  .cdrd-footer-logo-img {
    max-width: 250px !important;
    height: auto !important;
  }
}

/* Intro sections with contact boxes - stack on mobile */
@media (max-width: 1024px) {
  .intro-section,
  div[style*="display: flex"][style*="justify-content: space-between"] {
    flex-direction: column !important;
    gap: 2rem !important;
  }
  
  .contact-email-box {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Additional responsive fixes for inline styles */
@media (max-width: 1024px) {
  /* Override inline padding */
  div[style*="padding: 0 80px"] {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
  
  /* Override inline max-width containers */
  div[style*="max-width: 1280px"] {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}

@media (max-width: 768px) {
  /* Override inline padding for mobile */
  div[style*="padding: 0 80px"],
  div[style*="padding: 0 40px"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  /* Override inline max-width containers for mobile */
  div[style*="max-width: 1280px"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  /* Fix flex containers that might overflow */
  div[style*="display: flex"] {
    flex-wrap: wrap !important;
  }
  
  /* Ensure all text containers don't overflow */
  div[style*="width:"] {
    max-width: 100% !important;
  }
  
  /* Fix specific width constraints */
  div[style*="width: 737px"],
  div[style*="width: 738px"],
  div[style*="width: 410px"],
  div[style*="width: 413px"] {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Ensure hero sections scale properly */
@media (max-width: 480px) {
  .cdrd-hero-ctap__title,
  .cdrd-hero-community-relations__title,
  .cdrd-hero-coehdi__title,
  .cdrd-hero-deafblind__title,
  .cdrd-hero-system-engagement__title,
  .cdrd-hero-vendors__title,
  .cdrd-hero-stay-connected__title {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }
  
  .cdrd-hero-ctap,
  .cdrd-hero-community-relations,
  .cdrd-hero-coehdi,
  .cdrd-hero-deafblind,
  .cdrd-hero-system-engagement,
  .cdrd-hero-vendors,
  .cdrd-hero-stay-connected {
    min-height: 250px !important;
  }
}

/* Fix logo sizing */
@media (max-width: 768px) {
  .cdrd-header__logo img {
    max-width: 200px !important;
    height: auto !important;
  }
}

/* Fix tab content areas */
@media (max-width: 1024px) {
  .tab-content,
  .ctap-tab-content,
  .cr-tab-content,
  .coehdi-tab-content {
    width: 100% !important;
    padding: 20px !important;
  }
}

/* Fix vendor navigation buttons container */
@media (max-width: 768px) {
  .vendor-nav-container,
  div[style*="display: flex"][style*="gap: 20px"][style*="align-items: stretch"] {
    flex-direction: column !important;
    width: 100% !important;
  }
}

/* ============================================
   200% ZOOM ACCESSIBILITY FIXES
   WCAG 2.1 Level AA requires content to be usable at 200% zoom
   ============================================ */

/* At 200% zoom, viewport effectively halves, so we need to handle narrower effective widths */
@media (max-width: 1280px) {
  /* Fix fixed flex-basis values that cause overflow at 200% zoom */
  div[style*="flex: 0 0 630px"],
  div[style*="flex: 0 0 530px"],
  div[style*="flex: 0 0 738px"],
  div[style*="flex: 0 0 438px"],
  div[style*="flex: 0 0 420px"],
  div[style*="flex: 0 0 400px"],
  div[style*="flex: 0 0 413px"] {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  
  /* Ensure flex containers wrap at 200% zoom */
  div[style*="display: flex"][style*="gap:"] {
    flex-wrap: wrap !important;
  }
  
  /* Program detail cards - responsive at 200% zoom */
  .program-detail-card {
    flex-direction: column !important;
    height: auto !important;
    min-height: auto !important;
  }
  
  .program-detail-card > div[style*="width: 536px"] {
    width: 100% !important;
    height: auto !important;
    min-height: 250px !important;
    flex-shrink: 1 !important;
    max-width: 100% !important;
  }
  
  .program-detail-card > div[style*="flex: 1"] {
    flex: 1 1 auto !important;
    padding: clamp(20px, 5vw, 40px) !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  
  .program-detail-card img {
    width: 100% !important;
    height: auto !important;
    min-height: 250px !important;
    object-fit: cover !important;
  }
  
  /* Reduce padding at narrower widths for 200% zoom */
  div[style*="padding: 0 80px"] {
    padding-left: clamp(20px, 5vw, 80px) !important;
    padding-right: clamp(20px, 5vw, 80px) !important;
  }
  
  /* Fix max-width containers to prevent overflow */
  div[style*="max-width: 1280px"] {
    max-width: 100% !important;
    padding-left: clamp(20px, 5vw, 80px) !important;
    padding-right: clamp(20px, 5vw, 80px) !important;
  }
  
  /* Ensure all fixed widths become flexible */
  div[style*="width: 630px"],
  div[style*="width: 530px"],
  div[style*="width: 738px"],
  div[style*="width: 438px"],
  div[style*="width: 420px"],
  div[style*="width: 400px"],
  div[style*="width: 413px"] {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Fix gap values that might be too large at 200% zoom */
  div[style*="gap: 120px"],
  div[style*="gap: 129px"],
  div[style*="gap: 80px"],
  div[style*="gap: 100px"],
  div[style*="gap: 114px"],
  div[style*="gap: 136px"] {
    gap: clamp(20px, 5vw, 60px) !important;
  }
  
  /* Grid layouts become responsive at 200% zoom */
  div[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  }
  
  div[style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Tables become horizontally scrollable at 200% zoom */
  table {
    display: block !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Hero sections maintain aspect but scale down */
  .cdrd-hero,
  .cdrd-hero-about,
  .cdrd-hero-legislation {
    height: auto !important;
    min-height: 350px !important;
    max-height: 450px !important;
  }
  
  /* Hero titles scale appropriately */
  .cdrd-hero-title,
  .cdrd-hero-about__title,
  .cdrd-hero-legislation__title {
    font-size: clamp(32px, 5vw, 58px) !important;
  }
  
  /* Navigation wraps if needed */
  .cdrd-header__nav {
    flex-wrap: wrap !important;
  }
  
  /* Ensure images scale properly */
  img, video, iframe, embed, object {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Prevent containers from causing horizontal scroll */
  div, section, article, aside, nav, main, header, footer {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  
  /* Ensure flex and grid children can shrink */
  div[style*="display: flex"] > *,
  div[style*="display: grid"] > * {
    min-width: 0 !important;
  }
  
  /* Fix text containers with max-width */
  p[style*="max-width: 680px"],
  p[style*="max-width: 1122px"] {
    max-width: 100% !important;
  }
}

/* Additional fixes for effective widths at 200% zoom (640px effective = 1280px at 200%) */
@media (max-width: 640px) {
  /* Force single column layouts */
  div[style*="display: flex"][style*="gap:"] {
    flex-direction: column !important;
  }
  
  /* Remove all fixed widths */
  div[style*="flex: 0 0"] {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Reduce all padding */
  div[style*="padding:"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  /* Ensure buttons are full width */
  button[style*="width: 159px"],
  .btn[style*="width:"] {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Grid layouts become single column */
  div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Hero sections scale down */
  .cdrd-hero,
  .cdrd-hero-about,
  .cdrd-hero-legislation,
  .cdrd-hero-ctap,
  .cdrd-hero-community-relations,
  .cdrd-hero-coehdi,
  .cdrd-hero-deafblind,
  .cdrd-hero-system-engagement,
  .cdrd-hero-vendors,
  .cdrd-hero-stay-connected {
    height: auto !important;
    min-height: 300px !important;
    max-height: 400px !important;
  }
  
  /* Hero titles scale down */
  .cdrd-hero-title,
  .cdrd-hero-about__title,
  .cdrd-hero-legislation__title {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
  
  /* Navigation wraps */
  .cdrd-header__nav {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  
  /* Tables become scrollable */
  table {
    display: block !important;
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Fix any remaining large gaps */
  div[style*="gap: 80px"],
  div[style*="gap: 100px"],
  div[style*="gap: 114px"] {
    gap: 20px !important;
  }
}

/* Fix newsletter subscribe form */
@media (max-width: 768px) {
  .subscribe-form,
  form[style*="display: flex"] {
    flex-direction: column !important;
    width: 100% !important;
  }
  
  .subscribe-form input,
  .subscribe-form button {
    width: 100% !important;
    margin-bottom: 10px;
  }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS (WCAG 2.1 Level AA)
   ============================================ */

/* Skip to main content link - Hidden until focused */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary-blue);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--color-primary-yellow);
  outline-offset: 2px;
}

/* Enhanced focus indicators for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
.cdrd-header__nav a:focus,
.btn:focus,
.ctap-tab-button:focus,
.cr-tab-button:focus,
.cas-tab-button:focus,
.vendor-nav-button:focus,
.program-sidebar-nav__item:focus {
  outline: 3px solid var(--color-primary-yellow) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 2px white, 0 0 0 5px var(--color-primary-yellow) !important;
}

/* Remove default outline only when using mouse, keep for keyboard */
.js-focus-visible :focus:not(.focus-visible) {
  outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --color-text-primary: #000000;
    --color-text-gray: #000000;
    --color-border-gray: #000000;
  }
  
  .btn-primary {
    border: 2px solid #000000;
  }
  
  .btn-secondary {
    border: 2px solid #000000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Form accessibility improvements */
label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
}

label.required::after {
  content: " *";
  color: #dc2626;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border-gray);
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: 1.5;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  border-color: var(--color-primary-blue);
  outline: 3px solid var(--color-primary-yellow);
  outline-offset: 2px;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: #dc2626;
  border-width: 2px;
}

.error-message {
  color: #dc2626;
  font-size: var(--font-size-body-small);
  margin-top: 0.25rem;
  display: block;
}

.error-message::before {
  content: "Error: ";
  font-weight: bold;
}

/* Button accessibility */
button,
.btn {
  cursor: pointer;
}

button:disabled,
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Link accessibility */
a[href^="tel:"]::before {
  content: "Phone: ";
  sr-only: true;
}

a[href^="mailto:"]::before {
  content: "Email: ";
  sr-only: true;
}

/* Image accessibility - decorative images */
img[alt=""] {
  role: presentation;
}

/* Table accessibility */
table {
  border-collapse: collapse;
  width: 100%;
}

th {
  background-color: var(--color-primary-blue);
  color: white;
  padding: 12px;
  text-align: left;
  font-weight: var(--font-weight-semibold);
}

td {
  padding: 12px;
  border-bottom: 1px solid var(--color-border-light-gray);
}

caption {
  font-weight: var(--font-weight-semibold);
  margin-bottom: 0.5rem;
  text-align: left;
}

/* Landmark regions */
main {
  min-height: 50vh;
}

nav[aria-label],
nav[aria-labelledby] {
  role: navigation;
}

/* ARIA live regions */
[aria-live="polite"],
[aria-live="assertive"] {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Loading states */
[aria-busy="true"] {
  position: relative;
}

[aria-busy="true"]::after {
  content: "Loading...";
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Tab navigation accessibility */
[role="tablist"] {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

[role="tab"] {
  padding: 12px 24px;
  border: none;
  background: white;
  cursor: pointer;
  font-weight: var(--font-weight-semibold);
}

[role="tab"][aria-selected="true"] {
  background-color: var(--color-primary-yellow);
  color: var(--color-primary-blue);
}

[role="tab"]:focus {
  outline: 3px solid var(--color-primary-yellow);
  outline-offset: 2px;
}

[role="tabpanel"] {
  padding: 20px;
}

[role="tabpanel"][aria-hidden="true"] {
  display: none;
}

/* Color contrast improvements */
/* Ensure text meets WCAG AA contrast ratios */
.cdrd-header-top p,
.cdrd-header-top a {
  color: #ffffff !important;
  background-color: transparent;
}

/* Ensure buttons have sufficient contrast */
.btn-primary {
  background-color: var(--color-primary-yellow);
  color: var(--color-primary-blue);
  /* Yellow (#fed107) on Blue (#252b69) text meets WCAG AA */
}

.btn-secondary {
  color: var(--color-primary-blue);
  border-color: var(--color-primary-blue);
  /* Blue text on white meets WCAG AA */
}

/* Ensure focus is always visible */
*:focus-visible {
  outline: 3px solid var(--color-primary-yellow) !important;
  outline-offset: 2px !important;
}

/* Heading hierarchy - ensure proper sizing */
h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-normal);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-normal);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-normal);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-normal);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

/* Ensure list items are properly structured */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Ensure sufficient spacing for touch targets (mobile) */
@media (max-width: 768px) {
  a, button, input, select, textarea {
    min-height: 44px; /* WCAG 2.5.5 Target Size */
    min-width: 44px;
  }
  
  .cdrd-header__nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Ensure text is readable */
body {
  font-size: var(--font-size-body);
  line-height: 1.85;
  color: var(--color-text-primary);
}

/* Ensure sufficient color contrast for all text */
p, span, div, a {
  color: var(--color-text-primary);
}

/* Footer logo responsive sizing */
@media (max-width: 768px) {
  .cdrd-footer-logo img,
  .cdrd-footer-logo-img {
    max-width: 250px !important;
    height: auto !important;
  }
}

/* Links must be distinguishable */
a {
  color: var(--color-primary-blue);
  text-decoration: underline;
}

a:visited {
  color: var(--color-primary-blue);
}

a:hover,
a:focus {
  color: var(--color-primary-blue);
  text-decoration: underline;
}

/* Ensure form error states are clear */
.field-error {
  border-color: #dc2626 !important;
  border-width: 2px !important;
}

.field-error-message {
  color: #dc2626;
  font-size: var(--font-size-body-small);
  margin-top: 0.25rem;
  display: block;
  font-weight: var(--font-weight-medium);
}

/* ============================================
   RESPONSIVE LAYOUT SYSTEM
   Based on original Figma design breakpoints
   ============================================ */

/* Responsive Container Classes */
.container {
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-left: var(--spacing-page-gutter);
  padding-right: var(--spacing-page-gutter);
  width: 100%;
}

/* Header Container */
.header-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-page-gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Header Top Contact Row */
.header-top-content {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.header-contact-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-contact-item img {
  width: 16px;
  height: 16px;
}

.header-contact-item p {
  margin: 0;
  color: white;
  font-size: 12px;
  font-weight: 500;
}

.header-contact-item a {
  color: white;
  text-decoration: none;
}

/* Section Containers */
.section {
  padding: var(--spacing-page-gutter) 0;
}

.section--gray {
  background: #f9fafb;
}

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

.section--white {
  background: white;
}

/* Find What You Need Cards Grid */
.find-cards-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 2rem;
}

.find-cards-row {
  display: flex;
  gap: 20px;
}

.find-card {
  flex: 1;
  background: white;
  padding: 30px 10px;
  border-radius: var(--radius-card);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 20px 0px rgba(0,0,0,0.08);
  min-height: 90px;
}

.find-card p {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: #252b69;
  margin: 0;
  text-align: center;
  line-height: 1.3;
}

.find-card:hover {
  background: #252b69;
}

.find-card:hover p {
  color: white;
}

/* Program Grid - Responsive */
.program-grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), 1fr);
  gap: 20px;
}

/* Resources Grid - Responsive */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* About Section Layout */
.about-row {
  display: flex;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.about-row:last-child {
  margin-bottom: 0;
}

.about-row--reverse {
  flex-direction: row-reverse;
}

.about-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-content-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-image {
  flex: 1;
  max-width: 632px;
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

/* Section Headers */
.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.section-title--white {
  color: white;
}

.section-intro {
  font-size: var(--font-size-body);
  color: var(--color-text-gray);
  max-width: 600px;
  line-height: 1.85;
}

.section-intro--light {
  color: rgba(255,255,255,0.9);
}

/* Section CTA Center */
.section-cta-center {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* Header Logo */
.header-logo-img {
  max-height: 45px;
  width: auto;
}

/* Stats Cards (Did You Know section) */
.stats-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.stat-card {
  background: white;
  padding: 60px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  flex: 1;
  max-width: 410px;
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: 58px;
  color: #ff3514;
  margin-bottom: 1rem;
  line-height: 1;
}

.stat-card__text {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-gray);
  line-height: 1.4;
  margin: 0;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 305px));
  gap: 20px;
  margin-bottom: 3rem;
}

.team-grid--2col {
  grid-template-columns: repeat(2, 305px);
}

.team-grid--3col {
  grid-template-columns: repeat(3, 305px);
}

.team-card {
  display: flex;
  flex-direction: column;
}

.team-card__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-card);
  margin-bottom: 1rem;
}

.team-card__vacant {
  width: 100%;
  height: 250px;
  background: #f3f4f6;
  border: 2px dashed #d1d5db;
  border-radius: var(--radius-card);
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.team-card__vacant-icon {
  width: 80px;
  height: 80px;
  fill: #9ca3af;
  margin-bottom: 1rem;
}

.team-card__vacant-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: #6b7280;
  margin: 0;
  text-transform: uppercase;
}

.team-card__info {
  padding: 0 20px;
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
  text-transform: capitalize;
}

.team-card__role {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.team-card__email {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-primary-blue);
  text-decoration: none;
}

/* Accordion */
.accordion-item {
  background: white;
  border-radius: var(--radius-card);
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  background: white;
  padding: 30px;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.accordion-header h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-text-primary);
  margin: 0;
}

.accordion-icon {
  width: 20px;
  height: 20px;
  fill: var(--color-primary-blue);
  transition: transform 0.3s ease;
}

.accordion-icon--open {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 30px 30px 30px;
  display: none;
}

.accordion-content--open {
  display: block;
}

.accordion-content a {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-primary-blue);
  text-decoration: none;
  line-height: 1.85;
  display: block;
  margin-bottom: 8px;
}

.accordion-content a:last-child {
  margin-bottom: 0;
}

/* Mission/Vision Card */
.mission-card {
  display: flex;
  gap: 128px;
  align-items: center;
  background: white;
  padding: 80px;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
}

.mission-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mission-card__label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary-blue);
  margin: 0;
  text-transform: uppercase;
}

.mission-card__text {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1;
}

.mission-card__image {
  flex: 0 0 419px;
  height: 391px;
}

.mission-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-card);
}

/* Two Column Layout */
.two-col-layout {
  display: flex;
  gap: 100px;
}

.two-col-layout__sidebar {
  flex: 0 0 441px;
}

.two-col-layout__main {
  flex: 1;
}

/* Section Header with Action */
.section-header-row {
  display: flex;
  gap: 80px;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

/* Contact Band Extended */
.contact-band-extended {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.contact-band__actions-extended {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.contact-band__phone,
.contact-band__email {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
}

.contact-band__phone img,
.contact-band__email img {
  width: 20px;
  height: 20px;
}

/* Program Navigation Cards */
.program-nav-grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), 1fr);
  gap: 20px;
  margin-top: 2rem;
}

.program-nav-card {
  background: white;
  padding: 30px 10px;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  display: block;
  transition: all 0.3s ease;
}

.program-nav-card:hover {
  background: var(--color-primary-blue);
}

.program-nav-card:hover p {
  color: white;
}

.program-nav-card p {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-primary-blue);
  margin: 0;
  line-height: 1.3;
}

/* Program Detail Cards */
.program-detail-card {
  display: flex;
  min-height: 440px;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.program-detail-card--reverse {
  flex-direction: row-reverse;
}

.program-detail-card__content {
  flex: 1;
  background: white;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.program-detail-card__title {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--color-text-primary);
  margin: 0;
  text-transform: capitalize;
}

.program-detail-card__text {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--color-text-dark-gray);
  line-height: 1.3;
}

.program-detail-card__contact {
  display: flex;
  gap: 5px;
  align-items: center;
}

.program-detail-card__contact-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark-gray);
  margin: 0;
  text-transform: capitalize;
}

.program-detail-card__contact-link {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-dark-gray);
  text-decoration: underline;
}

.program-detail-card__image {
  width: 536px;
  flex-shrink: 0;
}

.program-detail-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Resource Directory Cards */
.resource-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.resource-directory-card {
  background: white;
  padding: 20px;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.resource-directory-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
  text-transform: capitalize;
}

.resource-directory-card__category {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-primary-blue);
  margin-bottom: 0.5rem;
}

.resource-directory-card__link {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-text-dark-gray);
  text-decoration: underline;
}

/* Resource Directory Header */
.resource-directory-header {
  display: flex;
  gap: 114px;
  align-items: flex-end;
  margin-bottom: 60px;
}

.resource-directory-header__content {
  flex: 1;
}

.resource-directory-header__cta {
  background: var(--color-primary-blue);
  padding: 20px 40px;
  box-shadow: var(--shadow-card);
  width: 520px;
}

.resource-directory-header__cta h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: white;
  margin-bottom: 1rem;
  text-transform: capitalize;
}

.resource-directory-header__cta a {
  color: white;
  text-decoration: underline;
}

/* Filter Bar */
.filter-bar {
  background: #f9fafb;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.filter-bar__label {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-text-dark-gray);
  margin: 0;
  flex: 1;
}

.filter-bar__dropdown {
  background: white;
  padding: 12px 20px;
  width: 305px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Infoguides Grid */
.infoguides-grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), 1fr);
  gap: 20px;
  margin-top: 30px;
}

.infoguide-button {
  background: white;
  border: 1px solid #e0e0e0;
  padding: 20px;
  border-radius: var(--radius-card);
  text-align: center;
  text-decoration: none;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  transition: all 0.3s ease;
  display: block;
}

.infoguide-button:hover {
  background: #f9fafb;
  border-color: var(--color-primary-blue);
  box-shadow: var(--shadow-card);
}

.infoguide-button--active {
  background: var(--color-primary-blue);
  color: white;
  border-color: var(--color-primary-blue);
}

/* Resource Directory Box */
.resource-directory-cta {
  background: var(--color-primary-blue);
  padding: 20px 40px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  color: white;
}

.resource-directory-cta p {
  font-family: var(--font-body);
  font-size: 16px;
  color: white;
  margin: 0 0 10px 0;
  line-height: 1.85;
}

.resource-directory-cta a {
  color: white;
  text-decoration: underline;
}

/* Resources Hero */
.cdrd-hero-resources {
  width: 100%;
  height: 475px;
  position: relative;
  overflow: hidden;
}

.cdrd-hero-resources__image {
  position: absolute;
  inset: 0;
  background-image: url('../images/resources/resources-hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.cdrd-hero-resources__overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 31, 76, 0.3);
  z-index: 1;
}

.cdrd-hero-resources__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-page-gutter);
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
}

/* Content Row Layout */
.content-row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.content-row__main {
  flex: 1;
}

.content-row__sidebar {
  flex: 0 0 400px;
}

/* Contact Band */
.contact-band-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

/* Footer Layout Fix - Always 3 columns */
.cdrd-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: nowrap;
}

.cdrd-footer-logo {
  flex: 1 1 auto;
  min-width: 200px;
}

.cdrd-footer-contact {
  flex: 1 1 auto;
  min-width: 200px;
}

.cdrd-footer-links {
  flex: 1 1 auto;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.container-fluid {
  width: 100%;
  padding-left: var(--spacing-page-gutter);
  padding-right: var(--spacing-page-gutter);
}

.section-padding {
  padding: var(--spacing-page-gutter);
}

.section-padding-y {
  padding-top: var(--spacing-page-gutter);
  padding-bottom: var(--spacing-page-gutter);
}

/* Grid Columns Variable */
:root {
  --grid-columns: 3;
}

/* Responsive Breakpoints - Following Figma Design */

/* Tablet - 1100px and below */
@media screen and (max-width: 1100px) {
  :root {
    --spacing-page-gutter: 40px;
    --grid-columns: 2;
  }
}

/* Small Tablet - 900px and below */
@media screen and (max-width: 900px) {
  :root {
    --font-size-h1: 48px;
    --font-size-h2: 36px;
    --font-size-h3: 28px;
  }
}

/* Mobile - 600px and below */
@media screen and (max-width: 600px) {
  :root {
    --grid-columns: 1;
    --font-size-h1: 36px;
    --font-size-h2: 28px;
    --font-size-h3: 24px;
  }
}

/* Small Mobile - 400px and below */
@media screen and (max-width: 400px) {
  :root {
    --spacing-page-gutter: 20px;
    --font-size-h1: 28px;
    --font-size-h2: 24px;
  }
}

/* Responsive Rules for Layout Components */

/* Tablet - 1100px */
@media screen and (max-width: 1100px) {
  .about-row {
    gap: 60px;
  }

  .about-image img {
    height: 380px;
  }

  .resources-grid {
    gap: 30px;
  }
}

/* Small Tablet - 900px */
@media screen and (max-width: 900px) {
  .about-row {
    gap: 40px;
  }

  .about-image {
    max-width: 45%;
  }

  .about-image img {
    height: 320px;
  }

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

  .find-cards-row {
    flex-wrap: wrap;
  }

  .find-card {
    flex: 1 1 calc(50% - 10px);
    min-width: 200px;
  }
}

/* Mobile - 600px */
@media screen and (max-width: 600px) {
  .about-row,
  .about-row--reverse {
    flex-direction: column;
    gap: 30px;
  }

  .about-image {
    max-width: 100%;
    width: 100%;
  }

  .about-image img {
    height: 280px;
  }

  .about-content {
    gap: 24px;
  }

  .find-cards-row {
    flex-direction: column;
  }

  .find-card {
    flex: 1 1 100%;
    min-width: unset;
  }

  .header-top-content {
    gap: 15px;
    justify-content: center;
  }

  .header-container {
    flex-direction: column;
    gap: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .cdrd-header__nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .cdrd-footer-content {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 20px;
  }

  .cdrd-footer-logo,
  .cdrd-footer-contact,
  .cdrd-footer-links {
    min-width: 0;
    flex: 1 1 33%;
  }

  .cdrd-footer-logo-img {
    max-width: 100%;
  }

  .section-intro {
    max-width: 100%;
  }
}

/* Small Mobile - 400px */
@media screen and (max-width: 400px) {
  .about-image img {
    height: 200px;
  }

  .header-contact-item {
    font-size: 11px;
  }

  .cdrd-header__nav a {
    font-size: 14px;
  }
}

/* Responsive - Stats Grid */
@media screen and (max-width: 900px) {
  .stats-grid {
    flex-wrap: wrap;
  }

  .stat-card {
    flex: 1 1 calc(50% - 10px);
    min-width: 200px;
    padding: 40px 30px;
  }

  .stat-card__number {
    font-size: 42px;
  }
}

@media screen and (max-width: 600px) {
  .stats-grid {
    flex-direction: column;
  }

  .stat-card {
    max-width: 100%;
    padding: 30px 20px;
  }

  .stat-card__number {
    font-size: 36px;
  }
}

/* Responsive - Team Grid */
@media screen and (max-width: 1100px) {
  .team-grid--2col,
  .team-grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 700px) {
  .team-grid,
  .team-grid--2col,
  .team-grid--3col {
    grid-template-columns: 1fr;
  }
}

/* Responsive - Mission Card */
@media screen and (max-width: 1100px) {
  .mission-card {
    gap: 60px;
    padding: 60px;
  }

  .mission-card__image {
    flex: 0 0 350px;
    height: 320px;
  }

  .mission-card__text {
    font-size: 28px;
  }
}

@media screen and (max-width: 900px) {
  .mission-card {
    flex-direction: column;
    gap: 40px;
    padding: 40px;
  }

  .mission-card__image {
    flex: none;
    width: 100%;
    height: 280px;
  }

  .mission-card__text {
    font-size: 24px;
  }
}

/* Responsive - Two Column Layout */
@media screen and (max-width: 1100px) {
  .two-col-layout {
    gap: 60px;
  }

  .two-col-layout__sidebar {
    flex: 0 0 350px;
  }
}

@media screen and (max-width: 900px) {
  .two-col-layout {
    flex-direction: column;
    gap: 40px;
  }

  .two-col-layout__sidebar {
    flex: none;
    width: 100%;
  }
}

/* Responsive - Section Header Row */
@media screen and (max-width: 900px) {
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* Responsive - Contact Band Extended */
@media screen and (max-width: 900px) {
  .contact-band-extended {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .contact-band__actions-extended {
    align-items: flex-start;
  }
}

/* Responsive - Program Detail Cards */
@media screen and (max-width: 1100px) {
  .program-detail-card__content {
    padding: 50px;
  }

  .program-detail-card__image {
    width: 400px;
  }

  .program-detail-card__title {
    font-size: 28px;
  }
}

@media screen and (max-width: 900px) {
  .program-detail-card,
  .program-detail-card--reverse {
    flex-direction: column;
  }

  .program-detail-card__image {
    width: 100%;
    height: 300px;
  }

  .program-detail-card__content {
    padding: 40px;
  }
}

@media screen and (max-width: 600px) {
  .program-detail-card__content {
    padding: 30px;
  }

  .program-detail-card__title {
    font-size: 24px;
  }

  .program-detail-card__image {
    height: 200px;
  }
}

/* Responsive - Resource Directory */
@media screen and (max-width: 1100px) {
  .resource-directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resource-directory-header {
    gap: 60px;
  }

  .resource-directory-header__cta {
    width: 400px;
  }
}

@media screen and (max-width: 900px) {
  .resource-directory-header {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .resource-directory-header__cta {
    width: 100%;
  }

  .filter-bar {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .filter-bar__dropdown {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .resource-directory-grid {
    grid-template-columns: 1fr;
  }

  .resource-directory-card {
    min-height: 180px;
  }
}

/* Responsive - Content Row */
@media screen and (max-width: 900px) {
  .content-row {
    flex-direction: column;
  }

  .content-row__sidebar {
    flex: none;
    width: 100%;
  }
}

/* Responsive - Resources Hero */
@media screen and (max-width: 900px) {
  .cdrd-hero-resources {
    height: 350px;
  }
}

@media screen and (max-width: 600px) {
  .cdrd-hero-resources {
    height: 250px;
  }
}

/* ============================================
   ACCESSIBILITY PAGE STYLES
   ============================================ */
.accessibility-content {
  max-width: 900px;
  margin: 0 auto;
}

.accessibility-list {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--color-text-gray);
  line-height: var(--line-height-body);
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style: disc;
  padding-left: 0;
}

.accessibility-list li {
  margin-bottom: 0.75rem;
}

.accessibility-list a {
  color: var(--color-primary-blue);
  text-decoration: none;
}

.accessibility-list a:hover {
  text-decoration: underline;
}

.accessibility-updated {
  background: #f9fafb;
  padding: 30px;
  border-radius: var(--radius-card);
  margin-top: 2rem;
}

.accessibility-updated .body-text {
  margin: 0;
}

/* ============================================
   LEGISLATION PAGE STYLES
   ============================================ */
.legislation-intro {
  margin-bottom: 60px;
}

.legislation-subtitle {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-primary-blue);
  margin: 0;
}

.legislation-subtitle a {
  color: var(--color-primary-blue);
  text-decoration: underline;
}

.legislation-section {
  margin-bottom: 40px;
}

.legislation-heading {
  font-family: var(--font-heading);
  font-size: 20px;
  color: #393939;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.legislation-list {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--color-text-gray);
  line-height: var(--line-height-tight);
  list-style: disc;
  padding-left: 24px;
}

.legislation-list li {
  margin-bottom: 8px;
}

.legislation-list a {
  color: var(--color-primary-blue);
  text-decoration: underline;
}

.legislation-list a:hover {
  text-decoration: none;
}

/* ============================================
   SHARED TEXT STYLES
   ============================================ */
.body-text {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  color: var(--color-text-gray);
  line-height: var(--line-height-body);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 26px;
  color: #353535;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

