.main-title p {
    color: var(--azul);
    font-size: 1.5em;
    padding-left: 4rem;
    margin-top: 0.5rem;
}

#agenda {
    padding: 4rem;
    background: #FFFFFF;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(250, 250, 250, 1) 50%, rgba(247, 253, 247, 1) 100%);
}

.eventos-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.evento-item {
    max-width: 300px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 5px 5px 8px rgba(63, 169, 52, 0.2);
}

.evento-img {
    width: 100%;
    height: 370px;
    overflow: hidden;
}
.evento-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.evento-item .evento-contenido {
    padding: 15px;
}

.evento-item .evento-contenido h3 {
    margin-top: 0;
    font-size: 1.5em;
    font-weight: bold;
    text-wrap: pretty;
}

.evento-item .evento-contenido p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1em;
    color: #999;
    margin-top: 1rem;
}

.evento-item .evento-contenido a {
    display: flex;
    justify-content: center;
    margin: 2rem 0 1rem 0;
}

#agenda-detalle {
    padding: 4rem;
    background: #FFFFFF;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(250, 250, 250, 1) 50%, rgba(247, 253, 247, 1) 100%);
}

.evento-item-detalle {
    display: flex;
    flex-direction: column;
}
.evento-item-detalle img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    margin-bottom: 2rem;
}
.evento-item-detalle h2 {
    margin-top: 0;
    font-size: 2em;
}
.evento-item-detalle p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #555;
    margin-top: 1rem;
}

.evento-item-detalle a {
    font-size: 1.2em;
    display: inline-block;
    margin-top: 2rem;
    color: var(--verde);
    text-decoration: none;
    font-weight: bold;
}



@media (max-width: 600px) {
    .eventos-lista {
        grid-template-columns: 1fr;
    }
}