/* Estilos básicos para la página de noticias */

/* Estilos para la noticia hero */
.noticia-hero {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    max-height: 500px;
}

.noticia-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.noticia-hero .img-fluid {
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.noticia-hero .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.noticia-hero .card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.noticia-hero .card-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Estilos para las tarjetas de noticias regulares */
.noticia-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

.noticia-card .card-img-top {
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.noticia-card:hover .card-img-top {
    transform: scale(1.05);
}

.noticia-card .card-body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
}

.noticia-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    color: #333;
}

.noticia-card .card-text {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Estilos para los badges */
.badge {
    font-size: 0.7rem;
    padding: 0.4em 0.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.badge-danger {
    background-color: #d32f2f; /* Rojo oscuro */
    color: white;
}

.badge-info {
    background-color: #0288d1; /* Azul claro */
    color: white;
}

.badge-primary {
    background-color: #1565c0; /* Azul oscuro */
    color: white;
}

.badge-secondary {
    background-color: #757575;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .noticia-hero .row {
        flex-direction: column;
    }
    
    .noticia-hero .col-md-8,
    .noticia-hero .col-md-4 {
        width: 100%;
    }
    
    .noticia-hero .img-fluid {
        height: 250px;
    }
    
    .noticia-hero .card-title {
        font-size: 1.4rem;
    }
}