/* source-md5:e8db002ac35058d1dd4f6ce521dc91d6 */
/* GENERIERT aus kurabu.css – nicht bearbeiten. Neu erzeugen mit: node tools/build-css.mjs */
/* Inherits the site's typography */
body:not(#kurabu-guard) .kurabu-events,body:not(#kurabu-guard) .kurabu-content-wrap,body:not(#kurabu-guard) .kurabu-departments,body:not(#kurabu-guard) .kurabu-department-detail,body:not(#kurabu-guard) .kurabu-team-detail,body:not(#kurabu-guard) .kurabu-modal,body:not(#kurabu-guard) .kurabu-error,body:not(#kurabu-guard) .kurabu-empty{
  --sg-blue:#21539a;
  --sg-blue-dark:#173d73;
  --sg-blue-soft:#eef4fb;
  --sg-ink:#20252b;
  --sg-muted:#6f747b;
  --sg-line:#e5e8ec;
  --sg-surface:#fff;
  --sg-danger:#b32d2e;
  --sg-radius:3px;
  font:inherit;
  color:var(--sg-ink);
  text-align:left; /* Page-Builder-Module (z. B. Nimble) vererben sonst text-align:center */
}
body:not(#kurabu-guard) .kurabu-events *,body:not(#kurabu-guard) .kurabu-content-wrap *,body:not(#kurabu-guard) .kurabu-departments *,body:not(#kurabu-guard) .kurabu-department-detail *,body:not(#kurabu-guard) .kurabu-team-detail *,body:not(#kurabu-guard) .kurabu-modal *{box-sizing:border-box}
body:not(#kurabu-guard) .kurabu-heading{margin:0 0 1.5rem;font:inherit;font-size:clamp(1.7rem,3vw,2.35rem);font-weight:700;line-height:1.15;color:var(--sg-ink)}

/* Button covering the whole card */
body:not(#kurabu-guard) .kurabu-open{all:unset;cursor:pointer;color:inherit;font:inherit}
body:not(#kurabu-guard) .kurabu-open::after{content:"";position:absolute;inset:0}
body:not(#kurabu-guard) .kurabu-open:focus-visible{outline:0}
body:not(#kurabu-guard) .kurabu-event:focus-within{outline:2px solid var(--sg-blue);outline-offset:2px}

/* Filters */
body:not(#kurabu-guard) .kurabu-filters{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;margin:0 0 1.5rem;padding:0;border:0}
body:not(#kurabu-guard) .kurabu-filters button{appearance:none;-webkit-appearance:none;border:1px solid var(--sg-line);background:var(--sg-surface);color:var(--sg-ink);border-radius:2px;padding:.62rem .9rem;font:inherit;font-size:.78rem;font-weight:700;line-height:1;text-transform:uppercase;letter-spacing:.035em;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease}
body:not(#kurabu-guard) .kurabu-filters button:hover,body:not(#kurabu-guard) .kurabu-filters button:focus-visible{border-color:var(--sg-blue);color:var(--sg-blue);outline:0}
body:not(#kurabu-guard) .kurabu-filters button.is-active{background:var(--sg-blue);border-color:var(--sg-blue);color:#fff}

body:not(#kurabu-guard) .kurabu-month{position:relative;margin:2.2rem 0 .8rem;padding:0 0 .55rem;font:inherit;font-size:1.28rem;font-weight:700;line-height:1.2;color:var(--sg-ink);border-bottom:2px solid var(--sg-blue)}
body:not(#kurabu-guard) .kurabu-month:first-child{margin-top:.4rem}
body:not(#kurabu-guard) .kurabu-month[hidden]{display:none}

/* Month navigation */
body:not(#kurabu-guard) .kurabu-month-nav{display:flex;align-items:center;gap:.6rem;margin:0 0 1.1rem;padding:.7rem .9rem;background:var(--sg-blue);color:#fff;border-radius:var(--sg-radius)}
body:not(#kurabu-guard) .kurabu-month-nav .kurabu-month-title{flex:1 1 auto;margin:0;font:inherit;font-size:1.3rem;font-weight:800;line-height:1.2;color:#fff;text-transform:uppercase;letter-spacing:.03em;outline:0}
body:not(#kurabu-guard) .kurabu-month-arrow{order:2;display:inline-grid;place-items:center;width:2.2rem;height:2.2rem;border:1px solid rgba(255,255,255,.55);border-radius:50%;color:#fff!important;font-size:1.4rem;line-height:1;text-decoration:none!important;transition:background .18s ease}
body:not(#kurabu-guard) .kurabu-month-arrow:hover,body:not(#kurabu-guard) .kurabu-month-arrow:focus-visible{background:rgba(255,255,255,.18);outline:0}
body:not(#kurabu-guard) .kurabu-month-arrow.is-disabled{opacity:.35}
body:not(#kurabu-guard) .kurabu-month-nav .kurabu-month-title{order:1}
body:not(#kurabu-guard) .kurabu-month-today{order:3;padding:.45rem .7rem;border:1px solid rgba(255,255,255,.55);border-radius:2px;color:#fff!important;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;text-decoration:none!important}
body:not(#kurabu-guard) .kurabu-month-today:hover,body:not(#kurabu-guard) .kurabu-month-today:focus-visible{background:rgba(255,255,255,.18);outline:0}
body:not(#kurabu-guard) .kurabu-events.is-loading .kurabu-calendar-shell,body:not(#kurabu-guard) .kurabu-events.is-loading .kurabu-filters{opacity:.45;pointer-events:none;transition:opacity .15s ease}
body:not(#kurabu-guard) .kurabu-filters-label{flex:0 0 auto;min-width:4.2rem;color:var(--sg-muted);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
body:not(#kurabu-guard) .kurabu-filters+.kurabu-filters{margin-top:-.9rem}
body:not(#kurabu-guard) .kurabu-filter-empty[hidden],body:not(#kurabu-guard) .kurabu-cal-pager[hidden]{display:none}

/* Filter dropdowns */
body:not(#kurabu-guard) .kurabu-filterbar{display:flex;flex-wrap:wrap;gap:.6rem;margin:0 0 .9rem;padding:.6rem;background:#f1f2f4;border-radius:8px}
body:not(#kurabu-guard) .kurabu-dd{position:relative}
body:not(#kurabu-guard) .kurabu-dd-btn{display:inline-flex;align-items:center;gap:.5rem;min-width:12rem;margin:0;padding:.55rem .8rem;border:1px solid #d9dce1;border-radius:6px;background:#fff;color:var(--sg-ink);font:inherit;font-size:.86rem;line-height:1.3;cursor:pointer;text-align:left}
body:not(#kurabu-guard) .kurabu-dd-btn::after{content:"";margin-left:auto;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid var(--sg-muted)}
body:not(#kurabu-guard) .kurabu-dd-btn[aria-expanded="true"],body:not(#kurabu-guard) .kurabu-dd.is-filtered .kurabu-dd-btn{background:#2b2f33;border-color:#2b2f33;color:#fff}
body:not(#kurabu-guard) .kurabu-dd-btn[aria-expanded="true"]::after,body:not(#kurabu-guard) .kurabu-dd.is-filtered .kurabu-dd-btn::after{border-top-color:#fff}
body:not(#kurabu-guard) .kurabu-dd-btn:focus-visible{outline:2px solid var(--sg-blue);outline-offset:1px}
body:not(#kurabu-guard) .kurabu-dd-menu{position:absolute;z-index:20;top:calc(100% + 4px);left:0;width:max(100%,15rem);max-height:22rem;overflow:auto;padding:4px;border-radius:6px;background:#2b2f33;box-shadow:0 10px 30px rgba(0,0,0,.25)}
body:not(#kurabu-guard) .kurabu-dd-menu[hidden]{display:none}
body:not(#kurabu-guard) .kurabu-dd-item{display:flex;align-items:center;gap:.6rem;width:100%;margin:0 0 2px;padding:.55rem .7rem;border:0;border-radius:3px;background:var(--kc,#f4f5f7);color:#fff;font:inherit;font-size:.84rem;line-height:1.25;text-align:left;cursor:pointer}
body:not(#kurabu-guard) .kurabu-dd-item.is-all{background:#f4f5f7;color:var(--sg-ink)}
/* Items without a color (e.g. type): dark text on light background */
body:not(#kurabu-guard) .kurabu-dd-item:not([style*="--kc"]){background:#f4f5f7!important;color:var(--sg-ink)!important}
body:not(#kurabu-guard) .kurabu-dd-item[style*="--kc"]{background:var(--kc)!important;color:#fff!important}
body:not(#kurabu-guard) .kurabu-dd-item:not([style*="--kc"]):hover,body:not(#kurabu-guard) .kurabu-dd-item:not([style*="--kc"]):focus-visible{background:#fff!important;box-shadow:inset 0 0 0 2px var(--sg-blue)}
body:not(#kurabu-guard) .kurabu-dd-item::before{content:"";flex:0 0 1rem;width:1rem;height:1rem;border-radius:50%;border:2px solid currentColor;box-sizing:border-box;opacity:.6}
body:not(#kurabu-guard) .kurabu-dd-item[aria-pressed="true"]::before{opacity:1;border:0;background:#2b2f33 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/80% no-repeat}
body:not(#kurabu-guard) .kurabu-dd-item[aria-pressed="false"]{filter:saturate(.35);opacity:.7}
body:not(#kurabu-guard) .kurabu-dd-item:hover,body:not(#kurabu-guard) .kurabu-dd-item:focus-visible{filter:brightness(1.08);opacity:1;outline:0;box-shadow:inset 0 0 0 2px rgba(255,255,255,.7)}
body:not(#kurabu-guard) .kurabu-events .screen-reader-text,body:not(#kurabu-guard) .kurabu-team-detail .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* Week/month navigation */
body:not(#kurabu-guard) .kurabu-events.is-week .kurabu-month-nav,body:not(#kurabu-guard) .kurabu-events.is-month .kurabu-month-nav,body:not(#kurabu-guard) .kurabu-events.is-year .kurabu-month-nav,body:not(#kurabu-guard) .kurabu-events.is-monthlist .kurabu-month-nav{background:none;color:var(--sg-ink);padding:0;gap:.5rem}
body:not(#kurabu-guard) .kurabu-events .kurabu-month-nav .kurabu-month-title{order:2;flex:0 1 auto;color:var(--sg-ink);font-size:1rem;letter-spacing:.02em}
body:not(#kurabu-guard) .kurabu-events .kurabu-month-arrow{border-color:#c9cdd3;color:var(--sg-ink)!important;width:2rem;height:2rem;font-size:1.25rem}
body:not(#kurabu-guard) .kurabu-events .kurabu-month-arrow.is-prev{order:1}body:not(#kurabu-guard) .kurabu-events .kurabu-month-arrow.is-next{order:3}
body:not(#kurabu-guard) .kurabu-events .kurabu-month-arrow:hover,body:not(#kurabu-guard) .kurabu-events .kurabu-month-arrow:focus-visible{background:#eef1f4}
body:not(#kurabu-guard) .kurabu-events .kurabu-month-today{order:4;margin-left:.3rem;border:0;background:#2fa4e7;color:#fff!important;border-radius:999px;padding:.45rem .9rem}
body:not(#kurabu-guard) .kurabu-events .kurabu-month-today:hover,body:not(#kurabu-guard) .kurabu-events .kurabu-month-today:focus-visible{background:#1b8ccc}
/* View switcher */
body:not(#kurabu-guard) .kurabu-viewswitch{order:5;display:inline-flex;margin-left:auto;padding:3px;border-radius:999px;background:#eef0f3}
body:not(#kurabu-guard) .kurabu-viewswitch a,body:not(#kurabu-guard) .kurabu-viewswitch span{display:inline-flex;align-items:center;padding:.4rem .95rem;border-radius:999px;color:var(--sg-ink)!important;font-size:.78rem;font-weight:700;text-decoration:none!important;line-height:1.2}
body:not(#kurabu-guard) .kurabu-viewswitch a:hover,body:not(#kurabu-guard) .kurabu-viewswitch a:focus-visible{background:#fff;outline:0}
body:not(#kurabu-guard) .kurabu-viewswitch .is-active{background:#2b2f33;color:#fff!important}

/* Year view */
body:not(#kurabu-guard) .kurabu-year{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
body:not(#kurabu-guard) .kurabu-ymonth{padding:.8rem .7rem .7rem;border:1px solid #e3e5e8;border-radius:6px;background:#fff}
body:not(#kurabu-guard) .kurabu-ymonth.is-past{opacity:.55}
body:not(#kurabu-guard) .kurabu-ymonth h4{margin:0 0 .5rem;font:inherit;font-size:.95rem;font-weight:800}
body:not(#kurabu-guard) .kurabu-ymonth h4 a{color:var(--sg-ink)!important;text-decoration:none!important}
body:not(#kurabu-guard) .kurabu-ymonth h4 a:hover,body:not(#kurabu-guard) .kurabu-ymonth h4 a:focus-visible{color:var(--sg-blue)!important}
body:not(#kurabu-guard) .kurabu-ymonth-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}
body:not(#kurabu-guard) .kurabu-ywd{padding-bottom:.25rem;font-size:.6rem;font-weight:700;text-transform:uppercase;color:var(--sg-muted)}
body:not(#kurabu-guard) .kurabu-yday{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-height:2.15rem;padding:.2rem 0 .15rem;border-radius:4px;color:#9aa0a6;font-size:.74rem;line-height:1.2;text-decoration:none!important}
body:not(#kurabu-guard) .kurabu-yday.has-events{color:var(--sg-ink)!important;font-weight:700;cursor:pointer}
body:not(#kurabu-guard) .kurabu-yday.has-events:hover,body:not(#kurabu-guard) .kurabu-yday.has-events:focus-visible{background:#eef1f4;outline:0}
body:not(#kurabu-guard) .kurabu-yday.has-events:focus-visible{box-shadow:inset 0 0 0 2px var(--sg-blue)}
body:not(#kurabu-guard) .kurabu-yday.is-today .d{display:grid;place-items:center;min-width:1.35rem;height:1.35rem;border-radius:4px;background:#f47c7c;color:#fff}
body:not(#kurabu-guard) .kurabu-yday.is-past.has-events{font-weight:600}
body:not(#kurabu-guard) .kurabu-ydots{display:flex;flex-wrap:wrap;justify-content:center;gap:2px;max-width:100%;margin-top:2px}
body:not(#kurabu-guard) .kurabu-ydot{width:6px;height:6px;border-radius:50%;background:var(--kc,#21539a)}
body:not(#kurabu-guard) .kurabu-ydot[hidden]{display:none}
/* Days with all dots filtered out look empty */
body:not(#kurabu-guard) .kurabu-yday.has-events:not(:has(.kurabu-ydot:not([hidden]))){color:#9aa0a6!important;font-weight:400;pointer-events:none}
@container (max-width:900px){body:not(#kurabu-guard) .kurabu-year{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container (max-width:680px){body:not(#kurabu-guard) .kurabu-year{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}}
@container (max-width:430px){body:not(#kurabu-guard) .kurabu-year{grid-template-columns:1fr}body:not(#kurabu-guard) .kurabu-yday{min-height:2.6rem;font-size:.85rem}body:not(#kurabu-guard) .kurabu-ydot{width:7px;height:7px}}

/* Month grid */
body:not(#kurabu-guard) .kurabu-mgrid{border:1px solid #e3e5e8;border-radius:6px;overflow:hidden;background:#fff}
body:not(#kurabu-guard) .kurabu-mgrid-head{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:#f6f7f8;border-bottom:1px solid #e3e5e8}
body:not(#kurabu-guard) .kurabu-mgrid-head span{padding:.55rem .3rem;text-align:center;font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--sg-muted)}
body:not(#kurabu-guard) .kurabu-mgrid-body{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
body:not(#kurabu-guard) .kurabu-mgrid-day{min-width:0;min-height:6.5rem;padding:.35rem;border-right:1px solid #e3e5e8;border-bottom:1px solid #e3e5e8}
body:not(#kurabu-guard) .kurabu-mgrid-day:nth-child(7n){border-right:0}
body:not(#kurabu-guard) .kurabu-mgrid-date{display:flex;justify-content:flex-end;margin-bottom:.3rem}
body:not(#kurabu-guard) .kurabu-mgrid-date .wday{display:none}
body:not(#kurabu-guard) .kurabu-mgrid-date .day{display:grid;place-items:center;min-width:1.7rem;height:1.7rem;padding:0 .25rem;border-radius:5px;font-size:.85rem;font-weight:700;color:var(--sg-ink)}
body:not(#kurabu-guard) .kurabu-mgrid-day.is-today .kurabu-mgrid-date .day{background:#f47c7c;color:#fff}
body:not(#kurabu-guard) .kurabu-mgrid-day.is-other{background:#fafbfc}
body:not(#kurabu-guard) .kurabu-mgrid-day.is-other .kurabu-mgrid-date .day{color:#b0b5ba}
body:not(#kurabu-guard) .kurabu-mgrid-day.is-past .kurabu-tile,body:not(#kurabu-guard) .kurabu-mgrid-day.is-other .kurabu-tile{opacity:.55}
body:not(#kurabu-guard) .kurabu-mgrid-events{display:flex;flex-direction:column;gap:3px}
body:not(#kurabu-guard) .kurabu-tile.is-mini{padding:2px 5px;border-radius:3px;font-size:10.5px;line-height:1.35}
body:not(#kurabu-guard) .kurabu-tile.is-mini .kurabu-open{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-transform:none;font-weight:600}
body:not(#kurabu-guard) .kurabu-tile.is-mini .kurabu-tile-time{display:inline;font-size:inherit;font-weight:700;opacity:.9}

/* Week grid */
body:not(#kurabu-guard) .kurabu-event-list{container-type:inline-size}
body:not(#kurabu-guard) .kurabu-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid #e3e5e8;border-radius:6px;overflow:hidden;background:#fff}
body:not(#kurabu-guard) .kurabu-week-day{min-width:0;border-left:1px solid #e3e5e8}
body:not(#kurabu-guard) .kurabu-week-day:first-child{border-left:0}
body:not(#kurabu-guard) .kurabu-week-head{display:flex;flex-direction:column;align-items:center;gap:.35rem;padding:.7rem .3rem .8rem;background:#f6f7f8;border-bottom:1px solid #e3e5e8}
body:not(#kurabu-guard) .kurabu-week-head .wday{font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--sg-muted)}
body:not(#kurabu-guard) .kurabu-week-head .day{display:grid;place-items:center;min-width:2.4rem;height:2.4rem;padding:0 .3rem;border-radius:6px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.08);font-size:1.25rem;font-weight:700;color:var(--sg-ink)}
body:not(#kurabu-guard) .kurabu-week-day.is-today .kurabu-week-head .day{background:#f47c7c;color:#fff}
body:not(#kurabu-guard) .kurabu-week-events{display:flex;flex-direction:column;gap:5px;padding:.6rem .4rem;min-height:4rem}
body:not(#kurabu-guard) .kurabu-tile{position:relative;padding:5px 7px;border-radius:5px;background:var(--kc,#21539a);color:#fff;font-size:11px;line-height:1.3;cursor:pointer;transition:filter .15s ease,transform .15s ease}
body:not(#kurabu-guard) .kurabu-tile:hover{filter:brightness(1.08);transform:translateY(-1px)}
body:not(#kurabu-guard) .kurabu-tile[hidden]{display:none}
body:not(#kurabu-guard) .kurabu-tile:focus-within{outline:2px solid var(--sg-ink);outline-offset:1px}
body:not(#kurabu-guard) .kurabu-tile-time{display:block;opacity:.85;font-size:10px}
body:not(#kurabu-guard) .kurabu-tile .kurabu-open{display:block;position:static;font-weight:700;text-transform:uppercase;letter-spacing:.01em;overflow-wrap:anywhere;hyphens:auto}
body:not(#kurabu-guard) .kurabu-tile-cancel{display:inline-block;margin-top:2px;padding:0 4px;background:rgba(0,0,0,.35);border-radius:3px;font-size:9px;font-weight:700;text-transform:uppercase}
body:not(#kurabu-guard) .kurabu-tile.is-cancelled .kurabu-open{text-decoration:line-through}
body:not(#kurabu-guard) .kurabu-week-day.is-past .kurabu-tile{opacity:.6}
body:not(#kurabu-guard) .kurabu-event{position:relative}

/* Event bars */
body:not(#kurabu-guard) .kurabu-bar{display:grid;grid-template-columns:3.6rem minmax(0,1fr) minmax(0,15rem);gap:.9rem;align-items:center;margin:0 0 .45rem;padding:.75rem 1rem;border-radius:6px;background:var(--kc,#21539a);color:#fff;cursor:pointer;transition:filter .15s ease}
body:not(#kurabu-guard) .kurabu-bar:hover{filter:brightness(1.07)}
body:not(#kurabu-guard) .kurabu-bar[hidden]{display:none}
body:not(#kurabu-guard) .kurabu-bar:focus-within{outline:2px solid var(--sg-ink);outline-offset:2px}
body:not(#kurabu-guard) .kurabu-bar.is-cancelled h3{text-decoration:line-through}
body:not(#kurabu-guard) .kurabu-bar-date{display:flex;flex-direction:column;align-items:center;text-transform:uppercase;line-height:1}
body:not(#kurabu-guard) .kurabu-bar-date .wday,body:not(#kurabu-guard) .kurabu-bar-date .mon{font-size:.62rem;font-weight:600;letter-spacing:.06em;opacity:.85}
body:not(#kurabu-guard) .kurabu-bar-date .day{margin:.15rem 0;font-size:1.65rem;font-weight:800}
body:not(#kurabu-guard) .kurabu-bar-main{min-width:0}
body:not(#kurabu-guard) .kurabu-bar h3{margin:0;font:inherit;font-size:1rem;font-weight:800;line-height:1.25;color:#fff;text-transform:uppercase}
body:not(#kurabu-guard) .kurabu-bar-sub{margin-top:.15rem;font-size:.78rem;opacity:.9}
body:not(#kurabu-guard) .kurabu-bar-sub:empty{display:none}
body:not(#kurabu-guard) .kurabu-bar-lead{margin-top:.15rem;font-size:.76rem;opacity:.9}
body:not(#kurabu-guard) .kurabu-bar-lead em,body:not(#kurabu-guard) .kurabu-ev-lead em{opacity:.75}
body:not(#kurabu-guard) .kurabu-bar-side{display:flex;flex-direction:column;align-items:flex-start;gap:.2rem;font-size:.76rem;line-height:1.35}
body:not(#kurabu-guard) .kurabu-bar-time{font-weight:700}
body:not(#kurabu-guard) .kurabu-ev-badge{display:inline-block;padding:.12rem .45rem;border-radius:3px;background:#f9d27e;color:#3a2a06;font-size:.62rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
body:not(#kurabu-guard) .kurabu-bar .kurabu-badge{margin:0 .4rem 0 0;padding:.05rem .35rem;font-size:.6rem;background:rgba(0,0,0,.35)}
body:not(#kurabu-guard) .kurabu-bar.is-past{opacity:.6}
body:not(#kurabu-guard) .kurabu-more{display:inline-flex;align-items:center;gap:.4rem;margin:.2rem 0 .4rem;padding:.5rem .95rem;border:1px solid #c9cdd3;border-radius:999px;background:#fff;color:var(--sg-ink);font:inherit;font-size:.78rem;cursor:pointer}
body:not(#kurabu-guard) .kurabu-more::before{content:"+";font-weight:700}
body:not(#kurabu-guard) .kurabu-more:hover,body:not(#kurabu-guard) .kurabu-more:focus-visible{border-color:var(--sg-blue);color:var(--sg-blue);outline:0}
body:not(#kurabu-guard) .kurabu-more[hidden]{display:none}
body:not(#kurabu-guard) .kurabu-events .kurabu-month{margin:1.4rem 0 .6rem;padding:0;border:0;font-size:.95rem;font-weight:800;text-transform:uppercase;letter-spacing:.02em}
@container (max-width:620px){
  body:not(#kurabu-guard) .kurabu-bar{grid-template-columns:3rem minmax(0,1fr);gap:.4rem .75rem;padding:.65rem .8rem}
  body:not(#kurabu-guard) .kurabu-bar-side{grid-column:2;flex-direction:row;flex-wrap:wrap;gap:.2rem .6rem}
  body:not(#kurabu-guard) .kurabu-bar-date .day{font-size:1.4rem}
  body:not(#kurabu-guard) .kurabu-bar h3{font-size:.92rem}
}

/* Event popup */
body:not(#kurabu-guard) .kurabu-ev-modal .kurabu-modal-dialog{width:min(820px,100%);border-radius:15px;background:#fff}
body:not(#kurabu-guard) .kurabu-ev-head{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,12rem);gap:.9rem;align-items:start;padding:1rem 3.4rem 1rem 1rem;background:var(--kc,#21539a);color:#fff}
body:not(#kurabu-guard) .kurabu-ev-head.has-thumb{grid-template-columns:6.5rem auto minmax(0,1fr) minmax(0,12rem)}
body:not(#kurabu-guard) .kurabu-ev-thumb{width:6.5rem;height:6.5rem;object-fit:cover;border-radius:10px;display:block}
body:not(#kurabu-guard) .kurabu-ev-date{display:flex;flex-direction:column;align-items:center;min-width:2.2rem;text-transform:uppercase;line-height:1}
body:not(#kurabu-guard) .kurabu-ev-date .wday,body:not(#kurabu-guard) .kurabu-ev-date .mon{font-size:.62rem;font-weight:600;opacity:.85;letter-spacing:.06em}
body:not(#kurabu-guard) .kurabu-ev-date .day{margin:.15rem 0;font-size:1.7rem;font-weight:800}
body:not(#kurabu-guard) .kurabu-ev-head h3{margin:0;font:inherit;font-size:1.15rem;font-weight:800;line-height:1.2;color:#fff;text-transform:uppercase}
body:not(#kurabu-guard) .kurabu-ev-sub,body:not(#kurabu-guard) .kurabu-ev-lead{margin:.3rem 0 0;font-size:.8rem;opacity:.92}
body:not(#kurabu-guard) .kurabu-ev-headside{display:flex;flex-direction:column;align-items:flex-start;gap:.2rem;font-size:.76rem;line-height:1.35}
body:not(#kurabu-guard) .kurabu-ev-time{font-weight:700}
body:not(#kurabu-guard) .kurabu-ev-head .kurabu-badge{background:rgba(0,0,0,.35)}
body:not(#kurabu-guard) .kurabu-ev-modal .kurabu-modal-close{background:rgba(255,255,255,.95)}
body:not(#kurabu-guard) .kurabu-ev-body{display:flex;flex-direction:column;gap:6px;padding:6px;background:#fff}
body:not(#kurabu-guard) .kurabu-ev-image{border-radius:15px;overflow:hidden;background:#eef1f4}
body:not(#kurabu-guard) .kurabu-ev-image img{display:block;width:100%;max-height:520px;object-fit:cover}
body:not(#kurabu-guard) .kurabu-ev-card{margin:0;padding:1.1rem 1.25rem;border-radius:15px;background:#f3f3f3}
body:not(#kurabu-guard) .kurabu-ev-card h4{display:flex;align-items:center;gap:.5rem;margin:0 0 .6rem;font:inherit;font-size:.95rem;font-weight:800;color:var(--sg-ink)}
body:not(#kurabu-guard) .kurabu-icon{display:inline-block;flex:0 0 auto;width:1em;height:1em;vertical-align:-.125em}
body:not(#kurabu-guard) .kurabu-ev-card h4 .kurabu-icon{width:1.05rem;height:1.05rem}
body:not(#kurabu-guard) .kurabu-ev-headside .kurabu-icon{margin-right:.35rem;opacity:.9}
body:not(#kurabu-guard) .kurabu-ev-time,body:not(#kurabu-guard) .kurabu-ev-loc{display:flex;align-items:baseline}
body:not(#kurabu-guard) .kurabu-ev-loc .kurabu-icon{flex:0 0 auto;transform:translateY(.1em)}
body:not(#kurabu-guard) .kurabu-ev-more .kurabu-icon{width:.7rem;height:.7rem}
body:not(#kurabu-guard) .kurabu-ev-address{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-top:.2rem!important}
body:not(#kurabu-guard) .kurabu-copy{display:inline-grid;place-items:center;width:2rem;height:2rem;margin:0;padding:0;border:0;border-radius:6px;background:transparent;color:var(--sg-ink);cursor:pointer}
body:not(#kurabu-guard) .kurabu-copy:hover,body:not(#kurabu-guard) .kurabu-copy:focus-visible{background:#e3e4e6;outline:0}
body:not(#kurabu-guard) .kurabu-copy.is-copied{color:#2f8f4e}
body:not(#kurabu-guard) .kurabu-copy .kurabu-icon{width:1.05rem;height:1.05rem}
body:not(#kurabu-guard) .kurabu-copy-done{font-size:.76rem;font-weight:700;color:#2f8f4e}
body:not(#kurabu-guard) .kurabu-copy-done:empty{display:none}
body:not(#kurabu-guard) .kurabu-copy-done.is-error{color:var(--sg-danger)}
body:not(#kurabu-guard) .kurabu-ev-address span:first-child{user-select:all}
body:not(#kurabu-guard) .kurabu-ev-card p{margin:0;font-size:.88rem;line-height:1.55}
body:not(#kurabu-guard) .kurabu-ev-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
body:not(#kurabu-guard) .kurabu-ev-leads{display:flex;flex-wrap:wrap;gap:1rem 1.5rem;list-style:none;margin:0;padding:0}
body:not(#kurabu-guard) .kurabu-ev-leads li{display:flex;align-items:center;gap:.8rem}
body:not(#kurabu-guard) .kurabu-ev-leads .kurabu-avatar{flex-basis:4rem;width:4rem;height:4rem;font-size:1.1rem;border-radius:12px}
body:not(#kurabu-guard) .kurabu-ev-leads strong{display:block;margin-bottom:.35rem}
body:not(#kurabu-guard) .kurabu-ev-more{display:inline-flex;align-items:center;gap:.3rem;margin-top:.5rem;padding:.3rem .7rem;border-radius:999px;background:#e3e4e6;color:var(--sg-ink)!important;font-size:.74rem;font-weight:700;text-decoration:none!important}
body:not(#kurabu-guard) .kurabu-ev-more:hover,body:not(#kurabu-guard) .kurabu-ev-more:focus-visible{background:#d5d7da;outline:0}
body:not(#kurabu-guard) .kurabu-ev-place{position:relative;border-radius:15px;overflow:hidden}
body:not(#kurabu-guard) .kurabu-ev-place img{display:block;width:100%;height:230px;object-fit:cover}
body:not(#kurabu-guard) .kurabu-ev-place span{position:absolute;right:1rem;bottom:.8rem;color:#fff;font-weight:800;text-transform:uppercase;text-shadow:0 1px 4px rgba(0,0,0,.6)}
body:not(#kurabu-guard) .kurabu-ev-export{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.5rem;padding:.9rem 1.25rem}
body:not(#kurabu-guard) .kurabu-ev-export>.kurabu-icon{width:1.1rem;height:1.1rem}
body:not(#kurabu-guard) .kurabu-ev-export a{color:var(--sg-ink)!important;font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.02em;text-decoration:none!important}
body:not(#kurabu-guard) .kurabu-ev-export a:hover,body:not(#kurabu-guard) .kurabu-ev-export a:focus-visible{color:var(--sg-blue)!important}
body:not(#kurabu-guard) .kurabu-ev-body>p{margin:.3rem .4rem}
body:not(#kurabu-guard) .kurabu-event-link{display:inline-flex;align-items:center;padding:.62rem .9rem;background:var(--kc,var(--sg-blue));color:#fff!important;text-decoration:none!important;font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.035em;border-radius:2px;transition:filter .18s ease}
body:not(#kurabu-guard) .kurabu-event-link:hover,body:not(#kurabu-guard) .kurabu-event-link:focus-visible{filter:brightness(1.12);outline:0}
@media(max-width:640px){
  body:not(#kurabu-guard) .kurabu-ev-head,body:not(#kurabu-guard) .kurabu-ev-head.has-thumb{grid-template-columns:auto minmax(0,1fr);padding:1rem 3.2rem 1rem 1rem}
  body:not(#kurabu-guard) .kurabu-ev-thumb{display:none}
  body:not(#kurabu-guard) .kurabu-ev-headside{grid-column:2}
  body:not(#kurabu-guard) .kurabu-ev-head h3{font-size:1.05rem}
  body:not(#kurabu-guard) .kurabu-ev-grid{grid-template-columns:1fr}
}

/* Narrow screens: stacked days, empty days hidden */
@container (max-width:760px){
  body:not(#kurabu-guard) .kurabu-mgrid{border:0;background:none}
  body:not(#kurabu-guard) .kurabu-mgrid-head{display:none}
  body:not(#kurabu-guard) .kurabu-mgrid-body{grid-template-columns:1fr;gap:.5rem}
  body:not(#kurabu-guard) .kurabu-mgrid-day{display:grid;grid-template-columns:3.4rem minmax(0,1fr);min-height:0;padding:0;border:1px solid #e3e5e8!important;border-radius:6px;overflow:hidden;background:#fff}
  body:not(#kurabu-guard) .kurabu-mgrid-day.is-other,body:not(#kurabu-guard) .kurabu-mgrid-day:not(:has(.kurabu-tile:not([hidden]))){display:none}
  body:not(#kurabu-guard) .kurabu-mgrid-date{flex-direction:column;align-items:center;justify-content:flex-start;gap:.35rem;margin:0;padding:.6rem .3rem;background:#f6f7f8;border-right:1px solid #e3e5e8}
  body:not(#kurabu-guard) .kurabu-mgrid-date .wday{display:block;font-size:.68rem;font-weight:600;text-transform:uppercase;color:var(--sg-muted)}
  body:not(#kurabu-guard) .kurabu-mgrid-date .day{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.08);min-width:2.2rem;height:2.2rem;font-size:1.1rem}
  body:not(#kurabu-guard) .kurabu-mgrid-events{padding:.5rem;gap:5px}
  body:not(#kurabu-guard) .kurabu-tile.is-mini{padding:7px 9px;font-size:12px;border-radius:5px}
  body:not(#kurabu-guard) .kurabu-tile.is-mini .kurabu-open{white-space:normal;text-transform:uppercase;font-weight:700}
  body:not(#kurabu-guard) .kurabu-tile.is-mini .kurabu-tile-time{display:block;font-size:11px;font-weight:400}
  body:not(#kurabu-guard) .kurabu-week{grid-template-columns:1fr;border:0;background:none;gap:.5rem}
  body:not(#kurabu-guard) .kurabu-week-day{display:grid;grid-template-columns:3.4rem minmax(0,1fr);border:1px solid #e3e5e8;border-radius:6px;overflow:hidden;background:#fff}
  body:not(#kurabu-guard) .kurabu-week-day:first-child{border-left:1px solid #e3e5e8}
  body:not(#kurabu-guard) .kurabu-week-head{justify-content:flex-start;padding:.6rem .3rem;border-bottom:0;border-right:1px solid #e3e5e8}
  body:not(#kurabu-guard) .kurabu-week-day:not(:has(.kurabu-tile:not([hidden]))){display:none}
  body:not(#kurabu-guard) .kurabu-week-events{padding:.5rem;min-height:0}
  body:not(#kurabu-guard) .kurabu-tile{font-size:12px;padding:7px 9px}
  body:not(#kurabu-guard) .kurabu-tile-time{font-size:11px}
}

/* News tiles */
body:not(#kurabu-guard) .kurabu-news-top{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:1rem;margin:0 0 2.5rem}
body:not(#kurabu-guard) .kurabu-news-top.has-1{grid-template-columns:1fr}
body:not(#kurabu-guard) .kurabu-news-top.has-many .kurabu-news-tile.is-large{grid-row:span 2}
/* z-index:0 creates a stacking context so .kurabu-open::after covers the whole tile */
body:not(#kurabu-guard) .kurabu-news-tile{position:relative;z-index:0;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;min-height:110px;aspect-ratio:2/1;background:var(--sg-blue);cursor:pointer}
body:not(#kurabu-guard) .kurabu-news-top.has-many .kurabu-news-tile.is-large{aspect-ratio:auto}
body:not(#kurabu-guard) .kurabu-news-top.has-1 .kurabu-news-tile{aspect-ratio:21/9}
body:not(#kurabu-guard) .kurabu-news-top.has-2 .kurabu-news-tile:not(.is-large){aspect-ratio:auto}
body:not(#kurabu-guard) .kurabu-news-tile img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
body:not(#kurabu-guard) .kurabu-news-tile:hover img{transform:scale(1.03)}
body:not(#kurabu-guard) .kurabu-news-tile::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(10,18,30,.78) 0%,rgba(10,18,30,.35) 45%,rgba(10,18,30,0) 75%)}
body:not(#kurabu-guard) .kurabu-news-tile-text{padding:.75rem .8rem;color:#fff}
body:not(#kurabu-guard) .kurabu-news-tile h3{margin:0 0 .25rem;font:inherit;font-size:.82rem;font-weight:700;line-height:1.3;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.4)}
body:not(#kurabu-guard) .kurabu-news-tile.is-large .kurabu-news-tile-text{padding:1rem 1.1rem}
body:not(#kurabu-guard) .kurabu-news-tile.is-large h3{font-size:1rem}
body:not(#kurabu-guard) .kurabu-news-tile time{display:block;font-size:.7rem;line-height:1.3;color:rgba(255,255,255,.88)}
body:not(#kurabu-guard) .kurabu-news-tile:focus-within{outline:3px solid var(--sg-blue);outline-offset:2px}

/* News list */
body:not(#kurabu-guard) .kurabu-news-latest-heading{margin-bottom:1rem}
body:not(#kurabu-guard) .kurabu-news-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--sg-line)}
body:not(#kurabu-guard) .kurabu-news-row{position:relative;display:flex;align-items:baseline;justify-content:space-between;gap:1.5rem;margin:0;padding:.95rem 1.4rem;border-bottom:1px solid var(--sg-line);cursor:pointer;transition:background .18s ease}
body:not(#kurabu-guard) .kurabu-news-row:hover{background:var(--sg-blue-soft)}
body:not(#kurabu-guard) .kurabu-news-row:focus-within{outline:2px solid var(--sg-blue);outline-offset:-2px}
body:not(#kurabu-guard) .kurabu-news-row-main{min-width:0}
body:not(#kurabu-guard) .kurabu-news-row h3{margin:0;font:inherit;font-size:1rem;font-weight:700;line-height:1.35;color:var(--sg-ink)}
body:not(#kurabu-guard) .kurabu-news-row:hover h3{color:var(--sg-blue)}
body:not(#kurabu-guard) .kurabu-news-row p{margin:.3rem 0 0;color:var(--sg-muted);font-size:.88rem;line-height:1.45}
body:not(#kurabu-guard) .kurabu-news-row time{flex:0 0 auto;white-space:nowrap;color:var(--sg-muted);font-size:.86rem}

body:not(#kurabu-guard) .kurabu-card-date{margin-bottom:.35rem;color:var(--sg-blue);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.055em}

/* Pagination */
body:not(#kurabu-guard) .kurabu-pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.35rem;margin:1.75rem 0 0}
body:not(#kurabu-guard) .kurabu-pagination button{font:inherit;cursor:pointer;appearance:none;-webkit-appearance:none}
body:not(#kurabu-guard) .kurabu-pagination a,body:not(#kurabu-guard) .kurabu-pagination span,body:not(#kurabu-guard) .kurabu-pagination button{display:inline-flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;padding:0 .55rem;border:1px solid var(--sg-line);border-radius:2px;background:#fff;color:var(--sg-ink);font-size:.78rem;line-height:1;text-decoration:none}
body:not(#kurabu-guard) .kurabu-pagination a:hover,body:not(#kurabu-guard) .kurabu-pagination a:focus-visible,body:not(#kurabu-guard) .kurabu-pagination button:not(:disabled):not(.is-current):hover,body:not(#kurabu-guard) .kurabu-pagination button:focus-visible{border-color:var(--sg-blue);color:var(--sg-blue);outline:0}
body:not(#kurabu-guard) .kurabu-pagination .is-current{background:var(--sg-blue);border-color:var(--sg-blue);color:#fff;font-weight:700}
body:not(#kurabu-guard) .kurabu-pagination .is-disabled{color:#b0b5ba;cursor:default}
body:not(#kurabu-guard) .kurabu-pagination .kurabu-pagination-gap{min-width:auto;padding:0 .1rem;border:0;background:none}

/* Notices */
body:not(#kurabu-guard) .kurabu-error,body:not(#kurabu-guard) .kurabu-empty{margin:0 0 1rem;padding:1rem 1.1rem;border:1px solid var(--sg-line);border-left:4px solid var(--sg-blue);border-radius:var(--sg-radius);background:#fff}

/* Holiday notice overlay */
body:not(#kurabu-guard) .kurabu-calendar-shell{position:relative}
body:not(#kurabu-guard) .kurabu-calendar-shell.has-notice .kurabu-event-list{filter:blur(1.5px);opacity:.28;pointer-events:none;user-select:none}
body:not(#kurabu-guard) .kurabu-calendar-notice{position:absolute;inset:0;z-index:5;display:flex;align-items:flex-start;justify-content:center;padding:3rem 1rem;background:rgba(255,255,255,.68);backdrop-filter:blur(2px)}
body:not(#kurabu-guard) .kurabu-calendar-notice-box{display:flex;gap:.9rem;align-items:flex-start;max-width:620px;padding:1.15rem 1.35rem;background:#fff;border-left:4px solid var(--sg-blue);box-shadow:0 10px 30px rgba(19,53,95,.12);font-size:1rem;line-height:1.55}
body:not(#kurabu-guard) .kurabu-calendar-notice-icon{flex:0 0 30px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--sg-blue);color:#fff;font-weight:800}

/* Modal */
body.kurabu-modal-open:not(#kurabu-guard){overflow:hidden}
body:not(#kurabu-guard) .kurabu-modal[hidden]{display:none}
body:not(#kurabu-guard) .kurabu-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:1rem;opacity:0;transition:opacity .18s ease;cursor:auto}
body:not(#kurabu-guard) .kurabu-modal.is-open{opacity:1}
body:not(#kurabu-guard) .kurabu-modal-backdrop{position:absolute;inset:0;background:rgba(16,25,38,.68)}
body:not(#kurabu-guard) .kurabu-modal-dialog{position:relative;z-index:1;width:min(760px,100%);max-height:min(88vh,900px);overflow:auto;background:#fff;color:var(--sg-ink);box-shadow:0 20px 60px rgba(0,0,0,.25);transform:translateY(10px);transition:transform .18s ease;text-align:left}
body:not(#kurabu-guard) .kurabu-modal.is-open .kurabu-modal-dialog{transform:none}
body:not(#kurabu-guard) .kurabu-modal-close{position:absolute;z-index:2;top:.65rem;right:.65rem;width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.94);font-size:1.7rem;line-height:1;cursor:pointer;color:var(--sg-ink)}
body:not(#kurabu-guard) .kurabu-modal-close:focus-visible{outline:2px solid var(--sg-blue)}
body:not(#kurabu-guard) .kurabu-modal-image{aspect-ratio:16/6;overflow:hidden;background:#eef1f4}
body:not(#kurabu-guard) .kurabu-modal-image img{width:100%;height:100%;object-fit:cover;display:block}
body:not(#kurabu-guard) .kurabu-modal-content{padding:1.6rem}
body:not(#kurabu-guard) .kurabu-modal-content h3{margin:.15rem 0 1rem;font-size:1.65rem;line-height:1.2}
body:not(#kurabu-guard) .kurabu-modal-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin:0 0 1.2rem}
body:not(#kurabu-guard) .kurabu-modal-facts>div{padding:.75rem .85rem;background:var(--sg-blue-soft)}
body:not(#kurabu-guard) .kurabu-modal-facts strong,body:not(#kurabu-guard) .kurabu-modal-facts span{display:block}
body:not(#kurabu-guard) .kurabu-modal-facts strong{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--sg-blue);margin-bottom:.2rem}
body:not(#kurabu-guard) .kurabu-modal-facts span{font-size:.92rem}

/* Departments & teams */
body:not(#kurabu-guard) .kurabu-department-grid,body:not(#kurabu-guard) .kurabu-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
body:not(#kurabu-guard) .kurabu-department-card,body:not(#kurabu-guard) .kurabu-team-card{border:1px solid var(--sg-line);background:#fff}
body:not(#kurabu-guard) .kurabu-department-card img,body:not(#kurabu-guard) .kurabu-team-card img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
body:not(#kurabu-guard) .kurabu-department-card>div,body:not(#kurabu-guard) .kurabu-team-card>div{padding:1rem}
body:not(#kurabu-guard) .kurabu-department-card h3,body:not(#kurabu-guard) .kurabu-team-card h4{margin:0 0 .45rem}
body:not(#kurabu-guard) .kurabu-department-card p,body:not(#kurabu-guard) .kurabu-team-card p{margin:0 0 .7rem;color:var(--sg-muted);font-size:.9rem;line-height:1.5}
body:not(#kurabu-guard) .kurabu-department-detail{font:inherit;color:var(--sg-ink)}
body:not(#kurabu-guard) .kurabu-department-hero{margin-bottom:1.35rem;max-height:460px;overflow:hidden}
body:not(#kurabu-guard) .kurabu-department-hero img{width:100%;height:100%;max-height:460px;object-fit:cover;display:block}
body:not(#kurabu-guard) .kurabu-department-copy{margin-bottom:2rem}
body:not(#kurabu-guard) .kurabu-department-copy h2{margin:0 0 1rem}
body:not(#kurabu-guard) .kurabu-teams{margin:2rem 0}
body:not(#kurabu-guard) .kurabu-teams>h3,body:not(#kurabu-guard) .kurabu-department-calendar>h3{margin:0 0 1rem;font-size:1.35rem}

body:not(#kurabu-guard) .kurabu-group-heading{margin:2rem 0 .9rem;font:inherit;font-size:1.15rem;font-weight:800;color:var(--sg-ink)}
body:not(#kurabu-guard) .kurabu-group-heading:first-child{margin-top:0}
body:not(#kurabu-guard) .kurabu-department-card.is-linked,body:not(#kurabu-guard) .kurabu-team-card.is-linked{position:relative;transition:box-shadow .18s ease,transform .18s ease}
body:not(#kurabu-guard) .kurabu-department-card.is-linked:hover,body:not(#kurabu-guard) .kurabu-team-card.is-linked:hover{box-shadow:0 8px 24px rgba(19,53,95,.12);transform:translateY(-2px)}
body:not(#kurabu-guard) .kurabu-card-link{color:inherit!important;text-decoration:none!important}
body:not(#kurabu-guard) .kurabu-card-link::after{content:"";position:absolute;inset:0}
body:not(#kurabu-guard) .kurabu-card-link:focus-visible{outline:0}
body:not(#kurabu-guard) .kurabu-department-card.is-linked:focus-within,body:not(#kurabu-guard) .kurabu-team-card.is-linked:focus-within{outline:2px solid var(--sg-blue);outline-offset:2px}
body:not(#kurabu-guard) .kurabu-back{display:inline-flex;align-items:center;gap:.4rem;color:var(--sg-ink)!important;font-size:.88rem;font-weight:600;text-decoration:none!important}
body:not(#kurabu-guard) .kurabu-back::before{content:"←"}
body:not(#kurabu-guard) .kurabu-back:hover{color:var(--sg-blue)!important}
body:not(#kurabu-guard) .kurabu-department-detail .kurabu-department-title{margin:0 0 1rem;font:inherit;font-size:clamp(1.8rem,3.5vw,2.6rem);font-weight:800;line-height:1.15}
body:not(#kurabu-guard) .kurabu-slots{list-style:none;margin:.3rem 0 0;padding:0;color:var(--sg-muted);font-size:.84rem;line-height:1.45}
body:not(#kurabu-guard) .kurabu-slots li{position:relative;padding-left:1rem}
body:not(#kurabu-guard) .kurabu-slots li::before{content:"";position:absolute;left:0;top:.5em;width:.45rem;height:.45rem;border-radius:50%;background:var(--kc,#21539a)}
body:not(#kurabu-guard) .kurabu-slots.is-large{font-size:1rem;color:var(--sg-ink);margin-bottom:1.6rem}
body:not(#kurabu-guard) .kurabu-slots.is-large li{padding:.35rem 0 .35rem 1.2rem}
body:not(#kurabu-guard) .kurabu-slots.is-large li::before{top:.85em}

/* Team page */
body:not(#kurabu-guard) .kurabu-team-detail{font:inherit;color:var(--sg-ink)}
body:not(#kurabu-guard) .kurabu-team-detail *{box-sizing:border-box}
body:not(#kurabu-guard) .kurabu-team-hero{position:relative;z-index:0;display:flex;align-items:flex-end;min-height:clamp(220px,38vw,420px);margin:0 0 1rem;border-radius:6px;overflow:hidden;background:var(--kc,#21539a)}
body:not(#kurabu-guard) .kurabu-team-hero img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center 35%}
/* Detail pages: limited width */
body:not(#kurabu-guard) .kurabu-page-width{max-width:1100px;margin-left:auto;margin-right:auto}
body:not(#kurabu-guard) .kurabu-team-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(10,18,30,.75),rgba(10,18,30,0) 65%)}
body:not(#kurabu-guard) .kurabu-team-hero.no-image{min-height:0}
body:not(#kurabu-guard) .kurabu-team-hero-text{padding:1.4rem 1.5rem;color:#fff}
body:not(#kurabu-guard) .kurabu-team-hero h1{margin:0 0 .4rem;font:inherit;font-size:clamp(1.5rem,3.4vw,2.4rem);font-weight:800;line-height:1.15;color:#fff;text-transform:uppercase}
body:not(#kurabu-guard) .kurabu-team-hero-text span{font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
body:not(#kurabu-guard) .kurabu-tabs{display:flex;gap:.3rem;margin:0 0 1.4rem;border-bottom:1px solid var(--sg-line)}
body:not(#kurabu-guard) .kurabu-tabs[hidden]{display:none}
body:not(#kurabu-guard) .kurabu-tabs button{appearance:none;-webkit-appearance:none;margin:0 0 -1px;padding:.65rem 1rem;border:0;border-bottom:2px solid transparent;background:none;color:var(--sg-muted);font:inherit;font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;cursor:pointer}
body:not(#kurabu-guard) .kurabu-tabs button[aria-selected="true"]{border-bottom-color:var(--kc,#21539a);color:var(--sg-ink)}
body:not(#kurabu-guard) .kurabu-tabs button:focus-visible{outline:2px solid var(--sg-blue);outline-offset:-2px}
body:not(#kurabu-guard) .kurabu-tab-panel[hidden]{display:none}
body:not(#kurabu-guard) .kurabu-tab-panel>h3{margin:1.6rem 0 .7rem;font:inherit;font-size:1.25rem;font-weight:800}
body:not(#kurabu-guard) .kurabu-tab-panel>h3:first-child{margin-top:0}
body:not(#kurabu-guard) .kurabu-team-detail.has-tabs .kurabu-tab-fallback-heading{display:none}
body:not(#kurabu-guard) .kurabu-leads{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.75rem;list-style:none;margin:0;padding:0}
body:not(#kurabu-guard) .kurabu-leads li{display:flex;align-items:center;gap:.75rem;padding:.8rem;border:1px solid var(--sg-line);border-radius:6px;background:#fff;font-weight:700}
body:not(#kurabu-guard) .kurabu-avatar{display:grid;place-items:center;flex:0 0 2.4rem;width:2.4rem;height:2.4rem;border-radius:50%;background:var(--kc,#21539a);color:#fff;font-size:.8rem;font-weight:800}

@media(max-width:800px){
  body:not(#kurabu-guard) .kurabu-department-grid,body:not(#kurabu-guard) .kurabu-team-grid{grid-template-columns:1fr 1fr}
  body:not(#kurabu-guard) .kurabu-modal-facts{grid-template-columns:1fr}
}
@media(max-width:600px){
  body:not(#kurabu-guard) .kurabu-filters{gap:.35rem}
  body:not(#kurabu-guard) .kurabu-filters-label{flex-basis:100%}
  body:not(#kurabu-guard) .kurabu-month-nav{flex-wrap:wrap;gap:.45rem}
  body:not(#kurabu-guard) .kurabu-month-nav .kurabu-month-title{flex-basis:100%}body:not(#kurabu-guard) .kurabu-filters button{padding:.55rem .7rem;font-size:.7rem}
  body:not(#kurabu-guard) .kurabu-department-grid,body:not(#kurabu-guard) .kurabu-team-grid{grid-template-columns:1fr}
  body:not(#kurabu-guard) .kurabu-news-top{grid-template-columns:1fr}
  body:not(#kurabu-guard) .kurabu-news-top.has-many .kurabu-news-tile.is-large{grid-row:auto;aspect-ratio:16/9}
  body:not(#kurabu-guard) .kurabu-news-tile,body:not(#kurabu-guard) .kurabu-news-top.has-2 .kurabu-news-tile:not(.is-large){aspect-ratio:16/9}
  body:not(#kurabu-guard) .kurabu-news-row{flex-direction:column;gap:.2rem;padding:.85rem .5rem}
  body:not(#kurabu-guard) .kurabu-modal-content{padding:1.1rem}body:not(#kurabu-guard) .kurabu-modal-content h3{font-size:1.3rem}
  body:not(#kurabu-guard) .kurabu-calendar-notice{padding:1.5rem .7rem}
}

/* Avada's responsive typography forces heading sizes via JS; keep ours */
body:not(#kurabu-guard) .kurabu-news .kurabu-news-row h3{font-size:1rem!important;line-height:1.35!important}
body:not(#kurabu-guard) .kurabu-news .kurabu-news-tile h3{font-size:.82rem!important;line-height:1.3!important}
body:not(#kurabu-guard) .kurabu-news .kurabu-news-tile.is-large h3{font-size:1rem!important}
body:not(#kurabu-guard) .kurabu-events .kurabu-bar h3{font-size:1rem!important;line-height:1.25!important;text-transform:uppercase!important}
body:not(#kurabu-guard) .kurabu-events .kurabu-month{font-size:.95rem!important;line-height:1.2!important}
body:not(#kurabu-guard) .kurabu-events .kurabu-month-nav .kurabu-month-title{font-size:1rem!important;line-height:1.2!important}
body:not(#kurabu-guard) .kurabu-events .kurabu-ymonth h4{font-size:.95rem!important;line-height:1.3!important}
body:not(#kurabu-guard) .kurabu-modal .kurabu-modal-content h3{font-size:1.65rem!important;line-height:1.2!important}
body:not(#kurabu-guard) .kurabu-modal .kurabu-ev-head h3{font-size:1.15rem!important;line-height:1.2!important;color:#fff!important;text-transform:uppercase!important}
body:not(#kurabu-guard) .kurabu-modal .kurabu-ev-card h4{font-size:.95rem!important;line-height:1.3!important}
body:not(#kurabu-guard) .kurabu-department-detail .kurabu-department-title{font-size:clamp(1.8rem,3.5vw,2.6rem)!important;line-height:1.15!important}
body:not(#kurabu-guard) .kurabu-team-detail .kurabu-team-hero h1{font-size:clamp(1.5rem,3.4vw,2.4rem)!important;line-height:1.15!important;color:#fff!important}
body:not(#kurabu-guard) .kurabu-team-detail .kurabu-tab-panel>h3,body:not(#kurabu-guard) .kurabu-departments .kurabu-group-heading{font-size:1.2rem!important;line-height:1.25!important}
body:not(#kurabu-guard) .kurabu-departments .kurabu-department-card h3{font-size:1.15rem!important;line-height:1.3!important}
body:not(#kurabu-guard) .kurabu-department-detail .kurabu-team-card h4{font-size:1rem!important;line-height:1.3!important}
body:not(#kurabu-guard) .kurabu-department-detail .kurabu-teams>h3,body:not(#kurabu-guard) .kurabu-department-detail .kurabu-department-calendar>h3{font-size:1.35rem!important;line-height:1.25!important}
body:not(#kurabu-guard) .kurabu-events .kurabu-heading,body:not(#kurabu-guard) .kurabu-content-wrap .kurabu-heading,body:not(#kurabu-guard) .kurabu-departments .kurabu-heading{font-size:clamp(1.7rem,3vw,2.35rem)!important;line-height:1.15!important;margin:0 0 1.5rem!important}
body:not(#kurabu-guard) .kurabu-news .kurabu-news-latest-heading{margin-bottom:1rem!important}
/* Customizr-Child (SG Dietzenbach) setzt "#nimble-content h2,h3,h4 {margin-top:0!important}" – Abstände der Plugin-Überschriften sichern */
body:not(#kurabu-guard) .kurabu-events .kurabu-month{margin-top:1.4rem!important;margin-bottom:.6rem!important}
body:not(#kurabu-guard) .kurabu-events .kurabu-month:first-child{margin-top:.4rem!important}
body:not(#kurabu-guard) .kurabu-departments .kurabu-group-heading{margin-top:2rem!important;margin-bottom:.9rem!important}
body:not(#kurabu-guard) .kurabu-departments .kurabu-group-heading:first-child{margin-top:0!important}
body:not(#kurabu-guard) .kurabu-team-detail .kurabu-tab-panel>h3{margin-top:1.6rem!important;margin-bottom:.7rem!important}
body:not(#kurabu-guard) .kurabu-team-detail .kurabu-tab-panel>h3:first-child{margin-top:0!important}
body:not(#kurabu-guard) .kurabu-modal .kurabu-modal-content h3{margin-top:.15rem!important;margin-bottom:1rem!important;font-weight:700!important;color:var(--sg-ink)!important}
/* Theme-Listenstile (Einzug/Abstände an li) nicht in Plugin-Listen übernehmen */
body:not(#kurabu-guard) .kurabu-ev-leads li,body:not(#kurabu-guard) .kurabu-leads li,body:not(#kurabu-guard) .kurabu-news-list li{margin:0}
body:not(#kurabu-guard) .kurabu-ev-leads li{padding:0}
@media(max-width:600px){
  body:not(#kurabu-guard) .kurabu-events .kurabu-bar h3{font-size:.92rem!important}
  body:not(#kurabu-guard) .kurabu-modal .kurabu-ev-head h3{font-size:1.1rem!important}
  body:not(#kurabu-guard) .kurabu-modal .kurabu-modal-content h3{font-size:1.3rem!important}
}
