/**
 * OpenCom UI Kit - Feature List Widget Styles
 * BEM naming convention: opencom-feature-*
 * No hardcoded hover effects - controlled via Elementor
 */

/* ============================================
   Feature List Container
   ============================================ */
.opencom-feature-list-wrapper {
    width: 100%;
}

.opencom-feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ============================================
   Feature Item
   ============================================ */
.opencom-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all var(--opencom-transition-normal);
}

.opencom-feature-item-link {
    text-decoration: none;
    display: block;
}

.opencom-feature-item-link:hover {
    text-decoration: none;
}

/* ============================================
   Feature Item Icon
   ============================================ */
.opencom-feature-item__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: var(--opencom-radius-md);
    transition: all var(--opencom-transition-normal);
}

.opencom-feature-item__icon i {
    font-size: inherit;
    line-height: 1;
}

.opencom-feature-item__icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ============================================
   Feature Item Content
   ============================================ */
.opencom-feature-item__content {
    flex: 1;
    min-width: 0;
}

.opencom-feature-item__title {
    font-family: var(--opencom-font-heading);
    font-size: 1em;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 4px 0;
    color: var(--opencom-gray-900);
    transition: color var(--opencom-transition-normal);
}

.opencom-feature-item__subtitle {
    font-family: var(--opencom-font-body);
    font-size: 0.875em;
    line-height: 1.5;
    margin: 0 0 4px 0;
    color: var(--opencom-gray-600);
    transition: color var(--opencom-transition-normal);
}

.opencom-feature-item__description {
    font-family: var(--opencom-font-body);
    font-size: 0.9em;
    line-height: 1.6;
    margin: 0;
    color: var(--opencom-gray-600);
    transition: color var(--opencom-transition-normal);
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 768px) {
    .opencom-feature-list {
        gap: 12px;
    }

    .opencom-feature-item {
        gap: 12px;
    }

    .opencom-feature-item__icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .opencom-feature-item__icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .opencom-feature-item__title {
        font-size: 0.95em;
    }

    .opencom-feature-item__description {
        font-size: 0.85em;
    }
}
