.asc-vk { --asc-blau: #24249a; --asc-linie: #dce1ea; margin-block: 1.5rem; }
.asc-vk, .asc-vk-agenda section { scroll-margin-top: 7rem; }
.asc-vk .asc-vk-nav, .asc-vk-nav nav { display:flex; flex-wrap:wrap; align-items:center; gap:.45rem; }
.asc-vk .asc-vk-nav { justify-content:space-between; margin-bottom:1rem; }
.asc-vk .asc-vk-nav h2, .asc-vk h4 { margin:0; }
.asc-vk-nav a { display:inline-grid; place-items:center; min-width:44px; min-height:44px; padding-inline:.5rem; border:1px solid var(--asc-linie); border-radius:.6rem; }
.asc-vk-layout { display:block; }
.asc-vk-nav a[aria-current=page] { background:var(--asc-blau); color:white; }
body main .l-section.asc-calendar-section:has(.asc-vk) {padding-block:clamp(12px,1.8vw,24px)!important;}
.asc-calendar-section .asc-vk {margin-block:0;}
body main .l-section.asc-calendar-section .vc_column-inner > .wpb_text_column:has(.asc-vk) { box-sizing:border-box; width:100%; max-width:100% !important; margin:0 auto; align-self:center; }
.asc-vk [data-panel=monat] table { width:100%; table-layout:fixed; border-collapse:collapse; margin:0; }
.asc-vk [data-panel=monat] table :is(td,th) { text-align:center; vertical-align:middle; padding:.2rem 0; border:0; border-bottom:1px solid var(--asc-linie); }
.asc-vk [data-panel=monat] th { color:#43516a; font-size:.875rem; }
.asc-vk [data-panel=monat] td :is(a,span) { display:inline-grid; place-items:center; width:min(100%,44px); min-height:44px; border-radius:.65rem; }
.asc-vk .asc-vk-day { background:var(--asc-blau); color:white; font-weight:700; text-decoration:underline; }
.asc-vk [aria-current=date] { outline:2px solid currentColor; outline-offset:-4px; }
.asc-vk a:focus-visible { outline:3px solid #0967b5; outline-offset:2px; }
.asc-vk-agenda { display:grid; gap:1.25rem; }
.asc-vk [hidden] {display:none!important;}
.asc-vk-trainingsplan summary {padding-block:.75rem;color:#171f33;}
.asc-vk-trainingsplan summary h3 {display:inline;margin:0;}
.asc-vk-trainingsplan[open] summary {margin-bottom:.75rem;}
@media (max-width:600px) { .asc-vk .asc-vk-nav h2 {flex-basis:100%;} }

.asc-vk-events { width:100%; table-layout:fixed; border-collapse:collapse; margin:0; color:#192638; }
.asc-vk-events :is(td,th) { text-align:left; vertical-align:middle; padding:.85rem .65rem; border:0; border-bottom:1px solid var(--asc-linie); overflow-wrap:anywhere; }
.asc-vk-events th { color:#40516b; font-size:.875rem; }
.asc-vk-events th:nth-child(1) { width:16%; }
.asc-vk-events th:nth-child(2) { width:36%; }
.asc-vk-events th:nth-child(3) { width:27%; }
.asc-vk-events tbody { scroll-margin-top:7rem; }
.asc-vk-events time { font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap; }
.asc-vk-events summary { cursor:pointer; font-weight:650; color:var(--asc-blau); line-height:1.45; }
.asc-vk-events tr:has([aria-haspopup=dialog]) { cursor:pointer; }
.asc-vk-events summary[aria-haspopup=dialog] { display:block; list-style:none; }
.asc-vk-events summary[aria-haspopup=dialog]::-webkit-details-marker { display:none; }
.asc-vk-events tbody tr:is(:hover,:focus-within) { background:#f5f6fb; }
.asc-vk a.asc-vk-pdf { display:inline-flex; align-items:center; gap:.4em; overflow-wrap:normal; word-break:normal; hyphens:none; padding:.4em .8em; border:0; border-radius:.25rem; color:white; background:var(--asc-blau); font-size:.875rem; font-weight:600; line-height:1.5; text-decoration:none; }
.asc-vk :is(summary,button):focus-visible { outline:3px solid #0967b5; outline-offset:3px; }
.asc-vk-dialog { box-sizing:border-box; width:min(34rem,calc(100% - 2rem)); max-height:85dvh; overflow:auto; margin:auto; padding:clamp(1rem,4vw,2rem); color:#192638; background:white; border:1px solid var(--asc-linie); border-radius:1rem; box-shadow:0 12px 48px #11182733; }
.asc-vk-dialog:not([open]) { display:none; }
.asc-vk-dialog::backdrop { background:#101a2bb3; }
.asc-vk-dialog-head { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:.75rem; margin-bottom:.85rem; }
.asc-vk-dialog-head form { margin:0; }
.asc-vk-dialog button { color:var(--asc-blau); background:#f0f2f8; display:inline-grid; place-items:center; width:44px; height:44px; padding:0; font-size:1.55rem; line-height:1; border:0; border-radius:50%; cursor:pointer; }
.asc-vk-dialog .asc-vk-dialog-head h3 { margin:0; padding:0; line-height:1.25; overflow-wrap:anywhere; }
.asc-vk-info p { margin:0 0 .8em; }
.asc-vk-info { overflow-wrap:anywhere; }
@media (max-width:740px) {
    .asc-vk-events, .asc-vk-events tbody { display:block; }
    .asc-vk-events thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
    .asc-vk-events tbody tr { display:grid; gap:.3rem; padding:.9rem 0; border-bottom:1px solid var(--asc-linie); }
    .asc-vk-events td { display:block; border:0; padding:0; }
    .asc-vk-events td:empty { display:none; }
    .asc-vk-events .asc-vk-pdf { margin-top:.3rem; }
}
.asc-vk a.asc-vk-pdf:hover { background:#171768; color:#fff; }
.asc-vk-pdf svg { flex:none; }
