@charset "utf-8";
/* CSS Document */

.notaslistado {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 20px;
}

/* Cada elemento de nota */
.item-nota {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Contenedor de la imagen */
.imagen {
    flex: 0 0 300px; /* Ancho fijo para la imagen */
    max-width: 300px;
    padding: 10px;
}

.imagen img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Asegura que la imagen se ajuste bien */
}

/* Contenedor del contenido */
.contenido {
    flex: 1;
    padding: 20px;
    text-align: left;
}

/* Estilos para el título */
.contenido h2 {
    font-size: 1.2rem;
    margin: 0 0 10px;
    color: #0056b3;
    text-align: left;

}

/* Estilos para la introducción */
.contenido p {
    font-size: 1rem;
    color: #555;
    margin: 0 0 15px;
    line-height: 1.4;
}

/* Estilos para el enlace "Leer más" */
.leer-mas {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    background-color: #444;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.leer-mas:hover {
    background-color: #0056b3;
}

/*NOTA*/

#nota 
{
    width: 98%;
    margin: 0 auto;
    color: #555;
    font-size: 1.1rem;
}

#nota h1 
{
    font-size: 1.1rem;
    color: #0056b3;
}

#nota h2
{
    font-size: 1rem;
    color: #555;
    padding: 10px;
}

#nota .imgnota
{
    text-align: center;    
}

.imgnota img
{
    width: 90%;
    max-width: 700px;
}

/* Media query para móviles */
@media (max-width: 768px) {
    .item-nota 
    {
        flex-direction: column;
        align-items: stretch;
    }

    .imagen {
        flex: none;
        max-width: 100%;
        padding: 0;
    }

    .imagen img {
        width: 100%;
        height: auto;
    }

    .contenido {
        padding: 15px;
    }

    .contenido h2 {
        font-size: 1.25rem;
    }

    .contenido p {
        font-size: 0.9rem;
    }
}