.evCard_section {
    max-width: 1500px;
    margin: 2rem auto;
    font-family: 'Open Sans', sans-serif;
    padding: 1rem;
    text-align: center;
    background-color: #fff;
    border-radius: 12px;
}

.evCard_section h2 {
    font-size: 1.8rem;
    color: #253B73;
    margin-bottom: 1.5rem;
}

.evCard_container {
    position: relative;
}

.evCard_sliderWrapper {
    overflow: hidden;
    padding: 0;
}

.evCard_slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.evCard_item {
    flex: 0 0 25%;
    max-width: 25%;
    box-sizing: border-box;
    padding: 1rem;
}

.evCard_link {
    display: block;
    text-decoration: none;
}

.evCard_inner {
    background: gray;
    border-radius: 18px;
    height: 140px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
    transition: transform 0.3s ease;
    color: #fff;
}

.evCard_inner:hover {
    transform: scale(1.05);
}

.evCard_inner h3 {
    margin: 0 0 0.8rem;
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.evCard_inner p {
    font-size: 0.95rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.evCard_navBottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.evCard_navBtn {
    background: #fff;
    border: none;
    border-radius: 999px;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.evCard_navBtn:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.evCard_navBtn:active {
    transform: translateY(0);
}

/* Botão Lista Completa de Eventos */
.evCard_listaBtn {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.5rem 1.4rem;
    border: 1.5px solid #253B73;
    border-radius: 999px;
    background: transparent;
    color: #253B73;
    font-size: 0.95rem;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.evCard_listaBtn:hover {
    background: #253B73;
    color: #fff;
}

@media (max-width: 600px) {
    .evCard_listaBtn {
        width: 100%;
        text-align: center;
        display: block;
    }
}


/* Tablet: 2 cards */
@media (max-width: 900px) {
    .evCard_item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Celular: 1 card */
@media (max-width: 600px) {
    .evCard_item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .evCard_sliderWrapper {
        padding: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .evCard_sliderWrapper::-webkit-scrollbar {
        display: none;
    }

    .evCard_slider {
        transform: none !important;
    }

    .evCard_item {
        scroll-snap-align: start;
    }

    .evCard_navBottom {
        margin-top: 1.25rem;
    }

    .evCard_navBtn {
        width: 52px;
        height: 52px;
    }
}