/* Public hero banners; loaded after the original site stylesheet. */
.mf-banner-carousel.hero-home {
  display: block;
  min-height: 0;
  background: var(--deep);
}

.mf-banner-slide {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(690px, 76vw);
  overflow: hidden;
  color: #fff;
}

.mf-banner-slide[hidden],
.mf-banner-controls[hidden] {
  display: none !important;
}

.mf-banner-visual,
.mf-banner-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.mf-banner-visual { z-index: 0; }
.mf-banner-visual img { object-fit: cover; object-position: center; }

.mf-banner-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(9,30,55,.95) 0%, rgba(9,30,55,.82) 42%, rgba(9,30,55,.15) 100%);
}

.mf-banner-carousel .hero-content {
  position: relative;
  z-index: 2;
  padding-block: 95px 150px;
}

.mf-banner-carousel .hero-side-label { z-index: 2; }

.mf-banner-controls {
  position: absolute;
  z-index: 3;
  bottom: 27px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 48px);
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(10,32,59,.72);
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
  transform: translateX(-50%);
}

.mf-banner-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.42);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.mf-banner-arrow:hover { border-color: var(--orange); background: var(--orange); color: var(--deep); }
.mf-banner-arrow:focus-visible,
.mf-banner-dot:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.mf-banner-dots { display: flex; align-items: center; justify-content: center; gap: 9px; }
.mf-banner-dot {
  flex: none;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.mf-banner-dot[aria-pressed="true"] { border-color: var(--orange); background: var(--orange); }

.mf-banner-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 850px) {
  .mf-banner-slide { min-height: 600px; }
  .mf-banner-visual img { object-position: 62% center; }
}

@media (max-width: 600px) {
  .mf-banner-slide { min-height: 570px; }
  .mf-banner-visual img { object-position: 66% center; }
  .mf-banner-slide::before { background: linear-gradient(90deg, rgba(9,30,55,.94), rgba(9,30,55,.62)); }
  .mf-banner-carousel .hero-content { padding-block: 78px 145px; }
  .mf-banner-controls { bottom: 24px; gap: 11px; padding: 8px 10px; }
}
