/*
Theme Name: Mentory Theme
Description: Tema personalizado para revista con integración de plugin de revistas
Version: 1.0.0
Author: Mentory
*/


/* Variables CSS para colores */

:root {
    --primary-blue: #054799;
    --primary-green: #6faf25;
    --primary-black: #191919;
    --secondary-blue: #1c569f;
    --secondary-green: #88ba57;
    --secondary-dark-blue: #113882;
}


/* Fallback de fondo para evitar banda blanca bajo el footer en pantallas grandes */

html {
    background-color: var(--primary-black);
    min-height: 100%;
}


/* Reset y estilos base */

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* Garantizar que el wrapper ocupe todo el alto y evite bandas */

.site,
.container,
.home-layout,
main,
.home-main {
    width: 100%;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Home layout: main + sidebar */

.home-layout {
    display: grid;
    grid-template-columns: 1fr 255px;
    gap: 24px;
    align-items: start;
}

.home-layout.home-layout--top {
    margin-top: 0;
}

.home-layout.home-layout--single {
    display: block;
    margin-top: 0;
}

.home-main {
    min-width: 0;
}


/* Evitar que los .container internos dentro de la columna principal rompan el grid */

.home-main .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.home-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
    margin-top: 0;
    height: fit-content;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.ad-box {
    margin-top: 122px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    width: 100%;
}

.ad-box img {
    width: 100%;
    height: auto;
    display: block;
}

.empresas-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
    width: 100%;
}

.empresas-vertical img {
    width: 100%;
    height: auto;
    max-height: 50px;
    object-fit: contain;
    border-radius: 5px;
    flex-shrink: 0;
}


/* Bloques de publicidad reutilizables */

.ad-slot {
    width: 100%;
    display: block;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.ad-slot img {
    display: block;
    width: 100%;
    height: auto;
}


/* Limitar alto visual si se usa un banner muy grande como demo */

.ad-slot[data-size="728x90"] img,
.ad-slot[data-size="970x90"] img,
.ad-slot[data-size="970x250"] img {
    max-height: 250px;
    object-fit: cover;
}


/* Leaderboard bajo nav */

.ad-slot[data-size="728x90"],
.ad-slot[data-size="970x90"],
.ad-slot[data-size="970x250"] {
    max-width: 100%;
}

.ad-title {
    background: var(--primary-green);
    color: #fff;
    font-weight: 700;
    padding: 10px 12px;
    text-align: center;
}


/* Header superior azul */

.top-header {
    background-color: var(--primary-blue);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header .emails {
    display: flex;
    gap: 20px;
}

.top-header .social-icons {
    display: flex;
    gap: 15px;
}

.top-header .social-icons a {
    color: white;
    font-size: 18px;
    transition: color 0.3s ease;
}

.top-header .social-icons a:hover {
    color: var(--primary-green);
}


/* Header principal */

.main-header {
    background-color: var(--primary-black);
    padding: 20px 0;
    position: relative;
}

.main-header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container a {
    display: block;
    text-decoration: none;
}

.logo-container img {
    max-height: 80px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-container a:hover img {
    opacity: 0.8;
}


/* Botón hamburguesa en header para móvil */

.main-header .mobile-menu-toggle {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.main-header .mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.main-header .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.main-header .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.main-header .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}


/* Navegación VERDE con áreas dinámicas */

.nav-menu {
    background-color: var(--primary-green);
    padding: 15px 0;
    width: 100%;
    position: relative;
}

.nav-menu .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-menu .nav-left {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.nav-menu .nav-right {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 8px 14px;
    border-radius: 5px;
    text-transform: uppercase;
}

.nav-menu a:hover {
    color: var(--primary-black);
    background-color: rgba(255, 255, 255, 0.2);
}


/* Botón hamburguesa para móvil */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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


/* Banner principal */

.banner-section {
    width: 100%;
    margin: 40px 0 15px 0;
}

.banner-section a {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.banner-section img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-section a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.banner-section a:hover img {
    transform: scale(1.02);
}


/* Sección de Publicidad Horizontal */

.publicidad-horizontal {
    background-color: #f8f9fa;
    padding: 20px 0;
    margin: 20px 0;
    width: 100%;
}

.publicidad-horizontal .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.publicidad-horizontal .ad-title {
    background: var(--primary-green);
    color: #fff;
    font-weight: 700;
    padding: 15px 20px;
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.empresas-carousel {
    position: relative;
    overflow: hidden;
}

.empresas-swiper {
    width: 100%;
    height: 120px;
    padding: 10px 0;
}

.empresas-swiper .swiper-slide {
    text-align: center;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e6e6e6;
    height: 100px;
}

.empresas-swiper .swiper-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.empresas-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    width: auto;
    height: auto;
}

/* Botones de navegación del carousel */
.empresas-swiper .swiper-button-next,
.empresas-swiper .swiper-button-prev {
    color: var(--primary-green);
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.empresas-swiper .swiper-button-next:hover,
.empresas-swiper .swiper-button-prev:hover {
    background: var(--primary-green);
    color: white;
    transform: scale(1.1);
}

.empresas-swiper .swiper-button-next:after,
.empresas-swiper .swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}

/* Carrusel de empresas (mantener para compatibilidad) */

.empresas-section {
    background-color: white;
    padding: 0;
    width: 100%;
}

.empresas-section .container,
.home-main-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.swiper {
    width: 100%;
    height: 100px;
    padding: 8px 0;
}

.swiper-slide {
    text-align: center;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.swiper-slide:hover {
    transform: translateY(-5px);
}

.swiper-slide img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}


/* Sección Eventos y Entrevistas Destacado */

.eventos-entrevistas-destacado {
    padding: 50px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    width: 100%;
}

.eventos-entrevistas-destacado .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.destacado-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    transition: all 0.3s ease;
}

.destacado-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.destacado-imagen {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.destacado-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destacado-card:hover .destacado-imagen img {
    transform: scale(1.05);
}

.destacado-badge {
    position: absolute;
    top: 20px;
    right: 20px;
}

.destacado-nuevo {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(111, 175, 37, 0.3);
    backdrop-filter: blur(10px);
}

.destacado-contenido {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.destacado-categoria {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.destacado-categoria i {
    font-size: 16px;
}

.destacado-titulo {
    font-size: 32px;
    color: var(--primary-black);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.destacado-descripcion {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.destacado-boton {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(111, 175, 37, 0.3);
    align-self: flex-start;
}

.destacado-boton:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(111, 175, 37, 0.4);
    color: white;
}

.evento-entrevista-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.evento-entrevista-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
}

.eventos-card::before {
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
}

.entrevistas-card::before {
    background: linear-gradient(90deg, #4ecdc4, #44a08d);
}

.especial-card::before {
    background: linear-gradient(90deg, #ffd700, #ffed4e);
}

.card-header {
    padding: 30px 30px 20px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #e9ecef;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(111, 175, 37, 0.3);
}

.eventos-card .card-icon {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.entrevistas-card .card-icon {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    box-shadow: 0 8px 20px rgba(78, 205, 196, 0.3);
}

.especial-card .card-icon {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.card-icon i {
    font-size: 24px;
    color: white;
}

.card-header h3 {
    font-size: 28px;
    color: var(--primary-black);
    font-weight: 700;
    margin-bottom: 8px;
}

.card-count {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.card-content {
    padding: 30px;
}

/* Evento Principal */
.evento-item.principal {
    margin-bottom: 30px;
}

.evento-imagen {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 250px;
}

.evento-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.evento-imagen:hover img {
    transform: scale(1.05);
}

.evento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px;
}

.evento-fecha {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.evento-fecha .dia {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
}

.evento-fecha .mes {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.evento-info h4 {
    font-size: 22px;
    color: var(--primary-black);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

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

.btn-evento {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(111, 175, 37, 0.3);
}

.btn-evento:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(111, 175, 37, 0.4);
    color: white;
}

/* Entrevista Principal */
.entrevista-item.principal {
    margin-bottom: 30px;
}

.entrevista-imagen {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 250px;
}

.entrevista-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.entrevista-imagen:hover img {
    transform: scale(1.05);
}

.entrevista-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    background: white;
}

.play-button i {
    font-size: 28px;
    color: var(--primary-green);
    margin-left: 4px;
}

.entrevista-fecha {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.entrevista-fecha .dia {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #4ecdc4;
    line-height: 1;
}

.entrevista-fecha .mes {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.entrevista-info h4 {
    font-size: 22px;
    color: var(--primary-black);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

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

.btn-entrevista {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.btn-entrevista:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
    color: white;
}

/* Items Secundarios */
.evento-compacto,
.entrevista-compacta {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.evento-compacto:hover,
.entrevista-compacta:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.evento-fecha-small,
.entrevista-fecha-small {
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.evento-fecha-small .dia,
.entrevista-fecha-small .dia {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
}

.evento-fecha-small .mes,
.entrevista-fecha-small .mes {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
}

.evento-details,
.entrevista-details {
    flex: 1;
}

.evento-details h5,
.entrevista-details h5 {
    font-size: 16px;
    color: var(--primary-black);
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.evento-details a,
.entrevista-details a {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.evento-details a:hover,
.entrevista-details a:hover {
    color: var(--secondary-green);
}

/* Contenido Principal - Área ID 26 */
.contenido-principal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.contenido-imagen {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
}

.contenido-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.contenido-imagen:hover img {
    transform: scale(1.05);
}

.contenido-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px;
}

.contenido-fecha {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.contenido-fecha .dia {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #ffd700;
    line-height: 1;
}

.contenido-fecha .mes {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contenido-info h4 {
    font-size: 28px;
    color: var(--primary-black);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.contenido-info p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-contenido {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: var(--primary-black);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-contenido:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
    color: var(--primary-black);
}


/* Secciones de contenido por área */

.content-section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 36px;
    color: var(--primary-green);
    margin-bottom: 10px;
    font-weight: 700;
}

.ver-todas-btn {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    font-size: 16px;
}

.ver-todas-btn:hover {
    background-color: var(--secondary-blue);
}


/* Estilos para las cards de revistas */

.revistas-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.revista-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

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

.revista-card .content {
    padding: 25px;
}

.revista-card h3 {
    font-size: 18px;
    color: var(--primary-black);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.revista-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.revista-card .fecha {
    color: #999;
    font-size: 12px;
    margin-bottom: 20px;
    font-weight: 500;
}

.btn-ver {
    background-color: var(--primary-blue);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-ver:hover {
    background-color: var(--secondary-blue);
}


/* Footer */

.footer {
    background-color: var(--primary-black);
    color: white;
    padding: 50px 0 60px 0;
    margin-top: auto;
    width: 100%;
}

.footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo-img {
    max-height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

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

.footer-nav li {
    margin-bottom: 15px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-nav a:hover {
    color: var(--primary-green);
}

.footer-right {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
}

.footer-social h4 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
}

.footer-social .social-icons a {
    color: white;
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer-social .social-icons a:hover {
    color: var(--primary-green);
}

.footer-contact h4 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.email-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.email-item i {
    color: white;
    font-size: 16px;
}

.email-item span {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 14px;
}


/* Responsive Design */

@media (max-width: 1024px) {
    .home-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .home-sidebar {
        position: static;
        margin-top: 0;
        max-height: none;
        overflow-y: visible;
    }
    .ad-box {
        margin-top: 0;
    }
    
    /* Ajustes para el carousel de publicidad */
    .publicidad-horizontal {
        padding: 15px 0;
        margin: 15px 0;
    }
    
    .empresas-swiper {
        height: 100px;
    }
    
    .empresas-swiper .swiper-slide {
        height: 80px;
        padding: 10px;
    }
    
    .empresas-swiper .swiper-slide img {
        max-height: 60px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    .top-header .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .top-header .emails {
        flex-direction: column;
        gap: 5px;
    }
    .top-header .social-icons {
        justify-content: center;
    }
    .main-header .mobile-menu-toggle {
        display: flex;
    }
    .nav-menu .mobile-menu-toggle {
        display: none;
    }
    .nav-menu .nav-left {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-green);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    .nav-menu .nav-left.active {
        display: flex;
    }
    .nav-menu .nav-left {
        gap: 0;
    }
    .nav-menu a {
        font-size: 16px;
        padding: 15px 20px;
        text-align: left;
        border-radius: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-menu a:last-child {
        border-bottom: none;
    }
    /* Mostrar solo la última publicación con título en móvil */
    .publicacion-pequena {
        display: none;
    }
    .publicacion-principal .titulo {
        display: block !important;
        font-size: 16px;
        line-height: 1.3;
        margin-top: 10px;
        padding: 0 10px;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    /* Publicaciones adicionales para móvil */
    .publicaciones-mobile-extra {
        display: block;
        margin-top: 20px;
    }
    .publicacion-mobile-item {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
        padding: 15px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .publicacion-mobile-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    .publicacion-mobile-item img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 6px;
        flex-shrink: 0;
    }
    .publicacion-mobile-item .fecha {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 11px;
        font-weight: bold;
    }
    .publicacion-mobile-item .titulo {
        flex: 1;
        font-size: 14px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    .banner-section {
        margin: 20px 0 15px 0;
        padding: 0;
    }
    .banner-section .container {
        padding: 0;
    }
    .banner-section img {
        width: 100%;
        height: auto;
        border-radius: 0;
    }
    .publicaciones-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
        gap: 15px;
    }
    .publicacion-principal {
        grid-column: span 1;
        grid-row: span 1;
        height: 350px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .publicacion-pequena {
        height: 200px;
    }
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        margin-bottom: 30px;
    }
    .ver-todas-btn {
        align-self: center;
    }
    .section-title {
        font-size: 24px;
    }
    .revistas-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .revista-card {
        max-width: 400px;
        margin: 0 auto;
    }
    .empresas-vertical {
        gap: 10px;
        padding: 15px 0;
    }
    .empresas-vertical img {
        max-height: 40px;
    }
    
    /* Ajustes para el carousel de publicidad en móvil */
    .publicidad-horizontal {
        padding: 10px 0;
        margin: 10px 0;
    }
    
    .empresas-swiper {
        height: 80px;
    }
    
    .empresas-swiper .swiper-slide {
        height: 60px;
        padding: 8px;
    }
    
    .empresas-swiper .swiper-slide img {
        max-height: 45px;
    }
    
    .empresas-swiper .swiper-button-next,
    .empresas-swiper .swiper-button-prev {
        width: 30px;
        height: 30px;
        margin-top: -15px;
    }
    
    .empresas-swiper .swiper-button-next:after,
    .empresas-swiper .swiper-button-prev:after {
        font-size: 12px;
    }
    
    /* Ajustes para eventos y entrevistas destacado en móvil */
    .eventos-entrevistas-destacado {
        padding: 30px 0;
    }
    
    .destacado-card {
        grid-template-columns: 1fr;
        border-radius: 15px;
    }
    
    .destacado-imagen {
        height: 250px;
    }
    
    .destacado-contenido {
        padding: 25px;
    }
    
    .destacado-titulo {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .destacado-descripcion {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .destacado-boton {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .destacado-nuevo {
        padding: 6px 12px;
        font-size: 10px;
    }
    .footer .container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-logo {
        justify-content: center;
    }
    .footer-right {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .footer-social .social-icons {
        justify-content: center;
    }
    .footer-left {
        text-align: center;
    }
    .footer-left p {
        text-align: center;
    }
    /* Estilos para página de ediciones en móvil */
    .revista-ediciones-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
    .revista-ediciones-grid .revista-card img {
        width: 100% !important;
        max-width: 250px !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    .nav-menu a {
        font-size: 14px;
        padding: 12px 20px;
    }
    .section-title {
        font-size: 20px;
    }
    .publicacion-principal {
        height: 300px;
    }
    .publicacion-pequena {
        height: 150px;
    }
    .empresas-vertical img {
        max-height: 35px;
    }
    
    /* Ajustes para el carousel de publicidad en móvil pequeño */
    .publicidad-horizontal {
        padding: 8px 0;
        margin: 8px 0;
    }
    
    .empresas-swiper {
        height: 70px;
    }
    
    .empresas-swiper .swiper-slide {
        height: 50px;
        padding: 6px;
    }
    
    .empresas-swiper .swiper-slide img {
        max-height: 40px;
    }
    
    .empresas-swiper .swiper-button-next,
    .empresas-swiper .swiper-button-prev {
        width: 25px;
        height: 25px;
        margin-top: -12px;
    }
    
    .empresas-swiper .swiper-button-next:after,
    .empresas-swiper .swiper-button-prev:after {
        font-size: 10px;
    }
    
    /* Ajustes para eventos y entrevistas destacado en móvil pequeño */
    .eventos-entrevistas-destacado {
        padding: 20px 0;
    }
    
    .destacado-card {
        border-radius: 12px;
    }
    
    .destacado-imagen {
        height: 200px;
    }
    
    .destacado-contenido {
        padding: 20px;
    }
    
    .destacado-titulo {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .destacado-descripcion {
        font-size: 14px;
        margin-bottom: 18px;
    }
    
    .destacado-boton {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .destacado-nuevo {
        padding: 5px 10px;
        font-size: 9px;
    }
    
    .destacado-categoria {
        font-size: 12px;
        margin-bottom: 15px;
    }
    /* Estilos para página de ediciones en móvil pequeño */
    .revista-ediciones-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .revista-ediciones-grid .revista-card img {
        width: 100% !important;
        max-width: 300px !important;
        height: auto !important;
    }
}


/* Ocultar publicaciones móviles en desktop */

.publicaciones-mobile-extra {
    display: none;
}


/* Estilos para página de ediciones en computadora */

.revista-ediciones-grid {
    gap: 20px !important;
}

.revista-ediciones-grid .revista-card img {
    width: 100% !important;
    max-width: 180px !important;
    height: auto !important;
}


/* Ultra-wide screens: ensanchar container y ajustar grid para evitar banda vacía */

@media (min-width: 1536px) {
    .container {
        max-width: 1440px;
    }
}


/* Logging styles */

.debug-info {
    background: #f0f0f0;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    font-family: monospace;
    font-size: 12px;
    color: #333;
}