#mobile.tabbed-feature-block {
    display: none !important;
}

#desktop.tabbed-feature-block {
    display: flex;
    flex-direction: column;
    gap: 0;

.parent-title {
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 300;
    font-size: 48px;
    color: var(--blue);
}

.tabs-container {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 2rem;
    align-items: center;
    height: 496.38px;
    
    .tab-content {
        display: flex;
        justify-content: right;
        align-items: center;
    }
}

.tab-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tab-button {
    padding: 12px 16px;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1em;
    color: var(--orange);
    transition: background 0.25s ease, transform 0.2s ease, color 0.25s ease;


    &::before {
        content: '>';
        display: inline-block;
        margin-right: 6px;
        transition: transform 0.3s ease;
    }
    &.active::before {
        transform: rotate(360deg);
    }
    &:hover {
        background: var(--light-grey);
        transform: translateX(4px);
    }
    &.active {
        background: var(--orange);
        color: white;
        transform: translateX(6px);
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }
}

.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    &.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
    &.active .text-overlay {
        opacity: 1;
    }
}

.image-wrapper {
    position: relative;
    border-radius: 80px;
    overflow: visible;
    &:hover img {
        transform: scale(1.03) translateY(-4px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    }
}

.image-wrapper img {
    width: 600px;
    height: auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 80px;
    position: relative;
    z-index: 1;
    transition: transform 0.45s ease, box-shadow 0.45s ease;

}

.text-overlay {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--orange);
    color: var(--white);
    padding: 30px 40px;
    max-width: 345px;
    border-radius: 40px;
    z-index: 2;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;

    p {
        text-align: center;
        line-height: 1.25;
        margin-top: 0;

    }
    a.view-more {
        display: inline-block;
        color: var(--white);
        text-decoration: underline;
        text-transform: uppercase;
    }
}
}
/* ---------------------------- */
/* MOBILE LAYOUT – <= 1030px    */
/* ---------------------------- */

@media (max-width: 1030px) {
    #desktop.tabbed-feature-block {
        display: none !important;
    }
    #mobile.tabbed-feature-block {
        display: block !important;

        .parent-title {
            margin-bottom: 0.5rem;
            font-size: 2rem;
            font-weight: 300;
            font-size: 48px;
            color: var(--blue);
        }

    .mobile-view .accordion-item {
            border-bottom: 1px solid var(--light-grey);
        }

        .accordion-button {
            width: 100%;
            padding: 18px 20px;
            text-align: left;
            font-size: 1em;
            color: var(--orange);
            background: var(--white);
            border: none;
            cursor: pointer;
            position: relative;
            transition: background 0.25s ease, transform 0.2s ease, color 0.25s;

            &:hover {
                background: var(--light-grey);
                transform: translateX(4px);

                
            }
            &::before {
                content: '>';
                display: inline-block;
                font-size: 1.5rem;
                font-weight: 300;
                transition: all 0.35s ease;
            }
            &.active::before {
                transform: rotate(90deg);
            }
        }

        .accordion-panel {
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            padding: 0 20px !important;
            transition:
                max-height 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
                opacity 0.35s ease,
                padding 0.35s ease;
        }

        .accordion-panel.open {
            display: block;
            padding: 15px 20px !important;
            max-height: 500px;
            opacity: 1;

            p {
                margin-top: 0;
            }
            a.view-more {
                color: var(--black);
                text-decoration: underline;
                text-transform: uppercase;
            }
        }
    }
}