.event-detail-inner {
    max-width: 100%;
    padding-top: 50px;
    margin-bottom: 50px;

    .event-breadcrumbs {
        text-transform: uppercase;
    }

    .event-date-location,
    .event-breadcrumbs {
        color: var(--brand-green);
        text-transform: uppercase;

        .text-bold {
            font-weight: 700;
        }

        svg {
            transform: translateY(-2px);
        }
    }

    .event-date-location {
        margin-bottom: 30px;
    }

    .tickets-box {
        background-color: #F5F7F9;
        padding: 20px;
        margin-bottom: 30px;

        p {
            margin-bottom: 0;
        }

        .tickets-yes-no {
            font-size: 20px;
            font-weight: 700;
        }
    }

    h2 {
        @media(max-width: 576px) {
            font-size: 42px;
        }
    }
}

.event-col {
    max-width: 50%;
    padding: 20px;
    flex-direction: column;

   .image-wrap {
        width: 100%;
        img {
            max-width: 100%;
            height: auto;
            object-fit: contain;
        }

    }

    @media(max-width: 992px) {
        max-width: 100%;
    }
}

.invisible-link-box {
    position: absolute;
    visibility: hidden;
}

/* EVENTS LISTING PAGE */
.events-hero {
    padding: 0;
    max-height: 600px;
    overflow: hidden;
    
    img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

.filtered-cards-wrapper {
    position: relative;
    /* max-width: fit-content; */
    a {
        text-decoration: none;
    }

    .no-show {
        visibility: hidden;
    }

    .st-events-list-card {
        --st-el-card-width: 800px;
        --st-el-card-height: 312px; 
        --el-card-des-size: 20px;

        width: var(--st-el-card-width);
        height: var(--st-el-card-height);
        cursor: pointer;

        &.no-show {
            position: absolute;
        }
        
        .card-image-box {
            width: 45%;
            max-width: 45%;
            height: 100%;
            border-radius: 20px 0 20px 0;
            overflow: hidden;
            min-width: fit-content;
            z-index: 1;
            position: relative;
            

            img {
                min-width: 100%;
                min-height: 100%;
                height: auto;
                object-fit: cover;
                object-position: center;
                transition: var(--transition-long);
            } 

            .card-date {
                position: absolute;
                top: 10px;
                right: 0;
                background: var(--brand-green);
                color: #fff;
                font-size: 10px;
                border-radius: 24px 0 0 24px;
                padding: 8px 8px 8px 12px;

                p {
                    font-size: 16px;
                    margin-bottom: 0;
                    text-align: center;
                    line-height: 100%;
                }

                .card-day {
                    font-size: 32px;
                    font-weight: 700;
                    margin-bottom: 2px;
                }
            }
        }

        .card-text-box {
            width: 100%;
            height: 100%;
            min-width: 236px;
            background: #fff;
            border-radius: 0 0 20px 0;
            z-index: 0;
            padding-left: 43px!important;
            transform: translateX(-20px);

            .card-title {
                color: var(--heading);
                text-transform: none;
            }
        }

        &:hover,
        &:active {
            .card-text-box {
                background: var(--brand-yellow);
            }

            img {
                transform: scale(1.1);
            }
        }

        .card-category {
            font-size: var(--el-card-des-size);
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--brand-green);
            margin-bottom: 10px;
        }

        .card-description {
            font-size: 18px;
            margin-bottom: 0;
            color: #000;
        }

        @media (max-width: 1200px) {
            --st-el-card-width: 665px;
            --st-el-card-height: 266px;
            --el-card-des-size: 18px;

            .card-image-box {
                width: 85% !important;
                min-width: unset !important;
            }
        }

        @media (max-width: 768px) {
            --st-el-card-width: 532px;
            --st-el-card-height: 212px;
            --el-card-des-size: 12px;

            .card-image-box {
                width: 85% !important;
                min-width: unset !important;
            }

            .card-text-box {
                padding: 8px 16px 8px 43px !important;
            }

            .card-title {
                font-size: 24px;
            }

            .card-description {
                font-size: 16px !important;
                overflow: hidden;
                text-overflow: ellipsis;
                line-height: 1.2;
            }

            .st-button {
                width: 75%;
                padding: 8px 16px 6px 16px;

                .st-label {
                    font-size: 14px;
                }
            }
        }

        @media (max-width: 575px) {
            --st-el-card-width: 95%;
            --st-el-card-height: 200px;
            --el-card-des-size: 12px;

            flex-direction: row !important;
            align-items: center;
            width: 95%;

            .card-image-box {
                width: 70% !important;
                height: 200px !important;
                overflow: hidden;
            }

            .card-text-box {
                width: 100% !important;
                height: 100% !important;
                overflow: hidden;
            }

            .card-title {
                font-size: 22px;
            }

            .card-description {
                font-size: 15px !important;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .st-button {
                width: 66%;
                padding: 6px 16px 6px 12px;

                .st-label {
                    font-size: 14px;
                }
            }
        }

        @media (max-width: 520px) {
            --st-el-card-width: 100%;
            --st-el-card-height: 180px;
            --el-card-des-size: 11px;

            width: 100%;

            .card-image-box {
                height: 100% !important;
            }

            .card-title {
                font-size: 20px;
            }

            .card-description {
                font-size: 14px !important;
            }

            .st-button {
                width: 80%;
                padding: 6px 16px 6px 12px;

                .st-label {
                    font-size: 12px;
                }
            }
        }
    }

    .filter-wrap {
        transition: var(--transition);
        display: flex;
        flex-direction: column;
        background: #fff;
        z-index: 0;
        min-width: 22%;
        
        @media (max-width: 991.98px) {
            display: none;
            opacity: 0;
            position: absolute;
            top: 48px;
            right: 0;
            padding: 10px;
            border-radius: 0 0 20px 20px;
            z-index: 10;

            &.visible {
                display: flex;
                opacity: 1;
            }
        }
    }

    label {
        font-size: 14px;
    }

    .filters-reveal,
    .filters-hide {
        color: var(--brand-green);
        font-size: 14px;
        border: solid var(--brand-green) 1px;
        border-radius: 20px;
        padding: 4px 6px 4px 4px;
        max-width: fit-content;
        text-decoration: none;
        transition: var(--transition);

        &:hover {
            color: var(--brand-green-dk);
            border-color: var(--brand-green-dk);
        }

        svg {
            height: 16px;
            width: 16px;
            transform: translate(2px, -1px);
        }
    }

    .filters-reveal {
        margin-right: 18px;
    }

    .filters-clear {
        font-size: 12px;
    }

    .st-events-list-card {
        .st-button {
            transition: var(--transition);
        }

        &:hover {
            .st-button {
                border: solid var(--brand-green-dk) 1px;
                color: #fff!important;
                background: var(--brand-green);

                .divider {
                    border-color: #fff;
                }

                svg {
                    fill: var(--brand-yellow);
                }
            }
        }
    }
}

.pagination-box {
    * {
        color: var(--brand-green);
    }

    .control-arrow {
        svg {
            transform: translateY(-2px);
        }
    }

    .numbers-box {
        .page-number {
            padding: 10px;
            border-radius: 100%;
            width: 44px;
            text-align: center;
            position: relative;

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

            &.truncate-left {
                margin-left: 6px;

                &::before {
                    position: absolute;
                    left: -18px;
                    content: '...';
                    color: var(--brand-green);
                }
            }

            &.truncate-right {
                /* margin-right: 5px; */

                &::after {
                    position: absolute;
                    right: -5px;
                    content: '...';
                    color: var(--brand-green);
                }
            }

            &.hidden {
                display: none;
            }
        }
    }

    @media (max-width: 576px) {
        font-size: 12px;
    }
}
