:root {
    --maiyi-collection-ivory: #f5f1e8;
    --maiyi-collection-ink: #123129;
    --maiyi-collection-body: #74695d;
    --maiyi-collection-rust: #ad5137;
    --maiyi-collection-border: rgba(60, 54, 46, 0.18);
}

.maiyi-collection-page,
.maiyi-collection-page.wp-block-group {
    margin: 0;
    max-width: none;
    padding: 0;
}

.maiyi-collection-hero,
.maiyi-collection-hero.wp-block-maiyi-wax-collection-hero {
    --maiyi-collection-height: clamp(510px, 37.15vw, 535px);
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(390px, 35.5%) minmax(0, 64.5%);
    width: 100%;
    max-width: none;
    min-height: var(--maiyi-collection-height);
    margin: 0;
    overflow: hidden;
    color: var(--maiyi-collection-ink);
    background: var(--maiyi-collection-ivory);
    border-bottom: 1px solid var(--maiyi-collection-border);
}

.maiyi-collection-hero__copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    background: var(--maiyi-collection-ivory);
}

.maiyi-collection-hero__copy::after {
    position: absolute;
    z-index: -1;
    top: 0;
    right: -66px;
    width: 68px;
    height: 100%;
    content: "";
    background: var(--maiyi-collection-ivory);
    clip-path: polygon(0 0, 28% 0, 100% 100%, 0 100%);
}

.maiyi-collection-hero__rule {
    position: absolute;
    top: 52px;
    bottom: 42px;
    left: 26px;
    width: 1px;
    background: var(--maiyi-collection-rust);
    transform-origin: top;
    animation: maiyi-collection-rule 620ms cubic-bezier(.22,.61,.36,1) both;
}

.maiyi-collection-hero__content {
    display: flex;
    flex-direction: column;
    min-height: var(--maiyi-collection-height);
    box-sizing: border-box;
    padding: 78px 42px 44px 58px;
}

.maiyi-collection-hero__eyebrow,
.maiyi-collection-hero__title,
.maiyi-collection-hero__body,
.maiyi-collection-hero__index {
    margin: 0;
}

.maiyi-collection-hero__eyebrow {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: .28em;
    text-transform: uppercase;
    animation: maiyi-collection-rise 620ms 80ms cubic-bezier(.22,.61,.36,1) both;
}

.maiyi-collection-hero__title {
    width: min(100%, 340px);
    margin-top: 30px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(66px, 4.1vw, 76px);
    font-weight: 400;
    line-height: .88;
    letter-spacing: -.025em;
    text-transform: uppercase;
    animation: maiyi-collection-rise 650ms 160ms cubic-bezier(.22,.61,.36,1) both;
}

.maiyi-collection-hero__title span {
    display: block;
    white-space: nowrap;
}

.maiyi-collection-hero__body {
    max-width: 305px;
    margin-top: 28px;
    color: var(--maiyi-collection-body);
    font-size: 16px;
    line-height: 1.5;
    text-wrap: pretty;
    animation: maiyi-collection-rise 650ms 240ms cubic-bezier(.22,.61,.36,1) both;
}

.maiyi-collection-hero__index {
    margin-top: auto;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: .28em;
    text-transform: uppercase;
    animation: maiyi-collection-rise 650ms 320ms cubic-bezier(.22,.61,.36,1) both;
}

.maiyi-collection-hero__media {
    position: relative;
    z-index: 1;
    min-width: 0;
    align-self: stretch;
    min-height: var(--maiyi-collection-height);
    margin: 0;
    overflow: hidden;
    background: #6f5c43;
    animation: maiyi-collection-image 700ms 80ms cubic-bezier(.22,.61,.36,1) both;
}

.maiyi-collection-hero__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 51% 50%;
}

.maiyi-collection-hero__decoration {
    position: absolute;
    top: 35px;
    right: 31px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #f8f2e7;
    font-size: 8px;
    font-weight: 500;
    line-height: 1.95;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .82);
}

.maiyi-collection-hero__decoration i {
    display: block;
    width: 22px;
    height: 1px;
    margin-top: 10px;
    background: currentColor;
}

.maiyi-collection-hero__index--media,
.maiyi-product-collection-start,
.maiyi-product-collection-start.wp-block-group {
    display: none;
}

@keyframes maiyi-collection-rule {
    from { opacity: 0; transform: scaleY(0); }
    to { opacity: 1; transform: scaleY(1); }
}

@keyframes maiyi-collection-rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes maiyi-collection-image {
    from { opacity: 0; transform: scale(1.018); }
    to { opacity: 1; transform: scale(1); }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .maiyi-collection-hero,
    .maiyi-collection-hero.wp-block-maiyi-wax-collection-hero {
        --maiyi-collection-height: 510px;
        grid-template-columns: minmax(330px, 40%) minmax(0, 60%);
        min-height: var(--maiyi-collection-height);
    }

    .maiyi-collection-hero__content {
        min-height: var(--maiyi-collection-height);
        padding: 68px 30px 42px 42px;
    }

    .maiyi-collection-hero__rule {
        top: 48px;
        bottom: 40px;
        left: 20px;
    }

    .maiyi-collection-hero__copy::after {
        right: -50px;
        width: 52px;
    }

    .maiyi-collection-hero__title {
        width: min(100%, 300px);
        font-size: clamp(52px, 5.1vw, 62px);
    }

    .maiyi-collection-hero__body {
        max-width: 292px;
        font-size: 15px;
    }

    .maiyi-collection-hero__media {
        min-height: var(--maiyi-collection-height);
    }

    .maiyi-collection-hero__media img {
        object-position: 51% 50%;
    }

    .maiyi-collection-hero__decoration {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 899px) {
    .maiyi-collection-hero,
    .maiyi-collection-hero.wp-block-maiyi-wax-collection-hero,
    .maiyi-collection-hero__content {
        --maiyi-collection-height: 460px;
        min-height: var(--maiyi-collection-height);
    }

    .maiyi-collection-hero__media {
        min-height: var(--maiyi-collection-height);
    }

    .maiyi-collection-hero__media img {
        object-position: 48% 50%;
    }
}





@media (prefers-reduced-motion: reduce) {
    .maiyi-collection-hero__rule,
    .maiyi-collection-hero__eyebrow,
    .maiyi-collection-hero__title,
    .maiyi-collection-hero__body,
    .maiyi-collection-hero__index,
    .maiyi-collection-hero__media {
        animation: none;
    }
}

.editor-styles-wrapper .maiyi-collection-hero-editor-preview {
    width: 100%;
}
