/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Template:     generatepress
 Version:      0.1
*/

/* ==========================================
   NARRATIA - ESTILO DE ARTÍCULOS / POSTS
   WordPress + GeneratePress + Elementor
   ========================================== */

/* VARIABLES */
body.single-post {
    --narratia-navy: #103957;
    --narratia-turquoise: #56a5a9;
    --narratia-text: #303a43;
    --narratia-bg: #f8f7f4;
    --narratia-border: #e2e8e9;
}

/* FONDO GENERAL */
body.single-post {
    background: var(--narratia-bg);
    color: var(--narratia-text);
}

/* CONTENEDOR PRINCIPAL */
body.single-post .site-content {
    padding-top: 65px;
    padding-bottom: 85px;
}

body.single-post .site-main {
    max-width: 1140px;
    margin: 0 auto;
}

/* CAJA DEL ARTÍCULO */
body.single-post .site-main > article {
    background: #fff;
    padding: 65px 80px 75px;
    border-radius: 4px;
    box-shadow: 0 10px 45px rgba(16, 57, 87, 0.045);
}

/* CABECERA DEL ARTÍCULO */
body.single-post .entry-header {
    text-align: center;
    margin-bottom: 42px;
}

/* LÍNEA DECORATIVA */
body.single-post .entry-header::before {
    content: "NARRATIA  /  NEWS & UPDATES";
    display: block;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--narratia-turquoise);
    margin-bottom: 20px;
}

/* TÍTULO */
body.single-post .entry-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--narratia-navy);
    max-width: 850px;
    margin: 0 auto 22px;
}

/* FECHA Y AUTOR */
body.single-post .entry-meta {
    font-size: 12px;
    letter-spacing: 0.6px;
    color: #7b8990;
}

body.single-post .entry-meta a {
    color: var(--narratia-turquoise);
    text-decoration: none;
}

body.single-post .entry-meta a:hover {
    color: var(--narratia-navy);
}

/* IMAGEN DESTACADA */
body.single-post .post-image {
    margin-bottom: 45px;
}

body.single-post .post-image img {
    width: 100%;
    height: auto;
    max-height: 530px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
}

/* CUERPO DEL ARTÍCULO */
body.single-post .entry-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.85;
    color: var(--narratia-text);
}

/* PÁRRAFOS */
body.single-post .entry-content p {
    margin-bottom: 1.5em;
}

/* TITULARES INTERIORES */
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    color: var(--narratia-navy);
    line-height: 1.25;
}

body.single-post .entry-content h2 {
    font-size: 32px;
    margin-top: 2em;
    margin-bottom: 0.7em;
}

body.single-post .entry-content h3 {
    font-size: 25px;
    margin-top: 1.7em;
    margin-bottom: 0.7em;
}

body.single-post .entry-content h4 {
    font-size: 21px;
}

/* ENLACES */
body.single-post .entry-content a {
    color: #258c9a;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

body.single-post .entry-content a:hover {
    color: var(--narratia-navy);
}

/* LISTAS */
body.single-post .entry-content ul,
body.single-post .entry-content ol {
    margin: 0 0 28px 25px;
}

body.single-post .entry-content li {
    margin-bottom: 10px;
}

/* CITAS DESTACADAS */
body.single-post .entry-content blockquote {
    border-left: 4px solid var(--narratia-turquoise);
    background: #f2f8f8;
    padding: 25px 32px;
    margin: 40px 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-style: italic;
    line-height: 1.5;
    color: var(--narratia-navy);
}

/* IMÁGENES DENTRO DEL ARTÍCULO */
body.single-post .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 3px;
}

body.single-post .entry-content figure {
    margin-top: 35px;
    margin-bottom: 35px;
}

body.single-post .entry-content figcaption,
body.single-post .entry-content .wp-caption-text {
    font-size: 12px;
    line-height: 1.5;
    color: #819097;
    text-align: center;
    margin-top: 10px;
}

/* SEPARADORES */
body.single-post .entry-content hr {
    border: 0;
    height: 1px;
    background: var(--narratia-border);
    margin: 45px auto;
}

/* BOTONES */
body.single-post .entry-content .wp-block-button__link {
    background: var(--narratia-turquoise);
    color: #fff;
    border-radius: 30px;
    padding: 13px 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease;
}

body.single-post .entry-content .wp-block-button__link:hover {
    background: var(--narratia-navy);
    color: #fff;
}

/* PIE DEL ARTÍCULO */
body.single-post .entry-footer {
    max-width: 800px;
    margin: 45px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--narratia-border);
    font-size: 12px;
    color: #819097;
}

body.single-post .entry-footer a {
    color: var(--narratia-turquoise);
    text-decoration: none;
}

/* NAVEGACIÓN ENTRE ARTÍCULOS */
body.single-post .post-navigation {
    max-width: 960px;
    margin: 45px auto 0;
    padding: 25px 0;
    border-top: 1px solid var(--narratia-border);
}

body.single-post .post-navigation a {
    color: var(--narratia-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    text-decoration: none;
}

body.single-post .post-navigation a:hover {
    color: var(--narratia-turquoise);
}
	body.single-post .byline {display:none !important}
/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {

    body.single-post .site-content {
        padding: 40px 20px 60px;
    }

    body.single-post .site-main > article {
        padding: 45px 40px;
    }

    body.single-post .entry-content {
        font-size: 16px;
    }
}

@media (max-width: 767px) {

    body.single-post .site-content {
        padding: 20px 12px 45px;
    }

    body.single-post .site-main > article {
        padding: 30px 22px 40px;
    }

    body.single-post .entry-header {
        margin-bottom: 30px;
    }

    body.single-post .entry-title {
        font-size: 34px;
        line-height: 1.2;
    }

    body.single-post .entry-header::before {
        font-size: 9px;
        letter-spacing: 2px;
    }

    body.single-post .entry-content {
        font-size: 16px;
        line-height: 1.75;
    }

    body.single-post .entry-content h2 {
        font-size: 27px;
    }

    body.single-post .entry-content h3 {
        font-size: 23px;
    }

    body.single-post .entry-content blockquote {
        font-size: 19px;
        padding: 20px;
    }

    body.single-post .post-image img {
        max-height: none;
    }

}

@media (max-width: 320px) {

}
