/* Events page */

.events-page {
    padding: 0 0 30px;
}

.events-page .container,
.events-section .container {
    max-width: 1410px;
}

.events-page__top {
    --bs-gutter-x: 40px;
    --bs-gutter-y: 30px;

    margin-bottom: 70px;
}

.events-page__title {
    margin: 0;

    font-family: 'RoadRadio', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    color: #1D3F77;
}

.events-page__text {
    max-width: 700px;
    margin: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.4;

    color: #7A7A7A;
}

.events-page__info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.events-page__info-item {
    display: flex;
    align-items: center;
    gap: 8px;

    font-family: 'Montserrat', sans-serif;
    font-size: 14px;

    color: #1D3F77;
}

.events-page__info-item img {
    width: 16px;
    height: 16px;

    flex-shrink: 0;
}


.interesting-card__category {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    height: 25px;
    padding: 4px 10px;

    border-radius: 4px;

    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;

    color: #ffffff;
}

.interesting-card__category img {
    width: 14px;
    height: 14px;

    flex-shrink: 0;

    transform: translateY(-1px);
}

/* Search */

.events-search {
    position: relative;

    margin-bottom: 30px;
}

.events-search input {
    width: 100%;
    height: 50px;
    padding: 0 60px 0 20px;

    border: 1px solid rgba(29, 63, 119, 0.15);
    border-radius: 4px;

    background: #ffffff;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;

    color: #1D3F77;
}

.events-search input::placeholder {
    color: #B2B2B2;
}

.events-search button {
    position: absolute;
    top: 50%;
    right: 20px;

    width: 20px;
    height: 20px;

    transform: translateY(-50%);
}

.events-search button img {
    width: 100%;
    height: 100%;
}


/* Categories */

.events-categories {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.events-category {
    min-height: 38px;
    padding: 0 18px;

    border: 1px solid #D9D9D9;
    border-radius: 999px;

    background: #ffffff;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;

    color: #1D3F77;
	display: inline-flex;
	align-items: center;
}

.events-category--active,
.events-category:hover {
    border-color: #F7941D;

    background: #F7941D;
    color: #ffffff;
}


/* Events section */

.events-section {
    padding: 10px 0 100px;
}

.events-page-group {
    display: none;
}

.events-page-group.active {
    display: block;
}

.events-list__row {
    --bs-gutter-x: 15px;
    --bs-gutter-y: 15px;

    margin-bottom: 15px;
}

.events-list__row:last-child {
    margin-bottom: 0;
}


/* Event card */

.event-card {
    position: relative;

    display: block;
    height: 300px;

    overflow: hidden;
    border-radius: 10px;

    background: #C9C9C9;
}

.event-card--large {
    height: 350px;
}

.event-card > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.event-card::after {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.75) 100%
    );
}

.event-card__content {
    position: absolute;
    inset: 20px;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    color: #ffffff;
}

.event-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.event-card__date,
.event-card__category {
    min-height: 25px;
    padding: 6px 10px;

    border-radius: 4px;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 1;
}

.event-card__date {
    background: #ffffff;
    color: #1D3F77;
}

.event-card__category {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.event-card__bottom h3 {
    margin: 0 0 8px;

    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;

    color: #ffffff;
}

.event-card__bottom p {
    margin: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.35;

    color: #ffffff;
}


/* Pagination */

.events-pagination {
    display: flex;
    align-items: center;

    margin-top: 40px;
}

.events-pagination button {
    width: 52px;
    height: 52px;

    border: 1px solid #D9D9D9;
    background: #ffffff;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;

    color: #1D3F77;
}

.events-pagination__item.active,
.events-pagination button:hover {
    background: #F7941D;
    color: #ffffff;
}