.tabbed-slider-panel {
    position: relative;
    padding: var(--space-6) 0 var(--space-10) var(--space-5);
    background-color: var(--rw-tan);
    transition: background-color 0.4s;
    margin: 0 auto 70px;
}

.tabbed-slider-panel::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 30%;
    pointer-events: none;
    background: url('/includes/client_public/assets/shared/themed-slider-bg.png') center / cover no-repeat;
}

.tabbed-slider-panel.dark-theme::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 30%;
    pointer-events: none;
    background: url('/includes/client_public/assets/shared/themed-slider-bg-dark-small.png') center / cover no-repeat;
}

.tabbed-slider-panel.dark-theme {
    background-color: var(--red-alt);
}

.tabbed-slider-panel .widget-content {
    padding-right: var(--space-5);
    padding-bottom: var(--space-6);
}

.tabbed-slider-panel .widget-content .widget-intro {
    position: relative;
    color: var(--red-alt);
    font-family: var(--font-burford);
    font-size: 24px;
    line-height: 34px;
    margin-bottom: var(--space-3);
    transition: color 0.4s;
}

.tabbed-slider-panel .widget-content .widget-intro::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 50px;
    height: 5px;
    background: url(/includes/client_public/assets/shared/wave-yellow.svg) center / contain no-repeat;
}

.tabbed-slider-panel.light-theme .widget-content .widget-intro::after {
    background: url(/includes/client_public/assets/shared/wave-yellow.svg) center / contain no-repeat;
}

.tabbed-slider-panel.dark-theme .widget-content .widget-intro::after {
    background: url(/includes/client_public/assets/shared/wave.svg) center / contain no-repeat;
}

.tabbed-slider-panel .widget-content .widget-title-light-theme,
.tabbed-slider-panel .widget-content .widget-title-dark-theme {
    color: var(--teal);
    font-size: 36px;
    line-height: 38px;
    font-family: var(--font-venice);
    text-align: left;
    transition: color 0.4s;
    margin: 20px 0 10px;
}

.tabbed-slider-panel.light-theme .widget-content .widget-title-dark-theme {
    display: none;
}

.tabbed-slider-panel.dark-theme .widget-content .widget-title-light-theme {
    display: none;
}

.tabbed-slider-panel .widget-content .widget-desc {
    margin-bottom: var(--space-8);
    font-family: var(--font-forma);
    font-size: 16px;
    line-height: 26px;
    color: var(--gray-dark);
    transition: color 0.4s;
}

.tabbed-slider-panel.dark-theme .widget-content .widget-intro,
.tabbed-slider-panel.dark-theme .widget-content .widget-title-light-theme,
.tabbed-slider-panel.dark-theme .widget-content .widget-title-dark-theme,
.tabbed-slider-panel.dark-theme .widget-content .widget-desc {
    color: white;
}

.tabbed-slider-panel .switcher {
    display: flex;
    position: relative;
    z-index: 2;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #FDCC02;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    width: 85px;
    height: 40px;
    background-color: #EEEEEE;
}

.tabbed-slider-panel .switcher button {
    width: 34px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #EEEEEE;
    border: 2px solid #EEEEEE;
    border-radius: 100%;
    transition: opacity 0.4s;
}

.tabbed-slider-panel .switcher button.light {
    background-color: var(--teal);
}

.tabbed-slider-panel .switcher button.dark {
    background-color: #d7225b;
}

.tabbed-slider-panel.light-theme .switcher button.dark,
.tabbed-slider-panel.dark-theme .switcher button.light {
    opacity: 0.2;
}

.tabbed-slider-panel .slider-section {
    position: relative;
}

.tabbed-slider-panel .slider-section > div {
    transition: opacity 0.4s;
}

.tabbed-slider-panel .slider-section > div:last-child {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.tabbed-slider-panel.dark-theme .slider-section > div:first-child {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.tabbed-slider-panel.dark-theme .slider-section > div:last-child {
    display: block;
    opacity: 1;
    pointer-events: all;
}

.preview-slider-2-across-fullwidth-intro.tabbed .slide .img-cont {
    margin: 0;
}

@media (min-width: 800px) {
    .tabbed-slider-panel .inner-panel-main {
        display: grid;
        grid-template-columns: 31% minmax(0, 1fr);
    }
}

@media (min-width: 1024px) {
    .tabbed-slider-panel {
        margin-bottom: 120px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .tabbed-slider-panel .widget-content {
        padding: 70px 30px 40px;
    }

    .tabbed-slider-panel::after,
    .tabbed-slider-panel.dark-theme::after {
        height: 100%;
        width: 25%;
    }

    .preview-slider-2-across-fullwidth-intro.tabbed .glide__arrow {
        width: 68px;
        height: 68px;
    }
}

@media (min-width: 1200px) {
    .tabbed-slider-panel .widget-content .widget-intro {
        font-size: 36px;
    }

    .tabbed-slider-panel .widget-content .widget-title-light-theme,
    .tabbed-slider-panel .widget-content .widget-title-dark-theme {
        font-size: 50px;
        line-height: 52px;
    }

    .tabbed-slider-panel .widget-content .widget-desc {
        font-size: 18px;
        line-height: 28px;
    }

    .tabbed-slider-panel .switcher {
        width: 110px;
        height: 46px;
    }

    .tabbed-slider-panel .switcher button {
        width: 42px;
        height: 42px;
    }

    .preview-slider-2-across-fullwidth-intro.tabbed .slide .content-section .slide-title {
        font-size: 34px;
    }
}

@media (min-width: 1400px) {
    .preview-slider-2-across-fullwidth-intro.tabbed .slider-cont .glide__arrows {
        width: 100%;
    }
}