/* =====================================================================
   SJC HERO SLIDER — text styling
   Self-contained. Loaded LAST in the head so it wins the cascade.
   No !important needed.
   ===================================================================== */

/* Tint overlay (darkness set inline per-slide from Homepage Manager) */
.hero-tint { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-slide-v3 .hero-content-v3 { z-index: 3; }

/* === Content wrapper === */
.hero-slide-v3 .hero-content-v3 {
  padding-bottom: 110px;
  max-width: 680px;
}
.hero-slide-v3 .hero-content-v3.text-center {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* === Eyebrow (small uppercase label above title) === */
.hero-slide-v3 .hero-eyebrow-v3 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: none;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
  box-shadow: none;
  backdrop-filter: none;
}
.hero-slide-v3 .hero-eyebrow-v3::before {
  content: '';
  display: inline-block;
  position: static;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #faa519;
  box-shadow: 0 0 0 4px rgba(250, 165, 25, 0.22), 0 4px 10px rgba(212, 135, 10, 0.45);
  flex-shrink: 0;
  top: auto;
  left: auto;
  transform: none;
}
.hero-slide-v3 .text-center .hero-eyebrow-v3 { justify-content: center; }
.hero-slide-v3 .text-right  .hero-eyebrow-v3 { justify-content: flex-end; }

/* === Title — clean bold white, properly sized === */
.hero-slide-v3 .hero-title-v3 {
  position: relative;
  display: block;
  font-weight: 800;
  font-size: clamp(28px, 4.6vw, 52px);
  letter-spacing: -0.5px;
  line-height: 1.12;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  -webkit-text-stroke: 0;
  background: none;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.55),
    0 8px 22px rgba(0, 0, 0, 0.45);
  padding: 0;
  margin: 0 0 16px;
  max-width: 18ch;
  filter: none;
}
.hero-slide-v3 .text-center .hero-title-v3 {
  margin-left: auto;
  margin-right: auto;
  max-width: 22ch;
}
.hero-slide-v3 .text-right .hero-title-v3 {
  margin-left: auto;
}
.hero-slide-v3 .hero-title-v3::before,
.hero-slide-v3 .hero-title-v3::after {
  content: none;
  display: none;
}

/* === Second subtitle (tagline) — gold bar + white text === */
.hero-slide-v3 .hero-subtitle2-v3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
}
.hero-slide-v3 .text-center .hero-subtitle2-v3 { justify-content: center; }
.hero-slide-v3 .text-right  .hero-subtitle2-v3 { justify-content: flex-end; }
.hero-slide-v3 .hero-subtitle2-v3::before {
  content: '';
  flex-shrink: 0;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #faa519, #d4870a);
}
.hero-slide-v3 .text-center .hero-subtitle2-v3::before { display: none; }
.hero-slide-v3 .hero-subtitle2-text {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
  background: none;
  padding: 0;
  clip-path: none;
  transform: none;
  filter: none;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

/* === Description — line-clamped so it never overflows === */
.hero-slide-v3 .hero-desc-v3 {
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.6;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.90);
  margin: 0 0 24px;
  max-width: 480px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-slide-v3 .text-center .hero-desc-v3 {
  margin-left: auto;
  margin-right: auto;
}

/* === CTA button — navy fill + gold border === */
.hero-slide-v3 .btn-hero-v3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #213f99;
  border: 2px solid #faa519;
  color: #ffffff;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(33, 63, 153, 0.32);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.hero-slide-v3 .btn-hero-v3:hover {
  background: #faa519;
  border-color: #faa519;
  color: #1a2540;
  transform: translateY(-2px);
}

/* === Mobile === */
@media (max-width: 768px) {
  .hero-slide-v3 .hero-content-v3 {
    padding-bottom: 80px;
    max-width: 100%;
  }
  .hero-slide-v3 .hero-title-v3 {
    font-size: clamp(22px, 6vw, 30px);
    letter-spacing: -0.2px;
    line-height: 1.18;
    margin-bottom: 10px;
    max-width: none;
  }
  .hero-slide-v3 .hero-eyebrow-v3 {
    font-size: 11px;
    letter-spacing: 0.18em;
    margin-bottom: 10px;
    gap: 8px;
  }
  .hero-slide-v3 .hero-eyebrow-v3::before {
    width: 7px;
    height: 7px;
    box-shadow: 0 0 0 3px rgba(250, 165, 25, 0.22), 0 3px 8px rgba(212, 135, 10, 0.40);
  }
  .hero-slide-v3 .hero-subtitle2-v3 {
    margin: 0 0 10px;
    gap: 10px;
  }
  .hero-slide-v3 .hero-subtitle2-v3::before { width: 24px; height: 2.5px; }
  .hero-slide-v3 .hero-subtitle2-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
  }
  .hero-slide-v3 .hero-desc-v3 {
    font-size: 12.5px;
    line-height: 1.55;
    margin-bottom: 16px;
    -webkit-line-clamp: 2;
  }
  .hero-slide-v3 .btn-hero-v3 {
    padding: 10px 20px;
    font-size: 13.5px;
  }
}

/* === Mobile hero video → static poster (no download, no play icon) === */
.hero-bg-video-mobile,
.hero-img-mobile-video { display: none; }
@media (max-width: 768px) {
  .hero-bg-video-desktop { display: none; }
  .hero-bg-video-mobile  {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
  }
  .hero-img-mobile-video { display: block; }
}
