/* ═══════════════════════════════════════════════════════════
   Problem Section  —  Three named problems with card treatment
   ═══════════════════════════════════════════════════════════ */

.problem-section {
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
    background: var(--color-background);
}

.problem-box {
    max-width: 900px;
    width: 100%;
    display: flex;
    gap: 1.5rem;
    position: relative;
}

.problem-peek {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 30%;
    left: -50px;
    z-index: 0;
    transform: translateY(-50%) rotate(-30deg);
}

.problem-header {
    flex: 0 0 32%;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--color-background);
    border: 2px solid var(--color-foreground);
    box-shadow: 4px 4px 0 var(--color-foreground);
    position: relative;
    z-index: 1;
}

.problem-header h2 {
    font-family: "Roboto Mono", monospace;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-foreground);
    margin: 0;
}

/* Right — problem list */
.problem-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
}

.problem-body p {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-foreground);
    margin: 0;
}

/* Lead-in subtext inside header box */
.problem-lead {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--neutral-500);
    margin: 1.25rem 0 0;
}

/* ─── Accent colors ─── */
.accent-red {
    color: var(--ansi-red);
    font-weight: 700;
    font-family: "Roboto Mono", monospace;
}

.accent-green {
    color: var(--ansi-green);
    font-weight: 600;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .problem-box {
        flex-direction: column;
    }

    .problem-header {
        flex: none;
        padding: 1.5rem;
    }

    .problem-header h2 {
        font-size: 1.3rem;
    }

    .problem-body p {
        padding: 1rem 1.25rem;
    }
}
