.page-id-85004 .wb-abschnitt:has(.rhg-hochbautext) {
    padding-block: clamp(2.6rem, 4.6vw, 4.4rem);
}
.page-id-85004 .rhg-hochbautext > .rhg-fachdetail {
    margin-block: 1.15rem 0;
    border-block: 1px solid #bdc4c2;
    color: #262d30;
}
.rhg-fachdetail > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: 48px;
    padding-block: .6rem;
    cursor: pointer;
    font-weight: 650;
    line-height: 1.45;
    list-style: none;
}
.rhg-fachdetail > summary::-webkit-details-marker { display: none; }
.rhg-fachdetail > summary::after {
    content: '';
    box-sizing: border-box;
    width: .62em;
    height: .62em;
    flex: none;
    margin: -.2em .3em 0 0;
    border-inline-end: 2px solid currentColor;
    border-block-end: 2px solid currentColor;
    color: #932322;
    rotate: 45deg;
}
.rhg-fachdetail[open] > summary::after { rotate: 225deg; margin-block-start: .22em; }
.rhg-fachdetail > summary:focus-visible,
.rs-yearnav.rhg-jahreswahl a:focus-visible, #rhg-chronikweg:focus-visible {
    outline: 3px solid #1b5b86 !important;
    outline-offset: 3px;
}
.rhg-fachdetail > div { padding-block: .25rem .85rem; }
.page-id-85004 .rhg-fachdetail > div > p { max-inline-size: 67ch; margin: 0; }
.page-id-85004 .rhg-fachdetail > div > p + p { margin-block-start: .8em; }
.page-id-85004 .rhg-hochbautext > .rk-list + p { margin-block-start: 1.1rem; }

.rk-section .rs-yearnav.rhg-jahreswahl { display: block; margin-inline: auto; }
.rk-section .rhg-jahreswahl h2 {
    color: #252b2e;
    font-size: clamp(1.4rem, 2.2vw, 2.2rem);
    line-height: 1.16;
    letter-spacing: -.025em;
    margin: 0 0 1rem;
    text-align: start;
    scroll-margin-block-start: 6rem;
}
.rhg-jahreslinks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(.9rem, 2.8vw, 2.5rem); }
.rk-section .rs-yearnav.rhg-jahreswahl a {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: .25rem;
    min-height: 48px;
    margin: 0;
    padding: .85rem .25rem .8rem 0;
    border: 0;
    border-block-start: 1px solid #a9b0ae;
    color: #242a2c !important;
    background: transparent;
    text-align: start;
    text-decoration: none !important;
    line-height: 1.35;
    overflow-wrap: break-word;
}
.rhg-jahreswahl a strong { font-size: clamp(1.25rem, 1.8vw, 1.65rem); letter-spacing: -.025em; }
.rhg-jahreswahl a span { font-size: .92rem; font-weight: 500; }
.rk-section .rs-yearnav.rhg-jahreswahl a:is(:focus-visible,:hover,[aria-current="location"]) { border-block-start-color: #9e2622; background: transparent; color: #8e211e !important; }
.rs-yearnav.rhg-jahreswahl a:is(:focus-visible,:hover,[aria-current="location"]) span { text-decoration: underline; text-underline-offset: .18em; }
.rs-history .rs-chronicle .rs-milestone { scroll-margin-top: 5rem; }
.rs-history .rhg-chronik-rueckweg { max-width: 72rem; margin: 1.2rem auto 0; text-align: end; }
.rs-history .rhg-chronik-rueckweg a { min-height: 48px; }
@media (min-width: 761px) {
    .rs-history .rs-chronicle .rs-milestone.rs-ohne-bild { padding-block: clamp(1.65rem, 3.4vw, 3.2rem); }
    .rs-history .rs-chronicle .rs-ohne-bild > .rs-milestone-card:has(> h2) { display: contents; }
    .rs-history .rs-chronicle .rs-ohne-bild > .rs-milestone-card > h2 { grid-column: var(--story-other); grid-row: 1; }
    .rs-history .rs-chronicle .rs-ohne-bild > .rs-milestone-card > p { grid-column: var(--story-copy); grid-row: 1; }
}
@media (max-width: 680px) {
    .rhg-jahreslinks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
    .rk-section .rs-yearnav.rhg-jahreswahl a { padding-block: .68rem; }
    .rhg-jahreswahl a span { font-size: .9rem; }
}
@media (forced-colors: active) {
    .rhg-fachdetail > summary::after { color: ButtonText; }
    .rk-section .rs-yearnav.rhg-jahreswahl a { color: LinkText !important; }
}
