/* Top hero full-bleed and marker removal for front page */

/* Make container span full viewport width */
#container {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
}

/* Remove default list bullets and spacing from Flexslider */
.flexslider .slides,
.flexslider .slides li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Ensure no outer margins cause gaps */
#container .flexslider {
  margin: 0;
}

/* Hero slide sizing */
.hero-slide {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: clamp(420px, 80vh, 860px);
}

.hero-visual {
  flex: 1 1 auto;
  display: block;
  height: 100%;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Video key visual */
.hero-visual .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Prevent tap to fullscreen on iOS */
video[playsinline] {
  -webkit-tap-highlight-color: transparent;
}

/* Overlay text centering and responsive tweak */
.SlideText {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

/* Hero copy styles */
.hero-copy {
  text-align: center;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  padding: 0 16px;
}

.hero-lead {
  font-size: clamp(18px, 5vw, 38px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin: 0 0 8px;
}

.hero-sub {
  font-size: clamp(14px, 3.3vw, 18px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .SlideText {
    padding: 15px;
    top: auto;
    bottom: 10%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    width: 90%;
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .hero-slide {
    min-height: clamp(320px, 75vh, 620px);
  }
  .SlideText {
    padding: 15px;
    top: auto;
    bottom: 10%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    width: 90%;
    max-width: 90%;
  }
}
