/* ── Youtube embed ── */
.vid-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.vid-container iframe,
.vid-container object,
.vid-container embed {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* ── Blockquote → pull quote editorial ── */
blockquote {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 19.5px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.55;
    border-top: 0.5px solid #c8c4be;
    border-bottom: 0.5px solid #c8c4be;
    border-left: none;
    border-right: none;
    background: transparent;
    padding: 1.5rem 0;
    margin: 2.5rem 0;
    color: #1a1916;
    quotes: none;
}

blockquote::before {
    display: none;
}

blockquote p {
    display: block;
    font-size: 19.5px;
    margin-bottom: 0;
}

/* ── Figure / imágenes ── */
figure {
    position: relative;
    display: block;
    padding: 0;
    border: none;
    width: 100%;
    margin: 1.75rem 0;
}

figure img {
    width: 100%;
    border-radius: 4px;
    display: block;
}

/* ── Listas en contenido Notion ── */
.notion-content > li {
    margin-left: 5%;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 17px;
    line-height: 1.85;
    color: #1a1916;
    margin-bottom: 0.4rem;
}

.notion-content > ul,
.notion-content > ol {
    margin-left: 4%;
    margin-bottom: 1.4rem;
}

/* ── Headings dentro del contenido ── */
.notion-content > h1,
.notion-content > h2,
.notion-content > h3,
.notion-content > h4,
.notion-content > h5 {
    margin-top: 2.75rem;
    margin-bottom: 0.75rem;
}

/* h2 = section label estilo "I · Contexto" */
.notion-content > h2 {
    font-family: 'Mulish', sans-serif;
    font-size: 9.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #999;
    font-weight: 500;
    margin-top: 3.25rem;
    margin-bottom: 0.9rem;
}

/* h3 = subheading serif */
.notion-content > h3 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: #111;
}

/* ── Interlude (callout lateral) ── */
.notion-content .interlude,
.notion-content .callout {
    background: #f3f1ee;
    border-left: 2px solid #a09890;
    border-radius: 0 6px 6px 0;
    padding: 1.1rem 1.5rem;
    margin: 1.75rem 0 2rem;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 15.5px;
    font-style: italic;
    color: #555;
    line-height: 1.85;
}

/* ── Cierre editorial ── */
.notion-content .closing-editorial {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
    color: #1a1916;
    padding-top: 2.25rem;
    margin-top: 2.25rem;
    border-top: 0.5px solid #e0ddd8;
}

/* ── Highlight / mark ── */
.notion-content mark {
    background: color-mix(in srgb, var(--accent-color, #465367) 12%, transparent);
    color: inherit;
    padding: 1px 3px;
    border-radius: 2px;
}

/* ── Código inline ── */
.notion-content code {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 13.5px;
    background: #f3f1ee;
    color: #465367;
    padding: 2px 6px;
    border-radius: 3px;
    border: 0.5px solid #e0ddd8;
}

/* ── Separador ── */
.notion-content hr {
    border: none;
    border-top: 0.5px solid #e0ddd8;
    margin: 2.5rem 0;
}