.filter-buttons {
    margin-bottom: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.filter-btn.active {
    background: #D52028 !important;
    color: #FFF !important;
    border: 1px solid #D52028 !important;
}

.all-filter-btn {
    background: transparent !important;
    color: #D52028 !important;
    border: 1px solid #D52028 !important;
}


/* HOVER */

.all-filter-btn:hover {
    background: #D52028 !important;
    color: #FFF !important;
    border: 1px solid #D52028 !important;
}


/* HOVER END */

.theatre-filter-btn {
    background: transparent !important;
    color: #D52028 !important;
    border: 1px solid #D52028 !important;
}


/* HOVER */

.theatre-filter-btn:hover {
    background: #D52028 !important;
    color: #FFF !important;
    border: 1px solid #D52028 !important;
}


/* HOVER END */

.congress-filter-btn {
    background: transparent !important;
    color: #D52028 !important;
    border: 1px solid #D52028 !important;
}


/* HOVER */

.congress-filter-btn:hover {
    background: #D52028 !important;
    color: #FFF !important;
    border: 1px solid #D52028 !important;
}


/* HOVER END */

.collapsible-wrapper {
    position: relative;
    min-height: 200px;
    /* Prevent layout shift during animations */
}

.collapsible-item {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.collapsible-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}


/* ICON */

span.toggle-icon {
    border: 1px solid #D52028;
    color: #D52028;
    border-radius: 100px;
    width: 46px;
    height: 46px;
    justify-content: center;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 800;
    transition: transform 0.3s, background-color 0.3s;
    will-change: transform;
}

.open .toggle-icon {
    background-color: #D52028;
    color: #FFF;
}


/* ICON END */

.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.collapsible-header.active {
    color: #D52028;
    font-weight: 800;
}

span.collapse-title {
    font-weight: 500 !important;
    font-size: 1rem !important;
    transition: transform 0.3s, color 0.3s;
}

.collapsible-header.active .collapse-title {
    transform: translateX(5px);
}


/* MEDIA QUERY */

@media screen and (max-width: 992px) {
    span.collapse-title {
        max-width: 80%;
    }
}


/* MEDIA QUERY END */

.collapsible-content {
    overflow: hidden;
    margin-top: 10px;
    will-change: height;
}

.collapsible-button {
    margin-top: 10px;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0;
    /* Start invisible for animation */
}

.toggle-icon {
    font-size: 20px;
}


/* Animation helpers */

.gsap-reveal {
    opacity: 0;
}