
/* Alleen toepassen als filters zichtbaar zijn */
#left_column:has(#PM_ASBlockOutput_1) {
    width: fit-content !important;
    flex: 0 0 auto !important;
}

/* Zorg dat filtersectie automatisch schaalt */
#PM_ASBlockOutput_1 {
    width: auto !important;
    display: inline-block !important;
}

/* Binnenste structuur moet meeschalen */
#PM_ASBlockOutput_1 .card-block {
    width: auto !important;
    min-width: max-content !important;
    white-space: nowrap !important;
    display: block !important;
}

/* UL-basis verbreden op inhoud */
#PM_ASBlockOutput_1 ul {
    width: max-content !important;
    display: block !important;
}

/* LI's en labels mogen niet afbreken */
#PM_ASBlockOutput_1 li {
    white-space: nowrap !important;
}

#PM_ASBlockOutput_1 label {
    white-space: nowrap !important;
    display: inline-block !important;
}

/* Content opschuiven als filters zichtbaar zijn */
#left_column:has(#PM_ASBlockOutput_1) ~ #center_column {
    margin-left: 340px !important;
    flex: 1 !important;
    padding-left: 20px !important;
}

/* Layout in flex zetten wanneer filters bestaan */
#left_column:has(#PM_ASBlockOutput_1) ~ #columns_inner {
    display: flex !important;
}
