.eb-feature-tab {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 2rem;
    align-items: start;
}

/* ── Left list ── */

.eb-ft-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.eb-ft-item {
    border-radius: 0.75rem;
    transition: background 0.3s ease;
    overflow: hidden;
}

.eb-ft-item.is-active {
    background: rgba(128, 128, 128, 0.12);
}

.eb-ft-trigger {
    appearance: none;
    background: none;
    border: none;
    text-align: left;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1.15rem;
    font-weight: 500;
    cursor: pointer;
    color: inherit;
    line-height: 1.3;
    transition: opacity 0.25s ease;
}

.eb-ft-item:not(.is-active) .eb-ft-trigger {
    opacity: 0.45;
}

.eb-ft-item:not(.is-active):hover .eb-ft-trigger {
    opacity: 0.75;
}

.eb-ft-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    font-size: 0.95rem;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
}

.eb-ft-item.is-active .eb-ft-body {
    max-height: 10rem;
    opacity: 0.75;
    padding: 0 1rem 1rem;
}

/* ── Right panel ── */

.eb-ft-right {
    position: relative;
    height: var(--eb-ft-height, 420px);
    border-radius: 0.75rem;
    overflow: hidden;
}

.eb-ft-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--eb-ft-duration, 0.4s) ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eb-ft-panel.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .eb-feature-tab {
        grid-template-columns: 1fr;
    }

    .eb-ft-right {
        height: auto;
        min-height: 240px;
    }

    .eb-ft-panel {
        position: relative;
        display: none;
        inset: unset;
    }

    .eb-ft-panel.is-active {
        display: flex;
    }
}
