/* Regional hero: local crest and carousel with the main site's full desktop orbit. */
body.home.te-region .header,
body.home.te-region .te-channel-banner-wrap,
.te-region-hero.main-banner {
  background: #f1d8d0;
}

.te-region-hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
}
.te-region-hero-backdrop .box { height: 0; }
.te-region-hero .main-banner-row {
  position: relative;
  min-height: 470px;
}
.te-region-hero .main-banner-left { z-index: 5; }
.te-region-hero .te-hero-lines { z-index: 0; pointer-events: none; }
.te-region-hero .te-region-hero-visual {
  position: relative;
  z-index: 2;
  pointer-events: none;
  min-width: 0;
  min-height: 470px;
  align-self: stretch;
}

.te-region-hero-crest {
  position: absolute;
  z-index: 2;
  top: 76px;
  /* Keep a constant anchor to the carousel column on wide screens. */
  right: -180px;
  width: var(--te-crest-desktop, 23em);
  max-width: 57%;
  line-height: 1;
  transform: rotate(-15deg);
  filter: drop-shadow(-33px 22px 26px rgba(6, 13, 22, .215))
    drop-shadow(-17px 12px 14px rgba(6, 13, 22, .261))
    drop-shadow(-7px 5px 7px rgba(6, 13, 22, .326))
    drop-shadow(-2px 1px 3px rgba(6, 13, 22, .43));
  pointer-events: none;
}
.te-region-hero-crest__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.te-region-hero-brands {
  position: absolute;
  z-index: 1;
  pointer-events: auto;
  /* Keep horizontal carousel clipping while allowing logos to grow vertically. */
  overflow: visible;
  clip-path: inset(-55px 0);
  bottom: 0;
  left: 20px;
  right: 0;
  width: auto;
  padding: 15px 0;
}
.te-region-hero-brands .swiper-wrapper { align-items: center; transition-timing-function: linear; }
.te-region-hero-brands .logo-carousel-slide {
  width: var(--te-brand-width, 135px);
  height: 145px;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  text-align: center;
  font-size: 16px;
  transform: none;
  transition: transform .3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .te-region-hero-brands .logo-carousel-slide:hover { transform: scale(1.5); z-index: 2; }
}
.te-region-hero-brands .logo-carousel-slide::before { display: none; }
.te-region-hero-brands .logo-carousel-slide-img {
  width: 100%;
  height: 108px;
  object-fit: contain;
}
.te-region-hero .main-banner-bottom { margin-top: 8px; }
/* The old ring used the same pink as this regional background. */
.te-region-hero .Project-hail2 { border-color: #fff4e6; border-radius: 50%; }

/* Desktop dimensions and ellipse proportions come from home-hero-orbit.css. */
@media (min-width: 961px) {
  /* Reach the wide-screen anchor smoothly, without a jump at 1536px. */
  .te-region-hero-crest { right: clamp(-180px, calc(811.6px - 60vw), 32px); }
}
@media (min-width: 768px) and (max-width: 960px) {
  .te-region-hero .main-banner-row { flex-direction: row; min-height: 510px; }
  .te-region-hero .main-banner-left { display: block; width: 42%; }
  .te-region-hero .main-banner-title,
  .te-region-hero .main-banner-subtitle { width: 100%; }
  .te-region-hero .main-banner-advantages { margin: 25px 0; }
  .te-region-hero .te-region-hero-visual { width: 58%; min-height: 510px; }
  .te-region-hero-emblem.te-hero-emblem .loader,
  .te-region-hero-emblem .te-hero-orbit-stage {
    left: 49%; right: auto; top: 12px; width: 210px; height: 210px;
  }
  .te-region-hero-crest { top: 150px; right: 24px; max-width: 62%; }
  .te-region-hero-brands { left: 0; }
}
@media (min-width: 961px) and (max-width: 1240px) {
  .te-region-hero .main-banner-title { font-size: clamp(30px, 3vw, 36px); }
  .te-region-hero .main-banner-subtitle { font-size: 24px; }
}
@media (max-width: 767.98px) {
  .te-region-hero-emblem.te-hero-emblem .loader {
    left: auto; right: -60px; top: -8px; width: 200px; height: 200px;
  }
  .te-region-hero .main-banner-row { display: block; min-height: 0; }
  .te-region-hero .main-banner-left { display: block; width: 100%; }
  .te-region-hero .main-banner-title,
  .te-region-hero .main-banner-subtitle { width: 63%; }
  .te-region-hero .main-banner-advantages { margin: 28px 0 5px; }
  .te-region-hero .te-region-hero-visual { width: 100%; min-height: 380px; }
  .te-region-hero-crest {
    top: 80px;
    left: auto;
    right: 16px;
    width: var(--te-crest-mobile, 13em);
    max-width: 62%;
    transform: rotate(-15deg);
  }
  .te-region-hero-brands { left: 0; right: 0; bottom: 0; }
  .te-region-hero-brands .logo-carousel-slide { width: min(var(--te-brand-width, 135px), 96px); height: 125px; font-size: 14px; }
  .te-region-hero-brands .logo-carousel-slide-img { height: 86px; }
  .te-region-hero .main-banner-bottom { margin: 18px 0 28px; }
  .te-region-hero-brands { clip-path: inset(-40px 0); }
  .te-region-hero-backdrop .wave { opacity: .25; }
}
