.campus-hero-slider {
  --campus-hero-height: 610px;
  --campus-hero-overlay: .18;
  position: relative;
  width: 100vw;
  max-width: none !important;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: var(--campus-hero-height);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #083d91;
}

.campus-hero-slider__slides,
.campus-hero-slider__slide,
.campus-hero-slider__shade { position: absolute; inset: 0; }

.campus-hero-slider__slide {
  opacity: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.015);
  transition: opacity .75s ease-in-out, transform 5.5s ease-out;
  will-change: opacity, transform;
}
.campus-hero-slider__slide.is-active { opacity: 1; transform: scale(1.04); }

.campus-hero-slider__shade {
  z-index: 1;
  background: rgba(0, 30, 90, var(--campus-hero-overlay));
  pointer-events: none;
}

.campus-hero-slider__nav-wrap {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 20px;
  right: 20px;
  width: auto;
  height: 78px;
  min-height: 78px;
  max-height: 78px;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  overflow: visible;
  background: linear-gradient(90deg, rgba(7, 34, 78, .16), rgba(15, 57, 112, .10));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 18, 55, .10);
  backdrop-filter: blur(10px) saturate(115%);
  -webkit-backdrop-filter: blur(10px) saturate(115%);
}

.campus-hero-slider__nav-inner {
  width: min(1180px, calc(100% - 120px));
  height: 76px;
  min-height: 76px;
  max-height: 76px;
  margin: 0 auto;
  padding: 0 !important;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.campus-hero-slider__brand {
  flex: 0 0 235px;
  width: 235px;
  padding-right: 46px;
  margin-right: 46px;
  border: 0 !important;
  box-sizing: border-box;
}
.campus-hero-slider__logo-link {
  display: inline-flex !important;
  align-items: center;
  text-decoration: none !important;
}
.campus-hero-slider__logo {
  display: block;
  width: 172px;
  height: auto;
  max-width: 172px;
  object-fit: contain;
}

.campus-hero-slider__menu { margin-left: auto; }
.campus-hero-slider__menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(20px, 1.8vw, 34px);
}
.campus-hero-slider__menu-list li { position: relative; margin: 0; padding: 0; }
.campus-hero-slider__menu-list a,
.elementor .campus-hero-slider__menu-list a {
  color: #fff !important;
  text-decoration: none !important;
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0, 20, 55, .35);
  transition: opacity .2s ease;
}
.campus-hero-slider__menu-list a:hover,
.campus-hero-slider__menu-list a:focus { opacity: .72; }
.campus-hero-slider__menu-list .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 210px;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  border-radius: 8px;
  background: rgba(5, 30, 70, .96);
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}
.campus-hero-slider__menu-list li:hover > .sub-menu,
.campus-hero-slider__menu-list li:focus-within > .sub-menu { display: block; }
.campus-hero-slider__menu-list .sub-menu a { display: block; padding: 10px 16px; }

.campus-hero-slider__content {
  position: relative;
  z-index: 3;
  width: min(1100px, calc(100% - 48px));
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 128px 20px 62px;
}

.campus-hero-slider .campus-hero-slider__title,
.campus-hero-slider .campus-hero-slider__title span {
  margin: 0;
  color: #fff !important;
  font-family: inherit;
  font-size: clamp(44px, 4.2vw, 68px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 12px rgba(0, 20, 65, .42);
}
.campus-hero-slider__title span { display: block; }

.elementor .campus-hero-slider a.campus-hero-slider__button,
.campus-hero-slider a.campus-hero-slider__button,
.campus-hero-slider a.campus-hero-slider__button:visited {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 38px !important;
  padding: 0 18px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #070b54 !important;
  font-family: inherit !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 3px 9px rgba(0, 24, 80, .14) !important;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease !important;
}
.campus-hero-slider__button-label,
.campus-hero-slider__button-arrow { display: inline-block !important; color: inherit !important; font-size: inherit !important; line-height: 1 !important; }
.campus-hero-slider__button-arrow { font-family: Arial, sans-serif !important; font-size: 10px !important; transform: translateY(-1px); }
.elementor .campus-hero-slider a.campus-hero-slider__button:hover,
.campus-hero-slider a.campus-hero-slider__button:hover { color: #fff !important; background: #0a5bff !important; transform: translateY(-1px) !important; }

@media (max-width: 1024px) {
  .campus-hero-slider__nav-wrap {
    top: 14px;
    left: 16px;
    right: 16px;
    height: 72px;
    min-height: 72px;
    max-height: 72px;
    padding: 0 !important;
    border-radius: 13px;
  }
  .campus-hero-slider__nav-inner {
    width: calc(100% - 34px);
    height: 70px;
    min-height: 70px;
    max-height: 70px;
    padding: 0 !important;
  }
  .campus-hero-slider__menu-list { gap: 20px; }
  .campus-hero-slider__menu-list a,
  .elementor .campus-hero-slider__menu-list a { font-size: 14px !important; }
  .campus-hero-slider__brand {
    flex-basis: 190px;
    width: 190px;
    padding-right: 28px;
    margin-right: 28px;
    border: 0 !important;
  }
  .campus-hero-slider__logo { width: 148px; max-width: 148px; }
}

@media (max-width: 820px) {
  .campus-hero-slider { min-height: 540px; }
  .campus-hero-slider__nav-wrap {
    top: 10px;
    left: 10px;
    right: 10px;
    height: auto;
    min-height: 68px;
    max-height: none;
    padding: 0 !important;
    border-radius: 11px;
  }
  .campus-hero-slider__nav-inner {
    width: calc(100% - 18px);
    height: auto;
    min-height: 66px;
    max-height: none;
    padding: 6px 0 !important;
    gap: 10px;
  }
  .campus-hero-slider__brand {
    flex-basis: 112px;
    width: 112px;
    padding-right: 0;
    margin-right: 8px;
    border-right: 0;
  }
  .campus-hero-slider__logo { width: 108px; max-width: 108px; }
  .campus-hero-slider__menu { margin-left: auto; }
  .campus-hero-slider__menu-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 12px;
  }
  .campus-hero-slider__menu-list a,
  .elementor .campus-hero-slider__menu-list a {
    font-size: 11px !important;
  }
  .campus-hero-slider__content { width: calc(100% - 28px); padding: 108px 14px 48px; }
  .campus-hero-slider .campus-hero-slider__title,
  .campus-hero-slider .campus-hero-slider__title span { font-size: clamp(30px, 8.6vw, 46px); }
}

@media (prefers-reduced-motion: reduce) {
  .campus-hero-slider__slide,
  .campus-hero-slider__button { transition: none; }
}


/* Full-bleed inside boxed Elementor layouts */
.elementor-widget-shortcode:has(.campus-hero-slider) {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
.elementor-widget-shortcode:has(.campus-hero-slider) > .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}
