.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    color: #ff6b6b;
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
}

/* Estilos para Eventos */
.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0; /* Importante para o flex funcionar corretamente */
}

.event-content-top {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-content-bottom {
    margin-top: auto;
    padding-top: 15px;
    position: relative;
    bottom: 0;
    width: 100%;
}

.event-title {
    color: #2d3436;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.event-date {
    color: #EC7B37;
    font-size: 0.9em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-description {
    color: #666;
    margin-bottom: 15px;
    flex: 1;
}

.event-link {
    color: #EC7B37;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.event-link:hover {
    color: #ff4757;
}

.tag-evento {
    display: inline-block;
    background-color: #f0f0f0;
    color: #333;
}

/* Responsividade */
@media (max-width: 768px) {
    .news-card {
        flex-direction: column;
    }

    .news-image {
        width: 100%;
        height: 200px;
    }

    .news-content {
        padding: 15px;
    }

    .section-title {
        font-size: 1.8em;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }
}