body.rdcore-page .main-page-wrapper {
    padding-top: 0;
    padding-bottom: 0;
    background: transparent
}

body.rdcore-page [data-rdcore-root] {
    display: block;
    width: 100%;
    max-width: none;
    isolation: isolate;
    overflow: hidden
}

body.rdcore-page [data-rdcore-root] :where(input, textarea, select) {
    box-sizing: border-box
}

body.rdcore-page [data-rdcore-root] .rdcore-status {
    margin: 16px 0;
    font-size: 14px;
    color: var(--rd-gold, #d8bb74)
}

body.rdcore-page [data-rdcore-root] [hidden] {
    display: none !important
}

body.rdcore-page [data-rdcore-root] .rdcore-honey {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

body.rdcore-page [data-rdcore-root] .rdcore-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(600px, calc(100% - 32px));
    padding: 40px;
    background: #25020d;
    color: #f3ead9;
    border: 1px solid #d8bb74;
    max-height: 90vh;
    overflow: auto;
    z-index: 99999
}

body.rdcore-page [data-rdcore-root] .rdcore-dialog::backdrop {
    background: #000b
}

/* Woodmart owns the document landmark and the global container width.
 * Release only the RDCore host layout, then constrain inner content once.
 * :has() applies before the runtime starts; .rdcore-host-layout is its fallback.
 */
body.rdcore-page #main-content:has([data-rdcore-root]),
body.rdcore-page .wd-content-layout:has([data-rdcore-root]),
body.rdcore-page .rdcore-host-layout {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    padding-inline: 0 !important;
    margin-inline: 0 !important;
    gap: 0 !important;
    min-width: 0;
}

body.rdcore-page .wd-content-area:has([data-rdcore-root]),
body.rdcore-page .site-content:has([data-rdcore-root]),
body.rdcore-page .rdcore-host-area {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    flex: 0 0 100%;
    grid-column: 1 / -1;
    padding-inline: 0 !important;
    margin-inline: 0 !important;
}

body.rdcore-page [data-rdcore-root] #rdcore-main {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.rdcore-page [data-rdcore-root] .rd-container {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--wd-container-w, 1380px);
    padding-inline: 15px;
    margin-inline: auto;
}

/* Width-specific reading layouts stay narrower than the theme maximum. */
body.rdcore-page [data-rdcore-root] .rd-reading {
    max-width: min(900px, var(--wd-container-w, 1380px));
}

body.rdcore-page [data-rdcore-root] .rd-hero {
    min-height: 0;
    padding-top: 32px;
    padding-bottom: 72px;
}

body.rdcore-page [data-rdcore-root] .rd-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1fr);
    gap: 24px;
    min-height: 0;
    align-items: start;
}

body.rdcore-page [data-rdcore-root] .rd-bottle {
    width: 100%;
    height: auto;
    max-height: 1000px;
    margin: 0;
    object-fit: contain;
    object-position: top center;
    align-self: start;
}

body.rdcore-page [data-rdcore-root] .rd-hero-left {
    padding-top: 70px;
    min-width: 0
}

body.rdcore-page [data-rdcore-root] .rd-hero-right {
    padding-top: 200px;
    min-width: 0
}

body.rdcore-page [data-rdcore-root] .rd-hero h1,
body.rdcore-page [data-rdcore-root] .rd-hero h2 {
    font-size: clamp(44px, 5vw, 68px);
    letter-spacing: -2px;
    width: auto;
    max-width: 100%;
    white-space: normal;
}

body.rdcore-page [data-rdcore-root] .rd-hero-copy {
    padding-top: 64px;
    max-width: 100%;
    width: auto
}

body.rdcore-page [data-rdcore-root] .rd-hero-copy p {
    font-size: 16px
}

@media(min-width:1001px) {
    body.rdcore-page [data-rdcore-root] .rd-split-copy {
        padding-inline-end: max(30px, calc((100vw - var(--wd-container-w, 1380px))/2 + 15px));
    }

    body.rdcore-page [data-rdcore-root] .rd-stories .rd-split-copy {
        padding-inline-start: max(30px, calc((100vw - var(--wd-container-w, 1380px))/2 + 15px));
        padding-inline-end: 0;
    }
}

@media(max-width:1000px) {
    body.rdcore-page [data-rdcore-root] .rd-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 24px;
    }

    body.rdcore-page [data-rdcore-root] .rd-hero-left {
        grid-column: 1;
        grid-row: 1;
        padding-top: 30px
    }

    body.rdcore-page [data-rdcore-root] .rd-bottle {
        grid-column: 2;
        grid-row: 1 / 3;
        max-height: 750px
    }

    body.rdcore-page [data-rdcore-root] .rd-hero-right {
        grid-column: 1;
        grid-row: 2;
        padding-top: 5px;
        text-align: left
    }

    body.rdcore-page [data-rdcore-root] .rd-hero h1,
    body.rdcore-page [data-rdcore-root] .rd-hero h2 {
        font-size: clamp(36px, 6vw, 54px)
    }

    body.rdcore-page [data-rdcore-root] .rd-hero-copy {
        padding-top: 30px
    }

    body.rdcore-page [data-rdcore-root] .rd-scroll {
        display: none
    }
}

@media(max-width:600px) {
    body.rdcore-page [data-rdcore-root] .rd-hero {
        padding-top: 20px;
        padding-bottom: 45px
    }

    body.rdcore-page [data-rdcore-root] .rd-hero-grid {
        gap: 12px
    }

    body.rdcore-page [data-rdcore-root] .rd-hero-left {
        padding-top: 0
    }

    body.rdcore-page [data-rdcore-root] .rd-hero h1,
    body.rdcore-page [data-rdcore-root] .rd-hero h2 {
        font-size: clamp(27px, 7vw, 41px);
        letter-spacing: -1px
    }

    body.rdcore-page [data-rdcore-root] .rd-hero-copy p {
        font-size: 12px
    }

    body.rdcore-page [data-rdcore-root] .rd-bottle {
        max-height: 550px
    }
}

/* Keep transparent gradient layers on the imported page's own dark base. */
/* body.rdcore-page [data-rdcore-root] {
    background-color: var(--rd-bg, #1b0008)
} */

body.rdcore-page [data-rdcore-root] .rd-hero-copy br {
    display: initial
}

/* 1.1.0: remove theme vertical padding only from the imported page host. */
body.rdcore-page #main-content:has([data-rdcore-root]),
body.rdcore-page .wd-content-layout:has([data-rdcore-root]),
body.rdcore-page .rdcore-host-layout {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}