/* Scoped to CMU components; no framework or theme replacement. */
.cmu{--maroon:#721c36;--wine:#4a1227;--gold:#f7c844;--ink:#22272b;--muted:#61676b;--paper:#f6f4ef;--line:#dcdedb;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:17px;line-height:1.65;width:100%;max-width:none;margin:0 0 72px;text-align:left;overflow-wrap:anywhere}
.cmu *{box-sizing:border-box}.cmu [hidden]{display:none!important}.cmu h1,.cmu h2,.cmu h3,.cmu p,.cmu figure,.cmu dl{margin:0}.cmu h1,.cmu h2,.cmu h3{font-family:Arial,Helvetica,sans-serif;font-weight:800;text-transform:none;letter-spacing:-.045em;color:inherit;line-height:1.05}.cmu h1{font-size:clamp(42px,5.2vw,76px)}.cmu h2{font-size:clamp(28px,3vw,40px)}.cmu a{color:var(--maroon);text-decoration:none}.cmu a:focus-visible,.cmu button:focus-visible,.cmu input:focus-visible{outline:3px solid #b28200;outline-offset:5px}.cmu .cmu-eyebrow{font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;line-height:1.5}.cmu-roster__hero{display:block;padding:0 0 28px;background:none;border-bottom:1px solid var(--line);color:var(--ink)}.cmu-roster__hero h1{font-size:clamp(30px,3.4vw,48px);line-height:1.15;margin:8px 0 0;max-width:none}.cmu-roster__hero .cmu-eyebrow{color:var(--maroon)}.cmu .cmu-season{font-size:21px;font-weight:700;margin-bottom:12px}.cmu-intro{max-width:780px;color:var(--muted);font-size:16px}.cmu-intro a{color:var(--maroon)}.cmu-roster__bar{display:flex;gap:24px;align-items:center;justify-content:space-between;padding:24px 0 20px;border-bottom:1px solid var(--line);margin-bottom:30px}.cmu-count{font-size:14px;letter-spacing:0;font-weight:400;color:var(--muted);vertical-align:middle;margin-left:12px}.cmu-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 24px}.cmu-card{min-width:0}.cmu .cmu-card__link{display:block;color:var(--ink);height:100%;border-bottom:1px solid var(--line);transition:color .18s}.cmu-card__link:hover{color:var(--maroon)}.cmu-portrait{position:relative;aspect-ratio:4/5;background:#f3f3f1;overflow:hidden;width:100%}.cmu-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 30%;max-width:none;transition:transform .25s}.cmu-card__link:hover img{transform:scale(1.025)}.cmu-portrait--empty{background:linear-gradient(150deg,transparent 48%,#e6e2da 48.2%,#e6e2da 64%,transparent 64.2%),linear-gradient(30deg,#ede9e1 40%,#f5f2ec 40.2%);display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--maroon);border:1px solid #e8e3d9}.cmu-portrait__initials{font-size:clamp(42px,5vw,76px);font-weight:800;letter-spacing:-.05em;opacity:.8}.cmu-portrait__notice{position:absolute;bottom:24px;font-size:12px;letter-spacing:.03em;color:#66625d}.cmu-card__text{padding:19px 0 20px}.cmu-card__text .cmu-eyebrow{color:var(--maroon);font-size:10px;letter-spacing:.09em}.cmu-card__text h3{font-size:25px;margin:8px 0 10px;line-height:1.15;letter-spacing:-.035em}.cmu .cmu-card__meta{font-size:13px;color:var(--muted);line-height:1.5}.cmu-card__cta{display:flex;justify-content:space-between;align-items:center;margin-top:22px;font-size:12px;text-transform:uppercase;letter-spacing:.07em;font-weight:700}.cmu-card__cta span{font-size:23px;color:var(--maroon)}.cmu-back{display:flex;flex-wrap:wrap;gap:16px;margin:0 0 30px;font-size:13px;font-weight:700}.cmu-back a:hover{text-decoration:underline}.cmu-profile{display:grid;grid-template-columns:minmax(0, .9fr) minmax(0,1.1fr);gap:0;background:var(--paper);border-bottom:5px solid var(--gold)}.cmu-profile__portrait{align-self:start}.cmu-profile__portrait .cmu-portrait img{object-fit:contain;object-position:top center}.cmu-profile__summary{padding:clamp(24px,4vw,52px);align-self:center}.cmu-profile__summary .cmu-eyebrow{color:var(--maroon);font-size:10px}.cmu-profile h1{margin:22px 0 18px;font-size:clamp(42px,5vw,70px)}.cmu .cmu-role{color:var(--maroon);font-size:18px;font-weight:700;margin-bottom:30px}.cmu-facts{display:grid;grid-template-columns:1fr 1fr;gap:24px 20px;border-top:1px solid #d9d6cf;padding-top:25px}.cmu-facts dt{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-weight:700;margin-bottom:5px}.cmu-facts dd{margin:0;font-size:16px;line-height:1.4;font-weight:600}.cmu-social{display:flex;flex-wrap:wrap;gap:18px;margin-top:24px;font-size:13px}.cmu-story{display:grid;grid-template-columns:1fr 3fr;gap:40px;padding:54px 0;border-bottom:1px solid var(--line)}.cmu-section-label{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:700;color:var(--maroon);border-top:3px solid var(--maroon);padding-top:15px;align-self:start}.cmu-prose{max-width:780px;font-size:17px;line-height:1.85}.cmu-prose p{margin:0 0 22px}.cmu-prose h2,.cmu-prose h3{font-size:28px;line-height:1.25;margin:32px 0 16px}.cmu-prose h2:first-child{margin-top:0}.cmu-prose ul{padding-left:22px;margin:15px 0 28px}.cmu-prose li{margin-bottom:10px}.cmu-prose blockquote{margin:28px 0;padding:24px 28px;border-left:4px solid var(--gold);background:var(--paper);font-size:21px;color:var(--maroon);font-style:normal}.cmu-prose img{max-width:100%;height:auto}.cmu-gallery{padding-top:48px}.cmu-gallery__heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:26px}.cmu-gallery__heading h2{margin-top:12px}.cmu-gallery__heading .cmu-eyebrow{color:var(--maroon)}.cmu-gallery__heading>span{color:var(--muted);font-size:13px}.cmu-gallery__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.cmu-gallery__grid a{display:block;position:relative;background:var(--paper)}.cmu-gallery__grid img{display:block;aspect-ratio:4/3;width:100%;height:auto;object-fit:cover}.cmu-gallery__grid a>span{position:absolute;bottom:10px;right:10px;background:#fff;padding:2px 12px}.cmu-gallery figcaption{font-size:13px;margin-top:9px;color:var(--muted)}.cmu-lightbox{background:#191b1d;color:white;border:0;padding:20px;max-width:94vw;width:1000px;max-height:94vh}.cmu-lightbox::backdrop{background:rgba(0,0,0,.85)}.cmu-lightbox__controls{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-bottom:15px}.cmu-lightbox button{background:transparent;color:white;border:1px solid #777;padding:10px 17px;font:inherit;cursor:pointer}.cmu-lightbox img{display:block;max-width:100%;max-height:68vh;object-fit:contain;margin:0 auto}.cmu-lightbox p{margin:15px 0 0;font:15px/1.5 Arial,sans-serif}.cmu-lightbox a{color:#f7c844}.cmu-roster-page #block-cleanplus-page-title{display:none}.cmu-roster-page .main-content{padding-top:24px}
@media(min-width:1500px){.cmu-profile__summary{padding:52px}}
@media(max-width:1000px){.cmu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cmu-roster__hero{display:block;padding:0 0 28px;background:none;border-bottom:1px solid var(--line);color:var(--ink)}.cmu-profile__summary{padding:28px}.cmu-facts{gap:18px 12px}.cmu-story{grid-template-columns:1fr 3fr;gap:25px}}
@media(max-width:700px){.cmu{font-size:16px;margin-bottom:40px}.cmu-roster__hero{display:block;padding:0 0 28px;background:none;border-bottom:1px solid var(--line);color:var(--ink)}.cmu-roster__hero h1{font-size:clamp(30px,3.4vw,48px);line-height:1.15;margin:8px 0 0;max-width:none}.cmu .cmu-season{font-size:18px}.cmu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}.cmu-roster__bar{align-items:start;flex-direction:column;padding-top:28px;gap:20px}.cmu-card__text h3{font-size:22px}.cmu-card__cta{font-size:10px}.cmu-portrait__notice{font-size:10px;bottom:17px}.cmu-profile{grid-template-columns:1fr}.cmu-profile__portrait{width:100%;max-width:460px;margin:auto}.cmu-profile__summary{padding:32px 24px}.cmu-profile h1{font-size:48px}.cmu-story{grid-template-columns:1fr;padding:32px 0;gap:24px}.cmu-prose{font-size:16px}.cmu-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cmu-gallery__heading{align-items:start}.cmu-gallery__heading h2{font-size:30px}.cmu-back{font-size:12px}}
@media(max-width:380px){.cmu-grid{grid-template-columns:1fr}.cmu-facts{grid-template-columns:1fr}.cmu-gallery__grid{grid-template-columns:1fr}.cmu-roster__hero h1{font-size:clamp(30px,3.4vw,48px);line-height:1.15;margin:8px 0 0;max-width:none}}
@media(prefers-reduced-motion:reduce){.cmu *{transition:none!important;scroll-behavior:auto!important}}

/* Roster hierarchy and equal-height cards, revision 1.3. */
.cmu-roster .cmu-roster__hero{margin-bottom:32px}
.cmu-roster .cmu-roster__hero>.cmu-eyebrow{font-size:15px;letter-spacing:.08em}
.cmu-roster .cmu-card__link{display:flex;flex-direction:column}
.cmu-roster .cmu-card__text{display:flex;flex:1;flex-direction:column;padding:18px 0 20px}
.cmu-roster .cmu-card__text h3{margin:0 0 10px;min-height:2.3em}
.cmu-roster .cmu-card__details{margin-bottom:20px;font-size:14px;line-height:1.5;color:var(--muted)}
.cmu-roster .cmu-card__details p{min-height:1.5em;margin:0}
.cmu-roster .cmu-card__cta{justify-content:flex-start;gap:8px;margin-top:auto;font-size:14px;letter-spacing:0;text-transform:none;color:var(--maroon)}
.cmu-roster .cmu-card__cta>span[aria-hidden]{font-size:18px}
.cmu .cmu-portrait--empty{background:linear-gradient(145deg,#f4f2ed 0%,#eeeae3 100%);border:1px solid #e8e3d9}
.cmu .cmu-portrait__initials{font-size:clamp(32px,3vw,48px);opacity:.7}
.cmu .cmu-portrait__notice{color:#68645f;font-size:12px}
.cmu-staff{margin-top:52px;padding-top:30px;border-top:1px solid var(--line)}
.cmu-staff>h2{font-size:28px;margin-bottom:24px}
.cmu .cmu-grid--staff{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.cmu-grid--staff .cmu-card__link{display:grid;grid-template-columns:140px minmax(0,1fr);gap:22px;padding-bottom:22px}
.cmu-grid--staff .cmu-card__text{padding:0}
.cmu-grid--staff .cmu-card__text h3{min-height:0;font-size:23px;margin-bottom:6px}
.cmu-grid--staff .cmu-card__role{font-size:14px;font-weight:600;color:var(--maroon);margin-bottom:8px}
.cmu-grid--staff .cmu-card__details{font-size:13px;margin-bottom:12px}
@media(max-width:700px){.cmu .cmu-grid--staff{grid-template-columns:1fr}.cmu-grid--staff .cmu-card__link{grid-template-columns:100px minmax(0,1fr);gap:18px}.cmu-grid--staff .cmu-portrait__notice{font-size:9px;bottom:12px}.cmu-roster .cmu-card__details{font-size:13px}.cmu-roster .cmu-card__text h3{font-size:21px}.cmu-staff{margin-top:36px}}

/* Readable typography and compact profile header, revision 1.4. */
.cmu{--muted:#4c5358}
.cmu-roster .cmu-card__text{padding:16px 0}
.cmu-roster .cmu-card__text h3{font-size:24px;line-height:1.2;min-height:0;margin:0 0 8px}
.cmu-roster .cmu-card__details{font-size:16px;line-height:1.5;margin-bottom:10px;color:var(--muted)}
.cmu-roster .cmu-card__details p{font-size:16px;line-height:1.5;color:var(--muted);margin:0;min-height:1.5em}
.cmu-roster .cmu-card__role{font-size:16px;line-height:1.5;margin-bottom:8px}
.cmu-roster .cmu-card__cta{font-size:16px;line-height:1.5;min-height:44px}
.cmu .cmu-portrait{flex-shrink:0}
.cmu .cmu-portrait__notice{font-size:14px;line-height:1.4;text-align:center;max-width:calc(100% - 16px)}
.cmu .cmu-back,.cmu .cmu-social{font-size:16px;line-height:1.5}
.cmu .cmu-profile{grid-template-columns:minmax(240px,380px) minmax(0,1fr);align-items:start}
.cmu .cmu-profile__portrait{margin:0;width:100%;max-width:380px}
.cmu .cmu-profile__summary{align-self:start;padding:32px 36px}
.cmu .cmu-profile__summary>.cmu-eyebrow{font-size:14px;line-height:1.5;letter-spacing:.04em;text-transform:none}
.cmu .cmu-profile h1{font-size:clamp(44px,4vw,56px);line-height:1.1;margin:14px 0 12px}
.cmu .cmu-role{font-size:20px;line-height:1.5;margin-bottom:24px}
.cmu .cmu-facts{gap:22px 28px;padding-top:22px;max-width:780px}
.cmu .cmu-facts dt{font-size:14px;line-height:1.5;text-transform:none;letter-spacing:0;color:var(--muted);margin-bottom:4px}
.cmu .cmu-facts dd{font-size:18px;line-height:1.5}
.cmu .cmu-prose,.cmu .cmu-prose p,.cmu .cmu-prose li{font-size:18px;line-height:1.7}
.cmu .cmu-section-label{font-size:16px;letter-spacing:0;text-transform:none}
.cmu .cmu-gallery figcaption,.cmu .cmu-gallery__heading>span{font-size:16px;line-height:1.5}
@media(max-width:1000px){.cmu .cmu-profile{grid-template-columns:minmax(220px,32%) minmax(0,1fr)}.cmu .cmu-profile__summary{padding:26px}.cmu .cmu-facts{gap:18px}}
@media(max-width:700px){.cmu .cmu-profile{grid-template-columns:1fr}.cmu .cmu-profile__portrait{max-width:380px;margin:0 auto}.cmu .cmu-profile__summary{padding:24px}.cmu .cmu-profile h1{font-size:36px}.cmu .cmu-facts{grid-template-columns:1fr}.cmu .cmu-grid--staff .cmu-card__link{grid-template-columns:120px minmax(0,1fr)}.cmu .cmu-grid--staff .cmu-portrait__notice{font-size:14px;bottom:10px}.cmu .cmu-back{margin-bottom:22px}}

/* Version 1.5: athlete proportions and optional achievements. */
.cmu .cmu-profile{grid-template-columns:minmax(0,35%) minmax(0,65%)}
.cmu .cmu-profile__portrait{max-width:none}
.cmu .cmu-profile__summary{min-width:0}
.cmu .cmu-profile h1{overflow-wrap:anywhere}
.cmu .cmu-story{display:block;padding:40px 0}
.cmu .cmu-story>.cmu-section-label{border:0;padding:0;margin:0 0 20px;font-size:26px;line-height:1.25;color:var(--ink)}
.cmu .cmu-prose{max-width:780px}
.cmu .cmu-highlights{margin-top:26px;padding:18px 0 0;border-top:2px solid var(--maroon)}
.cmu .cmu-highlights h2{font-size:20px;line-height:1.3;margin:0 0 12px}
.cmu .cmu-highlights ul{padding-left:22px;margin:0}
.cmu .cmu-highlights li{font-size:18px;line-height:1.5;margin:0 0 8px;overflow-wrap:anywhere}
.cmu .cmu-highlights li::marker{color:var(--maroon)}
.cmu .cmu-highlights p{margin:0}
.cmu-athlete-page .internal-banner__meta .field--name-field-mt-tmm-subtitle{display:none}
.cmu-athlete-page .internal-banner__meta:has(.field--name-field-mt-tmm-subtitle):not(:has(a,time,.field:not(.field--name-field-mt-tmm-subtitle))){display:none}
@media(max-width:700px){.cmu .cmu-profile{grid-template-columns:minmax(0,1fr)}.cmu .cmu-profile__portrait{max-width:460px;margin:0 auto}.cmu .cmu-story{padding:30px 0}}
/* Version 1.6: fill the desktop profile down to its bottom border. */
@media(min-width:701px){
  .cmu .cmu-profile__portrait{align-self:stretch;position:relative;min-width:0}
  .cmu .cmu-profile__portrait::before{content:"";display:block;padding-top:125%}
  .cmu .cmu-profile__portrait>.cmu-portrait{position:absolute;inset:0;height:100%;aspect-ratio:auto}
  .cmu .cmu-profile__portrait .cmu-portrait img{height:100%;width:100%;object-fit:cover;object-position:center top}
}

/* =========================================================
   CMU ATHLETE PROFILE — SOCIAL ICONS

   Converts the linked platform names rendered inside
   nav.cmu-social into branded icon buttons. The original
   link text remains in the DOM as the accessible name.

   Unrecognized social URLs intentionally keep their text so
   a future platform never becomes an empty, unusable link.
   ========================================================= */

.cmu .cmu-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.cmu .cmu-social a:is(
  [href*="facebook.com/"],
  [href*="fb.com/"],
  [href*="instagram.com/"],
  [href*="twitter.com/"],
  [href*="//x.com/"],
  [href*="linkedin.com/"],
  [href*="youtube.com/"],
  [href*="youtu.be/"]
) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(104, 22, 49, .3);
  border-radius: 50%;
  background: #fff;
  color: #681631;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(39, 39, 44, .08);
  transition:
    color .15s ease,
    background-color .15s ease,
    border-color .15s ease,
    box-shadow .15s ease,
    transform .15s ease;
}

.cmu .cmu-social a:is(
  [href*="facebook.com/"],
  [href*="fb.com/"],
  [href*="instagram.com/"],
  [href*="twitter.com/"],
  [href*="//x.com/"],
  [href*="linkedin.com/"],
  [href*="youtube.com/"],
  [href*="youtu.be/"]
)::before {
  display: block;
  color: currentColor;
  font-family: "Font Awesome 6 Brands";
  font-size: 19px;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  line-height: 1;
  text-rendering: auto;
}

.cmu .cmu-social a[href*="facebook.com/"]::before,
.cmu .cmu-social a[href*="fb.com/"]::before {
  content: "\f39e";
}

.cmu .cmu-social a[href*="instagram.com/"]::before {
  content: "\f16d";
}

.cmu .cmu-social a[href*="twitter.com/"]::before,
.cmu .cmu-social a[href*="//x.com/"]::before {
  content: "\e61f";
}

.cmu .cmu-social a[href*="linkedin.com/"]::before {
  content: "\f0e1";
}

.cmu .cmu-social a[href*="youtube.com/"]::before,
.cmu .cmu-social a[href*="youtu.be/"]::before {
  content: "\f167";
}

.cmu .cmu-social a:is(
  [href*="facebook.com/"],
  [href*="fb.com/"],
  [href*="instagram.com/"],
  [href*="twitter.com/"],
  [href*="//x.com/"],
  [href*="linkedin.com/"],
  [href*="youtube.com/"],
  [href*="youtu.be/"]
):hover {
  border-color: #681631;
  background: #681631;
  color: #fff;
  box-shadow: 0 6px 16px rgba(104, 22, 49, .2);
  transform: translateY(-2px);
}

.cmu .cmu-social a:is(
  [href*="facebook.com/"],
  [href*="fb.com/"],
  [href*="instagram.com/"],
  [href*="twitter.com/"],
  [href*="//x.com/"],
  [href*="linkedin.com/"],
  [href*="youtube.com/"],
  [href*="youtu.be/"]
):focus-visible {
  outline: 3px solid #ffd43b;
  outline-offset: 3px;
  border-color: #681631;
}

@media (max-width: 700px) {

  .cmu .cmu-social {
    gap: 10px;
  }

  .cmu .cmu-social a:is(
    [href*="facebook.com/"],
    [href*="fb.com/"],
    [href*="instagram.com/"],
    [href*="twitter.com/"],
    [href*="//x.com/"],
    [href*="linkedin.com/"],
    [href*="youtube.com/"],
    [href*="youtu.be/"]
  ) {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .cmu .cmu-social a {
    transition: none;
  }

  .cmu .cmu-social a:hover {
    transform: none;
  }
}


/* Version 1.8: roster cards. The owner's profile/social styles above are retained. */
.cmu-roster{container:cmu-roster / inline-size}
.cmu-roster .cmu-roster__hero{padding-bottom:24px;margin-bottom:30px}
.cmu-roster .cmu-intro{margin-top:16px;font-size:17px;line-height:1.65}
.cmu-roster .cmu-grid--athletes{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px}
.cmu-roster .cmu-card{margin:0;min-width:0;height:100%}
.cmu-roster .cmu-card__link{display:flex;flex-direction:column;height:100%;min-width:0;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden;color:var(--ink);text-decoration:none;transition:border-color .18s ease,box-shadow .18s ease}
.cmu-roster .cmu-card__link:hover,.cmu-roster .cmu-card__link:focus-visible{border-color:var(--maroon);box-shadow:0 4px 16px rgb(74 18 39 / 9%);color:var(--ink);text-decoration:none}
.cmu-roster .cmu-card__link:focus-visible{outline:3px solid var(--maroon);outline-offset:4px}
.cmu-roster .cmu-card__link:hover img{transform:none}
.cmu-roster .cmu-card .cmu-portrait{margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;aspect-ratio:4/5}
.cmu-roster .cmu-card__text{display:flex;flex-direction:column;flex:1;min-width:0;padding:18px 18px 12px}
.cmu-roster .cmu-card__text h3{font-size:24px;font-weight:700;line-height:1.25;letter-spacing:-.025em;min-height:0;margin:0 0 10px;overflow-wrap:normal;word-break:normal;hyphens:manual}
.cmu-roster .cmu-card__details{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:16px;line-height:1.5;margin:0 0 16px;color:var(--muted)}
.cmu-roster .cmu-card__details p{font-size:16px;line-height:1.5;min-height:0;margin:0;padding:0;color:var(--muted);overflow-wrap:break-word}
.cmu-roster .cmu-card__details .cmu-card__year{color:var(--ink);font-weight:500}
.cmu-roster .cmu-card__role{font-size:16px;line-height:1.5;font-weight:600;color:var(--maroon);margin:0 0 8px}
.cmu-roster .cmu-card__cta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding:12px 0 2px;min-height:46px;border-top:1px solid var(--line);font-size:16px;line-height:1.5;font-weight:700;letter-spacing:0;text-transform:none;color:var(--maroon)}
.cmu-roster .cmu-card__cta>span[aria-hidden]{font-size:22px;line-height:1}
.cmu-roster .cmu-card__cta-label{font-size:inherit}
.cmu-roster .cmu-card__link:hover .cmu-card__cta-label,.cmu-roster .cmu-card__link:focus-visible .cmu-card__cta-label{text-decoration:underline;text-underline-offset:4px}
.cmu-roster .cmu-staff{margin-top:44px;padding-top:28px}
.cmu-roster .cmu-staff>h2{font-size:28px;line-height:1.2;letter-spacing:-.025em;margin:0 0 22px}
.cmu-roster .cmu-grid--staff{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.cmu-roster .cmu-grid--staff .cmu-card__link{display:grid;grid-template-columns:128px minmax(0,1fr);gap:20px;padding:18px;align-items:start}
.cmu-roster .cmu-grid--staff .cmu-card .cmu-portrait{border:0;border-radius:4px}
.cmu-roster .cmu-grid--staff .cmu-card__text{padding:0;align-self:stretch}
.cmu-roster .cmu-grid--staff .cmu-card__text h3{font-size:22px;margin-bottom:6px}
.cmu-roster .cmu-grid--staff .cmu-card__details{margin-bottom:10px}
.cmu-roster .cmu-grid--staff .cmu-card__cta{padding-top:10px;min-height:44px}
.cmu-roster .cmu-grid--staff .cmu-portrait__notice{font-size:12px;bottom:12px}
@media(max-width:1100px){.cmu-roster .cmu-grid--athletes{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.cmu-roster .cmu-grid--athletes{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.cmu-roster .cmu-grid--staff{grid-template-columns:1fr}}
@media(max-width:520px){.cmu-roster .cmu-grid--athletes{grid-template-columns:1fr}.cmu-roster .cmu-card__text h3{font-size:24px}.cmu-roster .cmu-grid--staff .cmu-card__link{grid-template-columns:96px minmax(0,1fr);gap:16px;padding:16px}.cmu-roster .cmu-grid--staff .cmu-card__text h3{font-size:21px}.cmu-roster .cmu-grid--staff .cmu-portrait__notice{font-size:11px;bottom:8px}}
/* Respect the theme's available content width, including narrower sidebars. */
@container cmu-roster (max-width:1000px){.cmu-roster .cmu-grid--athletes{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container cmu-roster (max-width:740px){.cmu-roster .cmu-grid--athletes{grid-template-columns:repeat(2,minmax(0,1fr))}.cmu-roster .cmu-grid--staff{grid-template-columns:1fr}}
@container cmu-roster (max-width:480px){.cmu-roster .cmu-grid--athletes{grid-template-columns:1fr}.cmu-roster .cmu-grid--staff .cmu-card__link{grid-template-columns:96px minmax(0,1fr);gap:16px;padding:16px}}
@media(prefers-reduced-motion:reduce){.cmu-roster .cmu-card__link{transition:none}}


/* Version 1.9: profile hierarchy, readable story and photo controls. */
.cmu-athlete{container:cmu-athlete / inline-size}
.cmu-athlete .cmu-profile__summary{align-self:center}
.cmu-athlete .cmu-facts{row-gap:20px}
.cmu-athlete .cmu-highlights{margin:28px 0 0;padding:24px 28px;border:1px solid var(--line);border-radius:8px;background:#fff}
.cmu-athlete .cmu-highlights h2{font-size:24px;line-height:1.25;letter-spacing:-.025em;margin:0 0 20px}
.cmu-athlete .cmu-highlights>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 40px;padding-left:22px;margin:0}
.cmu-athlete .cmu-highlights li{font-size:18px;line-height:1.6;margin:0;padding-left:2px;min-width:0}
.cmu-athlete .cmu-highlights li strong{font-weight:700;color:var(--ink)}
.cmu-athlete .cmu-highlights .cmu-highlight__detail{color:var(--muted)}
.cmu-athlete .cmu-highlights li p{font-size:inherit;line-height:inherit;margin:0}
.cmu-athlete .cmu-highlights li>ul{margin-top:8px}
.cmu-athlete .cmu-story{padding:36px 0 40px}
.cmu-athlete .cmu-prose{max-width:880px}
.cmu-athlete .cmu-prose,.cmu-athlete .cmu-prose p,.cmu-athlete .cmu-prose li{font-size:18px;line-height:1.75}
.cmu-athlete .cmu-prose p{margin-bottom:22px}
.cmu-athlete .cmu-prose>:last-child{margin-bottom:0}
.cmu-athlete .cmu-gallery{padding-top:36px}
.cmu-athlete .cmu-gallery__heading h2{font-size:32px;line-height:1.2;margin:0}
.cmu-athlete .cmu-gallery__grid a{overflow:hidden;border-radius:4px}
.cmu-athlete .cmu-gallery__grid a:focus-visible{outline:3px solid var(--maroon);outline-offset:5px}
.cmu-athlete .cmu-gallery__grid a>.cmu-gallery__expand{display:grid;place-items:center;width:44px;height:44px;padding:0;bottom:12px;right:12px;border:1px solid rgba(114,28,54,.2);border-radius:4px;background:#fff;color:var(--maroon);box-shadow:0 2px 8px rgb(0 0 0 / 12%)}
.cmu-athlete .cmu-gallery__expand svg{display:block;width:24px;height:24px}
.cmu-athlete .cmu-gallery__grid a:hover .cmu-gallery__expand,.cmu-athlete .cmu-gallery__grid a:focus-visible .cmu-gallery__expand{background:var(--maroon);color:#fff;border-color:var(--maroon)}
.cmu-athlete .cmu-lightbox{box-sizing:border-box;max-width:calc(100vw - 24px);border-radius:8px}
.cmu-athlete .cmu-lightbox__controls{gap:12px;flex-wrap:wrap}
.cmu-athlete .cmu-lightbox__controls button{min-height:44px;font-size:16px;line-height:1.3;border-radius:4px}
.cmu-athlete .cmu-lightbox__controls>span{font-size:16px;white-space:nowrap}
.cmu-athlete .cmu-lightbox__controls button:focus-visible,.cmu-athlete .cmu-lightbox a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
@media(max-width:900px){.cmu-athlete .cmu-highlights>ul{grid-template-columns:1fr}.cmu-athlete .cmu-highlights{padding:22px}}
@media(max-width:700px){.cmu-athlete .cmu-profile__summary{width:100%;padding:26px 22px}.cmu-athlete .cmu-story{padding:30px 0}.cmu-athlete .cmu-gallery__heading h2{font-size:28px}}
@media(max-width:520px){.cmu-athlete .cmu-gallery__grid{grid-template-columns:1fr}.cmu-athlete .cmu-gallery__heading{gap:12px}.cmu-athlete .cmu-highlights{padding:20px}.cmu-athlete .cmu-lightbox{padding:16px}.cmu-athlete .cmu-lightbox__controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cmu-athlete .cmu-lightbox__controls>span{order:0}.cmu-athlete .cmu-lightbox__controls>button:first-child{order:2}.cmu-athlete .cmu-lightbox__controls>button:nth-child(3){order:3}.cmu-athlete .cmu-lightbox__controls>button:last-child{order:1}}
/* Narrow theme columns also get the stacked portrait layout. */
@container cmu-athlete (max-width:900px){
  .cmu-athlete .cmu-profile{grid-template-columns:minmax(0,1fr)}
  .cmu-athlete .cmu-profile__portrait{align-self:start;position:relative;width:100%;max-width:440px;margin:0 auto}
  .cmu-athlete .cmu-profile__portrait::before{display:none}
  .cmu-athlete .cmu-profile__portrait>.cmu-portrait{position:relative;inset:auto;height:auto;aspect-ratio:4/5}
  .cmu-athlete .cmu-profile__portrait .cmu-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top}
  .cmu-athlete .cmu-profile__summary{width:100%;padding:28px}
  .cmu-athlete .cmu-highlights>ul{grid-template-columns:1fr}
}
@container cmu-athlete (max-width:520px){.cmu-athlete .cmu-profile__summary{padding:24px 20px}.cmu-athlete .cmu-facts{grid-template-columns:1fr}.cmu-athlete .cmu-gallery__grid{grid-template-columns:1fr}.cmu-athlete .cmu-highlights{padding:20px}}

/* Version 1.10: let the enlarged photo use the available screen area. */
.cmu-athlete .cmu-lightbox{
  width:calc(100vw - 48px);
  max-width:none;
  height:calc(100vh - 48px);
  height:calc(100dvh - 48px);
  max-height:none;
  margin:auto;
  padding:16px;
  overflow:hidden;
}
.cmu-athlete .cmu-lightbox[open]{display:flex;flex-direction:column;gap:12px}
.cmu-athlete .cmu-lightbox__controls{flex:0 0 auto;margin:0}
.cmu-athlete .cmu-lightbox__stage{display:flex;align-items:center;justify-content:center;flex:1 1 0;min-width:0;min-height:0;overflow:hidden}
.cmu-athlete .cmu-lightbox__stage img{display:block;width:100%;height:100%;max-width:100%;max-height:none;object-fit:contain;object-position:center;margin:0}
.cmu-athlete .cmu-lightbox__caption{flex:0 0 auto;margin:0;padding:0 2px;max-height:6em;max-height:min(6em,16vh);overflow:auto;overflow-wrap:anywhere;color:#fff;font:16px/1.5 Arial,Helvetica,sans-serif}
@media(max-width:520px){
  .cmu-athlete .cmu-lightbox{width:calc(100vw - 16px);height:calc(100vh - 16px);height:calc(100dvh - 16px);padding:12px}
  .cmu-athlete .cmu-lightbox[open]{gap:10px}
  .cmu-athlete .cmu-lightbox__controls{gap:8px}
}
@media(max-height:500px){
  .cmu-athlete .cmu-lightbox{height:calc(100vh - 16px);height:calc(100dvh - 16px);padding:10px}
  .cmu-athlete .cmu-lightbox[open]{gap:8px}
  .cmu-athlete .cmu-lightbox__controls{display:flex;flex-wrap:nowrap;gap:8px}
  .cmu-athlete .cmu-lightbox__controls button{min-height:40px;padding:6px 10px;font-size:14px}
  .cmu-athlete .cmu-lightbox__caption{font-size:14px}
}

/* Center gallery captions in thumbnails and the photo viewer. */
.cmu-athlete .cmu-lightbox__caption,
.cmu-athlete .cmu-gallery figcaption {
  text-align: center;
}
