/* ==========================================
   BLOQUE NOTICIAS HORIZONTALES - RESCOP
========================================== */

.rescop-horizontal-news-block {
    padding: 80px 0;
    margin: 0;
    background: white;
    overflow: hidden;
}

/* CAMBIO PRINCIPAL: Layout centrado a ancho completo */
.rescop-horizontal-news-container {
    max-width: 1200px; /* Ancho máximo centrado */
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

.rescop-horizontal-news-content {
    text-align: center;
    max-width: 800px; /* Limitar ancho del título */
}

.rescop-horizontal-news-title {
    font-size: 3rem;
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    margin: 0;
    word-wrap: break-word;
}

.rescop-horizontal-news-visual {
    width: 100%;
    max-width: 1000px; /* Ancho máximo para las noticias */
}

.rescop-horizontal-news-list,
.rescop-horizontal-news-placeholder {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.rescop-horizontal-news-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.rescop-horizontal-news-item:last-child {
    border-bottom: none;
}

.rescop-horizontal-news-item:hover {
    background-color: #fafafa;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 8px;
}

.rescop-horizontal-news-image {
    width: 200px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.rescop-horizontal-news-image img,
.rescop-horizontal-news-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #e5e5e5;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: block;
}

.rescop-horizontal-news-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rescop-horizontal-news-date {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
    text-transform: lowercase;
}

.rescop-horizontal-news-item-title {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.rescop-horizontal-news-item-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rescop-horizontal-news-item-title a:hover {
    color: #BE252D;
}

.rescop-horizontal-news-excerpt {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* Placeholder styling */
.rescop-horizontal-news-item.rescop-placeholder {
    opacity: 0.7;
}

.rescop-horizontal-news-item.rescop-placeholder .rescop-horizontal-news-image-placeholder {
    background: linear-gradient(90deg, #e5e5e5 25%, #f0f0f0 50%, #e5e5e5 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .rescop-horizontal-news-container {
        max-width: 900px;
        padding: 0 30px;
        gap: 50px;
    }
    
    .rescop-horizontal-news-title {
        font-size: 2.5rem;
    }
    
    .rescop-horizontal-news-visual {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .rescop-horizontal-news-block {
        padding: 60px 0;
    }
    
    .rescop-horizontal-news-container {
        padding: 0 20px;
        gap: 40px;
        max-width: 100%;
    }
    
    .rescop-horizontal-news-title {
        font-size: 2.2rem;
    }
    
    .rescop-horizontal-news-item {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: left;
    }
    
    .rescop-horizontal-news-image {
        width: 100%;
        height: 200px;
        order: -1;
    }
    
    .rescop-horizontal-news-content {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .rescop-horizontal-news-title {
        font-size: 2rem;
    }
    
    .rescop-horizontal-news-item-title {
        font-size: 1.2rem;
    }
    
    .rescop-horizontal-news-container {
        padding: 0 15px;
    }
}