.idloom-events-filterbar{display:flex;flex-wrap:wrap;gap:var(--wp--style--block-gap,12px);margin-bottom:var(--wp--style--block-gap,16px);align-items:flex-end}
.idloom-events-filterbar.alignwide{max-width:var(--wp--style--global--wide-size,1200px);margin-left:auto;margin-right:auto;width:100%}
.idloom-events-filterbar.alignfull,
.idloom-events-advanced.alignfull{max-width:none!important;width:auto!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;transform:none!important;padding-left:var(--wp--style--global--spacing--horizontal, var(--wp--custom--spacing--horizontal, 20px))!important;padding-right:var(--wp--style--global--spacing--horizontal, var(--wp--custom--spacing--horizontal, 20px))!important;box-sizing:border-box!important}
.idloom-filter-group{display:flex;flex-direction:column;align-items:flex-start;gap:4px;vertical-align:top}
.idloom-filter-group label{font-size:var(--wp--preset--font-size--small,0.85rem);font-weight:600;margin:0;min-height:1.2em}
.idloom-filter-group.idloom-filter-checkbox{flex-direction:row;align-items:center;padding-bottom:8px;align-self:flex-end;margin-bottom:4px}
.idloom-filter-group.idloom-filter-checkbox label{display:flex;align-items:center;gap:8px;font-weight:normal;min-height:0}
.idloom-filter-group select,
.idloom-filter-group input[type="text"]{padding:6px 10px;border-radius:4px;border:1px solid var(--wp--preset--color--neutral,var(--wp--preset--color--contrast,#e5e5e5));font-size:var(--wp--preset--font-size--small,0.9rem);min-height:36px;height:36px;color:var(--wp--preset--color--contrast,inherit);background-color:var(--wp--preset--color--base,var(--wp--preset--color--white,#fff));box-sizing:border-box}
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background-color: var(--wp--preset--color--base, var(--wp--preset--color--white, #fff)) !important;
    border: 1px solid var(--wp--preset--color--neutral, var(--wp--preset--color--contrast, #e5e5e5)) !important;
    min-height: 36px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    color: var(--wp--preset--color--contrast, inherit) !important;
    line-height: 34px !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--wp--preset--color--primary, #0a477d) !important;
    color: var(--wp--preset--color--base, var(--wp--preset--color--white, #fff)) !important;
    border: none !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--wp--preset--color--base, var(--wp--preset--color--white, #fff)) !important;
    margin-right: 5px !important;
}
.select2-dropdown {
    background-color: var(--wp--preset--color--base, var(--wp--preset--color--white, #fff)) !important;
    border: 1px solid var(--wp--preset--color--neutral, var(--wp--preset--color--contrast, #e5e5e5)) !important;
    color: var(--wp--preset--color--contrast, inherit) !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: var(--wp--preset--color--primary, #0a477d) !important;
    color: var(--wp--preset--color--base, var(--wp--preset--color--white, #fff)) !important;
}
.idloom-order-toggle{flex-direction:row;border:1px solid var(--wp--preset--color--neutral,var(--wp--preset--color--contrast,#e5e5e5));border-radius:6px;overflow:hidden}
.idloom-order-toggle .button{border:0;background:var(--wp--preset--color--base,var(--wp--preset--color--white,#fff));color:var(--wp--preset--color--contrast,inherit);padding:4px 12px;font-size:1rem;line-height:1;display:flex;align-items:center;justify-content:center;height:36px;width:36px}
.idloom-order-toggle .button.is-active{background:var(--wp--preset--color--primary,#0a477d)!important;color:var(--wp--preset--color--base,var(--wp--preset--color--white,#fff))!important}
.idloom-events-advanced.alignwide{max-width:var(--wp--style--global--wide-size,1200px);margin-left:auto;margin-right:auto;width:100%}
.idloom-events-advanced.idloom-loading{opacity:.6;pointer-events:none}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}
.idloom-events-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:var(--wp--style--block-gap,16px)}
.idloom-event-card{background:var(--wp--preset--color--base,var(--wp--preset--color--white,#fff));border:1px solid var(--wp--preset--color--neutral,#e5e5e5);border-radius:var(--wp--custom--border-radius--medium,6px);overflow:hidden;transition:box-shadow .3s ease,transform .3s ease;height:100%}
.idloom-event-card:hover{box-shadow:var(--wp--custom--shadow--hover,0 8px 16px rgba(0,0,0,.12));transform:translateY(-4px)}
.idloom-event-card-link{text-decoration:none;color:inherit;display:flex;flex-direction:column;height:100%;font-family:var(--wp--preset--font-family--body,inherit)}
.idloom-event-card-link:focus{outline:2px solid var(--wp--preset--color--primary,#0a477d);outline-offset:2px}
.idloom-event-card-thumb{position:relative}
.idloom-event-card-thumb img{display:block;width:100%;height:auto;aspect-ratio:var(--wp--custom--aspect-ratio--event-card,16/9);object-fit:cover}
.idloom-event-badge{position:absolute;top:var(--wp--style--block-gap,8px);left:var(--wp--style--block-gap,8px);padding:calc(var(--wp--style--block-gap,8px)/2) var(--wp--style--block-gap,8px);border-radius:var(--wp--custom--border-radius--small,4px);font-size:var(--wp--preset--font-size--small,.8rem);line-height:1;color:var(--wp--preset--color--base,var(--wp--preset--color--white,#fff))!important;background:var(--wp--preset--color--secondary,#f2961f);box-shadow:0 1px 3px rgba(0,0,0,.15)}
.idloom-event-card-body{padding:var(--wp--style--block-gap,12px);display:flex;flex-direction:column;gap:calc(var(--wp--style--block-gap,12px)/2);flex-grow:1}
.idloom-event-card-title{margin:0;font-size:var(--wp--preset--font-size--medium,1.1rem);font-family:var(--wp--preset--font-family--heading,inherit);line-height:var(--wp--custom--line-height--heading,1.2);color:var(--wp--preset--color--contrast,inherit)}
.idloom-event-card-date,
.idloom-event-card-location{font-size:var(--wp--preset--font-size--small,.9rem);color:var(--wp--preset--color--contrast,inherit);opacity:.8}
.idloom-event-card-meta{display:flex;flex-direction:column;gap:4px}
.idloom-events-pagination{display:flex;gap:calc(var(--wp--style--block-gap,16px)/2);justify-content:center;flex-wrap:wrap;margin-top:0;margin-bottom:var(--wp--style--block-gap,24px)}
.idloom-events-pagination .idloom-page-link{padding:6px 12px;border:1px solid var(--wp--preset--color--neutral,var(--wp--preset--color--contrast,#ddd));border-radius:var(--wp--custom--border-radius--small,4px);text-decoration:none;min-width:40px;text-align:center;transition:all .2s ease;font-size:var(--wp--preset--font-size--small,inherit);color:var(--wp--preset--color--contrast,inherit)}
.idloom-events-pagination .idloom-page-link:hover:not(.disabled):not(.current){background:var(--wp--preset--color--neutral,transparent);opacity:0.8;border-color:var(--wp--preset--color--primary,inherit);color:var(--wp--preset--color--primary,inherit)!important}
.idloom-events-pagination .idloom-page-link.current,
html body .idloom-events-pagination .idloom-page-link.current {
    background-color: var(--wp--preset--color--primary, #0a477d) !important;
    color: var(--wp--preset--color--base, var(--wp--preset--color--white, #fff)) !important;
    border-color: var(--wp--preset--color--primary, #0a477d) !important;
    text-decoration: none !important;
    opacity: 1 !important;
}
.idloom-events-pagination .idloom-page-link.disabled{opacity:.3;cursor:not-allowed;pointer-events:none}
.idloom-page-ellipsis{padding:6px 8px;align-self:flex-end;color:var(--wp--preset--color--contrast,inherit)}
/* Filter actions + order toggle */
.idloom-filter-actions{display:flex;gap:12px;align-items:flex-end;margin-bottom:0}
html body .idloom-events-filterbar .idloom-filter-actions .button,
html body .idloom-events-filterbar .idloom-filter-actions .button.idloom-apply-filters,
html body .idloom-events-filterbar .idloom-filter-actions .button.idloom-reset-filters {
    background-color: var(--wp--preset--color--primary, #0a477d) !important;
    color: var(--wp--preset--color--base, var(--wp--preset--color--white, #fff)) !important;
    border: 1px solid var(--wp--preset--color--primary, #0a477d) !important;
    border-radius: var(--wp--custom--border-radius--small, 4px) !important;
    padding: 8px 20px !important;
    min-height: 36px !important;
    height: 36px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: var(--wp--preset--font-size--small, 0.9rem) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
}
html body .idloom-events-filterbar .idloom-filter-actions .button:hover,
html body .idloom-events-filterbar .idloom-filter-actions .button:focus,
html body .idloom-events-filterbar .idloom-filter-actions .button:active {
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    background-color: var(--wp--preset--color--primary, #0a477d) !important;
    color: var(--wp--preset--color--base, var(--wp--preset--color--white, #fff)) !important;
    text-decoration: none !important;
}
html body .idloom-events-filterbar .idloom-filter-actions .button.button-secondary,
html body .idloom-events-filterbar .idloom-filter-actions .button.idloom-reset-filters {
    background-color: transparent !important;
    color: var(--wp--preset--color--primary, #0a477d) !important;
    border: 1px solid var(--wp--preset--color--primary, #0a477d) !important;
}
html body .idloom-events-filterbar .idloom-filter-actions .button.button-secondary:hover,
html body .idloom-events-filterbar .idloom-filter-actions .button.idloom-reset-filters:hover {
    background-color: var(--wp--preset--color--primary, #0a477d) !important;
    color: var(--wp--preset--color--base, var(--wp--preset--color--white, #fff)) !important;
    text-decoration: none !important;
}
.idloom-order-toggle{display:inline-flex;flex-direction:row;border:1px solid var(--wp--preset--color--neutral,var(--wp--preset--color--contrast,#e5e5e5));border-radius:6px;overflow:hidden;margin-top:0;height:36px;box-sizing:border-box}
.idloom-order-toggle .button{border:0;background:var(--wp--preset--color--base,var(--wp--preset--color--white,#fff)) !important;color:var(--wp--preset--color--contrast,inherit) !important;padding:0;font-size:1.2rem;line-height:1;display:flex;align-items:center;justify-content:center;height:36px;width:36px;min-height:36px;cursor:pointer;transition:all 0.2s ease}
.idloom-order-toggle .button.is-active,
html body .idloom-events-filterbar .idloom-order-toggle .button.is-active {background:var(--wp--preset--color--primary,#0a477d) !important;color:var(--wp--preset--color--base,var(--wp--preset--color--white,#fff)) !important}
.idloom-order-toggle .button:hover:not(.is-active){background:var(--wp--preset--color--neutral, #f5f5f5) !important}
/* Results summary */
.idloom-results-summary{flex:1;display:flex;justify-content:flex-end;align-items:flex-end;margin-bottom:8px}
.idloom-results-count{font-size:var(--wp--preset--font-size--large,1.25rem);font-weight:700;color:var(--wp--preset--color--contrast,inherit)}
/* Single Event details block */
.idloom-event-details{border:1px solid var(--wp--preset--color--neutral,#e5e5e5);border-radius:6px;padding:var(--wp--style--block-gap,16px);margin-top:var(--wp--style--block-gap,16px)}
.idloom-event-details .idloom-event-badge{display:inline-block;padding:4px 8px;border-radius:4px;font-size:.85rem;line-height:1}
.idloom-event-details .idloom-badge-soldout{background:var(--wp--preset--color--secondary,#f2961f);color:var(--wp--preset--color--base,var(--wp--preset--color--white,#fff))!important}
.idloom-event-details .idloom-badge-status{background:var(--wp--preset--color--primary,#0a477d);color:var(--wp--preset--color--base,var(--wp--preset--color--white,#fff))!important}
.idloom-event-details-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:calc(var(--wp--style--block-gap,16px)/1.2)}
