
/* Image-based Projects page */
.project-intro { max-width: 760px; font-size: 1.1rem; }
.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 44px;
}
.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(80,25,30,.16);
}
.project-card img,
.project-placeholder {
  width: 100%;
  height: 260px;
  display: block;
}
.project-card img {
  object-fit: cover;
  background: #f7f7f7;
}
.project-card:nth-child(3) img,
.project-card:nth-child(7) img {
  object-fit: contain;
  padding: 18px;
}
.project-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background: linear-gradient(145deg, var(--red), var(--red-dark));
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
}
.project-copy {
  padding: 20px 22px 22px;
  border-top: 4px solid var(--red);
}
.project-copy h2 {
  margin: 0;
  font-size: 1.25rem;
}
.project-copy p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .95rem;
}
.project-copy a { text-decoration: none; }
@media (max-width: 900px) {
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .project-gallery { grid-template-columns: 1fr; }
  .project-card img, .project-placeholder { height: 240px; }
}


/* Team page — preserve original photo proportions */
.team-page {
  max-width: 1040px;
}

.member-row {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.member-photo {
  width: 100%;
  text-align: center;
}

.member-photo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.member-copy h2 {
  margin: 0 0 5px;
  font-size: 1.8rem;
  line-height: 1.2;
}

.member-copy .role {
  margin: 0 0 18px;
  color: var(--red);
  font-weight: 800;
}

.member-copy p {
  margin-top: 0;
}

@media (max-width: 800px) {
  .member-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .member-photo {
    text-align: left;
  }

  .member-photo img {
    max-width: min(100%, 420px);
    margin: 0;
    max-height: none;
  }
}


/* =========================================================
   TEAM PAGE — WordPress-like typography and spacing
   ========================================================= */

body {
  color: #333333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

/* Keep Team page intentionally simpler than the homepage */
.team-page {
  max-width: 1040px;
}

.team-page > h1 {
  width: auto;
  margin: 0 0 30px;
  padding: 0 0 18px;
  border-bottom: 1px solid #d9d9d9;
  color: #333333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
}

/* Remove the large red underline inherited from the general page H1 */
.team-page > h1::after {
  display: none !important;
  content: none !important;
}

.member-row {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  padding: 38px 0;
  border-bottom: 1px solid #dddddd;
}

.member-photo {
  width: 100%;
}

.member-photo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 500px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.member-copy {
  padding-top: 2px;
}

.member-copy h2 {
  margin: 0 0 4px;
  color: #333333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}

.member-copy .role {
  margin: 0 0 17px;
  color: #555555;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.member-copy p {
  max-width: none;
  margin: 0 0 15px;
  color: #444444;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

/* Team page should not have the oversized section heading treatment */
.team-page .eyebrow {
  display: none;
}

@media (max-width: 800px) {
  .team-page > h1 {
    font-size: 29px;
  }

  .member-row {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 32px 0;
  }

  .member-photo img {
    max-width: min(100%, 380px);
    max-height: none;
    margin: 0;
  }

  .member-copy h2 {
    font-size: 23px;
  }
}


/* =========================================================
   TEAM PAGE — refined to match WordPress more closely
   ========================================================= */

.team-page {
  max-width: 980px;
}

.member-row {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  padding: 34px 0 40px;
}

.member-photo img {
  max-width: 280px;
  max-height: 460px;
  margin: 0;
}

.member-copy {
  padding-top: 0;
}

.member-copy h2 {
  margin: 0 0 2px;
  color: #c62828;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.member-copy .role {
  margin: 0 0 14px;
  color: #444444;
  font-size: 15px;
  font-weight: 400;
}

.member-copy p {
  margin: 0 0 12px;
  color: #444444;
  font-size: 15.5px;
  line-height: 1.65;
}

@media (max-width: 800px) {
  .member-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .member-photo img {
    max-width: min(100%, 340px);
    margin: 0;
  }

  .member-copy h2 {
    font-size: 21px;
  }

  .member-copy .role {
    font-size: 15px;
  }

  .member-copy p {
    font-size: 15.5px;
  }
}


/* =========================================================
   HOME PAGE SLIDER
   ========================================================= */

.home-slider {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: #eab5ad;
}

.slides,
.home-slide {
  position: absolute;
  inset: 0;
}

.home-slide {
  opacity: 0;
  visibility: hidden;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: opacity .7s ease, visibility .7s ease;
}

.home-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-inner {
  height: 100%;
  display: flex;
  align-items: center;
}

.slide-copy {
  width: min(47%, 530px);
  padding: 34px 0;
  color: #2f2f2f;
}

.slide-kicker {
  margin-bottom: 8px;
  color: #b51f2e;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.slide-copy h1,
.slide-copy h2 {
  margin: 0 0 16px;
  color: #2d2d2d;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.03em;
}

.slide-copy p {
  max-width: 510px;
  margin: 0 0 24px;
  color: #444;
  font-size: 17px;
  line-height: 1.6;
}

.slide-button {
  display: inline-block;
  padding: 11px 20px;
  border: 1px solid #b51f2e;
  color: #fff;
  background: #b51f2e;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.slide-button:hover {
  color: #b51f2e;
  background: #fff;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.25);
  cursor: pointer;
  font-size: 24px;
}

.slider-prev { left: 18px; }
.slider-next { right: 18px; }

.slider-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
}

.slider-dot.active {
  background: #fff;
}

.home-links {
  background: #b51f2e;
}

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

.home-links a {
  padding: 22px 26px;
  border-right: 1px solid rgba(255,255,255,.2);
  color: #fff;
  text-decoration: none;
}

.home-links a:last-child {
  border-right: 0;
}

.home-links span {
  display: block;
  margin-bottom: 2px;
  font-size: 18px;
  font-weight: 700;
}

.home-links small {
  color: rgba(255,255,255,.8);
  font-size: 13px;
}

.home-intro {
  max-width: 860px;
  font-size: 17px;
}

.home-feature-grid .card h3,
.home-actions .card h3 {
  color: #b51f2e;
}

@media (max-width: 900px) {
  .home-slider {
    height: 500px;
  }

  .home-slide {
    background-position: 62% center;
  }

  .slide-copy {
    width: 55%;
  }

  .home-links-grid {
    grid-template-columns: 1fr;
  }

  .home-links a {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
  }
}

@media (max-width: 650px) {
  .home-slider {
    height: 540px;
  }

  .home-slide {
    background-position: 68% center;
  }

  .home-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.42);
  }

  .slide-inner {
    position: relative;
    z-index: 2;
    align-items: flex-end;
    padding-bottom: 52px;
  }

  .slide-copy {
    width: 85%;
  }

  .slide-copy h1,
  .slide-copy h2 {
    font-size: 38px;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
}


/* =========================================================
   HOMEPAGE — close recreation of the WordPress appearance
   ========================================================= */

.wp-home {
  margin: 0;
  background: #fff;
  color: #444;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.wp-home * { box-sizing: border-box; }

.wp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-top: 18px solid #15183b;
  box-shadow: 0 3px 15px rgba(0,0,0,.05);
}

.wp-header-inner {
  width: min(1160px, 92%);
  height: 108px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wp-logo {
  text-decoration: none;
  color: #dd111f;
  line-height: 1;
}

.wp-logo-main {
  display: block;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -1.2px;
}

.wp-logo-sub {
  display: block;
  margin-top: 4px;
  color: #df111e;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.05;
}

.wp-nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

.wp-nav a {
  color: #282828;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
}

.wp-nav a.active {
  color: #df111e;
  font-weight: 700;
}

.nav-sep {
  height: 26px;
  border-left: 2px dotted #9b9b9b;
}

.nav-chevron {
  font-size: 17px;
  margin-left: 3px;
}

.wp-search {
  padding: 0 12px 0 10px;
  border-right: 1px solid #ddd;
  font-size: 27px;
  color: #141834;
  line-height: 1;
}

.wp-nav .wp-donate {
  margin-left: 8px;
  padding: 14px 24px;
  color: #fff;
  background: #df111e;
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
  font-weight: 800;
  letter-spacing: .3px;
}

/* Slider */
.wp-slider {
  position: relative;
  height: 625px;
  overflow: visible;
  background: #d9aaa3;
}

.wp-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease;
  overflow: hidden;
}

.wp-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.wp-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-slide-copy {
  position: absolute;
  z-index: 3;
  top: 135px;
  right: 9%;
  width: 47%;
  text-align: right;
}

.wp-slide-kicker {
  color: #fff;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 4px;
}

.wp-slide-copy h1 {
  margin: 0;
  color: #df111e;
  font-size: 58px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -2px;
}

.wp-slide-copy p {
  max-width: 650px;
  margin: 20px 0 0 auto;
  color: rgba(255,255,255,.88);
  font-size: 16px;
  line-height: 1.55;
}

.wp-slider-arrows {
  position: absolute;
  z-index: 10;
  bottom: 120px;
  left: 50%;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.wp-arrow {
  width: 29px;
  height: 29px;
  border: 0;
  border-radius: 50%;
  background: #df111e;
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  line-height: 29px;
}

.wp-feature-links {
  position: absolute;
  z-index: 15;
  left: 50%;
  bottom: 0;
  width: min(1140px, 76%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  transform: translate(-50%, 50%);
}

.feature-link {
  min-height: 75px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff !important;
  text-decoration: none;
  font-size: 17px;
}

.feature-link.navy { background: #17193d; }
.feature-link.red { background: #df111e; }

.feature-icon {
  min-width: 42px;
  font-size: 35px;
  line-height: 1;
  text-align: center;
}

.feature-icon.ring {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 24px;
}

/* Mission */
.wp-mission {
  padding: 145px 0 80px;
  background: #fff;
}

.wp-section-inner,
.wp-actions-inner {
  width: min(1110px, 90%);
  margin: 0 auto;
}

.wp-overline {
  margin: 0 0 8px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
}

.red-text { color: #df111e !important; }
.white-text { color: #fff !important; }
.gray { color: #a4a4a4; }

.wp-title-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.short-line {
  width: 62px;
  height: 2px;
  background: #df111e;
}

.short-line.white { background: #fff; }

.wp-title-row h2 {
  margin: 0;
  color: #292929;
  font-size: 39px;
  line-height: 1.1;
  font-weight: 800;
}

.wp-title-row h2 span {
  display: inline-block;
  padding: 4px 9px 5px;
  color: #fff;
  background: #df111e;
}

.wp-section-intro {
  max-width: 800px;
  margin: 26px auto 58px;
  color: #777;
  text-align: center;
  font-size: 16px;
  line-height: 1.55;
}

.wp-mission-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 32px;
}

.wp-mission-item {
  position: relative;
  padding: 35px 16px 28px;
}

.wp-mission-item.featured {
  padding: 42px 34px 54px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(0,0,0,.12);
  border-bottom: 3px solid #df111e;
}

.wp-mission-item.featured::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  border-left: 34px solid transparent;
  border-top: 34px solid transparent;
  border-right: 34px solid #df111e;
  border-bottom: 34px solid #df111e;
  transform: scale(.5);
  transform-origin: bottom right;
}

.featured-arrow {
  position: absolute;
  right: 10px;
  bottom: 0px;
  z-index: 2;
  color: #fff;
  font-size: 26px;
}

.mission-icon {
  height: 44px;
  margin-bottom: 16px;
  font-size: 42px;
  line-height: 1;
}

.wp-mission-item h3 {
  margin: 0 0 15px;
  color: #2c2c2c;
  font-size: 20px;
  font-weight: 800;
}

.wp-mission-item p {
  margin: 0;
  color: #747474;
  font-size: 15.5px;
  line-height: 1.55;
}

/* What do we do */
.wp-actions {
  padding: 42px 0 100px;
  background: #df111e;
  color: #fff;
}

.white-title h2 { color: #fff; }

.white-title h2 span {
  color: #df111e;
  background: #fff;
}

.wp-action-grid {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 56px;
}

.action-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  color: #fff;
}

.action-icon {
  padding-top: 6px;
  color: #fff;
  font-size: 31px;
  line-height: 1;
  text-align: center;
}

.action-item h3 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
}

.mini-line {
  display: block;
  width: 62px;
  height: 2px;
  margin: 14px 0 18px;
  background: #fff;
}

.action-item p {
  margin: 0;
  color: #fff;
  font-size: 15.5px;
  line-height: 1.5;
}

/* Contact callout */
.wp-contact-strip {
  position: relative;
  padding: 0 0 105px;
  background: #fff;
}

.wp-contact-card {
  position: relative;
  top: -1px;
  width: min(1140px, 76%);
  min-height: 205px;
  margin: 0 auto;
  padding: 58px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background: #fff;
  box-shadow: 0 9px 22px rgba(0,0,0,.12);
}

.wp-contact-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -34px;
  height: 35px;
  background: linear-gradient(to bottom right, #efefef 49%, transparent 50%);
  opacity: .85;
}

.wp-contact-card h2 {
  max-width: 850px;
  margin: 0;
  color: #292929;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
}

.wp-contact-card p {
  margin: 8px 0 0;
  color: #777;
  font-size: 15px;
}

.wp-contact-button {
  padding: 13px 26px;
  color: #fff !important;
  background: #df111e;
  text-decoration: none;
  box-shadow: 0 5px 12px rgba(0,0,0,.16);
  font-weight: 700;
}

/* Footer */
.wp-footer {
  min-height: 140px;
  display: grid;
  place-items: end center;
  padding: 0 20px 24px;
  color: #fff;
  background: #17193d;
  border-bottom: 5px solid #df111e;
}

.wp-footer p {
  margin: 0;
  font-size: 15px;
}

/* Hide older generic homepage styles if still present */
.wp-home .site-header,
.wp-home .hero,
.wp-home .home-slider,
.wp-home .home-links,
.wp-home .section.home-mission,
.wp-home .section.home-actions,
.wp-home .footer {
  display: none !important;
}

@media (max-width: 980px) {
  .wp-header-inner {
    height: auto;
    padding: 24px 0;
    align-items: flex-start;
    gap: 20px;
  }

  .wp-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 11px;
  }

  .wp-nav .nav-sep,
  .wp-search {
    display: none;
  }

  .wp-slide-copy {
    right: 5%;
    width: 52%;
  }

  .wp-slide-copy h1 { font-size: 48px; }

  .wp-feature-links,
  .wp-contact-card {
    width: 88%;
  }
}

@media (max-width: 760px) {
  .wp-header {
    position: static;
  }

  .wp-header-inner {
    display: block;
  }

  .wp-nav {
    margin-top: 20px;
    justify-content: flex-start;
  }

  .wp-slider {
    height: 690px;
  }

  .wp-slide img {
    object-position: 58% center;
  }

  .wp-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(218,170,163,.28);
  }

  .wp-slide-copy {
    top: 340px;
    left: 7%;
    right: auto;
    width: 86%;
    text-align: left;
  }

  .wp-slide-kicker { font-size: 24px; }
  .wp-slide-copy h1 { font-size: 42px; }
  .wp-slide-copy p { margin-left: 0; }

  .wp-slider-arrows {
    bottom: 215px;
  }

  .wp-feature-links {
    bottom: -85px;
    width: 90%;
    grid-template-columns: 1fr;
    gap: 8px;
    transform: translateX(-50%);
  }

  .feature-link {
    min-height: 58px;
    padding: 0 28px;
  }

  .wp-mission {
    padding-top: 300px;
  }

  .wp-mission-columns,
  .wp-action-grid {
    grid-template-columns: 1fr;
  }

  .wp-mission-item.featured {
    order: -1;
  }

  .wp-title-row h2 { font-size: 32px; }

  .wp-actions {
    padding-bottom: 70px;
  }

  .wp-contact-card {
    width: 88%;
    padding: 38px 28px;
    align-items: flex-start;
    flex-direction: column;
  }
}


/* =========================================================
   INTERIOR PAGES — WordPress-like shared styling
   ========================================================= */

.interior-page .wp-nav a[href="mission.html"],
.interior-page .wp-nav a[href="get-involved.html"] {
  transition: color .2s ease;
}

.interior-main {
  background: #fff;
}

.interior-hero {
  background: #df111e;
  color: #fff;
  padding: 58px 0 54px;
}

.interior-hero-inner {
  width: min(1110px, 90%);
  margin: 0 auto;
}

.interior-eyebrow {
  margin: 0 0 6px;
  color: rgba(255,255,255,.92);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.interior-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 46px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1.3px;
}

.interior-content {
  padding: 72px 0 90px;
}

.interior-content-inner {
  width: min(1040px, 88%);
  margin: 0 auto;
}

.interior-copy {
  max-width: 880px;
  margin: 0 auto;
}

.interior-copy.wide {
  max-width: 980px;
}

.interior-copy h2 {
  margin: 0 0 18px;
  color: #2c2c2c;
  font-size: 31px;
  font-weight: 800;
}

.interior-copy p {
  margin: 0 0 20px;
  color: #676767;
  font-size: 16px;
  line-height: 1.75;
}

.interior-copy .interior-eyebrow {
  color: #df111e;
}

.interior-divider {
  width: 100%;
  height: 1px;
  margin: 52px 0;
  background: #e7e7e7;
}

.involve-grid {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.involve-card {
  position: relative;
  min-height: 330px;
  padding: 38px 30px;
  background: #fff;
  border-top: 4px solid #df111e;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

.involve-card.red-card {
  color: #fff;
  background: #df111e;
  border-top-color: #17193d;
}

.involve-number {
  margin-bottom: 24px;
  color: #df111e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}

.red-card .involve-number {
  color: #fff;
}

.involve-card h2 {
  margin: 0 0 16px;
  color: #2d2d2d;
  font-size: 24px;
  font-weight: 800;
}

.involve-card p {
  margin: 0;
  color: #6b6b6b;
  font-size: 15.5px;
  line-height: 1.65;
}

.red-card h2,
.red-card p {
  color: #fff;
}

@media (max-width: 800px) {
  .interior-hero {
    padding: 46px 0;
  }

  .interior-hero h1 {
    font-size: 38px;
  }

  .interior-content {
    padding: 52px 0 70px;
  }

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

  .involve-card {
    min-height: 0;
  }
}


/* =========================================================
   WORDPRESS-LIKE NAV DROPDOWNS
   ========================================================= */

.wp-nav {
  position: relative;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  border: 0;
  padding: 0;
  color: #282828;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
}

.nav-dropdown-toggle:hover,
.nav-dropdown:hover > .nav-dropdown-toggle {
  color: #df111e;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -16px;
  z-index: 2000;
  min-width: 190px;
  padding: 10px 0;
  background: #fff;
  border-top: 3px solid #df111e;
  box-shadow: 0 8px 22px rgba(0,0,0,.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: #333 !important;
  white-space: nowrap;
  font-size: 14px;
  text-decoration: none;
}

.nav-dropdown-menu a:hover {
  color: #df111e !important;
  background: #fafafa;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-dropdown {
    width: auto;
  }

  .nav-dropdown-menu {
    top: 100%;
    left: 0;
  }
}

@media (max-width: 760px) {
  .nav-dropdown {
    display: block;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    margin-top: 6px;
    padding: 4px 0 4px 14px;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    padding: 6px 0;
  }
}


/* =========================================================
   SHARED HEADER / FOOTER (Jekyll includes)
   ========================================================= */

.nav-dropdown.current > .nav-dropdown-toggle,
.nav-dropdown-menu a.active {
  color: #df111e !important;
  font-weight: 700;
}

.wp-footer a {
  color: #fff;
  text-decoration: none;
}

.wp-footer a:hover {
  text-decoration: underline;
}


/* =========================================================
   WORDPRESS POLISH: social bar, left slider copy, hovers, chat
   ========================================================= */

.social-topbar {
  height: 30px;
  background: #17193d;
}

.social-topbar-inner {
  width: min(1160px, 92%);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-links a {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease, color .18s ease;
}

.social-links a:hover {
  background: #df111e;
  color: #fff;
  transform: translateY(-1px);
}

.social-icon {
  font-size: 14px;
  line-height: 1;
}

.wp-header {
  border-top: 0 !important;
}

/* Carousel text on the left, matching the WordPress site */
.wp-slide-copy {
  left: 9% !important;
  right: auto !important;
  width: 46% !important;
  text-align: left !important;
}

.wp-slide-copy p {
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Hover/highlight behavior */
.wp-nav > a,
.nav-dropdown-toggle,
.wp-logo,
.wp-donate,
.feature-link,
.wp-mission-item,
.action-item,
.wp-contact-button,
.involve-card,
.member-row,
.project,
.card {
  transition:
    color .2s ease,
    background-color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease,
    opacity .2s ease;
}

.wp-nav > a:hover,
.nav-dropdown-toggle:hover {
  color: #df111e !important;
}

.wp-nav > a:not(.wp-donate) {
  position: relative;
}

.wp-nav > a:not(.wp-donate)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: #df111e;
  transition: right .22s ease;
}

.wp-nav > a:not(.wp-donate):hover::after,
.wp-nav > a.active:not(.wp-donate)::after {
  right: 0;
}

.wp-donate:hover,
.wp-contact-button:hover {
  color: #fff !important;
  background: #17193d !important;
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(0,0,0,.2);
}

.feature-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 9px 20px rgba(0,0,0,.18);
}

.wp-mission-item:not(.featured):hover {
  background: #fff;
  box-shadow: 0 9px 25px rgba(0,0,0,.10);
  transform: translateY(-4px);
}

.wp-mission-item:hover h3 {
  color: #df111e;
}

.action-item:hover {
  transform: translateY(-4px);
}

.wp-actions .action-item:hover h3 {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.involve-card:hover,
.card:hover,
.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
}

.member-row:hover .member-copy h2 {
  color: #df111e !important;
}

/* Floating chatbot */
.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 5000;
  font-family: Arial, Helvetica, sans-serif;
}

.chat-launcher {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #df111e;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.chat-launcher:hover {
  transform: scale(1.06);
  background: #bd0d19;
}

.chat-bubble-icon {
  font-size: 25px;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: 325px;
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(0,0,0,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.98);
  transform-origin: bottom right;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.chat-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  padding: 16px 17px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: #fff;
  background: #df111e;
}

.chat-header strong,
.chat-header span {
  display: block;
}

.chat-header strong {
  font-size: 17px;
}

.chat-header span {
  margin-top: 2px;
  font-size: 12px;
  opacity: .88;
}

.chat-close {
  border: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.chat-body {
  max-height: 360px;
  overflow-y: auto;
  padding: 17px;
  background: #fafafa;
}

.chat-message {
  max-width: 88%;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.45;
}

.chat-message.bot {
  color: #333;
  background: #fff;
  border: 1px solid #ececec;
}

.chat-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.chat-options button {
  padding: 9px 8px;
  border: 1px solid #df111e;
  border-radius: 4px;
  color: #df111e;
  background: #fff;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  transition: color .18s ease, background .18s ease;
}

.chat-options button:hover {
  color: #fff;
  background: #df111e;
}

.chat-answer-link {
  color: #df111e;
  font-weight: 700;
}

@media (max-width: 760px) {
  .social-topbar-inner {
    width: 90%;
  }

  .wp-slide-copy {
    left: 7% !important;
    width: 86% !important;
  }

  .chat-widget {
    right: 14px;
    bottom: 14px;
  }

  .chat-panel {
    width: min(325px, calc(100vw - 28px));
  }
}


/* Parent dropdown highlight when a child page is active */
.nav-dropdown.current > .nav-dropdown-toggle {
  color: #df111e !important;
  font-weight: 700;
}

/* WordPress-like submenu spacing */
.nav-dropdown-menu a {
  min-width: 220px;
  padding: 15px 34px !important;
  border-bottom: 1px solid #ececec;
  font-size: 16px !important;
}

.nav-dropdown-menu a:last-child {
  border-bottom: 0;
}


/* =========================================================
   SCREENSHOT MATCH REFINEMENTS
   ========================================================= */

/* WordPress has a much taller navy strip above the white header */
.social-topbar {
  height: 96px !important;
  background: #17193d !important;
}

.social-topbar-inner {
  width: 86% !important;
  max-width: none !important;
  margin: 0 auto !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
}

.social-links {
  display: flex !important;
  gap: 14px !important;
  align-items: center !important;
}

.social-round {
  width: 31px !important;
  height: 31px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: #df111e !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  transition: transform .18s ease, background .18s ease !important;
}

.social-round:hover {
  transform: translateY(-2px) !important;
  background: #bd0d19 !important;
}

.fb-mark {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.ig-mark {
  font-size: 21px;
  line-height: 1;
}

.mail-mark {
  font-size: 16px;
  line-height: 1;
}

/* Header spans wider like the live WordPress screenshot */
.wp-header-inner {
  width: 86% !important;
  max-width: none !important;
  height: 124px !important;
}

.wp-logo-main {
  font-size: 32px !important;
}

.wp-nav {
  gap: 16px !important;
}

/* Slider dimensions and per-slide text alignment */
.wp-slider {
  height: 625px !important;
}

.wp-slide-copy {
  top: 156px !important;
  width: 44% !important;
}

.wp-slide.text-left .wp-slide-copy {
  left: 7% !important;
  right: auto !important;
  text-align: left !important;
}

.wp-slide.text-left .wp-slide-copy p {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.wp-slide.text-right .wp-slide-copy {
  left: auto !important;
  right: 8% !important;
  text-align: right !important;
}

.wp-slide.text-right .wp-slide-copy p {
  margin-left: auto !important;
  margin-right: 0 !important;
}

.wp-slide-kicker {
  font-size: 34px !important;
}

.wp-slide-copy h1 {
  font-size: 59px !important;
  line-height: 1.05 !important;
}

.wp-slide-copy p {
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.wp-slider-arrows {
  bottom: 58px !important;
}

/* The WordPress chatbot launcher is white, not red */
.chat-launcher {
  width: 66px !important;
  height: 66px !important;
  border: 0 !important;
  background: #fff !important;
  box-shadow: 0 3px 16px rgba(0,0,0,.15) !important;
  position: relative !important;
}

.chat-launcher:hover {
  background: #fff !important;
  transform: scale(1.04) !important;
}

.chat-launcher::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 18px;
  width: 27px;
  height: 21px;
  border: 3px solid #454950;
  border-radius: 2px;
}

.chat-launcher::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 37px;
  width: 10px;
  height: 10px;
  border-left: 3px solid #454950;
  border-bottom: 3px solid #454950;
  transform: skew(-25deg);
  background: #fff;
  z-index: 2;
}

.chat-bubble-icon {
  display: none !important;
}

.chat-widget {
  right: 20px !important;
  bottom: 20px !important;
}

/* Hide the nav underline while not hovering to more closely match live site */
.wp-nav > a:not(.wp-donate)::after {
  bottom: -17px !important;
}

/* Desktop alignment */
@media (min-width: 981px) {
  .wp-slide img {
    object-position: center center !important;
  }
}

@media (max-width: 760px) {
  .social-topbar {
    height: 60px !important;
  }

  .wp-header-inner {
    width: 90% !important;
    height: auto !important;
  }

  .wp-slide.text-left .wp-slide-copy,
  .wp-slide.text-right .wp-slide-copy {
    left: 7% !important;
    right: auto !important;
    width: 86% !important;
    text-align: left !important;
  }
}


/* Header search and dropdown chevrons */
.sr-only {
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
  margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;border:0!important;
}
.nav-chevron {
  display:inline-block;width:8px;height:8px;margin-left:7px;position:relative;top:-2px;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg);transition:transform .18s ease;
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron { transform:rotate(225deg); }

.header-search {
  position:relative;display:flex;align-items:center;padding:0 14px 0 7px;border-right:1px solid #ddd;
}
.header-search-toggle {
  width:30px;height:30px;border:0;padding:0;display:grid;place-items:center;background:transparent;cursor:pointer;
}
.search-icon {
  position:relative;width:15px;height:15px;display:block;border:3px solid #17193d;border-radius:50%;
}
.search-icon::after {
  content:"";position:absolute;width:8px;height:3px;right:-7px;bottom:-4px;border-radius:2px;
  background:#17193d;transform:rotate(45deg);transform-origin:left center;
}
.header-search-toggle:hover .search-icon { border-color:#df111e; }
.header-search-toggle:hover .search-icon::after { background:#df111e; }

.header-search-form {
  position:absolute;top:calc(100% + 24px);right:-4px;z-index:2500;width:330px;
  display:flex;gap:8px;padding:12px;background:#fff;border-top:3px solid #df111e;
  box-shadow:0 9px 24px rgba(0,0,0,.16);opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .18s ease,visibility .18s ease,transform .18s ease;
}
.header-search.open .header-search-form { opacity:1;visibility:visible;transform:translateY(0); }
.header-search-form input {
  min-width:0;flex:1;height:38px;padding:0 10px;border:1px solid #d7d7d7;outline:none;font:inherit;
}
.header-search-form input:focus { border-color:#df111e; }
.header-search-form button {
  border:0;padding:0 13px;color:#fff;background:#df111e;cursor:pointer;font-weight:700;
}
.search-no-result {
  position:absolute;top:calc(100% + 68px);right:-4px;z-index:2600;width:330px;
  padding:10px 12px;color:#555;background:#fff;border:1px solid #eee;
  box-shadow:0 8px 18px rgba(0,0,0,.10);font-size:13px;
}
@media(max-width:760px){
  .header-search{padding-left:0;border-right:0}
  .header-search-form{left:0;right:auto;width:min(330px,calc(100vw - 36px))}
}


/* =========================================================
   HEADER MATCH V2 — closer to original WordPress proportions
   ========================================================= */

/* Align social icons and logo to the same WordPress-style left edge */
.social-topbar-inner,
.wp-header-inner {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 115px !important;
  padding-right: 115px !important;
}

/* Top navy strip */
.social-topbar {
  height: 96px !important;
}

.social-round {
  width: 30px !important;
  height: 30px !important;
}

.social-links {
  gap: 12px !important;
}

/* White navigation header */
.wp-header-inner {
  height: 123px !important;
}

/* Logo proportions */
.wp-logo-main {
  font-size: 30px !important;
  line-height: 1 !important;
}

.wp-logo-sub {
  margin-top: 4px !important;
  font-size: 10px !important;
  line-height: 1.05 !important;
}

/* Navigation should be noticeably tighter than the previous version */
.wp-nav {
  gap: 12px !important;
  margin-left: auto !important;
}

.wp-nav > a,
.nav-dropdown-toggle {
  font-size: 15px !important;
  line-height: 1 !important;
}

.nav-sep {
  height: 26px !important;
  border-left-width: 2px !important;
}

/* Smaller WordPress-like chevron */
.nav-chevron {
  width: 7px !important;
  height: 7px !important;
  margin-left: 6px !important;
  border-right-width: 2px !important;
  border-bottom-width: 2px !important;
}

/* Search spacing/size */
.header-search {
  padding-left: 8px !important;
  padding-right: 15px !important;
}

.header-search-toggle {
  width: 27px !important;
  height: 27px !important;
}

.search-icon {
  width: 14px !important;
  height: 14px !important;
  border-width: 3px !important;
}

/* Exact-size Donate button similar to WordPress */
.wp-nav .wp-donate {
  width: 108px !important;
  height: 44px !important;
  margin-left: 12px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  background: #df111e !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: .3px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,.16) !important;
}

/* Prevent the hover underline from running under Donate */
.wp-nav .wp-donate::after {
  display: none !important;
}

/* WordPress-like dropdown placement beneath the label */
.nav-dropdown-menu {
  top: calc(100% + 22px) !important;
}

/* Slightly reduce submenu arrow rotation animation */
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
  transform: rotate(225deg) !important;
}

/* Keep header usable before collapsing */
@media (max-width: 1250px) {
  .social-topbar-inner,
  .wp-header-inner {
    padding-left: 55px !important;
    padding-right: 55px !important;
  }

  .wp-nav {
    gap: 9px !important;
  }

  .wp-nav > a,
  .nav-dropdown-toggle {
    font-size: 14px !important;
  }

  .wp-nav .wp-donate {
    width: 100px !important;
  }
}

@media (max-width: 980px) {
  .social-topbar-inner,
  .wp-header-inner {
    width: 92% !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .wp-header-inner {
    height: auto !important;
  }
}


/* Dialogflow Messenger placement */
df-messenger {
  z-index: 5000;
  position: fixed;
  right: 20px;
  bottom: 20px;
}

/* Hide the old temporary chatbot if any cached markup remains */
.chat-widget {
  display: none !important;
}


/* =========================================================
   CAROUSEL TEXT POSITION + ACTION ICON HOVER
   ========================================================= */

/* Make text placement deterministic even if older CSS is cached */
.wp-slider .science-slide .wp-slide-copy,
.wp-slider .donate-slide .wp-slide-copy,
.wp-slider .wp-slide[data-slide="0"] .wp-slide-copy,
.wp-slider .wp-slide[data-slide="2"] .wp-slide-copy {
  left: 7% !important;
  right: auto !important;
  width: 39% !important;
  text-align: left !important;
}

.wp-slider .worldwide-slide .wp-slide-copy,
.wp-slider .wp-slide[data-slide="1"] .wp-slide-copy {
  left: auto !important;
  right: 8% !important;
  width: 43% !important;
  text-align: right !important;
}

.wp-slider .science-slide .wp-slide-copy p,
.wp-slider .donate-slide .wp-slide-copy p,
.wp-slider .wp-slide[data-slide="0"] .wp-slide-copy p,
.wp-slider .wp-slide[data-slide="2"] .wp-slide-copy p {
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: 560px !important;
}

.wp-slider .worldwide-slide .wp-slide-copy p,
.wp-slider .wp-slide[data-slide="1"] .wp-slide-copy p {
  margin-left: auto !important;
  margin-right: 0 !important;
  max-width: 610px !important;
}

/* Keep heading from stretching into the illustration */
.wp-slider .wp-slide-copy h1 {
  max-width: 680px !important;
}

/* The WordPress "What do we do?" hover:
   rotate only an outer ring; keep the actual symbol stable. */
.wp-actions .action-icon {
  position: relative !important;
  width: 46px !important;
  height: 46px !important;
  display: grid !important;
  place-items: center !important;
  padding-top: 0 !important;
  overflow: visible !important;
  transform: none !important;
}

.wp-actions .action-icon::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 2px dashed rgba(255,255,255,.95);
  border-radius: 50%;
  opacity: 0;
  transform: rotate(0deg);
  transition: opacity .2s ease, transform .55s ease;
}

.wp-actions .action-item:hover .action-icon::before {
  opacity: 1;
  transform: rotate(180deg);
}

/* Prevent the symbol itself from rotating */
.wp-actions .action-icon,
.wp-actions .action-item:hover .action-icon {
  animation: none !important;
}

.wp-actions .action-icon > *,
.wp-actions .action-item:hover .action-icon > * {
  transform: none !important;
  animation: none !important;
}

/* Give the symbol enough clearance inside the hover ring */
.wp-actions .action-icon {
  font-size: 27px !important;
  line-height: 1 !important;
}

/* Desktop-only protection against image overlap */
@media (min-width: 981px) {
  .wp-slider .worldwide-slide .wp-slide-copy,
  .wp-slider .wp-slide[data-slide="1"] .wp-slide-copy {
    top: 135px !important;
  }

  .wp-slider .science-slide .wp-slide-copy,
  .wp-slider .donate-slide .wp-slide-copy,
  .wp-slider .wp-slide[data-slide="0"] .wp-slide-copy,
  .wp-slider .wp-slide[data-slide="2"] .wp-slide-copy {
    top: 145px !important;
  }
}

/* On small screens all slides stack text left for readability */
@media (max-width: 760px) {
  .wp-slider .science-slide .wp-slide-copy,
  .wp-slider .worldwide-slide .wp-slide-copy,
  .wp-slider .donate-slide .wp-slide-copy,
  .wp-slider .wp-slide[data-slide="0"] .wp-slide-copy,
  .wp-slider .wp-slide[data-slide="1"] .wp-slide-copy,
  .wp-slider .wp-slide[data-slide="2"] .wp-slide-copy {
    left: 7% !important;
    right: auto !important;
    width: 86% !important;
    text-align: left !important;
  }

  .wp-slider .wp-slide-copy p {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}


/* =========================================================
   OUR TEAM PAGE — WordPress screenshot match
   ========================================================= */

.team-page-wordpress {
  background: #fff;
}

.team-page-hero {
  min-height: 255px;
  display: grid;
  place-items: center;
  background: #6f2927;
  color: #fff;
}

.team-page-hero-inner {
  text-align: center;
}

.team-page-hero h1 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 39px;
  font-weight: 800;
  line-height: 1.15;
}

.team-page-hero p {
  margin: 0;
  color: #fff;
  font-size: 16px;
}

.team-page-hero a {
  color: #fff;
  text-decoration: none;
}

.team-page-hero a:hover {
  text-decoration: underline;
}

.team-page-hero span {
  margin: 0 5px;
}

.team-board-section {
  padding: 115px 0 90px;
  background: #fff;
}

.team-board-wrap {
  width: min(1280px, 76%);
  margin: 0 auto;
}

.team-board-title {
  height: 235px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  background: #e52424;
  border-bottom: 2px solid #e52424;
}

.team-board-title h2 {
  margin: 0;
  color: #fff;
  font-size: 58px;
  font-weight: 300;
  line-height: 1;
}

.team-member {
  padding: 0 0 48px;
  text-align: center;
  border-bottom: 1px solid #e52424;
}

.team-member + .team-member {
  padding-top: 48px;
}

.team-member h3 {
  margin: 0 0 3px;
  color: #b63834;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
}

.team-role {
  margin: 0 0 10px;
  color: #585858;
  font-size: 20px;
  font-weight: 400;
}

.team-photo-wrap {
  margin: 0 auto 18px;
  text-align: center;
}

.team-photo-wrap img {
  display: block;
  width: auto;
  max-width: 440px;
  max-height: none;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.team-bio {
  width: min(1160px, 95%);
  margin: 0 auto;
}

.team-bio p {
  margin: 0 auto 8px;
  color: #7a7a7a;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 900px) {
  .team-board-wrap {
    width: 88%;
  }

  .team-board-title {
    height: 190px;
  }

  .team-board-title h2 {
    font-size: 46px;
  }

  .team-member h3 {
    font-size: 30px;
  }

  .team-photo-wrap img {
    max-width: min(100%, 390px);
  }
}

@media (max-width: 600px) {
  .team-page-hero {
    min-height: 210px;
  }

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

  .team-board-section {
    padding-top: 70px;
  }

  .team-board-wrap {
    width: 92%;
  }

  .team-board-title {
    height: 150px;
  }

  .team-board-title h2 {
    font-size: 38px;
  }

  .team-member h3 {
    font-size: 27px;
  }

  .team-role {
    font-size: 18px;
  }

  .team-bio p {
    font-size: 15px;
  }
}


/* =========================================================
   TEAM MEMBER PHOTO + BIO SIDE BY SIDE
   ========================================================= */

.team-member {
  padding: 0 0 42px !important;
  text-align: center !important;
  border-bottom: 2px solid #df1f26 !important;
}

.team-member + .team-member {
  padding-top: 34px !important;
}

.team-member h3 {
  margin: 0 0 52px !important;
  color: #b63834 !important;
  font-size: 38px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

.team-role {
  margin: 0 0 45px !important;
  color: #292929 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

.team-member-content {
  width: min(980px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 70px;
  align-items: center;
  justify-content: center;
}

.team-photo-wrap {
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo-wrap img {
  display: block !important;
  width: auto !important;
  max-width: 260px !important;
  max-height: 390px !important;
  height: auto !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.team-bio {
  width: auto !important;
  margin: 0 !important;
  text-align: left !important;
}

.team-bio p {
  margin: 0 !important;
  color: #2f2f2f !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.18 !important;
  text-align: left !important;
}

/* Landscape photos can occupy a bit more horizontal room without cropping */
.team-member:nth-of-type(4) .team-photo-wrap img {
  max-width: 310px !important;
}

/* Mobile/tablet: stack naturally */
@media (max-width: 800px) {
  .team-member h3 {
    margin-bottom: 22px !important;
    font-size: 31px !important;
  }

  .team-role {
    margin-bottom: 26px !important;
    font-size: 19px !important;
  }

  .team-member-content {
    width: 94%;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .team-photo-wrap img {
    max-width: min(100%, 330px) !important;
    max-height: none !important;
  }

  .team-bio p {
    font-size: 16px !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }
}


/* =========================================================
   GET INVOLVED PAGE — WordPress screenshot match
   ========================================================= */

.get-involved-page {
  background: #fff;
}

.gi-page-hero {
  min-height: 255px;
  display: grid;
  place-items: center;
  background: #6f2927;
  color: #fff;
}

.gi-page-hero-inner {
  text-align: center;
}

.gi-page-hero h1 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 39px;
  font-weight: 800;
  line-height: 1.15;
}

.gi-page-hero p {
  margin: 0;
  color: #fff;
  font-size: 16px;
}

.gi-page-hero a {
  color: #fff;
  text-decoration: none;
}

.gi-page-hero a:hover {
  text-decoration: underline;
}

.gi-page-hero span {
  margin: 0 5px;
}

.gi-main-section {
  padding: 115px 0 115px;
  background: #fff;
}

.gi-wrap {
  width: min(1460px, 86%);
  margin: 0 auto;
}

.gi-title-block {
  min-height: 195px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: #d92d2d;
}

.gi-title-block h2 {
  margin: 0;
  color: #fff;
  font-size: 50px;
  font-weight: 300;
  line-height: 1.15;
}

.gi-intro {
  margin-bottom: 18px;
}

.gi-intro p {
  margin: 0 0 16px;
  color: #2d2d2d;
  font-size: 18px;
  line-height: 1.55;
}

.gi-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  align-items: start;
}

.gi-card {
  text-align: left;
}

.gi-icon-circle {
  width: 275px;
  height: 275px;
  margin: 0 auto 58px;
}

.gi-icon-circle svg {
  display: block;
  width: 100%;
  height: 100%;
}

.gi-button {
  display: inline-block;
  margin: 0 0 50px;
  padding: 12px 28px;
  color: #fff !important;
  background: #d92d2d;
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.gi-button:hover {
  color: #fff !important;
  background: #b82020;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,.15);
}

.gi-card p {
  margin: 0;
  color: #2f2f2f;
  font-size: 17px;
  line-height: 1.45;
}

@media (max-width: 1050px) {
  .gi-wrap {
    width: 90%;
  }

  .gi-columns {
    gap: 38px;
  }

  .gi-icon-circle {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 760px) {
  .gi-page-hero {
    min-height: 210px;
  }

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

  .gi-main-section {
    padding: 70px 0;
  }

  .gi-title-block {
    min-height: 145px;
  }

  .gi-title-block h2 {
    font-size: 37px;
  }

  .gi-intro p {
    font-size: 16px;
  }

  .gi-columns {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .gi-card {
    text-align: center;
  }

  .gi-card p {
    text-align: left;
    font-size: 16px;
  }

  .gi-button {
    margin-bottom: 30px;
  }

  .gi-icon-circle {
    margin-bottom: 30px;
  }
}


/* =========================================================
   GET INVOLVED — scale closer to WordPress screenshot
   ========================================================= */

.gi-wrap {
  width: min(1360px, 84%) !important;
}

.gi-title-block {
  min-height: 160px !important;
  margin-bottom: 10px !important;
}

.gi-title-block h2 {
  font-size: 40px !important;
  font-weight: 300 !important;
}

.gi-intro p {
  font-size: 16px !important;
  line-height: 1.5 !important;
  margin-bottom: 14px !important;
}

.gi-columns {
  gap: 56px !important;
}

.gi-icon-circle {
  width: 220px !important;
  height: 220px !important;
  margin-bottom: 42px !important;
}

.gi-button {
  margin-bottom: 36px !important;
  padding: 10px 22px !important;
  font-size: 15.5px !important;
}

.gi-card p {
  font-size: 15.5px !important;
  line-height: 1.42 !important;
}

@media (max-width: 1050px) {
  .gi-wrap {
    width: 88% !important;
  }

  .gi-icon-circle {
    width: 195px !important;
    height: 195px !important;
  }
}

@media (max-width: 760px) {
  .gi-title-block {
    min-height: 130px !important;
  }

  .gi-title-block h2 {
    font-size: 34px !important;
  }

  .gi-icon-circle {
    width: 180px !important;
    height: 180px !important;
    margin-bottom: 26px !important;
  }

  .gi-button {
    font-size: 15px !important;
    margin-bottom: 24px !important;
  }

  .gi-card p,
  .gi-intro p {
    font-size: 15px !important;
  }
}


/* =========================================================
   GET INVOLVED — exact original WordPress icon assets
   ========================================================= */

.gi-icon-circle {
  width: 245px !important;
  height: 245px !important;
  margin: 0 auto 46px !important;
  overflow: visible !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.gi-icon-circle img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Slightly tighter vertical spacing to match WordPress */
.gi-button {
  margin-bottom: 34px !important;
}

.gi-columns {
  align-items: start !important;
}

@media (max-width: 1050px) {
  .gi-icon-circle {
    width: 215px !important;
    height: 215px !important;
  }
}

@media (max-width: 760px) {
  .gi-icon-circle {
    width: 185px !important;
    height: 185px !important;
    margin-bottom: 26px !important;
  }
}


/* =========================================================
   GET INVOLVED — smaller icons centered above each button
   ========================================================= */

.gi-columns {
  align-items: start !important;
}

.gi-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

/* Center icon and button together within each column */
.gi-icon-circle {
  width: 165px !important;
  height: 165px !important;
  margin: 0 auto 22px !important;
  overflow: visible !important;
  border-radius: 0 !important;
}

.gi-icon-circle img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.gi-button {
  align-self: center !important;
  margin: 0 auto 34px !important;
  padding: 10px 22px !important;
  font-size: 15px !important;
}

/* Description stays aligned left like WordPress */
.gi-card p {
  width: 100% !important;
  text-align: left !important;
}

@media (max-width: 1050px) {
  .gi-icon-circle {
    width: 150px !important;
    height: 150px !important;
  }
}

@media (max-width: 760px) {
  .gi-icon-circle {
    width: 140px !important;
    height: 140px !important;
    margin-bottom: 18px !important;
  }

  .gi-button {
    margin-bottom: 24px !important;
  }
}


/* =========================================================
   CONTACT PAGE — match WordPress screenshots
   ========================================================= */

.contact-page {
  background: #fff;
}

.contact-page-hero {
  min-height: 255px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #6f2927;
}

.contact-page-hero-inner {
  text-align: center;
}

.contact-page-hero h1 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 39px;
  line-height: 1.15;
  font-weight: 800;
}

.contact-page-hero p {
  margin: 0;
  color: #fff;
  font-size: 16px;
}

.contact-page-hero a {
  color: #fff;
  text-decoration: none;
}

.contact-page-hero span {
  margin: 0 5px;
}

.contact-main {
  min-height: 560px;
  padding: 115px 0 125px;
  background: #fff;
}

.contact-wrap {
  width: min(1270px, 76%);
  margin: 0 auto;
}

.contact-wrap h2 {
  margin: 0 0 22px;
  color: #d62c2c;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
}

.contact-information ul {
  margin: 0 0 20px 28px;
  padding: 0;
}

.contact-information li {
  margin: 5px 0;
  color: #222;
  font-size: 16px;
}

.contact-information a {
  color: #df111e;
  font-weight: 700;
  text-decoration: none;
}

.contact-wrap hr {
  margin: 20px 0 16px;
  border: 0;
  border-top: 2px solid #8a8a8a;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-form label {
  margin: 0 0 4px;
  color: #262626;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.contact-form label span {
  font-weight: 400;
}

.contact-form input:not([type="hidden"]) {
  width: 116px;
  height: 40px;
  margin: 0 0 8px;
  padding: 4px 7px;
  border: 1px solid #dedede;
  background: #fff;
  font: inherit;
}

.contact-form textarea {
  width: 230px;
  height: 87px;
  margin: 0 0 0;
  padding: 7px;
  resize: vertical;
  border: 1px solid #dedede;
  background: #fff;
  font: inherit;
}

.contact-submit {
  margin-top: 0;
  padding: 12px 24px;
  border: 0;
  border-radius: 28px;
  color: #fff;
  background: #d92d2d;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.contact-submit:hover {
  background: #b92020;
}

.contact-honeypot {
  position: absolute !important;
  left: -99999px !important;
  opacity: 0 !important;
}

.contact-thanks p,
.contact-confirmation p {
  color: #343434;
  font-size: 16px;
}

.contact-back {
  display: inline-block;
  margin-top: 16px;
  color: #df111e;
  font-weight: 700;
  text-decoration: none;
}

/* =========================================================
   WORDPRESS-LIKE SEARCH OVERLAY
   ========================================================= */

.wp-search-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-right: 1px solid #ddd;
  padding: 0 16px 0 8px;
  background: transparent;
  cursor: pointer;
}

.wp-search-glass {
  position: relative;
  width: 15px;
  height: 15px;
  display: block;
  border: 3px solid #17193d;
  border-radius: 50%;
}

.wp-search-glass::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 3px;
  right: -7px;
  bottom: -4px;
  background: #17193d;
  border-radius: 2px;
  transform: rotate(45deg);
  transform-origin: left center;
}

.wp-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: rgba(20, 22, 57, .96);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.wp-search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.wp-search-close {
  position: absolute;
  top: 30px;
  right: 38px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 45px;
  line-height: 1;
  cursor: pointer;
}

.wp-search-overlay-form {
  width: min(720px, 82vw);
  display: grid;
  grid-template-columns: 1fr 62px;
  border-bottom: 2px solid rgba(255,255,255,.75);
}

.wp-search-overlay-form input {
  height: 62px;
  border: 0;
  outline: none;
  padding: 0 8px;
  color: #fff;
  background: transparent;
  font-size: 32px;
}

.wp-search-overlay-form input::placeholder {
  color: rgba(255,255,255,.7);
}

.wp-search-overlay-form button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.wp-search-glass.light {
  margin: 0 auto;
  border-color: #fff;
}

.wp-search-glass.light::after {
  background: #fff;
}

/* Static search results */
.search-results-hero {
  min-height: 255px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #6f2927;
  text-align: center;
}

.search-results-hero h1 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 39px;
}

.search-results-hero p,
.search-results-hero a {
  color: #fff;
}

.search-results-main {
  padding: 85px 0 110px;
}

.search-results-wrap {
  width: min(1050px, 84%);
  margin: 0 auto;
}

.search-page-form {
  display: flex;
  max-width: 650px;
  margin-bottom: 45px;
}

.search-page-form input {
  flex: 1;
  height: 45px;
  padding: 0 12px;
  border: 1px solid #ddd;
}

.search-page-form button {
  border: 0;
  padding: 0 20px;
  color: #fff;
  background: #df111e;
  font-weight: 700;
}

.search-results-wrap h2 {
  color: #df111e;
  font-size: 25px;
}

.search-result-item {
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
}

.search-result-item a {
  color: #333;
  text-decoration: none;
}

.search-result-item a:hover h3 {
  color: #df111e;
}

.search-result-item h3 {
  margin: 0 0 6px;
  font-size: 21px;
}

.search-result-item p {
  margin: 0;
  color: #777;
  font-size: 15px;
}

@media (max-width: 760px) {
  .contact-main {
    padding: 70px 0 85px;
  }

  .contact-wrap {
    width: 88%;
  }

  .wp-search-overlay-form input {
    font-size: 24px;
  }
}


/* =========================================================
   OUR MISSION PAGE — WordPress screenshot match
   ========================================================= */

.mission-page {
  background: #fff;
}

.mission-page-hero {
  min-height: 255px;
  display: grid;
  place-items: center;
  background: #6f2927;
  color: #fff;
}

.mission-page-hero-inner {
  text-align: center;
}

.mission-page-hero h1 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 39px;
  font-weight: 800;
  line-height: 1.15;
}

.mission-page-hero p {
  margin: 0;
  color: #fff;
  font-size: 16px;
}

.mission-page-hero a {
  color: #fff;
  text-decoration: none;
}

.mission-page-hero a:hover {
  text-decoration: underline;
}

.mission-page-hero span {
  margin: 0 5px;
}

.mission-main {
  padding: 115px 0 90px;
  background: #fff;
}

.mission-wrap {
  width: min(1280px, 76%);
  margin: 0 auto;
}

.mission-title-block {
  min-height: 165px;
  display: grid;
  place-items: center;
  background: #d92d2d;
}

.mission-title-block h2 {
  margin: 0;
  color: #fff;
  font-size: 43px;
  font-weight: 300;
  line-height: 1.1;
}

.mission-statement {
  padding: 60px 74px 42px;
}

.mission-statement p {
  margin: 0;
  color: #d92d2d;
  font-size: 37px;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: .1px;
}

.mission-divider {
  height: 2px;
  margin: 0 0 12px;
  background: #ef8f9e;
}

.members-title {
  min-height: 92px;
}

.members-title h2 {
  font-size: 26px;
  font-weight: 300;
}

.mission-members-copy {
  padding: 18px 0 12px;
}

.mission-members-copy p {
  margin: 0;
  color: #df4a6c;
  font-size: 35px;
  font-weight: 300;
  line-height: 1.5;
}

.members-divider {
  margin-bottom: 32px;
}

.mission-members-image {
  position: relative;
  width: 88%;
  margin: 0 auto;
  text-align: center;
}

.mission-members-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  margin: 0 auto;
}

.mission-members-image::before,
.mission-members-image::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
}

.mission-members-image::before {
  content: "‹";
  left: -55px;
}

.mission-members-image::after {
  content: "›";
  right: -55px;
}

@media (max-width: 1050px) {
  .mission-wrap {
    width: 86%;
  }

  .mission-statement {
    padding: 48px 45px 38px;
  }

  .mission-statement p {
    font-size: 31px;
  }

  .mission-members-copy p {
    font-size: 30px;
  }
}

@media (max-width: 760px) {
  .mission-page-hero {
    min-height: 210px;
  }

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

  .mission-main {
    padding: 70px 0;
  }

  .mission-wrap {
    width: 92%;
  }

  .mission-title-block {
    min-height: 125px;
  }

  .mission-title-block h2 {
    font-size: 34px;
  }

  .mission-statement {
    padding: 36px 18px 30px;
  }

  .mission-statement p {
    font-size: 24px;
    line-height: 1.5;
  }

  .members-title {
    min-height: 80px;
  }

  .members-title h2 {
    font-size: 24px;
  }

  .mission-members-copy p {
    font-size: 24px;
  }

  .mission-members-image {
    width: 100%;
  }

  .mission-members-image::before,
  .mission-members-image::after {
    display: none;
  }
}


/* =========================================================
   OUR MEMBERS CAROUSEL
   ========================================================= */

.mission-members-carousel {
  position: relative;
  width: 88%;
  margin: 0 auto;
  overflow: hidden;
}

.mission-members-slide {
  display: none;
}

.mission-members-slide.active {
  display: block;
}

.mission-members-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 610px;
  margin: 0 auto;
  object-fit: contain;
}

.mission-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  border: 0;
  padding: 0;
  color: #8a8a8a;
  background: transparent;
  cursor: pointer;
  font-size: 46px;
  font-weight: 300;
  line-height: 1;
}

.mission-carousel-prev {
  left: 8px;
}

.mission-carousel-next {
  right: 8px;
}

.mission-carousel-pause {
  position: absolute;
  top: 4px;
  right: 6px;
  z-index: 3;
  border: 0;
  color: #888;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .mission-members-carousel {
    width: 100%;
  }

  .mission-carousel-arrow {
    font-size: 36px;
  }

  .mission-carousel-pause {
    font-size: 20px;
  }
}

/* =========================================================
   OUR MOTIVATION PAGE — WordPress screenshot match
   ========================================================= */
.motivation-page { background:#fff; }
.motivation-page-hero {
  min-height:255px; display:grid; place-items:center;
  background:#6f2927; color:#fff;
}
.motivation-page-hero-inner { text-align:center; }
.motivation-page-hero h1 {
  margin:0 0 6px; color:#fff; font-size:39px;
  font-weight:800; line-height:1.15;
}
.motivation-page-hero p { margin:0; color:#fff; font-size:16px; }
.motivation-page-hero a { color:#fff; text-decoration:none; }
.motivation-page-hero a:hover { text-decoration:underline; }
.motivation-page-hero span { margin:0 5px; }

.motivation-main { padding:115px 0 95px; background:#fff; }
.motivation-wrap { width:min(1280px,76%); margin:0 auto; }

.motivation-title-block {
  min-height:170px; display:grid; place-items:center; background:#d92d2d;
}
.motivation-title-block h2 {
  margin:0; color:#fff; font-size:43px; font-weight:300; line-height:1.1;
}

.motivation-copy { padding:45px 5px 38px; }
.motivation-copy p {
  margin:0; color:#bd4a43; font-size:22px; font-weight:300;
  line-height:1.55; text-align:center;
}
.motivation-divider {
  height:2px; margin:18px 0 14px; background:#d92d2d;
}

.motivation-carousel {
  position:relative; width:72%; margin:25px auto 0; overflow:hidden;
}
.motivation-slide { display:none; }
.motivation-slide.active { display:block; }
.motivation-slide img {
  display:block; width:100%; height:auto; max-height:560px;
  margin:0 auto; object-fit:contain;
}
.motivation-arrow {
  position:absolute; top:50%; z-index:3; transform:translateY(-50%);
  border:0; padding:0; color:#888; background:transparent;
  cursor:pointer; font-size:44px; line-height:1;
}
.motivation-prev { left:8px; }
.motivation-next { right:8px; }
.motivation-pause {
  position:absolute; top:2px; right:6px; z-index:3;
  border:0; color:#888; background:transparent;
  cursor:pointer; font-size:24px; font-weight:700;
}

@media (max-width:1050px) {
  .motivation-wrap { width:86%; }
  .motivation-copy p { font-size:20px; }
  .motivation-carousel { width:82%; }
}
@media (max-width:760px) {
  .motivation-page-hero { min-height:210px; }
  .motivation-page-hero h1 { font-size:34px; }
  .motivation-main { padding:70px 0; }
  .motivation-wrap { width:92%; }
  .motivation-title-block { min-height:130px; }
  .motivation-title-block h2 { font-size:34px; }
  .motivation-copy { padding:32px 4px 28px; }
  .motivation-copy p { font-size:18px; line-height:1.5; }
  .motivation-carousel { width:100%; }
  .motivation-arrow { font-size:36px; }
  .motivation-pause { font-size:20px; }
}


/* =========================================================
   PARTNERS / SPONSOR PAGE — WordPress screenshot match
   ========================================================= */

.partners-page {
  background: #fff;
}

.partners-page-hero {
  min-height: 255px;
  display: grid;
  place-items: center;
  background: #6f2927;
  color: #fff;
}

.partners-page-hero-inner {
  text-align: center;
}

.partners-page-hero h1 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 39px;
  font-weight: 800;
  line-height: 1.15;
}

.partners-page-hero p {
  margin: 0;
  color: #fff;
  font-size: 16px;
}

.partners-page-hero a {
  color: #fff;
  text-decoration: none;
}

.partners-page-hero a:hover {
  text-decoration: underline;
}

.partners-page-hero span {
  margin: 0 5px;
}

.partners-main {
  padding: 115px 0 110px;
  background: #fff;
}

.partners-grid {
  width: min(1280px, 76%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 120px;
  row-gap: 75px;
  align-items: center;
  justify-items: center;
}

.partner-logo {
  width: 100%;
  min-height: 205px;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.partner-logo img {
  display: block;
  max-width: 100%;
  max-height: 205px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .18s ease, opacity .18s ease;
}

.partner-logo:hover img {
  transform: scale(1.025);
  opacity: .92;
}

/* Individual sizing to mimic the mixed logo proportions on WordPress */
.partner-logo:nth-child(1) img { max-width: 265px; }
.partner-logo:nth-child(2) img { max-width: 360px; }
.partner-logo:nth-child(3) img { max-width: 220px; }
.partner-logo:nth-child(4) img { max-width: 205px; }
.partner-logo:nth-child(5) img { max-width: 235px; }
.partner-logo:nth-child(6) img { max-width: 230px; }
.partner-logo:nth-child(7) img { max-width: 225px; }
.partner-logo:nth-child(8) img { max-width: 310px; }
.partner-logo:nth-child(9) img { max-width: 315px; }
.partner-logo:nth-child(10) img { max-width: 330px; }

@media (max-width: 1050px) {
  .partners-grid {
    width: 86%;
    column-gap: 70px;
    row-gap: 65px;
  }

  .partner-logo {
    min-height: 185px;
  }

  .partner-logo img {
    max-height: 185px;
  }
}

@media (max-width: 760px) {
  .partners-page-hero {
    min-height: 210px;
  }

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

  .partners-main {
    padding: 70px 0 85px;
  }

  .partners-grid {
    width: 88%;
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .partner-logo {
    min-height: 150px;
  }

  .partner-logo img {
    max-height: 160px;
    max-width: min(100%, 320px) !important;
  }
}

/* Ripple Effect logo refinement */
.partner-logo:nth-child(2) img {
  max-width: 360px !important;
  max-height: 150px !important;
  object-fit: contain !important;
}
