/* assets/css/style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #1a1a1a;
}

/* TOP BAR */
.top-bar {
    background-color: #1a1a1a;
    color: #aaa;
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

.top-bar .social-links a {
    color: #aaa;
    margin-left: 15px;
    transition: color 0.3s;
}

.top-bar .social-links a:hover {
    color: #e74c3c;
}

.date-time {
    font-size: 12px;
}

/* MAIN HEADER */
.main-header {
    background: white;
    padding: 25px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo h1 {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    color: #e74c3c;
}

.logo p {
    font-size: 12px;
    color: #666;
    margin: 0;
    letter-spacing: 2px;
}

/* NAVIGATION */
.nav-menu {
    background: #e74c3c;
    border-top: 1px solid #c0392b;
    border-bottom: 1px solid #c0392b;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.nav-menu ul li a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    background: #c0392b;
    color: white;
}

/* HERO SECTION */
.hero-section {
    margin: 30px 0px 5px 0px;
}

.hero-main {
    position: relative;
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
	margin-bottom: 20px;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 40px 30px 30px;
    color: white;
}

.hero-category {
    display: inline-block;
    background: #e74c3c;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 15px;
}

.hero-main h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-meta {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.btn-read {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.btn-read:hover {
    background: #c0392b;
    color: white;
}

/* SECTION TITLES */
.section-title {
    border-left: 4px solid #e74c3c;
    padding-left: 15px;
    margin: 10px 0 20px;
    font-size: 24px;
    font-weight: 700;
}

/* NEWS CARDS */
.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 18px;
}

.news-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #e74c3c;
    margin-bottom: 8px;
    display: block;
}

.news-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card h3 a {
    color: #1a1a1a;
    text-decoration: none;
}

.news-card h3 a:hover {
    color: #e74c3c;
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
}

.news-date {
    font-size: 12px;
    color: #999;
}

/* SIDEBAR */
.sidebar-widget {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    position: relative;
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #e74c3c;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list li a {
    color: #555;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s;
}

.category-list li a:hover {
    color: #e74c3c;
    padding-left: 5px;
}

/* FOOTER */
.footer {
    background: #1a1a1a;
    color: #aaa;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: #e74c3c;
    margin-bottom: 15px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #333;
    font-size: 13px;
}

/* RADIO BUTTON */
.radio-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #e74c3c;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s;
}

.radio-float-btn:hover {
    transform: scale(1.05);
}

.radio-float-btn i {
    color: white;
    font-size: 24px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-main {
        height: 350px;
    }
    .hero-main h2 {
        font-size: 22px;
    }
    .hero-overlay {
        padding: 20px;
    }
    .nav-menu ul {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    .nav-menu ul li a {
        white-space: nowrap;
    }
}

/* HERO SIDE CARDS - Formato D-News */
.hero-side-card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 25px;
    transition: transform 0.3s;
}

.hero-side-card:hover {
    transform: translateY(-5px);
}

.hero-side-img {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.hero-side-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s;
}

.hero-side-card:hover .hero-side-img img {
    transform: scale(1.03);
}

.hero-side-content {
    padding: 0 5px;
}

.hero-side-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #e74c3c;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.hero-side-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.hero-side-content h3 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}

.hero-side-content h3 a:hover {
    color: #e74c3c;
}

@media (max-width: 768px) {
    .hero-side-img img {
        height: 160px;
    }
    .hero-side-content h3 {
        font-size: 16px;
    }
}

/* HERO SECONDARY */
.hero-secondary {
    position: relative;
    height: 210px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.hero-secondary-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    padding: 20px 15px 15px;
    color: white;
}

.hero-secondary-category {
    display: inline-block;
    background: #e74c3c;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.hero-secondary-overlay h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.btn-read-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-read-secondary:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

@media (max-width: 768px) {
    .hero-secondary {
        height: 180px;
    }
    .hero-secondary-overlay h3 {
        font-size: 14px;
    }
}

/* LOGO CON IMAGEN */
.logo-img {
    max-height: 120px;
    width: auto;
    display: block;
}

.logo .logo-slogan {
    font-size: 18px !important;
    color: #666;
    margin: 5px 0 0 0;
    letter-spacing: 2px;
    line-height: 1.4;
}

.logo .logo-slogan.large {
    font-size: 18px;
}

.logo .logo-slogan.small {
    font-size: 10px;
}

.logo .logo-slogan.nowrap {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .logo-img {
        max-height: 80px;
        margin: 0 auto;
    }
    .logo .logo-slogan {
        font-size: 10px;
        letter-spacing: 1px;
    }
}

/* RADIO PLAYER EN HEADER */
.radio-player-header {
    background: #f8f9fa;
    border-radius: 50px;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.radio-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-badge {
    background: #e74c3c;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.live-badge i {
    font-size: 8px;
    margin-right: 5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.radio-station {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-btn {
    background: #e74c3c;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
}

.player-btn:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-control i {
    color: #e74c3c;
    font-size: 14px;
}

#volumeSlider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    background: #ddd;
    border-radius: 5px;
    outline: none;
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e74c3c;
    cursor: pointer;
}

@media (max-width: 768px) {
    .radio-player-header {
        margin-top: 15px;
        border-radius: 20px;
        padding: 8px 15px;
        gap: 12px;
    }
    #volumeSlider {
        width: 60px;
    }
}

/* RADIO PLAYER EN HEADER */
.radio-player-header {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 6px 20px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
	height: 100px;
}

.radio-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-badge {
    background: #e74c3c;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 10px;
    letter-spacing: 1px;
}

.live-badge i {
    font-size: 8px;
    margin-right: 5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.radio-station {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-btn {
    background: #e74c3c;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    font-size: 14px;
}

.player-btn:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-control i {
    color: #e74c3c;
    font-size: 14px;
}

#volumeSlider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    background: #ddd;
    border-radius: 5px;
    outline: none;
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e74c3c;
    cursor: pointer;
}

@media (max-width: 768px) {
    .radio-player-header {
        margin-top: 15px;
        border-radius: 20px;
        padding: 6px 12px;
        gap: 12px;
    }
    .radio-station {
        font-size: 11px;
    }
    .player-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    #volumeSlider {
        width: 60px;
    }
    .live-badge {
        font-size: 8px;
        padding: 3px 8px;
    }
}

/* FOOTER LOGO IMAGEN */
.footer-logo-img {
    max-height: 60px;
    width: auto;
    display: block;
    margin-bottom: 15px;
}

/* Si quieres el logo más grande en desktop */
@media (min-width: 768px) {
    .footer-logo-img {
        max-height: 70px;
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .footer-logo-img {
        max-height: 50px;
        margin: 0 auto 15px auto;
    }
}

/* ============================================
   MENÚ RESPONSIVE - HAMBURGUESA
   ============================================ */

/* Contenedor del menú */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Botón hamburguesa - oculto en desktop */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    opacity: 0.8;
}

/* Lista de navegación (visible en desktop) */
.nav-list {
    display: flex !important;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.nav-list li a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
}

.nav-list li a:hover,
.nav-list li a.active {
    background: #c0392b;
    color: white;
}

/* ============================================
   RESPONSIVE MENÚ (MÓVILES)
   ============================================ */
@media (max-width: 768px) {
    /* Mostrar botón hamburguesa solo en móvil */
    .nav-toggle {
        display: block;
    }
    
    /* Menú oculto por defecto en móviles */
    .nav-list {
        display: none !important;
        width: 100%;
        flex-direction: column;
        background: #e74c3c;
    }
    
    /* Mostrar menú cuando tiene la clase 'show' */
    .nav-list.show {
        display: flex !important;
    }
    
    /* Estilos de los enlaces en móvil */
    .nav-list li {
        width: 100%;
        border-top: 1px solid rgba(255,255,255,0.2);
    }
    
    .nav-list li a {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .nav-list li a:hover,
    .nav-list li a.active {
        background: #c0392b;
        padding-left: 25px;
    }
}

/* ============================================
   TABLETS (entre 769px y 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-list li a {
        padding: 15px 15px;
        font-size: 12px;
    }
}

/* ============================================
   SECCIÓN MÁS NOTICIAS - Estilo original
   ============================================ */

/* Contenedor principal */
.mas-noticias-section {
    margin: 10px 0 0 0;
}

/* Columnas de noticias */
.noticias-col {
    padding: 0 15px;
}

/* Título de cada columna */
.noticias-col h6 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
    display: inline-block;
}

/* Tarjeta de noticias - Mismo estilo que el original */
.noticia-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.noticia-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.noticia-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.noticia-card-content {
    padding: 15px;
}

.noticia-card-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #e74c3c;
    margin-bottom: 8px;
    display: block;
}

.noticia-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.noticia-card-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.noticia-card-title a:hover {
    color: #e74c3c;
}

.noticia-card-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.noticia-card-date {
    font-size: 11px;
    color: #999;
}

/* Columna multimedia */
.multimedia-col {
    padding: 0 15px;
}

/* Tarjeta de video */
.video-card {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.video-card iframe {
    width: 100%;
    height: 210px;
    border: none;
}

.video-info {
    padding: 12px;
    background: #1a1a1a;
    text-align: center;
}

.video-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin: 0 0 5px 0;
}

.video-info p {
    font-size: 11px;
    color: #aaa;
    margin: 0;
}

/* Tarjeta publicitaria */
.ad-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.ad-card:hover {
    transform: translateY(-3px);
}

.ad-content {
    padding: 25px 15px;
    color: white;
}

.ad-content i {
    font-size: 40px;
    margin-bottom: 12px;
    color: #ffd700;
}

.ad-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ad-content p {
    font-size: 12px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.ad-btn {
    display: inline-block;
    background: white;
    color: #764ba2;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s;
}

.ad-btn:hover {
    background: #ffd700;
    color: #333;
}

/* Responsive */
@media (max-width: 991px) {
    .noticias-col {
        margin-bottom: 30px;
    }
    
    .multimedia-col {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .noticia-card img {
        height: 200px;
    }
    
    .video-card iframe {
        height: 220px;
    }
}

/* Asegurar que las tarjetas tengan la misma altura */
.noticias-col .row {
    display: flex;
    flex-wrap: wrap;
}

.noticia-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.noticia-card-content {
    flex: 1;
}

.noticia-card img {
    height: 180px;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
    .noticia-card img {
        height: 200px;
    }
}
/* ============================================
   BLOG - LISTADO DE NOTICIAS CON PAGINACIÓN
   ============================================ */

/* Contenedor principal del blog */
.blog-container {
    padding: 0 15px;
}

/* Tarjeta de cada noticia en el blog */
.blog-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Contenedor de imagen */
.blog-post-img-wrapper {
    height: 100%;
    min-height: 200px;
    overflow: hidden;
}

.blog-post-img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-post:hover .blog-post-img {
    transform: scale(1.03);
}

/* Contenido de la noticia */
.blog-post-content {
    padding: 20px;
    background: white;
}

/* Categoría */
.blog-post-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #e74c3c;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.blog-post-category i {
    font-size: 10px;
    margin-right: 4px;
}

/* Título */
.blog-post-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-post-title a:hover {
    color: #e74c3c;
}

/* Meta información (fecha, vistas) */
.blog-post-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.blog-post-meta span {
    display: inline-flex;
    align-items: center;
}

.blog-post-meta i {
    margin-right: 5px;
    color: #e74c3c;
}

/* Extracto/resumen */
.blog-post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Botón leer más */
.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    color: #e74c3c;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-read-more:hover {
    color: #c0392b;
    transform: translateX(5px);
}

.btn-read-more i {
    font-size: 11px;
    transition: transform 0.3s;
}

.btn-read-more:hover i {
    transform: translateX(3px);
}

/* ============================================
   PAGINACIÓN
   ============================================ */

.pagination-container {
    margin-top: 30px;
    margin-bottom: 20px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-link {
    display: block;
    padding: 8px 14px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid #ddd;
}

.pagination .page-link:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.pagination .active .page-link {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.pagination .disabled .page-link {
    background: #f5f5f5;
    color: #aaa;
    cursor: not-allowed;
    border-color: #eee;
}

/* ============================================
   RESPONSIVE BLOG
   ============================================ */

/* Tablets */
@media (max-width: 991px) {
    .blog-post-img-wrapper {
        min-height: 200px;
    }
    
    .blog-post-title {
        font-size: 18px;
    }
}

/* Móviles */
@media (max-width: 768px) {
    .blog-post-img-wrapper {
        min-height: 180px;
    }
    
    .blog-post-img {
        min-height: 180px;
    }
    
    .blog-post-content {
        padding: 15px;
    }
    
    .blog-post-title {
        font-size: 16px;
    }
    
    .blog-post-meta {
        font-size: 11px;
        gap: 10px;
    }
    
    .blog-post-excerpt {
        font-size: 13px;
    }
    
    .pagination .page-link {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Botón Ver todas las noticias */
.btn-ver-todas {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 10px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
}

.btn-ver-todas:hover {
    background: #c0392b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-ver-todas i {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s;
}

.btn-ver-todas:hover i {
    transform: translateX(5px);
}

/* ============================================
   BLOG - ESTILO REVISTA
   ============================================ */

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.blog-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.blog-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.blog-item-inner {
    display: flex;
    gap: 20px;
    padding: 15px;
}

/* Imagen más pequeña */
.blog-item-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
}

.blog-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-item:hover .blog-item-image img {
    transform: scale(1.05);
}

/* Contenido */
.blog-item-content {
    flex: 1;
}

.blog-item-category {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: #e74c3c;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.blog-item-category i {
    font-size: 9px;
    margin-right: 4px;
}

.blog-item-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.blog-item-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-item-title a:hover {
    color: #e74c3c;
}

.blog-item-date {
    font-size: 11px;
    color: #999;
    margin-bottom: 8px;
}

.blog-item-date i {
    margin-right: 4px;
    color: #e74c3c;
}

.blog-item-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.blog-item-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #e74c3c;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-item-link:hover {
    gap: 8px;
    color: #c0392b;
}

.blog-item-link i {
    font-size: 10px;
}

/* Paginación mejorada */
.pagination-wrapper {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.pagination-info {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid #e0e0e0;
}

.pagination .page-link:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.pagination .active .page-link {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.pagination .disabled .page-link {
    background: #f5f5f5;
    color: #bbb;
    cursor: not-allowed;
    border-color: #eee;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-item-inner {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }
    
    .blog-item-image {
        width: 100%;
        height: 160px;
    }
    
    .blog-item-title {
        font-size: 15px;
    }
    
    .pagination .page-link {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .blog-item-image {
        width: 90px;
        height: 90px;
    }
    
    .blog-item-title {
        font-size: 15px;
    }
}
