.page-id-85004 #thema-4 .km-betonwand > * { min-width: 0; }
@media (min-width: 761px) {
    .page-id-85004 #thema-4 .km-betonwand {
        display: grid;
        grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
        align-items: center;
        gap: clamp(2rem, 4.5vw, 4.5rem);
    }
    .page-id-85004 #thema-4 .km-betonwand > .wb-rundwand { grid-column: 1; grid-row: 1; width: 100%; }
    .page-id-85004 #thema-4 .km-betonwand > .wb-lesestoff { grid-column: 2; grid-row: 1; }
}
@media (min-width: 1050px) {
    .page-id-85004 section#thema-4:has(.km-betonwand) > .wb-raster { width: var(--wb-width); }
}
.page-id-85004 .wb-begleitfoto .km-ki-motiv {
    display: block;
    position: relative;
    width: 100%;
    margin-inline: auto;
    isolation: isolate;
}
.page-id-85004 .wb-begleitfoto .km-ki-motiv img {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    aspect-ratio: auto !important;
}
.page-id-85004 .km-ki-plakette {
    position: absolute;
    z-index: 1;
    inset-inline-end: .55rem;
    inset-block-end: .55rem;
    display: grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    box-sizing: border-box;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #9b2425;
    color: #fff;
    font: 700 .86rem/1 Arial, sans-serif;
    letter-spacing: .03em;
    pointer-events: none;
}
html.rhg-projektbilder-aus .page-id-85004 [data-rhg-projektfoto] .km-ki-motiv { display: none; }
.page-id-85011 #jahr-1994 figure img { filter: grayscale(1) !important; }
.page-id-85011 .rhg-jahreslinks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-id-85011 .rs-chronicle :is(.rs-milestone, .rs-milestone:target), .page-id-85011 #rhg-chronikweg {
    scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 1rem);
}
@media (max-width: 680px) {
    .page-id-85011 .rhg-jahreslinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-id-85011 .rhg-jahreslinks > a:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.page-id-85007 #thema-2 .km-stahlbeton { min-width: 0; max-width: 65ch; }
.page-id-85007 #thema-2 .km-stahlbeton > section {
    margin-top: clamp(1.2rem, 2.5vw, 2rem);
    border-top: 1px solid #ccd0cf;
    padding-top: .95rem;
}
.page-id-85007 #thema-2 .km-stahlbeton h3 {
    margin: 0 0 .4rem;
    padding: 0;
    color: #252b2e;
    font-size: clamp(1.14rem, 1.5vw, 1.45rem);
    line-height: 1.23;
}
.page-id-85007 #thema-9 .iw-kern {
    display: flex;
    align-items: center;
    justify-content: center;
    container-type: inline-size;
    min-width: 0;
    padding: 0;
    box-sizing: border-box;
}
.page-id-85007 #thema-9 .iw-kern > h2.km-kreistitel {
    width: 93%;
    max-width: none;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
    text-indent: 0;
    font-size: 1.16rem;
    font-size: min(8.4cqi, 1.58rem);
    line-height: 1.16;
    letter-spacing: -.025em;
}
.page-id-85007 .iw-kern > .km-kreistitel span { display: block; white-space: nowrap; }
/* Give enlarged reading text its own row, clear of the surrounding topic controls. */
html.rhg-schrift .page-id-85007 #thema-9 .iw-orbit { display: flex; flex-direction: column; gap: 1.4rem; aspect-ratio: auto; }
html.rhg-schrift .page-id-85007 #thema-9 .iw-orbit::before { display: none; }
html.rhg-schrift .page-id-85007 #thema-9 .iw-kern { width: min(100%, 24rem); }
html.rhg-schrift .page-id-85007 #thema-9 .iw-themen { display: grid; position: static; width: 100%; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: .6rem; }
html.rhg-schrift .page-id-85007 #thema-9 .iw-themen :is(a, button) { position: static; width: 100%; transform: none; }
@media print {
    .page-id-85007 #thema-9 .iw-kern { display: block; width: auto; container-type: normal; }
    .page-id-85007 #thema-9 .iw-kern > h2.km-kreistitel { width: auto; text-align: start; font-size: 1.5rem; }
    .page-id-85007 .iw-kern > .km-kreistitel span { display: inline; }
}
