/* ==== BASE LAYOUT & WIDGET STYLES ==== */

.fuse-tabs-carousel-widget {
    box-sizing: border-box;
    display: flex;
    gap: 0;
    width: 100%;
}

body.single-ssindustry .fuse-tabs-carousel-widget {
    gap: 0;
}

.fuse-tabs-navigation {
    box-sizing: border-box;
    display: flex;
    flex: 1 1 50%;
    flex-direction: column;
    row-gap: 4px;
    padding-right: 16px;
}

body.single-ssindustry .fuse-tabs-navigation {
    flex: 0 0 52%;
    padding: 24px 0;
    row-gap: 8px;
}

.air-style .fuse-tabs-navigation {
    flex: 0 0 56%;
    padding: 0;
    row-gap: 6px;
}

.fuse-tabs-content-wrapper {
    box-sizing: border-box;
    flex: 1 1 50%;
    min-width: 0;
    padding-left: 16px;
    position: relative;
    transition: height 0.3s ease-out;
}

.lottie .fuse-tab-panel {
    top: 50%;
    transform: translateY(-50%);
}

.fuse-tabs-carousel-widget.text .fuse-tabs-content-wrapper {
    background-color: var(--e-global-color-accent);
    border-radius: 30px;
    flex-basis: 26%;
    padding-left: 0 !important;
    transition: height 0.3s ease-out;
}

.fuse-tabs-carousel-widget.air .fuse-tabs-content-wrapper {
    background-color: var(--e-global-color-primary)!important;
    border-radius: 30px!important;
    padding-left: 0 !important;
    transition: height 0.3s ease-out;
}


/*
.air-style .fuse-tabs-carousel-widget.text .fuse-tabs-content-wrapper {
    background: none;
    border-radius: 0;
}
*/

body.single-ssindustry .fuse-tabs-carousel-widget.text .fuse-tabs-content-wrapper {
    background-color: #eeeeee;
    color: var(--e-global-color-fa11112);
}


/* ==== TAB BUTTONS ==== */

.fuse-tab-title {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: auto !important;
    overflow: hidden;
    padding: 0 !important;
    text-align: left;
    transition: background-color 0.4s ease, border-color 0.4s ease;
    will-change: height;
}

.fuse-tab-title-text {
    align-items: flex-start;
    box-sizing: border-box;
    color: var(--e-global-color-0c8397e);
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    padding: 2px 0 !important;
    transition: height 0.3s ease-in-out;
}

.fuse-main-title-actual {
    display: block;
    font-size: var(--e-global-typography-c2726d0-font-size, 16px) !important;
    font-weight: var(--e-global-typography-c2726d0-font-weight, 600) !important;
    letter-spacing: var(--e-global-typography-c2726d0-letter-spacing, normal) !important;
    line-height: var(--e-global-typography-c2726d0-line-height, 1.3) !important;
    text-transform: var(--e-global-typography-c2726d0-text-transform, none) !important;
    transition: color 0.4s ease;
}

body.single-ssindustry .fuse-tabs-carousel-widget.text .fuse-main-title-actual {
    color: var(--e-global-color-ac618ca);
    font-size: var(--e-global-typography-95df7da-font-size) !important;
    font-weight: var(--e-global-typography-95df7da-font-weight) !important;
    letter-spacing: var(--e-global-typography-95df7da-letter-spacing) !important;
    line-height: var(--e-global-typography-95df7da-line-height) !important;
}


/*
.air-style .fuse-tabs-carousel-widget.text .fuse-main-title-actual {
    align-items: center;
    border: 1px solid var(--e-global-color-b881286);
    border-radius: 100px;
    color: var(--e-global-color-text) !important;
    display: flex;
    font-size: var(--e-global-typography-b41ad82-font-size) !important;
    font-weight: var(--e-global-typography-b41ad82-font-weight) !important;
    letter-spacing: var(--e-global-typography-b41ad82-letter-spacing) !important;
    line-height: var(--e-global-typography-b41ad82-line-height) !important;
    padding: 10px 20px 11px 20px;
    text-transform: var(--e-global-typography-b41ad82-text-transform) !important;
    transition: border 0.3s ease;
}

.air-style .fuse-tabs-carousel-widget.text .fuse-main-title-actual::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Ccircle cx='5' cy='5' r='4.5' fill='none' stroke='white' stroke-width='1'/%3E%3C/svg%3E%0A");
    background-size: 10px 10px;
    content: '';
    display: block;
    height: 10px;
    margin-right: 10px;
    transition: background-image 0.3s ease;
    width: 10px;
}

.air-style .fuse-tabs-carousel-widget.text .fuse-tab-title.active .fuse-main-title-actual::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10'%3E%3Ccircle cx='5' cy='5' r='5' fill='%2329FFC0' /%3E%3C/svg%3E%0A");
}
*/

body.single-ssindustry .fuse-tabs-carousel-widget.text .fuse-tab-title .fuse-main-title-actual::after {
    background-color: var(--e-global-color-secondary);
    content: '';
    display: inline-block;
    height: 2px;
    margin-left: 30px;
    margin-top: -10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 500%;
}

body.single-ssindustry .fuse-tabs-carousel-widget.text .fuse-tab-title.active .fuse-main-title-actual::after {
    opacity: 1;
}

.fuse-tab-title.active .fuse-main-title-actual {
    color: var(--e-global-color-text);
}

body.single-ssindustry .fuse-tab-title.active .fuse-main-title-actual {
    color: var(--e-global-color-fa11112);
}


/*
.air-style .fuse-tab-title.active .fuse-main-title-actual {
    border-color: var(--e-global-color-primary);
    transition: border-color 0.3s ease;
}
*/

.fuse-tabs-carousel-widget.text .fuse-main-title-actual {
    font-size: var(--e-global-typography-4b20071-font-size) !important;
    font-weight: var(--e-global-typography-4b20071-font-weight) !important;
    letter-spacing: var(--e-global-typography-text-letter-spacing) !important;
    line-height: var(--e-global-typography-4b20071-line-height) !important;
}


/* Subheading inside tab button */

.fuse-tab-subheading {
    box-sizing: border-box;
    color: var(--e-global-color-text, #555);
    display: block;
    font-size: var(--e-global-typography-64b0d13-font-size, 14px);
    font-weight: var(--e-global-typography-64b0d13-font-weight, 400);
    height: 0;
    letter-spacing: var(--e-global-typography-c2726d0-letter-spacing, normal) !important;
    line-height: var(--e-global-typography-64b0d13-line-height, 1.4);
    margin-top: 0;
    max-height: 1em;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    text-transform: none;
    transform: translateY(8px);
    transition: max-height 0.5s ease, opacity 0.5s ease;
    will-change: opacity, max-height;
}

.fuse-tab-title.active .fuse-tab-subheading {
    height: auto;
    margin-top: 0;
    max-height: 5rem;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition: max-height 0.5s ease, opacity 0.5s ease;
    will-change: opacity, max-height;
}


/* ==== TAB CONTENT PANELS ==== */

.fuse-tab-panel {
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
    visibility: hidden;
    width: 100%;
}

.fuse-tab-panel .air-link {
    align-self: flex-start;
}

.fuse-tabs-carousel-widget.air .fuse-tab-panel {
    width: 100%;
    height: 100%;
}

.fuse-tab-text-content-wrapper.fuse-air {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%
}

.fuse-tab-panel.active {
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s, 0s;
    visibility: visible;
}


/* Lottie wrapper inside panel */

.fuse-lottie-wrapper {
    background: #f3f3f3;
    opacity: 0;
    position: relative;
    transition: opacity 0.4s ease-in-out 0.2s;
    width: 100%;
}

.fuse-tab-panel.active .fuse-lottie-wrapper {
    opacity: 1;
}

.fuse-tabs-carousel-widget.text .fuse-tab-panel {
    padding: 32px;
}

body.single-ssindustry .fuse-tabs-carousel-widget.text .fuse-tab-panel,
.air-style .fuse-tabs-carousel-widget.air .fuse-tab-panel {
    padding: 40px;
}

.fuse-tabs-carousel-widget.text .fuse-tab-text-content-wrapper {}

.air-style .fuse-tabs-carousel-widget.air .fuse-tab-text-content-wrapper {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='33' viewBox='0 0 52 33' fill='none'%3E%3Cg clip-path='url(%23clip0_10040_8248)'%3E%3Cpath d='M30.475 26.2039C30.475 27.7731 29.2001 29.0454 27.6277 29.0454C26.0553 29.0454 24.7805 27.7731 24.7805 26.2039V20.2476C24.7805 13.4183 19.233 7.88281 12.3906 7.88281C5.5482 7.88281 0 13.4191 0 20.2476C0 27.0762 5.54749 32.6124 12.3899 32.6124C14.9016 32.6124 17.2376 31.8661 19.19 30.5845L17.7746 27.2135C16.2854 28.362 14.4176 29.0454 12.3899 29.0454C7.52141 29.0454 3.57428 25.1062 3.57428 20.2476C3.57428 15.389 7.52141 11.4499 12.3899 11.4499C17.2584 11.4499 21.2055 15.389 21.2055 20.2476V26.2039C21.2055 29.7437 24.0807 32.6131 27.6277 32.6131C31.1748 32.6131 34.05 29.7437 34.05 26.2039V8.4617H30.4757V26.2039H30.475Z' fill='%230858FF'/%3E%3Cpath d='M50.7932 8.46094C43.9564 8.46094 38.4141 14.0033 38.4141 20.8401V32.0814H41.9891V20.5431C41.9891 15.6807 45.9308 11.7389 50.7932 11.7389V8.46094Z' fill='%230858FF'/%3E%3Cpath d='M34.2304 0.570312H30.332V4.46864H34.2304V0.570312Z' fill='%230858FF'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_10040_8248'%3E%3Crect width='51.7242' height='32.6129' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: auto;
    padding-top: 60px;
}

.fuse-tabs-carousel-widget.text .fuse-tab-text-heading,
.fuse-tabs-carousel-widget.air .fuse-tab-text-heading {
    font-size: var(--e-global-typography-95df7da-font-size);
    font-weight: var(--e-global-typography-95df7da-font-weight);
    letter-spacing: var(--e-global-typography-95df7da-letter-spacing);
    line-height: var(--e-global-typography-95df7da-line-height);
    margin-top: 0;
    opacity: 0;
    padding-bottom: 10px;
    transform: translateY(15px);
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
    will-change: opacity, transform;
}

.fuse-tabs-carousel-widget.text .fuse-tab-panel.active .fuse-tab-text-heading {
    opacity: 1;
    transform: translateY(0);
}

.fuse-tabs-carousel-widget.text .fuse-tab-main-text,
.fuse-tabs-carousel-widget.air .fuse-tab-main-text {
    font-size: var(--e-global-typography-64b0d13-font-size);
    font-weight: var(--e-global-typography-64b0d13-font-weight);
    line-height: var(--e-global-typography-64b0d13-line-height);
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
    will-change: opacity, transform;
}


/*
.air-style .fuse-tabs-carousel-widget.text .fuse-tab-main-text {
    color: var(--e-global-color-fa11112);
    font-size: var(--e-global-typography-0cfc7fa-font-size);
    font-weight: var(--e-global-typography-0cfc7fa-font-weight);
    line-height: var(--e-global-typography-0cfc7fa-line-height);
}
*/

.air-style .fuse-tabs-carousel-widget.air .fuse-tab-main-text {
    color: var(--e-global-color-fa11112);
}

.fuse-tabs-carousel-widget.text .fuse-tab-panel.active .fuse-tab-main-text,
.fuse-tabs-carousel-widget.air .fuse-tab-panel.active .fuse-tab-main-text {
    opacity: 1;
    transform: translateY(0);
}

.fuse-tabs-carousel-widget.text .fuse-tab-main-text p:first-child,
.fuse-tabs-carousel-widget.air .fuse-tab-main-text p:first-child {
    margin-top: 0;
}

.fuse-tabs-carousel-widget.text .fuse-tab-main-text p:last-child,
.fuse-tabs-carousel-widget.air .fuse-tab-main-text p:last-child {
    margin-bottom: 0;
}


/* ==== DESKTOP CONCERTINA (min-width: 768px) ==== */

@media (min-width: 768px) {
    .fuse-tab-title {
        height: auto;
        transition-duration: 0.3s, 0.4s, 0.4s, 0.4s;
        transition-property: height, background-color, color, border-color;
        transition-timing-function: ease-in-out, ease, ease, ease;
    }
    .fuse-tab-title.active {
        height: auto !important;
    }
}


/* --- Responsive Visibility Control (default: desktop tabs visible) --- */

.tc-mobile-view {
    display: none;
}

.tc-desktop-view {
    display: block;
}


/* Breakpoint base: on mobile, show desktop tabs by default */

@media (max-width: 767px) {
    .fuse-tabs-carousel-widget {
        flex-direction: column;
        align-items: stretch;
    }
    .fuse-tabs-navigation,
    .fuse-tabs-content-wrapper,
    .fuse-tabs-carousel-widget.text .fuse-tabs-content-wrapper,
    .fuse-tabs-carousel-widget.air .fuse-tabs-content-wrapper {
        flex-basis: auto;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
    .fuse-tabs-navigation {
        margin-bottom: 16px;
        padding-bottom: 0;
    }
    .fuse-tab-title {
        height: auto !important;
        padding: 12px 15px !important;
    }
    .fuse-tab-title.active {
        height: auto !important;
    }
    .fuse-tab-title.active .fuse-tab-subheading {
        margin-top: 6px;
    }
    .fuse-tabs-carousel-widget.text .fuse-tab-panel,
    .fuse-tabs-carousel-widget.air .fuse-tab-panel {
        padding: 20px;
    }
    .solution-tc .fuse-tab-text-content-wrapper {
        background-color: var(--e-global-color-accent);
        border-radius: 30px!important;
        padding: 20px!important;
    }
    .solution-tc .fuse-tab-text-heading,
    .solution-tc .fuse-main-title-actual {
        font-size: var(--e-global-typography-95df7da-font-size)!important;
        line-height: var(--e-global-typography-95df7da-line-height)!important;
        letter-spacing: var(--e-global-typography-95df7da-letter-spacing)!important;
    }
    .solution-tc .fuse-tab-main-text {
        font-size: var(--e-global-typography-5eae241-font-size)!important;
        line-height: var(--e-global-typography-5eae241-line-height)!important;
    }
    .industry-tc .fuse-tab-text-content-wrapper {
        background-color: #eeeeee;
        border-radius: 30px!important;
        padding: 20px!important;
    }
    .industry-tc .fuse-tab-text-heading,
    .industry-tc .fuse-main-title-actual {
        font-size: var(--e-global-typography-95df7da-font-size)!important;
        font-weight: var(--e-global-typography-95df7da-font-weight) !important;
        letter-spacing: var(--e-global-typography-95df7da-letter-spacing) !important;
        line-height: var(--e-global-typography-95df7da-line-height) !important;
        color: var(--e-global-color-fa11112);
    }
    .industry-tc .fuse-tab-main-text {
        font-size: var(--e-global-typography-64b0d13-font-size);
        font-weight: var(--e-global-typography-64b0d13-font-weight);
        line-height: var(--e-global-typography-64b0d13-line-height);
        color: var(--e-global-color-fa11112);
    }
    /* Default on mobile: keep desktop tabs visible, hide slider */
    .tc-desktop-view {
        display: block;
    }
    .tc-mobile-view {
        display: none;
    }
    /* If slider is enabled (based on widget data-attr), switch to slider view */
    /* Uses :has() — widely supported in modern browsers (Safari 15.4+, Chrome/Edge/Firefox current) */
    .tc-component-wrapper:has(.fuse-tabs-carousel-widget[data-mobile-slider-enabled="true"]) .tc-desktop-view {
        display: none;
    }
    .tc-component-wrapper:has(.fuse-tabs-carousel-widget[data-mobile-slider-enabled="true"]) .tc-mobile-view {
        display: block;
    }
    .tc-component-wrapper:has(.fuse-tabs-carousel-widget[data-mobile-slider-enabled="true"]) .fuse-tabs-navigation {
        display: none !important;
    }
}


/* --- Styles for the Mobile Swiper Layout --- */

.fuse-mobile-slider-wrapper {
    overflow: hidden;
}

.fuse-titles-slider {
    margin-bottom: 24px;
    overflow: visible;
}

.fuse-titles-slider .swiper-wrapper {
    justify-content: center;
}

.fuse-titles-slider .swiper-slide {
    opacity: 0.5;
    padding: 0 12px;
    text-align: center;
    transition: opacity 0.4s ease;
    width: auto;
}

.fuse-titles-slider .swiper-slide-active {
    opacity: 1;
}

.fuse-content-slider {
    position: relative;
}


/* Mobile slide header + subheading overrides */

.fuse-slide-header {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    /* JS will lock */
    overflow: visible;
    padding: 8px 0;
    margin-bottom: 16px;
}

.fuse-slide-header .fuse-main-title-actual,
.fuse-slide-header .fuse-tab-subheading {
    display: block;
    margin: 0;
}

.fuse-slide-header .fuse-tab-subheading {
    color: var(--e-global-color-text);
    display: flex;
    font-size: var(--e-global-typography-914a697-font-size);
    line-height: var(--e-global-typography-914a697-line-height);
    min-height: 42px;
    opacity: 1 !important;
    position: relative;
    top: -10px;
}


/* ==== ACCESSIBILITY: REDUCE MOTION ==== */

@media (prefers-reduced-motion: reduce) {
    .fuse-tabs-carousel-widget,
    .fuse-tabs-carousel-widget * {
        animation-delay: 0ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-delay: 0ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* Mobile row tabs (only when slider is disabled) */

@media (max-width: 767px) {
    /* JS will add this class to the wrapper when tabs-on-mobile mode is active */
    .tc-tabs-mobile-row .fuse-tabs-navigation {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch;
        overflow: hidden;
        /* crop the strip */
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        /* tweak spacing as needed */
        padding-right: 0;
        margin-bottom: 12px;
        position: relative;
        scrollbar-width: none;
    }
    .tc-tabs-mobile-row .fuse-tabs-navigation .fuse-tab-title {
        flex: 0 0 auto;
        /* keep each tab intrinsic width */
        white-space: nowrap;
        padding: 10px 4px !important;
        border-radius: 999px !important;
        /* chip style optional */
        background: transparent;
    }
    /* Optional: visual cue that the strip is draggable */
    .tc-tabs-mobile-row .fuse-tabs-navigation.grabbing {
        cursor: grabbing;
        cursor: -webkit-grabbing;
    }
}