/* An optional transparent composition; the existing text styles remain shared. */
.hero.hero--responsive.hero--content-height.hero--petal-art {
    background: transparent;
    color: var(--wp--preset--color--deep-brown, #40372e);
}
.hero.hero--responsive.hero--petal-art::before { content: none; }
.hero.hero--responsive.hero--petal-art > .hero__image-wrapper {
    inset: 5rem clamp(2rem, 6vw, 6rem) 1rem auto;
    width: max(0px, calc(100% - var(--hero-content-width, 600px) - clamp(3rem, 6vw, 6rem) - clamp(2rem, 6vw, 6rem) - 2rem));
    max-width: 560px;
    height: auto;
    z-index: 0;
}
.hero.hero--responsive.hero--petal-art .hero__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}
body:not(.wp-admin):has(.hero--petal-art),
.content-wrapper:has(> .hero--petal-art),
.cca-course-pattern-page:has(> .hero--petal-art) { background: var(--wp--preset--color--cream, #faf7f2); }
.content-wrapper > .hero--petal-art + section.has-cream-background-color,
.content-wrapper > .hero--petal-art + .cca-side-callout + section.has-cream-background-color,
.cca-course-pattern-page > .hero--petal-art + section.has-cream-background-color,
.cca-course-pattern-page > .hero--petal-art + .cca-side-callout + section.has-cream-background-color {
    background: transparent !important;
}
@media (max-width: 1100px) {
    .hero.hero--responsive.hero--petal-art > .hero__image-wrapper {
        position: relative;
        inset: auto;
        grid-column: 1;
        grid-row: 4;
        justify-self: center;
        width: min(60vw, 360px);
        max-width: calc(100% - 3rem);
        aspect-ratio: 640 / 520;
        margin: 1rem auto 0;
    }
}
.cca-responsive-hero-editor.hero--petal-art {
    background: var(--wp--preset--color--cream, #faf7f2) !important;
}

@media (min-width: 1101px) {
    .hero.hero--responsive.hero--content-height.hero--petal-art {
        min-height: 360px !important;
    }
}
@media (min-width: 1101px) {
    .hero.hero--responsive.hero--petal-art.hero--has-kicker > .hero__image-wrapper {
        bottom: 10rem;
    }
}
