.marine-hero-section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 18px;
    box-sizing: border-box;
    min-height: 72px;
    margin-block-end: clamp(16px, 2vw, 26px);
    padding: clamp(12px, 1.35vw, 19px) clamp(18px, 2.4vw, 36px);
    border: 1px solid #e4e6f0;
    border-radius: 10px;
    background: radial-gradient(ellipse at 0% 50%, #eeedf9 0%, transparent 62%), #fdfdff;
    box-shadow: 0 6px 22px rgb(22 28 56 / 6%);
    color: #14263a;
    font-family: Inter, system-ui, sans-serif;
}

.marine-hero-section-header .marine-hero-section-header__title {
    margin: 0;
    min-width: 0;
    max-width: 100%;
    color: inherit;
    font-family: inherit;
    font-size: clamp(1.6875rem, 3vw, 2.125rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.16;
    text-transform: none;
    overflow-wrap: anywhere;
}

.marine-hero-section-header .marine-hero-section-header__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-sizing: border-box;
    min-height: 42px;
    margin-inline-start: auto;
    padding: 8px 12px;
    border: 1px solid #e6e2f4;
    border-radius: 8px;
    background: #f2f0fa;
    color: var(--e-global-color-primary, #2e287f);
    font-family: inherit;
    font-size: .9375rem;
    font-weight: 650;
    line-height: 1.3;
    text-decoration: none !important;
}

.marine-hero-section-header .marine-hero-section-header__link:is(:hover, :focus-visible) {
    background: #eae6f8;
    color: #211b62;
}

.marine-hero-section-header__link:is(:hover, :focus-visible) .marine-hero-section-header__link-label {
    text-decoration: underline;
    text-underline-offset: .25em;
}

.marine-hero-section-header__link-arrow {
    display: block;
    flex: none;
    width: 17px;
    height: 17px;
    transition: transform .18s ease;
}

.marine-hero-section-header__link:is(:hover, :focus-visible) .marine-hero-section-header__link-arrow {
    transform: translate(1px, -1px);
}

@media (max-width: 600px) {
    .marine-hero-section-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) fit-content(52%);
        gap: 0 10px;
        min-height: 0;
        margin-block-end: 14px;
        padding: 8px 12px;
    }

    .marine-hero-section-header .marine-hero-section-header__title {
        grid-area: 1 / 1;
        font-size: clamp(1.125rem, 5.25vw, 1.375rem);
    }

    .marine-hero-section-header .marine-hero-section-header__link {
        grid-area: 1 / 2;
        justify-self: end;
        gap: 5px;
        min-width: 0;
        min-height: 44px;
        margin: 0;
        padding: 6px 8px;
        font-size: .8125rem;
        line-height: 1.2;
    }

    .marine-hero-section-header__link-label {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .marine-hero-section-header__link-arrow {
        width: 15px;
        height: 15px;
    }
}

.marine-hero-slider {
    display: block;
    position: relative;
    isolation: isolate;
    width: 100%;
    background: #10243a;
    color: #fff;
    direction: ltr;
    border-radius: 5px;

}

.marine-hero-slider__viewport {
    position: relative;
    height: var(--marine-hero-height, var(--marine-hero-desktop-height, 600px));
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    border-radius: 5px;
}

.marine-hero-section-header--joined {
    margin-block-end: 0;
    border-block-end: 0;
    border-radius: 12px 12px 0 0;
    box-shadow: none;
}

.marine-hero-section-header--joined + .marine-hero-slider,
.marine-hero-section-header--joined + .marine-hero-slider .marine-hero-slider__viewport {
    border-radius: 0 0 12px 12px;
}

.marine-hero-slider__slide,
.marine-hero-slider__surface,
.marine-hero-slider__picture,
.marine-hero-slider__shade {
    position: absolute;
    inset: 0;
}

.marine-hero-slider__slide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .42s ease, visibility 0s .42s;
}

.marine-hero-slider__slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.marine-hero-slider .marine-hero-slider__surface {
    display: block;
    color: inherit;
    text-decoration: none;
}

.marine-hero-slider__surface:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -5px;
}

.marine-hero-slider__picture {
    display: block;
}

.marine-hero-slider .marine-hero-slider__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
    object-fit: cover;
    object-position: var(--marine-hero-desktop-focus, center);
}

.marine-hero-slider__shade {
    background: radial-gradient(ellipse var(--marine-hero-shade-size, 76% 88%) at 2% 98%,
        #071321 18%, rgb(7 19 33 / 70%) 47%, transparent 100%);
    opacity: var(--marine-hero-shade, 64%);
    pointer-events: none;
}

.marine-hero-slider__caption {
    position: absolute;
    inset-inline: clamp(24px, 5vw, 78px);
    inset-block-end: clamp(64px, 6vw, 88px);
    width: auto;
    max-width: 42rem;
    overflow-wrap: anywhere;
    text-shadow: 0 2px 20px rgb(3 12 23 / 36%);
}

.marine-hero-slider .marine-hero-slider__title,
.marine-hero-slider .marine-hero-slider__description {
    margin: 0;
    color: #fff;
    font-family: inherit;
}

.marine-hero-slider .marine-hero-slider__title {
    font-family: Inter, system-ui, sans-serif;
    font-size: var(--marine-hero-title-size, clamp(2.375rem, 4vw, 3rem));
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.032em;
}

.marine-hero-slider .marine-hero-slider__description {
    max-width: 50ch;
    font-size: clamp(.9375rem, 1.35vw, 1.125rem);
    line-height: 1.5;
}

.marine-hero-slider__title + .marine-hero-slider__description {
    margin-block-start: .65rem;
}

.marine-hero-slider__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-sizing: border-box;
    min-height: 42px;
    padding: 8px 15px;
    border-radius: 6px;
    background: #fff;
    color: #14263a;
    font-family: Inter, system-ui, sans-serif;
    font-size: .9375rem;
    font-weight: 650;
    line-height: 1.25;
    text-shadow: none;
}

:is(.marine-hero-slider__title, .marine-hero-slider__description) + .marine-hero-slider__cta {
    margin-block-start: clamp(16px, 2vw, 24px);
}

.marine-hero-slider__cta-arrow {
    display: block;
    flex: none;
    width: 18px;
    height: 18px;
    transition: transform .18s ease;
}

.marine-hero-slider__surface:is(:hover, :focus-visible) .marine-hero-slider__cta-arrow {
    transform: translateX(3px);
}

.marine-hero-slider__controls {
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
}

.marine-hero-slider__controls[hidden] {
    display: none;
}

.marine-hero-slider .marine-hero-slider__controls :is(.marine-hero-slider__button, .marine-hero-slider__dot) {
    /* Keep the controls independent of the Elementor kit's button states. */
    appearance: none;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    cursor: pointer;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.marine-hero-slider .marine-hero-slider__button {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.marine-hero-slider .marine-hero-slider__button:focus-visible,
.marine-hero-slider .marine-hero-slider__dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.marine-hero-slider__button svg {
    display: block;
    width: 22px;
    height: 22px;
    opacity: .88;
    filter: drop-shadow(0 1px 3px rgb(3 12 23 / 95%));
    transition: transform .18s ease, opacity .18s ease;
}

.marine-hero-slider__button:focus-visible svg {
    opacity: 1;
    transform: scale(1.15);
}

.marine-hero-slider__prev,
.marine-hero-slider__next {
    top: 50%;
    transform: translateY(-50%);
}

.marine-hero-slider__prev {
    left: clamp(10px, 2.2vw, 26px);
}

.marine-hero-slider__next {
    right: clamp(10px, 2.2vw, 26px);
}

.marine-hero-slider__playback {
    inset-inline-end: clamp(10px, 2.2vw, 26px);
    inset-block-end: 10px;
}

.marine-hero-slider__playback[data-playing="true"] .marine-hero-slider__play-icon,
.marine-hero-slider__playback[data-playing="false"] .marine-hero-slider__pause-icon {
    display: none;
}

.marine-hero-slider__dots,
.marine-hero-slider__counter {
    position: absolute;
    inset-inline-start: 50%;
    inset-block-end: 16px;
    transform: translateX(-50%);
    border-radius: 32px;
    background: rgb(7 20 34 / 65%);
    color: #fff;
}

.marine-hero-slider__dots {
    display: flex;
    padding-inline: 5px;
}

.marine-hero-slider .marine-hero-slider__dot {
    width: 24px;
    height: 30px;
    border-radius: 8px;
}

.marine-hero-slider__dot::before {
    content: "";
    box-sizing: border-box;
    width: 7px;
    height: 7px;
    border: 1px solid rgb(255 255 255 / 85%);
    border-radius: 8px;
    transition: width .18s ease, background-color .18s ease, transform .18s ease;
}

.marine-hero-slider__dot[aria-current="true"]::before {
    width: 13px;
    background: #fff;
}

.marine-hero-slider__dot:focus-visible::before {
    transform: scale(1.22);
}

@media (any-hover: hover) {
    .marine-hero-slider__button:hover svg {
        opacity: 1;
        transform: scale(1.15);
    }

    .marine-hero-slider__dot:hover::before {
        background: rgb(255 255 255 / 55%);
        transform: scale(1.22);
    }

    .marine-hero-slider__dot[aria-current="true"]:hover::before {
        background: #fff;
    }
}

.marine-hero-slider__counter {
    padding: 5px 12px;
    font-size: .8125rem;
    font-variant-numeric: tabular-nums;
    line-height: 20px;
}

.marine-hero-slider__status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.marine-hero-slider__placeholder {
    padding: 24px;
    border: 1px dashed #9faab8;
}

@media (prefers-reduced-motion: reduce) {
    .marine-hero-section-header__link-arrow,
    .marine-hero-slider__slide,
    .marine-hero-slider__button svg,
    .marine-hero-slider__dot::before,
    .marine-hero-slider__cta-arrow {
        transition: none;
    }
}
