/* Las declaraciones @font-face se manejan desde functions.php para optimización */

body, html {
    font-family: 'Montserrat', Arial, sans-serif !important;
    -ms-text-size-adjust: none;
	-webkit-text-size-adjust: none;
}

/*
Theme Name: Peluqueria Mariela Herrera Theme
Description: Tema hijo del Twenty Seventeen para Mariela Herrera
Author: Mariela Herrera
Template: twentyseventeen
Version: 1.0.0
*/

/* Importar estilos del tema padre 
@import url("../twentyseventeen/style.css");
*/
/* ========================================
   SECCIONES DE PANTALLA COMPLETA
   ======================================== */
:root{
    --primary: #c59d5f;
    --secondary: #333333;
    --tertiary: #667eea;
    --quaternary: #764ba2;
    --quinary: #fff;
    --senary: #000;
    --septenary: #666;
}


h1, h2, h3, h4, h5, h6 {
 margin: 0px!important;

}




/* Hacer que cada sección ocupe la pantalla completa */
.twentyseventeen-panel {
    min-height: 100vh !important;
    /* height: 100vh !important; */
    position: relative !important;
    /* overflow: hidden !important; */
    display: flex !important;
    flex-direction: column !important;
    justify-content:  flex-start!important;
}

/* Ajustar la imagen de fondo para cubrir toda la sección */
.panel-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Asegurar que las imágenes destacadas se muestren como fondo */
.twentyseventeen-panel.has-post-thumbnail .panel-image {
    /* La imagen de fondo se establecerá dinámicamente via PHP */
    opacity: 1 !important;
    visibility: visible !important;
}

/* Fallback para secciones sin imagen destacada */
.twentyseventeen-panel:not(.has-post-thumbnail) .panel-image {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%) !important;
}



/* Mantener las imágenes destacadas visibles si no hay panel-image */
.twentyseventeen-panel:not(:has(.panel-image)) img {
    display: block !important;
}

/* Eliminar el padding-top que mantiene la proporción */
.panel-image-prop {
    display: none !important;
}

/* Ajustar el contenido del panel para centrarlo */

.entry-title {
    font-family: "Quentin", serif !important;
    color: #c59d5f !important;
    font-style: normal !important;
    font-weight: 100 !important;
    letter-spacing: 0 !important;
    line-height: 1.2em;
    white-space: nowrap !important;
    text-transform: none !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5) !important;
    
    opacity: 1 !important;

    animation: titleSlideIn 1.2s ease-out !important;
    font-size: 6rem !important;
   
}







.panel-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: flex-start;
    height: 100% !important;
    box-sizing: border-box !important;
    background: rgba(0, 0, 0, 0.0) !important;
    position: relative !important;

}

@media (max-width: 480px) {
    .panel-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        justify-content: flex-start;
        height: 100% !important;
        box-sizing: border-box !important;
        background: rgba(0, 0, 0, 0.0) !important;
        
        position: relative !important;
    
        
 
    }
} 

.panel-content .wrap {
    
    width: 100% !important;
    margin: 0 auto !important;
    color: #fff !important;
    word-wrap: keep-all !important;
    padding-left: 1em !important;   
    padding-right: 1em !important;
  
}

.wrap {
    padding-left: 1em !important;   
    padding-right: 1em !important;
    word-wrap: keep-all !important;
}

/* Asegurar que no haya scroll horizontal solo en la portada */
.twentyseventeen-front-page html, 
.twentyseventeen-front-page body {
    overflow-x: hidden !important;
}



/* Ajustar el contenedor principal para las secciones */
.twentyseventeen-front-page .site-content {
    padding: 0 !important;
    margin: 0 !important;
}

/* Eliminar bordes entre secciones */
.twentyseventeen-front-page article:not(.has-post-thumbnail):not(:first-child) {
    border-top: none !important;
}

/* ========================================
   NAVEGACIÓN SUPERIOR (navigation-top)
   ======================================== */
.navigation-top {
    width: 100vw;
    background: #333333;
    border-bottom: 1px solid #fff;
    position: static;
    margin: 0;
    padding: 0;
    box-shadow: none;
}

.navigation-top > div {
    background: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: none;
}

.main-navigation,
.menu-menu-principal-container {
    width: 100% !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

.site-logo {
    margin-right: 2rem;
}

@media screen and (max-width: 768px) {
    .navigation-top {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        background: #222;
        border-bottom: 1px solid #fff;
        z-index: 1000;
        margin: 0;
        padding: 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .navigation-top > div {
        background: #222;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100vw;
        margin: 0;
        padding: 0 1rem;
        max-width: none;
        height: 56px;
    }
    .site-logo {
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: auto;
        height: 56px;
        padding-left: 8px;
    }
    .site-logo img {
        max-height: 40px;
        width: auto;
    }
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: #222;
        color: #fff;
        border: none;
        padding: 0;
        border-radius: 4px;
        font-size: 0;
        width: 48px;
        height: 48px;
        cursor: pointer;
        margin: 0;
    }
    .menu-toggle svg, .menu-toggle i {
        font-size: 2rem !important;
    }
    .main-navigation {
        width: 100vw;
        background: #222;
        position: absolute;
        top: 56px;
        left: 0;
        z-index: 999;
    }
    .main-navigation ul.menu {
        width: 100vw;
        background: #222;
        padding: 0;
        margin: 0;
        display: none;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    .main-navigation.toggled-on ul.menu {
        display: flex;
    }
    .main-navigation ul.menu li {
        width: 100vw;
        text-align: center;
        border-bottom: 1px solid #444;
    }
    .main-navigation ul.menu li:last-child {
        border-bottom: none;
    }
    .main-navigation ul.menu li a {
        display: block;
        width: 100vw;
        padding: 1rem 0;
        color: #fff;
        font-size: 1.1rem;
    }
    .custom-header,
    .custom-header-media {
        width: 100vw !important;
        min-height: calc(100vh - 56px) !important;
        height: calc(100vh - 56px) !important;
        position: relative !important;
        overflow: hidden !important;
        display: block !important;
        margin-top: 56px !important;
    }
    .custom-header-media img,
    .custom-header-media video,
    .custom-header-media iframe {
        width: 100vw !important;
        height: 100% !important;
        min-height: calc(100vh - 56px) !important;
        max-width: 100vw !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        position: relative !important;
    }
}

/* Siempre muestra el botón hamburguesa en móvil */
.menu-toggle {
    display: none;
}
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block !important;
    }
}

/* Oculta el menú por defecto en móvil, solo visible con toggled-on */
@media screen and (max-width: 768px) {
    .main-navigation ul.menu {
        display: none;
    }
    .main-navigation.toggled-on ul.menu {
        display: flex;
    }
}

/* Elimino reglas duplicadas, innecesarias o que mezclan fondos y max-width en la navegación */

/* Menú como overlay en la parte inferior de la imagen de cabecera */
.site-header {
    position: relative;
}
.twentyseventeen-front-page .custom-header-media {
    position: relative !important;
    overflow: hidden !important;
}
.navigation-top {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1001;
    background: rgba(255,255,255,0.85);
    box-shadow: none;
    transition: all 0.2s;
    background: #333333!important;
}
.navigation-top.sticky-menu {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: auto;
    width: 100%;
    z-index: 1002;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Replica el comportamiento de .wrap para el div interior de .navigation-top */
.navigation-top > div {
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
    padding-left: 2em;
    padding-right: 2em;
}

@media screen and (min-width: 48em) {
    .navigation-top > div {
        max-width: 1000px;
        padding-left: 3em;
        padding-right: 3em;
    }
}

/* Responsive para móviles */
@media screen and (max-width: 768px) {
  
    
    /* Botón del menú a la derecha */
    .twentyseventeen-front-page .menu-toggle {
        float: right !important;
        background: #333333!important;
        color: #fff !important;
        border: none !important;
        padding: 0.5rem 1rem !important;
        border-radius: 4px !important;
        margin-bottom: 1rem !important;
        margin-top: 1rem !important;
    }
    
    /* Menú desplegado simple */
    .twentyseventeen-front-page .main-navigation.toggled-on {
        background: #333333;
        margin-top: 1rem !important;
        padding: 1rem !important;
        border: 0px !important;
    }
    
    /* Asegurar que el contenedor del menú tenga posición relativa */
    .twentyseventeen-front-page .main-navigation {
        position: relative !important;
    }
    
    /* Posicionar el menú desplegado debajo del botón */
    .twentyseventeen-front-page .main-navigation.toggled-on ul.nav-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: #333 !important;
        margin-top: 0.5rem !important;
        border-radius: 4px !important;
        z-index: 1000 !important;
    }
    
    .twentyseventeen-front-page .main-navigation.toggled-on ul.nav-menu {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .twentyseventeen-front-page .main-navigation.toggled-on li {
        margin: 0 !important;
        border-bottom: 1px solid #555 !important;
    }
    
    .twentyseventeen-front-page .main-navigation.toggled-on li:last-child {
        border-bottom: none !important;
    }
    
    .twentyseventeen-front-page .main-navigation.toggled-on a {
        display: block !important;
        padding: 1rem !important;
        color: #fff !important;
        text-decoration: none !important;
    }
    
    .twentyseventeen-front-page .main-navigation.toggled-on a:hover {
        background: #555 !important;
    }
    
    /* Ocultar menú cuando no está desplegado */
    .twentyseventeen-front-page .main-navigation:not(.toggled-on) ul.nav-menu {
        display: none !important;
    }
    
    /* Logo del sitio a la izquierda */
    .twentyseventeen-front-page .site-logo {
        float: left !important;
        margin-right: 1rem !important;
    }
    
    .twentyseventeen-front-page .site-logo .custom-logo-link img {
        max-height: 65px !important;
        width: auto !important;
        display: block !important;
    }
    
    .twentyseventeen-front-page .site-logo .site-title {
        font-size: 1.2rem !important;
        color: #fff !important;
        margin: 0 !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    }
}

/* Logo del sitio en pantallas grandes */
.site-logo {
    float: left !important;
    margin-right: 2rem !important;
    position: relative !important;
    z-index: 1001 !important;
}

.site-logo .custom-logo-link img {
    max-height: 50px !important;
    width: auto !important;
    display: block !important;
}

.site-logo .site-title {
    font-size: 1.5rem !important;
    color: #fff !important;
    margin: 0 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* Asegurar que la navegación principal esté a la derecha del logo solo en desktop */
@media screen and (min-width: 769px) {
    .main-navigation {
        float: right !important;
        clear: none !important;
    }
}





/* ========================================
   MEJORAS PARA IMÁGENES DESTACADAS
   ======================================== */




/* Efecto de overlay para mejorar la legibilidad */
.panel-image:before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 100%) !important;
    z-index: 1 !important;
}

/* Asegurar que el contenido esté por encima del overlay */
.panel-content {
    z-index: 3 !important;
}

/* ========================================
   ANIMACIONES Y EFECTOS VISUALES (OPTIMIZADAS)
   ======================================== */

/* Efecto de carga para imágenes (optimizado) */
.panel-image {
    opacity: 1;
    transition: opacity 0.8s ease-in-out; /* Reducido de 1s */
    will-change: opacity;
}

.panel-image.loaded {
    opacity: 1;
}



/* Efecto de brillo en hover (optimizado) */
.panel-content .entry-title:hover {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 255, 255, 0.2); /* Reducido el brillo */
    transition: text-shadow 0.2s ease-in-out; /* Reducido de 0.3s */
}

/* Efecto de pulsación para botones de navegación */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.section-nav-btn.active {
    animation: pulse 2s infinite !important;
}

/* Efecto de desenfoque para imágenes de fondo */
.panel-image {
    filter: none !important;
    transition: none !important;
}

.twentyseventeen-panel:hover .panel-image {
    filter: none !important;
}

/* Efecto de gradiente dinámico */
.panel-image:before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%) !important;
    transition: background 0.3s ease-in-out !important;
}

.twentyseventeen-panel:hover .panel-image:before {
    background: transparent !important;
}

/* Efecto de scroll suave */
html {
    scroll-behavior: smooth !important;
}


/* Efecto de scroll parallax mejorado */
.panel-image {
    will-change: transform !important;
}

/* Optimización para dispositivos móviles */
@media (max-width: 768px) {
    .panel-image:hover {
        transform: none !important;
    }
    
    .panel-image:before {
        background: rgba(0, 0, 0, 0.5) !important;
    }
    
    .twentyseventeen-panel:hover .panel-image {
        filter: none !important;
    }
}

/* Efecto de cursor personalizado para enlaces */
.panel-content a {
    cursor: pointer !important;
    position: relative !important;
}

.panel-content a::after {
    content: "" !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: #fff !important;
    transition: width 0.3s ease-in-out !important;
}

.panel-content a:hover::after {
    width: 100% !important;
}

/* ========================================
   ESTILOS PARA ANCLAJES DE PÁGINAS
   ======================================== */

/* Offset para navegación por anclajes - aplicado directamente a los paneles */
.twentyseventeen-panel {
    scroll-margin-top: 40px; /* Desktop */
}

/* Offset específico para móviles */
@media (max-width: 768px) {
    .twentyseventeen-panel {
        scroll-margin-top: 35px !important; /* Offset para que se vea el panel-content completo */
    }
}

@media (max-width: 480px) {
    .twentyseventeen-panel {
        scroll-margin-top: 30px !important; /* Offset para que se vea el panel-content completo */
    }
}

/* Scroll suave para anclajes */
html {
    scroll-behavior: smooth;
}

/* Estilos para enlaces con anclajes */
.anchor-link {
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.anchor-link:hover {
    color: #667eea;
    transform: translateY(-1px);
}

.anchor-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.anchor-link:hover::after {
    width: 100%;
}

/* Indicador visual para anclajes activos */
.anchor-link.active {
    color: #667eea;
    font-weight: 600;
}

.anchor-link.active::after {
    width: 100%;
}

/* Estilos para enlaces de anclaje en el contenido */
.content-anchor-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 10px 5px;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.content-anchor-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Estilos para tooltips de anclajes */
.anchor-tooltip {
    position: relative;
    display: inline-block;
}

.anchor-tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1002;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

.anchor-tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.anchor-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Estilos para la lista de anclajes en widgets */



.widget {
    padding-bottom: 0px!important;
    padding-top: 0px!important;
}
.wp-block-media-text {
    margin-bottom:  0px!important;
}


.widget-anchor-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget-anchor-list li {
    margin: 8px 0;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 3px solid #667eea;
    transition: all 0.3s ease;
}

.widget-anchor-list li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.widget-anchor-list a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.widget-anchor-list a:hover {
    color: #667eea;
}

/* Estilos para anclajes en el menú de navegación */
.main-navigation .anchor-menu-item {
    position: relative;
}

.main-navigation .anchor-menu-item::before {
    content: "🔗";
    margin-right: 5px;
    font-size: 12px;
    opacity: 0.7;
}

/* Estilos específicos para anclajes en el menú de la página principal */
.main-navigation[data-menu-type="front-page-menu"] .has-anchor > a {
    position: relative;
    transition: all 0.3s ease;
}

.main-navigation[data-menu-type="front-page-menu"] .has-anchor > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.main-navigation[data-menu-type="front-page-menu"] .has-anchor > a:hover::after {
    width: 100%;
}

.main-navigation[data-menu-type="front-page-menu"] .has-anchor > a:hover {
    color: #667eea;
    transform: translateY(-1px);
}

/* Indicador visual para anclajes en el menú */
.main-navigation[data-menu-type="front-page-menu"] .has-anchor > a::before {
    content: "🔗";
    margin-right: 5px;
    font-size: 12px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.main-navigation[data-menu-type="front-page-menu"] .has-anchor > a:hover::before {
    opacity: 1;
}

/* Animación para enlaces de anclaje activos */
.main-navigation[data-menu-type="front-page-menu"] .has-anchor.current-menu-item > a {
    color: #667eea;
    font-weight: 600;
}

.main-navigation[data-menu-type="front-page-menu"] .has-anchor.current-menu-item > a::after {
    width: 100%;
}

/* Responsive para anclajes en menú */
@media screen and (max-width: 768px) {
    .main-navigation[data-menu-type="front-page-menu"] .has-anchor > a::before {
        font-size: 10px;
    }
    
    .main-navigation[data-menu-type="front-page-menu"] .has-anchor > a::after {
        height: 1px;
    }
}

/* Estilos para anclajes en el footer */
.footer-anchor-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.footer-anchor-links a {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 5px 10px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.footer-anchor-links a:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

/* ========================================
   SOBRESCRITURA DE ESTILOS DEL TEMA PADRE
   ======================================== */

/* Cambiar height: 100% por 100vh en el site-branding */
.has-header-image.twentyseventeen-front-page .site-branding,
.has-header-video.twentyseventeen-front-page .site-branding,
.has-header-image.home.blog .site-branding,
.has-header-video.home.blog .site-branding {
    display: table-cell !important;
    height: 90vh !important;
    vertical-align: bottom !important;
}

/* ========================================
   FUENTE PERSONALIZADA PARA EL TÍTULO DEL SITIO
   ======================================== */

/* Aplicar la fuente personalizada al título del sitio */
.site-title.marielaherrera-custom-font {
    font-family: "AmsterdamFourSlant", cursive !important;
    font-weight: normal !important;
    font-style: normal !important;
    letter-spacing: 1px !important;
    text-transform: none !important;
}

/* Efecto hover para el título */
.site-title.marielaherrera-custom-font a:hover {
    color: #dfb576!important;
    transform: scale(1.05) !important;
    text-shadow: 2px 2px 4px rgba(102, 126, 234, 0.3) !important;
}

/* Responsive para la fuente personalizada */
@media screen and (max-width: 768px) {
    .site-title.marielaherrera-custom-font {
        font-size: 1.5rem !important;
        letter-spacing: 0.5px !important;
        padding-left: 20px;
    }
}

@media screen and (max-width: 480px) {
    .site-title.marielaherrera-custom-font {
        font-size: 1.6rem !important;
        letter-spacing: 0.6px !important;
        padding-left: 20px;
    }
} 

.site-description {
    font-family: "LoversQuarrel" !important;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 2px !important;
    text-transform: none !important;
    padding-bottom: 20px;
    padding-top: 21px;
    padding-left: 10px;
    margin-bottom: 5px;
    color: #fff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-size: 2.8rem !important;
}

/* Aplica cosas al logo del sitio */

.custom-logo-link img {
    display: inline-block;
    max-height: 80px;
    width: auto;
}

/* ========================================
   CENTRAR SITE BRANDING EN EL CUSTOM HEADER
   ======================================== */

/* Asegurar que el custom-header ocupe toda la pantalla */
.custom-header {
    width: 100% !important;
    height: 99vh !important;
    min-height: 99vh !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Sobrescribir los estilos del tema padre para la imagen del custom-header */
.has-header-image .custom-header-media img,
.has-header-video .custom-header-media video,
.has-header-video .custom-header-media iframe {
    position: absolute !important;
    height: 100% !important;
    width: 100% !important;
    left: 0 !important;
    top: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
    min-width: auto !important;
    max-width: none !important;
}

/* Centrar el site-branding dentro del custom-header */
.site-branding {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 10 !important;
}

/* Asegurar que el contenido del site-branding esté centrado */
.site-branding .wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 800px !important;
    padding: 2rem !important;
    box-sizing: border-box !important;
    height: 100% !important;
}



/* Responsive para móviles */
@media screen and (max-width: 768px) {
    .site-branding .wrap {
        max-width: 100% !important;
        padding: 1rem !important;
    }
    
    .site-branding .custom-logo-link {
        margin-bottom: 1rem !important;
        margin-top: 1rem !important;
    }
}

/* ========================================
   BOTÓN DE SCROLL PERSONALIZADO
   ======================================== */

.marielaherrera-scroll-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.marielaherrera-scroll-button.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.marielaherrera-scroll-button .scroll-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.marielaherrera-scroll-button .scroll-to-top:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
    color: #fff;
    text-decoration: none;
}

.marielaherrera-scroll-button .scroll-to-top .icon {
    width: 20px;
    height: 20px;
    /* Eliminar cualquier rotación para que la flecha apunte hacia arriba */
    transform: none !important;
    fill: currentColor;
}

/* Responsive para el botón de scroll */
@media screen and (max-width: 768px) {
    .marielaherrera-scroll-button {
        bottom: 20px;
        right: 20px;
    }
    
    .marielaherrera-scroll-button .scroll-to-top {
        width: 45px;
        height: 45px;
    }
    
    .marielaherrera-scroll-button .scroll-to-top .icon {
        width: 18px;
        height: 18px;
    }
}

@media screen and (max-width: 480px) {
    .marielaherrera-scroll-button {
        bottom: 15px;
        right: 15px;
    }
    
    .marielaherrera-scroll-button .scroll-to-top {
        width: 40px;
        height: 40px;
    }
    
    .marielaherrera-scroll-button .scroll-to-top .icon {
        width: 16px;
        height: 16px;
    }
}

/* Variantes de color para el botón de scroll */
.marielaherrera-scroll-button.variant-primary .scroll-to-top {
    background-color: rgba(118, 126, 118, 0.9);
}

.marielaherrera-scroll-button.variant-primary .scroll-to-top:hover {
    background-color: rgba(118, 126, 118, 1);
}

.marielaherrera-scroll-button.variant-accent .scroll-to-top {
    background-color: rgba(102, 126, 234, 0.9);
}

.marielaherrera-scroll-button.variant-accent .scroll-to-top:hover {
    background-color: rgba(102, 126, 234, 1);
}

/* Animación de pulso para llamar la atención */
@keyframes scrollButtonPulse {
    0% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}

.marielaherrera-scroll-button.pulse .scroll-to-top {
    animation: scrollButtonPulse 2s infinite;
}

/* ========================================
   PERSONALIZACIÓN DEL PRIMER PANEL
   ======================================== */

/* Estilos específicos para el primer panel */
.twentyseventeen-front-page .twentyseventeen-panel:first-child {
    position: relative !important;
    min-height: 100vh !important;
    height: 100vh !important;
    width: 100%;
}


@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Excerpt especial para el primer panel */
.first-panel-excerpt {
    font-size: 1.5rem !important;
    line-height: 1.8 !important;
    font-weight: 400 !important;
    margin: 3rem auto !important;
    padding: 2.5rem 0 !important;
    border-top: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4) !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: excerptSlideIn 1.5s ease-out 0.3s both !important;
}

@keyframes excerptSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Texto del primer panel */
.first-panel-text {
    font-size: 1.2rem !important;
    line-height: 1.7 !important;
    margin: 2rem 0 !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: textSlideIn 1.5s ease-out 0.5s both !important;
}

@keyframes textSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Acciones del primer panel */
.first-panel-actions {
    margin-top: 3rem !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: actionsSlideIn 1.5s ease-out 0.7s both !important;
}

@keyframes actionsSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botón de acción del primer panel */
.scroll-to-next-panel {
    display: inline-block !important;
    padding: 1rem 2rem !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    text-decoration: none !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 50px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
}

.scroll-to-next-panel:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* Responsive para el primer panel */
@media screen and (max-width: 768px) {
    .panel-content .entry-title,
    .first-panel .entry-title {
        font-size: 2.5rem !important;
        flex-direction: column !important;
    justify-content: center !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
    background: rgba(0, 0, 0, 0.0) !important;
    }
    
    .first-panel-excerpt {
        font-size: 1.3rem !important;
        padding: 2rem 0 !important;
        margin: 2rem auto !important;
    }
    
    .first-panel-text {
        font-size: 1.1rem !important;
    }
    
    .scroll-to-next-panel {
        padding: 0.8rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

@media screen and (max-width: 480px) {
    .panel-content .entry-title,
    .first-panel .entry-title {
        font-size: 3rem !important;
        padding-top: 1.5em!important;
        
    }
    
    .first-panel-excerpt {
        font-size: 1.1rem !important;
        padding: 1.5rem 0 !important;
    }
    
    .first-panel-text {
        font-size: 1rem !important;
    }
    
    .scroll-to-next-panel {
        padding: 0.7rem 1.2rem !important;
        font-size: 0.9rem !important;
    }
}

/* ========================================
   VISIBILIDAD DEL CONTENIDO - PRIORIDAD MÁXIMA
   ======================================== */









/* ========================================
   CLASES DE FUENTES PERSONALIZADAS
   ======================================== */

/* Clase para usar la fuente Quentin */
.first-panel-title {
    font-family: "Quentin", serif !important;
    color: #c59d5f !important;
    display: block !important;
    font-size: 4.125rem !important; /* 66px convertido a rem (66/16) */
    font-style: normal !important;
    font-weight: 100 !important;
    letter-spacing: 0 !important;
    line-height: 1em !important;
    white-space: nowrap !important;
    text-transform: none !important;
}

.first-panel .entry-title {
    font-family: "Quentin", serif !important;
    color: #c59d5f !important;
    font-style: normal !important;
    font-weight: 100 !important;
    letter-spacing: 0 !important;
    line-height: 0.1em !important;
    white-space: nowrap !important;
    text-transform: none !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9) !important;
    margin-bottom: 2rem !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: titleSlideIn 1.2s ease-out !important;
    font-size: 12rem!important;
}

/* ========================================
   BLOQUE HERO - ESTILOS ELIMINADOS
   ========================================
   Los estilos del bloque hero se han movido al archivo style-index.css
   del bloque para evitar conflictos de especificidad CSS.
   ======================================== */

/* ========================================
   FOOTER PERSONALIZADO
   ======================================== */

.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 0;
    margin: 0;
    position: static !important;
    z-index: auto !important;
    clear: both;
    width: 100%;
}

/* Asegurar espacio entre el contenido y el footer */
body:not(.twentyseventeen-front-page) main.site-main {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
}

body:not(.twentyseventeen-front-page) .entry-content {
    margin-bottom: 3rem;
}

/* Asegurar que el footer esté por encima de las imágenes de fondo fijo pero no tape el contenido */
body:not(.twentyseventeen-front-page) .site-footer {
    position: static !important;
    z-index: auto !important;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    margin-top: 0rem;
}

/* Eliminar el layout flexbox problemático */
body:not(.twentyseventeen-front-page) {
    min-height: auto;
    display: block;
}

body:not(.twentyseventeen-front-page) .site-content {
    flex: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 4rem 0 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: "Quentin", serif;
    color: #c59d5f;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #c59d5f, #e6b17a);
}

/* Sección de contacto */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    color: #c59d5f;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-item a,
.contact-item span {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #c59d5f;
}

/* Sección de enlaces rápidos */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-menu a::before {
    content: '→';
    color: #c59d5f;
    margin-right: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: #c59d5f;
    padding-left: 1rem;
}

.footer-menu a:hover::before {
    opacity: 1;
}

/* Sección de redes sociales */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(197, 157, 95, 0.1);
    border: 2px solid #c59d5f;
    border-radius: 50%;
    color: #c59d5f;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 157, 95, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-links a:hover {
    background: #c59d5f;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 157, 95, 0.3);
}

.social-links a:hover::before {
    left: 100%;
}

.social-links i {
    font-size: 1.2rem;
    z-index: 1;
    position: relative;
}

/* Información del sitio */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.copyright {
    color: #cccccc;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-link {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #c59d5f;
}

.footer-link-separator {
    color: #666666;
    font-size: 0.85rem;
}

.powered-by {
    color: #cccccc;
    font-size: 0.85rem;
    text-align: right;
}

.powered-by a {
    color: #c59d5f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.powered-by a:hover {
    color: #e6b17a;
}

.powered-by i {
    color: #ff6b6b;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive para el footer */
@media screen and (max-width: 768px) {
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0 1.5rem;
    }
    
    .footer-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .powered-by {
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .footer-content {
        padding: 2rem 0 1rem;
    }
    
    .footer-title {
        font-size: 1.3rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
    }
    
    .social-links i {
        font-size: 1rem;
    }
}

/* Animaciones para el footer */
.footer-section {
    opacity: 0;
    transform: translateY(20px);
    animation: footerFadeIn 0.8s ease forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }

@keyframes footerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efecto hover para las secciones del footer */
.footer-section:hover .footer-title::after {
    width: 100px;
    transition: width 0.3s ease;
}


/* Horario */
.ficha-horario {
background-color:var(--primary)!important;
color:var(--quinary)!important;
border-color:var(--primary)!important;

}

/* ========================================
   FONDO GLOBAL BLANCO PARA TODO EL SITIO
   ======================================== */

.twentyseventeen-panel,
/* .panel-image, */
.panel-image:before {
    background: transparent !important;
}

.colors-dark .entry-content a,
.colors-dark .entry-summary a,
.colors-dark .comment-content a,
.colors-dark .widget a,
.colors-dark .site-footer .widget-area a,
.colors-dark .posts-navigation a,
.colors-dark .widget_authors a strong {
	-webkit-box-shadow: inset 0 0 0 rgba(240, 240, 240, 0)!important; 
	box-shadow: inset 0 0 0 rgba(240, 240, 240, 0)!important; 
}

.menu-icon {
    margin-right: 0px;
    display: inline-flex;
    vertical-align: middle;
    font-size: 42px!important;
}

/* Alineación vertical homogénea para enlaces del menú principal con icono */
.menu-link-with-icon {
    display: inline-flex;
    align-items: center;
}

/* Forzar mayúsculas en los enlaces del menú principal */
.uppercase {
    text-transform: uppercase;
}

/* =============================
   ANIMACIONES PARA ICONOS MATERIAL EN EL MENÚ
   =============================
   Para usar una animación, añade la clase correspondiente junto a la del icono en el menú:
   Ejemplo: material-symbols-outlined-home animated-bounce
*/

.menu-icon.animated-bounce:hover {
  animation: bounceIcon 0.5s;
}
@keyframes bounceIcon {
  0%   { transform: translateY(0);}
  30%  { transform: translateY(-8px);}
  50%  { transform: translateY(0);}
  70%  { transform: translateY(-4px);}
  100% { transform: translateY(0);}
}

.menu-icon.animated-rotate:hover {
  animation: rotateIcon 0.6s linear;
}
@keyframes rotateIcon {
  from { transform: rotate(0deg);}
  to { transform: rotate(360deg);}
}

.menu-icon.animated-pulse:hover {
  animation: pulseIcon 0.7s;
}
@keyframes pulseIcon {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ============================= */

/* --- Fila logo + botón menú siempre --- */
.navigation-top > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 1em;
}
.site-branding {
  margin: 0;
  display: flex;
  align-items: center;
}
.site-branding .custom-logo-link img {
  max-width: 120px;
  height: auto;
  display: block;
}
.menu-toggle {
  margin-left: 1em;
}

@media screen and (max-width: 768px) {
    .site-header,
    .custom-header {
        margin-top: 0 !important;
        background: transparent !important;
        position: static !important;
    }
    .custom-header,
    .custom-header-media {
        height: 100vh !important;
        min-height: 100vh !important;
        width: 100vw !important;
        margin-top: 0 !important;
        position: relative !important;
        overflow: hidden !important;
    }
    .has-header-image.twentyseventeen-front-page .site-branding,
    .has-header-video.twentyseventeen-front-page .site-branding,
    .has-header-image.home.blog .site-branding,
    .has-header-video.home.blog .site-branding {
        height: 100vh !important;
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
    }
}

/* Overlay de cuadritos oscuros para el masthead */
.custom-header-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 2;
    pointer-events: none;
    background-color: rgba(0,0,0,0.35);
    /* Microcuadros: 4px x 4px */
    background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.10) 0, rgba(0,0,0,0.10) 2px, transparent 2px, transparent 4px),
                      repeating-linear-gradient(0deg, rgba(0,0,0,0.10) 0, rgba(0,0,0,0.10) 2px, transparent 2px, transparent 4px);
    background-size: 4px 4px;
}

/* ========================================
   MENÚ STICKY COMO TEMA PADRE
   ======================================== */

/* Permitir que el menú sticky funcione */
.custom-header {
    overflow: visible !important;
}

/* Menú sticky - al pie del masthead */
#main-sticky-menu {
    position: relative;
    width: 100%;
    background: #222;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

entry-title:not(.home) {
    padding-top: 1.5em !important; /* Ajustar según la altura del menú */
}








/* En páginas y posts que no son la página de inicio, el menú es sticky por defecto */
body:not(.home) #main-sticky-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Añadir padding-top al body para que el contenido no quede oculto detrás del menú sticky */
body:not(.home) {
    padding-top: 1.5em!important; /* Ajustar según la altura del menú */
}

@media (max-width: 800px) {
    body:not(.home) {
        padding-top: 70px; /* Menor padding en móviles */
    }
}

/* Cuando se hace scroll, el menú se vuelve sticky */
#main-sticky-menu.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Estilos del menú sticky */
.sticky-menu-inner {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: stretch;
}
.sticky-logo {
    display: flex;
    align-items: center;
}
.sticky-logo img {
    max-height: 50px;
    width: auto;
    padding-left: 1em;
}
.sticky-menu-links {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}
.sticky-menu-links li {
    display: flex;
    align-items: center;
    border-color: #c59d5f;
    border-width: 5px;
}
.sticky-menu-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    padding: 8px 0;
    transition: color 0.2s;
}
.sticky-menu-links a:hover {
    color: #f7c873;
}
@media (max-width: 800px) {
    .sticky-menu-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: auto;
        padding: 8px 12px;
    }
    .sticky-logo {
        margin-bottom: 0;
        flex: 0 0 auto;
    }
    /* Ocultar menú principal en móvil */
    .sticky-menu-links {
        display: none !important;
    }
    .hamburger-btn {
        display: flex !important;
        background: none;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 8px;
        border-radius: 4px;
        transition: background-color 0.2s;
    }
    
    .hamburger-btn:hover {
        background-color: rgba(255,255,255,0.1);
    }
}
@media (min-width: 801px) {
    .drawer-menu, .drawer-backdrop {
        display: none !important;
    }
    .hamburger-btn {
        display: none !important;
    }
}

.drawer-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 280px;
    height: 100vh;
    background: #232323;
    box-shadow: -2px 0 16px rgba(0,0,0,0.18);
    z-index: 10002;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    transition: right 0.3s cubic-bezier(.4,0,.2,1);
}
.drawer-menu.open {
    right: 0;
}
.close-drawer {
    background: none;
    border: none;
    color: #fff;
    font-size: 2em;
    position: absolute;
    top: 18px;
    right: 18px;
    cursor: pointer;
    z-index: 10003;
}
.drawer-menu-links {
    list-style: none;
    padding: 64px 0 0 32px;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.drawer-menu-links a {
    color: #fff;
    font-size: 1.2em;
    text-decoration: none;
    transition: color 0.2s;
    padding: 8px 0;
}
.drawer-menu-links a:hover {
    color: #f7c873;
}

/* Backdrop del drawer menu */
.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   CENTRAR SITE BRANDING EN EL CUSTOM HEADER
   ======================================== */

@media (max-width: 800px) {
  #main-sticky-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 10000;
    width: 100vw;
  }
 
}
@media (min-width: 801px) {
  #main-sticky-menu {
    position: relative;
    top: unset;
    width: 100%;
  }
  #main-sticky-menu.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }
  body {
    padding-top: 0 !important;
  }
}

@media (max-width: 800px) {
  .drawer-menu {
    background: #232323;
    box-shadow: -2px 0 16px rgba(0,0,0,0.18);
    border-radius: 0 12px 12px 0;
    padding-top: 32px;
    padding-bottom: 32px;
    min-width: 220px;
    max-width: 320px;
    width: 80vw;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: right 0.3s cubic-bezier(.4,0,.2,1);
  }
  .drawer-menu-links {
    padding: 32px 0 0 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .drawer-menu-links a {
    color: #fff;
    font-size: 1.2em;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    margin: 0 12px;
    display: block;
  }
  .drawer-menu-links a:hover,
  .drawer-menu-links a:active {
    background: #333;
    color: #f7c873;
  }
  .close-drawer {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #232323;
    border: none;
    color: #fff;
    font-size: 2.2em;
    cursor: pointer;
    z-index: 10003;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background 0.2s;
  }
  .close-drawer:hover {
    background: #333;
    color: #f7c873;
  }
}

@media (max-width: 800px) {
  .sticky-menu-inner {
    position: relative;
  }
  .hamburger-btn,
  .close-drawer {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10003;
    background: #232323;
    border: none;
    color: #fff;
    font-size: 2.2em;
    cursor: pointer;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background 0.2s;
  }
  .close-drawer {
    display: none;
  }
  .drawer-menu.open ~ .close-drawer,
  .close-drawer.open {
    display: flex !important;
  }
  .hamburger-btn.open,
  .drawer-menu.open ~ .hamburger-btn {
    display: none !important;
  }
}

/* ===== Menú hamburguesa que despliega hacia abajo ===== */
.main-mobile-menu {
  width: 100%;
  background: #222;
  z-index: 1000;
  position: relative;
}
.mobile-menu-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  position: relative;
}
.mobile-logo img {
  max-height: 48px;
  width: auto;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.1em 1em;
}
.mobile-menu-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  transition: max-height 0.3s;
}
.mobile-menu-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
  padding: 8px 0;
  transition: color 0.2s;
}
.mobile-menu-links li a:hover {
  color: #f7c873;
}
@media (max-width: 800px) {
  .mobile-menu-inner {
    flex-direction: row;
    height: auto;
    padding: 8px 12px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #222;
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 1001;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 0 0 12px 12px;
  }
  .mobile-menu-links.open {
    display: flex;
  }
  .mobile-menu-links li {
    border-bottom: 1px solid #444;
    text-align: center;
  }
  .mobile-menu-links li:last-child {
    border-bottom: none;
  }
}

/* Sticky en escritorio */
@media (min-width: 801px) {
  #main-sticky-menu {
    position: relative;
    top: unset;
    width: 100%;
    z-index: 1000;
    background: #111;
    transition: all 0.3s;
    
  }
  #main-sticky-menu.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    justify-content: space-between;


    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .sticky-menu-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;


    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
  }
  .sticky-logo img {
    max-height: 100px;
    width: auto;
  }
  .mobile-menu-toggle {
    display: none;
  }
  .sticky-menu-links {
    display: flex !important;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;

  }
  .sticky-menu-links li a {
    font-family: 'Quentin', serif;
    text-decoration: none;
    font-size: 1.5em;
    padding: 10px;
    background: #333;
    color: #c59d5f;
    text-shadow: 1px 1px 2px rgb(43, 39, 30);
    border-radius: 12px;
    transition: color 0.3s, background 0.3s;
    display: block;
  }
  .sticky-menu-links li a:hover {
    color: #fff;
    background: #c59d5f;
  }
}

/* Menú hamburguesa en móvil */
@media (max-width: 800px) {
  .sticky-menu-inner {
    flex-direction: row;
    height: auto;
    padding: 8px 12px;
    position: relative;
  }
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1003;
  }
  .sticky-menu-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #222;
    position: absolute;
    top: 95px;
    left: 0;
    z-index: 1001;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    
    margin: 0;
    padding: 1em 1em;
    list-style: none;
  }
  .sticky-menu-links.open {
    display: flex;
  }
  .sticky-menu-links li {
   
    text-align: center;
  }
  .sticky-menu-links li:last-child {
    border-bottom: none;
  }
  .sticky-menu-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
    padding: 14px 15px;
    transition: color 0.2s;
    display: block;
    font-family: 'Quentin', serif;
    color: #c59d5f;
  }
  .sticky-menu-links li a:hover {
    color: #f7c873;
    background: #333;
  }
}

/* Forzar despliegue del menú hamburguesa en móvil */
@media (max-width: 800px) {
  .sticky-menu-links.open {
    display: flex !important;
  }
}

/* Borde dorado para el botón del menú activo */
.sticky-menu-links .menu-item.active-section > a {
    border-bottom: 5px solid #c59d5f;
    color: #fff;
}

/* Centrar horizontalmente el título de cada sección/página en la portada */
.panel-content .entry-title,
.first-panel .entry-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    width: 100%;
    padding-top: 0.5em;
}

/* Animaciones para iconos Material en el menú al hacer hover sobre el enlace completo */
.sticky-menu-links a:hover .menu-icon.animated-bounce {
  animation: bounceIcon 0.5s;
}
.sticky-menu-links a:hover .menu-icon.animated-rotate {
  animation: rotateIcon 0.6s linear;
}
.sticky-menu-links a:hover .menu-icon.animated-pulse {
  animation: pulseIcon 0.7s;
}
body:not(.home) .site-main {
    /* height: 100vh !important; */
    /* width: 100vw !important; */
    /* min-height: 100vh !important; */
    /* min-width: 100vw !important; */
    box-sizing: border-box;
}

body:not(.home) .wrap {
   
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
    padding: 0px!important;
}

body:not(.home) .site-content {
    padding: 0 0 0 0!important;
}

body:not(.home) .sticky-menu-links li a, .sticky-menu-links li a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.2em;
    width: 100% !important;
    min-width: 120px;
    max-width: 100%;
    box-sizing: border-box;
}
body:not(.home) .sticky-menu-links, .sticky-menu-links {
    width: 100%;
}
body:not(.home) .sticky-menu-links li, .sticky-menu-links li {
    flex: 1 1 0;
    display: flex;
}

/* Asegurar que no haya scroll horizontal solo en la portada */
.twentyseventeen-front-page html, 
.twentyseventeen-front-page body {
    overflow-x: hidden !important;
}

/* Permitir scroll normal en páginas que no son la portada */
body:not(.twentyseventeen-front-page) html,
body:not(.twentyseventeen-front-page) body {
    overflow-x: auto !important;
    overflow-y: auto !important;
}

/* Posts individuales - imagen de fondo fija en site-content */
body.single-post .site-content {
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative !important;
    min-height: 100vh;
}

body.single-post .panel-content {
    position: relative !important;
    z-index: 2 !important;
}

body.single-post h1.entry-title {
    position: relative !important;
    z-index: 3 !important;
    display: block !important;
    font-size: 3rem;
    color: #fff;
    margin: 1em 0 0.5em 0;
    font-family: "Quentin", serif;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

body.single-post .entry-content,
body.single-post .entry-content * {
    position: relative !important;
    z-index: 3 !important;

    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

body.single-post .entry-content p,
body.single-post .entry-content div,
body.single-post .entry-content h1,
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4,
body.single-post .entry-content h5,
body.single-post .entry-content h6 {

    text-shadow: 1px 1px 2px rgba(0,0,0,0.0);
}

/* Agregar padding lateral a los párrafos de las entradas */
body.single-post .entry-content p {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

/* También aplicar padding a párrafos en páginas que no son la portada */
body:not(.home) .entry-content p {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

/* Responsive para dispositivos móviles */
@media (max-width: 768px) {
    body.single-post .entry-content p,
    body:not(.home) .entry-content p {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    body.single-post .entry-content p,
    body:not(.home) .entry-content p {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

body:not(.home) .site-content {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}

@media (max-width: 800px) {
  .sticky-menu-links {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
  }
  .sticky-menu-links li {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
    text-align: center;
    padding: 0;
  }
  .sticky-menu-links li:last-child {
    border-bottom: none;
  }
  .sticky-menu-links li a {
    width: 100%;
    display: block;
    padding: 14px 0;
  }
}


.subtitulo-inicio{
    font-family: 'Montserrat', serif;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    font-size: 1.5em;
    font-style: normal;
    font-weight: 200;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    padding-bottom: 0.4em;
    line-height: 1.5em;
}

@media (max-width: 480px) {
    .subtitulo-inicio {
        line-height: 1.5em;
        width: 90%;
        font-size: 1.2em!important;
    }
}