/* Event landing/search route should behave like a full-width search page */
body.ebc-events-route #right-sidebar,
body.ebc-events-route #left-sidebar,
body.ebc-events-route .sidebar,
body.ebc-events-route .widget-area,
body.ebc-events-route aside,
body:has(.ebc-hero) #right-sidebar,
body:has(.ebc-hero) #left-sidebar,
body:has(.ebc-hero) .sidebar,
body:has(.ebc-hero) .widget-area,
body:has(.ebc-hero) aside{display:none !important;}

body.ebc-events-route #primary,
body.ebc-events-route .content-area,
body.ebc-events-route .site-content,
body.ebc-events-route .site-main,
body:has(.ebc-hero) #primary,
body:has(.ebc-hero) .content-area{
  width:100% !important;
  max-width:none !important;
  float:none !important;
  margin:0 !important;
}

body.ebc-events-route .inside-article,
body.ebc-events-route .entry-content{
  max-width:none !important;
  width:100% !important;
}

/* Eventbricks Calendar Search – lightweight UI inspired by eventbricks-search */

/* Theme container neutralization on pages that render the calendar hero */
body:has(.ebc-hero) .entry-header{display:none !important;}
body:has(.ebc-hero) .site-main,
body:has(.ebc-hero).separate-containers .site-main{margin:0 !important;}
body:has(.ebc-hero) .inside-article{
  padding:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  border:0 !important;
}
body:has(.ebc-hero) .inside-article > .entry-content{margin-top:0 !important;}

.ebc-hero{
  position:relative;
  /* Ensure the search UI can overlap the hero (negative margin) without being covered
     by theme z-index/stacking-context rules. */
  z-index:0;
  padding:54px 0 110px;
  background:linear-gradient(180deg,#f7f8f5 0%,#ecefe8 100%);
  width:100vw;
  margin-left:calc(50% - 50vw);
  overflow:hidden;
}
.ebc-hero__inner{max-width:1180px;margin:0 auto;padding:0 24px;box-sizing:border-box;position:relative;z-index:1}
.ebc-hero__kicker{color:#6f8f56;letter-spacing:.14em;text-transform:uppercase;font-size:12px;font-weight:700}
.ebc-hero__title{margin:.35rem 0 .55rem;max-width:760px;font-size:clamp(34px,4vw,56px);line-height:1.02;font-weight:760;letter-spacing:-.02em}
.ebc-hero__sub{max-width:640px;font-size:18px;line-height:1.45;color:rgba(17,17,17,.72)
}

.ebc-wrap{
  max-width:1180px;
  margin:-66px auto 52px;
  padding:0 24px;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  box-sizing:border-box;
  position:relative;
  z-index:2;
}


.ebc-bar{
  background:#fff;
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.10);
  padding:14px;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  align-items:end;
}
@media (max-width: 1180px){
  .ebc-bar{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 560px){
  .ebc-bar{grid-template-columns:1fr;}
}

.ebc-field label{display:block;font-size:11px;opacity:.7;margin:0 0 5px}
.ebc-select,.ebc-input{
  width:100%;
  border:1px solid rgba(0,0,0,.14);
  border-radius:10px;
  padding:10px 10px;
  background:#fff;
  font-size:13px;
  box-sizing:border-box;
}


.ebc-filters{margin:14px 0 0}
.ebc-panels{display:block}

.ebc-panel{
  margin-top:14px;
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:14px;
  padding:8px 10px;
}
.ebc-panel summary{cursor:pointer;font-weight:700;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}
.ebc-panel summary::-webkit-details-marker{display:none}
.ebc-panel summary:after{content:'▾';opacity:.55;font-size:12px}
.ebc-panel[open] summary:after{content:'▴'}

.ebc-muted{opacity:.65;font-size:13px;padding:10px 0}

.ebc-hint{font-size:12px;opacity:.7;line-height:1.35;margin-top:6px}
.ebc-hint--error{opacity:1;color:#b42318}

.ebc-tree{display:flex;flex-direction:column;gap:6px;padding:10px 2px}
.ebc-check{display:flex;gap:8px;align-items:flex-start;cursor:pointer;user-select:none;font-size:13px;line-height:1.25}
.ebc-check input{margin-top:2px}
.ebc-check--disabled{opacity:.5;font-size:13px;padding:6px 2px}

.ebc-group{border:1px solid rgba(0,0,0,.07);border-radius:12px;padding:6px 8px;background:rgba(0,0,0,.015)}
.ebc-group summary{cursor:pointer;list-style:none;font-weight:700;font-size:13px}
.ebc-group summary::-webkit-details-marker{display:none}
.ebc-group summary:after{content:'▾';opacity:.55;font-size:12px;float:right}
.ebc-group[open] summary:after{content:'▴'}
.ebc-group__body{padding:8px 0 2px 14px;display:flex;flex-direction:column;gap:6px}

.ebc-statsrow{
  margin:18px 0 10px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  opacity:.9;
  color:#111;
}
.ebc-stats{margin:0}

.ebc-reset-link{
  appearance:none;
  border:0;
  background:transparent !important;
  color:#111 !important;
  padding:6px 8px;
  font-size:13px;
  opacity:.72;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.ebc-reset-link:hover,
.ebc-reset-link:focus{opacity:1;text-decoration:underline;}

/* Hard override for themes that hide/reset button elements */
#ebcReset{
  display:inline-flex !important;
  visibility:visible !important;
}

/* Loading state: only results update (similar to eventbricks-search) */
#ebcResults.ebc-loading{opacity:.55;pointer-events:none;position:relative}
#ebcResults.ebc-loading:before{
  content:'Lade…';
  display:block;
  text-align:center;
  padding:8px 0;
  opacity:.7;
  font-size:13px;
}

/* Pagination */
.ebc-pagination{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:16px 0 0}
.ebc-page{
  appearance:none;
  text-decoration:none;
  padding:8px 11px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.14);
  background:#fff;
  color:inherit;
  font-size:13px;
  cursor:pointer;
}
.ebc-page[disabled]{opacity:.45;cursor:default}
.ebc-page--active{background:#111;color:#fff;border-color:#111}

/* Mobile filter toggle (mobile-first) */
.ebc-filters__head{display:none;align-items:center;justify-content:flex-end;margin:10px 0 0}
.ebc-filter-toggle{
  appearance:none;
  border:1px solid rgba(0,0,0,.15);
  background:#fff !important;
  color:#111 !important;
  border-radius:999px;
  padding:8px 12px;
  font-weight:700;
  cursor:pointer;
  display:inline-flex;
  gap:8px;
  align-items:center;
}
@media (max-width: 760px){
  .ebc-filters__head{display:flex;}
  .ebc-filters.is-collapsed{display:none;}
}

.ebc-events{display:flex;flex-direction:column;gap:10px}
.ebc-event{
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:14px;
  padding:12px 14px;
  display:grid;
  grid-template-columns:160px 1fr auto;
  gap:14px;
  align-items:start;
}
@media (max-width: 760px){
  .ebc-event{grid-template-columns:1fr;}
}

.ebc-event__date{font-weight:800}
.ebc-event__time{opacity:.75;margin-top:2px;font-size:13px}
.ebc-event__title{font-weight:800;font-size:15px;line-height:1.25}
.ebc-event__place{opacity:.78;margin-top:4px;font-size:13px}
.ebc-event__brickline{margin-top:6px;font-size:13px;opacity:.9}
.ebc-event__brick{text-decoration:none;color:inherit;border-bottom:1px dotted rgba(0,0,0,.35)}
.ebc-event__brick:hover{border-bottom-style:solid}

.ebc-event__titlelink{color:inherit;text-decoration:none}
.ebc-event__titlelink:hover,.ebc-event__titlelink:focus{text-decoration:underline}

.ebc-event__link{text-decoration:none;font-weight:700;font-size:13px;opacity:.9}
.ebc-event__link:hover{text-decoration:underline;opacity:1}

.ebc-empty{background:#fff;border:1px solid rgba(0,0,0,.10);border-radius:14px;padding:18px;opacity:.8}

/* Google Places Autocomplete dropdown (some themes place headers/overlays above it) */
.pac-container{z-index:2147483648 !important;}


.ebc-smartbar{
  background:#fff;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.10);
  padding:14px;
  margin-bottom:14px;
}
.ebc-smartrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
.ebc-smartfield{display:flex;flex-direction:column;gap:8px}
.ebc-smartfield label{font-size:12px;font-weight:700;color:rgba(17,17,17,.62)}
.ebc-smartinput{height:48px;border:1px solid #d7dbd2;border-radius:12px;padding:0 14px;font-size:16px;background:#fff}
.ebc-smartchips{display:flex;flex-wrap:wrap;gap:8px}
.ebc-smart-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#f2f4ef;border:1px solid #dde3d5;font-size:13px;font-weight:600;line-height:1;color:#25301f}
.ebc-smart-chip--type{background:#eef5ff;border-color:#d9e8ff;color:#27466f}
.ebc-smart-chip--date{background:#f4f0ff;border-color:#e5dbff;color:#5b49a1}
.ebc-smart-chip--text{background:#f7f8f5;color:#25301f}
.ebc-smarthelp{font-size:12px;color:rgba(17,17,17,.58)}
.ebc-quickranges{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.ebc-quickrange{appearance:none;-webkit-appearance:none;height:40px;padding:0 12px;border-radius:999px;border:1px solid #d7dbd2;background:#fff !important;color:#1a1a1a !important;font-weight:600;font-size:13px;cursor:pointer}
.ebc-quickrange.is-active{border-color:#111;background:#111 !important;color:#fff !important}
@media (max-width: 820px){
  .ebc-smartrow{grid-template-columns:1fr}
  .ebc-quickranges{justify-content:flex-start}
}

.ebc-event{border:1px solid #e5e7e2;border-radius:16px;padding:16px 18px;display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:18px;align-items:flex-start;background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.02)}
.ebc-event + .ebc-event{margin-top:12px}
.ebc-event__badges{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.ebc-badge{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:#f4f5f2;border:1px solid #e3e7de;font-size:11px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:#56624a}
.ebc-badge--today{background:#111;color:#fff;border-color:#111}
.ebc-badge--weekend{background:#eef5ff;border-color:#dce8ff;color:#31528a}
.ebc-badge--soon{background:#f3f0ff;border-color:#e2dcff;color:#5b49a1}
.ebc-event__title{font-size:20px;font-weight:760;line-height:1.15;margin:0 0 8px}
.ebc-event__meta{display:flex;flex-wrap:wrap;gap:10px 14px;color:rgba(17,17,17,.68);font-size:14px}
.ebc-event__place,.ebc-event__brickline{margin-top:4px}
.ebc-event__excerpt{margin-top:10px;font-size:14px;color:rgba(17,17,17,.78)}
.ebc-event__link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:999px;background:#111;color:#fff;text-decoration:none;font-weight:700}
@media (max-width: 720px){
  .ebc-event{grid-template-columns:1fr;gap:12px}
  .ebc-event__when{display:flex;justify-content:space-between;align-items:center}
  .ebc-event__cta{justify-self:start}
}


.ebc-notice{
  margin:14px 0 0;
  padding:12px 14px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  background:#f7f7f4;
  color:#222;
  font-size:13px;
  line-height:1.45;
}
.ebc-notice strong{font-weight:700}


.ebc-domain-switch{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 16px}
.ebc-domain-switch__item{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.10);color:#fff;text-decoration:none;font-weight:700;backdrop-filter:blur(8px)}
.ebc-domain-switch__item.is-active{background:#fff;color:#111;border-color:#fff}

.ebc-smartrow{grid-template-columns:minmax(0,1fr) auto;align-items:end}
.ebc-smartfield{justify-content:end}
.ebc-quickranges{align-items:flex-end}
.ebc-quickrange{height:48px;display:inline-flex;align-items:center;justify-content:center}

.ebc-smart-chip{cursor:pointer;appearance:none;-webkit-appearance:none}
.ebc-smart-chip__label{display:inline-flex;align-items:center}
.ebc-smart-chip__remove{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;background:rgba(0,0,0,.08);font-size:14px;line-height:1}
.ebc-smart-chip--type .ebc-smart-chip__remove{background:rgba(39,70,111,.12)}
.ebc-smart-chip--date .ebc-smart-chip__remove{background:rgba(91,73,161,.12)}

.ebc-filtergrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ebc-panel--flat{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:14px;padding:14px}
.ebc-panel__title{font-size:13px;font-weight:800;margin:0 0 10px;color:#111}
.ebc-pillset{display:flex;flex-wrap:wrap;gap:8px}
.ebc-pillcheck{position:relative;display:inline-flex}
.ebc-pillcheck input{position:absolute;opacity:0;pointer-events:none}
.ebc-pillcheck span{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid #d7dbd2;background:#fff;color:#1a1a1a;font-size:13px;font-weight:700;cursor:pointer}
.ebc-pillcheck input:checked + span{background:#111;border-color:#111;color:#fff}

.ebc-event__cta{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;justify-content:flex-end}
.ebc-event__link--ghost{background:#fff;color:#111;border:1px solid rgba(0,0,0,.12)}

@media (max-width: 820px){
  .ebc-filtergrid{grid-template-columns:1fr}
}
@media (max-width: 720px){
  .ebc-domain-switch{margin-bottom:12px}
  .ebc-event__cta{justify-content:flex-start}
}

.ebc-quickranges .ebc-quickrange{color:#1a1a1a !important;background:#fff !important}
.ebc-quickranges .ebc-quickrange.is-active{color:#fff !important;background:#111 !important}


/* v1.5 polish */
.ebc-smartfield label{margin:0 0 6px;}
.ebc-smartinput{box-sizing:border-box;width:100%;}
.ebc-smartrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;}
.ebc-quickranges{display:flex;flex-wrap:wrap;gap:8px;align-items:end;justify-content:flex-end;}
.ebc-quickranges .ebc-quickrange,
button.ebc-quickrange,
button.ebc-quickrange:not(.is-active){
  appearance:none;
  -webkit-appearance:none;
  background:#fff !important;
  color:#1a1a1a !important;
  border:1px solid #d7dbd2 !important;
  box-shadow:none !important;
}
.ebc-quickranges .ebc-quickrange:hover,
button.ebc-quickrange:hover,
button.ebc-quickrange:focus{
  background:#f4f5f2 !important;
  color:#111 !important;
  border-color:#c8cfc0 !important;
}
.ebc-quickranges .ebc-quickrange.is-active,
button.ebc-quickrange.is-active,
button.ebc-quickrange.is-active:hover,
button.ebc-quickrange.is-active:focus{
  background:#111 !important;
  color:#fff !important;
  border-color:#111 !important;
}

.ebc-event{
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.ebc-event:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 34px rgba(17,17,17,.08);
  border-color:#d9ddd3;
}
.ebc-event__when{min-width:0;}
.ebc-event__date{font-size:15px;line-height:1.15;}
.ebc-event__time{font-size:12px;letter-spacing:.01em;}
.ebc-event__main{min-width:0;}
.ebc-event__title{letter-spacing:-.015em;}
.ebc-event__meta{margin-top:2px;}
.ebc-event__place,.ebc-event__brickline{display:inline-flex;align-items:center;gap:6px;}
.ebc-event__cta{gap:8px;}
.ebc-event__link,
.ebc-event__link:hover,
.ebc-event__link:focus{
  text-decoration:none;
}
.ebc-event__link--ghost{
  background:#fff;
  color:#111;
  border:1px solid rgba(0,0,0,.12);
}
.ebc-event__link--ghost:hover,
.ebc-event__link--ghost:focus{
  background:#f5f5f2;
  color:#111;
}
.ebc-event__link:not(.ebc-event__link--ghost){
  background:#111;
  color:#fff;
  border:1px solid #111;
}
.ebc-event__link:not(.ebc-event__link--ghost):hover,
.ebc-event__link:not(.ebc-event__link--ghost):focus{
  background:#222;
  color:#fff;
}

@media (max-width: 820px){
  .ebc-smartrow{grid-template-columns:1fr;gap:10px;}
  .ebc-quickranges{justify-content:flex-start;}
}
@media (max-width: 720px){
  .ebc-smartbar{padding:12px;}
  .ebc-smartfield{gap:6px;}
  .ebc-smartfield label{margin-bottom:0;}
  .ebc-smartinput{height:46px;}
  .ebc-quickranges{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;}
  .ebc-quickranges .ebc-quickrange{width:100%;min-width:0;height:44px;padding:0 10px;}
  .ebc-event{padding:14px 14px 15px;gap:12px;}
  .ebc-event__cta{display:grid;grid-template-columns:1fr;gap:8px;width:100%;}
  .ebc-event__link{width:100%;}
}
@media (max-width: 560px){
  .ebc-quickranges{grid-template-columns:repeat(2,minmax(0,1fr));}
}


/* v1.6 fixes */
.ebc-domain-switch{display:none !important;}
.ebc-quickranges .ebc-quickrange,
button.ebc-quickrange,
button.ebc-quickrange:not(.is-active){
  background:#fff !important;
  color:#1a1a1a !important;
  border:1px solid #d7dbd2 !important;
  box-shadow:none !important;
}
.ebc-quickranges .ebc-quickrange.is-active,
button.ebc-quickrange.is-active,
button.ebc-quickrange.is-active:hover,
button.ebc-quickrange.is-active:focus{
  background:#f5f5f2 !important;
  color:#111 !important;
  border-color:#cfd4c8 !important;
}
.ebc-badge--today{
  background:#f5f5f2 !important;
  color:#111 !important;
  border:1px solid #d7dbd2 !important;
}
@media (min-width: 721px){
  .ebc-event__cta{display:flex;flex-wrap:wrap;justify-content:flex-end;}
  .ebc-event__link--ghost{background:#fff !important;color:#111 !important;border:1px solid rgba(0,0,0,.12) !important;}
}
@media (max-width: 720px){
  .ebc-smartfield label{display:block;margin-bottom:6px;}
  .ebc-smartrow{display:grid;grid-template-columns:1fr !important;gap:10px !important;align-items:stretch !important;}
  .ebc-smartfield{display:block;}
  .ebc-quickranges{display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;justify-content:stretch !important;align-items:stretch !important;}
  .ebc-quickranges .ebc-quickrange{width:100%;height:44px;}
}
@media (max-width: 560px){
  .ebc-quickranges{grid-template-columns:repeat(2,minmax(0,1fr));}
}


/* v1.7 menu + filter polish */
@media (min-width: 721px){
  .ebc-event__cta{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;}
  .ebc-event__link--ghost{background:#fff !important;color:#111 !important;border:1px solid rgba(0,0,0,.12) !important;}
}


/* v1.9 alignment + menu + CTA cleanups */
.ebc-smartrow{align-items:start !important;}
.ebc-quickranges{align-self:start;margin-top:28px;}
.ebc-quickranges .ebc-quickrange,
button.ebc-quickrange,
button.ebc-quickrange:not(.is-active){
  background:#fff !important;
  color:#1a1a1a !important;
  border:1px solid #d7dbd2 !important;
}
.ebc-quickranges .ebc-quickrange.is-active,
button.ebc-quickrange.is-active,
button.ebc-quickrange.is-active:hover,
button.ebc-quickrange.is-active:focus{
  background:#f3f5f0 !important;
  color:#111 !important;
  border-color:#c8cfc0 !important;
}
@media (max-width: 720px){
  .ebc-smartrow{grid-template-columns:1fr !important;align-items:stretch !important;}
  .ebc-quickranges{margin-top:0;display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;}
}
@media (max-width: 560px){
  .ebc-quickranges{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (min-width: 721px){
  .ebc-event__cta{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;}
  .ebc-event__link{background:#111 !important;color:#fff !important;border:1px solid #111 !important;}
}


/* v2.0 menu + search alignment */
.ebc-smartrow{align-items:start !important;}
.ebc-quickranges{align-self:start !important;margin-top:0 !important;padding-top:26px !important;}
.ebc-quickranges .ebc-quickrange,
button.ebc-quickrange,
button.ebc-quickrange:not(.is-active){background:#fff !important;color:#1a1a1a !important;border:1px solid #d7dbd2 !important;}
.ebc-quickranges .ebc-quickrange.is-active,
button.ebc-quickrange.is-active,
button.ebc-quickrange.is-active:hover,
button.ebc-quickrange.is-active:focus{background:#f3f5f0 !important;color:#111 !important;border-color:#c8cfc0 !important;}
@media (max-width: 720px){
  .ebc-smartrow{grid-template-columns:1fr !important;align-items:stretch !important;}
  .ebc-quickranges{padding-top:0 !important;margin-top:0 !important;display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;}
}
@media (max-width: 560px){
  .ebc-quickranges{grid-template-columns:repeat(2,minmax(0,1fr));}
}


.ebc-field--place-actions,.ebc-place-suggest{margin-top:8px}
.ebc-place-suggest{display:flex;flex-wrap:wrap;gap:8px}
.ebc-place-suggest__btn{
  appearance:none;
  -webkit-appearance:none;
  border:1px solid #d7dbd2;
  background:#fff !important;
  color:#1a1a1a !important;
  border-radius:999px;
  min-height:36px;
  padding:0 12px;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.ebc-place-suggest__btn:hover,.ebc-place-suggest__btn:focus{border-color:#111;outline:none}
.ebc-place-suggest__btn[disabled]{opacity:.55;cursor:default}


/* v2.2 current location + menu polish */
.ebc-smartrow{display:grid !important;grid-template-columns:minmax(0,1fr) auto !important;gap:12px !important;align-items:start !important;}
.ebc-qfield{display:grid !important;grid-template-rows:auto auto auto !important;align-content:start !important;}
.ebc-qfield > .ebc-input{min-height:44px;}
.ebc-quickranges{display:flex !important;flex-wrap:wrap;gap:8px;align-items:center !important;align-self:start !important;height:44px !important;margin-top:24px !important;padding-top:0 !important;}
.ebc-quickranges .ebc-quickrange{min-height:44px;display:inline-flex;align-items:center;justify-content:center;}
@media (max-width: 720px){
  .ebc-smartrow{grid-template-columns:1fr !important;}
  .ebc-quickranges{height:auto !important;margin-top:0 !important;}
}
.ebc-place-suggest{margin-top:6px;display:block !important;}
.ebc-place-suggest__btn{appearance:none;background:none !important;border:none !important;padding:0 !important;color:inherit !important;opacity:.72;cursor:pointer;font-size:13px;line-height:1.3;text-decoration:none;border-radius:0 !important;min-height:0 !important;font-weight:400 !important;display:inline-flex;align-items:center;gap:4px;}
.ebc-place-suggest__btn:hover,.ebc-place-suggest__btn:focus{opacity:1;text-decoration:none;outline:none;}
.ebc-place-suggest__btn[disabled]{opacity:.72;cursor:default;}


/* v2.3 cleanup */
.ebc-bar{align-items:start !important;}
.ebc-smartrow{grid-template-columns:minmax(0,1fr) auto !important;align-items:center !important;}
.ebc-smartfield{align-self:stretch;}
.ebc-smartfield label{display:block;margin:0 0 6px;}
.ebc-smartinput{height:44px;}
.ebc-quickranges{align-self:center !important;justify-content:flex-end;gap:8px;}
.ebc-quickranges .ebc-quickrange{height:44px;display:inline-flex;align-items:center;justify-content:center;}
.ebc-place-suggest{margin-top:6px;}
.ebc-place-suggest__btn{appearance:none;background:none;border:none;padding:0;color:inherit;opacity:.72;cursor:pointer;font-size:13px;line-height:1.3;text-decoration:none;}
.ebc-place-suggest__btn:hover,.ebc-place-suggest__btn:focus{opacity:1;text-decoration:none;}
@media (max-width: 900px){
  .ebc-smartrow{grid-template-columns:1fr !important;align-items:stretch !important;}
  .ebc-quickranges{align-self:stretch !important;justify-content:flex-start !important;}
}


/* v2.6.4 event card fine tuning */
.ebc-event__brick{
  font-weight:600;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:2px;
  border-bottom:0;
}
.ebc-event__brick:hover,
.ebc-event__brick:focus{
  text-decoration-thickness:2px;
}


/* v2.6.6 alignment polish */
.ebc-smartrow{align-items:start !important;}
.ebc-smartfield{align-self:start !important;}
.ebc-quickranges{align-self:start !important;justify-content:flex-end !important;padding-top:24px !important;height:auto !important;margin-top:0 !important;}
.ebc-quickranges .ebc-quickrange{height:44px !important;display:inline-flex;align-items:center;justify-content:center;}
@media (max-width: 900px){
  .ebc-smartrow{align-items:stretch !important;}
  .ebc-quickranges{padding-top:0 !important;justify-content:flex-start !important;}
}

/* v2.6.7 grid fix: align quick range buttons with labeled fields */
.ebc-smartrow{
  align-items:start !important;
}
.ebc-smartfield{
  align-self:start !important;
}
.ebc-quickranges{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  align-content:flex-start !important;
  align-items:center !important;
  align-self:start !important;
  justify-content:flex-end !important;
  margin-top:0 !important;
  padding-top:0 !important;
  height:auto !important;
}
.ebc-quickranges::before{
  content:"Zeitraum";
  display:block;
  width:100%;
  font-size:11px;
  line-height:1.2;
  margin:0 0 5px;
  visibility:hidden;
}
.ebc-quickranges .ebc-quickrange{
  min-height:40px !important;
  height:40px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}
@media (max-width: 720px){
  .ebc-quickranges::before{display:none !important;}
  .ebc-quickranges{
    justify-content:flex-start !important;
  }
}

/* v2.6.8 quick range vertical alignment */
.ebc-smartrow{
  align-items:start !important;
}
.ebc-smartfield{
  align-self:start !important;
}
.ebc-quickranges{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  align-items:center !important;
  align-content:flex-start !important;
  align-self:start !important;
  justify-content:flex-end !important;
  margin-top:0 !important;
  padding-top:0 !important;
  height:auto !important;
}
.ebc-quickranges::before{
  content:"" !important;
  display:block !important;
  width:100% !important;
  height:28px !important;
  margin:0 !important;
  visibility:hidden !important;
}
.ebc-quickranges .ebc-quickrange{
  min-height:40px !important;
  height:40px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}
@media (max-width: 720px){
  .ebc-quickranges::before{display:none !important; height:0 !important;}
  .ebc-quickranges{justify-content:flex-start !important;}
}


/* Events landing page should mirror brick landing pages, but with event search */
body.ebc-events-route .entry-header{display:none !important;}
body.ebc-events-route .inside-article{
  padding:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  border:0 !important;
}
body.ebc-events-route .inside-article > .entry-content{margin-top:0 !important;}
body.ebc-events-route .site-main,
body.ebc-events-route.separate-containers .site-main{margin:0 !important;}

.ebc-events-page__hero-inner{max-width:1180px;margin:0 auto;width:100%;padding:0 24px;box-sizing:border-box;}
.ebc-events-page__breadcrumbs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px;font-size:14px;color:rgba(17,17,17,.68)}
.ebc-events-page__breadcrumbs a{color:inherit;text-decoration:none}
.ebc-events-page__breadcrumbs a:hover{text-decoration:underline}
.ebc-events-page__search-shell{position:relative;z-index:2}
body.ebc-events-route .ebc-events-page .ebc-wrap{margin:-40px auto 52px !important;position:relative;z-index:3;}

@media (max-width: 768px){
  .ebc-events-page__breadcrumbs{margin-bottom:10px;font-size:13px}
  body.ebc-events-route .ebc-events-page .ebc-wrap{margin:-24px auto 32px !important;}
}


/* Event landing page: use brick-landing style wrapper, but keep the normal event search shell */
body.ebc-events-route .entry-header{display:none !important;}
body.ebc-events-route .inside-article{padding:0 !important;background:transparent !important;box-shadow:none !important;border:0 !important;}
body.ebc-events-route .inside-article > .entry-content{margin-top:0 !important;}
body.ebc-events-route .site-main,
body.ebc-events-route.separate-containers .site-main{margin:0 !important;}

.ebce-page-wrap{padding:0 0 28px;}
.ebce-hero{margin-top:0;padding:54px 0 110px;background:linear-gradient(180deg,#f7f8f5 0%,#ecefe8 100%);position:relative;}
.ebce-hero__inner{max-width:1180px;margin:0 auto;width:100%;padding:0 24px;box-sizing:border-box;}
.ebce-breadcrumbs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px;font-size:14px;color:rgba(17,17,17,.68);}
.ebce-breadcrumbs a{color:inherit;text-decoration:none;}
.ebce-breadcrumbs a:hover{text-decoration:underline;}
.ebce-kicker{color:#6f8f56;letter-spacing:.14em;text-transform:uppercase;font-size:12px;font-weight:700;}
.ebce-title{margin:.35rem 0 .55rem;max-width:760px;font-size:clamp(34px,4vw,56px);line-height:1.02;font-weight:760;letter-spacing:-.02em;}
.ebce-intro{max-width:640px;font-size:18px;line-height:1.45;color:rgba(17,17,17,.72);}
.ebce-search-shell{position:relative;z-index:2;}
body.ebc-events-route .ebce-page-wrap .ebc-wrap{margin:-40px auto 52px !important;position:relative;z-index:3;}

@media (max-width: 768px){
  .ebce-page-wrap{padding-bottom:22px;}
  .ebce-breadcrumbs{margin-bottom:10px;font-size:13px;}
  body.ebc-events-route .ebce-page-wrap .ebc-wrap{margin:-24px auto 32px !important;}
}

/* Event landing related links */
.ebc-related-wrap{max-width:1180px;margin:0 auto;padding:0 24px;box-sizing:border-box;clear:both}
.ebc-related{margin:18px 0 8px;padding:22px 0 0;border-top:1px solid #eee;clear:both}
.ebc-related__block + .ebc-related__block{margin-top:22px}
.ebc-related__title{margin:0 0 12px;font-size:20px;line-height:1.3}
.ebc-related__chips{display:flex;flex-wrap:wrap;gap:10px}
.ebc-related__chip{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border:1px solid #dfe3ea;border-radius:999px;background:#fff;color:#1b1b1b;text-decoration:none;box-shadow:0 1px 2px rgba(17,17,17,.04);transition:background-color .15s ease,border-color .15s ease,transform .15s ease}
.ebc-related__chip:hover{background:#f7f8fa;border-color:#cfd6e0;transform:translateY(-1px)}
@media (max-width: 767px){
  .ebc-related-wrap{padding:0 14px}
  .ebc-related{margin-top:12px;padding-top:18px}
  .ebc-related__block + .ebc-related__block{margin-top:18px}
  .ebc-related__title{font-size:18px;margin-bottom:10px}
  .ebc-related__chips{gap:8px}
  .ebc-related__chip{min-height:36px;padding:0 12px;font-size:14px}
}

/* v2.1 desktop layout finalization */
.ebc-layout{
  background:#fff;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.10);
  padding:14px;
  display:grid;
  grid-template-columns:minmax(0,3fr) 110px 156px 156px 110px;
  grid-template-areas:
    "place radius from to type"
    "assist assist quick quick quick"
    "search search search search search"
    "toggle toggle toggle toggle toggle";
  gap:12px;
  align-items:end;
}

.ebc-bar,.ebc-smartbar{background:transparent;box-shadow:none;padding:0;margin:0;border-radius:0;display:contents;}

.ebc-field--place{grid-area:place;}
.ebc-field--radius{grid-area:radius;}
.ebc-field--from{grid-area:from;}
.ebc-field--to{grid-area:to;}
.ebc-field--type{grid-area:type;}
.ebc-place-assist{grid-area:assist;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:2px;margin-top:-2px;min-height:0;align-self:start;}
.ebc-field--search{grid-area:search;min-width:0;}
.ebc-layout > .ebc-quickranges{grid-area:quick;justify-content:flex-start;align-self:start;margin-top:0;min-width:0;min-height:44px;}
.ebc-layout > .ebc-filters__head{grid-area:toggle;display:none;justify-content:flex-start;margin:0;}

.ebc-place-suggest{display:block;}
.ebc-place-suggest__btn{
  appearance:none;
  border:0;
  background:transparent !important;
  padding:0;
  color:#111 !important;
  font-size:14px;
  cursor:pointer;
}
.ebc-place-suggest__btn:hover,.ebc-place-suggest__btn:focus{text-decoration:underline;}

.ebc-layout .ebc-field label,
.ebc-layout .ebc-smartfield label{display:block;font-size:11px;opacity:.7;margin:0 0 5px;}
.ebc-layout .ebc-smartinput,
.ebc-layout .ebc-select,
.ebc-layout .ebc-input{height:44px;font-size:14px;}
.ebc-layout .ebc-smartchips{margin-top:8px;}
.ebc-layout .ebc-smarthelp{margin-top:6px;}
.ebc-layout > .ebc-quickranges{display:flex;flex-wrap:wrap;gap:8px;overflow:visible;padding-bottom:0;}
.ebc-layout > .ebc-quickranges .ebc-quickrange{height:44px;white-space:nowrap;}

#ebcCalendarForm:not(.ebc-has-type) .ebc-filters,
#ebcCalendarForm:not(.ebc-has-type) .ebc-filters__head{display:none !important;}

@media (min-width: 901px){
  .ebc-field--type .ebc-select{min-width:0;}
  .ebc-place-assist{padding-top:0;}
  .ebc-layout > .ebc-quickranges{padding-top:2px;}
  .ebc-field--search{max-width:none;}
}

@media (max-width: 900px){
  .ebc-layout{
    grid-template-columns:minmax(0,3fr) 96px;
    grid-template-areas:
      "place radius"
      "assist assist"
      "quick quick"
      "from to"
      "search type"
      "toggle toggle";
  }
  .ebc-layout > .ebc-quickranges{
    overflow-x:auto;
    flex-wrap:nowrap;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    padding-bottom:2px;
  }
  .ebc-layout > .ebc-quickranges::-webkit-scrollbar{display:none;}
  .ebc-layout > .ebc-quickranges .ebc-quickrange{flex:0 0 auto;}
  .ebc-field--search{min-width:0;}
  .ebc-field--type{min-width:0;}
}

@media (max-width: 560px){
  .ebc-wrap{margin-top:-54px;}
  .ebc-layout{padding:12px;gap:10px;grid-template-columns:minmax(0,3fr) 92px;}
  .ebc-layout .ebc-smartinput,
  .ebc-layout .ebc-select,
  .ebc-layout .ebc-input{height:42px;font-size:13px;padding:8px 10px;}
  .ebc-layout > .ebc-quickranges .ebc-quickrange{height:40px;padding:0 12px;font-size:13px;}
}


/* v2.1.1 desktop alignment polish */
@media (min-width: 901px){
  .ebc-layout{
    row-gap:8px;
  }
  .ebc-place-assist{
    padding-top:0;
    margin-top:0;
    gap:4px;
    min-height:auto;
  }
  .ebc-layout > .ebc-quickranges{
    justify-content:flex-start !important;
    align-self:start;
    margin:0;
    padding:0;
    min-height:auto;
  }
  .ebc-layout > .ebc-quickranges::before{
    display:none !important;
    content:none !important;
    width:0 !important;
    height:0 !important;
    margin:0 !important;
  }
}


/* v2.1.2 mobile layout finalization */
@media (max-width: 900px){
  .ebc-layout{
    grid-template-columns:minmax(0,3fr) minmax(0,1fr);
    grid-template-areas:
      "place radius"
      "assist assist"
      "from to"
      "quick quick"
      "search type"
      "toggle toggle";
    align-items:end;
  }

  .ebc-field--place,
  .ebc-field--search,
  .ebc-field--from,
  .ebc-field--to{min-width:0;}

  .ebc-field--radius,
  .ebc-field--type{min-width:0;}

  .ebc-field--from,
  .ebc-field--to{
    width:100%;
  }

  .ebc-field--from .ebc-input,
  .ebc-field--to .ebc-input,
  .ebc-field--from input,
  .ebc-field--to input{
    width:100%;
    min-width:0;
    box-sizing:border-box;
  }

  .ebc-layout > .ebc-quickranges{
    display:flex !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    gap:8px;
    width:100%;
    justify-content:flex-start !important;
    align-items:center !important;
    padding:0 0 2px 0 !important;
    margin:0 !important;
    min-height:0 !important;
  }
  .ebc-layout > .ebc-quickranges::-webkit-scrollbar{display:none;}
  .ebc-layout > .ebc-quickranges::before{display:none !important;content:none !important;}
  .ebc-layout > .ebc-quickranges .ebc-quickrange{
    flex:0 0 auto !important;
    width:auto !important;
    min-width:max-content !important;
    white-space:nowrap !important;
    height:40px !important;
    padding:0 14px !important;
    font-size:13px !important;
  }

  .ebc-layout > .ebc-filters__head{
    display:flex;
    justify-content:flex-start;
    margin:0;
  }
  .ebc-layout > .ebc-filters__head .ebc-filter-toggle{
    width:100%;
    justify-content:center;
    min-height:42px;
  }
}

@media (max-width: 560px){
  .ebc-layout{
    padding:12px;
    gap:10px;
    grid-template-columns:minmax(0,3fr) minmax(0,1fr);
  }

  .ebc-layout .ebc-input,
  .ebc-layout .ebc-select,
  .ebc-layout .ebc-smartinput{
    height:42px;
    font-size:13px;
    padding:8px 10px;
  }

  .ebc-place-assist{
    margin-top:0;
    gap:2px;
  }

  .ebc-layout > .ebc-quickranges .ebc-quickrange{
    height:40px !important;
    padding:0 12px !important;
  }
}

/* v2.1.3 mobile date fields equal widths */
@media (max-width: 900px){
  .ebc-layout{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
    grid-template-areas:
      "place place place radius"
      "assist assist assist assist"
      "from from to to"
      "quick quick quick quick"
      "search search search type"
      "toggle toggle toggle toggle";
  }

  .ebc-field--from,
  .ebc-field--to{
    width:auto;
    min-width:0;
  }

  .ebc-field--from .ebc-input,
  .ebc-field--to .ebc-input,
  .ebc-field--from input,
  .ebc-field--to input{
    width:100%;
    min-width:0;
    box-sizing:border-box;
  }
}
