.study21-calendar nav{display:flex;gap:1rem;flex-wrap:wrap;margin-block:1rem}.study21-calendar-month{justify-content:space-between;align-items:center}.study21-calendar-grid{width:100%;border-collapse:collapse;table-layout:fixed}.study21-calendar-grid td,.study21-calendar-grid th{border:1px solid #d8dce5;padding:.65rem;vertical-align:top}.study21-calendar-grid td{height:100px}.study21-calendar-grid td a{display:block;font-size:.85rem;overflow-wrap:anywhere;margin-block:.5rem}.study21-calendar-grid [aria-current=date]{background:#D50413;color:white;padding:.2rem .4rem}.study21-calendar-list{display:none}
.study21-theme-active {
    background-color: #e7eef2;
    background-attachment: fixed;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}
.study21-theme-active .wp-site-blocks {
    max-width: 1280px;
    margin-inline: auto;
    background: #fff;
    position: relative;
    min-height: 100vh;
}
.study21-theme-banner {
    position: relative;
    max-width: 1920px;
    margin-inline: auto;
}
.study21-theme-banner picture { display: block; }
.study21-theme-banner img { display: block; width: 100%; height: auto; }
.study21-theme-banner .study21-theme-rail { display: none; }
@media (min-width: 1500px) {
    .study21-theme-sliced .wp-site-blocks { width: 66.666667%; }
    .study21-theme-banner .study21-theme-rail {
        display: block;
        position: absolute;
        top: 100%;
        width: 16.666667%;
        pointer-events: none;
        mask-image: linear-gradient(#000 75%, transparent);
    }
    .study21-theme-rail--left { left: 0; }
    .study21-theme-rail--right { right: 0; }
}
@media(max-width:700px){.study21-calendar-grid{display:none}.study21-calendar-list{display:block;padding-left:1.2rem}.study21-calendar-list li{margin-block:1rem}}
.study21-payment-part{margin-block:1.5rem}.study21-payment-part img{display:block;max-width:100%;height:auto;background:#fff}

.study21-camp-cta { display: none; }
@media (max-width: 600px) {
    .study21-theme-banner > picture:first-child img { height: clamp(90px, 29vw, 140px); object-fit: cover; object-position: center; }
    .study21-camp-with-cta { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    .study21-camp-cta:not([hidden]) { position: fixed; z-index: 20; bottom: calc(10px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 6px; background: #D50413; color: white; font-weight: bold; text-decoration: none; }
}
.study21-external {margin-block:2rem;padding:clamp(1rem,3vw,2rem);background:#F4EFE5;min-width:0;}
.study21-external-widget,.study21-external .reenio-iframe {width:100%;max-width:100%;min-width:0;}
.study21-external iframe {display:block;width:100%;max-width:100%;min-height:0;border:0;}
.study21-external a {overflow-wrap:anywhere;}
.study21-series-current {background:#F4EFE5;border-top:4px solid #D50413;padding:clamp(1rem,3vw,2rem);margin-block:2rem;}
.study21-series-current h2,.study21-series-current h3 {margin-top:0;}
.study21-event-series li {margin-block:.75rem;}
/* Only inline reenio event pages let the reservation section escape the reading column. */
body.study21-reenio-event .wp-site-blocks {width:100%;max-width:none;}
body.study21-reenio-event .wp-site-blocks > main {width:100%;max-width:none;box-sizing:border-box;padding-inline:8px;}
body.study21-reenio-event main > .wp-block-post-content {width:100%;max-width:none;}
body.study21-reenio-event main > :not(.wp-block-post-content),
body.study21-reenio-event .wp-block-post-content > :not(.study21-external) {width:calc(100vw - clamp(16px,3vw,32px) - clamp(16px,3vw,32px));max-width:var(--wp--style--global--content-size,780px);margin-inline:auto;box-sizing:border-box;}
body.study21-reenio-event .wp-block-post-content .wp-block-group:has(.study21-external) {width:100%;max-width:none;margin-inline:auto;}
body.study21-reenio-event .wp-block-post-content .study21-external {width:100%;max-width:1440px;margin-inline:auto;padding:clamp(1rem,2vw,2rem) 0;box-sizing:border-box;scroll-margin-top:1rem;}
body.study21-reenio-event .study21-external > :not(.study21-external-widget) {max-width:780px;padding-inline:8px;margin-inline:auto;box-sizing:border-box;}
body.study21-reenio-event .study21-external .study21-external-widget,
body.study21-reenio-event .study21-external .reenio-iframe {width:100%;max-width:none;margin-inline:0;padding:0;min-width:0;}
