/* ==========================================================================
   EL PUERTO PLATA - Main CSS
   Versión: 6.0 - FINAL COMPLETO SIN DUPLICADOS
   ========================================================================== */

/* ==========================================================================
   1. VARIABLES Y RESET
   ========================================================================== */
:root {
    /* Colores principales */
    --primary-color: #ff0000;
    --primary-dark: #cc0000;
    --secondary-color: rgb(10, 33, 124);
    --secondary-dark: #061d7a;
    --rojo: #ff0000;
    --negro: #111111;
    
    /* Colores neutros */
    --gris-oscuro: #333333;
    --gris: #666666;
    --gris-claro: #999999;
    --gris-borde: #e6e6e8;
    --fondo: #f0f3f5;
    --blanco: #ffffff;
    
    /* Tipografía fluida */
    --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
    --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --fs-lg: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
    --fs-xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
    --fs-2xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    
    /* Espaciado */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    /* Bordes */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 50%;
    
    /* Transiciones */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Fuentes */
    --primary-font: 'Open Sans', sans-serif;
    --heading-font: 'Montserrat', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--primary-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--negro);
    background-color: var(--fondo);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: #484848;
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover, a:focus {
    color: var(--primary-color);
    text-decoration: none;
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ==========================================================================
   2. UTILIDADES
   ========================================================================== */
.bg-white { background-color: var(--blanco); }
.text-center { text-align: center; }
.global-list { margin: 0; padding: 0; list-style: none; }
.section-padding { padding: 100px 0 80px; }
.section-padding.padding-top-0 { padding-top: 0; }
.section-padding.padding-bottom-0 { padding-bottom: 0; }

/* ==========================================================================
   3. BOTONES
   ========================================================================== */
.btn.btn-primary {
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--blanco);
    padding: 15px 35px;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: inline-block;
    border-radius: var(--radius-sm);
    position: relative;
    z-index: 1;
    overflow: hidden;
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 0;
    background-color: var(--blanco);
    z-index: -1;
    transition: width var(--transition-slow);
}

.btn.btn-primary:hover { color: var(--primary-color); }
.btn.btn-primary:hover::before { width: 100%; }

/* ==========================================================================
   4. HEADER Y TOPBAR
   ========================================================================== */
.sa-header {
    margin-bottom: 30px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    background-color: var(--blanco);
}

.sa-topbar {
    color: var(--blanco);
    background-color: var(--primary-color);
    font-size: var(--fs-sm);
}

.sa-topbar a { color: var(--blanco); }

.topbar-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    font-weight: 500;
    color: var(--blanco);
}

.topbar-item i { font-size: 14px; }

.topbar-item a {
    color: var(--blanco);
    transition: opacity var(--transition-base);
}

.topbar-item a:hover { opacity: 0.8; }
.topbar-item.desktop-only { display: inline-flex; }

.sa-user, .sa-language {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
}

.sa-user a {
    color: var(--blanco);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Language Selector */
.sa-language select.select-hidden {
    background-color: transparent;
    border: 0;
    display: none;
}

.sa-language .select { position: relative; }

.sa-language .select-styled {
    padding-right: 20px;
    position: relative;
    cursor: pointer;
    color: var(--blanco);
}

.sa-language .select-styled:after {
    position: absolute;
    content: "\f107";
    right: 0;
    top: 0;
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
}

.sa-language .select-options {
    margin: 0;
    padding: 0;
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    z-index: 999;
    border: 1px solid #ddd;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    background-color: var(--blanco);
}

.sa-language .select-options li {
    color: #484848;
    display: block;
    width: 100%;
    font-size: 12px;
    padding: 2px 15px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.sa-language .select-options li:hover {
    color: var(--blanco);
    background-color: var(--primary-color);
}

/* ==========================================================================
   5. TOPBAR - BOTONES DE ACCIÓN (SUSCRÍBETE / EDICIÓN IMPRESA)
   ========================================================================== */
.topbar-item.topbar-action {
    padding: 6px 8px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.topbar-btn i { font-size: 13px; }

.topbar-btn-subscribe {
    background-color: var(--blanco);
    color: var(--primary-color);
    border: 1px solid var(--blanco);
}

.topbar-btn-subscribe:hover {
    background-color: transparent;
    color: var(--blanco);
}

.topbar-btn-edition {
    background-color: var(--secondary-color);
    color: var(--blanco);
    border: 1px solid var(--secondary-color);
}

.topbar-btn-edition:hover {
    background-color: transparent;
    color: var(--blanco);
    border-color: var(--blanco);
}

.btn-text-full { display: inline; }
.btn-text-short { display: none; }

/* ==========================================================================
   6. BANNER 3 COLUMNAS - CON BANNERS PUBLICITARIOS
   ========================================================================== */
.sa-ad {
    margin-bottom: 0;
    padding: 20px 0;
    background-color: var(--blanco);
    border-bottom: 1px solid var(--gris-borde);
}

.sa-ad.banner-3-col { padding: 20px 0; }

.banner-grid {
    display: grid;
    grid-template-columns: 280px auto 280px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.banner-left,
.banner-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-ad {
    display: block;
    width: 280px;
    height: 100px;
    overflow: hidden;
    border-radius: 6px;
    background-color: var(--fondo);
    border: 1px solid var(--gris-borde);
    transition: all 0.3s ease;
    position: relative;
}

.banner-ad img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-ad:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.banner-center {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-center .logo-centered {
    display: inline-block;
    max-width: 380px;
    width: 100%;
}

.banner-center .logo-centered img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ==========================================================================
   7. LOGO MÓVIL - OPTIMIZADO
   ========================================================================== */
.mobile-logo-navbar {
    display: none;
    background-color: var(--blanco);
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid var(--gris-borde);
    position: relative;
}

.mobile-logo-navbar .mobile-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 240px;
    width: 80%;
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.mobile-logo-navbar .mobile-logo:hover {
    transform: scale(1.02);
}

.mobile-logo-navbar .mobile-logo img {
    max-width: 100%;
    height: auto;
    display: block;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

/* ==========================================================================
   8. MENÚ PRINCIPAL (DESKTOP HORIZONTAL)
   ========================================================================== */
.sa-menu { background-color: var(--blanco); }

.main-menu-blue {
    background-color: var(--secondary-color) !important;
}

.main-menu-blue .menu-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 20px;
    width: 100%;
    position: relative;
}

.main-menu-blue .desktop-nav {
    display: flex;
    flex: 1;
}

.main-menu-blue .desktop-nav .navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 0;
}

.main-menu-blue .desktop-nav .navbar-nav > li {
    margin: 0;
    position: relative;
}

.main-menu-blue .desktop-nav .navbar-nav > li > a {
    color: #fff !important;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 20px 18px !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

.main-menu-blue .desktop-nav .navbar-nav > li > a i { font-size: 15px; }

.main-menu-blue .desktop-nav .navbar-nav > li.active > a,
.main-menu-blue .desktop-nav .navbar-nav > li > a:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}

/* Navbar toggler */
.navbar { padding: 0; }

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--blanco);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    display: none;
    background: transparent;
    cursor: pointer;
}

.navbar-toggler-icon {
    width: auto;
    height: auto;
    color: var(--blanco);
    background-image: none;
    font-size: 18px;
}

/* Botón MENÚ + Hamburguesa (solo móvil) */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    gap: 10px;
}

.menu-label {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--heading-font);
}

/* Menú móvil colapsable */
.mobile-nav-collapse {
    display: none;
    width: 100%;
    background-color: rgb(10, 33, 124);
    margin-top: 0;
    border-radius: 0;
    padding: 0;
}

.mobile-nav-collapse.show {
    display: block;
    padding: 10px 0;
}

.mobile-nav-collapse .navbar-nav {
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav-collapse .navbar-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
}

.mobile-nav-collapse .navbar-nav li:last-child { border-bottom: none; }

.mobile-nav-collapse .navbar-nav li a {
    padding: 15px 20px !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.mobile-nav-collapse .navbar-nav li a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Dropdown en móvil */
.mobile-nav-collapse .sa-dropdown { position: relative; }

.mobile-nav-collapse .sa-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    background-color: rgba(0, 0, 0, 0.2);
    border-top: none;
    margin: 0;
}

.mobile-nav-collapse .sa-dropdown.open .sa-dropdown-menu { display: block; }

.mobile-nav-collapse .sa-dropdown-menu li a {
    padding: 12px 40px !important;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Dropdown desktop */
.sa-dropdown { position: relative; }

.main-menu-blue .sa-dropdown-menu {
    position: absolute;
    top: 100%;
    min-width: 225px;
    right: 0;
    background-color: var(--secondary-color);
    border-top: 2px solid var(--primary-color);
    border-radius: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    padding: 0;
    margin: 0;
    transition: all var(--transition-base);
    z-index: 999;
}

.main-menu-blue .sa-dropdown:hover > .sa-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu-blue .sa-dropdown-menu li a {
    background-color: var(--secondary-color);
    color: #fff !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: background-color var(--transition-base);
}

.main-menu-blue .sa-dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.main-menu-blue .sa-dropdown-menu li a i {
    color: var(--primary-color);
    width: 20px;
}

/* Rotación del icono chevron */
.sa-dropdown .fa-chevron-down,
.sa-dropdown .icon {
    transition: transform 0.3s ease;
    margin-left: 5px;
    font-size: 12px;
}

.sa-dropdown.open .fa-chevron-down,
.sa-dropdown.open .icon {
    transform: rotate(180deg);
}

@media (min-width: 992px) {
    .sa-dropdown > a .fa-chevron-down,
    .sa-dropdown > a .icon { display: none; }
}

@media (max-width: 991px) {
    .sa-dropdown > a .fa-chevron-down,
    .sa-dropdown > a .icon {
        display: inline-block;
        cursor: pointer;
        padding: 5px;
    }
}

/* ==========================================================================
   9. BUSCADOR
   ========================================================================== */
.main-menu-blue .menu-search {
    display: block;
    margin-left: auto;
    flex-shrink: 0;
    min-width: 220px;
}

.menu-search .search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.menu-search .search-icon-label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    z-index: 2;
    pointer-events: none;
}

.menu-search .form-control {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--blanco);
    padding: 8px 40px 8px 35px;
    border-radius: 20px;
    min-width: 220px;
    font-size: 13px;
    height: 38px;
    margin-bottom: 0;
}

.menu-search .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.menu-search .form-control:focus {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: var(--blanco);
    outline: none;
    box-shadow: none;
}

.menu-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    color: var(--blanco);
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.menu-search button:hover {
    background: var(--blanco);
    color: var(--secondary-color);
}

/* Buscador Móvil Compacto */
.mobile-search-compact {
    display: none;
    padding: 10px 0;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    overflow: hidden;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    z-index: 2;
    pointer-events: none;
}

.search-input-wrapper .form-control {
    flex: 1;
    background-color: transparent;
    border: none;
    color: var(--blanco);
    padding: 10px 45px 10px 40px;
    font-size: 14px;
    height: 40px;
    margin-bottom: 0;
    border-radius: 0;
}

.search-input-wrapper .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input-wrapper .form-control:focus {
    background-color: rgba(255, 255, 255, 0.25);
    outline: none;
    box-shadow: none;
}

.search-input-wrapper button {
    position: absolute;
    right: 5px;
    background: var(--primary-color);
    border: none;
    color: var(--blanco);
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.search-input-wrapper button:hover {
    background: var(--blanco);
    color: var(--secondary-color);
}

/* ==========================================================================
   10. BREAKING NEWS
   ========================================================================== */
.sa-breaking-news {
    margin-bottom: 30px;
    background-color: var(--blanco);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.breaking-content {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.breaking-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 150px;
    color: var(--blanco);
    padding: 15px 20px;
    text-align: center;
    background-color: var(--primary-color);
    font-weight: 700;
    font-family: var(--heading-font);
    text-transform: uppercase;
    font-size: 13px;
    flex-shrink: 0;
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 50px;
}

.news-ticker {
    margin: 0;
    padding: 0;
    list-style: none;
    position: absolute;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
}

.news-ticker li {
    display: inline-block;
    padding: 15px 40px 15px 0;
}

.news-ticker li a {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-ticker li a:hover { color: var(--primary-color); }

@keyframes ticker-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.ticker-wrapper:hover .news-ticker { animation-play-state: paused; }

/* ==========================================================================
   11. SECCIONES Y TÍTULOS
   ========================================================================== */
.sa-section {
    overflow: hidden;
    margin-bottom: var(--space-xl);
}

.section-title {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gris-borde);
}

.section-title h1 {
    font-size: 26px;
    color: #041981;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 50px;
    background-color: var(--primary-color);
}

.section-title .see-all {
    position: absolute;
    top: 5px;
    right: 0;
    font-size: 12px;
    opacity: 0;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 600;
    transition: opacity var(--transition-base);
}

.sa-section:hover .see-all { opacity: 1; }

/* ==========================================================================
   12. POSTS / ARTÍCULOS
   ========================================================================== */
.sa-post {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: var(--radius-md);
    background-color: var(--blanco);
    box-shadow: 0 6px 12px rgba(0,0,0,.075);
    transition: all var(--transition-base);
}

.sa-post:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.entry-thumbnail {
    overflow: hidden;
    position: relative;
}

.entry-thumbnail img {
    width: 100%;
    transition: transform var(--transition-slow);
}

.sa-post:hover .entry-thumbnail img {
    transform: scale(1.08);
}

.sa-post .entry-content {
    padding: 15px;
    font-size: var(--fs-sm);
}

.sa-post .entry-content.absolute {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 1;
    color: var(--blanco);
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0) 0%, 
        rgba(0,0,0,0.4) 40%, 
        rgba(0,0,0,0.9) 100%);
}

.entry-content.absolute-cat {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 1;
    color: var(--blanco);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #0d6efd 40%, rgba(0,0,0,0.9) 80%);
}



.sa-post .entry-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--negro);
    margin: 10px 0;
    line-height: 1.3;
}

.sa-post .entry-title a { color: inherit; }

.sa-post.featured-post .entry-title a,
.sa-post .entry-content.absolute .entry-title a {
    color: var(--blanco);
}

.sa-post .category {
    font-size: 12px;
    position: absolute;
    top: 15px;
    left: 15px;
    text-transform: uppercase;
    z-index: 2;
}

.sa-post .category ul,
.entry-meta ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sa-post .category ul li a,
a.read-more {
    color: var(--blanco);
    display: block;
    padding: 3px 10px;
    background-color: var(--primary-color);
    font-weight: 800;
    font-size: 15px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.sa-post .category ul li a:hover {
    background-color: var(--primary-dark);
}

.entry-meta ul li {
    margin-right: 15px;
    font-size: var(--fs-xs);
    color: var(--gris-claro);
}

.entry-meta ul li i {
    margin-right: 5px;
    color: var(--primary-color);
}

.entry-meta ul li a { color: inherit; }
.entry-meta ul li a:hover { color: var(--primary-color); }

/* Post style 1 (horizontal) */
.post-style-1 {
    display: flex;
    gap: 15px;
}

.post-style-1 .entry-header {
    flex-shrink: 0;
    max-width: 140px;
    min-width: 140px;
    min-height: 90px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.post-style-1 .entry-content {
    flex: 1;
    padding: 0;
}

.post-style-1 .entry-title {
    font-size: 16px;
    margin: 0 0 8px 0;
}

.small-post .entry-title { font-size: 16px; }
.small-post .entry-content { font-size: 13px; }

/* ==========================================================================
   13. SIDEBAR WIDGETS
   ========================================================================== */
.sa-widget {
    margin-bottom: 30px;
    background-color: var(--blanco);
    border-radius: var(--radius-md);
    box-shadow: 0 6px 12px rgba(0,0,0,.075);
    overflow: hidden;
}

.widget-title {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    margin: 0;
    padding: 15px 20px;
    border-bottom: 2px solid var(--gris-borde);
    font-family: var(--heading-font);
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 20px;
    bottom: -2px;
    height: 2px;
    width: 40px;
    background-color: var(--primary-color);
}

.widget-title i {
    margin-right: 8px;
    color: var(--secondary-color);
}

/* Widget Social */
.widget-social ul {
    padding: 30px 30px 10px;
    overflow: hidden;
    background-color: var(--blanco);
    box-shadow: 0 6px 12px rgba(0,0,0,.075);
}

.widget-social ul li {
    width: 50%;
    float: left;
    margin-bottom: 20px;
    font-size: 12px;
    overflow: hidden;
    text-align: center;
}

.widget-social ul li:nth-child(odd) { padding-right: 10px; }
.widget-social ul li:nth-child(even) { padding-left: 10px; }

.widget-social ul li span {
    width: 40px;
    height: 35px;
    line-height: 35px;
    display: block;
    text-align: center;
    color: var(--blanco);
    font-size: 20px;
    float: left;
}

.widget-social ul li a {
    display: block;
    color: var(--blanco);
    height: 35px;
    line-height: 35px;
    transition: opacity var(--transition-base);
}

.widget-social ul li a:hover { opacity: 0.9; }

.widget-social ul li.facebook span { background-color: #0061C2; }
.widget-social ul li.facebook a { background-color: #056ED8; }
.widget-social ul li.youtube span { background-color: #FE031C; }
.widget-social ul li.youtube a { background-color: #E50017; }
.widget-social ul li.twitter span { background-color: #2391FF; }
.widget-social ul li.twitter a { background-color: #349AFF; }
.widget-social ul li.linkedin span { background-color: #349AFF; }
.widget-social ul li.linkedin a { background-color: rgba(52, 154, 255, 0.85); }



/* ==========================================================================
   14. WIDGET CLIMA
   ========================================================================== */
.weather-widget {
    padding: 30px;
    overflow: hidden;
    background-color: var(--blanco);
    box-shadow: 0 6px 12px rgba(0,0,0,.075);
}

.weather-top {
    color: var(--blanco);
    padding: 20px;
    overflow: hidden;
    background-color: #00a4ed;
    font-weight: 500;
    border-radius: 4px 4px 0 0;
}

.weather-temp {
    display: block;
    font-size: 48px;
    line-height: 45px;
    margin-bottom: 10px;
    font-weight: 100;
}

.weather-temp sup {
    font-size: 24px;
    margin-left: -20px;
}

.weather-type {
    font-size: 15px;
    font-weight: 300;
    display: block;
}

.weather-bottom {
    overflow: hidden;
    background-color: var(--blanco);
    border-radius: 0 0 4px 4px;
}

.weather-bottom ul {
    display: flex;
    justify-content: space-around;
    margin: 0;
    padding: 0;
    list-style: none;
}

.weather-bottom li {
    width: 50%;
    float: left;
    padding: 30px 20px 25px;
    font-weight: 500;
    text-align: center;
}

.weather-bottom li + li { border-left: 1px solid #f2f3f5; }

.weather-icon {
    float: left;
    margin-right: 10px;
    font-size: 24px;
    color: var(--secondary-color);
}

.weather-info {
    display: inline-block;
    font-size: 28px;
    color: #aaa;
}

.weather-info .date {
    display: block;
    font-size: 12px;
    line-height: 10px;
    color: var(--gris-claro);
    text-transform: uppercase;
    font-weight: 600;
}

/* ==========================================================================
   15. WIDGET COMBUSTIBLES
   ========================================================================== */
.fuel-prices-list { padding: 15px 20px; }

.fuel-prices-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fuel-prices-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--fondo);
}

.fuel-prices-list li:last-child { border-bottom: none; }

.fuel-name {
    color: var(--negro);
    font-weight: 700;
    font-size: 14px;
    font-family: var(--heading-font);
}

.fuel-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    font-family: var(--heading-font);
}

.fuel-date {
    font-size: 11px;
    color: var(--gris-claro);
    margin: 15px 0 0 0;
    text-align: center;
    font-style: italic;
    padding: 10px;
    background-color: var(--fondo);
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   16. WIDGET DIVISA
   ========================================================================== */
.currency-list { padding: 15px; }

.currency-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.currency-list li { margin-bottom: 15px; }
.currency-list li:last-child { margin-bottom: 0; }

.currency-item {
    padding: 15px;
    background-color: var(--blanco);
    border: 1px solid var(--gris-borde);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.currency-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.currency-header-row {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--gris-borde);
}

.currency-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--negro);
    display: flex;
    align-items: center;
    font-family: var(--heading-font);
}

.currency-name i {
    margin-right: 8px;
    color: var(--secondary-color);
    font-size: 16px;
}

.currency-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.currency-price-box {
    padding: 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: all var(--transition-base);
}

.currency-price-box.buy {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 1px solid #a5d6a7;
}

.currency-price-box.sell {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 1px solid #ef9a9a;
}

.currency-price-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.price-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-family: var(--heading-font);
}

.currency-price-box.buy .price-label { color: #2e7d32; }
.currency-price-box.sell .price-label { color: #c62828; }

.price-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--heading-font);
}

.currency-price-box.buy .price-value { color: #1b5e20; }
.currency-price-box.sell .price-value { color: #b71c1c; }

.currency-date {
    font-size: 11px;
    color: var(--gris-claro);
    margin: 15px 0 0 0;
    text-align: center;
    font-style: italic;
    padding: 10px;
    background-color: var(--fondo);
    border-radius: var(--radius-sm);
}

.currency-date i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* ==========================================================================
   17. WIDGET ENCUESTA
   ========================================================================== */
.poll-widget { padding: 15px 20px 20px; }

.poll-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a3a8f 100%);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--blanco);
}

.poll-header > i {
    font-size: 28px;
    background: rgba(255, 255, 255, 0.15);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.poll-question {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--blanco);
}

.poll-subtitle {
    font-size: 12px;
    opacity: 0.85;
    margin: 0;
}

.poll-options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.poll-option-card {
    display: block;
    position: relative;
    padding: 14px 16px;
    background-color: var(--blanco);
    border: 2px solid var(--gris-borde);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    overflow: hidden;
}

.poll-option-card:hover {
    border-color: var(--secondary-color);
    transform: translateX(3px);
    box-shadow: var(--shadow-md);
}

.poll-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.poll-option-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.poll-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--fondo) 0%, var(--gris-borde) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 15px;
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.poll-option-card:hover .poll-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a3a8f 100%);
    color: var(--blanco);
}

.poll-option-info { flex: 1; }

.poll-option-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--negro);
    font-family: var(--heading-font);
    display: block;
}

.poll-option-desc {
    font-size: 11px;
    color: var(--gris-claro);
    margin-top: 2px;
    display: block;
}

.poll-check {
    color: #ccc;
    font-size: 16px;
    flex-shrink: 0;
}

.poll-option-card input[type="radio"]:checked ~ .poll-option-content .poll-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--blanco);
}

.poll-option-card input[type="radio"]:checked ~ .poll-option-content .poll-check {
    color: var(--primary-color);
}

.poll-option-card:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background-color: #fff5f5;
}

.poll-result-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 33, 124, 0.08) 0%, rgba(10, 33, 124, 0.15) 100%);
    z-index: 1;
    transition: width 0.8s ease;
    border-radius: 6px;
}

.poll-result-percent {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: var(--heading-font);
    z-index: 3;
}

.poll-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.poll-btn, .poll-btn-results {
    flex: 1;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    font-family: var(--heading-font);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: none;
}

.poll-btn {
    background: var(--primary-color);
    color: var(--blanco);
}

.poll-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.poll-btn-results {
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    background: transparent;
}

.poll-btn-results:hover {
    background: var(--secondary-color);
    color: var(--blanco);
    transform: translateY(-2px);
}

.poll-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: var(--fondo);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--gris);
}

.poll-footer span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.poll-footer i { color: var(--secondary-color); }
.poll-footer strong { color: var(--negro); }

/* ==========================================================================
   18. FORMULARIOS
   ========================================================================== */
.form-control {
    height: 45px;
    border-radius: var(--radius-sm);
    padding: 6px 20px;
    margin-bottom: 20px;
    border: 1px solid #D8E2E9;
    transition: border-color var(--transition-base);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
    outline: none;
}

/* ==========================================================================
   19. FOOTER
   ========================================================================== */
#footer.footer-modern {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #a5a7a8;
    margin-top: 50px;
}

.footer-newsletter {
    background: var(--primary-color);
    padding: 40px 0;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.newsletter-text h3 {
    color: var(--blanco);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.newsletter-text h3 i { margin-right: 10px; }

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0;
}

.newsletter-form form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: var(--blanco);
    font-size: 14px;
    min-width: 280px;
    transition: all var(--transition-base);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--blanco);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 12px 30px;
    background: var(--blanco);
    color: var(--primary-color);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.newsletter-form button:hover {
    background: var(--secondary-color);
    color: var(--blanco);
    transform: translateY(-2px);
}

.footer-main {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget { margin-bottom: 30px; }
.footer-logo { margin-bottom: 20px; }

.footer-logo img {
    max-width: 180px;
    filter: brightness(0) invert(1);
}

.footer-about {
    font-size: 14px;
    line-height: 1.8;
    color: #a5a7a8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--blanco);
    border-radius: var(--radius-full);
    font-size: 16px;
    transition: all var(--transition-base);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--blanco);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 12px; }

.footer-links li a {
    color: #a5a7a8;
    font-size: 14px;
    transition: all var(--transition-base);
    position: relative;
    padding-left: 0;
    display: inline-block;
}

.footer-links li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: var(--primary-color);
    transition: all var(--transition-base);
}

.footer-links li a:hover {
    color: var(--blanco);
    padding-left: 20px;
}

.footer-links li a:hover::before {
    left: 0;
    opacity: 1;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
    color: #a5a7a8;
}

.footer-contact li i {
    color: var(--primary-color);
    font-size: 16px;
    margin-right: 12px;
    margin-top: 3px;
    min-width: 20px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
}

.copyright {
    font-size: 14px;
    color: #a5a7a8;
    margin: 0;
}

.copyright strong {
    color: var(--blanco);
    font-weight: 600;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-bottom-links li a {
    color: #a5a7a8;
    font-size: 13px;
    transition: color var(--transition-base);
}

.footer-bottom-links li a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   20. BOTÓN VOLVER ARRIBA
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--blanco);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* ==========================================================================
   21. PRELOADER
   ========================================================================== */
#preloader {
    position: fixed;
    inset: 0;
    background-color: var(--blanco);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

#preloader i {
    font-size: 50px;
    color: var(--primary-color);
}

/* ==========================================================================
   22. MODO OSCURO
   ========================================================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --negro: #f0f0f0;
        --gris-oscuro: #e0e0e0;
        --gris: #b0b0b0;
        --gris-claro: #888888;
        --gris-borde: #2a2a2a;
        --fondo: #121212;
        --blanco: #1e1e1e;
    }
    
    body { color: #e0e0e0; }
    
    .sa-post .entry-title,
    .section-title h1 { color: #f0f0f0; }
    
    .sa-post, .sa-widget {
        background-color: #1e1e1e;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}

/* ==========================================================================
   23. ANIMACIONES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sa-section {
    animation: fadeInUp 0.6s ease-out;
}

/* ==========================================================================
   24. BREADCRUMB
   ========================================================================== */
.breadcrumb-wrapper {
    background-color: var(--blanco);
    padding: 15px 0;
    border-bottom: 1px solid var(--gris-borde);
    margin-bottom: 30px;
}

.breadcrumb-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    flex-wrap: wrap;
}

.breadcrumb-custom li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-custom li:not(:last-child)::after {
    content: '/';
    color: var(--gris-claro);
}

.breadcrumb-custom li a {
    color: var(--gris);
    text-decoration: none;
    transition: color var(--transition-base);
}

.breadcrumb-custom li a:hover {
    color: var(--primary-color);
}

.breadcrumb-custom li.active {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumb-custom li i { font-size: 12px; }

/* ==========================================================================
   25. CATEGORY HEADER
   ========================================================================== */
.category-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a3a8f 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--blanco);
    margin-bottom: 30px;
}

.category-header-content {
    max-width: 600px;
    margin: 0 auto;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
}

.category-title {
    font-size: var(--fs-2xl);
    font-weight: 800;
    margin: 0 0 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.category-description {
    font-size: var(--fs-base);
    opacity: 0.9;
    margin: 0 0 20px;
}

.category-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    font-size: var(--fs-sm);
}

.category-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.85;
}

/* ==========================================================================
   26. CATEGORY FILTERS
   ========================================================================== */
.category-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--blanco);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gris-oscuro);
}

.filter-label i {
    color: var(--primary-color);
    margin-right: 5px;
}

.filter-select {
    padding: 8px 15px;
    border: 1px solid var(--gris-borde);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background-color: var(--blanco);
    cursor: pointer;
    transition: border-color var(--transition-base);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.filter-right {
    display: flex;
    gap: 8px;
}

.view-toggle {
    width: 38px;
    height: 38px;
    border: 1px solid var(--gris-borde);
    background-color: var(--blanco);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--gris);
}

.view-toggle:hover,
.view-toggle.active {
    background-color: var(--primary-color);
    color: var(--blanco);
    border-color: var(--primary-color);
}

/* ==========================================================================
   27. CATEGORY FEATURED POST
   ========================================================================== */
.category-featured { margin-bottom: 40px; }

.category-featured .entry-thumbnail { min-height: 400px; }

.category-featured .entry-thumbnail img {
    height: 100%;
    object-fit: cover;
}

.entry-excerpt {
    font-size: var(--fs-sm);
    opacity: 0.9;
    margin-top: 10px;
    line-height: 1.6;
}

/* ==========================================================================
   28. ARTICLE DETAIL STYLES
   ========================================================================== */
.noticia-detalle .section-name {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: var(--blanco);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    text-decoration: none;
    transition: background-color var(--transition-base);
}

.noticia-detalle .section-name:hover {
    background-color: var(--primary-dark);
    color: var(--blanco);
}

.noticia-detalle h1 {
    font-size: clamp(1.8rem, 2.5vw + 1rem, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px;
    color: var(--negro);
}

.noticia-detalle .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid var(--gris-borde);
    border-bottom: 1px solid var(--gris-borde);
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--gris);
}

.noticia-detalle .entry-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.noticia-detalle .entry-meta i { color: var(--primary-color); }

.noticia-detalle .entry-meta a {
    color: var(--gris-oscuro);
    text-decoration: none;
    transition: color var(--transition-base);
}

.noticia-detalle .entry-meta a:hover { color: var(--primary-color); }

.featured-image {
    margin: 0 0 25px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.wp-caption-text {
    font-size: 13px;
    color: var(--gris);
    padding: 10px 0;
    font-style: italic;
    border-bottom: 1px solid var(--gris-borde);
}

.noticia-detalle .lead {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--gris-oscuro);
    margin-bottom: 25px;
}

.noticia-detalle .entry-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gris-oscuro);
    margin-bottom: 20px;
}

.noticia-detalle .entry-content a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.article-quote {
    background: linear-gradient(135deg, var(--fondo) 0%, #e8edf5 100%);
    border-left: 4px solid var(--primary-color);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
}

.article-quote p {
    font-size: 1.3rem !important;
    color: var(--negro) !important;
    margin: 0 0 10px !important;
    line-height: 1.5;
}

.article-quote cite {
    font-size: 14px;
    color: var(--gris);
    font-style: normal;
    font-weight: 600;
}

.article-list {
    padding-left: 20px;
    margin: 20px 0;
}

.article-list li {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 10px;
    color: var(--gris-oscuro);
    position: relative;
    padding-left: 10px;
}

.article-list li::marker { color: var(--primary-color); }

.entry-footer {
    padding: 20px 0;
    margin: 30px 0;
    border-top: 1px solid var(--gris-borde);
    border-bottom: 1px solid var(--gris-borde);
    font-size: 14px;
}

.entry-footer .cat-links,
.entry-footer .tags-links { margin-bottom: 10px; }

.entry-footer strong {
    color: var(--negro);
    margin-right: 10px;
}

.entry-footer a {
    color: var(--primary-color);
    text-decoration: none;
    margin-right: 5px;
}

.entry-footer a:hover { text-decoration: underline; }

/* Share buttons */
.share-buttons {
    margin: 30px 0;
    padding: 25px;
    background-color: var(--fondo);
    border-radius: var(--radius-md);
    text-align: center;
}

.share-buttons h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--negro);
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-share li a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--blanco);
    font-size: 18px;
    transition: all var(--transition-base);
    text-decoration: none;
}

.social-share li a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-share .facebook { background-color: #1877f2; }
.social-share .twitter { background-color: #1da1f2; }
.social-share .whatsapp { background-color: #25d366; }
.social-share .telegram { background-color: #0088cc; }
.social-share .linkedin { background-color: #0a66c2; }
.social-share .copy-link { background-color: var(--gris-oscuro); }

/* Tags */
.tagcloud-style-1 { margin: 30px 0; }

.tagcloud-style-1 h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-list a {
    padding: 6px 15px;
    background-color: var(--fondo);
    color: var(--gris-oscuro);
    border-radius: var(--radius-sm);
    font-size: 13px;
    text-decoration: none;
    transition: all var(--transition-base);
}

.tags-list a:hover {
    background-color: var(--primary-color);
    color: var(--blanco);
}

/* Comments */
.sa-comments-area {
    margin-top: 40px;
    padding: 30px;
    background-color: var(--blanco);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.comment-form { margin-bottom: 30px; }
.comment-form .form-control { margin-bottom: 15px; }

.comments-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gris-borde);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .comment { margin-bottom: 20px; }

.comment-box {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gris-borde);
}

.commenter-avatar { flex-shrink: 0; }

.commenter-avatar img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.comment-content { flex: 1; }

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-meta .url {
    font-weight: 700;
    color: var(--negro);
    text-decoration: none;
}

.comment-meta .sa-date {
    font-size: 12px;
    color: var(--gris-claro);
}

.comment-content p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 10px;
    color: var(--gris-oscuro);
}

.reply-link {
    font-size: 13px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.reply-link:hover { text-decoration: underline; }

.comment-list .children {
    list-style: none;
    padding-left: 40px;
    margin: 20px 0 0;
}

.related-posts { margin-top: 40px; }

/* ==========================================================================
   29. RESPONSIVE CONSOLIDADO (TODOS LOS BREAKPOINTS)
   ========================================================================== */

/* Desktop grande (> 1399px) */
@media (max-width: 1399px) {
    .floating-banners { display: none; }
}

/* Tablet (<= 1199px) */
@media (max-width: 1199px) {
    .banner-grid {
        grid-template-columns: 220px auto 220px;
        gap: 15px;
    }
    
    .banner-ad {
        width: 220px;
        height: 78px;
    }
    
    .banner-center .logo-centered {
        max-width: 300px;
    }
}

/* Tablet y móvil (<= 991px) */
@media (max-width: 991px) {
    /* Header */
    .logo-section { display: none; }
    .mobile-logo-navbar { display: block; }
    .desktop-only { display: none !important; }
    
    /* Topbar */
    .topbar-item {
        padding: 8px 10px !important;
        font-size: 11px;
    }
    
    /* Topbar botones de acción */
    .topbar-item.topbar-action {
        padding: 4px 6px !important;
    }
    
    .topbar-btn {
        padding: 4px 8px;
        font-size: 10px;
        gap: 4px;
    }
    
    .topbar-btn i { font-size: 12px; }
    
    .btn-text-full { display: none; }
    .btn-text-short { display: inline; }
    
    /* Banner 3 columnas - solo logo en móvil */
    .banner-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .banner-left,
    .banner-right {
        display: none;
    }
    
    .banner-center .logo-centered {
        max-width: 280px;
    }
    
    /* MENÚ MÓVIL */
    .main-menu-blue .desktop-nav { display: none; }
    .main-menu-blue .menu-search { display: none; }
    
    .main-menu-blue .mobile-menu-toggle {
        display: flex;
        align-items: center;
        gap: 10px;
        order: 1;
    }
    
    .main-menu-blue .mobile-menu-toggle .menu-label {
        font-size: 14px;
        font-weight: 700;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-family: var(--heading-font);
    }
    
    .main-menu-blue .menu-content {
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .main-menu-blue .navbar-nav > li > a {
        padding: 15px 20px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-menu-blue .navbar-collapse,
    .main-menu-blue .mobile-nav-collapse.show {
        display: block;
        background-color: var(--secondary-color);
        margin-top: 10px;
        border-radius: 4px;
        padding: 10px 0;
        width: 100%;
        order: 3;
    }
    
    .main-menu-blue .mobile-nav-collapse .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .main-menu-blue .mobile-nav-collapse .navbar-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-menu-blue .mobile-nav-collapse .navbar-nav li a {
        padding: 15px 20px !important;
        color: #fff !important;
        display: block;
    }
    
    .sa-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
    }
    
    .sa-dropdown.open > .sa-dropdown-menu { display: block; }
    
    .navbar-toggler { display: block; }
    
    /* Buscador móvil compacto */
    .main-menu-blue .mobile-search-compact {
        display: block;
        width: 100%;
        order: 4;
        padding: 10px 0;
    }
    
    .main-menu-blue .mobile-search-compact .search-input-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        background-color: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 25px;
        overflow: hidden;
    }
    
    .main-menu-blue .mobile-search-compact .search-icon {
        position: absolute;
        left: 15px;
        color: rgba(255, 255, 255, 0.7);
        font-size: 14px;
        z-index: 2;
        pointer-events: none;
    }
    
    .main-menu-blue .mobile-search-compact .form-control {
        flex: 1;
        background-color: transparent;
        border: none;
        color: #fff;
        padding: 10px 45px 10px 40px;
        font-size: 14px;
        height: 40px;
        margin-bottom: 0;
        border-radius: 0;
    }
    
    .main-menu-blue .mobile-search-compact .form-control::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .main-menu-blue .mobile-search-compact .form-control:focus {
        background-color: rgba(255, 255, 255, 0.25);
        outline: none;
        box-shadow: none;
    }
    
    .main-menu-blue .mobile-search-compact button {
        position: absolute;
        right: 5px;
        background: var(--primary-color);
        border: none;
        color: #fff;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    
    /* Breaking news */
    .breaking-label {
        min-width: 120px;
        padding: 12px 15px;
        font-size: 11px;
    }
    
    .news-ticker li {
        padding: 12px 30px 12px 0;
    }
    
    .news-ticker li a { font-size: 13px; }
    
    /* Footer */
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form form {
        width: 100%;
        justify-content: center;
    }
    
    .newsletter-form input { min-width: 100%; }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
}

/* Móvil (<= 767px) */
@media (max-width: 767px) {
    /* Category */
    .category-header { padding: 40px 0; }
    .category-title { font-size: 1.8rem; }
    
    .category-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-left, .filter-right { justify-content: center; }
    
    /* Posts */
    .post-style-1 { flex-direction: column; }
    .post-style-1 .entry-header { width: 100%; }
    
    /* Comments */
    .comment-list .children { padding-left: 20px; }
    .commenter-avatar img { width: 40px; height: 40px; }
    
    /* Footer */
    .footer-main { padding: 40px 0 20px; }
    .footer-logo img { max-width: 150px; }
    .footer-social { justify-content: center; }
    
    .footer-title { text-align: center; }
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links, .footer-contact { text-align: center; }
    .footer-links li a:hover { padding-left: 0; }
    .footer-links li a::before { display: none; }
    .footer-contact li { justify-content: center; }
}

/* Móvil pequeño (<= 576px) */
@media (max-width: 576px) {
    /* Topbar */
    .topbar-item {
        padding: 6px 8px !important;
        font-size: 10px;
    }
    
    /* Topbar botones */
    .topbar-item.topbar-action {
        padding: 3px 4px !important;
    }
    
    .topbar-btn {
        padding: 3px 6px;
        font-size: 9px;
        gap: 3px;
    }
    
    .topbar-btn i { font-size: 11px; }
    
    /* Logo móvil */
    .mobile-logo-navbar {
        padding: 8px 0;
    }
    
    .mobile-logo-navbar .mobile-logo {
        max-width: 200px;
        width: 70%;
    }
    
    /* Banner */
    .banner-grid { gap: 5px; }
    .banner-center .logo-centered { max-width: 220px; }
    
    /* Menú */
    .main-menu-blue .mobile-menu-toggle .menu-label { font-size: 12px; }
    
    /* Breaking news */
    .breaking-label {
        min-width: 100px;
        padding: 10px 12px;
        font-size: 10px;
    }
    
    /* Encuesta */
    .poll-header > i {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .poll-question { font-size: 14px; }
    .poll-icon { width: 35px; height: 35px; font-size: 14px; }
    .poll-option-label { font-size: 13px; }
    .poll-option-desc { display: none; }
    .poll-actions { flex-direction: column; }
    
    /* Divisa */
    .currency-name i { display: none; }
    .price-value { font-size: 14px; }
    
    /* Botón volver arriba */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Móvil muy pequeño (<= 400px) */
@media (max-width: 400px) {
    /* Topbar botones - solo iconos */
    .topbar-btn .btn-text-short,
    .topbar-btn .btn-text-full {
        display: none;
    }
    
    .topbar-btn {
        padding: 5px 8px;
    }
    
    /* Logo móvil más pequeño */
    .mobile-logo-navbar {
        padding: 6px 0;
    }
    
    .mobile-logo-navbar .mobile-logo {
        max-width: 180px;
        width: 85%;
    }
    
    .banner-center .logo-centered {
        max-width: 180px;
    }
}


/* ==========================================================================
   PÁGINAS LEGALES (Privacidad, Términos, Cookies)
   ========================================================================== */
.legal-content h2.subtitle {
    color: var(--secondary-color);
    font-size: 22px;
    font-weight: 700;
    margin: 30px 0 15px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
}

.legal-content h3 {
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 10px;
}

.legal-content .lead {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--gris-oscuro);
    padding: 20px;
    background-color: var(--fondo);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.legal-content .table {
    margin-top: 20px;
    background-color: var(--blanco);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.legal-content .table thead {
    background-color: var(--secondary-color);
    color: var(--blanco);
}

.legal-content .table th {
    padding: 12px 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.legal-content .table td {
    padding: 12px 15px;
    border-top: 1px solid var(--gris-borde);
}

.legal-content .table tbody tr:hover {
    background-color: var(--fondo);
}

/* ==========================================================================
   MAPA DEL SITIO
   ========================================================================== */
.sitemap-section {
    margin-bottom: 35px;
    padding: 20px;
    background-color: var(--fondo);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.sitemap-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gris-borde);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sitemap-section h3 i {
    color: var(--primary-color);
    font-size: 20px;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-list li {
    margin-bottom: 8px;
}

.sitemap-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--gris-oscuro);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    font-size: 14px;
}

.sitemap-list li a i {
    font-size: 10px;
    color: var(--primary-color);
    transition: transform var(--transition-base);
}

.sitemap-list li a:hover {
    background-color: var(--blanco);
    color: var(--primary-color);
    padding-left: 18px;
    box-shadow: var(--shadow-sm);
}

.sitemap-list li a:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 767px) {
    .sitemap-section {
        padding: 15px;
    }
    
    .sitemap-section h3 {
        font-size: 16px;
    }
    
    .sitemap-list li a {
        padding: 6px 10px;
        font-size: 13px;
    }
}



/* ==========================================================================
   PÁGINA DE ERROR 404
   ========================================================================== */
.error-page {
    padding: 60px 20px;
}

.error-code {
    font-size: 150px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
    font-family: var(--heading-font);
}

.error-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--negro);
}

.error-description {
    font-size: 18px;
    color: var(--gris);
    margin-bottom: 30px;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: var(--fondo);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--gris-oscuro);
    transition: all var(--transition-base);
}

.error-link:hover {
    background-color: var(--primary-color);
    color: var(--blanco);
    transform: translateY(-3px);
}

.error-link i {
    font-size: 30px;
    margin-bottom: 10px;
}

/* ============================================================
   PÁGINA FEEDS RSS - ESTILOS
   ============================================================ */

.rss-feed-item {
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.rss-feed-item:hover {
    border-color: #007bff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

.rss-feed-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.rss-feed-item h3 i {
    margin-right: 8px;
}

.rss-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 350px;
}

.rss-actions .rss-url {
    font-size: 12px;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 220px;
}

.rss-actions .rss-url:hover {
    background: #e9ecef;
    border-color: #007bff;
}

.rss-actions .rss-url:focus {
    background: #fff;
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.rss-actions .btn-copy-rss {
    white-space: nowrap;
    position: relative;
    transition: all 0.3s ease;
}

.rss-actions .btn-copy-rss.btn-success {
    background: #28a745 !important;
    border-color: #28a745 !important;
}

.copy-tooltip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 100;
}

.copy-tooltip:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
}

/* Lista de lectores RSS */
.rss-readers-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rss-readers-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.rss-readers-list li:last-child {
    border-bottom: none;
}

.rss-readers-list a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.rss-readers-list a:hover {
    color: #007bff;
    padding-left: 5px;
}

.rss-readers-list a i {
    color: #007bff;
    font-size: 14px;
}

/* Estadísticas del Feed */
.rss-stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rss-stats-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.rss-stats-list li:last-child {
    border-bottom: none;
}

.rss-stats-list li i {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.rss-stats-list li span {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.rss-stats-list li small {
    color: #666;
    font-size: 13px;
    margin-left: auto;
}

/* Colores personalizados para iconos */
.text-pink {
    color: #e83e8c !important;
}

/* Responsive */
@media (max-width: 991px) {
    .rss-actions {
        flex-direction: column;
        align-items: stretch;
        min-width: auto;
        width: 100%;
        margin-top: 15px;
    }
    
    .rss-feed-item .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .rss-actions .rss-url {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .rss-feed-item h3 {
        font-size: 16px;
    }
    
    .rss-stats-list li span {
        font-size: 18px;
    }
    
    .rss-stats-list li i {
        font-size: 20px;
        width: 30px;
    }
}

/* ==========================================================================
   ARCHIVO DE NOTICIAS
   ========================================================================== */
.archive-year h2 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}

.archive-month {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--blanco);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.archive-month h3 {
    font-size: 18px;
    color: var(--negro);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gris-borde);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.archive-list li:last-child {
    border-bottom: none;
}

.archive-list li a {
    color: var(--gris-oscuro);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-base);
}

.archive-list li a:hover {
    color: var(--primary-color);
}

.archive-date {
    font-size: 12px;
    color: var(--gris-claro);
    white-space: nowrap;
}

/* ==========================================================================
   RESULTADOS DE BÚSQUEDA
   ========================================================================== */
.search-box-featured {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a3a8f 100%);
    color: var(--blanco);
}

.search-box-featured h2 {
    color: var(--blanco);
    margin-bottom: 20px;
}

.search-box-featured .form-control {
    background-color: var(--blanco);
    border: none;
}

.search-results-info {
    color: rgba(255, 255, 255, 0.9);
}

.search-result mark {
    background-color: #ffeb3b;
    padding: 2px 4px;
    border-radius: 2px;
}

.search-excerpt {
    color: var(--gris);
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
}

/* ==========================================================================
   EDICIÓN IMPRESA
   ========================================================================== */
.current-edition {
    border: 2px solid var(--primary-color);
}

.edition-badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: var(--blanco);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
}

.edition-cover {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.edition-info {
    color: var(--gris);
    margin: 15px 0;
}

.edition-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

.edition-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.edition-card {
    transition: all var(--transition-base);
}

.edition-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   PERFIL DE AUTOR
   ========================================================================== */
.author-avatar {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 5px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.author-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.author-position {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.author-bio {
    color: var(--gris-oscuro);
    line-height: 1.7;
    margin-bottom: 20px;
}

.author-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.author-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gris);
    font-size: 14px;
}

.author-stats i {
    color: var(--primary-color);
}

.author-social {
    display: flex;
    gap: 10px;
}

.author-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fondo);
    color: var(--gris-oscuro);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-base);
}

.author-social a:hover {
    background-color: var(--primary-color);
    color: var(--blanco);
    transform: translateY(-3px);
}

/* ==========================================================================
   FAVORITOS
   ========================================================================== */
.favorite-item {
    position: relative;
}

.btn-remove-fav {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--blanco);
    border: 1px solid var(--gris-borde);
    color: var(--gris);
    width: 35px;
    height: 35px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-remove-fav:hover {
    background-color: var(--primary-color);
    color: var(--blanco);
    border-color: var(--primary-color);
}

/* ============================================================
   TV EN VIVO - ESTILOS
   ============================================================ */

/* Reproductor Principal */
.tv-player-main {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: #000;
}

.tv-player-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.tv-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tv-video-container iframe,
.tv-video-container video {
    width: 100%;
    height: 100%;
    border: none;
}

/* Badge EN VIVO */
.live-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #dc3545;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(220, 53, 69, 0.8);
    }
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Placeholder cuando no hay stream */
.tv-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.tv-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.tv-placeholder p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.7;
}

/* Información del Programa */
.current-program {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.program-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.viewer-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 14px;
    color: #555;
    font-weight: 600;
}

.viewer-count i {
    color: #dc3545;
}

/* Programación */
.tv-schedule {
    margin-top: 20px;
}

.schedule-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.schedule-item:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.schedule-item.current {
    background: #fff;
    border-left-color: #dc3545;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.15);
}

.schedule-time {
    font-size: 16px;
    font-weight: 700;
    color: #007bff;
    min-width: 120px;
    display: flex;
    align-items: center;
}

.schedule-info {
    flex: 1;
}

.schedule-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.schedule-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.schedule-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #dc3545;
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 767px) {
    .schedule-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .schedule-time {
        min-width: auto;
        font-size: 14px;
    }
    
    .current-program {
        font-size: 20px;
    }
    
    .tv-placeholder i {
        font-size: 60px;
    }
    
    .tv-placeholder p {
        font-size: 16px;
    }
}

/* ==========================================================================
   SUSCRIPCIÓN
   ========================================================================== */
.benefit-card {
    height: 100%;
    transition: all var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* ==========================================================================
   RESPONSIVE PARA PÁGINAS ESPECIALES
   ========================================================================== */
@media (max-width: 767px) {
    .error-code {
        font-size: 100px;
    }
    
    .error-title {
        font-size: 24px;
    }
    
    .rss-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .rss-url {
        min-width: auto;
    }
    
    .author-avatar {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }
    
    .author-name {
        font-size: 24px;
    }
    
    .schedule-item {
        flex-direction: column;
    }
    
    .schedule-time {
        margin-bottom: 10px;
    }
    
    .edition-cover {
        margin-bottom: 20px;
    }
    
    .edition-actions {
        flex-direction: column;
    }
}

/* ============================================================
   BANNERS FLOTANTES FIJOS
   ============================================================ */
.floating-banners-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 999;
    transition: opacity 0.3s ease;
}

.floating-banners-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.floating-banners-container .floating-banner {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    transition: all 0.3s ease;
}

.floating-banners-container .floating-banner-left {
    left: 10px;
}

.floating-banners-container .floating-banner-right {
    right: 10px;
}

.floating-banners-container .floating-banner img {
    max-width: 160px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.floating-banners-container .floating-banner:hover {
    transform: translateY(-50%) scale(1.05);
}

/* Ocultar en pantallas pequeñas */
@media (max-width: 1199.98px) {
    .floating-banners-container {
        display: none !important;
    }
}

/* ============================================================
   BANNER DE COOKIES - ESTILOS
   ============================================================ */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px;
}

.cookie-consent-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    color: #fff;
}

.cookie-icon {
    font-size: 48px;
    color: #ffc107;
    flex-shrink: 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.cookie-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cookie-btn i {
    font-size: 14px;
}

.cookie-btn-reject {
    background: #6c757d;
    color: #fff;
}

.cookie-btn-reject:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.cookie-btn-settings {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cookie-btn-settings:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

.cookie-btn-accept {
    background: #28a745;
    color: #fff;
}

.cookie-btn-accept:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Modal de Configuración */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cookie-modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-modal-header {
    padding: 20px 25px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    border-radius: 12px 12px 0 0;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.cookie-modal-close:hover {
    transform: rotate(90deg);
}

.cookie-modal-body {
    padding: 25px;
}

.cookie-modal-intro {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cookie-category:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-category-title i {
    font-size: 20px;
    color: #007bff;
}

.cookie-category-title h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.cookie-category-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin: 0;
    padding-left: 30px;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 26px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #28a745;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #28a745;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 20px 25px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.cookie-modal-footer .cookie-btn {
    padding: 12px 30px;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 767px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-icon {
        font-size: 36px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-modal-content {
        max-height: 95vh;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cookie-category-desc {
        padding-left: 0;
    }
}


/* ============================================================
   SISTEMA DE FAVORITOS - ESTILOS
   ============================================================ */

/* Botón de Favorito (Grande - Single) */
.favorite-button-container {
    margin: 20px 0;
    text-align: center;
}

.btn-favorite {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    color: #666;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-favorite:hover {
    border-color: #dc3545;
    color: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

.btn-favorite.is-favorite {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.btn-favorite.is-favorite:hover {
    background: #c82333;
    border-color: #c82333;
}

.btn-favorite i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-favorite:hover i {
    transform: scale(1.2);
}

.btn-favorite.is-favorite i {
    animation: heartBeat 0.6s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.2); }
}

/* Botón de Favorito (Pequeño - Tarjetas) */
.btn-favorite-small {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-favorite-small:hover {
    background: #dc3545;
    color: #fff;
    transform: scale(1.1);
}

.btn-favorite-small.is-favorite {
    background: #dc3545;
    color: #fff;
}

.btn-favorite-small.is-favorite i {
    animation: heartBeat 0.6s ease;
}

/* Botón Eliminar Favorito */
.btn-remove-fav {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-fav:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
    transform: scale(1.1);
}

/* Item de Favorito */
.favorite-item {
    position: relative;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.favorite-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Notificación de Favoritos */
.favorite-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    border-left: 4px solid #007bff;
}

.favorite-notification.show {
    transform: translateX(0);
}

.favorite-notification.success {
    border-left-color: #28a745;
}

.favorite-notification.success i {
    color: #28a745;
}

.favorite-notification.info {
    border-left-color: #17a2b8;
}

.favorite-notification.info i {
    color: #17a2b8;
}

.favorite-notification i {
    font-size: 20px;
}

.favorite-notification span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Estadísticas de Favoritos */
.favorite-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-row:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.stat-row i {
    font-size: 20px;
    width: 30px;
    text-align: center;
}

.stat-row span {
    flex: 1;
    font-size: 14px;
    color: #666;
}

.stat-row strong {
    font-size: 18px;
    color: #333;
}

/* Categorías de Favoritos */
.favorite-category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.favorite-category-item:last-child {
    border-bottom: none;
}

.favorite-category-item span:first-child {
    color: #555;
    font-size: 14px;
}

.favorite-category-item .badge {
    background: #007bff;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 767px) {
    .btn-favorite {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .btn-favorite-small {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .btn-remove-fav {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .favorite-notification {
        top: 80px;
        right: 10px;
        left: 10px;
        padding: 12px 20px;
    }
}


/* ============================================================
   RADIO EN VIVO - ESTILOS
   ============================================================ */

/* Reproductor Principal */
.radio-player-main {
    margin-bottom: 40px;
}

.radio-player-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 30px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.radio-player-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.radio-info {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.radio-logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.radio-details {
    flex: 1;
}

.radio-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.radio-frequency {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.radio-status {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(220, 53, 69, 0.9);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.listeners {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

/* Controles */
.radio-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.radio-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    color: #667eea;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.radio-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.radio-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.volume-control {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.volume-control i {
    font-size: 20px;
    color: #fff;
}

.volume-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Now Playing */
.now-playing {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.now-playing h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.program-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.program-host {
    font-size: 15px;
    opacity: 0.9;
    margin: 0;
}

/* Programación */
.schedule-list {
    margin-top: 20px;
}

.schedule-list .schedule-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.schedule-list .schedule-item:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.schedule-list .schedule-item.current {
    background: #fff;
    border-left-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

.schedule-list .schedule-time {
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    color: #667eea;
    font-size: 16px;
}

.schedule-list .schedule-time span {
    display: block;
}

.schedule-list .schedule-time span:first-child {
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 5px;
}

.schedule-list .schedule-info {
    flex: 1;
}

.schedule-list .schedule-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.schedule-list .schedule-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.schedule-list .schedule-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #667eea;
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Play Overlay en Últimos Programas */
.entry-thumbnail {
    position: relative;
    overflow: hidden;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.play-overlay i {
    font-size: 40px;
    color: #fff;
    transition: transform 0.3s ease;
}

.entry-thumbnail:hover .play-overlay {
    opacity: 1;
}

.play-overlay:hover i {
    transform: scale(1.2);
}

/* Notificación de Radio */
.radio-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 25px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    border-left: 4px solid #dc3545;
}

.radio-notification.show {
    transform: translateX(0);
}

.radio-notification.error i {
    color: #dc3545;
    font-size: 20px;
}

.radio-notification span {
    font-size: 14px;
    color: #333;
}

/* Popular Programs */
.popular-programs .sa-post {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.popular-programs .sa-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Responsive */
@media (max-width: 767px) {
    .radio-player-card {
        padding: 20px;
    }
    
    .radio-info {
        flex-direction: column;
        text-align: center;
    }
    
    .radio-name {
        font-size: 22px;
    }
    
    .radio-status {
        justify-content: center;
    }
    
    .radio-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .volume-control {
        width: 100%;
    }
    
    .schedule-list .schedule-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .schedule-list .schedule-time {
        flex-direction: row;
        gap: 10px;
        min-width: auto;
    }
    
    .schedule-list .schedule-time span:first-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    .program-name {
        font-size: 18px;
    }
}

/* ============================================================
   EVENTOS - ESTILOS
   ============================================================ */

/* Tarjeta de Evento (Página completa) */
.event-card {
    position: relative;
    display: flex;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.event-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.event-date-badge .event-day {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.event-date-badge .event-month {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-card .entry-thumbnail {
    width: 250px;
    flex-shrink: 0;
}

.event-card .entry-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card .entry-content {
    flex: 1;
    padding: 25px;
}

.event-card .entry-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.event-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.event-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.event-info span i {
    color: #667eea;
}

.event-card .entry-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.event-card .btn-primary {
    padding: 10px 25px;
    font-size: 14px;
}

/* Tarjeta de Evento (Index - Versión pequeña) */
.event-card-small {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.event-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.event-date-badge-small {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.event-date-badge-small .event-day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.event-date-badge-small .event-month {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-card-small .entry-thumbnail {
    height: 200px;
    overflow: hidden;
}

.event-card-small .entry-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card-small:hover .entry-thumbnail img {
    transform: scale(1.05);
}

.event-card-small .entry-content {
    padding: 20px;
}

.event-card-small .entry-title {
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.event-info-small {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-info-small span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.event-info-small span i {
    color: #667eea;
    width: 16px;
}

/* Responsive */
@media (max-width: 991px) {
    .event-card {
        flex-direction: column;
    }
    
    .event-card .entry-thumbnail {
        width: 100%;
        height: 250px;
    }
    
    .event-date-badge {
        width: 60px;
        height: 60px;
    }
    
    .event-date-badge .event-day {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .event-card-small .entry-thumbnail {
        height: 180px;
    }
    
    .event-card-small .entry-title {
        font-size: 15px;
    }
    
    .event-info {
        gap: 15px;
    }
    
    .event-info span {
        font-size: 13px;
    }
}


/* ============================================================
   VIDEOS - ESTILOS
   ============================================================ */

/* Video Destacado (Página completa) */
.video-featured {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-featured .entry-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-featured .entry-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.video-featured:hover .entry-thumbnail img {
    transform: scale(1.05);
}

.video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #667eea;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-featured:hover .video-icon {
    background: #667eea;
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-featured .entry-content {
    padding: 25px;
}

.video-featured .entry-title {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Videos en Grid */
.sa-post .entry-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.sa-post .entry-thumbnail-big img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sa-post .entry-thumbnail-one img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sa-post .entry-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sa-post:hover .entry-thumbnail img {
    transform: scale(1.05);
}

.sa-post .video-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
}

/* Video Grande en Index */
.video-featured-large {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.video-featured-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-featured-large .entry-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-featured-large .entry-thumbnail img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-featured-large:hover .entry-thumbnail img {
    transform: scale(1.05);
}

.video-icon-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #667eea;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-featured-large:hover .video-icon-large {
    background: #667eea;
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-featured-large .entry-content {
    padding: 20px;
}

.video-featured-large .entry-title {
    font-size: 20px;
    margin-bottom: 12px;
}

/* Playlist de Videos */
.video-playlist {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-playlist-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.video-playlist-item:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.video-playlist-thumb {
    position: relative;
    width: 120px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.video-playlist-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-playlist-item:hover .video-playlist-thumb img {
    transform: scale(1.1);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #667eea;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-playlist-item:hover .video-play-icon {
    opacity: 1;
}

.video-playlist-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-playlist-info .entry-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.video-playlist-info .entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.video-playlist-info .entry-title a:hover {
    color: #667eea;
}

.entry-meta-small {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #999;
}

.entry-meta-small span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.entry-meta-small i {
    font-size: 11px;
}

/* Modal de Video */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.video-modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 1000px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.video-modal-close:hover {
    color: #667eea;
}

.video-modal-body {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-modal-body iframe {
    display: block;
}

/* Responsive */
@media (max-width: 991px) {
    .video-featured-large .entry-thumbnail img {
        height: 280px;
    }
    
    .video-icon-large {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .video-featured .entry-title {
        font-size: 20px;
    }
    
    .video-featured-large .entry-thumbnail img {
        height: 220px;
    }
    
    .video-icon-large {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .video-playlist-thumb {
        width: 100px;
    }
    
    .video-playlist-thumb img {
        height: 70px;
    }
    
    .video-playlist-info .entry-title {
        font-size: 13px;
    }
    
    .video-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .video-modal-body iframe {
        height: 250px !important;
    }
}


/* ============================================================
   VIDEO SINGLE - ESTILOS
   ============================================================ */

.video-single {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.video-player-container {
    position: relative;
    width: 100%;
    background: #000;
}

.video-embed-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-no-embed {
    padding: 60px 20px;
    text-align: center;
    color: #999;
}

.video-no-embed i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #ccc;
}

.video-single-content {
    padding: 30px;
}

.video-category {
    margin-bottom: 15px;
}

.video-category a {
    display: inline-block;
    padding: 6px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.video-category a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.video-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.video-meta {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.video-meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.video-meta ul li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.video-meta ul li i {
    color: #667eea;
    font-size: 16px;
}

.video-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.video-description p {
    margin-bottom: 15px;
}

.video-description h2,
.video-description h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #333;
}

.video-description a {
    color: #667eea;
    text-decoration: underline;
}

.video-tags {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.video-tags strong {
    display: block;
    margin-bottom: 12px;
    color: #333;
    font-size: 15px;
}

.video-tags strong i {
    margin-right: 8px;
    color: #667eea;
}

.video-tags .tag {
    display: inline-block;
    padding: 6px 12px;
    margin: 4px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.video-tags .tag:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

.video-share {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.video-share strong {
    display: block;
    margin-bottom: 15px;
    color: #333;
    font-size: 15px;
}

.video-share strong i {
    margin-right: 8px;
    color: #667eea;
}

.share-buttons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
}

.share-buttons li {
    display: inline-block;
}

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    color: #555;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.share-buttons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-buttons a.facebook:hover {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

.share-buttons a.twitter:hover {
    background: #1da1f2;
    color: #fff;
    border-color: #1da1f2;
}

.share-buttons a.whatsapp:hover {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}

.share-buttons a.email:hover {
    background: #ea4335;
    color: #fff;
    border-color: #ea4335;
}

/* Videos Relacionados */
.related-videos-section {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.section-subtitle {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.video-related {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.video-related:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.video-related .entry-thumbnail {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.video-related .entry-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-related:hover .entry-thumbnail img {
    transform: scale(1.05);
}

.video-related .video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #667eea;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-related:hover .video-icon {
    opacity: 1;
}

.video-related .entry-content {
    padding: 15px;
}

.video-related .entry-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-related .entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.video-related .entry-title a:hover {
    color: #667eea;
}

.video-related .entry-meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.video-related .entry-meta ul li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #999;
}

.video-related .entry-meta ul li i {
    font-size: 11px;
}

.no-related {
    text-align: center;
    color: #999;
    padding: 30px;
    font-style: italic;
}

/* Widget List (Categorías) */
.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.widget-list li:last-child {
    border-bottom: none;
}

.widget-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.widget-list a:hover {
    color: #667eea;
    padding-left: 5px;
}

.widget-list a i {
    color: #667eea;
    font-size: 14px;
}

.widget-list .count {
    margin-left: auto;
    color: #999;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 767px) {
    .video-single-content {
        padding: 20px;
    }
    
    .video-title {
        font-size: 22px;
    }
    
    .video-meta ul {
        gap: 15px;
    }
    
    .video-meta ul li {
        font-size: 13px;
    }
    
    .video-description {
        font-size: 15px;
    }
    
    .share-buttons a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .related-videos-section {
        padding: 20px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
}


/* ============================================================
   EDICIÓN IMPRESA - ESTILOS
   ============================================================ */

/* Edición Actual (destacada) */
.current-edition {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.edition-cover {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.edition-cover:hover {
    transform: scale(1.03);
}

.edition-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.current-edition h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.edition-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.edition-info i {
    color: #dc3545;
    margin-right: 5px;
}

.edition-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.edition-actions .btn {
    padding: 10px 25px;
    font-weight: 600;
}

.edition-actions .btn i {
    margin-right: 8px;
}

/* Tarjetas de ediciones anteriores */
.edition-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.edition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #dc3545;
}

.edition-card .entry-thumbnail {
    overflow: hidden;
    position: relative;
}

.edition-card .entry-thumbnail img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.edition-card:hover .entry-thumbnail img {
    transform: scale(1.05);
}

.edition-card .entry-content {
    padding: 20px;
}

.edition-card .entry-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.edition-card .text-muted {
    font-size: 13px;
    margin-bottom: 15px;
}

.edition-card-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.edition-card-actions .btn {
    flex: 1;
    font-size: 13px;
    padding: 6px 12px;
}

/* Edición individual (single) */
.edition-single {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.edition-viewer {
    position: relative;
    padding: 30px;
}

.edition-badge-top {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.edition-single-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-right: 150px;
}

.edition-single-title i {
    color: #dc3545;
    margin-right: 10px;
}

.edition-single-info {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    flex-wrap: wrap;
}

.edition-single-info span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #666;
}

.edition-single-info span i {
    color: #dc3545;
}

/* Visor de PDF */
.edition-pdf-viewer {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #f0f0f0;
}

.edition-pdf-viewer iframe {
    display: block;
    width: 100%;
    border: none;
    min-height: 600px;
}

.edition-actions-single {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.edition-actions-single .btn {
    padding: 12px 30px;
    font-weight: 600;
}

.edition-actions-single .btn i {
    margin-right: 8px;
}

.no-pdf-message {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #999;
}

.no-pdf-message i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #ccc;
}

/* Descripción */
.edition-description {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 20px;
}

.edition-description h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.edition-description h3 i {
    color: #dc3545;
    margin-right: 10px;
}

.edition-description p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

/* Sección de otras ediciones */
.related-editions {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.edition-card-small {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.edition-card-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.edition-card-small .entry-thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.edition-card-small .entry-content {
    padding: 15px;
}

.edition-card-small .entry-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.edition-card-small .entry-title a {
    color: #333;
    text-decoration: none;
}

.edition-card-small .entry-title a:hover {
    color: #dc3545;
}

/* Widget de archivo de ediciones */
.editions-archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.editions-archive-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.editions-archive-list li:last-child {
    border-bottom: none;
}

.editions-archive-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.editions-archive-list a:hover {
    color: #dc3545;
    padding-left: 5px;
}

.editions-archive-list a i {
    color: #dc3545;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 991px) {
    .current-edition .row {
        flex-direction: column;
    }
    
    .current-edition .col-md-4 {
        margin-bottom: 20px;
    }
    
    .edition-single-title {
        font-size: 24px;
        padding-right: 0;
    }
    
    .edition-badge-top {
        position: static;
        display: inline-block;
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) {
    .current-edition h2 {
        font-size: 22px;
    }
    
    .edition-actions {
        flex-direction: column;
    }
    
    .edition-actions .btn {
        width: 100%;
    }
    
    .edition-single-title {
        font-size: 20px;
    }
    
    .edition-single-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .edition-actions-single {
        flex-direction: column;
    }
    
    .edition-actions-single .btn {
        width: 100%;
    }
    
    .edition-pdf-viewer iframe {
        min-height: 400px;
    }
    
    .edition-card .entry-thumbnail img {
        height: 220px;
    }
}


/* ============================================================
   PÁGINA DE BÚSQUEDA - ESTILOS
   ============================================================ */

/* Barra de búsqueda destacada */
.search-box-featured {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 30px;
}

.search-box-featured h2 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box-featured h2 i {
    color: #007bff;
}

.search-box-featured .input-group {
    display: flex;
    gap: 10px;
}

.search-box-featured .form-control {
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.search-box-featured .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
    outline: none;
}

.search-box-featured .btn-primary {
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.search-results-info {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.search-results-info strong {
    color: #007bff;
}

/* Resultados de búsqueda */
.search-result {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.search-result:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.search-result .entry-thumbnail {
    flex-shrink: 0;
    width: 200px;
    border-radius: 8px;
    overflow: hidden;
}

.search-result .entry-thumbnail img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.search-result:hover .entry-thumbnail img {
    transform: scale(1.05);
}

.search-result .entry-content {
    flex: 1;
    padding: 0;
}

.search-result .category {
    margin-bottom: 8px;
}

.search-result .category a {
    display: inline-block;
    padding: 4px 12px;
    background: #007bff;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-result .entry-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.search-result .entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-result .entry-title a:hover {
    color: #007bff;
}

.search-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 12px;
}

.search-excerpt mark {
    background: #fff3cd;
    color: #856404;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

.search-result .entry-meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.search-result .entry-meta ul li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #999;
}

.search-result .entry-meta ul li i {
    font-size: 11px;
    color: #007bff;
}

/* Mensaje sin resultados */
.no-results {
    background: #fff;
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
}

.no-results h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.no-results p {
    font-size: 16px;
    color: #666;
}

.no-results-suggestions {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.no-results-suggestions h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.no-results-suggestions h4 i {
    color: #ffc107;
}

.no-results-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.no-results-suggestions ul li {
    padding: 6px 0;
    color: #555;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.no-results-suggestions ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Tags de búsquedas populares */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-list a {
    display: inline-block;
    padding: 6px 14px;
    background: #f0f0f0;
    color: #555;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tags-list a:hover {
    background: #007bff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.tags-list a.active {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

/* Responsive */
@media (max-width: 767px) {
    .search-result {
        flex-direction: column;
    }
    
    .search-result .entry-thumbnail {
        width: 100%;
    }
    
    .search-result .entry-thumbnail img {
        height: 200px;
    }
    
    .search-box-featured .input-group {
        flex-direction: column;
    }
    
    .search-box-featured .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .search-result .entry-title {
        font-size: 16px;
    }
}


/* ============================================================
   PÁGINA 404 - ESTILOS
   Colores: Azul (#0056b3, #007bff), Rojo (#dc3545), Blanco
   ============================================================ */

/* ============================================
   SECCIÓN PRINCIPAL
   ============================================ */
.error-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 70vh;
    padding: 60px 0;
}

.error-page {
    max-width: 1100px;
    margin: 0 auto;
}

/* ============================================
   CÓDIGO DE ERROR 404
   ============================================ */
.error-code-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.error-code {
    font-size: 140px;
    font-weight: 900;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: #0056b3;
    text-shadow: 0 4px 20px rgba(0, 86, 179, 0.3);
    position: relative;
    z-index: 2;
}

.error-digit {
    display: inline-block;
    animation: bounceIn 0.8s ease;
}

.error-digit:nth-child(1) {
    animation-delay: 0.1s;
}

.error-digit:nth-child(3) {
    animation-delay: 0.3s;
}

.error-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 50%;
    color: #ffffff;
    font-size: 50px;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    animation: pulse 2s infinite;
}

.error-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 30px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.15) 0%, transparent 70%);
    z-index: 1;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.5);
    }
    60% {
        transform: translateY(10px) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(220, 53, 69, 0.6);
    }
}

/* ============================================
   TÍTULO Y DESCRIPCIÓN
   ============================================ */
.error-title {
    font-size: 36px;
    font-weight: 700;
    color: #0056b3;
    margin-bottom: 15px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.error-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.error-url {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease 0.7s both;
}

.error-url code {
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 4px;
    color: #dc3545;
    font-family: 'Courier New', monospace;
    border: 1px solid #e0e0e0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BARRA DE BÚSQUEDA
   ============================================ */
.error-search-box {
    background: #ffffff;
    border: 2px solid #007bff;
    border-radius: 12px;
    padding: 25px;
    max-width: 600px;
    margin: 30px auto;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.1);
    animation: fadeInUp 0.6s ease 0.8s both;
}

.error-search-box h3 {
    font-size: 18px;
    color: #0056b3;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.error-search-box h3 i {
    color: #dc3545;
}

.error-search-form {
    display: flex;
    gap: 10px;
}

.error-search-form .form-control {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.error-search-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
    outline: none;
}

.error-search-form .btn {
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    white-space: nowrap;
}

/* ============================================
   BOTONES DE ACCIÓN
   ============================================ */
.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
    animation: fadeInUp 0.6s ease 1s both;
}

.error-actions .btn {
    padding: 14px 35px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.error-actions .btn-primary {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.error-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.error-actions .btn-outline-primary {
    background: #ffffff;
    color: #0056b3;
    border: 2px solid #0056b3;
}

.error-actions .btn-outline-primary:hover {
    background: #0056b3;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.3);
}

/* ============================================
   SEPARADOR
   ============================================ */
.error-divider {
    position: relative;
    margin: 50px 0 40px;
    text-align: center;
}

.error-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #007bff 50%, transparent 100%);
}

.error-divider span {
    position: relative;
    background: #f8f9fa;
    padding: 0 25px;
    color: #0056b3;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SUGERENCIAS DE CATEGORÍAS
   ============================================ */
.error-suggestions {
    animation: fadeInUp 0.6s ease 1.2s both;
}

.error-suggestions h3 {
    font-size: 24px;
    color: #0056b3;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.error-suggestions h3 i {
    color: #dc3545;
}

.error-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px 15px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.error-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0056b3 0%, #007bff 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.error-link:hover {
    border-color: #007bff;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.error-link:hover::before {
    transform: scaleX(1);
}

.error-link-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.error-link:hover .error-link-icon {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    transform: scale(1.1) rotate(5deg);
}

.error-link-label {
    font-size: 16px;
    font-weight: 700;
    color: #0056b3;
    transition: color 0.3s ease;
}

.error-link:hover .error-link-label {
    color: #dc3545;
}

.error-link-count {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

/* ============================================
   POSTS RECIENTES
   ============================================ */
.error-recent-posts {
    animation: fadeInUp 0.6s ease 1.4s both;
}

.error-recent-posts h3 {
    font-size: 24px;
    color: #0056b3;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.error-recent-posts h3 i {
    color: #dc3545;
}

.error-post-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.error-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #007bff;
}

.error-post-thumb {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.error-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.error-post-card:hover .error-post-thumb img {
    transform: scale(1.1);
}

.error-post-info {
    padding: 15px;
}

.error-post-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.error-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.error-post-card:hover .error-post-title a {
    color: #0056b3;
}

.error-post-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.error-post-meta i {
    color: #dc3545;
}

/* ============================================
   MENSAJE FINAL
   ============================================ */
.error-final-message {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    border: 2px dashed #007bff;
    border-radius: 12px;
    padding: 20px;
    animation: fadeInUp 0.6s ease 1.6s both;
}

.error-final-message p {
    margin: 0;
    font-size: 15px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.error-final-message i {
    color: #007bff;
    font-size: 20px;
}

.error-final-message a {
    color: #dc3545;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #dc3545;
    transition: all 0.3s ease;
}

.error-final-message a:hover {
    color: #0056b3;
    border-color: #0056b3;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
    .error-code {
        font-size: 90px;
        gap: 10px;
    }
    
    .error-icon {
        width: 80px;
        height: 80px;
        font-size: 35px;
    }
    
    .error-title {
        font-size: 26px;
    }
    
    .error-description {
        font-size: 16px;
    }
    
    .error-search-form {
        flex-direction: column;
    }
    
    .error-search-form .btn {
        width: 100%;
    }
    
    .error-actions {
        flex-direction: column;
    }
    
    .error-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .error-link {
        padding: 20px 10px;
    }
    
    .error-link-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .error-link-label {
        font-size: 14px;
    }
    
    .error-divider span {
        font-size: 13px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .error-code {
        font-size: 70px;
    }
    
    .error-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .error-title {
        font-size: 22px;
    }
    
    .error-suggestions h3,
    .error-recent-posts h3 {
        font-size: 20px;
    }
}





