.tpl-tabs-image-section {
    --module-max-width: var(--general-max-width, 1440px);
    --desktop-max-width: 1248px;
    --viewport-max-layout: 1920px;
    --layout-gutter: calc((min(100vw, var(--viewport-max-layout)) - var(--desktop-max-width)) / 2);
}

.tpl-tabs-image-section .vs-wrapper--fluid {
    margin-top: 0;
}

.vs-wrapper--fluid .vs-component--fluid.tpl-tabs-image,
.vs-component--fluid.tpl-tabs-image {
    display: flex;
    flex-direction: row;
    gap: 32px;
    margin-top: 32px;
    width: 100%;
    border-radius: 32px;
    flex: 1 0 0;
}

.tpl-tabs-image__content {
    width: 100%;
    padding-inline: 20px;
}

.tpl-tabs-image__image {
    display: none;
    width: 100%;
}

.tpl-tabs-image__tab-buttons {
    display: flex;
    justify-content: space-evenly;
    background: #eee;
    border-radius: 32px;
}

.tpl-tabs-image__tab {
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 16px;
    gap: 10px;
    background: #eee;
    border-radius: 32px 32px 0 0;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    outline: 0;
}

.tpl-tabs-image__tab:hover {
    background-color: #f6f6f6;
}

.tpl-tabs-image__tab--active {
    background-color: #f9f9f9;
    color: #262626;
    font-weight: 700;
}

.tpl-tabs-image__tab .vs-title-4__regular {
    color: var(--color-primary-black-soft, #8a8c8e);
}

.tpl-tabs-image__tab--active .vs-title-4__regular {
    font-weight: 500;
    color: var(--color-title, #262626);
}

.tpl-tabs-image__panel {
    display: none;
}

.tpl-tabs-image__panel--visible {
    display: block;
}

.tpl-tabs-image__panel-wrapper {
    background: #f9f9f9;
    border-radius: 0 0 32px 32px;
    padding: 32px;
    gap: 20px;
}

.tpl-tabs-image__panel .vs-link-arrow {
    justify-content: flex-end;
}

.tpl-tabs-image__item {
    margin-bottom: 15px;
}

.tpl-tabs-image__item-block {
    display: flex;
    gap: 8px;
    flex-direction: row;
}

.tpl-tabs-image__item-block svg {
    width: 24px;
    height: 24px;
}

.tpl-tabs-image__item-text {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

@media (min-width: 744px) {
    .tpl-tabs-image__content {
        padding-inline: 40px;
    }
}

@media (min-width: 1024px) {
    .tpl-tabs-image-section .vs-wrapper--fluid {
        margin-left: 0;
    }

    .tpl-tabs-image__content {
        padding-left: 0;
    }

    .tpl-tabs-image__image {
        display: flex;
        align-items: flex-end;
        align-self: stretch;
        border-radius: 0 32px 32px 0;
        background: var(--tab-bg-image, url("/")) lightgray 50% / cover no-repeat;
    }

    .tpl-tabs-image__panel-wrapper {
        padding: 44px 32px 40px;
    }

    .tpl-tabs-image__item-text {
        row-gap: 8px;
    }
}

@media (min-width: 1360px) {
    .tpl-tabs-image__content {
        padding-right: 96px;
    }
}

@media (min-width: 1440px) {
    .tpl-tabs-image__content {
        padding-right: 0;
    }

    .tpl-tabs-image-section .vs-wrapper--fluid .vs-container {
        max-width: var(--module-max-width);
        margin-inline: auto;
    }

    .tpl-tabs-image-section .vs-wrapper--fluid.vs-has-full-bleed {
        max-width: none;
    }

    .tpl-tabs-image-section .vs-wrapper--fluid.vs-has-full-bleed .vs-component--fluid {
        padding-inline: var(--layout-gutter);
    }

    .tpl-tabs-image-section .vs-wrapper--fluid.vs-has-full-bleed .vs-component--fluid .vs-full-bleed-media--left,
    .tpl-tabs-image-section .vs-wrapper--fluid.vs-has-full-bleed .vs-component--fluid .vs-full-bleed-media--right {
        width: calc(100% + var(--layout-gutter));
    }

    .tpl-tabs-image-section .vs-wrapper--fluid.vs-has-full-bleed .vs-component--fluid .vs-full-bleed-media--left {
        margin-left: calc(var(--layout-gutter) * -1);
    }

    .tpl-tabs-image-section .vs-wrapper--fluid.vs-has-full-bleed .vs-component--fluid .vs-full-bleed-media--right {
        margin-right: calc(var(--layout-gutter) * -1);
    }

    .tpl-tabs-image-section .vs-wrapper--fluid.vs-has-full-bleed .vs-full-bleed-media--left .vs-bleed__inner,
    .tpl-tabs-image-section .vs-wrapper--fluid.vs-has-full-bleed .vs-full-bleed-media--right .vs-bleed__inner {
        padding-inline: var(--layout-gutter);
    }

}

@media (min-width: 1600px) {
    .tpl-tabs-image-section .vs-wrapper--fluid.vs-has-full-bleed .vs-component--fluid {
        padding: 40px 176px 0 0;
    }
}
