/* Keep Peony's home decoration independent from the Phykidis theme. */
html body .phk-page:has(> .phk-hero) {
    --phk-home-surface: #fff9fb;
    --phk-home-rgb: 255, 249, 251;
}

html body .phk-page:has(> .phk-hero) > .phk-about,
html body .phk-page:has(> .phk-hero) > .phk-reviews {
    background: transparent !important;
}

@media (min-width: 1440px) {
    html body .phk-page:has(> .phk-hero) {
        background-color: var(--phk-home-surface) !important;
        background-image:
            linear-gradient(to right,
                transparent calc(50% - 740px),
                rgba(var(--phk-home-rgb), .18) calc(50% - 620px),
                rgba(var(--phk-home-rgb), .65) calc(50% - 490px),
                var(--phk-home-surface) calc(50% - 360px),
                var(--phk-home-surface) calc(50% + 360px),
                rgba(var(--phk-home-rgb), .65) calc(50% + 490px),
                rgba(var(--phk-home-rgb), .18) calc(50% + 620px),
                transparent calc(50% + 740px)),
            var(--phk-seasonal-background) !important;
        background-position: center top !important;
        background-size: 100% 100%, cover !important;
        background-attachment: scroll, fixed !important;
        background-repeat: no-repeat !important;
    }
}

@media (max-width: 1439px) {
    html body .phk-page:has(> .phk-hero) {
        position: relative;
        isolation: isolate;
        background: transparent !important;
    }

    html body .phk-page:has(> .phk-hero)::before {
        content: '';
        position: fixed;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background-color: var(--phk-home-surface);
        background-image:
            linear-gradient(rgba(var(--phk-home-rgb), .25), rgba(var(--phk-home-rgb), .25)),
            var(--phk-seasonal-background);
        background-position: right top;
        background-size: cover;
        background-repeat: no-repeat;
    }
}
