.grid-events-wrapper {
    .grid-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;

        .overlay {
            width: 100%;
            display: none;
            position: absolute;
            height: calc(100% - 4rem);
            background-color: rgba(0, 0, 0, 0.2);
            background-image: url(../images/loading.gif);
            background-position: center center;
            background-repeat: no-repeat;
            background-size: 50px 50px;
        }

        .events-grid-load-more {
            justify-content: center;
            grid-column: 1 / -1;
            display: flex;
            width: 100%;

            button {
                background-color: var(--aana-green);
                text-transform: uppercase;
                padding: 1rem 1.5rem;
                min-width: 10rem;
                cursor: pointer;
                border: none;
                color: #fff;

                &:disabled {
                    background-color: rgba(47, 208, 183, 0.5);
                }
            }
        }
    }

    .grid-item {
        font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif !important;
        background-color: var(--aana-light-gray);
        justify-content: space-between;
        flex-direction: column;
        text-align: left;
        display: flex;

        .grid-item-content {
            width: 100%;
            height: 100%;

            .event-featured-image {
                width: 100%;
                height: 300px;
                background-repeat: no-repeat;
                background-position: center center;
                background-image: url(../images/overlay.png);

                img {
                    width: 100%;
                    height: 300px;
                    max-width: 500px;
                    object-fit: cover;
                }
            }

            .grid-item-details {
                display: flex;
                padding: 1rem 1.5rem;
                flex-direction: column;
                justify-content: space-between;

                .type {
                    text-transform: uppercase;
                    color: var(--aana-gray);
                    padding-bottom: 0;
                    font-weight: 600;
                    font-size: 18px;
                }

                .location {
                    text-transform: uppercase;
                    color: var(--aana-gray);
                    padding-bottom: 0.5rem;
                    font-weight: 300;
                    font-size: 18px;
                }

                hr {
                    border-top: 1px solid var(--aana-green);
                    margin-bottom: 1rem;
                    width: 100%;
                }

                .title {
                    color: #000000;
                    font-size: 22px;
                    font-weight: 600;
                }


            }
        }

        .grid-item-navigation {
            margin-top: 2rem;

            p.date, a.date {
                color: var(--aana-green);
                margin: 1rem 1.5rem;
                align-items: center;
                line-height: 1rem;
                font-weight: 600;
                font-size: 22px;
                display: flex;
            }

            a.date {
                &::after {
                    font-family: ETmodules, sans-serif !important;
                    font-weight: 400 !important;
                    content: "5";
                }
            }

            .event-btn {
                display: flex;
                color: #ffffff;
                font-weight: 600;
                padding: 0.5rem 1rem;
                justify-content: center;
                margin: 1.5rem 1.5rem 1rem 1.5rem;
                background-color: var(--aana-green);

                &::after {
                    font-family: ETmodules, sans-serif !important;
                    font-weight: 400 !important;
                    content: "5";
                }
            }

            .grid-item-presented-by {
                text-transform: uppercase;
                padding: 1rem 1.5rem;
                background: #0C0955;
                font-weight: 300;
                margin-top: 2rem;
                font-size: 17px;
                color: #ffffff;

                .presented-by {
                    font-weight: 900;
                }
            }
        }
    }

    .grid-nav {
        display: flex;
        margin-bottom: 1rem;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;

        .grid-container-filters {
            padding-left: 0 !important;
            margin-bottom: 1rem;
            flex-wrap: wrap;
            display: flex;
            gap: 1rem;

            button {
                color: #000;
                border: none;
                cursor: pointer;
                font-size: 15px;
                padding: 0.5rem 1rem;
                display: inline-block;
                text-transform: uppercase;
                background-color: var(--aana-light-gray);

                &:hover, &.active {
                    color: #fff;
                    background-color: var(--aana-green);
                }
            }
        }

        .view-events {
            display: flex;
            align-items: center;
            font-family: "Gilroy Medium", sans-serif !important;
            font-size: 18px;

            &::after {
                font-family: ETmodules, sans-serif !important;
                font-weight: 400 !important;
                content: "5";
            }
        }
    }
}

@media (min-width: 768px) {
    .grid-events-wrapper {
        .grid-container {
            grid-template-columns: repeat(2, 1fr);
        }

        .grid-nav {
            flex-direction: row;
        }
    }

}

@media (min-width: 1200px) {
    .grid-events-wrapper {
        .grid-container {
            grid-template-columns: repeat(3, 1fr);
            gap: 3rem;
        }
    }
}