body {
font-family: system-ui, -apple-system, sans-serif;
background: #f7f7f7;
color: #1a1a1a;
text-shadow: 0 1px 2px rgba(0, 0, 0, .12);
margin: 0px;
font-size: .7em
}

ul {
padding-left: 10px;
}

ol {
padding-left: 30px
}

.layout {
display: flex;
min-height: 100vh
}

.sidebar {
width: 220px;
flex-shrink: 0;
display: flex;
flex-direction: column;
background: rgba(255, 255, 255, .98);
border-right: 1px solid #e5e5e5;
position: sticky;
top: 0;
height: 100vh;
box-sizing: border-box
}

.sidebar::before {
content: "";
position: absolute;
top: 0;
left: -20px;
right: -20px;
height: 100px;
background: url("/assets/stucco/stucco-oben.png") no-repeat top left / 100% auto;
pointer-events: none
}

.sidebar .sf {
position: relative;
margin-top: auto;
padding: 1rem 1.25rem 0;
border-top: none;
color: #888;
line-height: 1.8;
background: rgba(255, 255, 255, .98);
z-index: 1
}

.sidebar .sf::before {
content: "";
position: absolute;
left: 0;
right: -10px;
bottom: 0;
top: 0;
background: url("/assets/stucco/pedestral.png") no-repeat right bottom / auto 100%;
opacity: .35;
z-index: 0;
pointer-events: none;
height: 400px  
}

.sidebar .sf > * {
position: relative;
z-index: 1
}

.sidebar .sf a {
color: #666;
text-decoration: none;
transition: color .15s
}

.sidebar .sf a:hover {
color: #000
}

.vl {
display: inline-flex;
align-items: center;
gap: .3rem
}
.vl img {
width: 16px;
height: 16px;
filter: grayscale(1) brightness(0);
opacity: .6;
transition: opacity .15s
}
.vl:hover img {
opacity: 1
}

.fi2 {
display: flex;
flex-wrap: wrap;
gap: .4rem .75rem;
margin: .25rem 0
}

.sidebar-logo {
display: block;
color: #000;
text-decoration: none
}

.sidebar-logo img {
display: block;
max-width: 100%;
height: auto
}

.sidebar-logo:hover {
color: #000
}

.sidebar-nav {
flex: 1;
min-height: 0;
overflow-y: auto;
scrollbar-width: none;
position: relative
}

.sidebar-nav::-webkit-scrollbar {
display: none
}

.sidebar::after {
content: "";
position: absolute;
top: 0;
bottom: 0;
right: 0;
width: 45px;
background: url("/assets/stucco/pillar.svg") no-repeat center / auto 100%;
opacity: .2;
z-index: -1;
pointer-events: none
}

.sidebar-nav .spy {
position: absolute;
left: 0;
top: 0;
width: 3px;
background: #000;
border-radius: 2px;
display: none;
pointer-events: none;
transition: top .25s ease, height .25s ease
}

.sidebar-nav ul {
list-style: none;
position: relative;
z-index: 1
}

.sidebar-nav ul ul {
padding-left: 1.1rem
}

.sidebar-nav li {
margin: 0
}

.sidebar-nav a {
display: block;
padding: .3rem .75rem .3rem 1.25rem;
color: #555;
text-decoration: none;
transition: color .15s;
border-left: 2px solid transparent
}

.sidebar-nav a:hover {
color: #000
}

.sidebar-nav a.active {
color: #000;
font-weight: 700;
text-decoration: underline;
text-underline-offset: 3px
}

.sidebar-nav details {
margin: 0
}

.sidebar-nav summary {
cursor: pointer;
color: #555;
list-style: none;
display: flex;
align-items: center;
gap: .35rem;
border-left: 2px solid transparent
}

.sidebar-nav summary::-webkit-details-marker {
display: none
}

.sidebar-nav summary::before {
content: "+";
color: #888;
width: 1em;
flex-shrink: 0;
display: inline-block;
text-align: center;
transition: transform .15s
}

.sidebar-nav details[open] > summary::before {
content: "-"
}

.sidebar-nav summary:hover {
color: #000
}

.sidebar-nav summary a {
display: inline;
padding: 0;
border-left: none;
color: inherit
}

.sidebar-nav summary a:hover {
color: inherit
}

.sidebar-nav details[open] > summary a {
color: #000
}

.content-area {
flex: 1;
display: flex;
flex-direction: column
}

main {
zoom: 90%;
flex: 1;
padding: 2rem;
}

h1 {
margin-bottom: 1rem;
padding-bottom: .5rem;
border-bottom: 2px solid #000
}

h2 {
margin: 2rem 0 1rem
}

p {
line-height: 1.7;
margin-bottom: 1rem;
color: #333
}

img {
max-width: 100%;
height: auto;
margin: 1rem 0;
border-radius: 4px
}

a {
color: #1a66d6
}

main p {
white-space: pre-line
}

p:has(.mark) {
white-space: normal
}

.gw {
position: relative
}

.g {
display: flex;
gap: .5rem;
overflow: hidden;
scroll-behavior: smooth
}

.gi {
flex-shrink: 0
}

.gi img {
height: 180px;
width: auto;
border-radius: 4px;
display: block;
transition: opacity .2s
}

.gi img:hover {
opacity: .8
}

.gs {
position: absolute;
top: 0;
bottom: 0;
width: 32px;
border: none;
background: rgba(255, 255, 255, .7);
color: #000;
cursor: pointer;
z-index: 10;
transition: background .15s;
line-height: 1
}

.gs:hover {
background: rgba(255, 255, 255, .95)
}

.gs.l {
left: 0
}

.gs.r {
right: 0
}

.bc {
display: flex;
flex-direction: column;
background: #fff;
border: 1px solid #e2e2e2;
border-radius: 6px;
padding: 1.5rem;
margin-bottom: 1rem;
position: relative;
box-shadow: 0 1px 3px rgba(0, 0, 0, .06)
}

.bc h2 {
margin: 0 0 .5rem;
}

.bc h2 a {
color: #1a1a1a;
text-decoration: none
}

.bc h2 a:hover {
color: #000
}

.bc p {
margin: 0;
color: #555;
line-height: 1.6
}

.ba {
align-self: flex-end;
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 50%;
border: 1px solid #ccc;
color: #555;
text-decoration: none;
margin-top: auto;
transition: background .15s, color .15s
}

.ba:hover {
background: #000;
color: #fff
}

.tl {
position: relative
}
.tl::before {
content: "";
position: absolute;
left: 13px;
top: 0;
bottom: 0;
width: 2px;
background: #d0d0d0
}

.sc {
display: flex;
gap: 1.5rem;
border: 1px solid #e2e2e2;
border-radius: 6px;
padding: 15px;
margin-bottom: 1rem;
background: #fff;
position: relative;
box-shadow: 0 1px 3px rgba(0, 0, 0, .06)
}
.tl .sc {
padding-left: 40px
}
.tl .sc::before {
content: "";
position: absolute;
left: 7px;
top: 50%;
width: 14px;
height: 14px;
border-radius: 50%;
background: #d0d0d0;
transform: translateY(-50%)
}

.sc-upcoming {
border-color: #c8a45c;
background: #faf5ea
}
.tl .sc-upcoming::before {
background: #c8a45c
}

.dt {
display: inline-block;
color: #666;
margin-top: .5rem
}
.dt a {
color: inherit;
text-decoration: none
}
.dt a:hover {
text-decoration: underline
}

.dt-future {
font-weight: 700;
padding: .15rem .5rem;
border-radius: 3px
}
.dt-future a {
color: #a5812e
}

main:has(#hc) {
padding: 0;
max-width: none
}

.vc {
background: #fff;
border: 1px solid #e2e2e2;
border-radius: 6px;
padding: 1rem;
margin-bottom: 1rem;
box-shadow: 0 1px 3px rgba(0, 0, 0, .06)
}

.vc h3 {
margin: .75rem 0 0;
color: #222
}

.vv {
display: block;
width: 100%;
max-height: 480px;
border-radius: 4px;
background: #000
}

.vp-thumb {
position: relative;
border-radius: 4px;
overflow: hidden;
background: #000
}

.vp-thumb .vp-img {
display: block;
width: 100%;
height: auto
}

.vp-play {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 56px;
height: 56px;
border: none;
border-radius: 50%;
background: rgba(0, 0, 0, .55);
color: #fff;
line-height: 1;
padding: 0 0 0 4px;
cursor: pointer;
transition: background .15s
}

.vp-play:hover {
background: rgba(0, 0, 0, .8)
}

.content-area footer {
display: none
}

#hc {
position: relative;
height: calc(100vh - 4rem);
overflow: hidden
}

.hc {
position: absolute;
border-radius: 3px;
box-shadow: 2px 2px 6px rgba(0, 0, 0, .2);
user-select: none
}

.hc[style*="opacity"] {
box-shadow: none
}

.pimg {
flex-shrink: 0
}

.pimg img {
display: block;
max-height: 150px;
width: auto;
border-radius: 4px
}

.simg {
flex-shrink: 0;
width: 600px;
position: relative
}

.simg .siv {
display: block;
width: 100%;
height: auto;
border-radius: 4px
}

.simg .siv.sh {
display: none
}

.spl, .spr {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(255, 255, 255, .9);
color: #111;
border: 1px solid #ddd;
padding: .3rem .6rem;
cursor: pointer;
border-radius: 3px;
line-height: 1;
z-index: 1
}

.spl { 
left: 4px 
}

.spr { 
right: 4px 
}

.spl:hover, .spr:hover {
background: rgba(255, 255, 255, .95)
}

.stxt {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column
}

.stxt p {
margin: 0 0 .5rem;
color: #444;
line-height: 1.6
}

.sa {
align-self: flex-end;
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 50%;
border: 1px solid #ccc;
color: #555;
text-decoration: none;
margin-top: auto;
transition: background .15s, color .15s
}

.sa:hover {
background: #000;
color: #fff
}
