/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores del Logo Caja de Noticias */
    --primary-blue: #2E4A7C;
    --primary-red: #C4354A;
    --light-gray: #f3f4f6;
    --dark-gray: #374151;
    --border-gray: #d1d5db;

    /* Colores adicionales basados en el logo */
    --blue-dark: #1f3352;
    --red-dark: #a12d3e;
    --blue-light: #4a6a9c;
    --red-light: #d94d61;

    /* Transiciones habilitadas */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Sombras mejoradas */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-hover: 0 20px 40px rgba(46, 74, 124, 0.15);

    /* Tipografía */
    --font-display: 'Poppins', -apple-system, sans-serif;
    --font-heading: 'Inter', -apple-system, sans-serif;
    --font-body: 'Open Sans', -apple-system, sans-serif;
}

/* ========== ANIMACIONES KEYFRAMES PROFESIONALES ========== */

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(1deg);
    }
    66% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: clamp(15px, 4vw, 30px);
    padding-right: clamp(15px, 4vw, 30px);
    width: 100%;
    overflow-x: hidden;
}

/* Header Superior */
.top-header {
    background-color: #fff;
    padding: 0;
    border-bottom: 1px solid var(--border-gray);
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-height: 40px;
}

/* Ocultar completamente cualquier sección de redes sociales arriba del logo */
.top-header > *:first-child:not([data-ad-position="top-banner"]):has(.fab),
.top-header > *:first-child:not([data-ad-position="top-banner"]):has([class*="social"]),
.top-header > div:has(.fab.fa-instagram),
.top-header > div:has(.fab.fa-facebook),
.top-header > div:has(.fab.fa-twitter),
.top-header > div:has(.fab.fa-tiktok) {
    display: none !important;
}

/* Ocultar cualquier elemento que contenga iconos sociales en el top-header */
.top-header div:has(a[href*="instagram"]),
.top-header div:has(a[href*="facebook"]),
.top-header div:has(a[href*="twitter"]),
.top-header div:has(a[href*="x.com"]),
.top-header div:has(a[href*="tiktok"]),
.top-header div:has(.social-icon-link),
.top-header div:has(.desktop-social-links),
.top-header div:has(.footer-social) {
    display: none !important;
}

/* Ocultar cualquier contenedor blanco con iconos sociales arriba del logo */
.top-header > div:not([data-ad-position="top-banner"]):not(.container):has(.fab),
.top-header > div:not([data-ad-position="top-banner"]):not(.container):has(a[href*="instagram"]),
.top-header > div:not([data-ad-position="top-banner"]):not(.container):has(a[href*="facebook"]),
.top-header > div:not([data-ad-position="top-banner"]):not(.container):has(a[href*="twitter"]),
.top-header > div:not([data-ad-position="top-banner"]):not(.container):has(a[href*="tiktok"]),
.top-header > div:not([data-ad-position="top-banner"]):not(.container):has([class*="social"]) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Regla más agresiva: ocultar cualquier div en top-header que no sea el anuncio y contenga iconos sociales */
.top-header > div:not([data-ad-position="top-banner"]):has(.fab.fa-instagram),
.top-header > div:not([data-ad-position="top-banner"]):has(.fab.fa-facebook),
.top-header > div:not([data-ad-position="top-banner"]):has(.fab.fa-twitter),
.top-header > div:not([data-ad-position="top-banner"]):has(.fab.fa-tiktok) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ocultar específicamente contenedores con múltiples iconos sociales (el cuadro blanco) */
.top-header div:has(.fab.fa-instagram):has(.fab.fa-facebook):has(.fab.fa-twitter),
.top-header div:has(.fab.fa-instagram):has(.fab.fa-facebook):has(.fab.fa-tiktok),
.top-header div:has(.fab.fa-instagram):has(.fab.fa-facebook):has(.fab.fa-twitter):has(.fab.fa-tiktok),
.top-header div:has(a[href*="instagram"]):has(a[href*="facebook"]):has(a[href*="twitter"]),
.top-header div:has(a[href*="instagram"]):has(a[href*="facebook"]):has(a[href*="tiktok"]) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    max-height: 0 !important;
    min-height: 0 !important;
}

.top-header-row {
    position: sticky;
    top: 0;
    z-index: 98;
    background-color: #fff;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
}

/* Ocultar iconos sociales en el top-header */
.top-header-row .social-icons,
.top-header .social-icons,
[data-ad-position="top-banner"] .social-icons,
.top-header-ad-banner .social-icons,
.top-header .desktop-social-links,
.top-header .social-icon-link,
.top-header [class*="social"] {
    display: none !important;
}

/* Ocultar cualquier icono de redes sociales en el header */
.top-header .fab.fa-instagram,
.top-header .fab.fa-facebook,
.top-header .fab.fa-twitter,
.top-header .fab.fa-tiktok,
.top-header-row .fab.fa-instagram,
.top-header-row .fab.fa-facebook,
.top-header-row .fab.fa-twitter,
.top-header-row .fab.fa-tiktok,
[data-ad-position="top-banner"] .fab.fa-instagram,
[data-ad-position="top-banner"] .fab.fa-facebook,
[data-ad-position="top-banner"] .fab.fa-twitter,
[data-ad-position="top-banner"] .fab.fa-tiktok,
.top-header-ad-banner .fab.fa-instagram,
.top-header-ad-banner .fab.fa-facebook,
.top-header-ad-banner .fab.fa-twitter,
.top-header-ad-banner .fab.fa-tiktok {
    display: none !important;
}

/* Ocultar cualquier enlace de redes sociales en el top-header */
.top-header a[href*="instagram"],
.top-header a[href*="facebook"],
.top-header a[href*="twitter"],
.top-header a[href*="x.com"],
.top-header a[href*="tiktok"],
[data-ad-position="top-banner"] a[href*="instagram"],
[data-ad-position="top-banner"] a[href*="facebook"],
[data-ad-position="top-banner"] a[href*="twitter"],
[data-ad-position="top-banner"] a[href*="x.com"],
[data-ad-position="top-banner"] a[href*="tiktok"] {
    display: none !important;
}

/* Ocultar cualquier contenedor de redes sociales arriba del logo */
.top-header > div:not([data-ad-position="top-banner"]):not(.container):has([class*="social"]),
.top-header > div:not([data-ad-position="top-banner"]):not(.container):has(.fab),
.top-header .container:has([class*="social"]):not(.top-header-row),
.top-header .container:has(.fab):not(.top-header-row),
.top-header > div:not([data-ad-position="top-banner"]):not(.container):has(.social-icon-link),
.top-header > div:not([data-ad-position="top-banner"]):not(.container):has(.desktop-social-links),
.top-header > div:not([data-ad-position="top-banner"]):not(.container):has(.footer-social),
/* ELIMINAR COMPLETAMENTE cualquier elemento con iconos sociales en top-header */
.top-header > *:not([data-ad-position="top-banner"]):not(.container):has(.fab.fa-instagram),
.top-header > *:not([data-ad-position="top-banner"]):not(.container):has(.fab.fa-facebook),
.top-header > *:not([data-ad-position="top-banner"]):not(.container):has(.fab.fa-twitter),
.top-header > *:not([data-ad-position="top-banner"]):not(.container):has(.fab.fa-tiktok),
.top-header > *:not([data-ad-position="top-banner"]):not(.container):has(a[href*="instagram"]),
.top-header > *:not([data-ad-position="top-banner"]):not(.container):has(a[href*="facebook"]),
.top-header > *:not([data-ad-position="top-banner"]):not(.container):has(a[href*="twitter"]),
.top-header > *:not([data-ad-position="top-banner"]):not(.container):has(a[href*="tiktok"]) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    max-height: 0 !important;
    min-height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
}

/* Ocultar iconos sociales en cualquier posición dentro del top-header excepto en el anuncio */
.top-header *:not([data-ad-position="top-banner"]):not([data-ad-position="top-banner"] *) .fab.fa-instagram,
.top-header *:not([data-ad-position="top-banner"]):not([data-ad-position="top-banner"] *) .fab.fa-facebook,
.top-header *:not([data-ad-position="top-banner"]):not([data-ad-position="top-banner"] *) .fab.fa-twitter,
.top-header *:not([data-ad-position="top-banner"]):not([data-ad-position="top-banner"] *) .fab.fa-tiktok {
    display: none !important;
}

.top-header-ad-banner {
    position: relative;
    width: 100%;
    background: transparent;
    padding: 0;
    border: none;
    display: block;
    overflow: hidden;
}

.top-header-ad-banner::before {
    display: none;
}

.top-ad-label {
    position: relative;
    top: 0;
    left: 0;
    font-size: 7px;
    font-weight: 400;
    letter-spacing: 0.2px;
    color: #6b7280;
    background: transparent;
    padding: 0;
    border-radius: 0;
    z-index: 1;
    margin-right: 0;
    text-transform: none;
    line-height: 1;
}

.top-ad-content {
    display: none;
}

.top-ad-content p {
    display: none;
}

.top-header-ad-banner:hover {
    background: transparent;
}

.header-logo-center {
    text-align: center;
    padding: 15px 0 10px 0;
}

.header-logo-center img {
    max-height: 110px;
    width: auto;
    object-fit: contain;
}

.location {
    color: var(--dark-gray);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: start;
}

.location i {
    color: var(--primary-red);
    font-size: 14px;
}

.weather-info {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(46, 74, 124, 0.08);
    border-radius: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.weather-info i {
    color: #ffa500;
}

.date {
    color: var(--dark-gray);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
    justify-self: center;
    letter-spacing: 0.3px;
}

.social-icons {
    display: none !important; /* Ocultar iconos sociales del header */
}

.social-icons a {
    display: none !important;
}

/* Header Principal */
.main-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: slideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(46, 74, 124, 0.1);
    min-height: 60px;
}

.main-header .container {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px;
    position: relative;
}

.main-header .menu-toggle {
    justify-self: start;
    order: 1;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1000 !important;
    position: relative !important;
}

.main-header .logo {
    justify-self: center;
    order: 2;
    grid-column: 2;
}

/* Botón de inicio eliminado - ya no se usa */
.main-header .home-button {
    display: none !important;
}

/* Botón Inicio - Diseño Premium */
.home-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--blue-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(46, 74, 124, 0.25);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.home-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.home-button:hover::before {
    left: 100%;
}

.home-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(46, 74, 124, 0.35);
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--primary-blue) 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.home-button:active {
    transform: translateY(0) scale(1);
}

.home-button span {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.home-button i {
    font-size: 14px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
}

.home-button:hover i {
    transform: translateX(4px);
}

/* Responsive para botón Inicio */
@media (max-width: 768px) {
    .home-button {
        padding: 10px 20px;
        font-size: 14px;
        gap: 8px;
    }
    
    .home-button i {
        font-size: 12px;
    }
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    border-radius: 8px;
    position: relative;
    z-index: 1000 !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 45px;
    min-height: 45px;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    background-color: rgba(46, 74, 124, 0.1);
    transform: scale(1.05);
}

.menu-toggle span {
    display: block !important;
    width: 28px;
    height: 3px;
    background-color: var(--primary-blue) !important;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1 !important;
    visibility: visible !important;
    margin: 0 !important;
    padding: 0 !important;
}

.menu-toggle:hover span {
    background-color: var(--primary-red);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 110px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(46, 74, 124, 0.2));
    animation: fadeInScale 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.logo div {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo:hover img {
    transform: scale(1.08) rotate(1deg);
    filter: drop-shadow(0 8px 20px rgba(46, 74, 124, 0.3));
}

/* Navegación Principal */
.main-nav {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--blue-dark) 100%);
    padding: 0;
    position: sticky;
    top: 60px;
    z-index: 97;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
    min-height: 50px;
}

.main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shimmer 3s ease-in-out infinite;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav ul li:hover::after {
    width: 90%;
}

.main-nav ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(196, 53, 74, 0.5);
}

.main-nav ul li a i {
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav ul li a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 8px 8px 0 0;
}

.main-nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    letter-spacing: 0.8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.main-nav ul li a:hover::before {
    opacity: 1;
}

.main-nav ul li a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.main-nav ul li a:hover i {
    transform: scale(1.2) rotate(-8deg);
    color: var(--red-light);
    filter: drop-shadow(0 2px 8px rgba(196, 53, 74, 0.5));
}

.main-nav ul li a:active {
    transform: translateY(0);
}

/* Botón de Admin destacado */
.main-nav ul li.admin-btn-nav a {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--red-dark) 100%);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(196, 53, 74, 0.3);
    position: relative;
    overflow: hidden;
}

.main-nav ul li.admin-btn-nav a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.main-nav ul li.admin-btn-nav a:hover {
    background: linear-gradient(135deg, var(--red-dark) 0%, var(--primary-red) 100%);
    box-shadow: 0 6px 20px rgba(196, 53, 74, 0.5);
    transform: translateY(-3px);
}

.main-nav ul li.admin-btn-nav a:hover::after {
    width: 300px;
    height: 300px;
}

.main-nav ul li.admin-btn-nav a:hover i {
    transform: scale(1.2) rotate(10deg);
    color: white;
}

/* ========== SECCIÓN DE OPINIÓN ========== */
.opinion-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    margin: 60px 0;
}

.opinion-header {
    text-align: center;
    margin-bottom: 60px;
}

.opinion-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-red), var(--red-dark));
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(196, 53, 74, 0.3);
    margin-bottom: 20px;
}

.opinion-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
}

.opinion-header p {
    font-size: 18px;
    color: #64748b;
    font-weight: 500;
}

.opinion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.opinion-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(46, 74, 124, 0.1);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.opinion-card.animated {
    opacity: 1;
}

.opinion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.opinion-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 70px rgba(46, 74, 124, 0.2),
                0 0 0 1px rgba(196, 53, 74, 0.1);
    border-color: rgba(196, 53, 74, 0.2);
}

.opinion-card:hover::before {
    transform: scaleX(1);
}

.opinion-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    /* Prevenir layout shift */
    aspect-ratio: 16 / 9;
    min-height: 200px;
    contain: layout;
}

.opinion-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.opinion-card:hover .opinion-card-image img {
    transform: scale(1.15) rotate(1deg);
    filter: brightness(1.1) contrast(1.05);
}

.opinion-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(196, 53, 74, 0.15) 0%,
        rgba(46, 74, 124, 0.15) 100%
    );
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.opinion-card:hover .opinion-card-image::after {
    opacity: 1;
}

.opinion-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.opinion-category {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.opinion-card-content {
    padding: 30px;
}

.opinion-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.opinion-author,
.opinion-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.opinion-author i,
.opinion-date i {
    color: var(--primary-red);
}

.opinion-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 10px;
    line-height: 1.3;
}

.opinion-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 15px;
    line-height: 1.4;
}

.opinion-excerpt {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.opinion-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
}

.opinion-read-more:hover {
    color: var(--primary-red);
    gap: 12px;
}

.opinion-read-more i {
    transition: transform 0.3s;
}

.opinion-read-more:hover i {
    transform: translateX(5px);
}

.opinion-cta {
    text-align: center;
    padding: 50px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.opinion-cta p {
    font-size: 20px;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 25px;
}

.opinion-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-blue), var(--blue-dark));
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(46, 74, 124, 0.3);
}

.opinion-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(46, 74, 124, 0.4);
    background: linear-gradient(135deg, var(--blue-dark), var(--primary-blue));
}

.opinion-cta-btn i {
    font-size: 18px;
}

/* Menú de Categorías */
.categories-menu {
    background-color: #fff;
    border-bottom: 2px solid var(--primary-red);
    padding: 10px 0;
    overflow: hidden;
}

.categories-menu .container {
    display: flex;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
}

/* Ticker container */
.ticker-container {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    overflow: hidden;
}

.categories-menu .label {
    font-weight: bold;
    color: var(--dark-gray);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Ticker wrapper */
.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    background: linear-gradient(90deg,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0) 3%,
        rgba(255,255,255,0) 97%,
        rgba(255,255,255,1) 100%);
}

/* Ticker content */
.ticker-content {
    display: flex;
    gap: 30px;
    animation: ticker-scroll 60s linear infinite;
    white-space: nowrap;
}

.ticker-content:hover {
    animation-play-state: paused;
}

/* Ticker item */
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.ticker-item:hover {
    color: var(--primary-red);
}

.ticker-keyword {
    background: var(--primary-red);
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

.ticker-item:not(:last-child) .ticker-keyword::after {
    content: '|';
    position: absolute;
    right: -18px;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 14px;
}

.ticker-separator {
    color: var(--primary-red);
    font-weight: bold;
    font-size: 16px;
}

.ticker-title {
    display: inline-block;
    max-width: 500px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ticker animation */
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.33%);
    }
}

.categories-menu a {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    padding: 5px 12px;
    border-radius: 20px;
    position: relative;
}

.categories-menu a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
}

.categories-menu a:hover {
    color: var(--primary-red);
    background-color: rgba(196, 53, 74, 0.1);
}

.categories-menu a:hover::before {
    width: 100%;
}

.categories-menu a.active {
    color: white;
    background: var(--primary-red);
    font-weight: 600;
}

.categories-menu a.active::before {
    display: none;
}

/* Filter Dropdown */
.filter-dropdown {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    z-index: 9998;
}

.filter-dropdown.active {
    right: 0;
}

.filter-dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    visibility: hidden;
    z-index: -1;
}

.filter-dropdown.active .filter-dropdown-overlay {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.6);
}

.filter-dropdown-content {
    width: 100%;
    height: 100%;
    background: white;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.filter-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--blue-dark));
    color: white;
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--primary-red);
}

.filter-header h3 {
    margin: 0;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-filter {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.close-filter:hover {
    background: var(--primary-red);
}

.filter-options {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    margin-bottom: 10px;
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.filter-option i {
    font-size: 20px;
    color: var(--primary-blue);
}

.filter-option:hover {
    background: white;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 10px rgba(46, 74, 124, 0.15);
}

.filter-option.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--blue-dark));
    color: white;
    border-color: var(--primary-blue);
}

.filter-option.active i {
    color: white;
}

/* No news message */
.no-news-message {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.no-news-message i {
    font-size: 64px;
    color: var(--border-gray);
    margin-bottom: 20px;
    display: block;
}

.no-news-message h3 {
    color: var(--primary-blue);
    font-size: 24px;
    margin-bottom: 10px;
}

.no-news-message p {
    color: var(--dark-gray);
    font-size: 16px;
}

/* ========== TICKER ESTÁTICO (SIN ANIMACIONES) ========== */
.categories-menu-static {
    background: linear-gradient(135deg, #C4354A 0%, #b91c1c 100%);
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 110px;
    z-index: 96;
    min-height: 50px;
    /* Necesario para que el pseudo-elemento funcione correctamente */
    overflow: visible;
    /* Asegurar que el menú siempre esté visible */
    visibility: visible;
    opacity: 1;
    display: block;
    /* Optimización de rendimiento para scroll */
    will-change: auto;
    contain: layout style;
    /* Forzar aceleración por hardware */
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Asegurar que el menú permanezca visible incluso cuando body.scrolled está activo */
body.scrolled .categories-menu-static {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateZ(0) !important;
    display: block !important;
}

/* Línea roja como pseudo-elemento para poder ocultarla independientemente */
.categories-menu-static::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #8b1a1a;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1;
}

/* Ocultar solo la línea roja cuando se hace scroll hacia abajo */
body.scrolled .categories-menu-static::after {
    opacity: 0;
    transform: scaleX(0);
}

/* Skeleton loader para ticker */
.skeleton-ticker {
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    pointer-events: none;
    min-width: 120px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.categories-bar {
    display: flex;
    align-items: stretch;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    position: relative;
}

.categories-bar::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.categories-label {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8b1a1a;
    padding: 0 25px;
    flex-shrink: 0;
    border-right: 2px solid rgba(255, 255, 255, 0.2);
}

.categories-label span {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1.5px;
    color: white;
    text-transform: uppercase;
    white-space: nowrap;
}

.categories-buttons {
    display: flex;
    align-items: stretch;
    flex: 1;
    gap: 0;
}

.category-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    background: transparent;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.category-btn:last-child {
    border-right: none;
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.category-btn:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .categories-label {
        padding: 0 15px;
    }

    .categories-label span {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .category-btn {
        padding: 12px 18px;
        font-size: 11px;
    }
}

/* Contenido Principal - UX/UI Mejorado */
.main-content {
    background: #f8fafc;
    padding: 60px 0 80px 0;
    position: relative;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(180deg, rgba(46, 74, 124, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

.main-content .container {
    display: grid;
    grid-template-columns: 1fr minmax(350px, 400px);
    gap: 40px;
    position: relative;
    z-index: 1;
    max-width: 1800px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
    width: 100%;
}

/* Cuando hay article-full, usar layout de una columna */
.main-content:has(.article-full) .container {
    grid-template-columns: 1fr !important;
    max-width: 1200px;
    padding-left: 0;
    padding-right: 0;
}

/* Optimización móvil - Layout principal */
@media (max-width: 992px) {
    .main-content .container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .sidebar {
        order: 2;
        max-width: 100% !important;
    }

    /* Centrar columna izquierda en móviles */
    .left-column {
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .news-grid {
        justify-items: center !important;
        align-items: center !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }
}

/* Columna Izquierda */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 50px;
    min-width: 0;
    margin-left: 7px;
    padding-right: 7px;
}

/* Centrar contenido en móviles */
@media (max-width: 768px) {
    .left-column {
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .news-grid {
        justify-items: center !important;
        align-items: center !important;
        margin: 0 auto !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .news-item {
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Video Destacado - Rediseño UX/UI */
/* ========== HERO SECTION MODERNA ========== */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 24px;
    margin-bottom: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.8s ease;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-section:hover .hero-image img {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 40px;
    z-index: 2;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-blue);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    max-width: 900px;
}

.hero-excerpt {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-meta i {
    color: var(--primary-red);
    font-size: 16px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--primary-red), #d94d61);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(196, 53, 74, 0.4);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.6s ease, height 0.6s ease, top 0.6s ease, left 0.6s ease;
    transform: translate(-50%, -50%);
}

.hero-cta:hover::before {
    width: 300px;
    height: 300px;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(196, 53, 74, 0.5);
}

.hero-cta i {
    position: relative;
    z-index: 1;
    transition: transform var(--transition-fast);
}

.hero-cta:hover i {
    transform: translateX(5px);
}

.hero-cta span {
    position: relative;
    z-index: 1;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-section {
        height: 500px;
        border-radius: 16px;
    }

    .hero-content {
        padding: 40px 25px;
    }

    .hero-meta {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* ========== FEATURED VIDEO ========== */
.featured-video {
    background: #ffffff;
    padding: 0;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid rgba(46, 74, 124, 0.08);
    margin-left: 58px;
}

.featured-video:hover {
    box-shadow: 0 16px 50px rgba(46, 74, 124, 0.12);
}

.video-placeholder {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(196, 53, 74, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(46, 74, 124, 0.15) 0%, transparent 50%);
    opacity: 1;
}

.video-placeholder:hover::before {
    opacity: 0.5;
}

.video-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-placeholder:hover::after {
    opacity: 1;
}

.video-placeholder i {
    font-size: 80px;
    color: white;
    z-index: 1;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.video-placeholder:hover i {
    transform: scale(1.1);
    color: var(--primary-red);
}

/* Secciones de Noticias - Ultra Profesional UX/UI */
.news-section {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    position: relative;
    margin-bottom: 40px;
    margin-left: 58px;
}

/* Centrar sección de noticias en móviles */
@media (max-width: 768px) {
    .news-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

.section-title {
    color: #0f172a;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    padding: 0 0 18px 0;
    border-bottom: 3px solid var(--primary-red);
    position: relative;
    letter-spacing: -1px;
    text-transform: uppercase;
    display: block;
}

/* Centrar títulos de sección en móviles */
@media (max-width: 768px) {
    .section-title {
        text-align: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Grid de Noticias - Diseño en 2 Columnas */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Tarjetas de Noticias Modernas */
.modern-news-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(46, 74, 124, 0.08);
    height: 100%;
    position: relative;
    cursor: pointer;
}

.modern-news-card .news-card-link {
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.modern-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(46, 74, 124, 0.15);
}

.modern-news-card .news-image-link {
    display: block;
    width: 100%;
    overflow: hidden;
}

.modern-news-card .news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    position: relative;
    z-index: 2;
    /* Prevenir layout shift */
    aspect-ratio: 3 / 2;
    min-height: 100px;
    contain: layout;
}

.modern-news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.modern-news-card:hover .news-image img {
    transform: scale(1.05);
}

.modern-news-card .news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    position: relative;
    z-index: 2;
}

.modern-news-card .news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
}

.modern-news-card .news-keyword {
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(46, 74, 124, 0.08);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    z-index: 2;
    display: inline-block;
}

.modern-news-card .news-keyword:hover {
    background: rgba(46, 74, 124, 0.15);
    color: var(--blue-dark);
}

.modern-news-card .news-date {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.modern-news-card .news-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    position: relative;
    z-index: 2;
}

.modern-news-card .news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
    z-index: 2;
}

.modern-news-card .news-title a:hover {
    color: var(--primary-blue);
}

.modern-news-card .news-excerpt {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modern-news-card .news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    font-size: 12px;
    color: #64748b;
}

.modern-news-card .news-author,
.modern-news-card .news-reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Centrar grid en móviles */

/* Cards de Noticias - Estilo Vertical Profesional con Animaciones Impresionantes */
.news-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin-bottom: 0;
    border-bottom: none;
    cursor: pointer;
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(46, 74, 124, 0.1);
    /* Performance optimization */
    contain: layout style paint;
    content-visibility: auto;
    /* Animación inicial */
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.news-item.animated {
    opacity: 1;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.news-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 
                0 0 0 1px rgba(196, 53, 74, 0.1);
    border-color: rgba(196, 53, 74, 0.2);
}

.news-item:hover::before {
    transform: scaleX(1);
}

.news-image {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    height: 140px;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    box-shadow: none;
    /* Prevent layout shift */
    contain: layout;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

/* Lazy loading states */
.news-image img.lazy-load {
    opacity: 0;
    filter: blur(5px);
}

.news-image img.lazy-loaded {
    opacity: 1;
    filter: blur(0);
    animation: fadeIn 0.4s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.1) rotate(1deg);
}

.news-item:hover .news-image::after {
    opacity: 1;
}

.news-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(196, 53, 74, 0.1) 0%,
        rgba(46, 74, 124, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* Etiqueta de categoría superior */
.news-category-label {
    position: absolute;
    top: 15px;
    left: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--blue-dark));
    color: white;
    padding: 6px 16px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(46, 74, 124, 0.4);
    border-radius: 0 20px 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-5px);
    opacity: 0.95;
}

.news-item:hover .news-category-label {
    transform: translateX(0);
    background: linear-gradient(135deg, var(--primary-red), var(--red-dark));
    box-shadow: 0 6px 16px rgba(196, 53, 74, 0.5);
    padding: 7px 18px;
}

/* Color específico para categoría MICHOACÁNanomaly */
.news-item:has(.news-category-label:contains("MICHOACÁN")) .news-category-label,
.news-item .news-category-label {
    background: var(--primary-blue);
}

/* Variación de colores según contenido */
.news-category-label:first-child {
    background: var(--primary-blue);
}

.news-content {
    padding: 12px 12px 16px 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    background: #ffffff;
}

.news-content h3 {
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item:hover .news-content h3 {
    color: var(--primary-blue);
    transform: translateX(3px);
}

.news-content h3 {
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 10px;
}

.news-meta {
    color: var(--primary-red);
    font-size: 9px;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}

.news-meta i {
    font-size: 11px;
}

.news-reading-time {
    color: var(--primary-blue);
    font-size: 9px;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}

.news-reading-time i {
    font-size: 11px;
}

.news-excerpt {
    color: #666666;
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--border-gray);
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-blue), var(--blue-dark));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(46, 74, 124, 0.25);
    position: relative;
    overflow: hidden;
}

.pagination-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination-btn:hover:not(:disabled)::before {
    width: 300px;
    height: 300px;
}

.pagination-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-red), var(--red-dark));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(196, 53, 74, 0.4);
}

.pagination-btn:active:not(:disabled) {
    transform: translateY(-1px) scale(1.02);
}

.pagination-btn:disabled {
    background: var(--border-gray);
    cursor: not-allowed;
    opacity: 0.5;
}

.pagination-info {
    font-size: 14px;
    color: var(--dark-gray);
    font-weight: 600;
}

/* Sidebar - Ultra Profesional UX/UI */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding-left: 7px;
    margin-right: 7px;
    animation: fadeInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    box-sizing: border-box;
    overflow: hidden;
}

/* Restricciones específicas para secciones de anuncios en el sidebar */
.sidebar .sidebar-section[data-ad-position="sidebar"],
.sidebar .sidebar-section[data-ad-position="below-popular"] {
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto 30px auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

/* Búsqueda - Rediseño Premium */
.search-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: clamp(16px, 3vw, 20px);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(46, 74, 124, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.search-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(196, 53, 74, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-box:hover {
    box-shadow: 0 20px 60px rgba(46, 74, 124, 0.15),
                0 0 0 4px rgba(46, 74, 124, 0.05);
    border-color: rgba(196, 53, 74, 0.2);
    transform: translateY(-2px);
}

.search-box:hover::before {
    opacity: 1;
}

.search-box h3 {
    color: #0f172a;
    font-size: clamp(11px, 2vw, 13px);
    font-weight: 800;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--primary-red);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box h3::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-red);
    font-size: 18px;
}

.search-box form {
    display: flex;
    gap: 0;
}

.search-box input {
    flex: 1;
    padding: clamp(8px, 1.5vw, 11px) clamp(10px, 2vw, 14px);
    border: 2px solid #e2e8f0;
    border-right: none;
    border-radius: 14px 0 0 14px;
    outline: none;
    font-size: clamp(10px, 1.8vw, 12px);
    font-weight: 500;
    transition: all 0.3s ease;
    background: white;
    min-width: 0;
}

.search-box input:focus {
    border-color: var(--primary-blue);
    background-color: rgba(46, 74, 124, 0.03);
    box-shadow: 0 0 0 4px rgba(46, 74, 124, 0.08);
}

.search-box input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.search-box button {
    background: linear-gradient(135deg, var(--primary-red), var(--red-dark));
    color: white;
    border: none;
    padding: clamp(8px, 1.5vw, 11px) clamp(12px, 2.5vw, 18px);
    cursor: pointer;
    border-radius: 0 14px 14px 0;
    font-size: clamp(11px, 1.8vw, 13px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 53, 74, 0.25);
    flex-shrink: 0;
}

.search-box button:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--blue-dark));
    box-shadow: 0 8px 25px rgba(46, 74, 124, 0.4),
                0 0 0 4px rgba(46, 74, 124, 0.1);
    transform: scale(1.1) rotate(5deg);
}

.search-box button:active {
    transform: scale(1.05) rotate(2deg);
}

.search-box button i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-box button:hover i {
    transform: rotate(15deg) scale(1.2);
}

/* Search Results */
.search-results {
    margin-top: 15px;
    display: none;
    max-height: 500px;
    overflow-y: auto;
    border-top: 2px solid var(--primary-red);
    padding-top: 15px;
}

.search-results-header {
    font-size: 13px;
    color: var(--dark-gray);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-gray);
}

.search-results-header strong {
    color: var(--primary-blue);
    font-size: 16px;
}

.search-result-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 10px;
    border: 1px solid transparent;
}

.search-result-item:hover {
    background: var(--light-gray);
    border-color: var(--primary-blue);
}

.search-result-image {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-content {
    flex: 1;
}

.search-result-category {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 5px;
}

.search-result-content h4 {
    font-size: 14px;
    color: var(--primary-blue);
    margin: 5px 0;
    line-height: 1.3;
}

.search-result-content p {
    font-size: 12px;
    color: var(--dark-gray);
    margin: 0;
    line-height: 1.4;
}

.search-result-content mark {
    background: #fff3cd;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: 600;
}

.search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--dark-gray);
}

.search-no-results i {
    font-size: 48px;
    color: var(--border-gray);
    margin-bottom: 15px;
    display: block;
}

.search-no-results p {
    margin: 0;
    font-size: 14px;
}

.search-results-more {
    text-align: center;
    padding: 10px;
    font-size: 13px;
    color: var(--primary-blue);
    font-weight: 600;
    border-top: 1px solid var(--border-gray);
    margin-top: 10px;
}

/* Anuncios - Rediseño Premium */
.ad-placeholder {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 40px 20px;
    text-align: center;
    border-radius: 16px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(46, 74, 124, 0.2);
    position: relative;
    overflow: hidden;
    /* Animaciones removidas */
}

.ad-placeholder::before {
    content: '📢';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    opacity: 0.2;
    z-index: 0;
    /* Animaciones removidas */
}

.ad-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(196, 53, 74, 0.05) 0%, transparent 70%);
    opacity: 0;
    /* Transición removida */
}

.ad-placeholder:hover {
    border-color: var(--primary-red);
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    /* Transform removido */
    box-shadow: 0 8px 25px rgba(196, 53, 74, 0.15);
}

.ad-placeholder:hover::before {
    opacity: 0.4;
    /* Transform removido */
}

.ad-placeholder:hover::after {
    opacity: 1;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(46, 74, 124, 0.1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(46, 74, 124, 0);
    }
}

/* Banner Horizontal de Anuncios */
.horizontal-ad-banner {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 40px 30px;
    margin-bottom: 40px;
    text-align: center;
    border: 2px dashed #cbd5e1;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.horizontal-ad-banner::before {
    content: '\f674';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: #cbd5e1;
    opacity: 0.2;
    z-index: 0;
}

.ad-banner-label {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #64748b;
    background: #e2e8f0;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 1;
}

.ad-banner-content {
    position: relative;
    z-index: 1;
}

.ad-banner-content p {
    color: #64748b;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.horizontal-ad-banner:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-color: #94a3b8;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .horizontal-ad-banner {
        padding: 30px 20px;
        min-height: 100px;
        margin-bottom: 30px;
    }

    .horizontal-ad-banner::before {
        font-size: 40px;
    }

    .ad-banner-content p {
        font-size: 14px;
    }
}

/* Secciones del Sidebar - Ultra Premium */
.sidebar-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: clamp(16px, 3vw, 20px);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(46, 74, 124, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 0;
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    box-sizing: border-box;
}

/* Excepciones para secciones de anuncios - sin padding ni estilos de fondo */
.sidebar-section[data-ad-position="sidebar"],
.sidebar-section[data-ad-position="below-popular"] {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

.sidebar-section.animated {
    opacity: 1;
}

.sidebar-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.sidebar-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12),
                0 0 0 1px rgba(196, 53, 74, 0.1);
    border-color: rgba(196, 53, 74, 0.2);
}

.sidebar-section:hover::before {
    transform: scaleX(1);
}

.sidebar-section h3 {
    color: #0f172a;
    font-size: clamp(11px, 2vw, 13px);
    font-weight: 800;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--primary-red);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

/* Botones de Redes Sociales */
.social-btn {
    display: block;
    padding: 15px;
    margin-bottom: 10px;
    text-align: center;
    text-decoration: none;
    color: white;
    border-radius: 8px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.social-btn:hover::before {
    width: 300px;
    height: 300px;
}

.social-btn span {
    position: relative;
    z-index: 1;
}

.social-btn.facebook {
    background: linear-gradient(135deg, var(--primary-blue), var(--blue-dark));
}

.social-btn.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-btn:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

.social-btn:active {
    filter: brightness(0.95);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* TV Placeholder */
.tv-placeholder {
    background-color: var(--light-gray);
    padding: 30px 15px;
    text-align: center;
    border-radius: 4px;
    color: var(--dark-gray);
    font-size: 13px;
}

/* ========== COMENTARIOS RECIENTES EN SIDEBAR - Ultra Premium ========== */
.recent-comments-section {
    padding: clamp(16px, 3vw, 20px);
    min-height: 300px;
    min-width: 0;
    width: 100%;
}

.recent-comments-section h3 {
    color: #0f172a;
    font-size: clamp(11px, 2vw, 13px);
    font-weight: 800;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--primary-red);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recent-comments-section h3::before {
    content: '\f075';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-red);
    font-size: 18px;
}

.recent-comments-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.recent-comment-item {
    display: flex;
    gap: clamp(8px, 1.5vw, 12px);
    padding: clamp(12px, 2vw, 16px);
    background: #f8fafc;
    border-radius: 16px;
    border-left: 5px solid var(--primary-blue);
    transition: all 0.3s ease;
    border: 2px solid rgba(46, 74, 124, 0.08);
    border-left: 5px solid var(--primary-blue);
}

.recent-comment-item:hover {
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateX(4px);
    border-color: rgba(46, 74, 124, 0.15);
}

.recent-comment-avatar {
    flex-shrink: 0;
    /* Prevenir layout shift */
    width: clamp(24px, 4vw, 30px);
    height: clamp(24px, 4vw, 30px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.recent-comment-avatar i {
    font-size: clamp(24px, 4vw, 30px);
    color: var(--primary-blue);
    filter: drop-shadow(0 2px 4px rgba(46, 74, 124, 0.2));
}

.recent-comment-content {
    flex: 1;
    min-width: 0;
}

.recent-comment-author {
    font-weight: 800;
    color: var(--primary-blue);
    font-size: clamp(10px, 1.8vw, 12px);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.recent-comment-author .reply-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: white;
    font-size: 8px;
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: 600;
}

.recent-comment-author .reply-badge i {
    font-size: 8px;
}

.recent-comment-text {
    color: #64748b;
    font-size: clamp(9px, 1.6vw, 11px);
    line-height: 1.7;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    word-wrap: break-word;
}

.recent-comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.recent-comment-time {
    color: #94a3b8;
    font-size: clamp(8px, 1.4vw, 10px);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.recent-comment-time i {
    font-size: 10px;
}

.recent-comment-link {
    color: var(--primary-red);
    text-decoration: none;
    font-size: clamp(8px, 1.5vw, 10px);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: clamp(4px, 1vw, 6px) clamp(8px, 1.5vw, 12px);
    background: rgba(196, 53, 74, 0.08);
    border-radius: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.recent-comment-link:hover {
    color: white;
    background: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(46, 74, 124, 0.25);
}

.recent-comment-link i {
    font-size: 14px;
}

.no-recent-comments {
    text-align: center;
    padding: 80px 30px;
    color: var(--dark-gray);
}

.no-recent-comments i {
    font-size: 64px;
    color: var(--border-gray);
    margin-bottom: 20px;
    display: block;
}

.no-recent-comments p {
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

/* Responsive para comentarios recientes */
@media (max-width: 768px) {
    .recent-comments-section {
        padding: 25px;
        min-height: 300px;
    }

    .recent-comment-avatar i {
        font-size: 38px;
    }

    .recent-comment-text {
        font-size: 14px;
    }

    .recent-comment-author {
        font-size: 15px;
    }
}

/* ========== NOTICIAS POPULARES EN SIDEBAR ========== */
.popular-news-section {
    padding: clamp(16px, 3vw, 20px);
    min-width: 0;
    width: 100%;
}

.popular-news-section h3 {
    color: #0f172a;
    font-size: clamp(11px, 2vw, 13px);
    font-weight: 800;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--primary-red);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popular-news-section h3::before {
    content: '\f1da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-red);
    font-size: 18px;
}

.popular-news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popular-news-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(46, 74, 124, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.popular-news-item.animated {
    opacity: 1;
}

.popular-news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-red), var(--primary-blue));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popular-news-item:hover {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.8) 100%);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: rgba(196, 53, 74, 0.2);
}

.popular-news-item:hover::before {
    transform: scaleY(1);
}

.popular-news-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--blue-dark));
    color: white;
    font-weight: 800;
    font-size: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(46, 74, 124, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.popular-news-item:hover .popular-news-number {
    background: linear-gradient(135deg, var(--primary-red), var(--red-dark));
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 6px 20px rgba(196, 53, 74, 0.4);
}

.popular-news-content {
    flex: 1;
    min-width: 0;
}

.popular-news-category {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(46, 74, 124, 0.08);
    color: var(--primary-blue);
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.popular-news-title {
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin: 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.popular-news-item:hover .popular-news-title {
    color: var(--primary-red);
}

.popular-news-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 11px;
    margin-top: 6px;
}

.popular-news-meta i {
    font-size: 10px;
}

/* Responsive para noticias populares */
@media (max-width: 768px) {
    .popular-news-section {
        padding: 25px;
    }

    .popular-news-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .popular-news-title {
        font-size: 15px;
    }

    .popular-news-meta {
        font-size: 12px;
    }
}

/* ========== YOUTUBE SECTION ========== */
.youtube-section-clean {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.youtube-section-clean iframe {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive para YouTube */
@media (max-width: 768px) {
    .youtube-section-clean iframe {
        height: 250px;
    }
}

/* Podcast Placeholder */
.podcast-placeholder {
    background-color: var(--light-gray);
    padding: 80px 20px;
    text-align: center;
    border-radius: 4px;
}

.podcast-placeholder i {
    font-size: 60px;
    color: var(--dark-gray);
}

/* Podcast Section Clean - Ultra Premium (sin botones ni títulos) */
.podcast-section-clean {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.podcast-section-clean iframe {
    border-radius: 12px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
    border: 2px solid rgba(46, 74, 124, 0.1);
    transition: all 0.4s ease;
}

.podcast-section-clean iframe:hover {
    box-shadow: 0 16px 48px rgba(46, 74, 124, 0.18);
    border-color: rgba(46, 74, 124, 0.18);
}

/* ========== PODCAST NETWORK SECTION ========== */
.podcast-network-section {
    background: linear-gradient(135deg, #e91e63 0%, #d81b60 100%);
    padding: 40px 0;
    margin-top: 60px;
}

.podcast-network-section h2 {
    color: white;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-align: center;
}

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

.podcast-single-embed {
    max-width: 800px;
    margin: 0 auto 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.podcast-single-embed iframe {
    width: 100%;
    height: 352px;
    border: none;
    display: block;
}

.podcast-embed {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.podcast-embed iframe {
    width: 100%;
    height: 352px;
    border: none;
    display: block;
}

.podcast-cta {
    text-align: center;
    padding: 20px;
}

.btn-podcast {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: #ffeb3b;
    color: #e91e63;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-podcast:hover {
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Footer logo en podcast section */
.podcast-footer {
    text-align: center;
    padding: 30px 0 10px;
    background: #ffeb3b;
}

.podcast-footer img {
    max-width: 200px;
    height: auto;
}

.podcast-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.podcast-social-icons a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    color: white;
}

.podcast-social-icons a.whatsapp {
    background: #25d366;
}

.podcast-social-icons a.facebook {
    background: #1877f2;
}

.podcast-social-icons a.twitter {
    background: #1da1f2;
}

.podcast-social-icons a.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.podcast-social-icons a.youtube {
    background: #ff0000;
}

.podcast-social-icons a.tiktok {
    background: #000;
}

.podcast-social-icons a.spotify {
    background: #1db954;
}

.podcast-social-icons a.discord {
    background: #5865f2;
}

.podcast-social-icons a:hover {
    opacity: 0.8;
}

.podcast-copyright {
    text-align: center;
    padding: 20px;
    background: #000;
    color: white;
    font-size: 14px;
}

/* ========== PODCAST SIDEBAR SECTION ========== */
.podcast-network-section-sidebar {
    padding: clamp(16px, 3vw, 20px);
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(46, 74, 124, 0.08);
    box-shadow: 0 2px 12px rgba(46, 74, 124, 0.04);
    margin-bottom: 24px;
}

.podcast-network-section-sidebar h3 {
    color: #0f172a;
    font-size: clamp(11px, 2vw, 13px);
    font-weight: 800;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--primary-red);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.podcast-single-show {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.podcast-single-show iframe {
    display: block;
    width: 100%;
}

/* Responsive para podcast */
@media (max-width: 768px) {
    .podcast-network-section h2 {
        font-size: 24px;
    }

    .podcast-grid {
        grid-template-columns: 1fr;
    }

    .btn-podcast {
        font-size: 16px;
        padding: 12px 30px;
    }
}

/* ========== EFECTOS ADICIONALES ========== */

/* Efecto Ripple para botones */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
}


/* ========== BARRA DE REDES SOCIALES FIJA ========== */
.fixed-social-bar {
    position: fixed;
    bottom: 20px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

/* Ocultar cuando el menú está abierto */
body.menu-open .fixed-social-bar {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100px) scale(0.5);
    pointer-events: none;
}

.fixed-social-bar a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.fixed-social-bar a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.fixed-social-bar a::after {
    display: none;
}

.fixed-social-bar a i {
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fixed-social-bar a:nth-child(1) {
    animation-delay: 0.1s;
}

.fixed-social-bar a:nth-child(2) {
    animation-delay: 0.2s;
}

.fixed-social-bar a:nth-child(3) {
    animation-delay: 0.3s;
}

.fixed-social-bar a:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) scale(0.5) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1) rotate(0deg);
    }
}

.fixed-social-bar a:hover {
    transform: translateX(12px) scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

.fixed-social-bar a:hover::before {
    width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.15);
}

.fixed-social-bar a:hover i {
    transform: scale(1.2) rotate(360deg);
}

.fixed-social-bar a:active {
    transform: translateX(8px) scale(1.05);
}

.fixed-social-bar .social-instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    animation: pulseIcon 2s ease-in-out infinite;
    animation-delay: 0.1s;
}

.fixed-social-bar .social-instagram:hover {
    background: linear-gradient(45deg, #ffa64d 0%,#ff7a5c 25%,#ff3d63 50%,#ff2b86 75%,#ff1aa8 100%);
    animation: glowSocial 1.5s ease-in-out infinite;
}

.fixed-social-bar .social-facebook {
    background: #1877f2;
    animation: pulseIcon 2s ease-in-out infinite;
    animation-delay: 0.2s;
}

.fixed-social-bar .social-facebook:hover {
    background: #2d88ff;
    animation: glowSocial 1.5s ease-in-out infinite;
    box-shadow: 0 0 25px rgba(24, 119, 242, 0.6);
}

.fixed-social-bar .social-twitter {
    background: #1da1f2;
    animation: pulseIcon 2s ease-in-out infinite;
    animation-delay: 0.3s;
}

.fixed-social-bar .social-twitter:hover {
    background: #2db1ff;
    animation: glowSocial 1.5s ease-in-out infinite;
    box-shadow: 0 0 25px rgba(29, 161, 242, 0.6);
}

.fixed-social-bar .social-tiktok {
    background: #000000;
    animation: pulseIcon 2s ease-in-out infinite;
    animation-delay: 0.4s;
}

.fixed-social-bar .social-tiktok:hover {
    background: linear-gradient(135deg, #000000 0%, #ff0050 50%, #00f2ea 100%);
    animation: glowSocial 1.5s ease-in-out infinite;
    box-shadow: 0 0 25px rgba(255, 0, 80, 0.6);
}

/* Responsive - Mejorar animaciones en móviles */
@media (max-width: 768px) {
    .fixed-social-bar {
        bottom: 15px;
        left: 15px;
        gap: 10px;
    }

    .fixed-social-bar a {
        width: 48px;
        height: 48px;
        font-size: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }

    .fixed-social-bar a:hover {
        transform: translateX(10px) scale(1.12) rotate(5deg);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }
}

@media (max-width: 576px) {
    .fixed-social-bar {
        flex-direction: column;
        bottom: 15px;
        left: 12px;
        gap: 10px;
    }

    .fixed-social-bar a {
        width: 44px;
        height: 44px;
        font-size: 18px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    }

    .fixed-social-bar a:hover {
        transform: translateX(8px) scale(1.1) rotate(5deg);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    }
}

/* Botón scroll to top - Mejorado */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--red-dark));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(196, 53, 74, 0.3);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px) scale(0.8);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    box-shadow: 0 8px 30px rgba(196, 53, 74, 0.5);
    transform: translateY(-5px) scale(1.1);
    background: linear-gradient(135deg, var(--red-dark), var(--primary-red));
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

.scroll-to-top i {
    transition: transform 0.3s ease;
}

.scroll-to-top:hover i {
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Loading spinner */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
}


/* Skeleton loading para noticias */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 8px;
}


/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    font-size: 64px;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 18px;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 20px;
}

/* Skeleton para news items - Con efecto shimmer profesional */
.skeleton-news-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin-bottom: 0;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.skeleton-image {
    width: 100%;
    height: 220px;
    aspect-ratio: 16 / 9;
    background: linear-gradient(
        90deg,
        #f0f0f0 0%,
        #f8f8f8 20%,
        #f0f0f0 40%,
        #f0f0f0 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
    border-radius: 0;
}

.skeleton-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.skeleton-title {
    width: 85%;
    height: 20px;
    background: linear-gradient(
        90deg,
        #f0f0f0 0%,
        #f8f8f8 20%,
        #f0f0f0 40%,
        #f0f0f0 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
    border-radius: 6px;
}

.skeleton-meta {
    width: 30%;
    height: 14px;
    background: linear-gradient(
        90deg,
        #f0f0f0 0%,
        #f8f8f8 20%,
        #f0f0f0 40%,
        #f0f0f0 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
    border-radius: 4px;
    animation-delay: 0.1s;
}

.skeleton-text {
    width: 100%;
    height: 14px;
    background: linear-gradient(
        90deg,
        #f0f0f0 0%,
        #f8f8f8 20%,
        #f0f0f0 40%,
        #f0f0f0 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
    border-radius: 4px;
    animation-delay: 0.2s;
}

.skeleton-text:last-child {
    width: 70%;
    animation-delay: 0.3s;
}

/* Glassmorphism effect (opcional para elementos especiales) */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Efecto de sombra dinámica en scroll */
.dynamic-shadow.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ========== FOOTER PROFESIONAL ========== */
.site-footer-main {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--blue-dark) 100%);
    color: white;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.site-footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    box-shadow: 0 2px 10px rgba(196, 53, 74, 0.5);
}

.footer-content {
    padding: 60px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-left: 80px; /* Mover columnas a la derecha para evitar que queden debajo de las redes sociales */
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
    color: white;
    position: relative;
    padding-bottom: 10px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-column:hover h3 {
    transform: translateX(5px);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--red-dark));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(196, 53, 74, 0.4);
}

.footer-column:hover h3::after {
    width: 80px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 14px;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-column:hover .footer-description {
    color: rgba(255, 255, 255, 0.95);
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary-red), var(--red-dark));
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(196, 53, 74, 0.4);
}

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

.footer-social a i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.footer-social a:hover i {
    transform: rotate(15deg) scale(1.2);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-5px);
    color: var(--primary-red);
}

.footer-links a:hover {
    color: white;
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-newsletter-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Botón de Substack */
.substack-subscribe-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #FF6719 0%, #FF4500 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 103, 25, 0.3);
    position: relative;
    overflow: hidden;
}

.substack-subscribe-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.substack-subscribe-btn:hover::before {
    left: 100%;
}

.substack-subscribe-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 103, 25, 0.5);
    background: linear-gradient(135deg, #FF4500 0%, #FF6719 100%);
}

.substack-subscribe-btn i:first-child {
    font-size: 20px;
}

.substack-subscribe-btn i:last-child {
    font-size: 14px;
    transition: transform 0.3s;
}

.substack-subscribe-btn:hover i:last-child {
    transform: translateX(5px);
}

.substack-subscribe-btn:active {
    transform: translateY(-1px);
}

/* Botón de Enviar Opinión */
.submit-opinion-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--blue-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(46, 74, 124, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-opinion-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.submit-opinion-btn:hover::before {
    left: 100%;
}

.submit-opinion-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 74, 124, 0.5);
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--primary-blue) 100%);
}

.submit-opinion-btn i:first-child {
    font-size: 20px;
}

.submit-opinion-btn i:last-child {
    font-size: 14px;
    transition: transform 0.3s;
}

.submit-opinion-btn:hover i:last-child {
    transform: translateX(5px);
}

.submit-opinion-btn:active {
    transform: translateY(-1px);
}

/* Mantener estilos antiguos para compatibilidad */
.footer-newsletter-form {
    display: flex;
    margin-bottom: 15px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
    outline: none;
}

.footer-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter-form input:focus {
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.15);
}

.footer-newsletter-form button {
    padding: 12px 20px;
    background: var(--primary-red);
    border: none;
    color: white;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-size: 16px;
}

.footer-newsletter-form button:hover {
    background: var(--red-dark);
}

.footer-newsletter-privacy {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-bottom {
    background: var(--blue-dark);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-location {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Dark theme for footer */
.dark-theme .site-footer-main {
    background: #0f172a;
}

.dark-theme .footer-bottom {
    background: #020617;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .main-content .container {
        padding-left: clamp(20px, 5vw, 80px);
    }

}

@media (max-width: 1200px) {
    .main-content .container {
        max-width: 100%;
        padding-left: 20px;
    }
}

@media (max-width: 992px) {
    /* Tablet - Botón hamburguesa mediano */
    .menu-toggle {
        min-width: 42px;
        min-height: 42px;
        padding: 9px;
        gap: 4.5px;
    }

    .menu-toggle span {
        width: 25px;
        height: 2.75px;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6.5px, 6.5px);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6.5px, -6.5px);
    }

    .main-content .container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .sidebar {
        gap: 35px;
        max-width: 600px;
        margin: 0 auto;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    /* Restricciones adicionales para anuncios en tablets */
    .sidebar .sidebar-section[data-ad-position="sidebar"],
    .sidebar .sidebar-section[data-ad-position="below-popular"] {
        max-width: 600px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .news-image {
        height: 280px;
    }

    .section-title {
        font-size: clamp(20px, 4vw, 24px);
    }

    .news-content h3 {
        font-size: clamp(16px, 3vw, 18px);
    }

    /* Ocultar barra de búsqueda del sidebar en tablets */
    .search-box {
        display: none !important;
    }

    .sidebar-section,
    .recent-comments-section {
        padding: clamp(20px, 4vw, 28px);
    }

    .ad-placeholder {
        padding: clamp(70px, 12vw, 90px) clamp(20px, 4vw, 28px);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-header .container {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .top-header-row {
        padding: 8px 0;
        font-size: 11px;
    }

    .location,
    .date {
        font-size: 10px;
    }

    /* Main header fixes */
    .main-header {
        padding: 10px 0;
    }

    .main-header .container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        padding-left: 15px;
        padding-right: 15px;
        gap: 10px;
    }

    .main-header .menu-toggle {
        justify-self: start;
        order: 1;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1000 !important;
        position: relative !important;
    }

    .main-header .logo {
        justify-self: center;
        order: 2;
        grid-column: 2;
    }

    .main-header .home-button {
        justify-self: end;
        order: 3;
    }

    /* Home button - responsive adjustments */
    .home-button {
        padding: 10px 18px;
        font-size: 14px;
    }

    /* Hamburger menu button size - MÓVIL (más pequeño) */
    .menu-toggle {
        width: 40px !important;
        height: 40px !important;
        padding: 8px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1000 !important;
        position: relative !important;
        gap: 3.5px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }

    .menu-toggle span {
        display: block !important;
        width: 22px !important;
        height: 2.5px !important;
        margin: 0 !important;
        background-color: var(--primary-blue) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5.5px, 5.5px) !important;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5.5px, -5.5px) !important;
    }

    /* Logo size for mobile */
    .logo img {
        height: 75px !important;
        max-width: 300px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mostrar main navigation en móviles - ajustar para pantallas pequeñas */
    .main-nav {
        display: block !important;
    }

    .main-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        padding: 10px 15px;
    }

    .main-nav ul li {
        flex: 1;
        min-width: 0;
    }

    .main-nav ul li a {
        padding: 10px 12px;
        font-size: 13px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .main-nav ul li a i {
        font-size: 14px;
        margin-right: 6px;
    }

    .categories-menu .container {
        flex-wrap: nowrap;
    }

    /* Ticker responsive */
    .ticker-container {
        flex-direction: column;
        gap: 0 !important;
    }

    .ticker-label-box {
        width: 100%;
        padding: 8px 15px;
        border-radius: 0;
    }

    .ticker-wrapper {
        width: 100%;
        padding: 10px 15px;
    }

    .ticker-label {
        font-size: 10px;
    }

    .ticker-item {
        font-size: 13px;
    }

    .ticker-keyword {
        font-size: 10px;
        padding: 2px 8px;
    }

    .ticker-title {
        max-width: 300px;
    }

    .main-content {
        padding: 30px 0 40px 0;
    }

    .main-content .container {
        padding-left: 15px;
        padding-right: 15px;
        gap: 30px;
    }

    .sidebar {
        gap: 30px;
    }

    /* Ocultar barra de búsqueda del sidebar en móviles */
    .search-box {
        display: none !important;
    }

    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .news-item {
        border-radius: 12px;
        overflow: hidden;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .news-image {
        height: 200px;
    }

    .news-content {
        padding: 15px;
    }

    .news-content h3 {
        font-size: 15px;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .news-excerpt {
        font-size: 13px;
        line-height: 1.5;
    }

    .news-meta {
        font-size: 10px;
    }

    /* Ocultar barra social fija en móviles */
    .fixed-social-bar {
        display: none !important;
    }

    /* Optimizar sidebar */
    .sidebar {
        order: 2;
    }

    /* Optimizar anuncios */
    .ad-placeholder {
        padding: 50px 20px !important;
        min-height: 150px !important;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .video-placeholder {
        height: 300px;
    }

    /* Ocultar barra de búsqueda del sidebar en móviles */
    .search-box {
        display: none !important;
    }

    .sidebar-section,
    .recent-comments-section {
        padding: 22px;
    }

    .sidebar-section h3,
    .recent-comments-section h3 {
        font-size: 17px;
    }

    .ad-placeholder {
        padding: 80px 22px;
        font-size: 15px;
    }

    .ad-placeholder::before {
        font-size: 55px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 60px !important;
        max-width: 200px;
    }

    /* Optimizar main-nav para móviles pequeños */
    .main-nav ul {
        padding: 8px 10px;
        gap: 3px;
    }

    .main-nav ul li a {
        padding: 8px 10px;
        font-size: 12px;
    }

    .main-nav ul li a i {
        font-size: 12px;
        margin-right: 5px;
    }

    /* Centrar noticias en móviles pequeños */
    .left-column {
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .news-item {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Centrar títulos de sección */
    .section-title {
        text-align: center !important;
    }

    .social-icons {
        width: 100%;
        margin-top: 10px;
    }

    /* Ocultar barra de búsqueda del sidebar en móviles pequeños */
    .search-box {
        display: none !important;
    }

    /* Optimizar sidebar para móviles */
    .sidebar {
        order: 2;
        margin-top: 20px;
    }

    /* Ocultar elementos innecesarios en móviles */
    .fixed-social-bar {
        display: none !important;
    }

    /* Optimizar anuncios en móviles */
    .ad-placeholder {
        padding: 40px 15px !important;
        min-height: 120px !important;
        font-size: 12px !important;
    }

    .ad-placeholder::before {
        font-size: 32px !important;
    }

    /* Optimizar noticias en móviles */
    .news-item {
        margin-bottom: 15px;
    }

    .news-image {
        height: 180px !important;
    }

    .news-content {
        padding: 15px !important;
    }

    .news-content h3 {
        font-size: 15px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }

    .news-excerpt {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 10px !important;
    }

    .news-meta {
        font-size: 10px !important;
    }

    /* Optimizar header en móviles */
    .top-header-row {
        padding: 6px 0 !important;
        font-size: 9px !important;
    }

    .location,
    .date {
        font-size: 9px !important;
    }

    .main-header {
        padding: 8px 0 !important;
    }

    /* Optimizar categorías y ticker */
    .categories-menu {
        padding: 8px 0 !important;
    }

    .ticker-container {
        padding: 6px 0 !important;
    }

    .ticker-item {
        font-size: 11px !important;
    }

    /* Optimizar footer */
    .footer {
        padding: 30px 15px 20px !important;
    }

    .footer-grid {
        gap: 25px !important;
    }

    .footer-column h4 {
        font-size: 14px !important;
    }

    .footer-column a,
    .footer-column p {
        font-size: 12px !important;
    }

    /* Optimizar secciones del sidebar */
    .sidebar-section {
        padding: 18px !important;
        margin-bottom: 20px !important;
    }

    .sidebar-section h3 {
        font-size: 15px !important;
        margin-bottom: 12px !important;
    }

    /* Optimizar popular news */
    .popular-news-item {
        padding: 12px !important;
        margin-bottom: 12px !important;
    }

    .popular-news-item h4 {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    /* Optimizar opiniones */
    .opinion-card {
        margin-bottom: 20px !important;
    }

    .opinion-card img {
        height: 150px !important;
    }

    .opinion-card-content {
        padding: 15px !important;
    }

    .opinion-card-content h3 {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }

    /* Espaciado general */
    .main-content {
        padding: 20px 0 30px 0 !important;
    }

    .main-content .container {
        gap: 25px !important;
    }

    .section-title {
        font-size: 18px !important;
        margin-bottom: 15px !important;
    }

    /* Ticker mobile */
    .categories-menu .label {
        font-size: 11px;
    }

    .ticker-item {
        font-size: 12px;
    }

    .ticker-keyword {
        font-size: 9px;
        padding: 2px 6px;
}

    .ticker-title {
        max-width: 200px;
    }

    .main-content .container {
        gap: 35px;
    }

    .sidebar {
        gap: 25px;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .news-grid {
        gap: 18px;
    }

    .news-item {
        margin-bottom: 15px;
    }

    .sidebar-section {
        padding: 15px;
    }

    .news-image {
        height: 200px;
    }

    .news-content {
        padding: 18px;
    }

    .news-content h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .news-excerpt {
        font-size: 14px;
    }

    .news-meta {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .video-placeholder {
        height: 250px;
    }

    .video-placeholder i {
        font-size: 70px;
    }

    .search-box,
    .sidebar-section,
    .recent-comments-section {
        padding: 18px;
        border-radius: 18px;
    }

    .search-box h3,
    .sidebar-section h3,
    .recent-comments-section h3 {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .search-box h3::before,
    .recent-comments-section h3::before {
        font-size: 16px;
    }

    .search-box input {
        padding: 13px 15px;
        font-size: 13px;
        border-radius: 12px 0 0 12px;
    }

    .search-box button {
        padding: 13px 18px;
        font-size: 14px;
        border-radius: 0 12px 12px 0;
    }

    .recent-comment-item {
        padding: 16px;
        gap: 12px;
    }

    .recent-comment-avatar i {
        font-size: 32px;
    }

    .recent-comment-author {
        font-size: 13px;
    }

    .recent-comment-text {
        font-size: 12px;
    }

    .recent-comment-link {
        font-size: 11px;
        padding: 6px 10px;
    }

    .ad-placeholder {
        padding: 60px 18px;
        font-size: 14px;
        border-radius: 18px;
    }

    .ad-placeholder::before {
        font-size: 45px;
    }

    .footer-content {
        padding: 35px 0 25px 0;
    }
}

/* ========== SISTEMA DE COMENTARIOS ========== */
.comments-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: var(--shadow-md);
}

.comments-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-red);
}

.comments-header h3 {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comments-header h3 i {
    color: var(--primary-red);
}

/* Formulario de comentarios */
.comment-form-container {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    border: 2px solid var(--border-gray);
}

.comment-form-container:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(46, 74, 124, 0.1);
}

.comment-form-container h4 {
    color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row-comment {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group-comment {
    display: flex;
    flex-direction: column;
}

.form-group-comment input,
.form-group-comment textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: white;
}

.form-group-comment input:focus,
.form-group-comment textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(46, 74, 124, 0.1);
}

.form-group-comment textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit-comment {
    background: linear-gradient(135deg, var(--primary-blue), var(--blue-dark));
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
}

.btn-submit-comment:hover {
    background: linear-gradient(135deg, var(--blue-dark), var(--primary-blue));
    box-shadow: 0 6px 15px rgba(46, 74, 124, 0.3);
}

.btn-submit-comment:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(46, 74, 124, 0.2);
}

/* Lista de comentarios */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
    border: 2px solid transparent;
}

.comment-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(46, 74, 124, 0.08);
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar i {
    font-size: 42px;
    color: var(--primary-blue);
}

.reply-avatar i {
    font-size: 36px;
    color: var(--dark-gray);
}

.comment-content-wrapper {
    flex: 1;
    min-width: 0;
}

.comment-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.comment-author {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 16px;
}

.comment-time {
    color: var(--dark-gray);
    font-size: 13px;
    opacity: 0.7;
}

.comment-text {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 12px;
    word-wrap: break-word;
}

.comment-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-comment-action {
    background: none;
    border: none;
    color: var(--dark-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.btn-comment-action:hover {
    background: white;
    color: var(--primary-blue);
}

.btn-comment-action i {
    font-size: 16px;
}

/* Formulario de respuestas */
.reply-form-container {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 2px solid var(--primary-blue);
}

.reply-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reply-form input,
.reply-form textarea {
    padding: 10px 12px;
    border: 2px solid var(--border-gray);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.reply-form input:focus,
.reply-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(46, 74, 124, 0.1);
}

.reply-form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-cancel-reply,
.btn-submit-reply {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-cancel-reply {
    background: var(--border-gray);
    color: var(--dark-gray);
}

.btn-cancel-reply:hover {
    background: #b8bcc4;
}

.btn-submit-reply {
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-submit-reply:hover {
    background: var(--blue-dark);
    box-shadow: 0 4px 8px rgba(46, 74, 124, 0.2);
}

/* Contenedor de respuestas */
.replies-container {
    margin-top: 15px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-red);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reply-item {
    display: flex;
    gap: 12px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
}

.reply-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(46, 74, 124, 0.08);
}

/* Sin comentarios */
.no-comments {
    text-align: center;
    padding: 60px 20px;
    color: var(--dark-gray);
}

.no-comments i {
    font-size: 64px;
    color: var(--border-gray);
    margin-bottom: 20px;
    display: block;
}

.no-comments p {
    font-size: 16px;
    color: var(--dark-gray);
    opacity: 0.7;
}

/* Responsive para comentarios */
@media (max-width: 768px) {
    .comments-section {
        padding: 20px;
        margin-top: 30px;
    }

    .comments-header h3 {
        font-size: 20px;
    }

    .comment-form-container {
        padding: 20px;
    }

    .form-row-comment {
        grid-template-columns: 1fr;
    }

    .comment-item {
        padding: 15px;
    }

    .comment-avatar i {
        font-size: 36px;
    }

    .reply-avatar i {
        font-size: 32px;
    }

    .replies-container {
        padding-left: 10px;
    }

    .reply-item {
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .comments-section {
        padding: 15px;
    }

    .comment-form-container {
        padding: 15px;
    }

    .comment-form-container h4 {
        font-size: 16px;
    }

    .btn-submit-comment {
        width: 100%;
        align-self: stretch;
    }

    .comment-item {
        flex-direction: column;
        padding: 12px;
    }

    .reply-item {
        flex-direction: column;
        padding: 10px;
    }

    .comment-actions {
        flex-wrap: wrap;
    }

    .reply-form-actions {
        flex-direction: column;
    }

    .btn-cancel-reply,
    .btn-submit-reply {
        width: 100%;
    }
}

/* ========== SISTEMA DE REACCIONES/LIKES ========== */
.reactions-bar {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-gray);
}

.reactions-bar:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.reactions-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 16px;
}

.reactions-title i {
    font-size: 20px;
    color: var(--primary-red);
}

.reactions-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 15px;
}

.reaction-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: var(--light-gray);
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    cursor: pointer;
    min-width: 80px;
}

.reaction-btn:hover:not(:disabled) {
    background: white;
    border-color: var(--primary-blue);
    box-shadow: 0 6px 15px rgba(46, 74, 124, 0.2);
}

.reaction-btn.reacted {
    background: linear-gradient(135deg, var(--primary-blue), var(--blue-dark));
    border-color: var(--primary-blue);
    cursor: not-allowed;
}

.reaction-btn.reacted .reaction-emoji {
    filter: brightness(1.2);
}

.reaction-btn.reacted .reaction-count {
    color: white;
    font-weight: 700;
}

.reaction-btn:disabled {
    opacity: 0.7;
}

.reaction-emoji {
    font-size: 32px;
}

.reaction-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    min-height: 20px;
}

.reactions-summary {
    text-align: center;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 8px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--dark-gray);
    font-size: 14px;
}

.reactions-summary i {
    color: var(--primary-red);
}

/* Animation for reaction */

/* Reaction toast notification */
.reaction-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    opacity: 0;
    border-left: 4px solid var(--primary-blue);
}

.reaction-toast.show {
    opacity: 1;
}

.reaction-toast-success {
    border-left-color: #28a745;
}

.reaction-toast-success i {
    color: #28a745;
    font-size: 20px;
}

.reaction-toast-warning {
    border-left-color: #ffc107;
}

.reaction-toast-warning i {
    color: #ffc107;
    font-size: 20px;
}

.reaction-toast span {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
}

/* Compact reactions summary (for news list) */
.reactions-summary-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--light-gray);
    border-radius: 20px;
    font-size: 13px;
    color: var(--dark-gray);
}

.reactions-summary-compact:hover {
    background: white;
    box-shadow: var(--shadow-sm);
}

.reactions-summary-compact i {
    color: var(--primary-blue);
    font-size: 16px;
}

.top-reactions {
    display: flex;
    gap: 4px;
}

.reaction-emoji-small {
    font-size: 18px;
}

.reactions-total {
    font-weight: 600;
    color: var(--primary-blue);
    margin-left: 4px;
}

/* Responsive for reactions */
@media (max-width: 768px) {
    .reactions-bar {
        padding: 20px;
    }

    .reactions-buttons {
        gap: 8px;
    }

    .reaction-btn {
        padding: 12px 15px;
        min-width: 70px;
    }

    .reaction-emoji {
        font-size: 28px;
    }

    .reaction-toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: calc(100% - 40px);
    }
}

@media (max-width: 576px) {
    .reactions-bar {
        padding: 15px;
    }

    .reactions-buttons {
        gap: 6px;
    }

    .reaction-btn {
        padding: 10px 12px;
        min-width: 60px;
    }

    .reaction-emoji {
        font-size: 24px;
    }

    .reaction-count {
        font-size: 12px;
    }

    .reactions-title {
        font-size: 14px;
    }
}

/* ========== SISTEMA DE NOTIFICACIONES TOAST ========== */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 320px;
    pointer-events: all;
    opacity: 0;
    border-left: 4px solid var(--primary-blue);
    cursor: pointer;
}

.toast.toast-show {
    opacity: 1;
}

.toast.toast-hide {
    opacity: 0;
}

.toast:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Toast types */
.toast-success {
    border-left-color: #28a745;
}

.toast-error {
    border-left-color: #dc3545;
}

.toast-warning {
    border-left-color: #ffc107;
}

.toast-info {
    border-left-color: var(--primary-blue);
}

/* Toast icon */
.toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.toast-success .toast-icon {
    color: #28a745;
}

.toast-error .toast-icon {
    color: #dc3545;
}

.toast-warning .toast-icon {
    color: #ffc107;
}

.toast-info .toast-icon {
    color: var(--primary-blue);
}

/* Toast content */
.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-weight: 700;
    color: var(--dark-gray);
    font-size: 15px;
    margin-bottom: 4px;
}

.toast-message {
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

/* Toast action button */
.toast-action {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
}

.toast-action:hover {
    background: var(--blue-dark);
}

/* Toast close button */
.toast-close {
    background: none;
    border: none;
    color: var(--dark-gray);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    opacity: 0.5;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    opacity: 1;
    background: var(--light-gray);
}

/* Loading animation for persistent toasts */
.toast-info .toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .toast-container {
        top: 70px;
        right: 15px;
        left: 15px;
        max-width: none;
    }

    .toast {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .toast-container {
        top: 60px;
        right: 10px;
        left: 10px;
    }

    .toast {
        padding: 14px 16px;
        font-size: 13px;
    }

    .toast-title {
        font-size: 14px;
    }

    .toast-message {
        font-size: 13px;
    }
}

/* ========== SISTEMA DE TAGS/ETIQUETAS ========== */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--light-gray);
    border: 2px solid var(--border-gray);
    border-radius: 20px;
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.tag-badge:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 10px rgba(46, 74, 124, 0.2);
}

.tag-badge i {
    font-size: 11px;
}

.tags-empty {
    color: var(--dark-gray);
    font-size: 14px;
    font-style: italic;
    opacity: 0.7;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tag-cloud-item {
    display: inline-block;
    padding: 8px 16px;
    background: var(--light-gray);
    border-radius: 25px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid transparent;
}

.tag-cloud-item:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(46, 74, 124, 0.2);
}

/* Tag sizes */
.tag-size-1 {
    font-size: 12px;
}

.tag-size-2 {
    font-size: 14px;
}

.tag-size-3 {
    font-size: 16px;
}

.tag-size-4 {
    font-size: 18px;
}

.tag-size-5 {
    font-size: 20px;
    font-weight: 700;
}

.tag-cloud-empty {
    text-align: center;
    padding: 40px;
    color: var(--dark-gray);
}

.tag-cloud-empty i {
    font-size: 48px;
    color: var(--border-gray);
    margin-bottom: 15px;
    display: block;
}

.tag-cloud-empty p {
    font-size: 14px;
}

/* Tags Manager (Admin) */
.tags-manager {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 2px solid var(--border-gray);
}

.tags-manager-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-red);
}

.tags-manager-header h4 {
    color: var(--primary-blue);
    font-size: 18px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tags-manager-header h4 i {
    color: var(--primary-red);
}

.tags-count {
    background: var(--light-gray);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-blue);
}

.tags-manager-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    min-height: 50px;
}

.tag-manager-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--light-gray);
    border: 2px solid var(--border-gray);
    border-radius: 20px;
}

.tag-manager-item:hover {
    border-color: var(--primary-blue);
    background: white;
}

.tag-text {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tag-text i {
    font-size: 12px;
}

.tag-remove-btn {
    background: var(--primary-red);
    color: white;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
}

.tag-remove-btn:hover {
    background: var(--red-dark);
}

.tags-manager-empty {
    color: var(--dark-gray);
    font-size: 14px;
    font-style: italic;
    opacity: 0.7;
}

.tags-manager-add {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tags-manager-add input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.tags-manager-add input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(46, 74, 124, 0.1);
}

.tag-add-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tag-add-btn:hover {
    background: var(--blue-dark);
    box-shadow: 0 4px 10px rgba(46, 74, 124, 0.2);
}

.tags-manager-suggestions {
    padding-top: 15px;
    border-top: 1px solid var(--border-gray);
}

.tags-manager-suggestions p {
    color: var(--dark-gray);
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: 600;
}

.tag-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-suggestion {
    padding: 6px 12px;
    background: white;
    border: 2px solid var(--primary-blue);
    border-radius: 15px;
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.tag-suggestion:hover {
    background: var(--primary-blue);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .tags-manager {
        padding: 15px;
    }

    .tags-manager-header h4 {
        font-size: 16px;
    }

    .tags-manager-add {
        flex-direction: column;
    }

    .tag-add-btn {
        width: 100%;
        justify-content: center;
    }

    .tag-cloud {
        padding: 15px;
        gap: 8px;
    }

    .tag-size-1 { font-size: 11px; }
    .tag-size-2 { font-size: 12px; }
    .tag-size-3 { font-size: 14px; }
    .tag-size-4 { font-size: 16px; }
    .tag-size-5 { font-size: 18px; }
}


/* ========== IMPROVED TICKER STYLES ========== */
/* Sobrescribir estilos del ticker con diseño mejorado */

.categories-menu {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    border-bottom: 3px solid var(--primary-red) !important;
    padding: 0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    position: relative;
}

.categories-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(220, 38, 38, 0.5) 50%,
        transparent 100%);
}

.ticker-container {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    gap: 0 !important;
}

/* Ticker Label Box - Estilo Breaking News */
.ticker-label-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #b91c1c 100%);
    padding: 14px 24px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}

.ticker-label-box::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 24px 0 24px 15px;
    border-color: transparent transparent transparent #b91c1c;
}

.ticker-icon-pulse {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    animation: pulse-icon 1.5s ease-in-out infinite;
}

.ticker-icon-pulse i {
    color: #fff;
    font-size: 14px;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.ticker-label {
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 1.5px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.ticker-wrapper {
    flex: 1 !important;
    overflow: hidden !important;
    position: relative !important;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    padding: 14px 20px !important;
    display: flex !important;
    align-items: center !important;
}

.ticker-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(90deg,
        rgba(26, 26, 46, 1) 0%,
        rgba(26, 26, 46, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.ticker-wrapper::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(90deg,
        rgba(26, 26, 46, 0) 0%,
        rgba(26, 26, 46, 1) 100%);
    z-index: 1;
    pointer-events: none;
}

.ticker-fade-right {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(90deg,
        rgba(22, 33, 62, 0) 0%,
        rgba(22, 33, 62, 1) 100%);
    pointer-events: none;
    z-index: 2;
}

.ticker-content {
    gap: 40px !important;
    animation: ticker-scroll 45s linear infinite !important;
}

.ticker-item {
    gap: 12px !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 0 !important;
}

.ticker-item:hover .ticker-keyword {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.ticker-keyword {
    background: linear-gradient(135deg, var(--primary-red) 0%, #ef4444 100%) !important;
    color: white !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.ticker-keyword::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--primary-red);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-50%) scale(1.3);
    }
}

.ticker-item:not(:last-child) .ticker-keyword::after {
    content: '' !important;
    position: absolute !important;
    right: -24px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 2px !important;
    height: 12px !important;
    background: linear-gradient(180deg,
        rgba(220, 38, 38, 0) 0%,
        rgba(220, 38, 38, 0.6) 50%,
        rgba(220, 38, 38, 0) 100%) !important;
    color: transparent !important;
}

/* ========== VIDEO SECTION STYLES - DEPRECATED ========== */
/* Estos estilos han sido reemplazados por youtube-player-styles.css */
/*
.video-section {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.main-video-container {
    flex: 2;
}

.recent-videos-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-videos-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red);
    display: flex;
    align-items: center;
    gap: 8px;
}

.recent-videos-title i {
    color: #FF0000;
    font-size: 20px;
}

.recent-videos-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.recent-video-item {
    cursor: pointer;
    transition: transform 0.2s ease;
}

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

.recent-video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.recent-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.recent-video-item:hover .recent-video-thumbnail img {
    opacity: 0.7;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(220, 38, 38, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.recent-video-item:hover .play-overlay {
    background: var(--primary-red);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-overlay i {
    color: white;
    font-size: 16px;
    margin-left: 2px;
}

.recent-video-title {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-all-videos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: var(--primary-red);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease;
    margin-top: auto;
}

.view-all-videos:hover {
    background: #b91c1c;
}

.view-all-videos i {
    font-size: 12px;
}
*/

/* Responsive para tablets */
/*
@media (max-width: 968px) {
    .video-section {
        flex-direction: column;
    }

    .main-video-container {
        width: 100%;
    }

    .recent-videos-bar {
        width: 100%;
    }

    .recent-videos-grid {
        flex-direction: row;
        overflow-x: auto;
        gap: 15px;
    }

    .recent-video-item {
        min-width: 200px;
    }
}
*/

/* Responsive para móviles */
/*
@media (max-width: 600px) {
    .video-section {
        padding: 15px;
    }

    .main-video-container iframe {
        height: 250px;
    }

    .recent-videos-title {
        font-size: 16px;
    }

    .recent-video-item {
        min-width: 180px;
    }

    .recent-video-title {
        font-size: 12px;
    }
}
*/

/* ========== LOADING & ERROR STATES FOR VIDEOS ========== */
.loading-videos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 20px;
    color: #666;
    font-size: 14px;
}

.loading-videos i {
    font-size: 20px;
    color: var(--primary-red);
}

.error-loading-videos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 20px;
    text-align: center;
}

.error-loading-videos i {
    font-size: 32px;
    color: #f59e0b;
}

.error-loading-videos p {
    margin: 0;
    color: #666;
    font-size: 13px;
}

.error-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: var(--primary-red);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
    transition: background 0.3s ease;
}

.error-link:hover {
    background: #b91c1c;
}

/* ========== PÁGINA DE SOLICITUD DE AUTOR ========== */
.solicitud-autor-section {
    min-height: 100vh;
    background: #f8fafc;
    padding: 80px 20px;
}

.dark-theme .solicitud-autor-section {
    background: #0f172a;
}

.solicitud-container {
    max-width: 800px;
    margin: 0 auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
}

.solicitud-header {
    text-align: center;
    margin-bottom: 50px;
}

.solicitud-icon {
    font-size: 60px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.dark-theme .solicitud-icon {
    color: #94a3b8;
}

.solicitud-header h1 {
    color: var(--primary-blue);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.dark-theme .solicitud-header h1 {
    color: #94a3b8;
}

.solicitud-header p {
    color: var(--dark-gray);
    font-size: 18px;
    line-height: 1.6;
}

.dark-theme .solicitud-header p {
    color: #cbd5e1;
}

.solicitud-info {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(46, 74, 124, 0.08);
    margin-bottom: 40px;
}

.dark-theme .solicitud-info {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
}

.solicitud-info h3 {
    color: var(--primary-blue);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dark-theme .solicitud-info h3 {
    color: #94a3b8;
}

.solicitud-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solicitud-info li {
    color: var(--dark-gray);
    font-size: 16px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dark-theme .solicitud-info li {
    color: #cbd5e1;
}

.solicitud-info li i {
    color: #22c55e;
    font-size: 18px;
}

.solicitud-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(46, 74, 124, 0.08);
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.dark-theme .solicitud-form {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px;
}

.dark-theme .form-group label {
    color: #94a3b8;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
}

.dark-theme .form-group input,
.dark-theme .form-group textarea {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(46, 74, 124, 0.1);
}

.dark-theme .form-group input:focus,
.dark-theme .form-group textarea:focus {
    border-color: #94a3b8;
    box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.char-counter {
    display: block;
    text-align: right;
    color: #6c757d;
    font-size: 13px;
    margin-top: 5px;
}

.password-strength {
    display: block;
    text-align: right;
    font-size: 13px;
    margin-top: 5px;
    font-weight: 600;
}

.password-strength.weak {
    color: #dc3545;
}

.password-strength.medium {
    color: #ffc107;
}

.password-strength.strong {
    color: #28a745;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--dark-gray);
    font-weight: 400;
}

.dark-theme .checkbox-group label {
    color: #cbd5e1;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.checkbox-group a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.dark-theme .checkbox-group a {
    color: #94a3b8;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.submit-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--blue-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 74, 124, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 74, 124, 0.5);
}

.submit-btn:active {
    transform: translateY(0);
}

.cancel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: #e5e7eb;
    color: #374151;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dark-theme .cancel-btn {
    background: #334155;
    color: #e2e8f0;
}

.cancel-btn:hover {
    background: #d1d5db;
}

.dark-theme .cancel-btn:hover {
    background: #475569;
}

.form-message {
    display: none;
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.dark-theme .form-message.success {
    background: #064e3b;
    color: #6ee7b7;
}

.dark-theme .form-message.error {
    background: #7f1d1d;
    color: #fca5a5;
}

/* Responsive */
@media (max-width: 768px) {
    .solicitud-autor-section {
        padding: 40px 20px;
    }

    .solicitud-header h1 {
        font-size: 32px;
    }

    .solicitud-icon {
        font-size: 48px;
    }

    .solicitud-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }
}

/* ========== BOTONES DE COMPARTIR - DISEÑO MEJORADO ========== */
.news-share-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 15px 0;
    flex-wrap: wrap;
}

.news-share-buttons .share-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    font-size: 16px;
    color: #374151;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.news-share-buttons .share-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(46, 74, 124, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.news-share-buttons .share-btn:hover::before {
    width: 100px;
    height: 100px;
}

.news-share-buttons .share-btn i {
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-share-buttons .share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: #f8fafc;
}

.news-share-buttons .share-btn:hover i {
    transform: scale(1.15);
}

.news-share-buttons .share-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Estilos específicos con colores sutiles al hover */
.news-share-buttons .share-facebook {
    background: #ffffff;
    border-color: #e5e7eb;
    color: #374151;
}

.news-share-buttons .share-facebook:hover {
    background: #f0f4ff;
    border-color: #1877f2;
    color: #1877f2;
}

.news-share-buttons .share-twitter {
    background: #ffffff;
    border-color: #e5e7eb;
    color: #374151;
}

.news-share-buttons .share-twitter:hover {
    background: #f0f9ff;
    border-color: #1da1f2;
    color: #1da1f2;
}

.news-share-buttons .share-whatsapp {
    background: #ffffff;
    border-color: #e5e7eb;
    color: #374151;
}

.news-share-buttons .share-whatsapp:hover {
    background: #f0fdf4;
    border-color: #25d366;
    color: #25d366;
}

.news-share-buttons .share-linkedin {
    background: #ffffff;
    border-color: #e5e7eb;
    color: #374151;
}

.news-share-buttons .share-linkedin:hover {
    background: #f0f7ff;
    border-color: #0077b5;
    color: #0077b5;
}

.news-share-buttons .share-copy {
    background: #ffffff;
    border-color: #e5e7eb;
    color: #374151;
}

.news-share-buttons .share-copy:hover {
    background: #f8fafc;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* Notificación de copiado */
.share-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--blue-dark) 100%);
    color: white;
    padding: 18px 28px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(46, 74, 124, 0.35);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.share-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.share-notification i {
    font-size: 18px;
    color: #25d366;
}

/* Responsive para botones de compartir */
@media (max-width: 768px) {
    .article-share-section .news-share-buttons {
        justify-content: flex-start;
        gap: 10px;
        margin-top: 20px;
    }
    
    .news-share-buttons .share-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 10px;
    }
    
    .share-notification {
        bottom: 20px;
        right: 20px;
        left: 20px;
        padding: 15px 22px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .article-share-section .news-share-buttons {
        justify-content: center;
        gap: 8px;
    }
    
    .news-share-buttons .share-btn {
        width: 38px;
        height: 38px;
        font-size: 15px;
        border-radius: 10px;
    }
}

/* ========== ESTADO DE CARGA - PÁGINA DE NOTICIA ========== */
.article-loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    overflow: hidden;
    margin: 0;
    padding: 0;
    pointer-events: auto;
}

/* Asegurar que el body no tenga scroll durante la carga */
body.loading-article {
    overflow: hidden !important;
}

.article-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    position: relative;
}

.article-loading-container .loading-spinner {
    position: relative;
    width: 64px;
    height: 64px;
}

.article-loading-container .spinner-ring {
    position: absolute;
    width: 64px;
    height: 64px;
    border: 4px solid #e2e8f0;
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: article-spin 1.2s linear infinite;
    top: 0;
    left: 0;
}

.article-loading-container .spinner-ring:nth-child(2) {
    width: 48px;
    height: 48px;
    top: 8px;
    left: 8px;
    border-width: 3px;
    animation-delay: -0.4s;
    border-top-color: var(--primary-red);
}

.article-loading-container .spinner-ring:nth-child(3) {
    width: 32px;
    height: 32px;
    top: 16px;
    left: 16px;
    border-width: 2px;
    animation-delay: -0.8s;
    border-top-color: var(--primary-blue);
}

@keyframes article-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.article-loading-container .loading-text {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    margin: 0;
    letter-spacing: 0.3px;
    text-align: center;
    }
    
/* Ocultar skip-link durante la carga */
.skip-link {
    display: none !important;
}

/* ========== DISEÑO NUEVO Y LIMPIO - PÁGINA DE NOTICIA ========== */
/* Contenedor principal del artículo */
.main-content-article {
    background: #ffffff;
    padding: 0;
    min-height: 60vh;
}

/* Wrapper del artículo - Diseño Limpio */
.article-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 50px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    }
    
.article-wrapper.with-sidebar {
    grid-template-columns: 1fr 400px;
    gap: 70px;
    max-width: 1400px;
    padding: 70px 50px;
    }
    
.article-wrapper.centered {
    max-width: 850px;
    padding: 70px 50px;
    }
    
/* Contenedor del artículo */
.article-container {
    min-width: 0;
}

/* Contenido del artículo */
.article-content {
    background: #ffffff;
    border-radius: 0;
    padding: 0;
    position: relative;
    max-width: 100%;
}

/* Header del artículo - Diseño Nuevo */
.article-header-new {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f1f5f9;
}

/* Badge de categoría */
.article-badge {
    display: inline-block;
    background: var(--primary-blue);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-badge:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 74, 124, 0.3);
}

/* Sección del título */
.article-title-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.article-title-new {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    margin: 0;
    letter-spacing: -1.2px;
    flex: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
}

/* Botón de favoritos */
.article-favorite-btn {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 4px;
}

.article-favorite-btn:hover {
    background: #fff5f5;
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: scale(1.05);
}

.article-favorite-btn.active {
    background: #fff5f5;
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.article-favorite-btn.active i::before {
    content: "\f004";
    font-weight: 900;
}

/* Meta datos nuevos */
.article-meta-new {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.article-meta-new .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.article-meta-new .meta-item i {
    color: #94a3b8;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

/* Imagen destacada del artículo */
.article-featured-image {
    width: 100%;
    margin: 40px 0 50px 0;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
    position: relative;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-featured-image:hover img {
    transform: scale(1.03);
}

/* Cuerpo del artículo - Diseño Nuevo y Limpio */
.article-body-new {
    font-size: 20px;
    line-height: 1.85;
    color: #334155;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Roboto', sans-serif;
    margin-top: 0;
    padding: 0;
    max-width: 100%;
}

.article-body-new p {
    margin: 0 0 30px 0;
    text-align: left;
    color: #334155;
    word-wrap: break-word;
    hyphens: auto;
}

.article-body-new p:first-of-type {
    font-size: 23px;
    line-height: 1.9;
    font-weight: 400;
    color: #1e293b;
    margin-bottom: 36px;
    letter-spacing: -0.3px;
}

.article-body-new h2 {
    font-size: 34px;
    font-weight: 700;
    color: #0f172a;
    margin: 60px 0 26px 0;
    line-height: 1.3;
    letter-spacing: -1px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    padding-top: 20px;
    border-top: 2px solid #f1f5f9;
}

.article-body-new h3 {
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
    margin: 52px 0 22px 0;
    line-height: 1.4;
    letter-spacing: -0.6px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
}

.article-body-new ul,
.article-body-new ol {
    margin: 28px 0;
    padding-left: 28px;
    line-height: 1.9;
}

.article-body-new li {
    margin-bottom: 14px;
    color: #334155;
}

.article-body-new a {
    color: var(--primary-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.article-body-new a:hover {
    color: var(--blue-dark);
    text-decoration-thickness: 2px;
}

.article-body-new blockquote {
    margin: 40px 0;
    padding: 28px 36px;
    background: #f8fafc;
    border-left: 4px solid var(--primary-blue);
    border-radius: 8px;
    font-style: italic;
    color: #475569;
    font-size: 18px;
    line-height: 1.75;
    position: relative;
}

.article-body-new blockquote::before {
    content: '"';
    font-size: 64px;
    color: var(--primary-blue);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: Georgia, serif;
}

.article-body-new img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 32px 0;
}

.article-body-new code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--primary-blue);
    font-family: 'Monaco', 'Courier New', monospace;
}

.article-body-new pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 24px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 32px 0;
    font-size: 16px;
    line-height: 1.6;
}

.article-body-new pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Footer del artículo - Diseño Nuevo */
.article-footer-new {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f1f5f9;
}

.article-share-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.share-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
}

/* Responsive para diseño nuevo */
@media (max-width: 992px) {
    .article-wrapper {
        padding: 40px 30px;
    }
    
    .article-wrapper.with-sidebar {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .related-news-sidebar {
        position: relative;
        top: 0;
        max-height: none;
    }
    
    .related-news-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .article-wrapper {
        padding: 30px 20px;
    }
    
    .article-header-new {
        margin-bottom: 35px;
        padding-bottom: 25px;
    }
    
    .article-title-new {
        font-size: clamp(28px, 8vw, 36px);
        line-height: 1.25;
    }
    
    .article-title-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .article-favorite-btn {
        align-self: flex-end;
        margin-top: -10px;
    }
    
    .article-meta-new {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .article-meta-new .meta-item {
        font-size: 13px;
    }
    
    .article-featured-image {
        margin: 30px 0 40px 0;
        border-radius: 12px;
    }
    
    .article-body-new {
        font-size: 17px;
        line-height: 1.75;
    }
    
    .article-body-new p:first-of-type {
        font-size: 19px;
        line-height: 1.8;
        margin-bottom: 28px;
    }
    
    .article-body-new h2 {
        font-size: 26px;
        margin: 40px 0 20px 0;
    }
    
    .article-body-new h3 {
        font-size: 22px;
        margin: 36px 0 18px 0;
    }
    
    .article-footer-new {
        margin-top: 50px;
        padding-top: 30px;
    }
    
    .share-title {
        font-size: 16px;
    }
    
    
    .comment-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .comment-form-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .btn-submit-comment {
        width: 100%;
        justify-content: center;
    }
    
    .comments-header {
        text-align: left;
    }
    
    .comments-title {
        font-size: 24px;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .article-wrapper {
        padding: 20px 15px;
    }
    
    .article-title-new {
        font-size: 26px;
        letter-spacing: -0.8px;
    }
    
    .article-body-new {
        font-size: 16px;
        line-height: 1.7;
    }
    
    .article-body-new p:first-of-type {
        font-size: 18px;
        line-height: 1.75;
    }
    
    .article-body-new h2 {
        font-size: 24px;
        margin: 36px 0 18px 0;
    }
    
    .article-body-new h3 {
        font-size: 20px;
        margin: 32px 0 16px 0;
    }
    
    .comment-form-container {
        padding: 24px 20px;
    }
    
    .comments-title {
        font-size: 22px;
    }
    
    .comment-form-row {
        grid-template-columns: 1fr;
    }
    
    .comment-form-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-submit-comment {
        width: 100%;
    }
}

/* Cuerpo del artículo - Mantener compatibilidad */
.article-body {
    font-size: clamp(18px, 2.2vw, 20px);
    line-height: 1.75;
    color: #334155;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    max-width: 100%;
    margin-top: 0;
    padding: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-body p {
    margin: 0 0 24px 0;
    text-align: justify;
    hyphens: auto;
}

.article-body p:first-of-type {
    font-size: clamp(19px, 2.2vw, 21px);
    line-height: 1.9;
    color: #1f2937;
    font-weight: 500;
    margin-bottom: 28px;
}

/* Eliminar letra capital para diseño moderno */
.modern-design .article-body-modern p:first-of-type::first-letter {
    font-size: inherit;
    font-weight: inherit;
    float: none;
    line-height: inherit;
    margin: 0;
    color: inherit;
    font-family: inherit;
}

/* Títulos dentro del artículo */
.article-body h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: var(--primary-blue);
    margin: 50px 0 20px 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
    position: relative;
    padding-left: 20px;
}

.article-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 60%;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    border-radius: 3px;
}

.article-body h3 {
    font-size: clamp(24px, 3.5vw, 28px);
    font-weight: 700;
    color: var(--primary-blue);
    margin: 40px 0 18px 0;
    line-height: 1.4;
    letter-spacing: -0.2px;
}

.article-body h4 {
    font-size: clamp(20px, 3vw, 22px);
    font-weight: 600;
    color: #374151;
    margin: 32px 0 16px 0;
    line-height: 1.5;
}

/* Listas */
.article-body ul,
.article-body ol {
    margin: 24px 0;
    padding-left: 30px;
    line-height: 1.8;
}

.article-body li {
    margin-bottom: 12px;
    color: #374151;
}

.article-body ul li::marker {
    color: var(--primary-red);
}

/* Blockquotes */
.article-body blockquote {
    margin: 40px 0;
    padding: 30px 35px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--primary-red);
    border-radius: 12px;
    font-style: italic;
    color: #4a5568;
    font-size: clamp(18px, 2.5vw, 20px);
    line-height: 1.7;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.article-body blockquote::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 60px;
    color: var(--primary-red);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Enlaces */
.article-body a {
    color: var(--primary-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.article-body a:hover {
    color: var(--primary-red);
}

/* Imágenes dentro del contenido */
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Responsive para página de artículo */
@media (max-width: 768px) {
    .article-layout {
        padding: 0 15px !important;
    }
    
    .article-layout.has-related,
    .article-layout.no-related {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .article-full {
        padding: 0 0 60px 0;
    }
    
    .article-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .article-title {
        margin-bottom: 20px;
    }
    
    .article-meta {
        gap: 15px;
        font-size: 13px;
    }
    
    .article-image {
        margin: 30px 0;
        border-radius: 12px;
    }
    
    .article-body {
        margin-top: 30px;
        padding: 0;
    }
    
    .article-body p:first-of-type::first-letter {
        font-size: 3.5em;
        margin: 6px 10px 0 0;
    }
}

/* Ajustar scroll-to-top para no interferir */
.scroll-to-top {
    bottom: 30px;
    right: 30px;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 90px; /* Encima de fixed-social-bar en móvil */
        right: 20px;
    }
}

/* Ajustar fixed-social-bar para no interferir */
@media (max-width: 768px) {
    .fixed-social-bar {
        bottom: 20px;
        left: 15px;
    }
}

/* ========== NOTICIAS RELACIONADAS ========== */
.related-news-sidebar {
    position: sticky;
    top: 180px;
    height: fit-content;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding-right: 10px;
}

/* Scrollbar personalizado para sidebar de noticias relacionadas */
.related-news-sidebar::-webkit-scrollbar {
    width: 6px;
}

.related-news-sidebar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.related-news-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

.related-news-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--blue-dark);
}

.related-news-header {
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.related-news-title {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.related-news-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 8px 0 0 0;
    font-weight: 500;
}

.related-news-title i {
    color: var(--primary-red);
    font-size: 22px;
}

.related-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-news-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid #e2e8f0;
    margin-bottom: 0;
}

.related-news-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-blue);
}

.related-news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    position: relative;
}

.related-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 74, 124, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-news-overlay i {
    color: white;
    font-size: 32px;
    transform: translateX(-10px);
    transition: transform 0.3s ease;
}

.related-news-item:hover .related-news-image img {
    transform: scale(1.1);
}

.related-news-item:hover .related-news-overlay {
    opacity: 1;
}

.related-news-item:hover .related-news-overlay i {
    transform: translateX(0);
}

.related-news-content {
    padding: 20px;
}

.related-news-category {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(46, 74, 124, 0.2);
}

.related-news-title-item {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 8px;
    font-weight: 500;
}

.related-news-date,
.related-news-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.related-news-date i,
.related-news-author i {
    font-size: 11px;
    color: #cbd5e1;
}

/* Mejoras adicionales para el diseño nuevo */
.article-content {
    animation: fadeInUp 0.6s ease;
    }
    
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Espaciado mejorado para secciones */
.article-header-new + .article-featured-image {
    margin-top: 0;
    }

.article-featured-image + .article-body-new {
    margin-top: 0;
    }
    
.article-body-new + .article-footer-new {
    margin-top: 60px;
}

/* ========== SECCIÓN DE COMENTARIOS - DISEÑO NUEVO ========== */
.comments-section {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 2px solid #f1f5f9;
    max-width: 100%;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.comments-header {
    margin-bottom: 40px;
    text-align: left;
}

.comments-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
}

.comments-title i {
    color: var(--primary-red);
    font-size: 26px;
}

.comments-count {
    background: var(--primary-blue);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 8px;
}

.comments-description {
    color: #64748b;
    font-size: 15px;
    margin: 0;
    font-weight: 400;
}

.comment-form-container {
    background: #f8fafc;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 40px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.comment-form-container:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 20px rgba(46, 74, 124, 0.08);
}

.comment-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group-comment {
    margin-bottom: 20px;
}

.form-group-comment input,
.form-group-comment textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1e293b;
    box-sizing: border-box;
}

.form-group-comment input:focus,
.form-group-comment textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(46, 74, 124, 0.08);
    background: #ffffff;
}

.form-group-comment input::placeholder,
.form-group-comment textarea::placeholder {
    color: #94a3b8;
}

.form-group-comment textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.comment-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    gap: 16px;
}

.char-counter {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

.btn-submit-comment {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(46, 74, 124, 0.2);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
}

.btn-submit-comment:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 74, 124, 0.3);
}

.btn-submit-comment:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(46, 74, 124, 0.25);
}

.btn-submit-comment i {
    font-size: 14px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.no-comments {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px dashed #e2e8f0;
}

.no-comments i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 16px;
    display: block;
}

.no-comments p {
    color: #64748b;
    font-size: 16px;
    margin: 0;
    font-weight: 400;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(46, 74, 124, 0.08);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease;
}

.comment-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: rgba(46, 74, 124, 0.15);
}

.comment-avatar {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--blue-dark));
    border-radius: 50%;
    color: white;
    font-size: 24px;
}

.comment-content-wrapper {
    flex: 1;
    min-width: 0;
}

.comment-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.comment-author {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 15px;
}

.comment-time {
    font-size: 13px;
    color: var(--dark-gray);
}

.comment-text {
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
    word-wrap: break-word;
}

/* Responsive para comentarios */
/* ========== NUEVO DISEÑO DE ARTÍCULO CON SIDEBAR ========== */
.main-content-article-new {
    background: #ffffff;
    padding: 0;
    min-height: 60vh;
}

.article-layout-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

.article-main-section {
    min-width: 0;
}

.article-content-new {
    background: #ffffff;
    border-radius: 0;
    padding: 0;
    position: relative;
    max-width: 100%;
}

.article-featured-image-new {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

/* Sidebar */
.article-sidebar-new {
    position: sticky;
    top: 160px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.sidebar-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-title i {
    color: var(--primary-blue);
}

/* Noticias Recientes en Sidebar */
.recent-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-news-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.recent-news-item:hover {
    background: #f8f9fa;
    border-color: #e2e8f0;
    transform: translateX(5px);
}

.recent-news-image {
    width: 100px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.recent-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-news-content {
    flex: 1;
    min-width: 0;
}

.recent-news-category {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 6px;
}

.recent-news-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

.recent-news-date {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Noticias Relacionadas en Sidebar */
.related-news-list-new {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-news-item-new {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.related-news-item-new:hover {
    background: #f8f9fa;
    border-color: #e2e8f0;
    transform: translateX(5px);
}

.related-news-image-new {
    width: 100px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.related-news-image-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-news-content-new {
    flex: 1;
    min-width: 0;
}

.related-news-category-new {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 6px;
}

.related-news-title-new {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

.related-news-date-new {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Comentarios Nuevos */
.comments-section-new {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f1f5f9;
}

.comments-header-new {
    margin-bottom: 30px;
}

.comments-title-new {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comments-title-new i {
    color: var(--primary-blue);
}

.comments-count-new {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}

.comments-description-new {
    color: #64748b;
    font-size: 15px;
    margin: 0;
}

.recent-comments-preview {
    margin-bottom: 30px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
}

.recent-comments-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recent-comments-title i {
    color: var(--primary-blue);
}

.recent-comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item-new {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.comment-avatar-new {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 32px;
}

.comment-content-wrapper-new {
    flex: 1;
    min-width: 0;
}

.comment-header-info-new {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.comment-author-new {
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
}

.comment-time-new {
    font-size: 12px;
    color: #64748b;
}

.comment-text-new {
    color: #374151;
    font-size: 14px;
    line-height: 1.6;
}

.comment-form-container-new {
    margin-bottom: 30px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
}

.comment-form-new {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-form-row-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group-comment-new {
    display: flex;
    flex-direction: column;
}

.form-group-comment-new input,
.form-group-comment-new textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-group-comment-new input:focus,
.form-group-comment-new textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(46, 74, 124, 0.1);
}

.form-group-comment-new textarea {
    resize: vertical;
    min-height: 120px;
}

.comment-form-footer-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.char-counter-new {
    font-size: 12px;
    color: #64748b;
}

.btn-submit-comment-new {
    padding: 12px 24px;
    background: var(--primary-blue);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-submit-comment-new:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 74, 124, 0.3);
}

.comments-list-new {
    margin-top: 20px;
}

.no-comments-new {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.no-comments-new i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.no-comments-new p {
    font-size: 16px;
    margin: 0;
}

.btn-view-all-comments {
    width: 100%;
    padding: 14px 24px;
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-all-comments:hover {
    background: var(--primary-blue);
    color: #ffffff;
}

/* Responsive para nuevo diseño */
@media (max-width: 1024px) {
    .article-layout-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }
    
    .article-sidebar-new {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .article-layout-container {
        padding: 30px 20px;
        gap: 30px;
    }
    
    .comment-form-row-new {
        grid-template-columns: 1fr;
    }
    
    .recent-news-item,
    .related-news-item-new {
        flex-direction: column;
    }
    
    .recent-news-image,
    .related-news-image-new {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .comment-form-row {
        grid-template-columns: 1fr;
    }
    
    .comment-form-container {
        padding: 20px;
    }
    
    .comment-item {
        padding: 15px;
    }
    
    .comment-avatar {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* ========== NUEVO DISEÑO COMPLETO DE ARTÍCULO CON SIDEBAR Y COMENTARIOS ========== */
.main-content-article-new {
    background: #ffffff;
    padding: 80px 0 60px;
    min-height: 60vh;
}

.article-layout-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}

.article-main-section {
    min-width: 0;
}

/* Sidebar */
.article-sidebar-new {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: sticky;
    top: 180px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.sidebar-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-title i {
    color: var(--primary-blue);
    font-size: 20px;
}

/* Noticias Recientes */
.recent-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-news-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.recent-news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.recent-news-image {
    width: 100px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-news-content {
    flex: 1;
    min-width: 0;
}

.recent-news-category {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.recent-news-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-news-date {
    font-size: 12px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ========== NOTICIAS RELACIONADAS - DISEÑO COMPLETAMENTE NUEVO ========== */
.related-news-modern {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(196, 53, 74, 0.1);
    position: sticky;
    top: 140px;
}

.related-news-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    border-radius: 20px 20px 0 0;
}

.related-news-modern-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 100%) 1;
    position: relative;
}

.related-news-modern-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-red);
}

.related-articles-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.related-articles-title i {
    color: var(--primary-red);
    font-size: 22px;
    background: rgba(196, 53, 74, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.related-articles-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    font-weight: 500;
    padding-left: 52px;
}

.related-articles-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-article-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
}

.related-article-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(196, 53, 74, 0.05) 0%, rgba(46, 74, 124, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.related-article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(196, 53, 74, 0.2);
    border-color: var(--primary-red);
}

.related-article-card:hover::after {
    opacity: 1;
}

.related-article-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.related-article-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-article-card:hover .related-article-image-wrapper img {
    transform: scale(1.15);
}

.related-article-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(196, 53, 74, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.related-article-card:hover .related-article-image-overlay {
    opacity: 1;
}

.related-article-read-more {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.related-article-card:hover .related-article-read-more {
    transform: translateY(0);
}

.related-article-read-more i {
    font-size: 12px;
}

.related-article-content-wrapper {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.related-article-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #b91c1c 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(196, 53, 74, 0.3);
}

.related-article-badge i {
    font-size: 10px;
}

.related-article-headline {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
    min-height: 54px;
}

.related-article-card:hover .related-article-headline {
    color: var(--primary-red);
}

.related-article-excerpt {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    margin-top: auto;
    border-top: 1px solid #e9ecef;
}

.related-article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #6c757d;
}

.related-article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.related-article-meta-item i {
    color: var(--primary-red);
    font-size: 11px;
}

.related-article-date {
    font-weight: 500;
}

.related-article-author {
    font-weight: 500;
}

.related-article-arrow {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #b91c1c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(196, 53, 74, 0.3);
}

.related-article-card:hover .related-article-arrow {
    transform: translateX(4px) scale(1.1);
    box-shadow: 0 6px 20px rgba(196, 53, 74, 0.4);
}

.related-articles-empty {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 16px;
    border: 2px dashed #dee2e6;
}

.related-articles-empty-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(196, 53, 74, 0.1) 0%, rgba(46, 74, 124, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.related-articles-empty-icon i {
    font-size: 36px;
    color: var(--primary-red);
    opacity: 0.6;
}

.related-articles-empty-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.related-articles-empty-text {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

/* Responsive - Noticias Relacionadas */
@media (max-width: 768px) {
    .related-articles-widget {
        padding: 24px 20px;
        margin-top: 30px;
    }
    
    .related-articles-title {
        font-size: 20px;
    }
    
    .related-articles-title i {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .related-articles-subtitle {
        padding-left: 48px;
        font-size: 13px;
    }
    
    .related-article-image-wrapper {
        height: 180px;
    }
    
    .related-article-content-wrapper {
        padding: 20px;
    }
    
    .related-article-headline {
        font-size: 17px;
        min-height: auto;
    }
    
    .related-article-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .related-article-meta {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .related-articles-widget {
        padding: 20px 16px;
        border-radius: 16px;
    }
    
    .related-article-image-wrapper {
        height: 160px;
    }
    
    .related-article-content-wrapper {
        padding: 16px;
    }
    
    .related-article-headline {
        font-size: 16px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
}

/* Comentarios Nuevo Diseño */
.comments-section-new {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.comments-header-new {
    margin-bottom: 30px;
}

.comments-title-new {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comments-title-new i {
    color: var(--primary-blue);
}

.comments-count-new {
    background: var(--primary-blue);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
}

.comments-description-new {
    color: #6c757d;
    font-size: 16px;
    margin: 0;
}

.recent-comments-preview {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.recent-comments-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recent-comments-title i {
    color: var(--primary-blue);
}

.recent-comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item-new {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.comment-avatar-new {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 32px;
}

.comment-content-wrapper-new {
    flex: 1;
    min-width: 0;
}

.comment-header-info-new {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.comment-author-new {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 15px;
}

.comment-time-new {
    font-size: 13px;
    color: #6c757d;
}

.comment-text-new {
    color: #495057;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.comment-form-container-new {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.comment-form-new {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-form-row-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group-comment-new {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-comment-new input,
.form-group-comment-new textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-group-comment-new input:focus,
.form-group-comment-new textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(46, 74, 124, 0.1);
}

.form-group-comment-new textarea {
    resize: vertical;
    min-height: 120px;
}

.comment-form-footer-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.char-counter-new {
    font-size: 13px;
    color: #6c757d;
}

.btn-submit-comment-new {
    background: var(--primary-blue);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-submit-comment-new:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 74, 124, 0.3);
}

.no-comments-new {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.no-comments-new i {
    font-size: 48px;
    color: #dee2e6;
    margin-bottom: 15px;
}

.no-comments-new p {
    font-size: 16px;
    margin: 0;
}

.btn-view-all-comments {
    width: 100%;
    padding: 14px;
    background: var(--primary-blue);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-all-comments:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 74, 124, 0.3);
}

/* Responsive */
@media (max-width: 1200px) {
    .article-layout-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .article-sidebar-new {
        position: static;
        max-height: none;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .article-layout-container {
        padding: 0 20px;
    }
    
    .article-sidebar-new {
        grid-template-columns: 1fr;
    }
    
    .comment-form-row-new {
        grid-template-columns: 1fr;
    }
    
    .recent-news-item,
    .related-news-item-new {
        flex-direction: column;
    }
    
    .recent-news-image,
    .related-news-image-new {
        width: 100%;
        height: 200px;
    }
}
/* ========== NOTICIAS RELACIONADAS - DISEÑO COMPLETAMENTE NUEVO ========== */
.related-news-modern {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(196, 53, 74, 0.1);
    position: sticky;
    top: 140px;
}

.related-news-modern-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-blue) 100%) 1;
    position: relative;
}

.related-news-modern-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 2px;
}

.related-news-modern-title-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.related-news-modern-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #b91c1c 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(196, 53, 74, 0.3);
}

.related-news-modern-icon svg {
    width: 24px;
    height: 24px;
}

.related-news-modern-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.related-news-modern-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    font-weight: 500;
}

.related-news-modern-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-news-modern-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 16px;
}

.related-news-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-news-modern-card:hover {
    transform: translateX(8px) translateY(-4px);
    box-shadow: 0 12px 40px rgba(196, 53, 74, 0.2);
    border-color: var(--primary-red);
}

.related-news-modern-card:hover::before {
    transform: scaleY(1);
}

.related-news-modern-number {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #b91c1c 100%);
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(196, 53, 74, 0.3);
    z-index: 2;
}

.related-news-modern-content {
    display: flex;
    gap: 16px;
    width: 100%;
}

.related-news-modern-image-container {
    width: 140px;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.related-news-modern-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-news-modern-card:hover .related-news-modern-image {
    transform: scale(1.15);
}

.related-news-modern-image-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.related-news-modern-card:hover .related-news-modern-image-gradient {
    opacity: 1;
}

.related-news-modern-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-red) 0%, #b91c1c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-news-modern-placeholder i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.6);
}

.related-news-modern-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.related-news-modern-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-red);
    background: rgba(196, 53, 74, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.8px;
    width: fit-content;
    border: 1px solid rgba(196, 53, 74, 0.2);
}

.related-news-modern-headline {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.related-news-modern-card:hover .related-news-modern-headline {
    color: var(--primary-red);
}

.related-news-modern-description {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-news-modern-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.related-news-modern-date {
    font-size: 12px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.related-news-modern-date i {
    color: var(--primary-red);
    font-size: 11px;
}

.related-news-modern-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.related-news-modern-card:hover .related-news-modern-link {
    gap: 10px;
}

.related-news-modern-link i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.related-news-modern-card:hover .related-news-modern-link i {
    transform: translateX(4px);
}

.related-news-modern-empty {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: 16px;
    border: 2px dashed #dee2e6;
}

.related-news-modern-empty-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(196, 53, 74, 0.1) 0%, rgba(46, 74, 124, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid rgba(196, 53, 74, 0.2);
}

.related-news-modern-empty-icon i {
    font-size: 36px;
    color: var(--primary-red);
    opacity: 0.6;
}

.related-news-modern-empty-text {
    font-size: 15px;
    color: #6c757d;
    margin: 0;
    font-weight: 500;
}

/* Responsive - Noticias Relacionadas Modernas */
@media (max-width: 768px) {
    .related-news-modern {
        padding: 24px;
        margin-top: 30px;
        position: relative;
        top: auto;
    }
    
    .related-news-modern-title {
        font-size: 20px;
    }
    
    .related-news-modern-card {
        flex-direction: column;
        padding: 16px;
    }
    
    .related-news-modern-content {
        flex-direction: column;
    }
    
    .related-news-modern-image-container {
        width: 100%;
        height: 200px;
    }
    
    .related-news-modern-headline {
        font-size: 16px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    .related-news-modern-info {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .related-news-modern {
        padding: 20px;
    }
    
    .related-news-modern-icon {
        width: 40px;
        height: 40px;
    }
    
    .related-news-modern-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .related-news-modern-title {
        font-size: 18px;
    }
    
    .related-news-modern-image-container {
        height: 180px;
    }
}

/* ========== MEJORAS RESPONSIVE ADICIONALES PARA MÓVIL ========== */
@media (max-width: 768px) {
    /* Mejorar visualización del header en móvil */
    .top-header {
        min-height: 35px;
    }
    
    .top-header-row {
        padding: 6px 0;
        font-size: 10px;
        gap: 4px;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto;
        justify-items: start;
    }

    .location {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .date {
        font-size: 11px;
        white-space: nowrap;
    }
    
    /* Banner superior - ancho completo en móvil */
    [data-ad-position="top-banner"] {
        position: relative !important;
        width: 100% !important;
        padding: 0 !important;
    }

    [data-ad-position="top-banner"] .ad-container,
    .top-banner-ad {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        left: auto !important;
        bottom: auto !important;
    }

    [data-ad-position="top-banner"] .ad-container img,
    .top-banner-ad .ad-image {
        width: 100% !important;
        height: auto !important;
        max-height: 90px !important;
        object-fit: cover !important;
    }
    
    /* Mejorar visualización de noticias en móvil */
    .main-content {
        padding: 20px 0 40px 0;
    }
    
    .main-content .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 5px !important;
    }
    
    .news-card,
    .news-item {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Asegurar que las imágenes se ajusten correctamente */
    .news-card img,
    .news-item img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }
}

@media (max-width: 480px) {
    .top-header-row {
        padding: 5px 0;
        font-size: 9px;
    }
    
    .location,
    .date {
        font-size: 8px;
    }
    
    [data-ad-position="top-banner"] .ad-container img,
    .top-banner-ad .ad-image {
        width: 100% !important;
        height: auto !important;
        max-height: 75px !important;
        object-fit: cover !important;
    }
    
    .main-content {
        padding: 15px 0 30px 0;
    }
    
    .news-grid {
        gap: 15px !important;
    }
}

/* ========== ESTILOS PARA PÁGINA DE PRIVACIDAD ========== */

.privacy-content {
    padding: 0;
    background: #1A1A2E;
    min-height: 60vh;
    color: white;
    position: relative;
}

.privacy-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-red);
}

/* Hero Section */
.privacy-hero {
    background: transparent;
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.privacy-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInDown 0.8s ease-out;
}

.privacy-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.2);
    animation: scaleIn 0.8s ease-out 0.2s both;
}

.privacy-icon-wrapper i {
    font-size: 3rem;
    color: #ffffff;
}

.privacy-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 12px;
    display: inline-block;
}

.privacy-hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-red);
}

.privacy-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    margin: 0;
}

.privacy-article {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 40px 0;
    max-width: 1000px;
    margin: 0 auto 60px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.privacy-intro-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 50px;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

.intro-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.privacy-intro-card p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.privacy-intro-card strong {
    color: #ffffff;
}

.privacy-intro-card a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
    border-bottom: 2px solid transparent;
}

.privacy-intro-card a:hover {
    color: #ffffff;
    border-bottom-color: var(--primary-red);
}

.privacy-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: none;
    animation: fadeIn 0.6s ease-out both;
}

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

.privacy-section:last-of-type {
    border-bottom: none;
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.section-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: transparent;
    color: #ffffff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    box-shadow: none;
    backdrop-filter: none;
    border: 2px solid var(--primary-red);
    padding: 0;
}

.section-title-content {
    flex: 1;
}

.privacy-section h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-bottom: 10px;
}

.privacy-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-red);
}

.privacy-section h2 i {
    color: var(--primary-red);
    font-size: 1.5rem;
}

.section-intro {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    line-height: 1.7;
}

.privacy-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-section h3 i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.privacy-section p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.privacy-section ul {
    margin: 20px 0;
    padding-left: 30px;
}

.privacy-section li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.privacy-section strong {
    color: #ffffff;
}

/* Purpose Cards Grid */
.purposes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.purpose-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 15px 0;
    transition: all var(--transition-normal);
    position: relative;
    overflow: visible;
    backdrop-filter: none;
}

.purpose-card::before {
    display: none;
}

.purpose-card:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
    background: transparent;
}

.purpose-card i {
    display: none;
}

.purpose-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 0.95rem;
    padding-left: 20px;
    position: relative;
}

.purpose-card p::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-size: 1.2rem;
}

/* Data Categories */
.data-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.data-category {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    transition: none;
    backdrop-filter: none;
}

.data-category:hover {
    border-color: transparent;
    box-shadow: none;
    transform: none;
    background: transparent;
}

.data-category h3 {
    font-size: 1.1rem;
    margin: 0 0 15px 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

.data-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
}

.data-category h3 i {
    font-size: 1.2rem;
    color: var(--primary-red);
}

.data-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.data-tags li {
    margin: 0;
}

.data-tag {
    display: inline-block;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    padding: 5px 0;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 400;
    border: none;
    transition: color var(--transition-fast);
    margin-right: 15px;
}

.data-tag:hover {
    background: transparent;
    color: #ffffff;
    border: none;
    transform: none;
    box-shadow: none;
}

.privacy-note {
    background: transparent;
    border-left: none;
    border-radius: 0;
    padding: 20px 0;
    margin: 30px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    backdrop-filter: none;
}

.privacy-note i {
    color: #ffc107;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.privacy-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.privacy-note strong {
    color: #ffffff;
}

.privacy-subsection {
    margin: 25px 0;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--primary-red);
    border-radius: 8px;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.privacy-subsection:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.08);
}

.privacy-subsection h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #ffffff;
}

.privacy-subsection p {
    color: rgba(255, 255, 255, 0.9);
}

/* ARCO Rights Cards */
.arco-rights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.arco-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    text-align: left;
    transition: none;
    position: relative;
    overflow: visible;
    backdrop-filter: none;
}

.arco-card::before {
    display: none;
}

.arco-card:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
    background: transparent;
}

.arco-card i {
    display: none;
}

.arco-card h3 {
    font-size: 1rem;
    margin: 0 0 8px;
    color: #ffffff;
    font-weight: 600;
}

.arco-card p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Contact Page Styles */
.contact-content {
    padding: 0;
    background: #1A1A2E;
    min-height: 60vh;
    color: white;
    position: relative;
    z-index: 1;
}

.contact-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-red);
}

.contact-hero {
    background: transparent;
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.contact-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInDown 0.8s ease-out;
}

.contact-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-icon-wrapper i {
    font-size: 3rem;
    color: var(--primary-red);
}

.contact-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 12px;
    display: inline-block;
}

.contact-hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-red);
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    margin: 0;
}

.contact-main-wrapper {
    padding: 60px 0 80px;
    position: relative;
    z-index: 1;
}

.contact-info-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
}

.contact-info-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-red);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: top;
}

.contact-info-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-red);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.contact-info-item:hover::before {
    transform: scaleY(1);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-info-item:hover .contact-info-icon {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-red);
    transform: scale(1.1);
}

.contact-info-icon i {
    font-size: 2rem;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon i {
    transform: scale(1.1);
}

.contact-info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.contact-info-value {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.7;
    font-weight: 400;
}

.contact-info-value a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
}

.contact-info-value a:hover {
    color: var(--primary-red);
    transform: translateX(3px);
}

/* Contact Form Styles */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form-section {
    order: 1;
}

.contact-info-section {
    order: 2;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.contact-form-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-form-title i {
    color: var(--primary-red);
    font-size: 1.8rem;
}

.contact-form-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0 0 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label i {
    color: var(--primary-red);
    font-size: 0.9rem;
}

.form-label .required {
    color: var(--primary-red);
    font-weight: 600;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(196, 53, 74, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

.form-error {
    color: #ff4444;
    font-size: 0.85rem;
    min-height: 20px;
    display: block;
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

.form-char-count {
    text-align: right;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: -5px;
}

.form-char-count.over-limit {
    color: #ff4444;
}

.contact-form-submit {
    background: linear-gradient(135deg, var(--primary-red) 0%, #a02835 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(196, 53, 74, 0.3);
}

.contact-form-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 53, 74, 0.4);
    background: linear-gradient(135deg, #d43f52 0%, var(--primary-red) 100%);
}

.contact-form-submit:active:not(:disabled) {
    transform: translateY(0);
}

.contact-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.form-message {
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    animation: slideDown 0.3s ease-out;
    font-weight: 500;
}

.form-message-success {
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid rgba(76, 175, 80, 0.4);
    color: #81c784;
}

.form-message-error {
    background: rgba(244, 67, 54, 0.2);
    border: 2px solid rgba(244, 67, 54, 0.4);
    color: #ef5350;
}

.form-message-info {
    background: rgba(33, 150, 243, 0.2);
    border: 2px solid rgba(33, 150, 243, 0.4);
    color: #64b5f6;
}

.form-message i {
    font-size: 1.2rem;
}

/* Contact Info Card */
.contact-info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.contact-info-card-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info-card-title i {
    color: var(--primary-red);
    font-size: 1.6rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.contact-map-wrapper {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.contact-map-wrapper iframe {
    width: 100%;
    border: none;
    display: block;
}

.contact-hours {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.contact-hours-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-hours-title i {
    color: var(--primary-red);
}

.contact-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hours-list li:last-child {
    border-bottom: none;
}

.hours-day {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hours-time {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-section {
        order: 1;
    }
    
    .contact-info-section {
        order: 2;
    }
}

@media (max-width: 768px) {
    .contact-layout {
        gap: 30px;
        padding: 0 15px;
    }
    
    .contact-form-card,
    .contact-info-card {
        padding: 30px 25px;
    }
    
    .contact-form-title {
        font-size: 1.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-info-list {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .contact-form-card,
    .contact-info-card {
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .contact-form-title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .contact-info-card-title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .contact-map-wrapper {
        margin: 20px 0;
    }
    
    .contact-hours {
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .contact-hours-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0 40px;
    }

    .contact-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }

    .contact-icon-wrapper i {
        font-size: 2.5rem;
    }

    .contact-hero-subtitle {
        font-size: 1.1rem;
    }

    .contact-main-wrapper {
        padding: 40px 0 60px;
    }

    .contact-info-container {
        gap: 25px;
        padding: 0 15px;
    }

    .contact-info-item {
        padding: 30px 25px;
        gap: 25px;
    }

    .contact-info-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .contact-info-icon i {
        font-size: 1.75rem;
    }

    .contact-info-title {
        font-size: 1.3rem;
    }

    .contact-info-value {
        font-size: 1.05rem;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 50px 0 30px;
    }

    .contact-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .contact-icon-wrapper i {
        font-size: 2rem;
    }

    .contact-hero-title {
        font-size: 1.75rem;
    }

    .contact-hero-subtitle {
        font-size: 1rem;
    }

    .contact-main-wrapper {
        padding: 30px 0 50px;
    }

    .contact-info-container {
        gap: 20px;
        padding: 0 10px;
    }

    .contact-info-item {
        padding: 25px 20px;
        gap: 20px;
        flex-direction: column;
        text-align: center;
    }

    .contact-info-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        margin: 0 auto;
    }

    .contact-info-icon i {
        font-size: 1.75rem;
    }

    .contact-info-title {
        font-size: 1.2rem;
    }

    .contact-info-value {
        font-size: 1rem;
    }

    .contact-info-item:hover {
        transform: translateY(-3px);
    }
}

.contact-info-card i {
    font-size: 2.5rem;
    opacity: 0.9;
    flex-shrink: 0;
    color: var(--primary-red);
}

.contact-info-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    transition: color var(--transition-fast);
    backdrop-filter: none;
    border: none;
}

.contact-link:hover {
    background: transparent;
    border: none;
    transform: none;
    box-shadow: none;
    color: #ffffff;
}

.contact-link i {
    font-size: 1rem;
}

.contact-separator {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.contact-details-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin: 25px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-detail-item i {
    font-size: 1.5rem;
    color: var(--primary-red);
    flex-shrink: 0;
    margin-top: 5px;
    width: 40px;
    text-align: center;
}

.contact-detail-item strong {
    display: block;
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 1rem;
}

.contact-detail-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.contact-detail-item address {
    font-style: normal;
    margin: 0;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.contact-detail-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.contact-detail-item a:hover {
    color: #ffffff;
    transform: translateX(3px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.privacy-table-container {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.privacy-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    font-size: 0.95rem;
    min-width: 600px;
}

.privacy-table thead {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.privacy-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    font-family: var(--font-heading);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    color: #ffffff;
}

.privacy-table th:last-child {
    border-right: none;
}

.privacy-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    vertical-align: top;
    line-height: 1.6;
}

.privacy-table tbody tr {
    transition: all var(--transition-fast);
}

.privacy-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.privacy-table tbody tr:last-child td {
    border-bottom: none;
}

.privacy-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.privacy-footer-content {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.privacy-footer-content i {
    font-size: 1.5rem;
    color: var(--primary-red);
}

.last-update {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin: 0;
}

.last-update strong {
    color: #ffffff;
    font-weight: 700;
}

/* Responsive para página de privacidad */
@media (max-width: 768px) {
    .privacy-hero {
        padding: 60px 0 40px;
    }

    .privacy-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }

    .privacy-icon-wrapper i {
        font-size: 2.5rem;
    }

    .privacy-hero-subtitle {
        font-size: 1.1rem;
    }

    .privacy-article {
        padding: 30px 20px;
        margin: -30px 15px 40px;
        border-radius: 16px;
    }

    .privacy-intro-card {
        padding: 20px;
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
    }

    .section-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .privacy-section h2 {
        font-size: 1.4rem;
    }

    .privacy-section h3 {
        font-size: 1.1rem;
    }

    .purposes-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .data-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .arco-rights {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .contact-info-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .contact-info-content {
        flex-direction: column;
        gap: 10px;
    }

    .contact-separator {
        display: none;
    }

    .privacy-table-container {
        margin: 20px -20px;
        border-radius: 0;
    }

    .privacy-table {
        font-size: 0.85rem;
        min-width: 500px;
    }

    .privacy-table th,
    .privacy-table td {
        padding: 12px 10px;
    }

    .contact-details-card {
        padding: 20px 15px;
    }

    .contact-detail-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-detail-item i {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .privacy-hero {
        padding: 50px 0 30px;
    }

    .privacy-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .privacy-icon-wrapper i {
        font-size: 2rem;
    }

    .privacy-hero-title {
        font-size: 1.75rem;
    }

    .privacy-hero-subtitle {
        font-size: 1rem;
    }

    .privacy-article {
        padding: 25px 15px;
        margin: -25px 10px 30px;
        border-radius: 12px;
    }

    .privacy-intro-card {
        padding: 18px;
    }

    .intro-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .section-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .privacy-section h2 {
        font-size: 1.2rem;
    }

    .privacy-section h2 i {
        font-size: 1.2rem;
    }

    .purposes-grid {
        gap: 12px;
    }

    .purpose-card {
        padding: 20px;
    }

    .purpose-card i {
        font-size: 1.5rem;
    }

    .arco-rights {
        grid-template-columns: 1fr;
    }

    .arco-card {
        padding: 20px;
    }

    .contact-info-card {
        padding: 20px 15px;
    }

    .contact-link {
        font-size: 1rem;
        padding: 8px 15px;
    }

    .privacy-table {
        font-size: 0.75rem;
        min-width: 400px;
    }

    .privacy-table th,
    .privacy-table td {
        padding: 10px 8px;
    }

    .privacy-footer-content {
        flex-direction: column;
        padding: 15px 25px;
        border-radius: 30px;
    }
}

