/* Shared with the knowledge hub; all reading controls remain usable without scripts. */
.rg-wrap { width: min(100% - 40px, 1030px); margin-inline: auto; }
.rg-crumb { display: flex; flex-wrap: wrap; gap: .4em; font-size: .86rem; padding-top: 28px; color: #445664; }
.rg-crumb a, .rg-body a, .guide-index a, .rg-intro a, .rg-video a { color: #225677; text-underline-offset: .18em; }
.rg-intro { max-width: 760px; margin: 36px 0 24px; }
.rg-intro h1 { font-size: clamp(2.15rem,5vw,3.65rem); line-height: 1.06; letter-spacing: -.045em; max-width: 24ch; text-wrap: balance; margin: 0 0 18px; }
.rg-intro .lead { font-size: clamp(1.13rem,2vw,1.32rem); line-height: 1.56; color: #324755; }
.rg-credit,.rg-crumb,.rg-source,.rg-video figcaption { font-size: .88rem; line-height: 1.55; }
.rg-credit { color: #4c606e; }
.rg-layout { display: grid; grid-template-columns: 205px minmax(0, 690px); gap: clamp(25px,5vw,68px); border-top: 1px solid #cfd8de; padding: 32px 0 60px; }
.rg-toc { align-self: start; position: sticky; top: 100px; display: grid; }
.rg-toc a { color: #294557; text-decoration: none; line-height: 1.35; min-height: 40px; padding-block: 8px; }
.rg-toc a:hover { text-decoration: underline; }
.rg-body { font-size: 1.055rem; line-height: 1.66; min-width: 0; color: #253746; }
.rg-body section,.rg-video { scroll-margin-top: 100px; }
.rg-body section { margin-bottom: 38px; }
.rg-body h2 { font-size: clamp(1.44rem,2.8vw,1.95rem); line-height: 1.19; margin: 0 0 14px; letter-spacing: -.025em; }
.rg-body h3 { font-size: 1.14rem; margin-bottom: 2px; }
.rg-body p,.rg-body ol,.rg-body dl { margin: 0 0 14px; }
.rg-body ol { padding-left: 1.45em; }
.rg-body li { margin-bottom: 9px; padding-left: .22em; }
.rg-body dt { font-weight: 700; }
.rg-body dd { margin: 0 0 9px; }
.rg-body blockquote { margin: 12px 0; padding: 4px 0 4px 15px; border-left: 3px solid #afbec6; }
.rg-body table { border-collapse: collapse; width: 100%; margin-block: 12px; text-align: left; font-variant-numeric: tabular-nums; }
.rg-body caption { text-align: left; font-size: .9rem; }
.rg-body th,.rg-body td { padding: 7px; border-bottom: 1px solid #cbd6dc; }
.rg-body #uebung,.rg-fact { background: #eff4f6; padding: clamp(15px,3vw,26px); border-radius: 8px; }
.rg-fact { margin-bottom: 25px; border-inline-start: 3px solid #49738d; }
.rg-fact strong { display: block; }
.rg-body details { padding: 0; background: transparent; border: 0; box-shadow: none; }
.rg-body summary { font-weight: 700; padding: 10px 0; color: #184c6f; cursor: pointer; }
.rg-video { margin: 0 0 38px; }
.rg-player { background: #182c3c; width: 100%; aspect-ratio: 16 / 9; position: relative; overflow: hidden; border-radius: 7px; }
.rg-player img,.rg-player iframe { width: 100%; height: 100%; display: block; object-fit: cover; border: 0; }
.rg-load { position: absolute; inset: 0; width: 100%; border: 0; background: linear-gradient(transparent 42%,#142532ab); display: grid; cursor: pointer; place-items: center; }
.rg-load span { display: inline-flex; gap: 10px; align-items: center; background: #142735; border: 1px solid #90a6b2; color: white; border-radius: 30px; padding: 10px 19px; font-family: inherit; font-size: .94rem; font-weight: 600; line-height: 1.4; }
.rg-load span::before { content: ''; width: 0; height: 0; border: 6px solid transparent; border-left: 9px solid currentColor; border-right: 0; }
.rg-load[hidden],.rg-unload[hidden] { display: none; }
.rg-unload { margin-top: 8px; cursor: pointer; }
.rg-video figcaption { margin: 8px 0 0; color: #425663; }
.rg-video figcaption p { margin: 4px 0; }
.rg-body :focus-visible,.rg-toc :focus-visible,.guide-index a:focus-visible { outline: 3px solid #b55823; outline-offset: 3px; }
.rg-load:focus-visible { outline-offset: -4px; }
.guide-index { list-style: none; padding: 0; margin: 14px 0 0; }
.guide-index li { border-top: 1px solid #cbd5da; padding: 12px 0; }
.guide-index a { font-weight: 650; }
.guide-index span { display: block; font-size: .94rem; line-height: 1.5; color: #445762; }
@media(max-width:760px){
 .rg-wrap { width: min(100% - 32px, 680px); }
 .rg-layout { display: block; padding-top: 12px; }
 .rg-toc { position: static; display: flex; flex-wrap: wrap; gap: 2px 16px; margin-bottom: 16px; }
 .rg-toc a { font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
 .rg-crumb { padding-top: 18px; }
 .rg-intro { margin-top: 18px; }
}
.rg-privacy { max-width: 780px; }
.rg-privacy h2[id] { scroll-margin-top: 95px; }
.rg-video > #yt-hinweis { margin: 0 0 .65rem; }
