/* Developer disigner */
.course__list .bptfs-post-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.course__list{
    width: 100%;
}
#bptfs-filter-form .field.disabled-term {
    display: none;
    /* opacity: 50%; */
}

#bptfs-listing-container-1 {
    width: 100%;
}

.bptfs-post-list .static-article {
    padding-top: 0px;

}

.bptfs-post-list .static-article .course__name:nth-child(1) {
    min-height: auto;
    padding: 20px 0 0;

}

.bptfs-post-list .static-article .course__name:nth-child(2) {
    min-height: auto;
    padding: 10px 0;
}

.listing-loader {
    width: 40px;
    height: 40px;
    border: 4px solid #428bca31;
    border-top-color: #004e82;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
    margin-top: 30px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.course__list .elementor {
    grid-column: 1 / span 2;
}

.course__list .elementor .course__item {
    padding: 0;
}

.course__list .elementor .course__item .course__action-link {
    max-width: 232px !important;
}

.course__list .elementor .course__item .course__action-link a {
    text-decoration: none !important;
}

@media (max-width:767px) {
    .course__list .elementor {
        display: none;
    }
}
.filter__list.all-disabled {
    display: none;
}

/* Hide individual disabled terms */
.field.disabled-term {
    opacity: 0.5;
    pointer-events: none;
}

/* Hide the entire fieldset when ALL fields are disabled */
.filter__list .field:not(.disabled-term) {
    display: block;
}

.filter__list .field.disabled-term {
    display: none;
}

.filter__list .field.disabled-term ~ .field:not(.disabled-term) {
    display: block;
}

/* This is the key part - hide fieldset when all children are hidden */
.filter__list .field:not(.disabled-term) {
    display: block;
}

.filter__list:not(:has(.field:not(.disabled-term))) {
    display: none !important;
}