/**
 * Essentiels à retenir - Styles
 * Plugin léger pour ACF Pro Repeater
 */

.ear-bloc {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 24px 28px;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ear-titre {
    color: #1e40af;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1.3;
}

.ear-liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ear-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.ear-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ear-item:first-child {
    padding-top: 0;
}

.ear-icone {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.ear-icone img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.ear-texte {
    flex: 1;
    color: #334155;
    font-size: 1rem;
    line-height: 1.6;
}

/* Style alternatif sans icône */
.ear-item:not(:has(.ear-icone)) .ear-texte::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #3b82f6;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 12px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 600px) {
    .ear-bloc {
        padding: 18px 20px;
        margin: 16px 0;
    }

    .ear-titre {
        font-size: 1.25rem;
    }

    .ear-texte {
        font-size: 0.95rem;
    }
}
