.ekl-da {
    --ekl-da-teal: #d9a12e;
    --ekl-da-deep: #002856;
    --ekl-da-cream: #f8f4ec;
    --ekl-da-white: #ffffff;
    --ekl-da-border: rgba(255,255,255,.72);
    width: 100%;
}

.ekl-da * {
    box-sizing: border-box;
}

.ekl-da__panels {
    display: flex;
    width: 100%;
    min-height: 520px;
    overflow: hidden;
    border-radius: 0;
    background: #d9e0e2;
}

.ekl-da__panel {
    position: relative;
    flex: 0 0 112px;
    min-width: 0;
    overflow: hidden;
    background-image:
        linear-gradient(180deg, rgba(7,29,36,.10) 0%, rgba(7,29,36,.30) 48%, rgba(7,29,36,.58) 100%),
        var(--ekl-da-image);
    background-size: cover;
    background-position: center;
    transition: flex-basis .55s cubic-bezier(.22,.61,.36,1);
    isolation: isolate;
}

.ekl-da__panel + .ekl-da__panel {
    border-left: 2px solid rgba(255,255,255,.85);
}

.ekl-da__panel.is-active {
    flex: 1 1 auto;
}

.ekl-da__panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(248,244,236,.95) 0%, rgba(248,244,236,.88) 28%, rgba(248,244,236,.50) 48%, rgba(248,244,236,0) 70%);
    opacity: 0;
    transition: opacity .35s ease;
}

.ekl-da__panel.is-active::after {
    opacity: 1;
}


.ekl-da__tab {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    border: 0;
    margin: 0;
    padding: 28px 16px;
    background: rgba(18,67,82,.36);
    color: var(--ekl-da-white);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    transition: background .25s ease;
}

.ekl-da__panel.is-active .ekl-da__tab {
    pointer-events: none;
    opacity: 0;
}

.ekl-da__panel:not(.is-active) .ekl-da__tab:hover,
.ekl-da__panel:not(.is-active) .ekl-da__tab:focus-visible {
    background: rgba(13,65,80,.52);
}

.ekl-da__tab-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: "Manrope", sans-serif;
    font-size: clamp(22px, 1.9vw, 31px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: .01em;
}

.ekl-da__tab-arrow {
    position: absolute;
    left: 50%;
    bottom: 64px;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding-bottom: 3px;
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
}

.ekl-da__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: clamp(32px, 5vw, 72px);
}

.ekl-da__content-inner {
    width: min(500px, 56%);
    padding-right: 52px;
    color: var(--ekl-da-deep);
}

.ekl-da__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-family: "Nunito Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.ekl-da__eyebrow::before {
    content: "";
    width: 36px;
    height: 2px;
    background: currentColor;
}

.ekl-da__title {
    margin: 0 0 16px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 650;
    line-height: .98;
    letter-spacing: -.025em;
    color: #4b6e81;
}

.ekl-da__copy {
    margin: 0 0 24px;
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.48;
    color: #002856;
    text-shadow: none;
}


/* Keep inactive-panel copy completely out of the collapsed tabs. */
.ekl-da__content[hidden],
.ekl-da__panel:not(.is-active) .ekl-da__content {
    display: none !important;
}

.ekl-da__button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 48px;
    padding: 13px 18px;
    border-radius: 4px;
    background: var(--ekl-da-teal);
    color: #fff !important;
    font-family: "Nunito Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: transform .2s ease, background .2s ease;
}

.ekl-da__button:hover,
.ekl-da__button:focus-visible {
    background: #b97d16;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .ekl-da__panels {
        display: block;
        min-height: 0;
        overflow: visible;
        border-radius: 0;
        background: transparent;
    }

    .ekl-da__panel,
    .ekl-da__panel.is-active {
        position: relative;
        flex: none;
        min-height: 0;
        margin-bottom: 10px;
        border-left: 0 !important;
        border-radius: 0;
        background-position: center;
        transition: none;
    }

    .ekl-da__panel::after {
        display: none;
    }

    .ekl-da__tab,
    .ekl-da__panel.is-active .ekl-da__tab {
        position: relative;
        inset: auto;
        pointer-events: auto;
        opacity: 1;
        width: 100%;
        min-height: 64px;
        padding: 14px 18px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        background: linear-gradient(90deg, rgba(13,65,80,.88), rgba(13,65,80,.58));
        border-radius: 0;
    }

    .ekl-da__panel:not(.is-active) .ekl-da__tab {
        border-radius: 0;
    }

    .ekl-da__tab-title {
        writing-mode: horizontal-tb;
        flex: 1 1 auto;
        min-width: 0;
        padding-right: 12px;
        font-size: clamp(18px, 5vw, 21px);
        line-height: 1.12;
        text-align: left;
    }

    .ekl-da__tab-arrow {
        position: static;
        left: auto;
        bottom: auto;
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        padding-bottom: 2px;
        font-size: 26px;
        transform: rotate(90deg);
        transition: transform .25s ease;
    }

    .ekl-da__panel.is-active .ekl-da__tab-arrow {
        transform: rotate(-90deg);
    }

    .ekl-da__content {
        position: relative;
        inset: auto;
        min-height: 410px;
        padding: 28px 22px;
        align-items: flex-end;
        border-radius: 0;
        background:
            linear-gradient(180deg, rgba(8,37,46,.05) 0%, rgba(8,37,46,.72) 68%, rgba(8,37,46,.88) 100%);
    }

    .ekl-da__content-inner {
        width: 100%;
        padding-right: 0;
        color: #fff;
    }

    .ekl-da__eyebrow,
    .ekl-da__title,
    .ekl-da__copy {
        color: #fff !important;
    }

    .ekl-da__title {
        font-size: clamp(30px, 8vw, 42px);
        line-height: 1.02;
    }

    .ekl-da__copy {
        font-size: 16px;
        line-height: 1.5;
        text-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ekl-da__panel,
    .ekl-da__tab,
    .ekl-da__button,
    .ekl-da__tab-arrow {
        transition: none !important;
    }
}
