/* ==========================================================================
   Hero image crop fix
   ========================================================================== */

.c-hero__image img {
  object-position: top !important;
}


/* ==========================================================================
   Header donate button
   ========================================================================== */

.nav__item--donate {
  margin-left: 0.5rem;
}

.nav__donate-btn {
  background: #2c5282 !important;
  color: #fff !important;
  border-radius: 5px;
  padding: 0.45rem 1.25rem !important;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.nav__donate-btn:hover {
  background: #1a3a5c !important;
  color: #fff !important;
}

@media (max-width: 1130px) {
  .nav__item--donate {
    margin-left: 0;
    margin-top: 0.75rem;
  }

  .nav__donate-btn {
    display: inline-block;
  }
}


/* ==========================================================================
   About page - letter layout
   ========================================================================== */

.about-letter {
  max-width: 720px;
  margin: 0 auto;
}

/* Lead paragraph - larger, sets the tone */
.about-intro p {
  font-size: 1.2em;
  line-height: 1.7;
  color: #3a3a3a;
}

/* Credentials section - subtle background card */
.about-credentials {
  margin: 2.5rem 0;
}

.about-credentials-inner {
  background: #f5f7fa;
  border-left: 4px solid #2c5282;
  border-radius: 0 6px 6px 0;
  padding: 1.75rem 2rem;
}

.about-credentials-inner p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about-credentials-inner p:last-child {
  margin-bottom: 0;
}

/* Pull quote - visual break between sections */
.about-pullquote {
  margin: 3rem 0;
  text-align: center;
}

.about-pullquote blockquote {
  font-size: 1.25em;
  font-style: italic;
  line-height: 1.6;
  color: #2c5282;
  border: none;
  padding: 1.5rem 2rem;
  margin: 0 auto;
  max-width: 620px;
  position: relative;
}

.about-pullquote blockquote::before {
  content: "\201C";
  font-size: 4em;
  color: #cbd5e0;
  position: absolute;
  top: -0.15em;
  left: -0.05em;
  line-height: 1;
  font-style: normal;
}

/* Body paragraphs */
.about-body {
  margin: 2rem 0;
}

.about-body p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

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

/* Closing pledge - visually distinct commitment */
.about-pledge {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #e2e8f0;
}

.about-pledge p:first-child {
  font-size: 1.1em;
  font-weight: 500;
  line-height: 1.7;
  color: #1a202c;
}

.about-pledge p:last-child {
  margin-top: 1rem;
  line-height: 1.75;
}


/* ==========================================================================
   About page - CTA section
   ========================================================================== */

.about-cta {
  margin-top: 3.5rem;
  padding: 2.5rem 2rem;
  background: #f5f7fa;
  border-radius: 8px;
  text-align: center;
}

.about-cta__heading {
  margin: 0 0 0.75rem;
  font-size: 1.4em;
  color: #1a202c;
}

.about-cta__contact {
  margin-bottom: 1.5rem;
  font-size: 1.05em;
}

.about-cta__contact a {
  color: #2c5282;
  text-decoration: none;
  font-weight: 500;
}

.about-cta__contact a:hover {
  text-decoration: underline;
}

.about-cta__separator {
  display: inline-block;
  margin: 0 0.6rem;
  color: #a0aec0;
}

.about-cta__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}


/* ==========================================================================
   Responsive adjustments
   ========================================================================== */

@media (max-width: 768px) {
  .about-letter {
    padding: 0 0.5rem;
  }

  .about-intro p {
    font-size: 1.1em;
  }

  .about-credentials-inner {
    padding: 1.25rem 1.5rem;
  }

  .about-pullquote blockquote {
    font-size: 1.1em;
    padding: 1rem 1.5rem;
  }

  .about-pullquote blockquote::before {
    font-size: 3em;
  }

  .about-cta {
    padding: 2rem 1.25rem;
  }

  .about-cta__contact a {
    display: block;
    margin-bottom: 0.25rem;
  }

  .about-cta__separator {
    display: none;
  }
}
.c-header {
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  border-top: 3px solid #2c5282;
}
/* Platform page: accordion policy items */
.platform-detail { margin-top: 60px; }
.platform-detail h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.platform-detail details {
  margin: 12px 0;
  padding: 16px 20px;
  background: rgba(0,0,0,0.025);
  border-radius: 8px;
  border-left: 3px solid rgba(0,0,0,0.15);
}
.platform-detail details[open] {
  background: rgba(0,0,0,0.04);
  border-left-color: rgba(0,0,0,0.4);
}
.platform-detail summary {
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  line-height: 1.4;
}
.platform-detail summary::-webkit-details-marker { display: none; }
.platform-detail summary::before {
  content: "+";
  display: inline-block;
  width: 20px;
  font-weight: 700;
  color: rgba(0,0,0,0.5);
}
.platform-detail details[open] summary::before { content: "−"; }
.platform-detail details p {
  margin: 12px 0 4px 20px;
  color: rgba(0,0,0,0.75);
}


/* ==========================================================================
   Platform page: card titles always visible, no hover effect
   Scoped to .platform-cards so homepage hover behaviour is untouched
   ========================================================================== */

.platform-cards .c-project-card__title,
.platform-cards .c-project-card__subtitle {
  opacity: 1;
  transform: translateZ(0);
}

.platform-cards .c-project-card__image::before {
  opacity: 1;
  visibility: visible;
}

.platform-cards .c-project-card:hover .c-project-card__image img,
.platform-cards .c-project-card__image:hover img {
  transform: none;
}


/* ==========================================================================
   Individual platform page hero image: respect 1:1 source aspect ratio,
   cap max-width so 1024x1024 source images don't blur excessively on wide
   screens. Image dictates its own height instead of being forced into 16:9.
   ========================================================================== */

.c-page-image {
  padding-top: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.c-page-image img {
  position: static !important;
  width: 100%;
  height: auto !important;
  object-fit: unset !important;
}
