.section-title_events{
    font-size: 40px;
}

.section-header_events{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.section-title_events .gradient-text {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.filter-button {
    background-color: #f5f5f5;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.evento-filter {
    background: white;
    color: #58606E;
    border-radius: 32px;
    border: 1px solid #58606E;
    padding: 1.25rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.evento-filter.active {
    color: white;
    background: #025257;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(19, 101, 91, 0.3);
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}


.event-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.event-action {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.event-action:hover {
    opacity: 0.9;
}

.container-events{
    max-width: 1142px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Outros estilos */
.events-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.events-carousel-wrapper {
    position: relative;
}

.events-carousel-track {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    padding-bottom: 8px;
}

.events-carousel-track::-webkit-scrollbar {
    display: none;
}

.events-carousel-track .event-card {
    flex: 0 0 calc((100% - 50px) / 3);
}

.evento-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    background-color: #007D7A;
    border: 5px solid #FFFFFF;
    border-radius: 50%;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    padding: 0;
}

.evento-carousel-btn .material-symbols-outlined {
    font-size: 28px;
    font-weight: 900;
    margin: 0;
    color: white;
}

.evento-carousel-btn:hover {
    background-color: #006969;
}

.evento-carousel-btn:active {
    background-color: #025257;
}

.evento-carousel-btn-prev {
    left: -20px;
    box-shadow: 2px 5px 8px 0px rgba(0, 0, 0, 0.25);
}

.evento-carousel-btn-next {
    right: -20px;
    color: white;
    box-shadow: -1px 4px 7px 0px rgba(0, 0, 0, 0.25);
}

.event-card {
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #C8D1E0;
    border-radius: 20px;
    background: white;
    display: grid;
    grid-auto-rows: 150px 1fr;
}

.event-card:hover {
    color: #006969;
    background-color: #EBEFF5;
}

.event-image {
    position: relative;
    height: 140px;
    margin: 16px;
    border-radius: 20px;
    overflow: hidden;
}

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

.event-date {
    position: absolute;
    right: 12px;
    top: 12px;
    background: white;
    border-radius: 5px;
    padding: 5px 10px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.event-date .day {
    font-size: 18px;
    display: block;
    line-height: 1;
}

.event-content {
    padding: 16px;
    height: 100%;
    display: grid;
    grid-template-rows: 1fr 70px;
}

.wrapper-event-content {
    display: grid;
}

.container-btn_center  {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.event-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.4;
    color: #434A54;
}

.event-title h3{
    color: #434A54;
}

.event-info {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.event-info-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-description {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.available-spots {
    font-size: 13px;
    color: #666;
}

.limited-spots {
    color: #ff5722;
    font-weight: 500;
}

@media (max-width: 768px) {
    .evento-carousel-btn {
        display: none !important;
    }

    .events-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .events-filter::-webkit-scrollbar {
        display: none;
    }

    .events-filter .evento-filter {
        flex-shrink: 0;
    }

    .events-carousel-track {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .container-events {
        padding: 0 0 0 20px;
    }

    .events-carousel-track .event-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }

    .section-title_events{
        text-align: center;
    }

    .section-description_events{
        text-align: center;
    }
}