[gx-section="features"] {
    font-family: var(--font-body);
    width: 100%;
}

.feature-list-wrapper {
    overflow: hidden;
}

.feature-viewport {
    height: calc(3 * 90px + 2 * 12px);
    /* 3 items + 2 gaps */
    overflow: hidden;
    position: relative;
}


.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(0);
}

/* --- Item --- */
.feature-item {
    display: flex;
    align-items: center;
    align-items: center;
    gap: 14px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    height: 90px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-sizing: border-box;
}
/*.feature-item {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    gap: 15px;*/
/*    background: var(--bg-white);*/
/*    border-radius: var(--radius-md);*/
/*    padding: 14px 16px;*/
/*    height: 90px;*/
/*    flex-shrink: 0;*/
/*    box-shadow: var(--shadow-sm);*/
/*    border: 1px solid transparent;*/
/*    cursor: pointer;*/
/*    transition: all var(--transition-speed) ease;*/
/*    box-sizing: border-box;*/
/*}*/


.feature-item.active,
.feature-item:hover {
    border-color: var(--brand-teal);
    box-shadow: var(--shadow-md);
}

/* --- Icon Circle --- */
.feature-icon-wrapper {
    width: 60px;
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--brand-teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-teal);
    font-size: 1.1rem;
    overflow: hidden;
    border: none;
}

.feature-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* --- Text --- */
.feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.feature-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-teal);
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.feature-item-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* --- Nav --- */

.feature-nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-left: 15px;
    align-self: center;
}

.feature-nav-line {
    display: none;
}

.feature-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color-dark);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.feature-btn:hover {
    background: var(--brand-teal);
    color: white;
    border-color: var(--brand-teal);
}

.features-section-title {
    display: none !important;
}

.feature-nav-mobile {
    display: none;
}

@media (max-width: 767px) {

    [gx-section="features"] {
        flex-direction: column;
        align-items: stretch;
    }

    .features-section-title {
        display: block !important;
        font-family: var(--font-heading);
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--brand-dark-blue);
        margin-bottom: 1rem;
        text-align: center;
    }

    .feature-list-wrapper {
        margin-top: 0 !important;
    }
    
    .feature-nav-mobile {
        display: flex !important;
        justify-content: center;
        gap: 12px;
        margin-top: 12px;
    }
    
    /* ------ */
    .feature-viewport {
        height: calc(3 * 90px + 2 * 12px);
        overflow: hidden;
    }
    
    .feature-list {
        transform: none !important;
        transition: none !important;
    }
    /* ------ */
}