main#whats-happening .slider-wrapper {
    display: flex;
    flex-direction: column-reverse;
    gap: 24px;
    align-items: center;
    position: relative;

    .content-slide {
        .content {
            margin-bottom: 3rem;

            h3 {
                /* font-family: Metropolis, sans-serif; */
                line-height: 110%;
                letter-spacing: normal;
                font-weight: 700;
                font-size: 2.5rem;
            }

            hr {
                width: 56px;
                position: relative;
                overflow: hidden;
                height: 0.125rem;
                background-color: #ee192f;
                margin-left: 0;
            }

            p {
                color: #323232;
                font-size: 1rem;
                margin: 0;
            }
        }

        a {
            line-height: 110%;
            letter-spacing: normal;
            font-weight: 600;
            font-size: 0.875rem;
            text-transform: uppercase;
            background-color: transparent;
            color: #202020;
            -webkit-transition: all 0.3s ease;
            transition: all 0.3s ease;
            position: relative;

            &:hover:after {
                width: 1.8125rem;
            }

            &:after {
                content: "";
                display: inline-block;
                margin-left: 0.5rem;
                background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwIiB5PSIwIiB2aWV3Qm94PSIwIDAgMzAgMTIiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxzdHlsZT48L3N0eWxlPjxkZWZzPjxwYXRoIGlkPSJTVkdJRF8xXyIgZD0iTTAgMGgzMHYxMkgweiIvPjwvZGVmcz48Y2xpcFBhdGggaWQ9IlNWR0lEXzAwMDAwMDg4MTA4NDQ1ODYwODczNTQ4NjUwMDAwMDAxNjgwMjY2NDY3ODA5OTI0MjM4XyI+PHVzZSB4bGluazpocmVmPSIjU1ZHSURfMV8iIG92ZXJmbG93PSJ2aXNpYmxlIi8+PC9jbGlwUGF0aD48ZyBjbGlwLXBhdGg9InVybCgjU1ZHSURfMDAwMDAwODgxMDg0NDU4NjA4NzM1NDg2NTAwMDAwMDE2ODAyNjY0Njc4MDk5MjQyMzhfKSI+PHBhdGggZD0iTTAgNmgyOC43bS01LjItNWw1LjIgNS01LjIgNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZWUxOTJmIiBzdHJva2Utd2lkdGg9IjEuNSIvPjwvZz48L3N2Zz4=);
                background-repeat: no-repeat;
                background-size: auto 100%;
                background-position: 100%;
                width: 1.1875rem;
                height: 0.6875rem;
                position: relative;
                top: 0.5px;
                -webkit-transition: all 0.3s ease;
                transition: all 0.3s ease;
            }
        }
    }

    .image-slide {
        img {
            height: 100%;
            width: 100%;
            object-fit: cover;
            object-position: center;
        }
    }

    .slide_action {
        position: absolute;
        bottom: 0;
        right: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;

        .right {
            transform: rotate(180deg);
        }
    }

    .slick-list {
        overflow: visible;
    }

    .slick-track {
        display: flex;
        flex-direction: row;
        gap: 20px;
    }

    .content-slide .slick-list {
        overflow: hidden;
    }

    .image-slide {
        padding: 2rem 0;
    }
}

main#whats-happening #upcoming {
    .title span {
        font-size: 2.5rem;
        /* font-family: Metropolis, sans-serif; */
        line-height: 110%;
        letter-spacing: normal;
        font-weight: 700;
        text-transform: capitalize;
        color: #202020;
    }
}

main#whats-happening .filter-list-category {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;

    .item {
        border: 1px solid #323232;
        border-radius: 50px;
        padding: 4px 16px;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: center;
        justify-content: center;
        color: #323232;
        /* font-family: metropolisregular, sans-serif; */
        font-size: 0.875rem;
        cursor: pointer;
    }

    .item.active {
        background-color: #323232;
        color: #fff;
    }
}

main#whats-happening .filter-list-date {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    /* font-family: metropolisbold, sans-serif; */
    font-size: 1rem;
    color: #acacac;

    .item {
        cursor: pointer;
        line-height: 130%;
        padding-bottom: 4px;
    }

    .item.active {
        color: #202020;
        border-bottom: 2px solid #ee192f;
    }
}

main#whats-happening .cards {
    display: grid;
    flex-wrap: wrap;
    grid-template-columns: 1fr;
    grid-gap: 32px;
    gap: 32px;
    flex-direction: row;

    img {
        max-width: 100%;
    }

    .card {
        animation-duration: 0.5s;
        animation-delay: 0ms;
        animation-timing-function: ease-out;
        animation-fill-mode: forwards;
        display: flex;
        flex-direction: column;
        height: 100%;
        color: #323232;

        .card-image {
            overflow: hidden;
            aspect-ratio: 16 / 12;
            position: relative;

            img {
                position: absolute;
                object-position: center;
                border: 0;
                top: 0;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;
                transition: all 0.5s ease;

                &:hover {
                    transform: scale(1.1);
                }
            }
        }

        .card-content {
            margin: 1.5rem;
            color: #323232;
            /* font-family: Metropolis, sans-serif; */

            .card-date {
                &::before {
                    content: "";
                    border-left: 2px solid #ee192f;
                    height: 100%;
                    position: absolute;
                    left: 0;
                    top: 0;
                }

                font-size: 0.875rem;
                color: #323232;
                padding-left: 16px;
                position: relative;
                display: block;
                margin-bottom: 7px;
                line-height: 130%;
            }

            .card-title {
                /* font-family: Metropolis, sans-serif; */
                font-size: 1.375rem;
                font-weight: 700;
                color: #202020;
            }

            .card-description {
                font-size: 1rem;
                color: #202020;
                line-height: 150%;
                font-size: 1rem;
            }
        }
    }
}

main#whats-happening .pagination {
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;

    ul {
        display: flex;
        gap: 32px;
        list-style: none;

        li {
            /* font-family: Roboto, sans-serif; */
            font-weight: 400;
            line-height: 130%;
            letter-spacing: normal;
            font-size: 1rem;
            line-height: 150%;
            color: #6f6f6f;
            padding: 0 8px;
            cursor: pointer;

            &.active {
                color: #202020;
                border-bottom: 2px solid #ee192f;
            }

            svg {
                margin-top: -3px;

                path {
                    stroke: #aeaeae;
                }
            }
        }
    }
}

@media (max-width: 768px) {
    .content-slide {
        padding: 1.5rem 0;
    }

    .content-slide .slick-list .slick-slide {
        transition: all 0.7s ease-in-out;
        -webkit-transition: all 0.7s ease-in-out;
        opacity: 1;
    }

    .content-slide .slick-list .slick-slide:has(+ .slick-active) {
        opacity: 0;
    }

    .content-slide .slick-list .slick-slide.slick-active:has(+ .slick-active) {
        opacity: 1;
    }

    .content-slide .slick-list .slick-slide.slick-active + .slick-active {
        opacity: 0;
    }

    .slider-wrapper {
        padding: 3.5rem 0;
    }
}

@media (min-width: 768px) {
    main#whats-happening .slider-wrapper {
        padding: 6.25rem 0;

        .cover-title {
            height: 60vh;
        }

        .cover-title .header_block {
            margin-bottom: auto;
        }

        flex-direction: row;
        gap: 0;

        .slick-list .slick-slide .img-wrapper {
            transition: all 0.7s ease;
            -webkit-transition: all 0.7s ease;
            max-width: 100%;
            width: 29.625rem;
            height: 32.25rem;
        }

        .slick-list .slick-slide.slick-active .img-wrapper {
            width: 100%;
        }

        .slick-list .slick-slide.slick-active + * .img-wrapper {
            width: 10.6875rem;
            height: 27.5rem;
        }

        .content-slide {
            padding: 3.75rem 2.5rem;
        }
    }

    main#whats-happening .cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    main#whats-happening .cards {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
