.tab-accordion__panel:not(.is-active) .tab-accordion__panel__content {
    display: none;
}

.tab-accordion__tabs {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    justify-content: center;
    gap: 18px;
    z-index: 2;
    margin: 0 0 30px;
}

.tab-accordion__panels {
    position: relative;
}

.tab-accordion__tab,
.tab-accordion__panel__toggle {
    list-style-type: none !important;
    margin: 0;
    padding: 0;
    display: block;
    color: var(--color-white);
    position: relative;
    line-height: 1em;
    font-family: var(--font-primary-bold);
    font-weight: normal;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.23);
    padding: 20px 33px;
    text-decoration: none;
    border: none;
    border-radius: 100px;
    text-transform: uppercase;
    width: auto;
    letter-spacing: 0.1em;
    transition: all ease 0.3s;
    text-align: left;
}

.tab-accordion__tab:before,
.tab-accordion__panel__toggle:before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    width: 10px;
    height: 10px;
    background: var(--color-secondary);
    border-radius: 50px;
    left: 33px;
    transition: all ease 0.3s;
    opacity: 0;
}

.tab-accordion__tab.is-active:before,
.tab-accordion__panel__toggle.is-active:before {
    opacity: 1;
}

.tab-accordion__tab.is-active,
.tab-accordion__panel__toggle.is-active {
    background: var(--color-light-grey);
    color: #000;
    padding-left: 53px;
}

.tab-accordion__panel__toggle.is-active {
    border-radius: 4px 4px 0 0;
}

.tab-accordion__tab.is-active,
.tab-accordion__tab:hover,
.tab-accordion__tab:focus,
.tab-accordion__panel__toggle.is-active,
.tab-accordion__panel__toggle:hover,
.tab-accordion__panel__toggle:focus {
    background: var(--color-light-grey);
    color: var(--color-black);
    text-decoration: none;
}

.tab-accordion {
    position: relative;
    z-index: 2;
}

.tab-accordion__panel__content .blog-listing__pagination [class*="col-"] {
    padding-left: 0;
}

.tab-accordion__heading {
    position: relative;
    z-index: 2;
}

.tab-accordion__wrapper {
    background: #000F25;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    color: var(--color-white);
    margin: 0 -22px;
    padding: 80px 22px 105px;
}

.tab-image-link {
    text-decoration: none;
}

.tab-image-link__image {
    height: 167px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 0 32px;
}

.tab-accordion__wrapper h2 {
    color: var(--color-white);
    font-size: 35px;
}

.tab-image-link__content .btn-tertiary {
    color: var(--color-white);
}

.tab-accordion__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    will-change: transform;
}

.tab-accordion__wrapper:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000F25;
    opacity: 0.4;
    z-index: 1;
    transition: background 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.tab-image-link__content h3 {
    font-size: 25px;
    font-family: var(--font-primary-bold);
    font-weight: normal;
    color: var(--color-white);
    margin: 0 0 14px;
    line-height: 1.1em;
}

.tab-text-link {
    padding: 32px 92px 32px 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: block;
    text-decoration: none;
    position: relative;
}

.tab-text-link:after {
    content: "\e901";
    position: absolute;
    right: 32px;
    top: 32px;
    font-family: var(--font-icon);
    color: var(--color-secondary);
    width: 44px;
    height: 44px;
    background: #F3F3F3;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.3s ease-in-out, opacity 0.3s ease-in-out, color 0.3s ease-in-out;
}

.tab-text-link h3 {
    font-size: 22px;
    font-family: var(--font-primary-bold);
    font-weight: normal;
    margin: 0;
    color: var(--color-white);
    line-height: 1.1em;
}

.tab-text-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tab-content-flex__right {
    margin: 35px 0 0;
}

.tab-content-flex__right .btn-group {
    justify-content: center;
    margin-top: 35px;
}

.tab-content-flex__right .btn-primary {
    border: 1px solid var(--color-white);
}

.tab-content-flex__right .btn-secondary {
    border-color: var(--color-white);
}

.tab-content-flex__right {
    .btn {
        width: 100%;
        text-align: center;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (min-width: 768px) {
    .tab-accordion__wrapper h2 {
        font-size: 50px;
    }

    .tab-accordion__wrapper {
        margin: 0;
        padding: 80px 28px;
    }

    .tab-accordion__tabs {
        gap: 0 35px;
        margin: 0 0 68px;
    }

    .tab-image-link__image {
        height: 313px;
    }

    .tab-image-link__content h3 {
        font-size: 32px;
    }

    .tab-content-flex__right .btn-group {
        justify-content: flex-start;
    }
}


@media (min-width: 1200px) {
    .tab-accordion__wrapper h2 {
        font-size: 60px;
        margin: 0 0 35px;
    }

    .tab-accordion__wrapper {
        padding: 160px 75px;
    }

    .tab-content-flex {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 35px;
    }

    .tab-content-flex__left {
        width: calc(50% - 10px);
    }

    .tab-content-flex__right {
        width: calc(50% - 20px);
        margin: 0;
    }

    .tab-image-link__image {
        height: 273px;
    }

    .tab-content-flex__right .btn-group {
        gap: 15px;
    }
}

@media (min-width: 1600px) {
    .tab-accordion__wrapper h2 {
        margin: 0 0 25px;
    }

    .tab-accordion__wrapper {
        padding: 160px 178px;
    }

    .tab-content-flex__right {
        width: calc(48% - 20px);
    }

    .tab-content-flex__left {
        width: calc(52% - 9px);
    }

    .tab-image-link__image {
        height: 374px;
    }

    .tab-content-flex__right .btn-group {
        gap: 22px;
    }

    .tab-image-link:hover .tab-image-link__content .btn {
        opacity: 0.8;
    }

    .tab-text-link:hover:after {
        background: var(--color-secondary);
        color: #F3F3F3;
    }
}