.section--events {
    margin: 54px 0 90px 0;
}

.section--events .section__title {
    width: 100%;
    text-align: center;
    margin: 0 0 45px 0;
}

.section--events .section__introduction {
    width: 100%;
    text-align: center;
    margin: 0 0 87px 0;
}

.section--events .events-by-month {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 76px;
}

.section--events .events-month {
    width: 100%;
}

.section--events .events-month .events-month__title {
    text-transform: uppercase;
    font-family: 'Heavitas', sans-serif;
    margin: 0 0 47px 0;
}

.section--events .events-month .events-month__title::after {
    content: '';
    display: block;
    width: calc(100% + 20px);
    height: 20px;
    position: absolute;
    bottom: -8px;
    left: -10px;
    background: var(--color-primary);
    z-index: -1;
    border-radius: 5px;
}


.section--events .events-month__list {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 90px;

}

.section--events .events-month__item {
    width: calc(100% / 3 - 60px);

}

.section--events .events-month__item .events-month__link {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    text-decoration: none;
}

.section--events .events-month__item .events-month__event-title {
    color: var(--color-primary);
    text-transform: uppercase;
}

.section--events .events-month__item .events-month__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    overflow: hidden;
    margin: 20px 0;
}

.section--events .events-month__item .events-month__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section--events .events-month__item .events-month__excerpt {
    color: var(--color-black);
    font-size: 18px;
    line-height: 27px;
}

.section--events .events-month__item .events-month__links {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 10px;
    margin: 26px 0 0 0;
}

.events-month__link-1,
.events-month__link-2{
    width: calc(50% - 10px);
    min-width: 150px;
}

.section--events .events-month__item .button--secondary {
    width: 100%;
    margin: 0;
    font-size: clamp(14px, 2vw, 18px);
    padding:10px 5px;

}


@media all and (max-width: 1400px) {
    .section--events .events-month__list {
        gap: 50px;
    }

    .section--events .events-month__item {
        width: calc(100% / 3 - 35px);
    }
}

@media all and (max-width: 1000px) {
    .section--events .events-month__list {
        gap: 50px 20px;
    }

    .section--events .events-month__item {
        width: calc(100% / 2 - 15px);
    }
}

@media all and (max-width: 750px) {
    .section--events .events-month__list {
        gap: 50px 20px;
    }

    .section--events .events-month__item {
        width: 100%;
    }
}

@media all and (max-width: 500px) {
    .events-month__link-1,
    .events-month__link-2 {
        width: 100%;
    }
}
