﻿
.espacio_inicial + div,
.espacio_inicial + h1,
.espacio_inicial + h2,
.espacio_inicial + ul,
.espacio_inicial + ol,
.espacio_inicial + p {
    max-width: 860px;
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 156px 24px 40px !important;
    box-sizing: border-box;
    font-family: var(--font-body, 'Raleway', sans-serif);
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
}

    /* Title styling on h1 inside first sibling */
    .espacio_inicial + div h1,
    .espacio_inicial + h1 {
        font-family: var(--font-body, 'Raleway', sans-serif);
        font-size: clamp(1.6rem, 4vw, 2.4rem);
        font-weight: 700;
        color: var(--color-dark, #1a1a1a);
        text-align: center;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        position: relative;
    }

        .espacio_inicial + div h1::after,
        .espacio_inicial + h1::after {
            content: '';
            display: block;
            width: 48px;
            height: 3px;
            background: var(--color-primary, #22C55E);
            margin: 0.75rem auto 0;
            border-radius: 2px;
        }

    .espacio_inicial + div h2 {
        font-size: clamp(1.1rem, 2.5vw, 1.4rem);
        font-weight: 600;
        color: var(--color-dark, #1a1a1a);
        margin: 2rem 0 0.75rem;
        padding-bottom: 0.4rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .espacio_inicial + div ul,
    .espacio_inicial + div ol,
    .espacio_inicial + ul,
    .espacio_inicial + ol {
        padding-left: 1.5rem;
    }

        .espacio_inicial + div li,
        .espacio_inicial + ul li,
        .espacio_inicial + ol li {
            margin-bottom: 0.5rem;
        }

    .espacio_inicial + div a,
    .espacio_inicial + p a {
        color: var(--color-primary, #22C55E);
        text-decoration: underline;
    }

@media (max-width: 768px) {
    .espacio_inicial + div,
    .espacio_inicial + h1,
    .espacio_inicial + h2,
    .espacio_inicial + ul,
    .espacio_inicial + ol,
    .espacio_inicial + p {
        padding-top: 100px !important;
    }
}

/* ── Wrapper layout ── */
.index_texto {
    max-width: 860px;
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 156px 24px 80px !important;
    box-sizing: border-box;
}

    /* Override inline font-size:14px / font-family:Arial spans from the CMS */
    .index_texto,
    .index_texto * {
        font-family: var(--font-body, 'Raleway', sans-serif) !important;
        line-height: 1.75 !important;
    }

/* ── Page title — injected from <title> by pantalla.js ── */
.index_texto_title {
    text-align: center;
    margin-bottom: 8px;
}

    .index_texto_title h1 {
        font-family: var(--font-display, 'Raleway', sans-serif) !important;
        font-size: clamp(1.8rem, 4vw, 2.6rem) !important;
        font-weight: 400 !important;
        color: #111111 !important;
        margin: 0 0 4px 0 !important;
        line-height: 1.2 !important;
    }

    .index_texto_title::after {
        content: '';
        display: block;
        width: 60px;
        height: 4px;
        background: #22C55E;
        border-radius: 2px;
        margin: 16px auto 32px;
    }

/* ── Section headers — <h2><strong>Sección N — ...</strong></h2> ── */
.index_texto h2 {
    font-size: 1.05rem !important;
    font-weight: 400 !important;
    color: #111111 !important;
    margin: 36px 0 12px 0 !important;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(34,197,94,0.20);
}

    .index_texto h2:first-of-type {
        margin-top: 0 !important;
    }

/* ── Body paragraphs — plain <div> blocks ── */
.index_texto > div {
    font-size: 0.95rem !important;
    color: #444444 !important;
    margin-bottom: 18px !important;
}

.index_texto b,
.index_texto strong {
    color: #111111 !important;
}

/* ── Links — WhatsApp, email, etc. ── */
.index_texto a {
    color: #16A34A !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(34,197,94,0.40) !important;
    transition: color 0.15s ease;
}

    .index_texto a:hover {
        color: #22C55E !important;
    }

@media (max-width: 768px) {
    .index_texto {
        padding: 100px 20px 60px !important;
    }

    .index_texto_title h1 {
        font-size: 1.6rem !important;
    }

    .index_texto h2 {
        font-size: 0.95rem !important;
    }
}
