/**
 * @license MIT, https://opensource.org/license/MIT
 */

main .heading h1,
main .heading h2,
main .heading h3 {
    margin: 0;
}

main .heading h1,
main .heading h2 {
    text-align: center;
}

:is(.type-page, .type-content) main .cms-content:has(.aimeos-feature-list) > .heading:first-child {
    border: 0;
    background: #FFFFFF;
}

:is(.type-page, .type-content) main .cms-content:has(.aimeos-feature-list) > .heading:first-child h1 {
    color: #103050;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
}

.type-content main .cms-content:has(.aimeos-feature-list) > .heading:first-child > .container {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

:is(.type-page, .type-content) main .cms-content:has(.aimeos-showcases) > .heading:first-child > .container {
    padding-top: 2rem;
    padding-bottom: 0;
}

:is(.type-page, .type-content) main .cms-content:has(.aimeos-showcases) > .heading:first-child h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

footer.cms-content .heading h1,
footer.cms-content .heading h2,
footer.cms-content .heading h3 {
    color: var(--pico-contrast);
}

:is(.type-page, .type-content) main .cms-content:has(table.roadmap) > .heading:first-child > .container {
    padding-top: 2.5rem;
    padding-bottom: 4.5rem;
}

:is(.type-page, .type-content) main .cms-content:has(table.roadmap) > .heading:first-child h1 {
    color: #103050;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 400;
}

:is(.type-page, .type-content) main .cms-content:has(.row > .partner) > .heading:first-child h1 {
    margin: 0.5em 0;
    color: #103050;
    font-size: clamp(2.5em, 4vw, 3.5em);
    font-weight: 400;
    line-height: 1.2;
}

.type-page main .cms-content:has(.landing.welcome) > .heading,
.type-content main .cms-content:has(.landing.welcome, .aimeos-hero) > .heading {
    background-color: #CAD2D9;
}

.type-page main .cms-content:has(.landing.welcome) > .heading .container,
.type-content main .cms-content:has(.landing.welcome, .aimeos-hero) > .heading .container {
    padding-block: 1.25rem;
}

@media screen and (max-width: 767px) {
    :is(.type-page, .type-content) main .cms-content:has(table.roadmap) > .heading:first-child > .container {
        padding-bottom: 3rem;
    }
}
