body.navigation-dark {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 0;
    background: #130e24 url('./img/performance-media-benchmark-2026-bg.jpg') center center / cover no-repeat;
}

.navigation-dark > .center.ui-desktop {
    width: 100%;
    max-width: 1440px;
    padding: 0 40px;
}

.navigation-dark .main-header-wrapper {
    padding: 32px 0;
}

.navigation-dark .main-header .logo {
    width: 210px;
    height: auto;
    margin-left: 0;
}

.benchmark-fullscreen {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex: 1;
    padding: 56px 24px;
    color: #fff;
    text-align: center;
}

.benchmark-title {
    width: 100%;
    max-width: 800px;
    margin: 0 0 40px;
    font-family: Barlow, Arial, sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.benchmark-title-label,
.benchmark-title-period {
    display: block;
}

.benchmark-description {
    width: 100%;
    max-width: 1100px;
    margin: 0 0 55px;
    font-family: Barlow, Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
}

.benchmark-form-wrapper {
    width: 100%;
    max-width: 550px;
}

.benchmark-layout,
.benchmark-content {
    display: contents;
}

@media screen and (min-width: 769px) {
    .benchmark-fullscreen {
        justify-content: center;
        padding: 32px 40px 48px;
        text-align: left;
    }

    .benchmark-layout {
        display: grid;
        grid-template-columns: minmax(0, 730fr) minmax(0, 550fr);
        align-items: center;
        gap: 80px;
        width: 100%;
        max-width: 1360px;
    }

    .benchmark-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 48px;
        min-width: 0;
    }

    .benchmark-title,
    .benchmark-description {
        margin: 0;
    }

    .benchmark-description {
        max-width: 624px;
        line-height: 28px;
    }

    .benchmark-title {
        font-size: 68px;
    }

    .benchmark-title-label {
        margin-bottom: 24px;
        line-height: 72px;
    }

    .benchmark-title-period {
        font-size: 44px;
        line-height: 50px;
    }

    .benchmark-form-wrapper {
        justify-self: end;
        min-width: 0;
    }
}

@media screen and (min-width: 769px) and (max-width: 1199px) {
    .benchmark-layout {
        grid-template-columns: minmax(0, 1fr) clamp(360px, 42vw, 420px);
        gap: 32px;
    }

    .benchmark-title {
        font-size: 48px;
    }

    .benchmark-title-label {
        line-height: 52px;
    }

    .benchmark-title-period {
        font-size: 32px;
        line-height: 38px;
    }
}

@media screen and (max-width: 768px) {
    .benchmark-fullscreen {
        padding-top: 46px;
        padding-right: 20px;
        padding-bottom: 46px;
        padding-left: 20px;
    }

    .benchmark-title {
        margin-bottom: 0;
        padding: 0 20px;
        font-size: 34px;
        line-height: 38px;
    }

    .benchmark-title-label {
        margin-bottom: 8px;
    }

    .benchmark-title-period {
        font-size: 22px;
        line-height: 28px;
    }

    .benchmark-description {
        margin: 48px 0;
        padding: 0 20px;
        font-size: 16px;
        line-height: 26px;
    }
}

/* Keep the compact menu on tablets where the full navigation would not fit. */
@media screen and (max-width: 1023px) {
    body.navigation-dark {
        padding-top: 80px;
    }

    .navigation-dark > .center.ui-desktop {
        display: none;
    }

    .navigation-dark .main-header-mobile-wrapper {
        display: block;
        width: 100%;
        padding: 0 20px;
    }

    .navigation-dark .main-header-mobile {
        height: 80px;
        padding: 0;
    }

    .navigation-dark .main-header-mobile-logo .logo {
        display: block;
        width: 140px;
        height: auto;
    }
}
