/* Styles specific to the homepage */
.logo {
  background: var(--brand-secondary);
  width: 260px;
  color: white;
  a {
    text-decoration: none;
    color: white;
  }
}
body.feature-slider-page {
  background: #fff;
}
.hero-section {
  margin-top: 3.9rem;
}
.hero-section__dek {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 2px;
  width:100%;
  padding: 2rem;
  position: relative;
}
@media (min-width: 1024px) {
  .hero-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: var(--old-growth) url("../images/prez/pres012126_00076.jpg") center 30% / cover no-repeat;
    height: 65vh;
    padding-left: 5%;
  }
  .hero-section__dek {
    width: 30rem;
  }
  .hero-section__img {
    display: none;
  }
}
@media (min-width: 1400px) {
  .hero-section{
    padding-left: 15%;
  }
}

.hero-section__title {
  color: var(--ink);
  font-size: 3rem;
  line-height: 0.98;
  letter-spacing: 0;
}
.hero-section__lead {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.feature-slide {
  overflow: hidden;
  width: min(1216px, 100vw);
  min-height: 460px;
  flex: 0 0 min(1216px, 100vw);
  background: var(--paper);
  transition: background-color 180ms ease;
  padding: clamp(1rem, 2vw, 1.75rem);
  position: relative;
}

.feature-slide:has(.stretched-link:hover),
.feature-slide:has(.stretched-link:focus-visible),
.feature-alum__card:has(.stretched-link:hover),
.feature-alum__card:has(.stretched-link:focus-visible) {
  background-color: color-mix(in srgb, var(--paper) 94%, #000);
}
.feature-alum__card:has(.stretched-link:hover),
.feature-alum__card:has(.stretched-link:focus-visible) {
  /* padding: 1rem; */
}

.feature-slide.feature-slide__variant:has(.stretched-link:hover),
.feature-slide.feature-slide__variant:has(.stretched-link:focus-visible) {
  background-color: color-mix(in srgb, var(--blue) 90%, #000);
}

.feature-slide__variant {
  color: var(--white);
  background: var(--blue);
  .feature-slide__title {
    color: var(--white);
  }
  .row {
    flex-direction: row-reverse;
  }
  .feature-slide__title, .feature-slide__dek {
    text-align: left;
    margin-left: 0;
  }
  .feature-slide__accent {
    margin-left: 0;
    background: var(--white);
  }
  .feature-slide__media img {
    border-left: none;
    border-right: var(--white) 5px solid;
    width: 648px;
    height: 460px;
    object-fit: cover;
  }
}
.feature-slide__non {
  width: 100%;
  .feature-slide__media img {
    height: 460px;
  }
}

.feature-slider {
  position: relative;
  min-height: 100svh;
  --feature-slider-height: 100svh;
}

.feature-slider__viewport {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--feature-slider-height);
  overflow: hidden;
  background: var(--paper);
}

@media (min-width: 992px) {
  .feature-slider {
    --feature-slider-height: clamp(460px, 72svh, 720px);
  }

  .feature-slider__viewport {
    top: max(4.5rem, calc((100svh - var(--feature-slider-height)) / 2));
  }
}

.feature-slider__track {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
  height: 100%;
  padding: 0 max(0px, calc((100vw - 1216px) / 2));
  will-change: transform;
}

.feature-slider__track > article {
  margin: 0;
}

.feature-slider__track > article:not(:first-child) {
  /* Opacity keeps the slide and its link in the keyboard focus order. */
  visibility: visible;
  opacity: 0;
  pointer-events: auto;
}

.feature-slider__track > article:focus-within {
  opacity: 1;
}

.feature-slider.is-scroll-locked
  .feature-slider__track
  > article:not(:first-child) {
  opacity: 1;
}

.feature-slider__progress {
  position: absolute;
  right: 2rem;
  bottom: 1.25rem;
  z-index: 2;
  width: min(260px, 35vw);
  height: 3px;
  background: rgba(5, 5, 5, 0.2);
}

.feature-slider__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--orange);
  transform-origin: left;
}

.feature-slider__hint {
  position: absolute;
  right: 2rem;
  top: 1.25rem;
  z-index: 2;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prototype-spacer {
  /* padding-top: 8rem; */
    /* top padding for sticky nav */
  display: grid;
  min-height: 45svh;
  place-items: center;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.feature-slide__copy {
  justify-content: flex-start;
  min-height: 460px;
  padding: 1.25rem 4rem 2.4rem 2.1875rem;
}

.feature-slide__accent {
  width: 224px;
  height: 5px;
  margin: 0 0 1.35rem 0;
  background: var(--orange);
}

.feature-slide__title {
  text-align: left;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.feature-slide__cta {
  justify-content: start;
}

.feature-slide__title span, .story-card h2 span {
  display: block;
}
.story-card small {
font-size: 1.5rem;
    display: block;
    font-family: var(--bs-font-sans-serif);
    font-weight: 400;
    line-height: 1.4;
}
.feature-slide__dek {
  text-align: left;
  margin: 0;
  font-size: 1.42rem;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}
.mentorship-section__dek {
  font-size: 1.42rem;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}
.feature-slide__media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center;
  border-left: var(--orange) 5px solid;
}

@media (max-width: 991.98px) {
  .feature-slide {
    width: min(720px, 100vw);
    flex-basis: min(720px, 100vw);
    padding: 1.25rem;
  }

  .feature-slide__copy {
    min-height: auto;
    padding: 2.5rem 2rem 2.25rem;
  }

  .feature-slide__accent {
    width: 190px;
    margin-bottom: 1.25rem;
  }

  .feature-slide__title {
    margin-bottom: 1.35rem;
    font-size: 3.4rem;
  }

  .feature-slide__media,
  .feature-slide__media img {
    min-height: 360px;
  }

  .feature-slide__media::before {
    right: 0;
    bottom: auto;
    width: auto;
    height: 5px;
  }
}
/* Alumni section */
.alumni-section {
  color: var(--ink);
  font-family: var(--sans);
  .feature-alum__card a {
    color: var(--ink);
  }
}
.feature-alum {
  display:grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .hero-section__title {
    font-size: 3.75rem;
  }
  .feature-slide__copy {
    padding: 1.25rem 4rem 2.4rem 2.1875rem;
  }

  .feature-slide__accent {
    margin: 0 0 1.35rem auto;
  }

  .feature-slide__title {
    text-align: right;

  }
  .feature-slide__dek {
    text-align: right;
    margin: 0 0 0 auto;
  }
  .feature-slide__cta {
    justify-content: end;
  }
  .feature-alum {
    grid-template-columns: repeat(2, 1fr);
  }
}
.feature-alum__card {
  background: var(--paper);
  transition: background-color 180ms ease;
  padding-bottom: 1rem;
  border-radius: 3px;
}
.feature-alum__img img {
    object-fit: cover;
    width: 100%;
    height: 390px;
    border-top: solid 3px var(--gold);
  }
.accent {
  display: block;
  width: 224px;
  height: 5px;
  margin: 0 0 12px -1px;
  background: var(--orange);
}

.alumni-section__title {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
}
.alumni-section__subheading {
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  font-size: 1.75rem;
}

.alumni-section__title, .mentorship-section__title {
  font-size: 2.5rem;
}

.alumni-section__group-title {
  font-size: 1.6rem;
}

.alumni-stories {
  padding-right: 1.5rem;
}

.alumni-stories > .col-12 {
  margin-bottom: 4px;
}

.alumni-story {
  min-height: 84px;
  padding: 0 9px 18px 0;
  position: relative;
}

.alumni-story__image {
  flex: 0 0 91px;
  width: 91px;
  height: 68px;
  background: #d9d9d9;
}

.alumni-story__image--photo {
  overflow: hidden;
}

.alumni-story__image--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.alumni-story__title {
  flex: 0 1 290px;
  margin: 0;
}

p {
  line-height: 1.08;
}

@media (max-width: 992px) {
  .alumni-section {
    min-height: 0;
  }

  .alumni-stories {
    padding-right: 0;
  }

  .alumni-updates {
    padding: 24px 0 0;
  }
}

    @media (max-width: 575.98px) {
  .alumni-section__title {
    font-size: 1.9rem;
  }

  .alumni-story {
    padding-right: 0;
  }

  .alumni-story__title {
    font-size: 1rem;
      }
    }
    /* Mentorship section */
    .accent__white {
      background: var(--white);
    }
    .mentorship-section {
      background: var(--blue);
      color: var(--white);
    }

    /* News in Brief and honors section */
    .briefs-section {
      padding: 0;
      background: var(--white) url("../images/land032026_00036opt.jpg") center top / cover no-repeat;
    }

    .briefs-section__panel {
      margin: 0 auto;
      background:rgb(253 251 238 / 75%);
    }

    .briefs-section__news {
      padding-right: 3rem;
    }

    .briefs-section__accent,
    .honors-card__accent {
      display: block;
      height: 5px;
      background: var(--blue);
    }

    .briefs-section__accent {
      width: 224px;
      margin-bottom: 12px;
    }

    .briefs-section__title,
    .honors-card__title {
      font-family: var(--font-serif);
      font-weight: 400;
      line-height: 1.1;
    }

    .briefs-section__title {
      font-size: 2.5rem;
    }

    .briefs-list {
      list-style: none;
      padding: 0;
    }

    .briefs-list__item {
      padding: 0 0 9px;
      margin-bottom: 11px;
      border-bottom: 1px solid rgba(5, 5, 5, .2);
      font-size: 1.25rem;
      /* line-height: 1.15; */
    }

    .alumni-story a {
      text-decoration: none;
      color: var(--ink);
    }
    .briefs-list a {
      color: var(--brand-secondary);
      font-weight: 700;
      text-decoration: none;
    }

    .briefs-list__item a:hover,
    .briefs-list__item a:focus,
    .alumni-story a:hover,
    .alumni-story a:focus {
      text-decoration: underline;
    }

    .honors-card {
      min-height: 602px;
      margin-top: 59px;
      padding: 25px 30px 32px;
      background: var(--brand-secondary);
      color: #fff;
      mix-blend-mode: normal;
    }

    .honors-card__accent {
      width: 178px;
      margin-bottom: 10px;
      background: var(--white);
    }

    .honors-card__title {
      font-size: 2.125rem;
    }

    .honors-card__intro {
      max-width: 495px;
    }

    .honors-grid {
      max-width: 653px;
    }

    .honors-item h3 {

      color: #fff;
      font-family: var(--font-serif);
      font-size: 1.6rem;
      font-weight: 400;
      line-height: 1.1;
    }


    @media (max-width: 991.98px) {
      .briefs-section,
      .briefs-section__panel {
        min-height: 0;
      }

      .briefs-section__news {
        padding-bottom: 42px;
      }

      .briefs-section__title {
        margin-bottom: 38px;
      }

      .honors-card {
        margin: 0 1rem 2rem;
      }
    }

    @media (max-width: 575.98px) {
      .briefs-section__news {
        padding-right: 1rem;
        padding-left: 1rem;
      }

      .briefs-section__title,
      .honors-card__title {
        font-size: 1.9rem;
      }

      .honors-card {
        margin-right: 0;
        margin-left: 0;
        padding: 1.5rem 1rem 2rem;
      }
    }

@media (max-width: 991.98px) {
  .component-preview {
    padding-right: 0;
    padding-left: 0;
  }

  .feature-slide {
    width: 100%;
    flex-basis: 100%;
  }

  .feature-slider__viewport {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .feature-slider__track {
    display: grid;
    gap: 1.5rem;
    height: auto;
    padding: 0;
    transform: none !important;
  }

  .feature-slider__progress,
  .feature-slider__hint {
    display: none;
  }

  .feature-slider {
    min-height: 0;
  }

  .feature-slide__copy {
    padding: 2rem 1.25rem 1.85rem;
  }

  .feature-slide__accent {
    width: 150px;
    height: 4px;
  }

  .feature-slide__title {
    font-size: 2.72rem;
    line-height: 1.02;
  }

  .feature-slide__dek {
    max-width: 330px;
    font-size: 1.08rem;
    line-height: 1.18;
  }

}
/* Story cards */
.story-card-group {
  background: var(--paper) url("../images/crossHatch.png") center top;
  background-size: 900px auto;
}
.story-card {
  position: relative;
  transition: transform 180ms ease;
}

.story-card .story-image,
.feature-alum__img {
  overflow: hidden;
}

.story-card .story-image img,
.feature-alum__img img {
  will-change: transform;
}

[data-home-reveal],
[data-home-photo-reveal] {
  will-change: opacity, transform;
}

.accent,
.feature-slide__accent,
.briefs-section__accent,
.honors-card__accent {
  will-change: transform;
}

.story-card:has(.stretched-link:hover),
.story-card:has(.stretched-link:focus-visible) ,
.story-card:has(.stretched-link:focus){
  /* background: var(--paper); */
  border-radius: 3px;
  animation: story-card-pulse 420ms ease-out;
  z-index: 1;
  outline: 3px solid var(--gold);
}

@keyframes story-card-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.015);
  }
  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-card {
    transition: none;
  }

  .story-card:has(.stretched-link:hover),
  .story-card:has(.stretched-link:focus-visible) {
    animation: none;
  }
}

 .story-card-column--first {
   align-self: center;
 }
 .story-card-column--last {
   padding-top: 7.7rem;
 }
.story-card h2 {
  font-size: 2.125rem;
  padding-top: .5rem;
  line-height: 1.1;
}
.story-label {
  background: rgb(from var(--orange) r g b / 0.7);
  padding: 0.25rem 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}
.story-card--future {
  padding-top: 2rem;
}
/* Keep in-page menu destinations clear of the fixed magazine header. */
#alumni-title,
#briefs-title,
#honors-title {
  scroll-margin-top: 6rem;
}
