/* BLOCK: Industry Tabs */

.block-industry-tabs .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
}

.block-industry-tabs .content-wrapper .text_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: center;
}

.block-industry-tabs .content-wrapper .text_content .h7 {
    color: var(--c-light-purple);
}

.block-industry-tabs .content-wrapper .text_content > * {
    margin: 0;
}

.block-industry-tabs .content-wrapper .text_content strong {
    color: var(--c-primary);
}

.block-industry-tabs .content-wrapper .tab-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: var(--font-15-11);
}

.block-industry-tabs .content-wrapper .tab-buttons .tab-button {
    border-radius: var(--radius-xl);
    padding: 0.75rem 1.125rem;
    border: 1px solid var(--c-primary);
    background-color: var(--c-text-light-7);
    border: 1px solid var(--c-text-light-30);
}

.block-industry-tabs .content-wrapper .tab-buttons .tab-button.active {
    background-color: var(--c-primary);
    color: var(--c-text-light);
    border: 1px solid var(--c-primary);
}

.block-industry-tabs .tab-content:not(.active) {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(100px);
    transition: none;
}

.block-industry-tabs .tab-content {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    justify-content: space-between;
    width: 100%;

    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 850ms linear,
        transform 1.25s cubic-bezier(.215, .61, .355, 1);
    transition-delay: 100ms;
}

.block-industry-tabs .tab-content:where(.image_left) {
    flex-direction: row;
}

.block-industry-tabs .tab-content:where(.image_right) {
    flex-direction: row-reverse;
}

.block-industry-tabs .content-wrapper .tabs-wrapper .tab-content .tab__left {
    flex-basis: 49%;
}

.block-industry-tabs .content-wrapper .tabs-wrapper .tab-content .tab__left img {
    /* aspect-ratio: 1.49; */
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5rem
}

.block-industry-tabs .content-wrapper .tabs-wrapper .tab-content .tab__right {
    flex-basis: 40.55%;
    display: flex;
    flex-direction: column;
    gap: 3.125rem;
}

.block-industry-tabs .content-wrapper .tabs-wrapper .tab-content .tab__right .tab__text-content {
    display: flex;
    flex-direction: column;
    gap: 3.125rem;
}

.block-industry-tabs .content-wrapper .tabs-wrapper .tab-content .tab__right .tab__text-content > * {
    margin:0;
}

.block-industry-tabs .tab__text-content p {
    opacity: .85;
}

.block-industry-tabs .tab__cta-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.9375rem;
    margin-top: auto;
}

@media screen and (width <= 1024px) {
    .block-industry-tabs {
        padding-block: 4rem;
    }
    .block-industry-tabs .content-wrapper .tabs-wrapper .tab-content :is(.tab__left,.tab__right) {
        flex-basis: calc(50% - 1rem);
    }
}

@media screen and (width <= 920px) {
    .block-industry-tabs {
        padding: 0;
        margin-inline: 0;
        border-radius: 1.5rem;
    }
    .block-industry-tabs .content-wrapper .text_content {
        gap: 1.5rem;
        padding-top: 80px;
    }
    .block-industry-tabs .content-wrapper {
        gap: 2.5rem;
    }
    .block-industry-tabs .content-wrapper .tab-buttons {
        justify-content: flex-start;
        align-self: stretch;
        gap: 0.375rem;
        flex-wrap: nowrap;
        margin-inline: calc(-1 * var(--pad) - 1.5rem);
        padding-inline: calc(var(--pad) + 1.5rem);
        overflow-x: scroll;
        overflow-y: hidden;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .block-industry-tabs .content-wrapper .tab-buttons .tab-button {
        flex-shrink: 0;
        padding: 0.625rem 0.875rem;
        border-radius: 0.5rem;
    }
    .block-industry-tabs .content-wrapper .tab-buttons::-webkit-scrollbar {
        display: none;
    }
    .block-industry-tabs .tab-content {
        flex-direction: column-reverse;
        align-items: center;
        gap: 2.5rem;
    }
    .block-industry-tabs .content-wrapper .tabs-wrapper .tab-content :is(.tab__left,.tab__right) {
        flex-basis: unset;
    }
    .block-industry-tabs .content-wrapper .tabs-wrapper .tab-content .tab__left {
        max-width: 25rem;
    }
    .block-industry-tabs .content-wrapper .tabs-wrapper .tab-content .tab__right {
        gap: 1.875rem;
    }
    .block-industry-tabs .content-wrapper .tabs-wrapper .tab-content .tab__right .tab__text-content {
        text-align: center;
        gap: 1.875rem;
    }
    .block-industry-tabs .tab__cta-buttons {
        justify-content: center;
    }
    .block-industry-tabs .content-wrapper .tabs-wrapper .tab-content .tab__left img {
        border-radius: 1.125rem;
        margin-bottom: 80px;
    }
}