.azur-video-ad,
.azur-video-ad * {
    box-sizing: border-box;
}

.azur-video-ad {
    position: relative;
    width: 100%;
    min-height: 720px;
    overflow: hidden;
    isolation: isolate;
    background: #06182f;
}

.azur-video-ad__viewport,
.azur-video-ad__slide,
.azur-video-ad__media,
.azur-video-ad__overlay,
.azur-video-ad__content {
    position: absolute;
    inset: 0;
}

.azur-video-ad__viewport {
    z-index: 1;
}

.azur-video-ad__slide {
    opacity: 0;
    pointer-events: none;
    transition-property: opacity, visibility;
    transition-timing-function: ease;
    visibility: hidden;
    background: #06182f;
}

.azur-video-ad__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    z-index: 2;
}

.azur-video-ad__media {
    z-index: 1;
    overflow: hidden;
    background: #06182f;
}

.azur-video-ad__media::before {
    content: "";
    position: absolute;
    inset: 0;
    display: block;
    background-image: var(--azur-video-ad-poster);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 1;
}

.azur-video-ad__poster {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: var(--azur-video-ad-poster);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.azur-video-ad__video {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.azur-video-ad__video--youtube {
    left: 50%;
    top: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 177.78vh;
    min-height: 100vh;
    transform: translate(-50%, -50%);
    max-width: none;
}

.azur-video-ad__overlay {
    z-index: 3;
    background: rgba(0, 28, 55, 0.68);
    pointer-events: none;
}

.azur-video-ad--no-overlay .azur-video-ad__overlay {
    display: none;
}

.azur-video-ad__content {
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.azur-video-ad__content-inner {
    width: 100%;
    max-width: 760px;
    margin-inline: 0;
    pointer-events: auto;
}

.azur-video-ad__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: #f3b51b;
}

.azur-video-ad__icon svg,
.azur-video-ad__icon i,
.azur-video-ad__button-icon svg,
.azur-video-ad__button-icon i,
.azur-video-ad__arrow svg,
.azur-video-ad__arrow i {
    display: block;
    width: 1em;
    height: 1em;
}

/* Keep Elementor SVG icons on the widget's Icon Color contract. */
.azur-video-ad__icon > svg {
    color: inherit;
    fill: currentColor;
}

.azur-video-ad__icon > svg [fill]:not([fill="none"]) {
    fill: currentColor;
}

.azur-video-ad__icon > svg [stroke]:not([stroke="none"]) {
    stroke: currentColor;
}

.azur-video-ad__icon > i {
    color: inherit;
}

.azur-video-ad__eyebrow {
    margin: 0 0 12px;
}

.azur-video-ad__heading {
    margin: 0;
    color: #fff;
}

.azur-video-ad__description {
    color: #fff;
}

.azur-video-ad__description p {
    margin: 0;
}

.azur-video-ad__description p + p {
    margin-top: 0.75em;
}

.azur-video-ad__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.azur-video-ad__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    border: 1px solid transparent;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.azur-video-ad__button:hover,
.azur-video-ad__button:focus {
    text-decoration: none;
    outline: none;
}

.azur-video-ad__button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.azur-video-ad__button--filled {
    color: #fff;
    background: #f3b51b;
    border-color: #f3b51b;
}

.azur-video-ad__button--outline {
    color: #f3b51b;
    background: transparent;
    border-color: #f3b51b;
}

.azur-video-ad__button--transparent {
    color: #f3b51b;
    background: transparent;
    border-color: transparent;
}

.azur-video-ad__button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.azur-video-ad__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    cursor: pointer;
    line-height: 1;
    transform: translateY(-50%);
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

.azur-video-ad__arrow:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.azur-video-ad__arrow--prev {
    left: 28px;
}

.azur-video-ad__arrow--next {
    right: 28px;
}

.azur-video-ad__arrow[disabled] {
    cursor: not-allowed;
    opacity: .45;
}

.azur-video-ad__dots {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transform: translateX(-50%);
}

.azur-video-ad__dot {
    display: block;
    padding: 0;
    border: 0;
    opacity: .75;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}

.azur-video-ad__dot[aria-selected="true"] {
    opacity: 1;
    transform: scale(1.22);
}

.azur-video-ad__dot:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .azur-video-ad__slide--mobile-poster .azur-video-ad__video {
        display: none;
    }

    .azur-video-ad__slide--mobile-poster .azur-video-ad__poster,
    .azur-video-ad__slide--mobile-poster .azur-video-ad__media::before {
        background-image: var(--azur-video-ad-mobile-poster, var(--azur-video-ad-poster));
    }

    .azur-video-ad__buttons {
        width: 100%;
    }

    .azur-video-ad__button {
        min-width: 0;
        width: 100%;
    }

    .azur-video-ad__arrow--prev {
        left: 12px;
    }

    .azur-video-ad__arrow--next {
        right: 12px;
    }
}

/* YouTube background mode: keep iframe as a passive hero background and crop native YouTube UI edges. */
.azur-video-ad__slide--youtube-background .azur-video-ad__video--youtube,
.azur-video-ad__video--youtube-background {
    pointer-events: none;
    width: 124vw;
    height: 69.75vw;
    min-width: 220.45vh;
    min-height: 124vh;
    transform: translate(-50%, -50%);
}

.azur-video-ad__slide--youtube-background .azur-video-ad__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    display: block;
    background: transparent;
    pointer-events: auto;
}

.azur-video-ad__slide--youtube-playable .azur-video-ad__video--youtube,
.azur-video-ad__video--youtube-playable {
    pointer-events: auto;
}
