﻿
/* Scope & base */
.wwu-page {
  font-family: "Roboto", Arial, sans-serif !important;
  background-color: #ffffff;
  color: #000000;
}

.wwu-page *,
.wwu-page *::before,
.wwu-page *::after {
  box-sizing: border-box;
}

.wwu-page p {
  margin: 0;
}

/* Layout shell */
.wwu-shell {
  width: 100%;
  max-width: 110rem;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

/* HERO */
.wwu-hero {
  position: relative;
  min-height: 55rem;
  overflow: hidden;
}

.wwu-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wwu-hero-image,
.wwu-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.wwu-hero-image img {
  object-fit: cover;
}

.wwu-hero-shell {
  position: relative;
  z-index: 1;
  min-height: 54rem;
  display: flex;
  align-items: flex-end;
  padding-top: 6rem;
  padding-bottom: 3.75rem;
}

.wwu-hero-text {
  max-width: 40rem;
  color: #ffffff;
}

.wwu-hero-eyebrow {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.wwu-hero-title {
  font-size: 6.25rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* MAIN & INTRO */
.wwu-main {
  padding-block: 2.5rem 0;
}

.wwu-intro {
  padding-bottom: 5rem;
}

.wwu-intro-body {
  max-width: 104rem;
  margin: 10rem auto;
}

.wwu-intro-body p {
  font-size: 1.5rem;
  line-height: 2.375rem;
  color: #000000;
  margin-bottom: 1.75rem;
}

/* TESTIMONIAL */
.wwu-testimonial {
  margin-top: -6rem;
  padding-bottom: 6rem;
  position: relative;
}

.wwu-testimonial-card {
  position: relative;
  width: 100%;
  max-width: 104rem;
  margin: 0 auto;
  overflow: hidden;          /* no rounded corners */
  min-height: 45rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  z-index: 2;
  margin-bottom: -21rem;     /* overlap bottom band by ~half */
}

/* make image fill 100% of card height, cropping sides if needed */
.wwu-testimonial-image {
  position: absolute;
  inset: 0;
  display: block;
}

.wwu-testimonial-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* darken full image */
.wwu-testimonial-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

/* centered quote content */
.wwu-testimonial-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 3.5rem;
  text-align: center;
  color: #ffffff;
}

.wwu-testimonial-quote {
  max-width: 83rem;
  margin-bottom: 2.25rem;
  font-size: 3rem;
  line-height: 4.6875rem;
  font-style: italic;
  font-weight: 400;
}

.wwu-testimonial-author {
  font-size: 1.5rem;
  line-height: 1.4;
}

.wwu-testimonial-name {
  display: block;
  font-size: 2.8125rem;
  font-weight: 900;
  line-height: 3.4375rem;
}

.wwu-testimonial-role {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 3.4375rem;
}

/* solid blue band underneath */
.wwu-bottom-band {
  position: relative;
  z-index: 1;
  height: 40vh;
  background-color: #67c4eb;
}

/* Responsive adjustments */
@media (max-width: 1023.98px) {
  .wwu-hero-shell {
    padding-top: 4.5rem;
    padding-bottom: 2.75rem;
  }

  .wwu-hero-text {
    max-width: 100%;
  }

  .wwu-hero-eyebrow {
    font-size: 1.8rem;
  }

  .wwu-hero-title {
    font-size: 3.6rem;
    white-space: normal;
  }

  .wwu-intro-body p {
    font-size: 1.25rem;
    line-height: 1.9rem;
  }

  .wwu-testimonial-card {
    margin-bottom: -6rem;
    min-height: 30rem;
  }

  .wwu-testimonial-quote {
    font-size: 2rem;
    line-height: 2.8rem;
  }

  .wwu-testimonial-name {
    font-size: 2.1rem;
  }

  .wwu-testimonial-role {
    font-size: 1.25rem;
  }
}

/* Desktop and up – keep hero title on one line */
@media (min-width: 1024px) {
  .wwu-hero-text {
    max-width: none;
  }

  .wwu-hero-title {
    white-space: nowrap;
  }
}

/* Very large desktop */
@media (min-width: 1440px) {
  .wwu-shell {
    max-width: 112rem;
  }
}


/* CURRENT active */
#tab-2025:checked ~ .news-tabs label[for="tab-2025"],
#tab-2024:checked ~ .news-tabs label[for="tab-2024"],
#tab-2023:checked ~ .news-tabs label[for="tab-2023"],
#tab-2022:checked ~ .news-tabs label[for="tab-2022"],
#tab-2021:checked ~ .news-tabs label[for="tab-2021"],
#tab-2020:checked ~ .news-tabs label[for="tab-2020"],
#tab-2019:checked ~ .news-tabs label[for="tab-2019"],
#tab-2018:checked ~ .news-tabs label[for="tab-2018"]
{
    color: #E51937;
    font-weight: 700;
}

/* Underline for active tab */
#tab-2025:checked ~ .news-tabs label[for="tab-2025"]::after,
#tab-2024:checked ~ .news-tabs label[for="tab-2024"]::after,
#tab-2023:checked ~ .news-tabs label[for="tab-2023"]::after,
#tab-2022:checked ~ .news-tabs label[for="tab-2022"]::after,
#tab-2021:checked ~ .news-tabs label[for="tab-2021"]::after,
#tab-2020:checked ~ .news-tabs label[for="tab-2020"]::after,
#tab-2019:checked ~ .news-tabs label[for="tab-2019"]::after,
#tab-2018:checked ~ .news-tabs label[for="tab-2018"]::after
{
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -11px;           /* hangs into the black section */
    width: 90px;
    height: 11px;
    background: #E51937;
    opacity: 1;
}

.news-tab {
    position: relative;
    border: none;
    background: none;
    padding: 0 0 18px;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #000;
}

.news-tabs {
    background: #fff;
    padding: 16px 24px 0;
    display: flex;
    gap: 40px;
}

.news-tab-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}


/* News year tabs: allow horizontal scrolling on small screens */
@media (max-width: 767px) {
  .news-page .news-tabs {
    display: flex;
    flex-wrap: nowrap;          /* keep in one row */
    overflow-x: auto;           /* enable horizontal scroll */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    gap: 0.75rem;
    padding: 0.25rem 0.5rem;

    /* Optional, helps avoid accidental page-wide horizontal scroll */
    max-width: 100%;
  }

  .news-page .news-tabs .news-tab {
    flex: 0 0 auto;             /* do not shrink */
    white-space: nowrap;        /* keep “2025” etc. from wrapping */
  }
}

@media (max-width: 767px) {
  .news-page .news-tabs { scroll-snap-type: x mandatory; }
  .news-page .news-tabs .news-tab { scroll-snap-align: start; }
}