/* MFAA Homepage Slider 1.2.1 */
.mfaa-hs {
  --mfaa-hs-blue: #254b9e;
  --mfaa-hs-blue-dark: #1a3672;
  --mfaa-hs-h: clamp(380px, 32vw, 500px);
  --mfaa-hs-strong: "Poppins Medium", "Poppins Light", Poppins, sans-serif; /* the theme's medium-weight face */
  position: relative;
  width: 100%;
  height: var(--mfaa-hs-h);
  overflow: hidden;
  background: var(--mfaa-hs-blue-dark);
  color: #fff;
}
.mfaa-hs *, .mfaa-hs *::before, .mfaa-hs *::after { box-sizing: border-box; }
.mfaa-hs__slides { position: absolute; inset: 0; }

.mfaa-hs__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility 0s linear .7s;
}
.mfaa-hs__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .7s ease, visibility 0s;
  z-index: 1;
}
.mfaa-hs__slide--map {
  background: linear-gradient(135deg, #12285c 0%, var(--mfaa-hs-blue) 55%, #3566c9 100%);
}

.mfaa-hs__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.mfaa-hs__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10, 18, 36, .62) 0%, rgba(10, 18, 36, .80) 100%);
}
.mfaa-hs__slide--shade-light .mfaa-hs__shade {
  background: radial-gradient(ellipse at center, rgba(10, 18, 36, .34) 0%, rgba(10, 18, 36, .52) 100%);
}
.mfaa-hs__slide--shade-none .mfaa-hs__shade { background: none; }
/* Built-in map background: the state sits on the right, so only the text side is darkened. */
.mfaa-hs__slide--map .mfaa-hs__shade {
  background: linear-gradient(90deg, rgba(10, 18, 36, .5) 0%, rgba(10, 18, 36, .28) 45%, rgba(10, 18, 36, 0) 70%);
}
.mfaa-hs__slide--map:not(.mfaa-hs__slide--left) .mfaa-hs__shade {
  background: radial-gradient(ellipse at center, rgba(10, 18, 36, .45) 0%, rgba(10, 18, 36, .6) 100%);
}

/* Text on the left */
.mfaa-hs__slide--left .mfaa-hs__inner { max-width: 1320px; text-align: left; }
.mfaa-hs__slide--left .mfaa-hs__inner > * { max-width: min(560px, 46%); margin-left: 0; margin-right: 0; }
.mfaa-hs__slide--left .mfaa-hs__logo-img { margin-left: 0; }
.mfaa-hs__slide--left .mfaa-hs__eyebrow span::before { display: none; }

.mfaa-hs__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  padding: 28px 76px 56px;
  text-align: center;
}

.mfaa-hs__eyebrow {
  margin: 0 0 16px;
  font-family: var(--mfaa-hs-strong);
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
}
.mfaa-hs__eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.mfaa-hs__eyebrow span::before,
.mfaa-hs__eyebrow span::after {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, .65);
}

.mfaa-hs__logo { margin: 0 auto 18px; }
.mfaa-hs__logo-img {
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  max-width: min(420px, 78vw);
  max-height: 150px;
}
.mfaa-hs__logo--plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mfaa-hs__logo--plate:hover,
.mfaa-hs__logo--plate:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34);
}
.mfaa-hs__logo--plate .mfaa-hs__logo-img {
  max-width: min(300px, 62vw);
  max-height: 92px;
}

.mfaa-hs__title {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--mfaa-hs-strong);
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.2;
  font-weight: 500;
  text-wrap: balance;
}
.mfaa-hs__text {
  margin: 0 auto;
  max-width: 700px;
  color: #fff;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  text-wrap: pretty;
}
.mfaa-hs__slide--sponsor .mfaa-hs__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.mfaa-hs__cta { margin: 22px 0 0; }
.mfaa-hs__btn,
.mfaa-hs__btn:visited {
  display: inline-block;
  padding: 11px 26px;
  border: 2px solid #fff;
  border-radius: 6px;
  background: var(--mfaa-hs-blue);
  color: #fff;
  font-family: var(--mfaa-hs-strong);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.mfaa-hs__btn:hover,
.mfaa-hs__btn:focus-visible {
  background: #fff;
  color: var(--mfaa-hs-blue);
  text-decoration: none;
}
.mfaa-hs a:focus-visible,
.mfaa-hs button:focus-visible {
  outline: 3px solid #ffd24d;
  outline-offset: 3px;
}

/* Arrows */
.mfaa-hs__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(10, 18, 36, .55);
  color: #fff;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transition: background-color .2s ease;
}
.mfaa-hs__arrow:hover { background: rgba(10, 18, 36, .85); }
.mfaa-hs__arrow span {
  display: block;
  width: 13px;
  height: 13px;
  margin: 0 auto;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
}
.mfaa-hs__arrow--prev { left: 18px; }
.mfaa-hs__arrow--next { right: 18px; }
.mfaa-hs__arrow--prev span { transform: translateX(3px) rotate(-45deg); }
.mfaa-hs__arrow--next span { transform: translateX(-3px) rotate(135deg); }

/* Dots + pause */
.mfaa-hs__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.mfaa-hs__dots { display: flex; gap: 4px; }
.mfaa-hs__dot {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.mfaa-hs__dot::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 7px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  transition: background-color .2s ease;
}
.mfaa-hs__dot[aria-current="true"]::before { background: #fff; }
.mfaa-hs__pause {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(10, 18, 36, .45);
  cursor: pointer;
}
.mfaa-hs__pause span {
  display: block;
  width: 8px;
  height: 10px;
  margin: 0 auto;
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
}
.mfaa-hs__pause[aria-pressed="true"] span {
  width: 0;
  height: 0;
  margin-left: 9px;
  border: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #fff;
}

.mfaa-hs .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  .mfaa-hs { --mfaa-hs-h: 460px; }
  .mfaa-hs__slide--left .mfaa-hs__inner { text-align: center; }
  .mfaa-hs__slide--left .mfaa-hs__inner > * { max-width: none; margin-left: auto; margin-right: auto; }
  .mfaa-hs__slide--left .mfaa-hs__logo-img { margin-left: auto; }
  .mfaa-hs__slide--left .mfaa-hs__eyebrow span::before { display: block; }
  .mfaa-hs__slide--map .mfaa-hs__bg { object-position: 80% center; }
  .mfaa-hs__slide--map .mfaa-hs__shade,
  .mfaa-hs__slide--map:not(.mfaa-hs__slide--left) .mfaa-hs__shade {
    background: radial-gradient(ellipse at center, rgba(10, 18, 36, .5) 0%, rgba(10, 18, 36, .66) 100%);
  }
  .mfaa-hs__inner { padding: 22px 20px 58px; }
  .mfaa-hs__arrow { display: none; } /* swipe on phones */
  .mfaa-hs__eyebrow { margin-bottom: 12px; font-size: 12px; }
  .mfaa-hs__eyebrow span::before, .mfaa-hs__eyebrow span::after { width: 20px; }
  .mfaa-hs__logo-img { max-height: 110px; }
  .mfaa-hs__logo--plate { padding: 12px 18px; }
  .mfaa-hs__logo--plate .mfaa-hs__logo-img { max-height: 70px; }
  .mfaa-hs__cta { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .mfaa-hs__slide, .mfaa-hs__slide.is-active { transition: none; }
  .mfaa-hs__logo--plate, .mfaa-hs__btn, .mfaa-hs__arrow { transition: none; }
}
