/* Homepage hero only. Its own selectors replace the retired classic hero layers.
 * Scoped h1 sizes supersede the shared public heading !important rules. */
body#vtx-homepage #vtx-home-hero {
  --vtx-home-video-position: 50% 50%;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 620px;
  aspect-ratio: auto;
  height: auto;
  margin: 0;
  padding: 48px 0;
  overflow: hidden;
  color: #fff;
  background: #07343b;
  text-align: start;
}
body#vtx-homepage #vtx-home-hero::before,
body#vtx-homepage #vtx-home-hero::after { content: none; display: none; }
body#vtx-homepage #vtx-home-hero .vtx-home-video-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: url("../../images/home/home-hero-bg.webp") center / cover no-repeat;
}
body#vtx-homepage #vtx-home-hero .vtx-home-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--vtx-home-video-position);
  border: 0;
  border-radius: 0;
  opacity: 0;
  transition: opacity .2s ease;
}
body#vtx-homepage #vtx-home-hero.has-video-frame .vtx-home-video { opacity: 1; }
body#vtx-homepage #vtx-home-hero.has-video-frame .vtx-home-video-media { background: #04171b; }
body#vtx-homepage #vtx-home-hero .vtx-home-video-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(0,0,0,.6) .75px, transparent 1px),
    linear-gradient(90deg, rgba(3,29,35,.78), rgba(3,29,35,.56) 62%, rgba(3,29,35,.24));
  background-size: 6px 6px, 100% 100%;
  background-repeat: repeat, no-repeat;
}
html[dir="rtl"] body#vtx-homepage #vtx-home-hero .vtx-home-video-shade {
  background-image: radial-gradient(circle, rgba(0,0,0,.6) .75px, transparent 1px),
    linear-gradient(270deg, rgba(3,29,35,.78), rgba(3,29,35,.56) 62%, rgba(3,29,35,.24));
}
body#vtx-homepage #vtx-home-hero .vtx-home-video-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}
body#vtx-homepage #vtx-home-hero .vtx-home-video-badge {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 30px;
  padding: 11px 24px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 28px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
}
body#vtx-homepage #vtx-home-hero .vtx-home-video-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 330px;
  gap: clamp(30px,5vw,80px);
  align-items: center;
  min-height: 350px;
}
body#vtx-homepage #vtx-home-hero .vtx-home-video-copy { min-width: 0; }
body#vtx-homepage #vtx-home-hero .vtx-home-video-copy h1 {
  display: block;
  margin: 0 0 20px;
  padding: 0;
  max-width: 820px;
  color: #fff;
  font-size: clamp(32px,3.4vw,48px) !important;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: start;
  text-wrap: balance;
}
body#vtx-homepage #vtx-home-hero .vtx-home-video-copy h1 > span {
  display: block;
  color: #f3ad25;
  font-size: .78em;
  line-height: 1.55;
}
body#vtx-homepage #vtx-home-hero .vtx-home-video-copy > p {
  max-width: 700px;
  margin: 0 0 28px;
  color: #f3f8f8;
  font-size: 18px;
  line-height: 1.9;
  text-align: start;
}
body#vtx-homepage #vtx-home-hero .btn {
  min-height: 48px;
  max-width: 100%;
  padding: 12px 24px;
  border-radius: 16px;
  background: #f59b00;
  color: #102b30;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  text-decoration: none;
}
body#vtx-homepage #vtx-home-hero .vtx-home-video-compass {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 28px;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 28px;
  background: linear-gradient(145deg, #fff, #eef6f6);
  box-shadow: 0 18px 50px rgba(0,20,26,.18);
  color: #073c45;
  text-align: start;
}
body#vtx-homepage #vtx-home-hero .vtx-home-video-compass-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: #e8f2f3;
  color: #005a5c;
}
body#vtx-homepage #vtx-home-hero .vtx-home-video-compass h2 {
  margin: 0;
  color: #073c45;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  text-align: start;
}
body#vtx-homepage #vtx-home-hero .vtx-home-video-compass strong {
  margin: 0;
  color: #005a5c;
  font-size: 15px;
  line-height: 1.7;
}
body#vtx-homepage #vtx-home-hero .vtx-home-video-compass p {
  margin: 0;
  color: #365b63;
  font-size: 15px;
  line-height: 1.8;
}
body#vtx-homepage #vtx-home-hero .vtx-home-video-compass .btn { margin-top: 4px; }
body#vtx-homepage #vtx-home-hero .vtx-home-video-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
body#vtx-homepage #vtx-home-hero :is(a,button):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
@media (max-width: 900px) {
  body#vtx-homepage #vtx-home-hero { min-height: 620px; aspect-ratio: auto; padding: 28px 0 42px; }
  body#vtx-homepage #vtx-home-hero .vtx-home-video { object-fit: cover; }
  body#vtx-homepage #vtx-home-hero .vtx-home-video-inner { width: min(620px, calc(100% - 32px)); }
  body#vtx-homepage #vtx-home-hero .vtx-home-video-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  body#vtx-homepage #vtx-home-hero .vtx-home-video-copy { text-align: center; }
  body#vtx-homepage #vtx-home-hero .vtx-home-video-copy :is(h1,p) { text-align: center; }
  body#vtx-homepage #vtx-home-hero .vtx-home-video-copy h1 { font-size: clamp(29px,5.3vw,40px) !important; }
  body#vtx-homepage #vtx-home-hero .vtx-home-video-copy > p { font-size: 16px; }
  body#vtx-homepage #vtx-home-hero .vtx-home-video-start { width: auto; flex: 1 1 150px; }
  body#vtx-homepage #vtx-home-hero .vtx-home-video-actions { justify-content: center; }
  body#vtx-homepage #vtx-home-hero .vtx-home-video-compass { max-width: 420px; justify-self: center; padding: 24px; }
  body#vtx-homepage #vtx-home-hero .vtx-home-video-compass .btn { width: 100%; }
  body#vtx-homepage #vtx-home-hero .vtx-home-video-badge { font-size: 14px; padding: 10px 16px; margin-bottom: 24px; }
  body#vtx-homepage #vtx-home-hero .vtx-home-video-shade,
  html[dir="rtl"] body#vtx-homepage #vtx-home-hero .vtx-home-video-shade {
    background-image: radial-gradient(circle, rgba(0,0,0,.6) .75px, transparent 1px),
      linear-gradient(rgba(3,29,35,.6), rgba(3,29,35,.6));
  }
}
@media (max-width: 480px) {
  body#vtx-homepage #vtx-home-hero .vtx-home-video-copy h1 { font-size: clamp(24px,6.7vw,28px) !important; }
  body#vtx-homepage #vtx-home-hero .vtx-home-video-copy h1 > span { font-size: .84em; }
}
@media (prefers-reduced-motion: reduce) {
  body#vtx-homepage #vtx-home-hero .vtx-home-video { transition: none; }
}
