/* ==========================================================================
   ESTILOS PLANTILLA GENÉRICA DE PÁGINA DE TEXTO INTERNA
   ========================================================================== */

.page-texto-interna-container,
.page-template-page-texto-interna {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Exo', sans-serif;
}

/* 1. HERO BANNER A SANGRE SUPERIOR */
.pagina-texto-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0 !important;
    padding-top: 70px;
    box-sizing: border-box;
}

.pagina-texto-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.50);
    z-index: 1;
}

.pagina-texto-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 0 20px;
}

.pagina-texto-hero-title {
    font-size: 3.2rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    color: #ffffff;
}

.pagina-texto-breadcrumbs {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #e0e0e0;
}

.pagina-texto-breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pagina-texto-breadcrumbs a:hover {
    color: #f1b3bc;
}

/* 2. CUERPO DE TEXTO DE CONTENIDO */
.pagina-texto-body-section {
    padding: 70px 20px 90px 20px;
    background: #ffffff;
}

.pagina-texto-body-wrapper {
    max-width: 960px;
    margin: 0 auto;
    color: #333333;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Formato para elementos HTML dentro del editor */
.pagina-texto-body-wrapper h1,
.pagina-texto-body-wrapper h2 {
    color: #8C1527;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    text-align: center;
}

.pagina-texto-body-wrapper h3 {
    color: #2C2825;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 35px 0 15px 0;
}

.pagina-texto-body-wrapper h4 {
    color: #8C1527;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 25px 0 10px 0;
}

.pagina-texto-body-wrapper p {
    margin-bottom: 20px;
    color: #4a4a4a;
}

.pagina-texto-body-wrapper strong,
.pagina-texto-body-wrapper b {
    color: #1a1a1a;
    font-weight: 700;
}

.pagina-texto-body-wrapper ul,
.pagina-texto-body-wrapper ol {
    margin: 0 0 25px 30px;
    padding: 0;
}

.pagina-texto-body-wrapper li {
    margin-bottom: 10px;
    color: #4a4a4a;
}

.pagina-texto-body-wrapper a {
    color: #8C1527;
    text-decoration: underline;
    font-weight: 600;
}

.pagina-texto-body-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px 0;
}

.pagina-texto-body-wrapper blockquote {
    border-left: 4px solid #8C1527;
    background: #fcfcfc;
    padding: 15px 20px;
    margin: 25px 0;
    font-style: italic;
    color: #555;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
    .pagina-texto-hero {
        min-height: 320px;
    }
    .pagina-texto-hero-title {
        font-size: 2.2rem;
    }
    .pagina-texto-body-wrapper h1,
    .pagina-texto-body-wrapper h2 {
        font-size: 1.8rem;
    }
    .pagina-texto-body-section {
        padding: 40px 20px 60px 20px;
    }
}