/* Fit the frame to the archive photograph, keeping the roof, four people and company sign intact. */
.page-id-85011 .rs-history .rs-chronicle #jahr-2017 figure .rs-image-surface {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 992 / 1400 !important;
    background: transparent;
    padding: 0;
}
.page-id-85011 .rs-history .rs-chronicle #jahr-2017 figure .rs-image-surface img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    margin: 0;
    object-fit: contain !important;
    object-position: center;
    transform: none !important;
}
.page-id-85011 .rs-history .rs-chronicle #jahr-1994 .rs-image-surface {
    aspect-ratio: 988 / 1348;
}
.page-id-85011 .rs-history .rs-chronicle #jahr-1994 .rs-image-surface img {
    object-fit: contain;
    transform: none !important;
}
.page-id-85011 .rs-history .rs-chronicle #jahr-2005 { --story-focus: 54% 47%; }
.page-id-85011 .rs-history .rs-chronicle #jahr-2022 { --story-focus: 50% 25%; }
.page-id-85011 .rs-history .rs-chronicle #jahr-2022 .rs-image-surface { aspect-ratio: 4 / 5; }
.page-id-85011 :is(#jahr-2021, #jahr-vision) .rc-zeichnung {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    isolation: isolate;
}
.page-id-85011 :is(#jahr-2021, #jahr-vision) .rc-zeichnung img { display: block; width: 100%; height: auto !important; transform: none !important; }
.page-id-85011 :is(#jahr-2021, #jahr-vision) .rc-ki {
    position: absolute;
    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 :is(#jahr-2021, #jahr-vision) .rc-ki { display: none; }
