/*
Theme Name: Jorge Iván Marroqín A.
Theme URI: https://jorgeivanmarroquin.com/
Author: Anyelo Marroquín A.
Author URI: https://anyelomarroquin.com/
Description: Tema personalizado para Jorge Iván Marroqín A..
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Jorge Iván Marroqín A.
*/

/* === RESET Y ESTILOS GENERALES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

.wrapper {
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
    overflow: hidden;
}

/* === HERO BANNER (HOME) === */
.hero-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.5)),
                url('images/portada-principal.png');
    background-size: cover;
    background-position: 10% 15%;
    background-repeat: no-repeat;
    min-height: 85vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* === NAVEGACIÓN HOME === */
.navbar-container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.site-logo {
    height: 100px;
    width: auto;
    padding: 10px;
    border-radius: 5px;
}

/* === NAVEGACIÓN === */

/* Mantén tus estilos originales */
.nav-list {
    list-style: none;
    display: flex;
    gap: 10px;
}

/* AGREGA: Estilos para las clases de WordPress */
.nav-list .menu-item {
    /* Hereda los estilos que tenías en .nav-item */
    list-style: none;
}

.nav-list .menu-item a,
.nav-link {
    font-family: "Montserrat", sans-serif;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-list .menu-item a:hover,
.nav-link:hover {
    color: #be9a57;
}

/* Para el header fijo (páginas internas) */
.site-header .main-nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.site-header .nav-list .menu-item a,
.site-header .nav-link {
    font-family: "Montserrat", sans-serif;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s;
    font-weight: 500;
}

.site-header .nav-list .menu-item a:hover,
.site-header .nav-link:hover {
    color: #be9a57;
}

/* Clase activa de WordPress */
.nav-list .current-menu-item a,
.nav-list .current_page_item a {
    color: #be9a57;
}

/* === HERO CONTENT === */
.hero-content {
    text-align: center;
    color: white;
    padding: 20px;
    z-index: 10;
    margin: auto;
}

.hero-title {
    font-family: "Gilda Display", sans-serif;
    font-size: 3.6rem;
    font-weight: 100;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-family: "Montserrat", sans-serif;
    font-size: 1.25rem;
    font-weight: 200;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === BOTONES === */
.cta-button, .btn-ver-mas {
    background-color: #be9a57;
    font-family: "Gilda Display", sans-serif;
    border: 1px solid #be9a57;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    border-radius: 3px;
    cursor: pointer;
}

.cta-button:hover, .btn-ver-mas:hover {
    background-color: rgba(0, 0, 0, 0.7);
    color: #be9a57;
}

.btn-ver-mas {
    padding: 10px 20px;
    font-size: 0.95rem;
}

/* === TÍTULOS DE SECCIÓN === */
.section-title {
    font-family: "Gilda Display", sans-serif;
    font-size: 2.5rem;
    margin: 20px 0;
    text-align: center;
    text-transform: uppercase;
    color: #333;
}

.section-title::after {
    border-bottom: 2px solid #be9a57;
    display: block;
    content: '';
    margin: 15px auto 40px;
    width: 100px;
}

/* === SECCIÓN SOBRE EL AUTOR === */
.author-intro {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.author-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.author-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.author-content h3 {
    font-family: "Gilda Display", sans-serif;
    font-size: 2rem;
    color: #be9a57;
    margin-bottom: 20px;
}

.author-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #555;
}

/* === SECCIÓN LIBROS === */
.libros-section {
    padding: 80px 0;
    background-color: #fff;
}

.libros-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.libro-card {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.libro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.libro-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.libro-info {
    padding: 25px;
}

.libro-info h4 {
    font-family: "Gilda Display", sans-serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.libro-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* === SECCIÓN ÚLTIMAS ENTRADAS === */
.entradas-destacadas {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.entradas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.entradas-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.entradas-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.entradas-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.entradas-content {
    padding: 25px;
}

.entradas-card h3 {
    font-family: "Gilda Display", sans-serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.entradas-card a {
    text-decoration: none;
    color: inherit;
}

.entradas-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Ocultar bloque "Leer más" en single posts */
.single .wp-block-read-more,
.single-post .wp-block-read-more {
    display: none !important;
}

/* === SECCIÓN OPINIONES === */
.testimonios-section {
    padding: 80px 0;
    background-color: #fff;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.testimonio-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 35px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.testimonio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(190, 154, 87, 0.2);
}

.testimonio-card::before {
    content: '"';
    font-family: "Gilda Display", sans-serif;
    font-size: 80px;
    color: #be9a57;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.3;
}

.testimonio-imagen {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid #be9a57;
}

.testimonio-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonio-texto {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonio-nombre {
    font-family: "Gilda Display", sans-serif;
    font-size: 1.2rem;
    color: #be9a57;
    font-weight: 600;
}

/* === FOOTER === */
footer {
    background-color: #070600;
    padding: 60px 0;
    color: #fff;
}

footer h4 {
    font-family: "Gilda Display", sans-serif;
    color: #be9a57;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

footer p {
    font-size: 0.95rem;
    font-weight: 200;
    line-height: 1.8;
    color: #ccc;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 12px;
}

footer ul a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
}

footer ul a:hover {
    color: #be9a57;
    padding-left: 5px;
}

/* ========================================
   ESTILOS PÁGINA BLOG INDIVIDUAL
======================================== */

/* Ajuste para body en páginas de blog */
body.blog-single-page {
    padding-top: 100px;
}

/* === HEADER FIJO === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #070600;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo-header {
    height: 70px;
    width: auto;
}

.site-header .main-nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.site-header .nav-link {
    font-family: "Montserrat", sans-serif;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s;
    font-weight: 500;
}

.site-header .nav-link:hover {
    color: #be9a57;
}

/* === CONTENIDO PRINCIPAL BLOG === */
.single-post {
    background-color: #fff;
    min-height: calc(100vh - 100px);
}

/* === ÁREA DEL ARTÍCULO === */
.post-header {
    background: linear-gradient(to bottom, #f9f9f9 0%, #fff 100%);
    padding: 60px 0 40px;
    text-align: center;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #666;
}

.post-category {
    background-color: #be9a57;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.post-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-date::before {
    content: "📅";
}

.post-title {
    font-family: "Gilda Display", sans-serif;
    font-size: 3rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.post-excerpt {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    font-weight: 300;
}

.author-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #be9a57;
    object-fit: cover;
}

.author-details {
    text-align: left;
}

.author-name {
    font-family: "Gilda Display", sans-serif;
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
}

.author-role {
    font-size: 0.85rem;
    color: #999;
}

/* === IMAGEN DESTACADA === */
.featured-image {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* === CONTENIDO DEL ARTÍCULO === */
.post-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.post-content h2 {
    font-family: "Gilda Display", sans-serif;
    font-size: 2rem;
    color: #333;
    margin: 40px 0 20px;
    position: relative;
    padding-left: 20px;
}

.post-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    background-color: #be9a57;
    border-radius: 3px;
}

.post-content h3 {
    font-family: "Gilda Display", sans-serif;
    font-size: 1.5rem;
    color: #be9a57;
    margin: 30px 0 15px;
}

.post-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 25px;
    color: #444;
}

.post-content ul,
.post-content ol {
    margin: 25px 0;
    padding-left: 30px;
}

.post-content li {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 15px;
    color: #444;
}

.post-content blockquote {
    border-left: 4px solid #be9a57;
    padding: 20px 30px;
    margin: 40px 0;
    background-color: #f9f9f9;
    font-style: italic;
    font-size: 1.15rem;
    color: #555;
    border-radius: 0 5px 5px 0;
}

.post-content strong {
    font-weight: 600;
    color: #333;
}

.post-content em {
    color: #666;
}

/* === DESTACADO/CALLOUT === */
.callout-box {
    background: linear-gradient(135deg, #be9a57 0%, #d4b77a 100%);
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(190, 154, 87, 0.3);
}

.callout-box h3 {
    color: #fff;
    margin-top: 0;
}

.callout-box p {
    color: #fff;
    margin-bottom: 0;
}

/* === COMPARTIR EN REDES === */
.share-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 30px 20px;
    text-align: center;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.share-title {
    font-family: "Gilda Display", sans-serif;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

/* === SECCIÓN ENTRADAS RELACIONADAS === */
.related-posts {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.related-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.related-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.related-content {
    padding: 25px;
}

.related-card h3 {
    font-family: "Gilda Display", sans-serif;
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
}

.related-card a {
    text-decoration: none;
    color: inherit;
}

.related-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-leer {
    color: #be9a57;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.btn-leer:hover {
    gap: 10px;
}

.btn-leer::after {
    content: '→';
}

/* ========================================
   ESTILOS PÁGINA LIBRO INDIVIDUAL
======================================== */

/* Ajuste para body en páginas de libro */
body.libro-single-page {
    padding-top: 100px;
    background-color: #fff;
}

/* === HERO DEL LIBRO === */
.libro-hero {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f9f9f9 0%, #fff 100%);
}

.libro-hero-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
}

/* Portada del libro */
.libro-portada-container {
    position: sticky;
    top: 120px;
    width: 100%;
}

.libro-portada-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    max-width: 100%;
}

.libro-portada-wrapper:hover {
    transform: translateY(-10px);
}

.libro-portada {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.libro-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #be9a57;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Información principal */
.libro-info-principal {
    padding-top: 20px;
}

.libro-categoria {
    display: inline-block;
    background-color: #f0f0f0;
    color: #666;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.libro-titulo {
    font-family: "Gilda Display", sans-serif;
    font-size: 3.5rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.1;
}

.libro-subtitulo {
    font-size: 1.3rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Detalles del libro */
.libro-detalles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.libro-detalle-item {
    display: flex;
    gap: 10px;
}

.detalle-label {
    font-weight: 600;
    color: #be9a57;
}

.detalle-value {
    color: #555;
}

/* Rating */
.libro-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.stars {
    color: #be9a57;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.rating-text {
    color: #666;
    font-size: 0.95rem;
}

/* CTA Section */
.libro-cta-section {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-comprar,
.btn-muestra {
    flex: 1;
    padding: 18px 30px;
    font-family: "Gilda Display", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-comprar {
    background-color: #be9a57;
    color: #fff;
    border: 2px solid #be9a57;
}

.btn-comprar:hover {
    background-color: #a08247;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(190, 154, 87, 0.4);
}

.btn-muestra {
    background-color: transparent;
    color: #be9a57;
    border: 2px solid #be9a57;
}

.btn-muestra:hover {
    background-color: #be9a57;
    color: #fff;
}

.btn-icon {
    font-size: 1.2rem;
}

/* Disponible en */
.libro-disponible {
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.libro-disponible p {
    margin-bottom: 10px;
    color: #666;
}

.tiendas-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tienda-link {
    display: inline-block;
    padding: 8px 20px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.tienda-link:hover {
    background-color: #be9a57;
    color: #fff;
}

/* === DESCRIPCIÓN === */
.libro-descripcion {
    padding: 80px 0;
    background-color: #fff;
}

.wrapper-narrow {
    max-width: 900px;
    margin: 0 auto;
    width: 90%;
}

.section-title-simple {
    font-family: "Gilda Display", sans-serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.descripcion-intro {
    margin-bottom: 40px;
}

.texto-destacado {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #555;
    font-weight: 300;
    font-style: italic;
    padding: 30px;
    background-color: #f9f9f9;
    border-left: 4px solid #be9a57;
    border-radius: 0 10px 10px 0;
}

.descripcion-contenido {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #444;
}

.descripcion-contenido h3 {
    font-family: "Gilda Display", sans-serif;
    font-size: 1.8rem;
    color: #333;
    margin: 40px 0 20px;
}

.descripcion-contenido p {
    margin-bottom: 25px;
}

.lista-caracteristicas {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.lista-caracteristicas li {
    display: flex;
    gap: 15px;
    align-items: start;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s;
}

.lista-caracteristicas li:hover {
    transform: translateX(10px);
    background-color: #f0f0f0;
}

.icono-check {
    color: #be9a57;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.lista-simple {
    padding-left: 30px;
    margin: 20px 0;
}

.lista-simple li {
    margin-bottom: 12px;
    color: #555;
}

/* Quote box */
.quote-box {
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, #be9a57 0%, #d4b77a 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(190, 154, 87, 0.3);
}

.quote-box blockquote {
    font-family: "Gilda Display", sans-serif;
    font-size: 1.4rem;
    line-height: 1.8;
    color: #fff;
    font-style: italic;
    margin: 0;
    border: none;
    padding: 0;
}

.quote-box cite {
    display: block;
    margin-top: 20px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: normal;
    font-weight: 600;
}

/* Destacado autor */
.destacado-autor {
    margin: 50px 0;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 15px;
}

.destacado-contenido {
    display: flex;
    gap: 30px;
    align-items: center;
}

.autor-mini-foto {
    flex-shrink: 0;
}

.autor-mini-foto img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #be9a57;
}

.autor-mini-info h4 {
    font-family: "Gilda Display", sans-serif;
    font-size: 1.5rem;
    color: #be9a57;
    margin-bottom: 15px;
}

.autor-mini-info p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Testimonios del libro */
.testimonios-libro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.testimonio-libro-card {
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 10px;
    border-left: 4px solid #be9a57;
}

.testimonio-libro-rating {
    color: #be9a57;
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonio-libro-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    font-style: italic;
    margin-bottom: 15px;
}

.testimonio-libro-card strong {
    color: #333;
    font-style: normal;
}

/* CTA Final */
.cta-final-libro {
    margin-top: 60px;
    padding: 60px;
    background: linear-gradient(135deg, #333 0%, #070600 100%);
    border-radius: 20px;
    text-align: center;
    color: #fff;
}

.cta-final-libro h3 {
    font-family: "Gilda Display", sans-serif;
    font-size: 2.5rem;
    color: #be9a57;
    margin-bottom: 15px;
}

.cta-final-libro p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ccc;
}

.btn-comprar-grande {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 50px;
    background-color: #be9a57;
    color: #fff;
    font-family: "Gilda Display", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s;
    border: 2px solid #be9a57;
}

.btn-comprar-grande:hover {
    background-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(190, 154, 87, 0.4);
}

.garantia-texto {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #999;
}

/* === OTROS LIBROS === */
.otros-libros {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.otros-libros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.libro-card-mini {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.libro-card-mini:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.libro-card-mini a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.libro-card-mini img {
    width: 100%;
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.libro-card-mini-info {
    padding: 30px;
}

.libro-card-mini-info h4 {
    font-family: "Gilda Display", sans-serif;
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 15px;
}

.libro-card-mini-info p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.precio {
    display: block;
    font-family: "Gilda Display", sans-serif;
    font-size: 1.8rem;
    color: #be9a57;
    font-weight: 600;
    margin-bottom: 20px;
}

.btn-ver-libro {
    color: #be9a57;
    font-weight: 600;
    transition: gap 0.3s;
}

/* ========================================
   ESTILOS PÁGINA RECURSOS
======================================== */

/* Ajuste para body en páginas de recursos */
body.recursos-page {
    padding-top: 100px;
    background-color: #f9f9f9;
}

/* === HERO RECURSOS === */
.recursos-hero {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #333 0%, #070600 100%);
    text-align: center;
}

.recursos-hero-title {
    font-family: "Gilda Display", sans-serif;
    font-size: 3.5rem;
    color: #be9a57;
    margin-bottom: 15px;
}

.recursos-hero-subtitle {
    font-size: 1.3rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
}

/* === FILTROS === */
.recursos-filtros {
    padding: 40px 0;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.filtros-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filtro-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background-color: #f0f0f0;
    border: 2px solid transparent;
    border-radius: 25px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
}

.filtro-btn:hover {
    background-color: #e0e0e0;
    border-color: #be9a57;
    color: #333;
}

.filtro-btn.active {
    background-color: #be9a57;
    border-color: #be9a57;
    color: #fff;
}

.filtro-icon {
    font-size: 1.2rem;
}

/* === SECCIÓN RECURSOS === */
.recursos-section {
    padding: 60px 0;
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* === CARD DE RECURSO === */
.recurso-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0e0e0;
}

.recurso-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.recurso-icono {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.audio-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.documento-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.imagen-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.video-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.recurso-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #be9a57;
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recurso-titulo {
    font-family: "Gilda Display", sans-serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.recurso-descripcion {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.recurso-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.recurso-duracion,
.recurso-formato {
    font-size: 0.85rem;
    color: #888;
}

.recurso-stats {
    margin-bottom: 20px;
}

.stat-item {
    display: inline-block;
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}

.btn-descargar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 25px;
    background-color: #be9a57;
    color: #fff;
    font-family: "Gilda Display", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    border: 2px solid #be9a57;
}

.btn-descargar:hover {
    background-color: transparent;
    color: #be9a57;
    transform: translateY(-2px);
}

/* === PAGINACIÓN === */
.paginacion {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.paginacion-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
}

.paginacion-btn:hover:not(:disabled) {
    background-color: #be9a57;
    border-color: #be9a57;
    color: #fff;
}

.paginacion-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.paginacion-numeros {
    display: flex;
    align-items: center;
    gap: 8px;
}

.paginacion-numero {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
}

.paginacion-numero:hover {
    background-color: #f0f0f0;
    border-color: #be9a57;
}

.paginacion-numero.active {
    background-color: #be9a57;
    border-color: #be9a57;
    color: #fff;
}

.paginacion-dots {
    color: #999;
    font-size: 1.2rem;
    padding: 0 5px;
}

/* === CTA SUSCRIPCIÓN === */
.recursos-cta {
    padding: 80px 0;
    background-color: #fff;
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #333 0%, #070600 100%);
    border-radius: 20px;
}

.cta-box h2 {
    font-family: "Gilda Display", sans-serif;
    font-size: 2.5rem;
    color: #be9a57;
    margin-bottom: 15px;
}

.cta-box > p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 15px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #be9a57;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    transition: all 0.3s;
}

.newsletter-input:focus {
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(190, 154, 87, 0.2);
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-btn {
    padding: 15px 35px;
    background-color: #be9a57;
    border: 2px solid #be9a57;
    border-radius: 8px;
    font-family: "Gilda Display", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background-color: transparent;
    color: #be9a57;
}

.newsletter-privacy {
    font-size: 0.85rem;
    color: #999;
    margin: 0;
}

/* === COMPARTIR EN REDES === */
.share-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 30px 20px;
    text-align: center;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.share-title {
    font-family: "Gilda Display", sans-serif;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.facebook:hover {
    background-color: #2d4373;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.twitter:hover {
    background-color: #0c85d0;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.linkedin:hover {
    background-color: #005885;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

.share-btn.whatsapp:hover {
    background-color: #1da851;
}

.share-btn.telegram {
    background-color: #0088cc;
}

.share-btn.telegram:hover {
    background-color: #006699;
}

.share-btn.email {
    background-color: #666;
}

.share-btn.email:hover {
    background-color: #444;
}

/* Responsive */
@media (max-width: 768px) {
    .share-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .share-btn {
        justify-content: center;
    }
}
/* ========================================
   ESTILOS PÁGINA ARCHIVO DE BLOG
======================================== */

/* === HERO DEL BLOG === */
.blog-archive {
    background-color: #f9f9f9;
}

.blog-hero {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #333 0%, #070600 100%);
    text-align: center;
}

.blog-hero-title {
    font-family: "Gilda Display", sans-serif;
    font-size: 3rem;
    color: #be9a57;
    margin-bottom: 15px;
}

.blog-hero-description {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === META INFO DE ENTRADA === */
.entrada-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.entrada-fecha,
.entrada-categoria {
    font-size: 0.85rem;
    color: #999;
}

.entrada-categoria {
    color: #be9a57;
    font-weight: 600;
}

/* === AJUSTES DE PAGINACIÓN PARA ARCHIVE === */
.entradas-destacadas .paginacion {
    margin-top: 60px;
}

.paginacion-numeros ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.paginacion-numeros .page-numbers {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
}

.paginacion-numeros .page-numbers:hover {
    background-color: #f0f0f0;
    border-color: #be9a57;
}

.paginacion-numeros .page-numbers.current {
    background-color: #be9a57;
    border-color: #be9a57;
    color: #fff;
}

.paginacion-numeros .page-numbers.dots {
    border: none;
    background: none;
}

/* Enlaces en botones de paginación */
.paginacion-prev a,
.paginacion-next a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
/* ========================================
   SECCIÓN SOBRE MÍ - DISEÑO DOS COLUMNAS
======================================== */

.sobre-mi-two-columns {
    position: relative;
    width: 100%;
    min-height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

/* Overlay oscuro sobre la imagen de fondo */
.sobre-mi-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 6, 0, 0.88) 0%, rgba(30, 30, 30, 0.82) 100%);
    z-index: 1;
}

/* Contenedor principal */
.sobre-mi-two-columns .wrapper {
    position: relative;
    z-index: 2;
}

/* Grid de dos columnas */
.sobre-mi-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 80px;
    align-items: center;
}

/* === COLUMNA 1: IMAGEN === */
.sobre-mi-imagen-col {
    position: relative;
}

.sobre-mi-imagen-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.sobre-mi-imagen-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sobre-mi-imagen-wrapper:hover img {
    transform: scale(1.05);
}

/* === COLUMNA 2: CONTENIDO === */
.sobre-mi-content-col {
    color: #fff;
    padding-right: 40px;
}

/* Etiqueta pequeña arriba */
.sobre-mi-label {
    display: inline-block;
    font-size: 0.85rem;
    color: #be9a57;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* Título principal */
.sobre-mi-title {
    font-family: "Gilda Display", sans-serif;
    font-size: 3rem;
    color: #be9a57;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 400;
}

/* Descripción */
.sobre-mi-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

.sobre-mi-description p {
    margin-bottom: 18px;
}

.sobre-mi-description p:last-child {
    margin-bottom: 0;
}

/* Botón */
.sobre-mi-button {
    display: inline-block;
    padding: 16px 40px;
    background-color: #be9a57;
    color: #fff;
    font-family: "Gilda Display", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid #be9a57;
}

.sobre-mi-button:hover {
    background-color: transparent;
    color: #be9a57;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(190, 154, 87, 0.4);
}

/* ========================================
   TEMPLATE GENÉRICO DE PÁGINA - GUTENBERG
======================================== */

/* === PÁGINA CONTENT GENERAL === */
.page-content {
    background-color: #fff;
}
/*
body.page {
    padding-top: 100px;
}
*/
/* === HERO CON IMAGEN === */
.page-hero {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 6, 0, 0.85) 0%, rgba(30, 30, 30, 0.75) 100%);
    z-index: 1;
}

.page-hero .wrapper {
    position: relative;
    z-index: 2;
}

.page-hero-title {
    font-family: "Gilda Display", sans-serif;
    font-size: 3.5rem;
    color: #be9a57;
    text-align: center;
    margin: 0;
}

/* === HEADER SIN IMAGEN === */
.page-header {
    padding: 20px 0;
    background: linear-gradient(to bottom, #f9f9f9 0%, #fff 100%);
}

.page-title {
    font-family: "Gilda Display", sans-serif;
    font-size: 3rem;
    color: #333;
    text-align: center;
    margin: 0;
}

/* === CONTENIDO PRINCIPAL === */
.page-main-content {
    padding: 20px 0 80px;
}

.page-article {
    max-width: 100%;
}

/* === ENTRY CONTENT - SOPORTE GUTENBERG === */
.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

/* Espaciado entre bloques */
.entry-content > * {
    margin-bottom: 1.5em;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

/* === TIPOGRAFÍA === */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: "Gilda Display", sans-serif;
    color: #333;
    margin-top: 2em;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

.entry-content h1 {
    font-size: 2.8rem;
    color: #be9a57;
}

.entry-content h2 {
    font-size: 2.3rem;
    margin: 20px 0;
    position: relative;
    padding-left: 20px;
}

.entry-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    background-color: #be9a57;
    border-radius: 3px;
}

.entry-content h3 {
    font-size: 1.8rem;
    color: #be9a57;
}

.entry-content h4 {
    font-size: 1.4rem;
}

.entry-content h5 {
    font-size: 1.2rem;
}

.entry-content h6 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* === LISTAS === */
.entry-content ul,
.entry-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.entry-content li {
    margin-bottom: 0.8em;
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

/* === ENLACES === */
.entry-content a {
    color: #be9a57;
    text-decoration: underline;
    transition: all 0.3s;
}

.entry-content a:hover {
    color: #a08247;
    text-decoration: none;
}

/* === IMÁGENES === */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-content figure {
    margin: 2em 0;
}

.entry-content figcaption {
    margin-top: 1em;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    font-style: italic;
}

/* === BLOQUES DE GUTENBERG === */

/* Bloque de Cita */
.entry-content blockquote,
.entry-content .wp-block-quote {
    border-left: 4px solid #be9a57;
    padding: 1em 2em;
    margin: 1em 0;
    background-color: #f9f9f9;
    font-style: italic;
    font-size: 1.15rem;
    color: #555;
    border-radius: 0 8px 8px 0;
}

.entry-content blockquote p,
.entry-content .wp-block-quote p {
    margin-bottom: 0.5em;
}

.entry-content blockquote cite,
.entry-content .wp-block-quote cite {
    display: block;
    margin-top: 1em;
    font-size: 0.9rem;
    color: #be9a57;
    font-style: normal;
    font-weight: 600;
}

/* Cita destacada */
.entry-content .wp-block-pullquote {
    border-top: 4px solid #be9a57;
    border-bottom: 4px solid #be9a57;
    padding: 2em;
    text-align: center;
    color: #333;
}

.entry-content .wp-block-pullquote blockquote {
    border: none;
    background: none;
    padding: 0;
    font-size: 1.5rem;
}

/* Bloque de Código */
.entry-content pre,
.entry-content .wp-block-code {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 1.5em;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.entry-content code {
    background-color: #f4f4f4;
    color: #c7254e;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

.entry-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* Bloque de Tabla */
.entry-content table,
.entry-content .wp-block-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
}

.entry-content table th,
.entry-content .wp-block-table th {
    background-color: #be9a57;
    color: #fff;
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
}

.entry-content table td,
.entry-content .wp-block-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.entry-content table tr:hover,
.entry-content .wp-block-table tr:hover {
    background-color: #f9f9f9;
}

/* Tabla estilo rayada */
.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

/* Bloque de Botón */
.entry-content .wp-block-button__link {
    background-color: #be9a57;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s;
}

.entry-content .wp-block-button__link:hover {
    background-color: #a08247;
    transform: translateY(-2px);
}

/* Botón outline */
.entry-content .wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent;
    border: 2px solid #be9a57;
    color: #be9a57;
}

.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: #be9a57;
    color: #fff;
}

/* Bloque de Columnas */
.entry-content .wp-block-columns {
    display: flex;
    gap: 2em;
    margin: 2em 0;
}

.entry-content .wp-block-column {
    flex: 1;
}

/* Bloque de Grupo */
.entry-content .wp-block-group {
    padding: 2em;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin: 2em 0;
}

.entry-content .wp-block-group.has-background {
    padding: 2.5em;
}

/* Bloque de Cover (Portada) */
.entry-content .wp-block-cover {
    min-height: 400px;
    border-radius: 10px;
    margin: 2em 0;
}

/* Bloque de Medios y Texto */
.entry-content .wp-block-media-text {
    display: grid;
    grid-template-columns: 50% 1fr;
    gap: 2em;
    align-items: center;
    margin: 2em 0;
}

.entry-content .wp-block-media-text.has-media-on-the-right {
    grid-template-columns: 1fr 50%;
}

/* Bloque de Separador */
.entry-content .wp-block-separator {
    border: none;
    border-top: 2px solid #be9a57;
    margin: 3em auto;
    max-width: 100px;
}

.entry-content .wp-block-separator.is-style-wide {
    max-width: 100%;
}

.entry-content .wp-block-separator.is-style-dots {
    border: none;
    text-align: center;
}

.entry-content .wp-block-separator.is-style-dots::before {
    content: '···';
    color: #be9a57;
    font-size: 2rem;
    letter-spacing: 1em;
}

/* Bloque de Espaciador */
.entry-content .wp-block-spacer {
    clear: both;
}

/* Bloque de Galería */
.entry-content .wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1em;
    margin: 2em 0;
}

/* Bloque de Video y Audio */
.entry-content .wp-block-video,
.entry-content .wp-block-audio {
    margin: 2em 0;
}

.entry-content .wp-block-video video,
.entry-content .wp-block-audio audio {
    width: 100%;
    border-radius: 8px;
}

/* Bloque de Archivo */
.entry-content .wp-block-file {
    display: flex;
    align-items: center;
    gap: 1em;
    padding: 1em;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 1.5em 0;
}

.entry-content .wp-block-file a {
    text-decoration: none;
}

/* === ALINEACIONES === */
.entry-content .alignleft {
    float: left;
    margin-right: 2em;
    margin-bottom: 1em;
}

.entry-content .alignright {
    float: right;
    margin-left: 2em;
    margin-bottom: 1em;
}

.entry-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.entry-content .alignwide {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.entry-content .alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* === PAGINACIÓN DE PÁGINAS === */
.page-links {
    clear: both;
    margin: 2em 0;
    padding: 1.5em;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

.page-links a {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background-color: #be9a57;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.page-links a:hover {
    background-color: #a08247;
}

.page-links .post-page-numbers.current {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
}

/* === ESTILOS PARA TEMAS OSCUROS (opcional) === */
.entry-content .has-background {
    padding: 2em;
    border-radius: 10px;
}

/* === CLEARFIX === */
.entry-content::after {
    content: "";
    display: table;
    clear: both;
}

/* === SECCIÓN ENFOQUE & DIFERENCIA === */
.enfoque-section {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}
.enfoque-intro {
    max-width: 800px;
    margin: 0 auto 40px;
}
.enfoque-intro p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}
.enfoque-intro strong {
    color: #be9a57;
    font-family: "Gilda Display", sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
}
.grid-diferencia {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: left;
}
.diferencia-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #be9a57;
    font-size: 1rem;
    color: #555;
}

/* === MICRO-CREDENCIALES === */
.micro-credenciales-section {
    padding: 40px 0 80px;
    background-color: #f9f9f9;
}
.micro-credenciales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    margin-bottom: 50px;
}
.credencial-item i {
    font-size: 2.5rem;
    color: #be9a57;
    margin-bottom: 15px;
}
.credencial-item p {
    font-size: 0.95rem;
    color: #333;
    font-weight: 600;
}

/* === CIERRE REFLEXIÓN FINAL === */
.cierre-home {
    background-color: #070600;
    padding: 100px 0;
    text-align: center;
    color: #fff;
}
.cierre-home .wrapper {
    max-width: 800px;
}
.cierre-home h2 {
    font-family: "Gilda Display", sans-serif;
    font-size: 2.5rem;
    color: #be9a57;
    margin-bottom: 30px;
    font-weight: 300;
}
.cierre-home p {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* === SOPORTE EDITOR VISUAL (TINYMCE / ACF WYSIWYG) === */
body#tinymce.wp-editor {
    background-color: #fff !important;
    color: #333 !important;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    padding: 16px 20px !important;
    margin: 0 !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
}

body#tinymce.wp-editor p {
    margin: 0 0 1em !important;
    color: #333 !important;
}

body#tinymce.wp-editor h2,
body#tinymce.wp-editor h3 {
    font-family: "Gilda Display", Georgia, serif !important;
    color: #070600 !important;
    margin: 1.1em 0 0.5em !important;
}

body#tinymce.wp-editor blockquote {
    border-left: 3px solid #be9a57 !important;
    padding-left: 16px !important;
    margin: 1em 0 !important;
    color: #555 !important;
    font-style: italic;
}