/* ============================================================================
   JL Content Blocks — Front-end Styles
   ============================================================================ */

/* ─── Key Takeaway ────────────────────────────────────────────────────────── */

.jl-key-takeaway {
    background: #ffffff;
    border-left: 4px solid #b8965a;
    padding: 28px 32px;
    margin: 32px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.jl-key-takeaway h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
}

.jl-key-takeaway h4 svg {
    width: 20px;
    height: 20px;
    color: #b8965a;
    flex-shrink: 0;
}

.jl-key-takeaway p {
    margin-bottom: 0;
    color: #374151;
    font-size: 1rem;
    line-height: 1.7;
}

/* Icon variants */
.jl-key-takeaway--warning {
    border-left-color: #d97706;
}
.jl-key-takeaway--warning h4 svg {
    color: #d97706;
}

.jl-key-takeaway--info h4 svg {
    color: #b8965a;
}

.jl-key-takeaway--lightbulb {
    border-left-color: #b8965a;
}
.jl-key-takeaway--lightbulb h4 svg {
    color: #b8965a;
}

/* ─── Factor List (Numbered) ──────────────────────────────────────────────── */

.jl-factor-list {
    list-style: none;
    margin: 32px 0;
    padding: 0;
    counter-reset: jl-factor-counter;
}

.jl-factor-list li {
    background: #ffffff;
    padding: 20px 24px 20px 70px;
    margin-bottom: 12px;
    border-left: 3px solid transparent;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: border-left-color 0.2s ease, box-shadow 0.2s ease;
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
}

.jl-factor-list li:hover {
    border-left-color: #b8965a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.jl-factor-list li::before {
    counter-increment: jl-factor-counter;
    content: counter(jl-factor-counter);
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: #6b7280;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.jl-factor-list li strong {
    color: #1a1a2e;
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .jl-key-takeaway {
        padding: 20px 24px;
    }

    .jl-factor-list li {
        padding-left: 60px;
    }

    .jl-factor-list li::before {
        left: 16px;
    }
}
