body.roeblinglauf-subpage {
    --rl-sub-red: #cc171d;
    --rl-sub-ink: #292b2e;
    --rl-sub-font: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    margin: 0;
    background: #fff;
    color: var(--rl-sub-ink);
    font: 400 17px/1.53 var(--rl-sub-font);
}

.rl-sub-shell [hidden] { display: none; }

.rl-sub-container {
    width: min(100% - 2 * clamp(18px, 5vw, 78px), 1360px);
    margin-inline: auto;
}

.rl-sub-skip {
    position: fixed;
    z-index: 100001;
    inset: 12px auto auto 12px;
    transform: translateY(-180%);
    background: #fff;
    color: #141414;
    padding: .6em 1em;
}

.rl-sub-skip:focus { transform: none; }

.rl-sub-header {
    position: relative;
    z-index: 5;
    color: #fff;
    background: linear-gradient(90deg, #12161df0, #181d21d6),
        url("../media/start.jpg") center 40% / cover no-repeat;
}

.rl-sub-masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 3.8vw, 54px);
}

.rl-sub-logo { flex: 0 0 clamp(98px, 10vw, 155px); }
.rl-sub-logo img,
.rl-sub-footer img { display: block; width: 100%; height: auto; }

.rl-sub-nav ul,
.rl-sub-footer ul { list-style: none; margin: 0; padding: 0; }

.rl-sub-nav > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    column-gap: clamp(13px, 1.65vw, 28px);
}

.rl-sub-nav li { position: relative; }
.rl-sub-nav a,
.rl-sub-footer a { display: inline-block; color: #fff; text-decoration: none; }

.rl-sub-nav a {
    padding: 12px 0;
    font-weight: 700;
    text-transform: uppercase;
}

.rl-sub-nav a:hover,
.rl-sub-nav a:focus-visible,
.rl-sub-nav .current-menu-item > a,
.rl-sub-footer a:hover,
.rl-sub-footer a:focus-visible { text-decoration: underline; text-underline-offset: .26em; }

.rl-sub-nav li > ul { padding-inline-start: 14px; }

@media (min-width: 861px) {
    .rl-sub-nav li > ul {
        display: none;
        position: absolute;
        inset: 100% auto auto 0;
        min-width: 190px;
        max-height: min(70vh, 550px);
        padding: 8px 14px;
        overflow: auto;
        background: #21262c;
        box-shadow: 0 7px 22px #0004;
    }

    .rl-sub-nav li:focus-within > ul,
    .rl-sub-nav li:hover > ul { display: block; }
    .rl-sub-nav li li > ul { position: static; box-shadow: none; }
    .rl-sub-nav li li a { padding-block: 5px; font-size: 15px; }
}

.rl-sub-toggle {
    padding: .6em .9em;
    border: 1px solid #fff9;
    border-radius: 6px;
    color: #fff;
    background: transparent;
    font: inherit;
    font-weight: 700;
}

.rl-sub-slider > :last-child { margin-bottom: 0; }

.roeblinglauf-subpage .rl-sub-main { padding: 0; }
.rl-sub-page-title {
    padding-block: clamp(33px, 5.2vw, 76px);
    background: #f9f6f5 url("laufmaus.png") right 12% center / min(30vw, 390px) auto no-repeat;
}
.rl-sub-page-title h1 {
    margin: 0;
    color: var(--rl-sub-red);
    font: 700 clamp(38px, 5vw, 70px)/1.07 var(--rl-sub-font);
    overflow-wrap: anywhere;
}

.rl-sub-content {
    display: flex;
    align-items: flex-start;
    gap: clamp(24px, 4vw, 55px);
    padding-block: clamp(30px, 5vw, 72px) clamp(60px, 8vw, 110px);
}
.roeblinglauf-subpage main .rl-sub-article {
    flex: 1;
    min-width: 0;
    max-width: 1100px;
    margin-inline: auto;
    padding: 0;
    box-shadow: none;
    background: transparent;
}
.rl-sub-article :is(h1, h2, h3, h4, h5, h6, p, li) {
    font-family: var(--rl-sub-font);
    overflow-wrap: anywhere;
}
.rl-sub-article :is(h1, h2, h3) { color: var(--rl-sub-red); font-weight: 700; }
.rl-sub-article :is(h4, h5, h6) { color: var(--rl-sub-ink); font-weight: 700; }
.rl-sub-article a:not(.vc_btn3, .wp-block-button__link) { color: var(--rl-sub-red); text-underline-offset: .16em; }
.rl-sub-article :is(img, video, iframe, input, select, textarea) { max-width: 100%; }
.rl-sub-article td { overflow-wrap: anywhere; }
.rl-sub-article img { height: auto; }
.rl-sub-article :is(.wpb_single_image, .wp-caption) { max-width: 100%; }
.rl-sub-article .vc_row { scroll-margin-top: 40px; }
.rl-sub-content > .sidebar { flex: 0 0 min(28%, 315px); min-width: 0; }

.rl-sub-footer { padding-block: clamp(24px, 4vw, 54px); color: #fff; background: var(--rl-sub-red); }
.rl-sub-footer-grid { display: grid; align-items: start; gap: 24px; grid-template-columns: .8fr 1.2fr .65fr 1fr; }
.rl-sub-footer-logo { width: min(100%, 135px); }
.rl-sub-support { max-width: 350px; }
.rl-sub-footer address { font-style: normal; }
.rl-sub-footer a { font-weight: 600; }
.rl-sub-footer-widgets { margin-top: 25px; padding-top: 20px; border-top: 1px solid #ffffff5e; }

@media (max-width: 860px) {
    .rl-sub-masthead { flex-wrap: wrap; }
    .rl-sub-nav { flex: 0 0 100%; margin-top: -12px; padding-bottom: 16px; }
    .rl-sub-nav > ul { display: block; }
    .rl-sub-nav a { padding-block: 5px; }
    .rl-sub-nav li > ul { border-left: 1px solid #ffffff42; }
    .rl-sub-content { display: block; }
    .rl-sub-content > .sidebar { margin-top: 28px; }
    .rl-sub-article table { display: block; max-width: 100%; overflow-x: auto; }
    .rl-sub-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
