/****************************************************** */
/**************** 05. Event Section  ****************** */
/****************************************************** */
.event-page-section .container-custom {
    max-width: 1620px;
}

.gallery-filter,
.events-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.event-info {
    gap: 10px;
    flex-wrap: wrap;
}

.event-info span:first-child a {
    color: var(--primary-color);
    font-weight: 500;
}

.events-filter li,
.gallery-filter li {
    color: black;
    cursor: pointer;
    font-size: 14px;
    padding: 3px 18px;
    transition: 0.5s;
    font-weight: 700;
    border-radius: 4px;
    margin: 0 10px 10px;
    font-family: var(--heading-font);
}

.events-filter li:hover,
.events-filter li.current,
.gallery-filter li:hover,
.gallery-filter li.current {
    color: white;
    background: var(--primary-color);
}

.event-item,
.gallery-item {
    position: relative;
    display: block;
    margin-bottom: 30px;
    background: white;
}

.event-image img,
.gallery-item img {
    width: 100%;
}

.event-content {
    position: relative;
    padding: 25px 25px;
    box-shadow: 0px 10px 70px rgba(0, 0, 0, 0.1);
}

.event-content .time-info {
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    width: calc(100% - 50px);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    flex-wrap: wrap;
    padding: 10px 20px;
    border-radius: 4px;
    background: #fff;
    line-height: normal;
    box-shadow: 0px 10px 70px rgba(0, 0, 0, 0.1);
}

.event-content .time-info i {
    color: var(--primary-color);
    margin-inline-end: 2px;
    font-size: 13px;
}

.event-content .organizer {
    display: inline-block;
    margin-bottom: 5px;
}

.event-content .dates {
    top: -14px;
    color: white;
    font-size: 12px;
    line-height: 1.5;
    padding: 5px 16px;
    position: absolute;
    border-radius: 4px;
    background: var(--primary-color);
}

.event-content h4,
.event-content h5 {
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
}

.event-description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    min-height: 60px;
    color: #0000007a;
}

.event-content .location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    line-height: normal;
    flex: 0 0 auto;
    width: calc(100% / 1.45);
}

.event-content .location span {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    -webkit-line-clamp: 1;
}

.event-content .location i {
    color: var(--primary-color);
}

.price-remain {
    display: flex;
    gap: 10px;
    font-size: 14px;
    align-items: center;
    justify-content: space-between;
    line-height: normal;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #d9d9d9;
}

.price-remain span:first-child {
    font-weight: 500;
}

.price-remain .price {
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--heading-font);
}

.price-remain .remain {
    font-weight: 300;
}

.price-remain del {
    color: var(--base-color);
}


.price-slider-range.ui-widget.ui-widget-content {
    height: 6px;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 0;
    background: rgba(3, 10, 21, 0.1);
}

.price-slider-range .ui-widget-header {
    background: var(--primary-color);
}

.price-slider-range .ui-slider-handle {
    height: 16px;
    width: 16px;
    border: none;
    cursor: pointer;
    margin-left: -2px;
    border-radius: 50%;
    background: var(--primary-color);
}


.event-footer {
    display: flex;
    font-size: 14px;
    flex-wrap: wrap;
    padding: 6px 20px;
    border-radius: 4px;
    align-items: center;
    justify-content: space-between;
    background: var(--light-color);
}

.event-footer li i {
    margin-right: 3px;
    color: var(--primary-color);
}

.event-item .syotimer__body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.event-item .syotimer-cell {
    width: var(--size);
    text-align: center;
    font-weight: 400;
    font-size: 14px;
}

.event-item .syotimer-cell__value {
    line-height: 40px;
    background-color: var(--light-color);
}

.event-item .syotimer-cell__unit {
    line-height: 1;
    margin-top: 5px;
}

.event-item .wishlist-btn {
    --size: 40px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-inline-end: 10px;
    margin-inline-start: auto;
    width: var(--size);
    height: var(--size);
    line-height: var(--size);
    border-radius: 0 0 5px 5px;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    z-index: 1;
}

.price-btn{
    display: flex;
    margin-top: 25px;
    flex-direction: column;
    align-items: start;
    /* gap: 10px; */
}

/* MOBILE */
.mobile-filter-toggle{
    display: none;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    cursor: pointer;
    align-items: center;
}

.mobile-filter-toggle i {
    margin-right: 5px;
}

.desktop-search {
    display: block;
}

.mobile-search {
    display: none;
}

.close-sidebar {
    display: none;
}

@media (max-width: 991px){
    .mobile-filter-toggle{
        display: inline-flex;
    }

    .desktop-search {
        display: none;
    }

    .sidebar{
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        overflow-y: auto;
        z-index: 1001;
        background: white;
        padding: 50px 20px 20px;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active{
        display: block;
        transform: translateX(0);
    }

    .close-sidebar{
        display: flex;
        position: absolute;
        top: 15px;
        right: 15px;
        background: #f1f1f1;
        border: none;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1002;
    }

    .overlay{
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .overlay.active{
        display: block;
    }

    .mobile-search {
        display: block;
        margin-bottom: 20px;
    }
}

@media (min-width: 992px) {
    .sidebar {
        display: block !important;
        transform: translateX(0) !important;
    }
}
