﻿.noticia-card {
    margin: 1.5em 0;
    padding: 1em;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.titulo {
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #2e3b55;
}

.contenido-html {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1em;
    color: #555;
}

.meta-info {
    margin-top: 0.5em;
    font-style: italic;
    color: #757575;
}

.imagenes-carousel {
    margin-top: 1em;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 400px;
    width: 800px;
}

.imagen-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    background-color: #f4f4f4;
    overflow: hidden;
}

    .imagen-container img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }

@media (max-width: 768px) {
    .imagenes-carousel {
        height: 250px;
        width: 100%;
    }

    .imagen-container {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .imagenes-carousel {
        height: 200px;
        width: 100%;
    }

    .imagen-container {
        height: 200px;
    }
}

.noticia-imagen {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
}
