/* Desktop: accordion elements are invisible / layout-transparent */
.tabs-features .accordion-trigger {
    display: none;
}
.tabs-features .accordion-body {
    display: contents;
}

.tabs-features {
    position: relative;
    margin: 0 auto;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
    border-radius: 24px;
    border: 1px solid #30729c;
    overflow: hidden;
    background-color: #051016;
    background-image: radial-gradient(
        ellipse at 70% 20%,
        rgba(36, 96, 255, 0.5) 0%,
        transparent 70%
    );
}
.tabs-features .tabs {
    display: flex;
    cursor: pointer;
    justify-content: space-between;
    width: 100%;
    position: relative;
    margin-bottom: 0;
    border-bottom: 1px solid #30729c;
    background-color: transparent;
    z-index: 1;
}
.tabs-features .tab {
    padding: 22px 10px 22px 10px;
    position: relative;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    transition: color 0.3s ease;
    background-color: rgba(0, 0, 0, 0.3);
    flex: 1;
    text-align: center;
    color: #fff;
    border-right: 1px solid #30729c;
}
.tabs-features .tab:last-child {
    border-right: none;
}

.tabs-features .tab h4,
.tabs-features .tab h6 {
    font-weight: 600 !important;
}
.tabs-features .tab.active {
    opacity: 1;
    background-color: #172f3e;
    color: #fff;
    margin-bottom: -1px;
    padding-bottom: 23px;
    z-index: 2;
}

.tabs-features .tab:hover {
    opacity: 1;
}
.tabs-features .tab-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    border-radius: 0 0 24px 24px;
    padding: 48px;
    color: #fff;
}
.tabs-features .tab-slide .tab-content {
    padding-bottom: 0;
    padding-right: 80px;
}
.tabs-features .tab-slide .tab-content strong,
.tabs-features .tab-slide .tab-content b {
    color: #3e509c;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
}
.tabs-features .tab-slide .tab-content ul,
.tabs-features .tab-slide .tab-content ol {
    margin: 0;
    padding-left: 20px;
    font-size: 18px;
}
.tabs-features .tab-slide .tab-content ul li,
.tabs-features .tab-slide .tab-content ol li {
    margin-bottom: 0;
    padding-bottom: 0;
}
.tabs-features .tab-slide .eyebrow {
    color: #3e509c;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
    padding: 0;
    background-color: transparent;
}
.tabs-features .tab-slide h3 {
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    margin-bottom: 24px;
    color: #fff;
}

.tabs-features .tab h4 {
    color: #7af0f5;
    margin: 0;
}

.tabs-features .tab h6 {
    color: #fff;
    margin: 0;
    font-size: 18px;
    letter-spacing: 0;
}

.tabs-features .tab-image {
    background: linear-gradient(to bottom, #2a689f, #0d253b);
    padding: 10px;
    border-radius: 50px;
    display: inline-block;
}
.tabs-features .tab-image img {
    max-height: 600px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 40px;
    border: 2px solid #7af0f5;
}

@media screen and (max-width: 992px) {
    /* Splide wrappers become layout-transparent so tab-slides flex flows to tab-slide children */
    .tabs-features .splide__track,
    .tabs-features .splide__list {
        display: contents;
    }

    .tabs-features .tabs {
        display: none;
    }

    .tabs-features {
        overflow: hidden;
        box-shadow: none;
        border-radius: 16px;
        border: 1px solid #30729c;
        background-color: #051016;
        background-image: radial-gradient(
            ellipse at calc(100% + 100px) 66%,
            rgba(36, 96, 255, 0.5) 0%,
            transparent 70%
        );
    }

    .tabs-features .tab-slides {
        display: flex;
        flex-direction: column;
    }

    /* Accordion item */
    .tabs-features .tab-slide {
        display: block;
        padding: 0;
        border-radius: 0;
        background-color: transparent;
        border-bottom: 1px solid #30729c;
    }

    .tabs-features .tab-slide:last-child {
        border-bottom: none;
    }

    .tabs-features .tab-slide.is-open {
        background: rgba(0, 0, 0, 0.3);
    }

    .tabs-features .tab-slide.is-open .accordion-trigger {
        border-bottom: 1px solid #30729c;
    }

    /* Accordion trigger */
    .tabs-features .accordion-trigger {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        width: 100%;
        padding: 20px 24px;
        background: none;
        border: none;
        border-radius: 0;
        outline: none;
        box-shadow: none;
        cursor: pointer;
        text-align: left;
        -webkit-appearance: none;
        appearance: none;
    }

    .tabs-features .accordion-trigger .trigger-label {
        color: #7af0f5;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.2;
    }

    .tabs-features .accordion-trigger .trigger-tease {
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.3;
    }

    /* Accordion body: hidden by default, shown when open */
    .tabs-features .accordion-body {
        display: none;
        flex-direction: column;
        gap: 24px;
        padding: 48px 24px;
    }

    .tabs-features .tab-slide.is-open .accordion-body {
        display: flex;
    }

    .tabs-features .tab-image {
        background: none;
        padding: 0;
        border-radius: 0;
        display: block;
        margin-top: 16px;
    }

    .tabs-features .tab-image img {
        max-height: none;
        width: 100%;
        max-width: 100%;
        border-radius: 16px;
        border: 2px solid #7af0f5;
    }

    .tabs-features .tab-slide .tab-content {
        margin-bottom: 0;
        padding-right: 0;
    }

    .tabs-features .tab-slide h3 {
        font-size: 30px;
        line-height: 132%;
        margin-bottom: 16px;
    }
}
