.hero-video-block {
    max-width: 90rem !important;
    margin-left: -24px !important;
    margin-right: -24px !important;
    border-bottom-left-radius: 10vw;
    border-bottom-right-radius: 10vw;
    overflow: hidden;
    position: relative;
}

.hero-video-block img {
    display: block;
    width: 100%;
}

.hero-video-block .hero-block-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    max-width: 85vw;
    margin: 0 auto;
    width: 100%;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.5), transparent);
    border-radius: 5vw;
    overflow: hidden;
}

.hero-video-block .hero-block-inner-content {
    position: relative;
    padding: 6vw;
}

.hero-video-block .hero-block-inner-content::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 5vw;
    padding: 1vw;
    background: linear-gradient(-50deg, var(--wp--preset--color--light-purple) 0%, var(--wp--preset--color--light-purple) 20%, #27136a 80%,#27136a 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero-video-block .hero-mint-tea::before {
  background: linear-gradient(-50deg, var(--wp--preset--color--mint-tea) 0%, var(--wp--preset--color--mint-tea) 20%, #27136a 80%,#27136a 100%);
}
.hero-video-block .hero-fuchsia::before {
  background: linear-gradient(-50deg, var(--wp--preset--color--fuchsia) 0%, var(--wp--preset--color--fuchsia) 20%, #27136a 80%,#27136a 100%);
}
.hero-video-block .hero-sea-breeze::before {
  background: linear-gradient(-50deg, var(--wp--preset--color--sea-breeze) 0%, var(--wp--preset--color--sea-breeze) 20%, #27136a 80%,#27136a 100%);
}
.hero-video-block .hero-summer-skies::before {
  background: linear-gradient(-50deg, var(--wp--preset--color--light-purple) 0%, var(--wp--preset--color--light-purple) 20%, #27136a 80%,#27136a 100%);
}

.hero-video-block .hero-block-inner-content h1 {
    color: var(--wp--preset--color--custom-white);
    font-size: 3vw;
    font-weight: 800;
    margin-top: 0;
    max-width: 44%;
    height: 20vw;
}

.hero-video-block .hero-block-inner-content h1 span {
    display: block;
    margin-top: 1rem;
}

.hero-video-block .hero-block-inner-content h1.has-subtext {
    color: var(--wp--preset--color--custom-white);
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 400;
}

.hero-video-block .hero-block-inner-content h2 {
    color: var(--wp--preset--color--custom-white);
    font-size: 3.25vw;
    font-weight: 800;
    max-width: 55%;
}

.hero-video-block .hero-tagline {
    position: absolute;
    bottom: 0;
    right: 0;
    font-weight: 900;
    background-color: var(--wp--preset--color--light-purple);
    color: var(--wp--preset--color--custom-white);
    font-family: var(--wp--preset--font-family--indivisible);
    font-size: 1.75vw;
    line-height: 1.75vw;
    max-width: 10vw;
    padding: 2vw 2.5vw 2vw 4vw;
    border-bottom-right-radius: 4vw;
    border-top-left-radius: 4vw;
}

.hero-video-block .hero-tagline-mint-tea {
  background-color: var(--wp--preset--color--mint-tea);
  color: var(--wp--preset--color--dark-blue);
}
.hero-video-block .hero-tagline-fuchsia {
  background-color: var(--wp--preset--color--fuchsia);
  color: var(--wp--preset--color--dark-blue);
}
.hero-video-block .hero-tagline-sea-breeze {
  background-color: var(--wp--preset--color--sea-breeze);
  color: var(--wp--preset--color--dark-blue);
}
.hero-video-block .hero-tagline-summer-skies {
  background-color: var(--wp--preset--color--light-purple);
  color: var(--wp--preset--color--custom-white);
}

/* CTA row: hero button + watch button side by side */
.hvb-cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1vw;
    margin-top: 1vw;
}

/* Watch film button */
.hvb-watch-btn {
  color: var(--wp--preset--color--dark-purple);
  cursor: pointer;
  background: white !important;
  border: 0.5vw solid white !important;
  border-radius: 6px;
  font-family: var(--wp--preset--font-family--indivisible);
  font-size: 2vw;
  font-weight: 900;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 1.5vw;
  padding: 1vw 2vw!important;
  text-decoration: none;
  margin-top: 1vw;
  transition: all 0.3s ease;
}

.hvb-watch-btn::after {
  content: "";
  display: inline-block;
  width: 2vw;
  height: 2vw;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s ease;
}
.hvb-watch-btn:hover {
  color: white !important;
  background: var(--wp--preset--color--dark-purple) !important;
  text-decoration: none !important;
}

/* Poster scene */
.hvb-scene {
    position: relative;
    width: 100%;
    transition: opacity 0.5s ease;
}

.hvb-scene--hidden {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    inset: 0;
}

/* Video scene */
.hvb-video-scene {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.hvb-video-scene--visible {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.hvb-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Playback controls */
.hvb-controls {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: none;
    gap: 0.75rem;
    opacity: 0;
    pointer-events: none;
}

.hvb-controls--visible {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.hvb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(100, 100, 200, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 1rem;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.hvb-btn:hover, .hvb-btn:focus {
    background: rgba(100, 100, 200, 1);
    border: 2px solid rgba(255, 255, 255, 1);
}

.hvb-btn svg {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.hvb-icon-muted {
    display: none;
}

.hvb-transcript {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(100, 100, 200, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 1rem;
    color: #fff;
    cursor: pointer;
    font-family: var(--wp--preset--font-family--indivisible);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0 1rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease;
}
.hvb-transcript:hover, .hvb-transcript:focus {
    background: rgba(100, 100, 200, 1);
    border: 2px solid rgba(255, 255, 255, 1);
    color: #fff;
}

/* Large screen overrides */
@media (min-width: 1300px) {
    .hero-video-block {
        max-width: 90rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
        border-bottom-left-radius: 5rem;
        border-bottom-right-radius: 5rem;
    }

    .hero-video-block .hero-block-inner {
        max-width: 1180px;
        margin: 0 auto;
        width: 100%;
        border-radius: 3rem;
    }

    .hero-video-block .hero-block-inner-content {
        padding: clamp(1rem, 5vw, 5rem);
    }

    .hero-video-block .hero-block-inner-content::before {
        border-radius: 3rem;
        padding: 10px;
    }

    .hero-video-block .hero-block-inner-content h1 {
        font-size: clamp(2rem, 5vw, 4rem);
        max-width: 55%;
        height: 350px;
    }

    .hero-video-block .hero-block-inner-content h1.has-subtext {
        font-size: clamp(1.25rem, 4vw, 2rem);
    }

    .hero-video-block .hero-block-inner-content h2 {
        font-size: clamp(2rem, 5vw, 4rem);
        max-width: 55%;
    }

    .hvb-watch-btn {
        border: 2px solid white !important;
        border-radius: 6px;
        font-size: clamp(1.25rem, 4vw, 2rem);
        gap: 1.5rem;
        padding: 0.5rem 1rem !important;
        margin-top: 0;
    }

    .hvb-watch-btn::after {
        width: 2rem;
        height: 2rem;
    }

    .hero-video-block .hero-tagline {
        bottom: 0.5rem;
        right: 0.5rem;
        font-size: clamp(1.25rem, 2vw, 1rem);
        line-height: clamp(1.25rem, 2vw, 1rem);
        max-width: 7rem;
        padding: 1.25rem 1rem 1rem 2.5rem;
        border-bottom-right-radius: 2.5rem;
        border-top-left-radius: 2.5rem;
    }

    .hvb-cta-row {
        gap: 1rem;
        margin-top: 0;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hvb-scene,
    .hvb-video-scene {
        transition: none;
    }
}