/* Dynamic service groups: distribute available space among rendered options only. */
.lumo-catalog .dc-controls-card .dc-type-tabs{display:flex!important;align-items:stretch!important;grid-template-columns:none!important;}
.lumo-catalog .dc-controls-card .dc-type-tabs .dc-type-tab{flex:1 1 0!important;min-width:0!important;max-width:none!important;justify-content:center!important;}
.lumo-catalog .dc-stats > div{flex:1 1 0;justify-content:center;}
@media(max-width:820px){
 .lumo-catalog .dc-controls-card .dc-type-tabs .dc-type-tab{flex:1 1 0!important;min-width:max-content!important;}
}
/* Create Event: keep the existing 4/2-column density, stretch incomplete rows. */
.event-select-body .event-type-grid{display:flex!important;flex-wrap:wrap;align-items:stretch;gap:16px;}
.event-select-body .event-type-grid > .event-type-link{flex:1 1 calc((100% - 48px)/4);min-width:0;height:auto;max-width:none;}
.event-select-body .event-type-grid > .event-type-link > .event-type-card{height:100%;min-width:0;box-sizing:border-box;}
.event-select-body .event-type-grid > .lsv-empty-options{flex:1 1 100%;text-align:center;color:#526475;padding:28px 12px;}
@media(max-width:1199px){.event-select-body .event-type-grid > .event-type-link{flex-basis:calc((100% - 16px)/2);}}
@media(max-width:767px){.event-select-body .event-type-grid{gap:10px}.event-select-body .event-type-grid > .event-type-link{flex-basis:calc((100% - 10px)/2);}}
@media(max-width:380px){.event-select-body .event-type-grid{gap:9px}.event-select-body .event-type-grid > .event-type-link{flex-basis:calc((100% - 9px)/2);}}
/* Homepage and featured catalogue: fill the actual tab rail, scroll when needed. */
body.lumo-home .lumo-discover-section .lumo-discover-tabs{width:100%!important;min-width:max-content;}
body.lumo-home .lumo-discover-section .lumo-discover-tabs > .lumo-discover-tab{flex:1 0 auto!important;justify-content:center;}
@media(min-width:1200px){body.lumo-home .lumo-discover-section .lumo-discover-heading-row{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) max-content!important;}body.lumo-home .lumo-discover-section .lumo-discover-tabscroll{width:100%!important;}}
@media(min-width:801px) and (max-width:1199px){body.lumo-home .lumo-discover-section .lumo-discover-tabscroll{width:100%!important;}}
.lf-page .lf-tab-scroll{flex:1 1 auto;min-width:0;}
.lf-page .lf-tabs{width:100%;min-width:max-content;}
.lf-page .lf-tabs > .lf-tab{flex:1 0 auto;justify-content:center;}
.category-tabs > .category-tab-btn{flex:1 1 0;min-width:0;}
@media(max-width:767px){.category-tabs{display:flex!important;flex-wrap:wrap!important;}.category-tabs > .category-tab-btn{flex:1 1 auto;width:auto;}}
.category-tabs:empty{display:none!important;}
/* About and How It Works: no vacant columns after removing service content. */
.lp-about-feature-row{display:flex!important;flex-wrap:wrap;}
.lp-about-feature-row > .lp-about-feature{flex:1 1 0;min-width:0;}
.lp-cap-grid{display:flex!important;flex-wrap:wrap;}
.lp-cap-grid > .lp-cap-card{flex:1 1 calc((100% - 32px)/3);min-width:0;}
@media(max-width:991px){.lp-cap-grid > .lp-cap-card{flex-basis:calc((100% - 16px)/2);}}
@media(max-width:767px){.lp-cap-grid > .lp-cap-card{flex-basis:100%;}}
