/* 🔹 Contenedor de la sección de noticias */
.news-section {
    background: rgba(0, 51, 102, 0.8); /* Azul oscuro translúcido */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 80%;
    max-width: 900px;
    margin: 20px auto;
    text-align: center;
}

/* 🔹 Título de noticias */
.news-section h2 {
    color: #FFD700; /* Amarillo */
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
}

/* 🔹 Tarjeta de noticias */
.news-card {
    background: rgba(255, 255, 255, 0.15); /* Transparencia con efecto glass */
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin: 20px auto;
    transition: transform 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 90%;
    max-width: 600px;
    text-align: center;
}

/* 🔹 Efecto hover en la tarjeta */
.news-card:hover {
    transform: translateY(-5px);
}

/* 🔹 Imagen de la noticia */
.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* 🔹 Título de cada noticia */
.news-title {
    font-size: 22px;
    color: #FFD700; /* Amarillo para resaltar */
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}

/* 🔹 Descripción de la noticia */
.news-description {
    font-size: 16px;
    color: white;
    text-align: center;
    margin: 10px 0;
}

/* 🔹 Botón de ver noticia */
.news-btn {
    display: block;
    text-align: center;
    background: #007bff;
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease-in-out, transform 0.2s;
}

/* 🔹 Efecto hover en el botón */
.news-btn:hover {
    background: #0056b3;
    transform: scale(1.05);
}

/* 🔹 Texto de "No hay noticias disponibles" */
.no-news {
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-align: center;
    padding: 10px;
}
