/* ============================= */
/* DHR CUSTOM TABS STYLING       */
/* ============================= */

.dhr-tabs-navigation {
    margin-top: 50px;
    display: none;
    gap: 20px;
    justify-content: center;
    flex-wrap: nowrap;

    button {
        border-radius: 50%;
        padding: 9px;
        background: #fff;

        svg {
            height: auto;
            width: 18px;
        }
    }
}

.dhr-tab-headers .swiper-wrapper {
    justify-content: flex-start !important;
    /* column-gap: 0 !important; */
}

.dhr-tabs-pagination {
    display: none !important;
}

/* ===== TAB HEADERS ===== */
.dhr-tab-headers>div {
    display: flex;
    /*     gap: 40px; */
    position: relative;
    padding-bottom: 80px;
}



.dhr-tab-headers.swiper>div:not(div.dhr-tabs-pagination) {
    justify-content: space-between !important;
    /* column-gap: 40px !important; */
}

.swiper-wrapper {
    align-items: stretch;
}

.swiper-wrapper {
    align-items: stretch;
}

.dhr-tabs-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal.swiper-pagination-lock {
    margin-bottom: 0 !important;
}

.dhr-tabs-pagination {
    justify-content: center;
    top: 0px;
    margin: 50px 0 !important;

    &>span.swiper-pagination-bullet {
        width: 40px !important;
        height: 4px;
        border-radius: 4px;
    }
}

.dhr-tab-header {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.3s ease;
    width: auto;
}

.dhr-tab-header.active {
    /* optional active effect */
}

.dhr-tab-header:hover {
    box-shadow: 0 10px 60px #006B8333;
}

/* TAB INDICATOR */
:root {
    --dhr-tab-indicator-width: 50px;
    --dhr-tab-indicator-x: 0px;
}

.dhr-tab-headers::after {
    content: "";
    position: absolute;
    bottom: 35px;
    height: 6px;
    width: var(--dhr-tab-indicator-width) !important;
    background-color: var(--dhr-tab-indicator-color, #6DCEDE);
    transform: translateX(var(--dhr-tab-indicator-x));
    transition: transform 0.4s ease, background-color 0.4s ease;
    border-radius: 6px;
    z-index: 1;
    /* 	border: 1px solid red; */
}

/* ===== TAB CONTENTS ===== */
.dhr-tab-contents {
    position: relative;
    /* allows stacking */
    /*     margin-top: 50px; */
    min-height: 200px;
    /* prevent layout shift while fading */
}

/* Fade-in/out for tab content */
.dhr-tab-content {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    position: absolute;
    /* stack all tabs */
    width: 100%;
    top: 0;
    left: 0;
}

.dhr-tab-content.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    /* active tab participates in layout */
}

/* ===== TAB CONTENT INNER STRUCTURE ===== */
.dhr-tab-content-inner {
    display: flex;
    gap: 0px;
    flex-wrap: wrap;
    /* allows stacking on small screens */
}

.dhr-tab-content-inner .left {
    flex: 0 0 35%;
}

.dhr-tab-content-inner .right {
    flex: 0 0 65%;
}

@media (max-width: 768px) {

    .dhr-tab-content-inner .left,
    .dhr-tab-content-inner .right {
        flex: 0 0 100%;
    }
}

h4.dhr-tab-title {
    margin: 0 0 10px 0;
}

.member-details {
    display: flex;
    justify-content: space-between;
}

div.buttons {
    margin-top: 40px;
}

.dhr-tab-content-inner h2 {
    margin: 10px 0 0 0;
}

span.subtitle {
    font-family: var(--e-global-typography-d3c3a74-font-family), Sans-serif;
    font-size: var(--e-global-typography-d3c3a74-font-size);
    font-weight: var(--e-global-typography-d3c3a74-font-weight);
    text-transform: var(--e-global-typography-d3c3a74-text-transform);
    line-height: var(--e-global-typography-d3c3a74-line-height);
    letter-spacing: var(--e-global-typography-d3c3a74-letter-spacing);
    color: var(--e-global-color-7f5cf89);
}

p.dhr-tab-content-text,
.right h3 {
    margin: 0;
}

.right .dhr-tab-divider {
    margin: 20px 0;
}

ul.dhr-benefits {
    padding-left: 20px;
    margin-top: 20px;
}

.tab-content-details-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

.dhr-tab-content hr {
    height: 1px;
    border: none;
}

.dhr-icon svg {
    height: auto !important;
}

.dhr-tabs-navigation {
    button {
        border: 1px solid #CDD2D4;
    }
}

/* ============================= */
/* MOBILE SWIPER MODE (≤1024px) */
/* ============================= */

@media (max-width: 1024px) {


    .dhr-tabs-navigation {
        display: flex;
    }

    .dhr-tab-content-inner {
        flex-direction: column;
    }

    .dhr-tab-content-inner .left {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid #9EA1A3;
        margin-bottom: 20px;
        padding-bottom: 50px;
    }

    div.buttons {
        margin-top: 20px;
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }

    .dhr-tab-headers.swiper>div:not(div.dhr-tabs-pagination) {
        /* gap: 20px !important; */
        padding-bottom: 0;
    }

    .dhr-tabs-pagination {
        display: flex !important;
    }

    .dhr-tab-headers {
        gap: 0;
    }

    /* Hide sliding indicator */
    .dhr-tab-headers::after {
        display: none;
    }

    .dhr-tab-header {
        width: 100%;
        box-shadow: none;
    }

    .dhr-tab-header:hover {
        box-shadow: none;
    }

    /* Swiper pagination */
    .dhr-tabs-pagination {
        margin-top: 20px;
        text-align: center;
    }

    .dhr-tabs-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: #ccc;
        opacity: 1;
        transition: background 0.3s ease;
    }

    .dhr-tabs-pagination .swiper-pagination-bullet-active {
        background: var(--dhr-tab-indicator-color, #6DCEDE);
    }

    .dhr-tab-contents {
        /* margin-top: 50px !important; */
    }

    .dhr-tabs-pagination {
        padding: 0 !important
    }

    .dhr-tab-content-inner {
        .buttons {
            width: 100%;
            /* gap: 10px !important; */
            justify-content: center;

            a {
                flex: 1 1 auto;
                max-width: 200px;
            }
        }
    }

}

@media(min-width: 1024px) {
    .dhr-tab-header.swiper-slide {
        width: auto;
        flex: 1 1 auto;
    }

    .dhr-tab-headers.swiper>div:not(div.dhr-tabs-pagination) {
        /* justify-content: space-between !important; */
        column-gap: 20px !important;
    }
}