/* Interesting events */

.interesting-events {
    padding: 80px 0 100px;
}

.interesting-background{
    background: #ffffff;
}

.interesting-events .container {
    max-width: 1410px;
}

.interesting-events__top {
    margin-bottom: 40px;
}

.interesting-events__title {
    margin: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    color: #1D3F77;
}

.interesting-events__row {
    --bs-gutter-x: 15px;
    --bs-gutter-y: 15px;
}


/* Interesting card */

.interesting-card {
    position: relative;

    height: 300px;

    overflow: hidden;
    border-radius: 10px;

    background: #C9C9C9;
}

.interesting-card__image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.interesting-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%
    );
}

.interesting-card__content {
    position: absolute;
    inset: 15px;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    color: #ffffff;
}

.interesting-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.interesting-card__date {
    padding: 5px 10px;

    border-radius: 4px;
    background: #ffffff;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 1.2;

    color: #1D3F77;
}

.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);
}

.interesting-card__title {
    margin: 0 10px 10px;

    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;

    color: #ffffff;
}

.interesting-card__text {
    margin: 0 10px;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.35;

    color: #ffffff;
}

.section-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 192px;
    min-height: 58px;
    padding: 0 40px;

    border: 1px solid #D9D9D9;
    border-radius: 999px;

    background: #ffffff;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;

    color: #F7941D;

    transition: .2s ease;
}

.section-button:hover {
    background: #F7941D;
    color: #ffffff;
}


/* =========================
   Interesting events adaptive
========================= */

@media (max-width: 767px) {
    .interesting-events {
        padding: 40px 0;
    }

    .interesting-events .container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .interesting-events__top {
        margin-bottom: 20px;
    }

    .interesting-events__top .col-auto {
        width: 100%;
        margin-top: 20px;
        order: 2;
    }

    .interesting-events__title {
        font-family: 'RoadRadio', sans-serif;
        font-size: 28px;
        line-height: 1;
    }

    .interesting-events__row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 10px;
    }

    .interesting-events__row > [class*="col"] {
        width: 100%;
        flex: 0 0 100%;
    }

    .interesting-card {
        height: 220px;
        border-radius: 10px;
    }

    .interesting-card__content {
        inset: 14px;
    }

    .interesting-card__top {
        align-items: flex-start;
        gap: 8px;
    }

    .interesting-card__date {
        padding: 8px 12px;
        border-radius: 4px;

        font-size: 12px;
        font-weight: 600;
    }

    .interesting-card__category {
        height: 33px;
        padding: 0 12px;
        gap: 8px;

        font-size: 12px;
    }

    .interesting-card__category img {
        width: 16px;
        height: 16px;
    }

    .interesting-card__title {
        margin: 0 0 8px;

        font-size: 16px;
        line-height: 1.15;
    }

    .interesting-card__text {
        margin: 0;

        font-size: 15px;
        line-height: 1.3;
    }

    .section-button {
        width: 100%;
        min-height: 58px;
        padding: 0 24px;

        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .interesting-events__row > [class*="col"]:nth-child(n + 4) {
        display: none;
    }
}


@media (max-width: 767px) {
    .interesting-events .container {
        display: flex;
        flex-direction: column;
    }

    .interesting-events__top {
        display: contents;
    }

    .interesting-events__top .col {
        order: 1;
    }

    .interesting-events__row {
        order: 2;
    }

    .interesting-events__top .col-auto {
        order: 3;

        width: 100%;
        margin-top: 20px;
    }

    .section-button {
        width: 100%;
    }
}