.tab-cards-container .tab-headers {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-radius: 12px;
    overflow: hidden;
}

.tab-cards-container .tab-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--bleu-de-france-a20);
    margin: 0;
    padding: 16px 12px;
    border-left: 1px solid var(--oxford-blue-a10);
    cursor: pointer;
}

.tab-cards-container .tab-header:hover,
.tab-cards-container .tab-header:active {
    background-color: var(--bleu-de-france-a30);
}

.tab-cards-container .tab-header.active {
    background-color: var(--azure);
    color: var(--white);
}

.tab-cards-container .tab-header>img {
    width: 36px;
}

.tab-cards-container .tab-header.active>img {
    filter: invert(1) brightness(100%);
}

.tab-cards-container .tab-panels {
    text-align: center;
    margin-top: 60px;
}

.tab-cards-container .tab-content {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
}

.tab-cards-container .tab-content[hidden] {
    display: none;
}

.tab-cards-container .tab-content .badge>img {
    width: 100%;
    max-width: 120px;
    border-radius: 8px;
}

.tab-cards-container .tab-content .badge>.sub-text {
    font-weight: 600;
    margin-top: 16px;
}

@media (min-width: 1360px) {
    .tab-cards-container .tab-content {
        gap: 120px;
    }

    .tab-cards-container .tab-header>.card-title {
        font-size: 1.175rem;
    }
}

@media (min-width: 1025px) and (max-width: 1359px) {
    .tab-cards-container .tab-content {
        gap: 80px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .tab-cards-container .tab-content {
        gap: 60px;
    }
}

@media (max-width: 767px) {
    .tab-cards-container .tab-headers {
        display: flex;
    }

    .tab-cards-container .tab-header.active {
        flex-grow: 1;
    }

    .tab-cards-container .tab-header:not(.active)>.card-title {
        display: none;
    }

    .tab-cards-container .tab-header>img {
        width: 24px;
    }

    .tab-cards-container .tab-content .badge>img {
        max-width: 80px;
    }

    @media (min-width: 501px) {
        .tab-cards-container .tab-content {
            gap: 48px;
        }
    }
}

@media (max-width: 640px) {
    .tab-cards-container.dynamic>.wrapper {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 500px) {
    .tab-cards-container.dynamic>.wrapper {
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }

    .tab-cards-container .tab-cards-wrapper.cards {
        margin-bottom: 0;
    }

    .tab-cards-container .tab-header {
        padding: 12px 8px;
    }
}