/*
Theme Name: Wordpress #012
Theme URI: https://mauuzeta.com
Author: MauuZeta.com
Author URI: https://mauuzeta.com
Description: Wordpress Portal Responsive Premade.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

body {
    color: var(--color-text-dark);
    background-color: var(--color-white-bg);
    font-family: "Raleway", sans-serif; /* Se mantiene esta familia de fuente */
    background-image: repeating-radial-gradient(
        circle at 0 0, 
        transparent 0, 
        transparent 10px, 
        rgba(0, 0, 0, 0.05) 10px, 
        rgba(0, 0, 0, 0.05) 11px
    ); /* Se corrigió el comentario y la sintaxis */
    font-size: 13px;
    font-weight: 500;
	line-height: 170%;
    background-size: 20px 20px; 
}





/* === LATEST VIDEOS SECTION === */

.latest-videos-section {
    max-width: 1300px; /* ¡Error de sintaxis corregido! */
    margin: 50px auto; /* Esta línea centra el elemento */
    padding: 0 20px;
}

.section-title-videos {
    font-size: 16px;
    font-weight: 900;
    color: #444;
    text-transform: uppercase;
    letter-spacing: -1px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-primary, #7f96ce);
    display: flex;
    align-items: center;
}

.icon-circle {
    width: 30px;
    height: 30px;
    background-color: var(--color-primary, #7f96ce);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    position: relative; 
}

.icon-circle:before {
    content: "\f03d"; 
    font-family: 'Font Awesome 6 Free'; 
    font-weight: 900; 
    font-size: 12px;
    color: white; 
    line-height: 1; 
}

.videos-grid-container {
    display: flex;
    gap: 15px; 
    margin-top: 20px;
}

.video-card {
    flex: 1 0 19%;
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0px 0px;
    height: 200px; 
    max-height: 200px; 
}
.video-link {
    display: block;
    position: relative;
    text-decoration: none;
    line-height: 0; 
    height: 100%; 
}

.video-thumbnail {
    width: 100%;
    height: 200px; 
    object-fit: cover; 
    display: block;
    opacity: 0.8; 
    transition: transform 0.3s ease, opacity 0.3s ease; 
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 75%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    align-items: flex-start;
    padding: 10px;
    box-sizing: border-box;
    cursor: pointer;
    opacity: 1; 
    transition: background-color 0.3s ease;
}

.video-title-overlay {
    color: #000;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    width: 100%;
    margin-bottom: 5px;
    text-shadow: none; 
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8); 
    font-size: 50px;
    color: var(--color-primary, #7f96ce);
    opacity: 0; 
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05); 
    opacity: 1; 
}

.video-card:hover .video-overlay {
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 75%);
}

.video-card:hover .play-icon {
    opacity: 1; 
    transform: translate(-50%, -50%) scale(1); 
}

body {
    overflow-x: hidden;
}

@media (max-width: 1299px) {
    .videos-grid-container {
        padding: 0;
        flex-wrap: wrap; 
    }

    .video-card {
        /* 3 columnas */
        flex: 1 0 calc(33.333% - 10px); 
    }
}

@media (max-width: 991px) {
    .video-card {
        /* 2 columnas */
        flex: 1 0 calc(50% - 7.5px); 
    }
    .latest-videos-section {
        margin: 30px auto;
    }
}
@media (max-width: 599px) {
    .video-card {
        /* 1 columna */
        flex: 1 0 100%;
    }
    .videos-grid-container {
        flex-direction: column;
        gap: 20px;
    }
}
 



        a {
            text-decoration: none;
            color: var(--color-text-dark);
        }
        
        /* Contenedor principal para centrar el diseño */
        .main-wrapper {
             max-width: var(--max-width);
             margin: 0 auto;
             width: 100%;
        }















/* --- HEADER + SITE NAME AND SLOGAN --- */
.main-header-nav-container {
    top: 0; 
    width: 100%; 
    z-index: 1000; 
    transition: background-color 0.3s ease, box-shadow 0.3s ease; 
    margin: 0 auto; 
    display: flex;
    justify-content: center; 
    align-items: center; 
    padding: 1%; 
}
.nav-logo-text {
    margin-top:-50px;
    font-size: 4em;
    font-weight: 900;  
    color: var(--color-primary);
    text-align: center; 
    line-height: 1; 
    letter-spacing:-2px;
}
.site-name-slogan{
        font-size: .7em;
            font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 800;
    color: var(--color-gris); 
    text-align: center; 
    line-height: 1; 
    letter-spacing:3px;
    text-transform: uppercase;
  padding:6px;
  margin-top:5px;
    	display: inline-block;
  background-color:#efefef;
      justify-content: center; 
    align-items: center; 
}
/* --- HEADER --- */
.main-header {
    min-height: 700px; 
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/*  Optimización para Móvil */
@media (max-width: 500px) {
    .main-header {
        min-height: 300px;
        height: 300px;
        max-height: 300px; 
    }
}
.header-content {
    position: absolute;
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 1300px; /* Ancho fijo */
    display: flex;
    justify-content: space-between; 
    padding: 0 5%; 
    align-items: flex-end; 
    margin-bottom: 30px; 
    z-index: 2; 
}
.hero-section {
    width: 50%; /* Ocupa la mitad del ancho inferior */
    flex-shrink: 0;
}



/* --- CSS ORIGINAL (SE MANTIENE SIN CAMBIOS) --- */

.main-nav {
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1%;
}

.main-nav ul {
    list-style: none;
    display: flex; /* Horizontal en escritorio */
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
    margin: 0 10px;
}

.main-nav li a {
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 15px;
    font-size: 1em;
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap; /* Esto es problemático en móvil */
    font-weight: bold;
    transition: color 0.3s ease, transform 0.2s ease;
    display: block;
    background-color: rgba(30, 30, 30, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

.main-nav li a:hover {
    color: var(--color-white);
    transform: translateY(-2px);
}

.main-nav li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.main-nav li a:hover::after,
.main-nav li a.active::after {
    width: 70%;
}

/* --- WRAPPER SITE (SE MANTIENE SIN CAMBIOS) --- */
.content-wrapper {
    max-width: var(--max-width);
    margin: 20px auto;
    padding: 0 5%;
}


/* ----------------------------------------------- */
/* OPTIMIZACIÓN SÓLO PARA MÓVIL (Media Query) */
/* ----------------------------------------------- */

@media (max-width: 600px) {
    
    .main-nav {
        display: block;
        padding-top: 10px; /* Reducir el padding superior */
    }

    .main-nav ul {
        flex-direction: column;
        /* Asegúrate de que el contenedor de la lista ocupe el ancho */
        width: 100%;
    }
    
    .main-nav li {
        margin: 5px 0;
        text-align: center;
    }

    .main-nav li a {
        white-space: normal;
        font-size: 0.9em; 
        padding: 12px 10px;
        width: 90%; 
        margin: 5px auto;
        display: block;
    }
    
    .main-nav li a:hover {
        transform: none;
    }
}


/* --- WRAPPER SITE --- */
.content-wrapper {
    max-width: var(--max-width);
    margin: 20px auto;
    padding: 0 5%;
}



/* --- SECCIÓN PRINCIPAL DE NOTICIA DESTACADA --- */
.featured-post-section {
    display: flex;
    background-color: var(--color-primary);
    color: var(--color-white);
    margin-bottom: 20px;
    position: relative;
    height:400px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; 
    border-radius: 20px;
    overflow: hidden; 
}

.featured-image-container {
    flex-shrink: 0;
    width: 40%;
    height: 100%; 
    position: relative; 
}

.featured-image-big {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease; 
}

/* 1. AGREGANDO EL EFECTO DE GRADIENTE DE DIFUMINADO */
.featured-image-container::after {
    content: ''; 
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30%; 
    background: linear-gradient(to right, 
                                transparent 0%, 
                                var(--color-primary) 100%); 
    pointer-events: none; /* No interfiere con clics */
    z-index: 2;
}


.featured-text-content {
    padding: 30px;
    width: 60%; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    overflow-y: auto; 
}


/* * Ajuste para el extracto (featured-excerpt) * */
.featured-excerpt {
font-size: 0.7em;
}

.destaques-tag {
    position: absolute;
    top: 30px; 
    left: -10px; 
    padding: 5px 25px;
    background-color: var(--color-pink); 
    color: var(--color-white);
    font-size: 0.8em;
    font-weight: bold;
    z-index: 10;
}

.meta-info {
    font-size: 0.7em;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
        font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}
.meta-info-date {
    padding:6px;
    border-radius:4px;
    border:1px solid var(--color-white);
    color: rgba(255, 255, 255, 0.8);
        display: inline-block;
}
.meta-info-author {
    padding:6px;
    border-radius:4px;
    border:1px solid var(--color-white);
    color: rgba(255, 255, 255, 0.8);
        display: inline-block;
}
.featured-title {
    font-size: 2em;
    line-height:28px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    margin-bottom:10px;
    font-family: "DM Sans", sans-serif;
    font-weight:900;
    LETTER-SPACING:-2PX;
}

.website-note {
    font-size: 0.7em;
    margin-top: 15px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
}

.btn-more {
    align-self: flex-start;
    padding: 10px 20px;
    background-color: var(--color-white);
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s;
    border-radius:20px;
}



/* --- CUADRÍCULA DE NOTICIAS (MODIFICACIÓN A 3 COLUMNAS) --- */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr); 
            gap: 20px;
            margin-bottom: 40px; 
        }
        
        
        
        
/* ========================================================= */
/* --- TARJETA DE NOTICIAS (.news-card) --- */
/* ========================================================= */

.news-card {
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1); 
    border-radius: 12px;
    transition: box-shadow 0.4s ease-out, transform 0.4s ease-out; 
    height: 100%; 
    display: flex;
    flex-direction: column;
    overflow: hidden; 
}

.news-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18); 
    /* Ligero 'levantamiento' */
    transform: translateY(-8px); 
}
.card-image {
    border: none;
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
    object-position: center center; /* Centra horizontalmente, enfoca la parte superior */
}

.card-text {
    padding: 18px 15px; /* Un poco más de padding vertical */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    /* ... (resto de estilos de fuente) ... */
    position: relative; 
    margin-bottom: 25px; 
    text-align: center; 
    letter-spacing:-1px;
    font-size:1.5em;
}

/* 1. Raya Superior (Más corta, Color Primario) */
.card-title::before {
    content: '';
    position: absolute;
    bottom: -8px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 25px; 
    height: 4px; 
    background-color: var(--color-primary, --color-blue); 
    border-radius: 2px;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -15px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 45px; 
    height: 2px; 
    background-color: var(--color-secondary, #999); 
    border-radius: 1px;
}

.card-excerpt {
    font-size: 0.9em;
    color: var(--color-text-light, #666);
    margin-bottom: 12px;
    line-height: 1.5; 
    text-align: justify;
    padding:8px;
}

.card-meta {
    font-size: 0.8em; 
    color: var(--color-text-dark, #333);
    margin-top: auto; 
    font-family: "DM Sans", sans-serif;
    font-weight:900;
    text-transform:uppercase;
    background-color: var(--color-secondary, #f7f7f7); /* Fondo muy claro y sutil */
    border-top: none; 
    padding: 10px 15px; 
    border-radius: 0 0 10px 10px; 
    display: flex;
    justify-content: space-between;
    font-weight: 700; /* Ajustado a un valor más legible para el peso */
    text-transform: uppercase;
    gap: 10px; 
}

.card-meta > span {
    background-color: var(--color-white); 
    color: var(--color-primary, --color-blue); /* Texto con color de acento */
    padding: 3px 8px; /* Padding ajustado para la forma de píldora */
    border-radius: 50px; /* Bordes muy redondeados para el efecto píldora */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); 
    font-size: 1em; /* Ligeramente más pequeño que el contenedor */
    line-height: 1;
    display: inline-block;
    flex-shrink: 0; /* Asegura que no se encojan */
}

.card-meta .meta-category {
    background-color: var(--color-primary, --color-blue);
    color: var(--color-white);
}

/* ========================================================= */
/* --- BLOQUE DESTACADO (LIZ GILLIES) --- */
/* ========================================================= */

.wel-block {
    /* Estilo de cita/información premium */
    border:2px solid var(--color-pink);
    background-color:var(--color-white);
    color: var(--color-text-white);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 25px; /* Más espacio entre imagen y texto */
    margin-bottom: 20px; 
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Sombra sutil de bloque */
}

.liz-image-container {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--color-pink);
}

.liz-image {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
    filter: 
        grayscale(100%)       
        brightness(0.6)       
        hue-rotate(190deg)    
        saturate(200%);       
    transition: filter 0.5s ease;
    border-radius: 4px; 
}
.liz-tag {
    /* Fondo del tag más opaco y definido */
    background-color: var(--color-pink); 
    color: var(--color-gris);
    padding: 6px 14px;
    font-size: 0.85em;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 12px;
    margin-left:-100px;
    margin-top:10px;
    text-transform: uppercase;
    border-radius: 50px; /* Pill shape */
    letter-spacing: 0.5px;
    padding-left:60px;
}

.liz-text {
    font-size: .90em; /* Ligeramente más grande */
    line-height: 1.5; /* Mejor espaciado para lectura */
    color: var(--color-gris);
    text-align: justify; 
    margin-left:-10px;
}

/* ----------------------------------------------- */
/* 📱 OPTIMIZACIÓN SÓLO PARA MÓVIL (Media Query) 📱 */
/* ----------------------------------------------- */

@media (max-width: 600px) {

    .liz-image-container {
        display: none;
    }

    .wel-block {
        flex-direction: column;
        align-items: center; /* Centra el contenido horizontalmente (incluyendo el liz-tag) */
        gap: 10px; /* Reduce el espacio vertical */
    }

    .liz-tag {
        /* Restablece los márgenes negativos de escritorio */
        margin-left: 0; 
        margin-top: 0;
        /* Asegura que el elemento se centre automáticamente */
        margin-bottom: 12px;
        /* El padding-left: 60px probablemente era para alinear con la imagen, lo eliminamos/reducimos */
        padding-left: 14px; 
        /* Asegura que ocupe el ancho necesario para el centrado */
        width: fit-content;
        text-align: center; /* Centra el texto dentro del tag si fuera necesario */
    }
    
    .liz-text {
        /* Restablece el margen negativo */
        margin-left: 0;
        /* Si quieres que el texto del párrafo sea justificado en móvil, lo mantienes.
           Si quieres que el texto se centre en el bloque centrado: */
    text-align: justify; 
    }
}

        
/* ============================================== */
/* === 1. ENVOLTORIO PRINCIPAL (Sección Sophie) === */
/* ============================================== */
.sections-section-wrapper {
    padding: 40px 5%;
    margin-bottom: 40px;
    min-height: 550px;
    background-color: var(--color-sophie-bg);
    display: flex;
    justify-content: center;
        background-image: repeating-radial-gradient(
        circle at 0 0, 
        rgba(65, 105, 225, 0.05) 0,
        rgba(65, 105, 225, 0.05) 1px, 
        transparent 1px, 
        transparent 15px
    );
    background-size: 20px 20px;
}

.sections-container {
    display: flex;
    gap: 30px; /* Separación en escritorio */
    width: 100%;
    max-width: 1200px; 
}

.sophie-bio-column {
    flex: 2; 
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 20px;
    background-color: var(--color-white); 
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 900px) {
    /* En tabletas, ajustamos el espaciado */
    .sections-container {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .sections-section-wrapper {
        padding: 30px 4%;
        min-height: auto;
    }
    
    /* CLAVE DE RESPONSIVIDAD 2: Cambia Flexbox a vertical */
    .sections-container {
        flex-direction: column;
        gap: 30px; /* Espacio vertical entre las columnas */
    }

    /* Ambas columnas ocupan el ancho completo */
    .sophie-bio-column {
        flex: auto; /* Permite que el contenido dicte la altura */
        width: 100%;
    }
    
    /* Ajuste para el carrusel de imagen en móvil */
    .sophie-main-image-container {
        height: 300px; /* Le damos una altura fija atractiva para móvil */
        border-radius: 12px; /* Alineamos el radio con la columna de bio */
    }
    
    /* La imagen en sí puede ser más grande en móvil */
    .slide-image-item {
        height: 100%; 
    }
}

.sophie-main-image-container {
    position: relative;
    overflow: hidden; 
    border-radius: 10px; 
}


#sophie-image-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide-image-item {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    border-radius: 10px;
}

.slideshow-arrows {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 250px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none; 
    padding: 0 10px;
}

@media (max-width: 768px) {
    .slideshow-arrows {
        height: 300px; /* La altura definida para móvil */
    }
}
 
.slideshow-arrow {
    pointer-events: auto; 
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--color-white);
    border: none;
    padding: 8px 12px;
    font-size: 1.5em;
    cursor: pointer;
    border-radius: 50%; /* Más atractivo */
    transition: background-color 0.2s;
    z-index: 10;
}

.slideshow-arrow:hover {
    background-color: var(--color-primary); 
}

/* Contenido de Texto */
.sophie-text-content {
    padding: 20px 20px 0 20px;
}

/* Título con línea zig-zag */
.sophie-text-content .title {
    font-size: clamp(1.2em, 4vw, 1.8em); /* Fuente fluida para responsividad */
    font-weight: 900;
    color: var(--color-primary); 
    line-height: 1.2;
    margin-bottom: 25px; 
    position: relative; 
    display: inline-block;
    padding-bottom: 5px;
}

.sophie-text-content .title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%; 
    height: 5px;
    background-image: 
    repeating-linear-gradient(-45deg, 
                            transparent, 
                            transparent 2px, 
                            var(--color-primary) 2px, 
                            var(--color-primary) 4px);
    background-size: 8px 100%; 
    background-repeat: repeat-x; 
}

/* Contenido de texto del carrusel */
#slideshow-text-content {
    min-height: 100px; 
    position: relative; 
    overflow: hidden;
}

.slide-text-item {
    font-size: 0.9em;
    color: var(--color-text-light);
    margin-bottom: 15px;
    position: absolute; 
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-align: justify;
    background-color: var(--color-white);
    padding: 15px; 
    border-radius: 10px;
    border: 1px solid var(--color-primary); 
    box-sizing: border-box; 
}

.slide-text-item.active {
    opacity: 1;
    position: static; 
}

/* Botón de continuar */
.btn-continue {
    display: block; 
    width: calc(100% - 40px);
    margin: 10px 20px 0 20px; 
    background-color: #333; 
    color: var(--color-white);
    padding: 12px 0;
    text-transform: uppercase;
    font-size: 0.85em;
    font-weight: bold;
    text-align: center;
    border-radius: 8px;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-continue:hover {
    background-color: var(--color-primary); /* Usar el color primario en hover */
    transform: scale(1.01);
}
        



/* --- TARJETA WARDRIIVER (INTEGRADA) --- */

.wardriver-card {
    background-image: 
        linear-gradient(to top, var(--color-primary) 0%, rgba(255, 255, 255, 0) 100%),
        url('./images/about.png');
        
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat; /* Recomendado: asegura que la imagen no se duplique */

    border: 2px solid var(--color-primary);
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 20px;
}
@media (max-width: 768px) {
    .wardriver-card {
    display: none !important;
    }
}
        .wardriver-info {
            text-align: left;
            flex-grow: 1;
            margin-top:75%;
        }
        
.wardriver-info h3 {
    font-size: 1.6em;
    margin-bottom: 3px;
    letter-spacing:-1px;
    color: #f0c6f4; 
    font-weight: 900;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

.wardriver-info h3::after {
    content: '';
    display: block;
    height: 10px;
    position: absolute;
        color: var(--color-white);

    width: 80%; /* Define un ancho fijo (80% del h3) */
    left: 50%; /* Mueve el inicio al centro */
    transform: translateX(-50%); /* Regresa la mitad de su propio ancho para centrarlo perfectamente */
    bottom: 0;
    background-image: radial-gradient(circle, white 2px, transparent 2px);
    background-size: 10px 10px;
    mask-image: linear-gradient(
        to right,
        transparent 0%, 
        white 30%,      
        white 70%,      
        transparent 100% 
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        white 30%,
        white 70%,
        transparent 100%
    );
}
.wardriver-text {
    font-size: 1em;
    color: var(--color-white);
        font-weight: 500;
    text-align: justify;
    margin-bottom: 10px;
    line-height:20px;            padding:10px;

  }
        .wardriver-text-container {
            flex-grow: 1; 
            position: relative;
            overflow: hidden; 
        }

        .wardriver-arrows {
            position: absolute;
            bottom: 10px; 
            left: 0;
            right: 0;
            display: flex;
            justify-content: center; 
            gap: 15px; 
            padding: 0 5px;
            pointer-events: none; 
        }

        .wardriver-arrow {
            pointer-events: auto; 
            background-color: rgba(255, 255, 255, 0.7);
            border: 1px solid var(--color-secondary);
            border-radius: 50%;
            width: 25px;
            height: 25px;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            font-size: 0.9em;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            transition: background-color 0.2s;
        }

        
     
/* --- SECCIÓN GALERÍA --- */
.gallery-section {
    background-color: var(--color-primary, --color-blue);
    padding-top: 30px; 
    padding-bottom: 40px;
    border-top: none; 
    background-image: none; 
    background-size: auto; 
    position: relative; 
}

/* CLAVE: El efecto Zig-Zag en la parte superior de la Galería */
.gallery-section::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 10px; /* Altura de la banda de zig-zag */
    background-color: var(--color-white, #ffffff); 
    background-image: 
        /* Triángulo derecho */
        linear-gradient(135deg, transparent 50%, var(--color-primary) 50%),
        /* Triángulo izquierdo */
        linear-gradient(225deg, transparent 50%, var(--color-primary) 50%);
    background-size: 10px 10px; 
    background-repeat: repeat-x; 
    transform: translateY(-10px); 
    z-index: 2;
}
        
        .gallery-content-wrapper {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 5%;
        }

        .gallery-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 10px;
            margin-bottom: 20px;
        }

.gallery-title-box {
    font-size: 0.9em;
    color: var(--color-gris);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    
    /* Reemplazamos el border-bottom: 2px solid var(--color-white); por el efecto geométrico */
    border-bottom: none; 
    
    position: relative;
    display: inline-block;
    padding-bottom: 12px; /* Espacio para el efecto */
}

/* CLAVE: La línea Dentada/Zig-Zag */
.gallery-title-box::after {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 0;
    
    /* Asegura que la raya cubra el ancho del texto */
    width: 100%; 
    height: 6px; /* Altura del patrón */
    
    /* --- EL SECRETO DEL EFECTO DENTADO (Triángulos Invertidos) --- */
    background-image: 
        linear-gradient(135deg, transparent 50%, #fff 50%), /* Raya diagonal (lado derecho) */
        linear-gradient(225deg, transparent 50%, #fff 50%); /* Raya diagonal (lado izquierdo) */
    
    /* El tamaño es clave: crea triángulos que se repiten */
    background-size: 6px 6px; 
    
    /* La línea debe ser continua */
    background-repeat: repeat-x; 
    
    /* Posicionamiento y color base */
    background-color: var(--color-primary, --color-blue); /* Asegura que el color de fondo sea el mismo que la sección */
}

        .gallery-title-box strong {
            color: var(--color-primary); 
            font-size: 1.8em;
            margin-left: 10px;
            font-weight: bold;
        }

.gallery-icon-box {
  background-color: var(--color-white);
  color: var(--color-white); /* Este color blanco probablemente deba cambiarse */
  width: 45px;
  height: 45px;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  color: var(--color-dark-gray); 
}

.gallery-icon-box::before {
    content: "\f030"; 
    font-family: "Font Awesome 5 Free"; /* O "Font Awesome 6 Free" si usas la versión 6 */
  font-weight: 900; /* Usa 900 para iconos 'Solid' (fa-solid) */
}

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr); 
            gap: 10px;
        }

        .gallery-item {
            display: flex;
            flex-direction: column;
            text-align: center;
            background-color: var(--color-white);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }

        .gallery-item-image {
            width: 100%;
            height: 150px; 
            object-fit: cover;
            display: block;
        }

        .gallery-item-caption {
            font-size: 0.8em;
            color: var(--color-primary);
            font-weight: bold;
            padding: 8px 5px;
        }


        /* --- MEDIA QUERIES PARA RESPONSIVIDAD --- */
        @media (max-width: 900px) {
            .news-grid {
                grid-template-columns: repeat(2, 1fr); /* Vuelve a 2 columnas en tablets */
            }
            .gallery-grid {
                grid-template-columns: repeat(3, 1fr); 
            }
            .sections-container {
                flex-direction: column;
                gap: 20px;
            }
            .sophie-bio-column, .wardriver-card {
                flex: none; 
                width: 100%;
            }
            .featured-post-section {
                flex-direction: column;
            }
            .featured-image-container,
            .featured-text-content {
                width: 100%;
            }
        }
        
        @media (max-width: 600px) {
            .news-grid {
                grid-template-columns: 1fr; /* 1 columna en móvil */
            }
             .gallery-grid {
                grid-template-columns: repeat(2, 1fr); 
            }
            .hero-section {
                flex-direction: column;
                text-align: center;
                align-items: center;
            }
            .intro-text {
                display: none; 
            }
            .wel-block {
                flex-direction: column;
                text-align: center;
                align-items: center;
            }
        }
        
        
        
        
        
        
/* --- CONTENEDOR DE BOTONES (Para organizar y centrar) --- */
.autography-buttons {
    display: flex;
    justify-content: center; /* Centra los botones horizontalmente */
    flex-wrap: wrap; /* Permite que los botones salten de línea en pantallas pequeñas */
    gap: 15px; /* Espacio entre los botones */
    margin-top: 20px; /* Margen superior para separarlos de la sección de autógrafos */
    margin-bottom: 40px; /* Margen inferior para separarlos del contenido siguiente */
}

.autography-btn {
    /* Fondo azul de tu diseño (var(--color-primary)) */
    background-color: var(--color-pink);
    color: var(--color-white, #ffffff); /* Texto blanco */
    padding: 12px 25px; /* Relleno interno para la forma de la píldora */
    border-radius: 50px; /* ¡CLAVE! Bordes muy redondeados para la forma de píldora */
    text-decoration: none; /* Quita el subrayado predeterminado del enlace */
    font-size: 0.9em;
    font-weight: 700; /* Texto en negrita */
    text-transform: uppercase; /* Texto en mayúsculas */
    cursor: pointer;
    transition: background-color 0.3s ease, 
                box-shadow 0.3s ease, 
                transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* --- EFECTO HOVER --- */
.autography-btn:hover {
    background-color: var(--color-pink-two);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* EFECTO ACTIVO (al hacer click) - Opcional */
.autography-btn:active {
    background-color: #204090; /* Azul aún más oscuro */
    transform: translateY(0); /* Vuelve a su posición original */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra más pequeña */
}


/* ========================================================= */
/* --- FOOTER GENERAL --- */
/* ========================================================= */
.main-footer {
    /* Mantenemos el fondo oscuro */
    background-color: var(--color-text-dark, #1e1e1e); 
    color: var(--color-text-light, #cccccc); 
    padding: 40px 0 20px 0; 
    
    /* ELIMINAMOS el border-top simple para dar paso al efecto */
    border-top: none; 
    
    /* CLAVE: Necesario para posicionar el pseudo-elemento */
    position: relative; 
    
    /* Ajustamos el padding-top para compensar el espacio del zig-zag */
    padding-top: 50px; 
}

/* CLAVE: El efecto Zig-Zag en la parte superior */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    
    height: 10px; /* Altura de la banda de zig-zag */
    
    /* El color de BASE es el color de acento (como el border-top anterior) */
    background-color: var(--color-primary, --color-blue); 
    
    /* --- EL PATRÓN ZIG-ZAG (Dientes) --- */
    background-image: 
        /* Triángulo derecho */
        linear-gradient(135deg, transparent 50%, var(--color-text-dark) 50%),
        /* Triángulo izquierdo */
        linear-gradient(225deg, transparent 50%, var(--color-text-dark) 50%);
    
    /* Creamos los dientes con el color de fondo del footer */
    background-size: 10px 10px; 
    background-repeat: repeat-x; 
}

.footer-wrapper {
    max-width: var(--max-width, 1400px);
    margin: 0 auto;
    padding: 0 5%;
    
    display: flex;
    justify-content: space-between; /* Distribuye las columnas */
    gap: 30px; /* Espacio entre las columnas */
    flex-wrap: wrap; /* Permite apilar en móviles */
}
.footer-hard-credit {
    /* Convierte todo el texto del párrafo a mayúsculas */
    text-transform: uppercase;
    /* Ajusta el espaciado superior si lo deseas */
    margin-top: 10px;     font-weight: 700;

    font-size: 0.8em; /* Sugerencia: reduce el tamaño si es un crédito secundario */
}

/* Estilo para el enlace dentro de los créditos */
.footer-hard-credit a {
    /* Hace que el texto del enlace sea blanco */
    color: white; 
    /* Quita el subrayado por defecto en los enlaces */
    text-decoration: none; 
    /* Añade una transición para un efecto hover suave */
    transition: color 0.3s ease; 
    text-decoration:underline;
}

/* Efecto al pasar el cursor (opcional) */
.footer-hard-credit a:hover {
    /* Cambia ligeramente el color al pasar el cursor */
    color: rgba(255, 255, 255, 0.7); 
}
/* --- ESTILOS DE COLUMNA --- */

.footer-column {
    flex: 1; /* Distribución equitativa inicial */
    min-width: 250px; /* Ancho mínimo para que no se apilen demasiado rápido */
    margin-bottom: 20px;
}

.footer-title, .footer-title-page {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Título de la página (destacado) */
.footer-title-page {
    color: var(--color-primary, --color-blue); 
    font-size: 1.5em;
    font-weight: 900;
}

.footer-info p {
    font-size: 0.85em;
    line-height: 1.4;
    color: #999;
}

/* --- REDES SOCIALES --- */

.social-icons-footer {
    display: flex;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Iconos circulares */
    background-color: rgba(255, 255, 255, 0.1); /* Fondo gris muy sutil */
    color: var(--color-white, #ffffff);
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Efecto Hover: Destaca con el color primario */
.social-link:hover {
    background-color: var(--color-primary, --color-blue);
    transform: scale(1.1); /* Ligero crecimiento */
}

/* --- DISCLAIMER --- */

.footer-disclaimer {
    flex: 1.5; /* El disclaimer ocupa un poco más de espacio */
}

.disclaimer-text {
    font-size: 0.8em;
    line-height: 1.6;
    color: #999;
    border-left: 3px solid var(--color-primary, --color-blue); /* Raya de acento a la izquierda */
    padding-left: 15px;
}










/* --- PAGE NAVI SITE --- */
.center-pagination-wrapper {
    width: 100% !important;
    float: none !important;
    clear: both !important;
    text-align: center !important; 
    display: flex !important;
    justify-content: center !important;
}
.custom-pagination {
    clear: both !important;
    margin: 10px auto 0px !important; 
    width: 100% !important; 
    
    /* CLAVE: Forzamos la alineación de texto central */
    text-align: center !important; 
    
    /* ANULAMOS FLOTANTES/FLEXBOX QUE PUEDEN INTERFERIR */
    float: none !important;
    display: block !important; 
}

/* El elemento UL generado por paginate_links (que contiene los números) */
.custom-pagination ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto !important; 
    float: none !important; 
    
    /* CLAVE: Permite que el UL sea centrado por el text-align del padre */
    display: inline-block !important; 
}

/* Los elementos LI que son los botones individuales */
.custom-pagination li {
    display: inline-block !important; 
    margin: 0 5px !important;
}

.custom-pagination a,
.custom-pagination span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #555;
    background-color: #fff;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    font-family: var(--font-body);
}

.custom-pagination .current {
    background-color: var(--color-primary, #7f96ce);
    color: white;
    border-color: var(--color-primary, #7f96ce);
    font-weight: bold;
}

.custom-pagination a:hover {
    background-color: #f0f0f0;
    color: var(--color-primary, #7f96ce);
    border-color: #ccc;
}

.custom-pagination .current {
    background-color: var(--color-primary, #7f96ce);
    color: white;
    border-color: var(--color-primary, #7f96ce);
    font-weight: bold;
}

.custom-pagination a:hover {
    background-color: #f0f0f0;
    color: var(--color-primary, #7f96ce);
    border-color: #ccc;
}

/* Estilo para la página actual */
.custom-pagination .current {
    background-color: var(--color-primary, #7f96ce);
    color: white;
    border-color: var(--color-primary, #7f96ce);
    font-weight: bold;
}

/* Efecto hover */
.custom-pagination a:hover {
    background-color: #f0f0f0;
    color: var(--color-primary, #7f96ce);
    border-color: #ccc;
}




/* ================================================= */
/* 5. ESTILOS PARA SINGLE.PHP (CLÁSICO DE BLOG) */
/* ================================================= */

/* --- Contenedor Principal (Centrado) --- */
.single-classic-wrapper {
    max-width: var(--max-width);
    margin: 40px auto;
    padding: 0 20px;
}

/* --- TÍTULO Y META --- */

.post-header-classic {
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: none; 
    border-top: none; /* Asegurar que no hay top border */
    border-bottom: 5px dotted var(--color-pink-two); /* Línea gruesa punteada con color de acento */
}

.post-title-classic {
    color: var(--color-menu);
    font-size: 2.8em; 
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing:-2px;
}

/* --- Título y Meta (Estilo con Colores Individuales) --- */

.post-meta-classic {
    font-size: 0.85em; 
    font-family: "Be Vietnam Pro", sans-serif;
    font-weight: 300;
    text-transform: uppercase; /* Mantenemos las mayúsculas */
    letter-spacing: 1px;
}

.post-meta-classic span {
        font-weight: 900;
    display: inline-block; /* Asegura que cada elemento pueda tener margen */
}

/* 1. ESTILO DE AUTOR: Color Primario (Azul/Lavanda) */
.post-meta-classic .meta-author {
    color: var(--color-primary); 
    font-weight: 900;
}

/* 2. ESTILO DE FECHA: Color Teal (Fuerte y de Contraste) */
.post-meta-classic .meta-date {
    color: var(--color-gris); /* Teal fuerte/Cian */
    font-weight: 900;
}

/* 3. ESTILO DE CATEGORÍA: Color Rosa/Morado */
.post-meta-classic .meta-categories,
.post-meta-classic .meta-categories a {
    color: var(--color-pink-two); /* Color temático */
    font-weight: 900;
    text-decoration: none;
}

/* 4. ESTILO DE SEPARADOR: Sutil y Minimalista */
.post-meta-classic .meta-separator {
    margin: 0 10px;
    color: var(--color-text-light); /* Gris suave */
}

/* Efecto hover para las categorías */
.post-meta-classic .meta-categories a:hover {
    color: var(--color-primary); 
}

.post-meta-classic .meta-separator {
    margin: 0 10px;
    color: var(--color-pink-two);
}

.post-meta-classic .meta-author {
    color: var(--color-white);
    padding:3px;
    border-radius:6px;
    font-weight: 700;
    background-color: var(--color-pink);
}


/* --- LAYOUT DE DOS COLUMNAS --- */

.classic-layout-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.post-main-content-classic {
    flex: 3; /* Ocupa más espacio (aprox. 65%) */
    min-width: 0; 
}

/* --- IMAGEN DESTACADA CLÁSICA --- */
.featured-image-classic {
    margin: 20px 0 10px 0;
    border: 1px solid var(--color-secondary); 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.featured-image-classic img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- CONTENIDO DE NOTICIAS SINGLE--- */
.post-body-classic {
    font-size: 1em;
    font-weight: 500;
    line-height: 1.8;
    color: var(--color-text-dark);
    background-color:var(--color-white);
    border:1px solid #efefef;
    padding:20px;
    text-align: justify;
    border-radius: 4px;

}
/* Texto Fuerte/Bold (strong, b) */
.post-body-classic strong,
.post-body-classic b {
    font-weight: 700; /* Asegura que se vea más grueso */
    color: var(--color-menu); /* Color oscuro principal para destacar */
    background-color: var(--color-secondary); /* Fondo muy sutil para dar énfasis */
    padding: 1px 3px;
    border-radius: 2px;
}

/* Texto Itálico (em, i) */
.post-body-classic em,
.post-body-classic i {
    font-style: italic;
    color: var(--color-pink-two); /* Color temático sutil */
}

/* Blockquote (Citas Destacadas) */
.post-body-classic blockquote {
    font-size: 1.1em;
    font-style: italic;
    color: var(--color-text-dark);
    
    /* Borde temático como acento */
    border-left: 5px solid var(--color-primary); 
    background-color: var(--color-blockquote); /* Fondo muy claro para separarlo */
    
    padding: 20px 30px;
    margin: 30px 0;
    line-height: 1.6;
}

.post-body-classic blockquote p:last-child {
    margin-bottom: 0; /* Limpia el margen inferior dentro de la cita */
}

/* Enlaces (a) */
.post-body-classic a {
    color: var(--color-primary); /* Color primario para hipervínculos */
    text-decoration: none;
    transition: color 0.3s, border-color 0.3s;
}

.post-body-classic a:hover {
    color: var(--color-pink-two); /* Cambio de color al pasar el mouse */
}
.post-body-classic img {
/* Propiedades esenciales de visualización y responsividad */
max-width: 100%;
height: auto;
display: inline-block; 
margin: 5px; /* Margen uniforme de 10px en todos los lados para separación de 20px entre imágenes */
background-color: var(--color-primary);
padding:6px;
border:1px solid #cccccc;
border-radius:4px;
transition: border 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* EFECTO HOVER ÚNICO: Cambio de color de borde y leve zoom */
.post-body-classic img:hover {
/* Levemente escalar para dar un efecto de atención */
transform: scale(1.01);
background-color: var(--color-pink);
cursor: pointer;
}

.post-body-classic p {
    margin-bottom: 1.5em;
}






/* --- ESTILOS PARA LA SECCIÓN DE NOTICIAS RELACIONADAS --- */
.related-news-section {
    max-width: var(--max-width); /* Asegura que respete el ancho de tu contenedor */
    margin: 40px auto;
    padding: 20px;
    border-top: 1px solid #eee;
}

.related-news-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing:-2px;
    text-align: center;
    margin-bottom: 25px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* 3 columnas responsivas */
    gap: 20px;
}

.related-news-card {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    background-color: #f9f9f9;    border-radius:10px;

    transition: transform 0.3s ease;
}

.related-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-news-thumb {
    width: 100%;
    height: auto;
    max-height: 150px; /* Limita la altura de la imagen */
    object-fit: cover;
    margin-bottom: 10px;
    display: block; border-radius:10px;

}

.card-title-related a {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.card-title-related a:hover {
    color: var(--color-primary);
}

.card-date-related {
    font-size: 12px;
    color: #999;
}

/* ======================================= */
/* ESTILO AÑADIDO: FORMULARIO DE BÚSQUEDA EN 404 */
/* ======================================= */

.not-found-search-form {
    /* Asegura que ocupe casi todo el ancho del main content */
    max-width: 600px;
    margin: 30px auto; /* Centra el formulario */
    padding: 20px 0;
}

/* Contenedor del formulario <form> */
.not-found-search-form form {
    display: flex;
    flex-wrap: nowrap; /* Evita que el botón baje en escritorio */
    gap: 5px;
}

/* Campo de texto de búsqueda */
.not-found-search-form input[type="search"],
.not-found-search-form input[type="text"] {
    flex-grow: 1; 
    padding: 15px 20px; /* Más padding para que se vea más grande */
    border: 2px solid var(--color-pink-two); /* Borde de acento */
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 1em;
    color: var(--color-text-dark);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.not-found-search-form input[type="search"]:focus,
.not-found-search-form input[type="text"]:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), 0.2);
}

/* Botón de envío (Submit) */
.not-found-search-form input[type="submit"] {
    padding: 15px 25px;
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase; /* ¡Todo en mayúsculas para el botón! */
    transition: background-color 0.3s, transform 0.1s;
    white-space: nowrap; /* Evita que el texto del botón se rompa */
}

.not-found-search-form input[type="submit"]:hover {
    background-color: var(--color-pink-two); 
}

.not-found-search-form input[type="submit"]:active {
    transform: scale(0.98); /* Pequeño efecto de presión */
}

/* Estilo para el botón de regreso a inicio */
.btn-back-home {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 20px;
    background-color: var(--color-secondary);
    color: var(--color-primary) !important; /* Importante para sobrescribir estilos de <a> */
    border: 2px solid var(--color-primary);
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 700;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-back-home:hover {
    background-color: var(--color-primary);
    color: #ffffff !important;
}

/* Responsive para que el formulario se apile en pantallas pequeñas */
@media (max-width: 600px) {
    .not-found-search-form form {
        flex-direction: column;
    }

    .not-found-search-form input[type="search"],
    .not-found-search-form input[type="text"] {
        width: 100%;
    }
}


/* Estilos para el botón "Back to Home" */
.back-to-home-section {
    text-align: left; /* Centrar el botón */
    padding: 30px 0; /* Espacio arriba y abajo */
}

.btn-back-home {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--color-primary, #7f96ce); /* Usa tu color primario */
    color: #fff !important; /* Texto BLANCO en estado normal */
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-back-home:hover {
    background-color: #5c74a0; /* Un tono más oscuro para el hover */
    color: #fff !important; /* Texto BLANCO en estado hover (Se mantiene) */
}
.btn-back-home2{
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--color-gris, #1d1d1d); /* Usa tu color primario */
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 900;text-transform: uppercase;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-back-home2:hover {
    background-color: #5c74a0; /* Un tono más oscuro para el hover */
}


/* Etiquetas */
.post-tags-classic {
    padding-top: 15px;
    border-top: 1px dashed var(--color-secondary);
    font-size: 0.9em;
}

.post-tags-classic .tags-label {
    font-weight: 700;
    color: var(--color-primary);
    margin-right: 10px;
}

.post-tags-classic a {
    color: var(--color-text-dark);
    margin-right: 8px;
    padding: 3px 10px;
    background-color: var(--color-secondary);
    border-radius: 4px;
    transition: background-color 0.3s;
}

.post-tags-classic a:hover {
    background-color: var(--color-pink-two);
    color: var(--color-white);
}

/* --- SIDEBAR DERECHO --- */

.sidebar-right-classic {
flex: 1; /* Ocupa el espacio restante (aprox. 35%) */
position: sticky;
top: 30px;
height: fit-content;
padding-top: 10px;
text-align: justify;
}

.sidebar-block-classic {
background-color: var(--color-secondary);
padding: 20px;
margin-bottom: 25px;
border-radius: 6px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.sidebar-title-classic {
font-family: 'DM Sans', sans-serif;
font-size: 1.5em;
font-weight: 900;
color: var(--color-primary);
padding-bottom: 8px;
letter-spacing:-1px;
margin-bottom: 15px;
border-bottom: 2px solid var(--color-pink-two); /* Línea de acento */
}

.sidebar-right-classic ul {
list-style: none;
padding: 0;
}

.sidebar-right-classic li {
padding: 8px 0;
border-bottom: 1px dotted var(--color-text-light);
}

.sidebar-right-classic li:last-child {
border-bottom: none;
}

/* Color base del link de listas: var(--color-primary) */
.sidebar-right-classic li a {
color: var(--color-primary);
font-size: 0.9em;
transition: color 0.3s;
text-decoration: none; /* Asegura que los enlaces de las listas no tengan subrayado por defecto */
}

.sidebar-right-classic li a:hover {
color: var(--color-pink-two);
text-decoration: underline; /* Subrayado en hover para las listas */
}

.sidebar-right-classic li a:active {
color: var(--color-primary);
}

/* ======================================= */
/* ESTILOS DE TIPOGRAFÍA Y ENLACES GENERALES */
/* ======================================= */

/* Negritas (bold, strong, b) */
.sidebar-right-classic b,
.sidebar-right-classic strong,
.sidebar-right-classic .widget b,
.sidebar-right-classic .widget strong {
color: var(--color-primary); /* Color de acento para el texto importante */
font-weight: 700;
}

/* Itálicas (i, em) */
.sidebar-right-classic i,
.sidebar-right-classic em {
font-style: italic;
color: var(--color-text-dark);
}

/* Enlaces Generales y Contenido (Para texto dentro de párrafos, por ejemplo) */
/* He ajustado esto para que no entre en conflicto con li a */
.sidebar-right-classic a {
text-decoration: underline;
color: var(--color-pink-two); /* Color de acento para enlaces no listados */

}
.sidebar-right-classic a:hover {
text-decoration: underline;
color: var(--color-primary); /* Color de acento para el texto importante */

}

/* ======================================= */
/* IMÁGENES EN WIDGETS */
/* ======================================= */

.sidebar-right-classic img {
    /* Responsividad: Asegura que la imagen no exceda el ancho del contenedor */
    max-width: 100%;
    padding:5px;
    border-radius:8px;
    height: auto;
    background-color:#fff;
    
    /* Estilo Visual */
    border-radius: 8px; /* Esquinas redondeadas */
        padding:5px;
            background-color:#fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra suave para darle profundidad */
    
    /* Espaciado: Evita que se pegue al texto o a otros elementos */
    margin-top: 10px;
    margin-bottom: 10px;
    display: block; /* Asegura que ocupe su propia línea para centrado y márgenes */
}

/* Para centrar imágenes si están solas en un widget */
.sidebar-right-classic .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ======================================= */
/* ESTILO: WIDGET DE BÚSQUEDA */
/* ======================================= */

/* Contenedor del formulario de búsqueda de WordPress */
.sidebar-right-classic .widget_search form {
display: flex;
gap: 10px;
}

/* Campo de texto de búsqueda */
.sidebar-right-classic .widget_search input[type="search"],
.sidebar-right-classic .widget_search input[type="text"] {
flex-grow: 1;
padding: 10px 15px;
border: 1px solid var(--color-text-light);
border-radius: 4px;
background-color: #ffffff;
font-size: 0.9em;
color: var(--color-text-dark);
transition: border-color 0.3s, box-shadow 0.3s;
box-sizing: border-box;
}

.sidebar-right-classic .widget_search input[type="search"]:focus,
.sidebar-right-classic .widget_search input[type="text"]:focus {
border-color: var(--color-pink-two);
outline: none;
box-shadow: 0 0 0 1px var(--color-pink-two);
}

/* Botón de envío (Submit) */
.sidebar-right-classic .widget_search input[type="submit"] {
padding: 10px 15px;
background-color: var(--color-primary);
color: #ffffff;
border: none;
border-radius: 4px;
cursor: pointer;
font-weight: 700;
transition: background-color 0.3s;
}

.sidebar-right-classic .widget_search input[type="submit"]:hover {
background-color: var(--color-pink-two);
}

/* --- SECCIÓN DE COMENTARIOS --- */
.post-comments-section-classic {
max-width: 900px;
margin: 50px 0 50px 0;
padding-top: 40px;
border-top: 1px solid var(--color-secondary);
}


/* --- Responsive (Móviles) --- */
@media (max-width: 900px) {
.classic-layout-grid {
flex-direction: column;
gap: 30px;
}

.sidebar-right-classic {
width: 100%;
order: 1; 
position: static;
padding-top: 0;
}
 
.post-main-content-classic {
order: 0;
}
 
.post-title-classic {
font-size: 2em;
}

    /* Ajuste de búsqueda en móvil */
    .sidebar-right-classic .widget_search form {
        display: block; 
    }
    .sidebar-right-classic .widget_search input[type="submit"] {
        margin-top: 10px;
        width: 100%;
    }
}


/* --- SECCIÓN DE COMENTARIOS --- */
.post-comments-section-classic {
max-width: 900px;
margin: 50px 0 50px 0;
padding-top: 40px;
border-top: 1px solid var(--color-secondary);
}


/* --- Responsive (Móviles) --- */
@media (max-width: 900px) {
.classic-layout-grid {
flex-direction: column;
gap: 30px;
}

.sidebar-right-classic {
width: 100%;
order: 1; 
position: static;
padding-top: 0;
}
.post-main-content-classic {
order: 0;
}
.post-title-classic {
font-size: 2em;
}

    /* Ajuste de búsqueda en móvil */
    .sidebar-right-classic .widget_search form {
        display: block; 
    }
    .sidebar-right-classic .widget_search input[type="submit"] {
        margin-top: 10px;
        width: 100%;
    }
}












/* ========================================================= */
/* --- SECCIÓN DE COMENTARIOS (COMMENTS) --- */
/* ========================================================= */

#comments {
    margin-top: 50px;
    padding: 30px;
    background-color: var(--color-white);
    border: 1px solid var(--color-secondary);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Título de la sección de comentarios (Ej: "One response to...") */
#comments-title {
    font-size: 1.8em;
    font-weight: 900;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

/* Raya de acento bajo el título */
#comments-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--color-pink-two); /* Usamos el color de acento */
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Lista principal de comentarios */
.commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Cada comentario individual */
.comment {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid var(--color-secondary);
    border-radius: 4px;
    background-color: #fcfcfc;
    position: relative;
}

/* Estilo para los Avatares (Gravatar) */
.comment .avatar {
    float: left;
    margin-right: 15px;
    border-radius: 50%; /* Avatares circulares */
    border: 3px solid var(--color-primary); /* Borde temático */
    transition: transform 0.3s;
}

.comment .avatar:hover {
    transform: scale(1.05);
}

/* Info del autor y fecha */
.comment-author,
.comment-meta {
    margin-bottom: 5px;
    overflow: hidden; /* Asegura que el contenido envuelva al avatar */
}

/* Nombre del autor */
.comment-author .fn {
    font-weight: 700;
    font-size: 1.1em;
    color: var(--color-primary);
}

/* Metadata (Fecha y Edit) */
.comment-meta a {
    font-size: 0.8em;
    color: var(--color-text-light);
    font-style: italic;
}

/* Cuerpo del comentario */
.comment-content {
    margin-top: 10px;
    clear: both; /* Limpia el float del avatar */
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--color-text-dark);
}

/* Botón de Respuesta (Reply) */
.comment-reply-link {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-text-dark);
    padding: 5px 10px;
    margin-top: 10px;
    border-radius: 4px;
    font-size: 0.8em;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.2s, color 0.2s;
}

.comment-reply-link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* --- FORMA DE RESPUESTA (Leave a Reply) --- */

#respond {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px dotted var(--color-primary);
}

#reply-title {
    font-size: 1.5em;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 20px;
}

/* Estilo del textarea y campos de input */
#comment,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--color-secondary);
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    font-size: 0.9em;
}

#comment {
    min-height: 150px;
    resize: vertical;
}

/* Botón de envío de comentario */
#submit {
    background-color: var(--color-pink);
    color: var(--color-white);
    padding: 10px 20px;
    border: none;
    border-radius: 50px; /* Estilo píldora */
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1em;
    transition: background-color 0.2s, transform 0.2s;
}

#submit:hover {
    background-color: var(--color-pink-two);
    transform: translateY(-1px);
}




