/* ============================================================
   HOMEPAGE.CSS
   Batten University — Homepage-specific styles

   Styles here are scoped to the homepage only.
   Do not use on interior pages.

   Contents:
      1.  Hero Video
      2.  Hero Callout Bar
      3.  Degree Nav
      4.  Programs Section
      5.  Spotlight Carousel
      6.  Financial Aid Section
      7.  Why Batten Section
      8.  Mid-Page CTA
      9.  News Section
     10.  Feature Cards
     11.  News Briefs Carousel
     12.  Events Section
     13.  DBN Section
     14.  Centers Section
     15.  Snapshots / Gallery
     16.  Giving Section
     17.  Form Elements (select, input-group)
     18.  Splide Carousel Overrides
     19.  Reduced Motion

   NEW TOKENS (add to global.css :root):

   Palette:
     --color-navy-950:   #001d35   deepest navy — hero callout bg, event
                                   date badge, degree nav accents. Updates
                                   the value from utilities patch (#001f38)
                                   — #001d35 is the most-used variant here.
                                   Visually identical at this depth.
     --color-teal-wash:  #e5f3f9   very light teal tint — FA section bg
     --color-teal-wash-border: #d6ecf5  FA section border
============================================================ */
/* ============================================================
   1. HERO VIDEO
============================================================ */
.hero-video-section, .video-wrapper {
  position: relative;
}
video:focus {
  outline: 0 !important;
}
video {
  pointer-events: none;
}
.video-wrapper {
  height: clamp(350px, 45vw, 650px);
  overflow: hidden;
}
.hero-video, .hero-video-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, .65) 0, rgba(0, 0, 0, .15) 40%, rgba(0, 0, 0, .65) 100%);
}
.hero-video-message {
  position: absolute;
  inset-inline: 0;
  bottom: clamp(2rem, 6vw, 4rem);
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-video-title {
	font-family: var(--font-kanit);
	font-size: clamp(2.25rem, 11vw, 7rem);
	text-transform: uppercase;
	color: var(--color-white);
	line-height: 1;
  text-shadow: var(--text-shadow-hero);
}
.hero-video-subtitle {
	font-family: var(--font-opensans);
	font-size: clamp(1.25rem, 6vw, 3.5rem);
	font-style: italic;
	color: var(--color-white);
	font-weight: 600;
  text-shadow: var(--text-shadow-hero);
}
.hero-video-cta {
  margin-top: clamp(3rem, 4vw, 4rem);
  display: flex;
  gap: 1rem;
}
@media (min-width: 768px) {
  .hero-video-cta {
  gap: 3rem;
  }
}
/* Video CTA buttons */
.btn.btn--video {
	display: inline-block;
	padding: clamp(.85rem, 2vw + .5rem, 1rem) clamp(.75rem, 6vw + 1rem, 1.25rem);
	border: 1px solid var(--color-white);
	font-size: clamp(.85rem, .75rem + .3vw, 1rem);
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--color-white);
	background: rgba(0, 0, 0, .7);
	border-radius: 4px;
	backdrop-filter: blur(2px);
	width: clamp(175px, 20vw, 200px);
	transition: background-color .25s, color .25s, box-shadow .25s, transform .25s, border-color .25s;
}
.btn.btn--video:hover, .btn.btn--video:focus-visible {
  box-shadow: 0 0 7px 4px rgba(0, 145, 185, .9);
  transform: translateY(-3px) scale(1.03);
  
}
/* Video play/pause control */
.btn--video-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--color-white);
  opacity: .6;
  transition: opacity .2s, transform .2s;
  z-index: 10;
}
.btn--video-controls:hover {
	transform: scale(1.4);
	opacity: 1;
}
/* ============================================================
   2. HERO CALLOUT BAR
============================================================ */
.hero-callout {
  background: var(--color-navy-950);
  padding: .75rem 0;
  color: var(--color-white);
  text-align: center;
}
.hero-callout-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.hero-callout-heading {
  font-family: var(--font-kanit);
  font-weight: 500;
  font-size: clamp(1rem, .5rem + 1vw, 1.5rem);
  margin: 0;
  line-height: 1.3;
}
.hero-callout-link {
  color: var(--color-white);
  font-size: .9rem;
  padding: .35rem .75rem;
  border-radius: 4px;
  border: 1px solid var(--color-white);
  text-decoration: none;
  transition:
    background-color .25s, color .25s, box-shadow .25s, transform .25s, border-color .25s;
}
.hero-callout-link:hover, .hero-callout-link:focus-visible {
  background: var(--color-white);
  color: var(--color-navy-950);
}
@media (min-width: 992px) {
  .hero-callout-inner {
    flex-direction: row;
    align-items: center;
  }
  .hero-callout-link {
    margin: 0;
    border: none;
    text-decoration: none;
  }
}
/* ============================================================
   3. DEGREE NAV
============================================================ */
.degree-nav-section {
  background-color: var(--color-navy-800);
  padding: .5rem 0 1rem;
  margin: 0;
  border-bottom: 10px solid var(--color-navy-950);
}
.degree-nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(.5rem, 1vw, 1rem) clamp(1rem, 2vw, 2rem);
}
.degree-nav-list {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr;
	gap: .25rem;
	padding: 0;
	margin: 0;
	text-align: center;
}
.degree-nav-link {
  background-color: var(--color-navy-800);
  padding: clamp(1.3rem, 2vw, 1.2rem) clamp(1.1rem, 2vw, 1.2rem);
  font-size: clamp(1rem, 2vw + .25rem, 1.25rem);
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 0;
  margin: .25rem 0 0;
  border: 1px solid var(--color-navy-700);
  text-align: center;
  color: var(--color-white);
  display: block;
  transition: .25s;
  position: relative;
  overflow: hidden;
}
/* Shimmer sweep on hover */
.degree-nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .28) 50%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transform: translateX(-120%);
  transition: transform .55s, opacity .35s;
}
.degree-nav-link:hover, .degree-nav-link:focus-visible {
  background: var(--color-teal-500);
  border-color: transparent;
  color: var(--color-white);
}
.degree-nav-link:hover::before, .degree-nav-link:focus-visible::before {
  opacity: 1;
  transform: translateX(120%);
}
@media (min-width: 768px) {
  .degree-nav-section {
    padding: 0;
    border-bottom: 10px solid var(--color-navy-950);
  }
  .degree-nav {
    padding: 0;
  }
.degree-nav-list {
	display: grid;
	grid-template-columns: repeat(4, auto);
	gap: 0;
	margin: 0;
}
  .degree-nav-link {
    background-color: var(--color-navy-800);
    margin: 0;
    border-left: 1px solid var(--color-navy-950);
    border-bottom: none;
    border-top: none;
    border-right: none;
    padding: clamp(1.5rem, 4vw, 1.75rem) clamp(1rem, 3vw, 3.5rem);
    height: auto;
    font-size: clamp(.9rem, 2vw, 1rem);
  }
  .degree-nav-list li:first-child .degree-nav-link {
    border-left: none;
  }
  .degree-nav-list li:last-child .degree-nav-link {
    border-right: none;
  }
}
@media (min-width: 1180px) {
.degree-nav-list {
	grid-template-columns: repeat(4, 1fr);
}
}
/* ============================================================
   4. PROGRAMS SECTION
============================================================ */
.programs-section {
  padding: 5rem 0 0;
}
.homepage-heading {
	font-family: var(--font-merriweather);
	font-weight: 900;
	text-transform: uppercase;
	font-size: clamp(3rem, 8vw, 4rem);
	line-height: .95;
	text-align: center;
	color: var(--color-navy-800);
}
.heading-primary {
  font-size: clamp(4rem, 10vw, 4.5rem);
  display: block;
}
.heading-secondary {
  color: var(--color-teal-500);
}

.programs-dropdown {
  margin: 2rem 0;
}
.programs-links {
  margin-top: 1.5rem;
}
.programs-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.programs-links-list .nav-link {
  background: transparent;
  border: 2px solid var(--color-navy-700);
  color: var(--color-navy-700);
  text-align: center;
  padding: 1.1rem 1rem;
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(.95rem, 2vw, 1.1rem);
  letter-spacing: .5px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color .25s, color .25s, box-shadow .25s;
  display: block;
}
.programs-links-list .nav-link:hover, .programs-links-list .nav-link:focus-visible {
  background-color: var(--color-navy-800);
  color: var(--color-white);
  box-shadow: 0 0 6px rgba(0, 42, 76, .6);
}
@media (min-width: 768px) {
  .programs-links-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 992px) {
  .programs-links-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.5rem;
  }
  .programs-links-list .nav-link {
    padding: 1rem .5rem;
    font-size: .95rem;
  }
}
@media (min-width: 1200px) {
  .programs-links-list .nav-link {
    padding: 1rem;
    font-size: .95rem;
  }
}
@media (min-width: 1600px) {
  .programs-links-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* ============================================================
   5. SPOTLIGHT CAROUSEL
============================================================ */
.spotlight {
  background-color: var(--color-navy-800);
  color: var(--color-white);
  line-height: 1.4;
  position: relative;
  box-shadow: 10px 13px var(--color-teal-500);
  padding: 2rem 1rem 1rem;
  margin-top: 3.5rem;
}
.spotlight .spotlight-header {
  font-family: var(--font-merriweather);
  margin: 0;
  line-height: 1;
  color: var(--color-gold);
  text-align: center;
  font-size: clamp(2.5rem, 2vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
}
.spotlight .spotlight-subheader {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 1.25rem;
}
.spotlight .degree-heading {
  font-family: var(--font-merriweather);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 1.25rem 0 0;
  line-height: 1.15;
}
.spotlight .degree-intro {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.spotlight .btn--masters {
  color: var(--color-white);
  border: 2px solid var(--color-white);
  padding: 1rem;
  font-weight: 600;
  margin-inline: auto;
  margin-top: auto;
  margin-bottom: 4rem;
  width: clamp(190px, 4vw, 200px);
  display: block;
  text-align: center;
  font-size: clamp(.95rem, 1.5vw, 1rem);
  text-decoration: none;
  transition:
    background-color .25s, color .25s, box-shadow .25s, transform .25s, border-color .25s;
  box-shadow:
    rgba(0, 0, 0, .19) 0 10px 20px, rgba(0, 0, 0, .23) 0 6px 6px;
}
.spotlight .btn--masters:hover, .spotlight .btn--masters:focus-visible, .spotlight .btn--masters:active {
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  box-shadow:
    rgba(0, 0, 0, .3) 0 19px 38px, rgba(0, 0, 0, .22) 0 15px 12px;
}
.spotlight-splide {
  padding-bottom: 3rem;
}
.spotlight-splide .splide__slide {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.spotlight-splide .splide__arrow svg {
  height: clamp(.8em, 4vw, .9em);
  width: clamp(.8em, 4vw, .9em);
  fill: rgba(255, 255, 255, 0.75);
}
.spotlight-splide .splide__arrow, .why-splide .splide__arrow {
  box-shadow: 0 0 3px rgba(0, 0, 0, .4);
  transition: transform .25s, box-shadow .25s;
  height: clamp(46px, 8vw, 56px);
  width: clamp(46px, 8vw, 56px);
  background: rgba(255, 255, 255, .05);
  border: 2px solid rgba(255, 255, 255, .6);
  opacity: 1;
}
.spotlight-splide .splide__arrow--prev {
  bottom: 0;
  left: 5%;
  right: auto;
  top: auto;
}
.spotlight-splide .splide__arrow--next {
  bottom: 0;
  left: auto;
  right: 5%;
  top: auto;
}
.spotlight-splide .splide__pagination {
  bottom: 2.5rem;
}
.spotlight-splide .splide__arrow:hover, .spotlight-splide .splide__arrow:focus-visible, .spotlight-splide .splide__arrow:active {
  box-shadow: 0 0 12px rgba(0, 0, 0, .8);
  border-color: var(--color-teal-500);
}
@media (min-width: 768px) {
  .spotlight-splide .splide__arrow--prev {
    left: 20%;
  }
  .spotlight-splide .splide__arrow--next {
    right: 20%;
  }
}
@media (min-width: 992px) {
  .spotlight {
    margin-top: 0;
  }
  .spotlight-splide .splide__arrow--prev {
    left: 5%;
  }
  .spotlight-splide .splide__arrow--next {
    right: 5%;
  }
}
@media (min-width: 1200px) {
  .spotlight-splide .splide__arrow--prev {
    left: 15%;
  }
  .spotlight-splide .splide__arrow--next {
    right: 15%;
  }
}
/* ============================================================
   6. FINANCIAL AID SECTION
============================================================ */
.fa-section {
  background-color: var(--color-teal-25);
  padding: 8rem 0 2rem;
  color: var(--color-navy-800);
  margin-top: clamp(-10rem, -8vw, -4rem);
  border-top: 1px solid var(--color-teal-75);
  border-bottom: 1px solid var(----color-teal-75);
}
.fa-section a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}
.fa-section a:hover, .fa-section a:focus-visible {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}
.fa-subheading {
  color: var(--color-navy-800);
  font-size: clamp(1.5rem, 1.5vw, 2.25rem);
  font-size: clamp(1.5rem, 1.5vw, 2.25rem);
  text-align: center;
  margin-bottom: 1.25rem;
}
.nav.fa-links {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0;
  margin: 2rem 0;
}
.fa-section .nav-link {
  background-color: var(--color-navy-800);
  border: 2px solid var(--color-navy-800);
  color: var(--color-white);
  padding: 1rem;
  text-align: center;
  font-size: clamp(.95rem, 1.25vw, 1rem);
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  display: block;
}
.fa-section .nav-link:hover, .fa-section .nav-link:focus-visible {
  background-color: var(--color-teal-500);
  border-color: var(--color-teal-500);
  color: var(--color-white);
  text-decoration: none;
}
@media (min-width: 768px) {
  .nav.fa-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.5rem;
    margin: 2rem auto;
    max-width: 900px;
  }
}
@media (min-width: 992px) {
  .fa-section {
    padding: 3rem 2rem 2rem;
  }
  .fa-section .homepage-heading, .fa-section .fa-subheading {
    text-align: left;
  }
}
@media (min-width: 1200px) {
  .nav.fa-links {
    grid-template-columns: repeat(4, 1fr);
    max-width: none;
    gap: .75rem;
  }
  .fa-section .nav-link {
    padding: 1rem;
  }
}
@media (min-width: 1300px) {
  .fa-section .nav-link {
    padding: 1.25rem .75rem;
  }
}
/* ============================================================
   7. WHY BATTEN SECTION
============================================================ */
.why-section {
  padding: 3rem 0;
}
/* Stats (homepage variant — different from section-stats) */
.dbn-section h3, .fa-subheading, .news-section h3, .stat {
  color: var(--color-navy-800);
}
.stat .stat-num {
  text-align: center;
  font-weight: 800;
  display: block;
  font-size: 4.5rem;
  text-shadow:
    2px 2px 0 #ededed, 4px 4px 0 var(--color-teal-500);
}
.stat .stat-desc {
  display: block;
  line-height: 1;
  font-size: 1.2rem;
  text-align: center;
}
.why-splide {
  margin-top: 1rem;
  padding: 0 4rem;
}
.why-splide .splide__arrow--next {
  right: 10px;
}
.why-splide .splide__arrow--prev {
  left: 10px;
}
.why-splide .splide__arrow svg {
  fill: var(--color-navy-800);
  height: clamp(.8em, 4vw, .9em);
  width: clamp(.8em, 4vw, .9em);
}
.why-splide .splide__arrow:hover, .why-splide .splide__arrow:focus-visible, .why-splide .splide__arrow:active {
  box-shadow: 0 0 4px rgba(0, 0, 0, .7);
  border-color: var(--color-teal-500);
}
/* ============================================================
   8. MID-PAGE CTA
============================================================ */
.midpage-cta-section {
  background-image:
    url("../img/home/becomemarlin.webp"), url("../img/home/becomemarlin.webp");
  background-size: contain;
  background-position: left center, right center;
  background-repeat: no-repeat;
  color: var(--color-white);
  background-color: var(--color-navy-800);
  padding: 2rem .5rem;
  text-align: center;
  border-bottom: 7px solid var(--color-navy-800);
  border-top: 1px solid var(--color-navy-950);
}
.midpage-cta-section .homepage-heading {
  color: var(--color-white);
  margin: 1rem 0 3rem;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, .5);
}
.btn.btn--mid-cta {
  color: var(--color-white);
  font-size: clamp(1.15rem, 1.5vw, 1.25rem);
  font-weight: 600;
  text-decoration: none;
  padding: 1rem 1.25rem;
  margin: .5rem;
  border: 2px solid rgba(255, 255, 255, .75);
  background-color: rgba(0, 42, 76, .85);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition:
    box-shadow .25s, transform .25s, background-color .25s, color .25s;
}
.btn.btn--mid-cta:hover, .btn.btn--mid-cta:focus-visible {
  box-shadow: rgba(0, 0, 0, .35) 0 5px 15px;
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, .25);
  color: var(--color-white);
}
.btn.btn--mid-cta .icon-arrow, .btn.btn--mid-cta svg {
  transition: transform .25s;
}
.btn.btn--mid-cta:hover svg, .btn.btn--mid-cta:focus-visible svg {
  transform: translateX(4px);
}
@media (min-width: 768px) {
  .btn.btn--mid-cta {
    gap: .75rem;
    width: 33%;
  }
}
/* ============================================================
   9. NEWS SECTION
============================================================ */
.news-section {
  padding: 4rem 0;
  background-image: url("../img/home/wave-bg.webp");
}
.news-section .homepage-heading {
  margin-bottom: 4rem;
}
.news-section h3 {
  font-family: var(--font-opensans);
  font-weight: 700;
  font-size: clamp(1.85rem, 2vw, 2rem);
  margin: 3rem 0 1.5rem;
  text-shadow: rgba(0, 0, 0, .15) 0 1px 2px;
}
.news-section .pres-h3 {
  margin-top: 2rem;
}
@media (min-width: 992px) {
  .news-section .heading-primary {
    display: inline-block;
  }
  .news-section h3 {
    margin-top: 0;
  }
}
@media (min-width: 1200px) {
  .news-briefs-section h3 {
    text-align: left;
    line-height: .8;
    margin: 0 0 2rem;
    letter-spacing: -1px;
  }
}
/* ============================================================
   10. FEATURE CARDS
============================================================ */
.feature-card {
  background-color: var(--color-navy-800);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 4px;
  padding: 1rem .75rem .5rem;
  position: relative;
  width: 100%;
  line-height: 1.3;
  font-size: 1.2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: rgba(0, 0, 0, .1) 0 1px 4px;
  transition: transform .25s, box-shadow .25s;
  margin-bottom: 2rem;
}
.feature-card:hover, .feature-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: rgba(0, 0, 0, .25) 0 6px 18px;
  text-decoration: none;
  color: var(--color-white);
}
.feature-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}
.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
  display: block;
  aspect-ratio: 16/9;
}
.feature-card:hover img, .feature-card:focus-visible img {
  transform: scale(1.05);
}
.feature-card-body {
  padding: 1rem .5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.feature-card-title {
  font-size: clamp(1.1rem, 1.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 .75rem;
}
.feature-card-text {
  font-size: clamp(1rem, 1vw, 1.1rem);
  line-height: 1.35;
  margin: 0;
}
  
.btn.btn--features {
color: var(--color-white);
  font-size: clamp(.95rem, 2vw, 1rem);
  border: 2px solid var(--color-navy-800);
  padding: .75rem 1rem;
  width: clamp(150px, 4vw, 175px);
  border-radius: 2px;
  background: var(--color-navy-800);
  margin: 2rem 0 0;
  font-weight: 600;
  display: inline-block;
  transition: transform .25s, box-shadow .25s, border-color .1s;
  box-shadow: rgba(0, 0, 0, .24) 0 3px 8px;
  text-decoration: none;
}
.btn.btn--features:hover, .btn.btn--features:focus-visible, .btn.btn--features:active {
  transform: translateY(-1px);
  background: var(--color-teal-500);
  color: var(--color-white);
  border-color: var(--color-teal-500);
}
@media (min-width: 768px) {
  .feature-card {
    color: var(--color-navy-800);
    padding: 0;
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, .12);
    min-height: clamp(375px, 26vw, 435px);
    box-shadow:
      rgba(50, 50, 105, .15) 0 2px 5px 0, rgba(0, 0, 0, .05) 0 1px 1px 0;
  }
  .feature-card:hover, .feature-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: rgba(0, 0, 0, .25) 0 6px 18px;
    color: var(--color-navy-800);
  }
}
@media (min-width: 992px) {
.btn.btn--features {
	padding: .25rem .5rem;
	font-weight: 600;
	position: absolute;
	top: 9px;
	left: 175px;
	font-size: .9rem;
	margin: 0;
	color: var(--color-navy-800);
	background: transparent;
	border: 1px solid var(--color-navy-700);
	box-shadow: none;
	border-radius: 4px;
	min-width: 115px;
	width: 100px;
}
}
/* ============================================================
   11. NEWS BRIEFS CAROUSEL
============================================================ */
.news-briefs-section {
  background: var(--color-navy-850);
  position: relative;
  color: var(--color-white);
  padding: 4rem 0;
}
.news-briefs-section h3 {
  font-family: var(--font-kanit);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(3rem, 3vw, 5rem);
  margin: 0 0 1.25rem;
  color: var(--color-white);
  text-align: center;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, .5);
}
.briefs-splide {
  padding-right: 4rem;
}
.briefs-splide .splide__slide {
  padding: .75rem 0;
}
.brief-card {
  display: flex;
  border-left: 3px solid rgba(255, 255, 255, .25);
  padding: .75rem .75rem .75rem 1rem;
  color: var(--color-white);
  transition: .25s;
  text-align: left;
  margin: 0;
  flex-direction: column;
  min-height: 130px;
  background: rgba(255, 255, 255, .035);
  box-shadow: rgba(0, 0, 0, .24) 0 3px 8px;
  text-decoration: none;
}
.brief-card:hover, .brief-card:focus-visible {
  border-color: var(--color-teal-500);
  color: var(--color-teal-300);
  box-shadow: 0 0 8px rgba(0, 169, 214, .6);
  transform: translateY(-2px);
  text-decoration: none;
}
.brief-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
}
.brief-date {
  margin-top: .5rem;
  font-size: .85rem;
  opacity: .8;
}
.btn.btn--briefs {
  color: var(--color-white);
  width: clamp(190px, 4vw, 200px);
  font-weight: 600;
  font-size: clamp(.95rem, 2vw, 1.1rem);
  border: 1px solid var(--color-white);
  padding: .75rem;
  border-radius: 2px;
  text-decoration: none;
  margin: 4rem 0 0;
  display: inline-block;
  box-shadow:
    rgba(0, 0, 0, .25) 0 .0625em .0625em, rgba(0, 0, 0, .25) 0 .125em .5em, rgba(255, 255, 255, .1) 0 0 0 1px inset;
  transition: transform .25s, box-shadow .25s, border-color .1s;
  background-color: rgba(255, 255, 255, .035);
}
.btn.btn--briefs:hover, .btn.btn--briefs:focus-visible, .btn.btn--briefs:active {
  box-shadow:
    rgba(0, 0, 0, .19) 0 10px 20px, rgba(0, 0, 0, .23) 0 6px 6px;
  transform: translateY(-1px);
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-navy-800);
}
@media (min-width: 768px) {
  .briefs-splide {
    padding: 0 5rem;
  }
  .brief-card {
    margin: .5rem;
    min-height: 130px;
  }
  .briefs-splide .splide__pagination--horizontal .splide__pagination__page {
    margin: 0 6px;
  }
}
@media (min-width: 1200px) {
  .brief-card {
    min-height: 160px;
  }
  .btn--briefs {
    position: absolute;
    left: 14px;
    right: auto;
    bottom: 30px;
  }
}
/* ============================================================
   12. EVENTS SECTION
============================================================ */
.events-section {
  background-color: var(--color-bg-gray);
  padding: 4rem 0;
  position: relative;
  background-image: url("../img/home/wave-bg.webp");
  background-position: bottom center;
  background-repeat: repeat;
  border-bottom: 5px solid var(--color-navy-800);
}
.events-splide {
  padding-right: 4rem;
}
.briefs-splide .splide__pagination--vertical, .events-splide .splide__pagination--vertical {
  right: .75rem;
}
.event-card, .event-link {
  color: var(--color-navy-800);
  display: flex;
}
.event-link {
  text-decoration: none;
  min-height: 200px;
  height: 100%;
  align-items: center;
}
.event-card {
  width: 100%;
  align-items: stretch;
  gap: 1rem;
  text-align: left;
  background-color: var(--color-white);
  transition: .25s;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: rgba(0, 0, 0, .08) 0 1px 4px;
  padding: .5rem;
  min-height: 115px;
  margin: 0;
}
.event-card:hover, .event-card:focus-visible {
  box-shadow: rgba(0, 0, 0, .24) 0 3px 8px;
  transform: translateY(-2px);
}
.event-date {
  display: flex;
  justify-content: center;
  flex-direction: column;
  background-color: var(--color-navy-950);
  color: var(--color-white);
  text-align: center;
  min-width: 70px;
  line-height: 1;
  padding: .5rem .25rem;
  min-height: auto;
  width: auto;
  height: auto;
  border-bottom: none;
}
.event-date__month {
  display: block;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 400;
}
.event-date__day {
  display: block;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
}
.event-info .event-title {
  color: var(--color-navy-800);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-info .event-meta {
  font-size: .95rem;
  font-weight: 400;
  margin: .25rem 0 0;
  color: var(--text-meta);
}
.event-range {
  display: flex;
  gap: .15rem;
  align-items: center;
}
.event-meta span:not(:last-child) {
  margin-right: .5rem;
}
/* Event status flags */
.event-flag.cancelled {
  color: #c94a4a;
  font-weight: 700;
}
.event-flag.postponed {
  color: #e69c2a;
  font-weight: 700;
}
.btn.btn--events {
  color: var(--color-white);
  background: var(--color-navy-800);
  border: 1px solid var(--color-navy-800);
  font-weight: 600;
  font-size: clamp(.95rem, 2vw, 1.1rem);
  padding: 1rem;
  border-radius: 4px;
  margin: 4rem 0 0;
  display: inline-block;
  text-decoration: none;
  box-shadow:
    rgba(0, 0, 0, .25) 0 .0625em .0625em, rgba(0, 0, 0, .25) 0 .125em .5em, rgba(255, 255, 255, .1) 0 0 0 1px inset;
  transition: transform .25s, box-shadow .25s, border-color .1s;
}
.btn.btn--events:hover, .btn.btn--events:focus-visible, .btn.btn--events:active {
  box-shadow:
    rgba(0, 0, 0, .19) 0 10px 20px, rgba(0, 0, 0, .23) 0 6px 6px;
  transform: translateY(-1px);
  background: var(--color-teal-500);
  border-color: var(--color-teal-700);
  color: var(--color-white);
}
@media (min-width: 768px) {
  .event-card, .event-link {
    margin: .5rem;
  }
  .event-link {
    min-height: auto;
  }
  .event-date {
    min-width: 90px;
    padding: .75rem 1rem;
  }
  .event-date__day {
    font-size: 3rem;
  }
  .event-date__month {
    font-size: 1.5rem;
  }
  .event-info .event-title {
    font-size: 1.25rem;
  }
  .events-splide {
    padding: 0 5rem;
  }
  .events-splide .splide__pagination--horizontal .splide__pagination__page {
    margin: 0 6px;
  }
}
@media (min-width: 576px) {
  .event-date {
    min-width: 80px;
    padding: .5rem .75rem;
  }
  .event-date__month {
    font-size: 1.25rem;
  }
  .event-date__day {
    font-size: 2.5rem;
  }
  .event-info .event-title {
    font-size: 1.15rem;
  }
}
@media (min-width: 992px) {
  .events-section .heading-primary, .snapshots-heading-wrapper .heading-primary {
    display: inline-block;
  }
  .events-splide .splide__track {
    mask-image: none;
  }
}
@media (min-width: 1200px) {
  .btn.btn--events {
    margin-top: 2rem;
  }
}
/* ============================================================
   13. DBN SECTION
============================================================ */
.dbn-section {
  background: var(--color-gray-25);
  padding: 3rem 0;
  border-top: 1px solid var(--color-gray-26);
  border-bottom: 1px solid var(--color-gray-26);
}
.dbn-section h3 {
  font-family: var(--font-opensans);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  margin: 0 0 1rem;
  text-align: center;
  color: var(--color-navy-800);
}
.btn.btn--dbn {
  color: var(--color-white);
  font-size: clamp(.95rem, 2vw, 1rem);
  border: 2px solid var(--color-navy-800);
  padding: .75rem 1rem;
  width: clamp(150px, 4vw, 175px);
  border-radius: 2px;
  background: var(--color-navy-800);
  margin: 2rem 0 0;
  font-weight: 600;
  display: inline-block;
  transition: transform .25s, box-shadow .25s, border-color .1s;
  box-shadow: rgba(0, 0, 0, .24) 0 3px 8px;
  text-decoration: none;
}
.btn.btn--dbn:hover, .btn.btn--dbn:focus-visible, .btn.btn--dbn:active {
  box-shadow:
    rgba(0, 0, 0, .19) 0 10px 20px, rgba(0, 0, 0, .23) 0 6px 6px;
  transform: translateY(-2px);
  background: var(--color-teal-500);
  color: var(--color-white);
  border-color: var(--color-teal-500);
}
.dbn-wrapper {
  /* background set via inline or via desktop media query below */
}
@media (min-width: 1200px) {
  .dbn-wrapper {
    background:
      url("/assets/img/home/m-dbn.png") left center/contain no-repeat, url("/assets/img/home/m-dbn.png") right center/contain no-repeat var(--color-gray-25);
  }
}
/* ============================================================
   14. CENTERS SECTION
============================================================ */
.centers-section {
  background-color: var(--color-navy-800);
  padding: clamp(2rem, 6vw, 3rem) 0;
  text-align: center;
}
.centers-item figure {
  margin: 1rem 0;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .15);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  transition: border-color .3s, transform .3s;
}
.centers-item a {
  text-decoration: none;
}
.centers-item img {
  display: block;
  max-width: 100%;
  filter: brightness(0) invert(1);
  opacity: .85;
  transition: opacity .25s, transform .3s;
  max-height: 100px;
  width: auto;
}
@media (min-width: 768px) {
  .centers-item img {
    max-height: 80px;
  }
}
.centers-item figcaption {
  margin-top: .75rem;
  font-size: clamp(.9rem, 1vw, 1.05rem);
  font-weight: 400;
  color: rgba(255, 255, 255, .85);
  letter-spacing: .3px;
  line-height: 1.35;
}
.centers-item a:hover figure, .centers-item a:focus-visible figure {
  border-color: var(--color-gold);
  transform: translateY(-3px);
}
.centers-item a:hover img, .centers-item a:focus-visible img {
  opacity: 1;
  transform: scale(1.02);
}
.centers-item a:hover figcaption, .centers-item a:focus-visible figcaption {
  color: var(--color-gold);
}
/* ============================================================
   15. SNAPSHOTS / GALLERY
============================================================ */
.snapshots-section {
  padding: 3rem 0 2rem;
}
.snapshots-heading-wrapper {
  background-color: var(--color-navy-950);
  text-align: center;
  padding: 2rem .25rem;
}
.snapshots-heading-wrapper .homepage-heading {
  color: var(--color-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, .12);
  margin: 0;
}
.gallery-list {
  list-style: none;
  padding: 3rem 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.gallery-list a, .gallery-list li {
  display: block;
}
.gallery-list img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, .2) 0 2px 6px;
  transition: transform .25s, box-shadow .25s;
}
.gallery-list img:hover, .gallery-list img:focus {
  transform: scale(1.03);
  box-shadow: rgba(0, 0, 0, .35) 0 5px 15px;
}
@media (min-width: 992px) {
  .gallery-list {
    grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  }
}
@media (min-width: 1200px) {
  .gallery-list {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
@media (min-width: 1400px) {
  .gallery-list {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}
/* ============================================================
   16. GIVING SECTION
============================================================ */
.giving-section {
  padding: 2rem 0;
  background-color: var(--color-teal-600);
  /*background-color: var(--blue-dark);*/
  color: var(--color-white);
  font-weight: 600;
  font-size: clamp(1rem, 3vw, 1.15rem);
}
.btn.btn--giving {
  color: var(--color-white);
  font-size: clamp(.95rem, 2vw, 1.1rem);
  text-align: center;
  border: 2px solid var(--color-white);
  padding: 1rem 1.5rem;
  border-radius: 2px;
  margin: 2rem 0;
  display: inline-block;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  box-shadow:
    rgba(0, 0, 0, .25) 0 .0625em .0625em, rgba(0, 0, 0, .25) 0 .125em .5em, rgba(255, 255, 255, .1) 0 0 0 1px inset;
  transition: transform .25s, box-shadow .25s, border-color .1s;
}
.btn.btn--giving:hover, .btn.btn--giving:focus-visible, .btn.btn--giving:active {
  box-shadow:
    rgba(0, 0, 0, .19) 0 10px 20px, rgba(0, 0, 0, .23) 0 6px 6px;
  transform: translateY(-1px);
  border-color: var(--color-white);
  color: var(--color-teal-500);
  background-color: var(--color-white);
}
/* ============================================================
   17. FORM ELEMENTS
   (Bootstrap-derived select and input group — scoped here
   since they only appear on the homepage programs search)
============================================================ */
.form-select, .input-group-text {
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
}
.form-select {
  display: block;
  width: 100%;
  padding: .375rem 2.25rem .375rem .75rem;
  font-size: 1rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--color-white);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"), none;
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-select:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}
.form-select:disabled, .input-group-text {
  background-color: #e9ecef;
}
.form-select[multiple], .form-select[size]:not([size="1"]) {
  padding-right: .75rem;
  background-image: none;
}
.form-select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #212529;
}
.form-select-sm {
  padding-top: .25rem;
  padding-bottom: .25rem;
  padding-left: .5rem;
  font-size: .875rem;
  border-radius: 4px;
}
.form-select-lg {
  padding-top: .5rem;
  padding-bottom: .5rem;
  padding-left: 1rem;
  font-size: 1.25rem;
  border-radius: 4px;
}
.input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}
.input-group > .form-control, .input-group > .form-floating, .input-group > .form-select {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}
.input-group > .form-control:focus, .input-group > .form-floating:focus-within, .input-group > .form-select:focus {
  z-index: 5;
}
.input-group .btn {
  position: relative;
  z-index: 2;
}
.input-group .btn:focus {
  z-index: 5;
}
.input-group-text {
  display: flex;
  align-items: center;
  padding: .375rem .75rem;
  font-size: 1rem;
  text-align: center;
  white-space: nowrap;
  border: 1px solid #dee2e6;
  border-radius: 4px;
}
/* ============================================================
   18. SPLIDE CAROUSEL OVERRIDES
============================================================ */
/* Pagination dots — shared pill style */
.splide__pagination__page {
  position: relative;
  padding: 0;
  margin: 0 10px;
	background: #ccc;
	border: 0;
	border-radius: 50%;
	display: inline-block;
	opacity: .7;
	transition: transform .2s linear;
  height: 10px;
	width: 10px;
}
/* Expanded touch target */
.splide__pagination__page::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
}
/* Events carousel pagination */
.events-splide .splide__pagination__page {
  width: 26px;
  height: 4px;
  border-radius: 1px;
  background: var(--color-navy-700);
  opacity: .45;
  margin: 0;
  position: relative;
  transition: .25s;
}
.events-splide .splide__pagination__page.is-active {
  background: var(--color-navy-700);
  opacity: 1;
  height: 7px;
  transition: width .28s cubic-bezier(.23, 1, .32, 1), background-color .2s;
}
.events-splide .splide__arrow {
  width: 50px;
  height: 50px;
  background: var(--color-navy-700);
  border: 2px solid rgba(0, 60, 105, .15);
  transition: transform .15s;
  opacity: 1;
}
.events-splide .splide__arrow:hover {
  border-color: var(--brand-accent-light);
}
.events-splide .splide__arrow svg {
  fill: var(--color-white);
  height: 1em;
  width: 1em;
}
/* Briefs carousel pagination */
.briefs-splide .splide__pagination__page {
  width: 26px;
  height: 4px;
  border-radius: 1px;
  background: rgba(255, 255, 255, .85);
  opacity: .45;
  margin: 0;
  position: relative;
  transition: .25s;
}
.briefs-splide .splide__pagination__page.is-active {
  background: var(--color-white);
  opacity: 1;
  height: 7px;
  transition: width .28s cubic-bezier(.23, 1, .32, 1), background-color .2s;
}
.briefs-splide .splide__arrow {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, .05);
  border: 2px solid rgba(255, 255, 255, .6);
  transition: transform .15s;
  opacity: 1;
}
.briefs-splide .splide__arrow:hover {
  border-color: var(--color-teal-300);
}
.briefs-splide .splide__arrow svg {
  fill: rgba(255, 255, 255, 0.75);
  height: 1em;
  width: 1em;
}
/* Shared arrow hover for briefs + events */
.briefs-splide .splide__arrow:hover svg, .events-splide .splide__arrow:hover svg {
  fill: var(--color-teal-300) !important;
}
/* Fade mask on carousel tracks */
.briefs-splide .splide__track, .events-splide .splide__track {
  mask-image: linear-gradient(to bottom, transparent 0, black 20px, black calc(100% - 20px), transparent 100%);
}
/* Vertical arrow positioning */
.events-section .splide--ttb > .splide__arrows .splide__arrow--prev, .news-briefs-section .splide--ttb > .splide__arrows .splide__arrow--prev {
  top: 30%;
  bottom: auto;
  left: auto;
  right: .25rem;
  transform: none;
}
.events-section .splide--ttb > .splide__arrows .splide__arrow--next, .news-briefs-section .splide--ttb > .splide__arrows .splide__arrow--next {
  bottom: 30%;
  top: auto;
  left: auto;
  right: .25rem;
  transform: none;
}
/* ============================================================
   19. REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  .fade-in, .scroll-appear, .splide__arrow, .splide__slide, .splide__track {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
  .form-select {
    transition: none;
  }
}