/* Shared by the German editor and every language's frontend. */
.coworx-independent main,
.editor-styles-wrapper .is-root-container {
    container-type: inline-size;
    container-name: cw-page;
}
@container cw-page (min-width: 1200px) {
    :is(.coworx-independent, .editor-styles-wrapper) .cw-hero-test .wp-block-cover__inner-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: clamp(4px, 1svh, 12px);
        padding: 32px 4cqw;
        box-sizing: border-box;
        translate: 0 -5%;
    }
    :is(.coworx-independent, .editor-styles-wrapper) .cw-hero-test :is(.cw-hero-test__title, .cw-hero-test__logo) {
        position: static;
        transform: none;
        width: max-content;
        max-width: 100%;
        margin: 0;
    }
    :is(.coworx-independent, .editor-styles-wrapper) .cw-hero-test .cw-hero-test__title {
        font-family: "COWORX Roboto", var(--cw-font-sans), sans-serif;
        font-size: min(clamp(40px, 2.8cqw, 64px), 8svh);
        line-height: 1.33;
        font-weight: 400;
        color: #179378;
        background: rgb(255 255 255 / 90%);
        padding: 0 .12em;
        text-shadow: none;
        text-wrap: balance;
    }
    :is(.coworx-independent, .editor-styles-wrapper) .cw-hero-test .cw-hero-test__logo {
        font-family: "COWORX Roboto", var(--cw-font-sans), sans-serif;
        font-size: min(clamp(220px, 16cqw, 360px), 36svh);
        line-height: 1.16;
        text-shadow: .031em .031em #fff;
    }
    :is(.coworx-independent, .editor-styles-wrapper) .cw-home {
        --fs-p: clamp(18px, 1cqw, 22px);
        --fs-h3: clamp(28px, 2cqw, 42px);
        --cw-space-section: clamp(80px, 5cqw, 128px);
        font-size: var(--fs-p);
        line-height: 1.65;
    }
    :is(.coworx-independent, .editor-styles-wrapper) .cw-home .cw-home__section {
        max-width: min(1180px, 88cqw);
        padding-inline: 32px;
    }
    :is(.coworx-independent, .editor-styles-wrapper) .cw-home .cw-home__section:has(.cw-pricing-grid) {
        max-width: min(1440px, 92cqw);
    }
    :is(.coworx-independent, .editor-styles-wrapper) .cw-home .cw-pricing-grid {
        max-width: none;
        gap: clamp(20px, 1.5cqw, 36px);
    }
    :is(.coworx-independent, .editor-styles-wrapper) .cw-home .cw-pricing-card__title {
        font-size: clamp(18px, 1.1cqw, 24px);
        white-space: normal;
    }
    :is(.coworx-independent, .editor-styles-wrapper) .cw-home .cw-pricing-card__price strong {
        font-size: clamp(36px, 2.2cqw, 48px);
    }
    :is(.coworx-independent, .editor-styles-wrapper) .cw-home .cw-pricing-card__list {
        line-height: 1.5;
    }
    :is(.coworx-independent, .editor-styles-wrapper) .cw-home .cw-parallax {
        height: clamp(520px, 65svh, 900px);
    }
}
@media (min-width: 1200px) {
    .coworx-independent .cw-header { padding-inline: max(32px, calc((100vw - 1440px) / 2)); }
    .coworx-independent #cw-navigation { font-size: clamp(15px, .8vw, 18px); }
}

/* Private Dev drafts for comparing hero readability treatments. */
@media all {
    .coworx-independent .cw-hero-test--variant-1::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background: linear-gradient(180deg, rgb(23 147 120 / 8%) 0%, rgb(23 147 120 / 42%) 58%, rgb(17 102 79 / 78%) 100%);
    }

    .coworx-independent .cw-hero-test--variant-1 .wp-block-cover__inner-container {
        z-index: 1;
    }

    body.coworx-independent .cw-hero-test.cw-hero-test--variant-1 :is(.cw-hero-test__title,.cw-hero-test__logo) {
        color: #fff;
        background: transparent;
        text-shadow: 0 1px 3px rgb(17 54 43 / 46%);
    }

    body.coworx-independent .cw-hero-test.cw-hero-test--variant-2 :is(.cw-hero-test__title,.cw-hero-test__logo) {
        background: rgb(255 255 255 / 88%);
        padding-inline: .06em;
        text-shadow: none;
    }

    .coworx-independent .cw-hero-test--variant-3::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background: linear-gradient(180deg, rgb(255 255 255 / 82%) 0%, rgb(255 255 255 / 62%) 62%, rgb(255 255 255 / 28%) 100%);
    }

    .coworx-independent .cw-hero-test--variant-3 .wp-block-cover__inner-container {
        z-index: 1;
    }
    body.coworx-independent .cw-hero-test.cw-hero-test--variant-3 :is(.cw-hero-test__title,.cw-hero-test__logo) {
        color: #179378;
        background: transparent;
        text-shadow: none;
    }
}
