/* ==========================================================================
   Norah Core — AI Structured Block Styles
   Visual styling for norah/ blocks. These are designed to be subtle —
   they indicate structure to humans without being visually heavy.
   Child themes can override any of these.
   ========================================================================== */

/* ── Shared ─────────────────────────────────────────────────────────────── */
.norah-structured-block {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--wp--preset--color--secondary, #3A6F9E);
    padding: 1rem 1.25rem;
    background: var(--wp--preset--color--subtle, #F5F5F5);
    border-radius: 4px;
}

/* ── TLDR / Summary ─────────────────────────────────────────────────────── */
.norah-tldr {
    border-left-color: var(--wp--preset--color--accent, #E8913A);
}

.norah-tldr__heading {
    margin: 0 0 0.5rem 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--wp--preset--color--muted, #767676);
}

.norah-tldr__content p:last-child {
    margin-bottom: 0;
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.norah-faq {
    border-left-color: var(--wp--preset--color--primary, #1B3A5C);
}

.norah-faq__question {
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
}

.norah-faq__answer p:last-child {
    margin-bottom: 0;
}

/* ── Specs Table ────────────────────────────────────────────────────────── */
.norah-specs {
    padding: 0;
    border-left: none;
    background: none;
}

.norah-specs__heading {
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
}

.norah-specs__table {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.norah-specs__table th {
    background: var(--wp--preset--color--subtle, #F5F5F5);
    font-weight: 600;
    width: 35%;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9rem;
}

.norah-specs__table td {
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9rem;
}

.norah-specs__table tr:last-child th,
.norah-specs__table tr:last-child td {
    border-bottom: none;
}

/* ── Key Takeaways ──────────────────────────────────────────────────────── */
.norah-takeaways {
    border-left-color: var(--wp--preset--color--secondary, #3A6F9E);
}

.norah-takeaways__heading {
    margin: 0 0 0.5rem 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--wp--preset--color--muted, #767676);
}

.norah-takeaways__list {
    margin: 0;
    padding-left: 1.25rem;
}

.norah-takeaways__list li {
    margin-bottom: 0.35rem;
}

.norah-takeaways__list li:last-child {
    margin-bottom: 0;
}

/* ── Definition ─────────────────────────────────────────────────────────── */
.norah-definition {
    border-left-color: var(--wp--preset--color--primary, #1B3A5C);
    background: transparent;
    padding: 0.75rem 1.25rem;
}

.norah-definition__term {
    font-weight: 700;
    font-style: normal;
    display: block;
    margin-bottom: 0.25rem;
}

.norah-definition__text {
    margin: 0;
    color: var(--wp--preset--color--contrast, #1A1A1A);
}
