/* =========================================================
   CMU CROSS COUNTRY SKI TEAM
   SUPPORT PAGE
   ========================================================= */

.cmusupport {
  --maroon: #681631;
  --maroon-dark: #511025;
  --gold: #ffd43b;
  --orange: #ef542f;
  --cream: #f5f0e8;
  --ink: #27272c;
  --gray: #66666c;
  --line: #ded6ce;

  box-sizing: border-box;
  color: var(--ink);
}

.cmusupport *,
.cmusupport *::before,
.cmusupport *::after {
  box-sizing: border-box;
}

.cmusupport-shell {
  width: min(calc(100% - 64px), 1600px);
  margin: 0 auto;
}

/* Full-bleed sections inside Layout Builder containers */
.cmusupport-hero,
.cmusupport-needs,
.cmusupport-community,
.cmusupport-final {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.cmusupport-kicker {
  margin: 0 0 12px;
  color: var(--maroon);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.cmusupport h1,
.cmusupport h2,
.cmusupport h3 {
  color: var(--maroon);
}


/* =========================================================
   HERO
   ========================================================= */

.cmusupport-hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #151515;
}

.cmusupport-hero__media,
.cmusupport-hero__media img,
.cmusupport-hero__overlay {
  position: absolute;
  inset: 0;
}

.cmusupport-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cmusupport-hero__overlay {
  background: linear-gradient(
      90deg,
      rgba(18, 10, 13, .82) 0%,
      rgba(18, 10, 13, .55) 48%,
      rgba(18, 10, 13, .12) 100%);
}

.cmusupport-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 76px;
}

.cmusupport-hero .cmusupport-kicker {
  color: var(--gold);
}

.cmusupport-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.5rem, 6vw, 6.6rem);
  line-height: .92;
  letter-spacing: -.055em;
}

.cmusupport-hero__lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.65;
}

.cmusupport-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.cmusupport-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;

  text-decoration: none !important;
  font-weight: 900;
  line-height: 1.2;
}

.cmusupport-btn--gold {
  background: var(--gold);
  color: #301923 !important;
}

.cmusupport-btn--maroon {
  background: var(--maroon);
  color: #fff !important;
}

.cmusupport-btn--ghost {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.75);
  background: rgba(0,0,0,.22);
}

.cmusupport-btn--outline {
  color: var(--maroon) !important;
  border: 2px solid var(--maroon);
  background: transparent;
}

.cmusupport-btn:hover,
.cmusupport-btn:focus {
  transform: translateY(-1px);
}


/* =========================================================
   SHARED HEADINGS
   ========================================================= */

.cmusupport-heading {
  margin-bottom: 40px;
}

.cmusupport-heading--split {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 90px;
  align-items: end;
}

.cmusupport-heading h2,
.cmusupport-heading--split h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  line-height: .96;
  letter-spacing: -.045em;
}

.cmusupport-heading__copy,
.cmusupport-heading--split > p {
  margin: 0;
  color: #515159;
  font-size: 1.05rem;
  line-height: 1.7;
}

.cmusupport-heading__copy p {
  margin: 0;
}

.cmusupport-heading__copy p + p {
  margin-top: 18px;
}


/* =========================================================
   INTRO
   ========================================================= */

.cmusupport-intro {
  padding: 95px 0 70px;
}


/* =========================================================
   IMPACT CARDS
   ========================================================= */

.cmusupport-impact {
  padding-bottom: 100px;
}

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

.cmusupport-impact-card {
  min-height: 510px;
  padding: 42px 38px;
}

.cmusupport-impact-card--gold {
  background: var(--gold);
}

.cmusupport-impact-card--maroon {
  background: var(--maroon);
  color: #fff;
}

.cmusupport-impact-card--orange {
  background: var(--orange);
}

.cmusupport-number {
  margin: 0 0 70px;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.cmusupport-impact-card h3 {
  margin: 0 0 18px;
  font-size: 2rem;
  line-height: 1;
}

.cmusupport-impact-card--maroon h3 {
  color: #fff;
}

.cmusupport-impact-card p,
.cmusupport-impact-card li {
  line-height: 1.6;
}

.cmusupport-impact-card ul {
  margin: 26px 0 0;
  padding-left: 1.2rem;
}

.cmusupport-impact-card li + li {
  margin-top: 8px;
}


/* =========================================================
   NEEDS
   ========================================================= */

.cmusupport-needs {
  padding: 95px 0;
  background: var(--cream);
}

.cmusupport-needs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.cmusupport-needs-grid article {
  min-height: 230px;
  padding: 30px;
  background: #fff;

  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cmusupport-needs-grid span {
  color: var(--maroon);
  font-size: .68rem;
  font-weight: 900;
}

.cmusupport-needs-grid h3 {
  margin: 45px 0 8px;
  font-size: 1.45rem;
}

.cmusupport-needs-grid p {
  margin: 0;
  color: var(--gray);
  line-height: 1.55;
}


/* =========================================================
   COMMUNITY STORY
   ========================================================= */

.cmusupport-community {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  background: #fff;
}

.cmusupport-community__photo {
  min-height: 650px;
}

.cmusupport-community__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}

.cmusupport-community__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 80px clamp(42px, 7vw, 120px);
  background: var(--maroon);
  color: #fff;
}

.cmusupport-community__copy .cmusupport-kicker {
  color: var(--gold);
}

.cmusupport-community__copy h2 {
  max-width: 620px;
  margin: 0 0 28px;
  color: #fff;

  font-size: clamp(2.8rem, 4vw, 4.8rem);
  line-height: .95;
  letter-spacing: -.04em;
}

.cmusupport-community__copy p {
  max-width: 650px;
  margin: 0;
  line-height: 1.7;
}

.cmusupport-community__copy p + p {
  margin-top: 18px;
}


/* =========================================================
   GIVING / WAYS TO SUPPORT
   ========================================================= */

.cmusupport-give {
  padding: 100px 0;
}

/* Keep introductory copy at a comfortable reading width */
.cmusupport-give .cmusupport-heading > p {
  max-width: 1250px;
}

.cmusupport-give-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.cmusupport-give-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 36px 34px 30px;
  background: var(--cream);
  border-top: 5px solid var(--maroon);
}

.cmusupport-give-card__label {
  margin: 0 0 24px;
  color: var(--maroon);
  font-size: .69rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cmusupport-give-card h3 {
  margin: 0 0 18px;
  color: var(--maroon);
  font-size: 1.85rem;
  line-height: 1.1;
}

.cmusupport-give-card p {
  flex-grow: 1;
  margin: 0;
  color: #55555c;
  line-height: 1.65;
}

/* Keep all three calls to action aligned */
.cmusupport-give-card .cmusupport-btn {
  align-self: flex-start;
  margin-top: 24px;
}

.cmusupport-give .cmusupport-heading > p {
  max-width: 1180px;
}


/* =========================================================
   PARTNERS INTRO
   ========================================================= */

.cmusupport-partners-intro {
  padding: 90px 0 35px;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.cmusupport-final {
  position: relative;
  overflow: hidden;
  padding: 70px 0;

  background: var(--maroon);
  color: #fff;
}

.cmusupport-final::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -110px;

  width: 250px;
  height: 250px;

  background: var(--gold);
  transform: rotate(28deg);
}

.cmusupport-final__inner {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 90px;
  align-items: center;
}

.cmusupport-final h2 {
  max-width: 760px;
  margin: 0;

  color: #fff;
  font-size: clamp(2.7rem, 4vw, 4.5rem);
  line-height: .95;
  letter-spacing: -.04em;
}

.cmusupport-final p {
  max-width: 650px;
  line-height: 1.65;
}

.cmusupport-kicker--light {
  color: var(--gold);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

  .cmusupport-heading--split,
  .cmusupport-final__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cmusupport-impact-grid,
  .cmusupport-give-grid {
    grid-template-columns: 1fr;
  }

  .cmusupport-impact-card {
    min-height: 0;
  }

  .cmusupport-number {
    margin-bottom: 45px;
  }

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

  .cmusupport-community {
    grid-template-columns: 1fr;
  }

  .cmusupport-community__photo,
  .cmusupport-community__photo img {
    min-height: 520px;
  }
}


@media (max-width: 700px) {

  .cmusupport-shell {
    width: calc(100% - 32px);
  }

  .cmusupport-hero {
    min-height: 630px;
  }

  .cmusupport-hero__content {
    padding-bottom: 46px;
  }

  .cmusupport-hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .cmusupport-hero__lead {
    font-size: 1rem;
  }

  .cmusupport-intro,
  .cmusupport-needs,
  .cmusupport-give {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .cmusupport-heading h2,
  .cmusupport-heading--split h2 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .cmusupport-needs-grid {
    grid-template-columns: 1fr;
  }

  .cmusupport-community__photo,
  .cmusupport-community__photo img {
    min-height: 390px;
  }

  .cmusupport-community__copy {
    padding: 55px 24px;
  }

  .cmusupport-give-card {
    min-height: 0;
  }

  .cmusupport-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Remove default Clean+ top spacing on Support page */
.page-node-306 .main-content__section {
  padding-top: 0;
  padding-bottom: 0;
}

/* =========================================================
   INDIVIDUAL DONOR RECOGNITION
   ========================================================= */

.cmusupport-individual-support {
  padding: 95px 0;
  background: var(--cream);
}

.cmusupport-hero,
.cmusupport-needs,
.cmusupport-community,
.cmusupport-individual-support,
.cmusupport-final {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.cmusupport-donor-tiers {
  border-top: 1px solid var(--line);
}

.cmusupport-donor-tier {
  margin: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.cmusupport-donor-tier summary {
  display: grid;
  grid-template-columns: 1fr auto 24px;
  gap: 24px;
  align-items: center;

  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
}

.cmusupport-donor-tier summary::-webkit-details-marker {
  display: none;
}

.cmusupport-donor-tier summary span {
  color: var(--maroon);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.cmusupport-donor-tier summary strong {
  color: var(--gray);
  font-size: .72rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: right;
}

.cmusupport-donor-tier summary::after {
  content: "+";
  color: var(--maroon);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.cmusupport-donor-tier[open] summary::after {
  content: "−";
}

.cmusupport-donor-tier[open] summary {
  border-bottom: 1px solid var(--line);
}

.cmusupport-donor-tier__names {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 18px 28px 26px;
}

.cmusupport-donor-tier__names span {
  padding: 9px 24px 9px 0;
  color: #4f5055;
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.4;
}

.cmusupport-donor-tier--anonymous .cmusupport-donor-tier__names span {
  font-style: italic;
}

.cmusupport-donor-footer {
  max-width: 900px;
  margin-top: 24px;
}

.cmusupport-donor-footer p {
  margin: 0;
  color: var(--gray);
  font-size: .8rem;
  line-height: 1.55;
}


/* Donor recognition responsive */

@media (max-width: 800px) {
  .cmusupport-donor-tier__names {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .cmusupport-individual-support {
    padding: 65px 0;
  }

  .cmusupport-donor-tier summary {
    grid-template-columns: 1fr 22px;
    gap: 14px;
    padding: 20px;
  }

  .cmusupport-donor-tier summary strong {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
  }

  .cmusupport-donor-tier summary::after {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .cmusupport-donor-tier__names {
    grid-template-columns: 1fr;
    padding: 14px 20px 20px;
  }

  .cmusupport-donor-tier__names span {
    padding: 8px 0;
  }
}