/*
 * RAVONA V3 HOME PREVIEW
 * Scope: front page only when body has .rv-v3-home-preview.
 * Purpose: evaluate hero + desktop composition without touching the stable site.
 */

body.rv-v3-home-preview .rv-home {
    --rv-v3-section-y: clamp(64px, 8vh, 104px);
}

/* ---------- HERO ---------- */
body.rv-v3-home-preview .rv-home .rv-hero {
    min-height: 0 !important;
    height: clamp(660px, 100svh, 900px) !important;
    background: #f2ede5 !important;
    align-items: center !important;
}

body.rv-v3-home-preview .rv-home .rv-hero__media {
    inset: var(--rv-header-h) 0 0 !important;
    transform: none !important;
}

body.rv-v3-home-preview .rv-home .rv-hero__media picture,
body.rv-v3-home-preview .rv-home .rv-hero__media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

body.rv-v3-home-preview .rv-home .rv-hero__media img {
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    filter: none !important;
}

body.rv-v3-home-preview .rv-home .rv-hero__shade {
    top: var(--rv-header-h) !important;
    background:
        linear-gradient(
            90deg,
            rgba(246, 241, 233, .96) 0%,
            rgba(246, 241, 233, .86) 23%,
            rgba(246, 241, 233, .32) 43%,
            rgba(246, 241, 233, 0) 61%
        ) !important;
}

body.rv-v3-home-preview .rv-home .rv-hero__content {
    width: min(560px, 43vw) !important;
    padding: calc(var(--rv-header-h) + 42px) 0 46px var(--rv-gutter) !important;
}

body.rv-v3-home-preview .rv-home .rv-hero__content .rv-kicker {
    margin-bottom: 18px !important;
}

body.rv-v3-home-preview .rv-home .rv-hero h1 {
    max-width: 520px !important;
    font-size: clamp(58px, 6vw, 88px) !important;
    line-height: .88 !important;
    letter-spacing: -.045em !important;
}

body.rv-v3-home-preview .rv-home .rv-hero h1 em {
    padding-left: clamp(16px, 2.6vw, 38px) !important;
}

body.rv-v3-home-preview .rv-home .rv-hero__content > p {
    max-width: 390px !important;
    margin: 22px 0 24px !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
}

body.rv-v3-home-preview .rv-home .rv-hero__actions {
    gap: 10px !important;
}

body.rv-v3-home-preview .rv-home .rv-hero__scroll,
body.rv-v3-home-preview .rv-home .rv-hero__object {
    bottom: 20px !important;
}

/* ---------- GENERAL HOME RHYTHM ---------- */
body.rv-v3-home-preview .rv-home .rv-section {
    padding-top: var(--rv-v3-section-y) !important;
    padding-bottom: var(--rv-v3-section-y) !important;
}

body.rv-v3-home-preview .rv-home .rv-section-head {
    margin-bottom: clamp(32px, 4vh, 52px) !important;
}

body.rv-v3-home-preview .rv-home .rv-section-head h2 {
    font-size: clamp(38px, 4vw, 58px) !important;
    line-height: .98 !important;
}

/* Philosophy statement: complete composition rather than oversized 80vh block. */
body.rv-v3-home-preview .rv-home .rv-statement {
    min-height: 0 !important;
    padding-top: clamp(72px, 9vh, 110px) !important;
    padding-bottom: clamp(72px, 9vh, 110px) !important;
    grid-template-columns: minmax(150px, .38fr) minmax(0, 1.62fr) !important;
    gap: clamp(40px, 6vw, 90px) !important;
}

body.rv-v3-home-preview .rv-home .rv-statement__copy h2 {
    max-width: 900px !important;
    font-size: clamp(38px, 4.1vw, 60px) !important;
    line-height: 1.08 !important;
}

body.rv-v3-home-preview .rv-home .rv-statement__copy p {
    max-width: 520px !important;
    margin-top: 24px !important;
    padding-left: 0 !important;
    font-size: 13px !important;
}

/* Collections: keep the existing structure, just reduce unnecessary vertical mass. */
body.rv-v3-home-preview .rv-home .rv-collections {
    padding-top: var(--rv-v3-section-y) !important;
}

body.rv-v3-home-preview .rv-home .rv-collection-grid {
    gap: 14px !important;
}

body.rv-v3-home-preview .rv-home .rv-collection-card {
    min-height: clamp(390px, 55vh, 540px) !important;
    max-height: 540px !important;
}

body.rv-v3-home-preview .rv-home .rv-collection-card:not(.rv-collection-card--wide) {
    min-height: calc((clamp(390px, 55vh, 540px) - 14px) / 2) !important;
}

body.rv-v3-home-preview .rv-home .rv-collection-card > div {
    padding: clamp(22px, 2.5vw, 34px) !important;
}

body.rv-v3-home-preview .rv-home .rv-collection-card h3 {
    font-size: clamp(32px, 3.2vw, 48px) !important;
}

/* Engineering section: fit comfortably on common laptop screens. */
body.rv-v3-home-preview .rv-home .rv-engineering {
    min-height: 0 !important;
    height: clamp(570px, 78svh, 690px) !important;
    grid-template-columns: 55% 45% !important;
}

body.rv-v3-home-preview .rv-home .rv-engineering__media {
    min-height: 0 !important;
}

body.rv-v3-home-preview .rv-home .rv-engineering__content {
    padding: clamp(42px, 5vw, 70px) !important;
}

body.rv-v3-home-preview .rv-home .rv-engineering__content h2 {
    margin: 18px 0 22px !important;
    font-size: clamp(40px, 4.3vw, 60px) !important;
}

body.rv-v3-home-preview .rv-home .rv-engineering__content > p {
    margin: 0 !important;
    font-size: 13px !important;
}

body.rv-v3-home-preview .rv-home .rv-engineering__metrics {
    margin: 28px 0 !important;
    padding: 20px 0 !important;
}

body.rv-v3-home-preview .rv-home .rv-engineering__metrics strong {
    font-size: 28px !important;
}

/* Products: cleaner, tighter desktop grid without changing product markup. */
body.rv-v3-home-preview .rv-home .rv-products {
    padding-top: var(--rv-v3-section-y) !important;
    padding-bottom: var(--rv-v3-section-y) !important;
}

body.rv-v3-home-preview .rv-home .rv-product-grid {
    gap: 38px 16px !important;
}

/* Signature object: keep composition within a laptop viewport. */
body.rv-v3-home-preview .rv-home .rv-signature {
    min-height: 0 !important;
    height: clamp(570px, 78svh, 700px) !important;
    grid-template-columns: .82fr 1.18fr !important;
}

body.rv-v3-home-preview .rv-home .rv-signature__copy h2 {
    margin: 20px 0 24px !important;
    font-size: clamp(44px, 4.7vw, 66px) !important;
}

body.rv-v3-home-preview .rv-home .rv-signature__copy p {
    margin-bottom: 28px !important;
}

body.rv-v3-home-preview .rv-home .rv-signature__object {
    min-height: 0 !important;
    height: 100% !important;
}

body.rv-v3-home-preview .rv-home .rv-signature__object > img {
    width: min(540px, 70%) !important;
    max-height: 82% !important;
    object-fit: contain !important;
}

/* Lifestyle image should feel cinematic, but not become another 100vh wall. */
body.rv-v3-home-preview .rv-home .rv-philosophy {
    min-height: 0 !important;
    height: clamp(560px, 76svh, 690px) !important;
}

body.rv-v3-home-preview .rv-home .rv-philosophy__copy {
    padding: clamp(70px, 9vh, 110px) var(--rv-gutter) !important;
}

body.rv-v3-home-preview .rv-home .rv-philosophy h2 {
    margin: 20px 0 30px !important;
    font-size: clamp(48px, 5.6vw, 78px) !important;
}

/* Principles and newsletter: compact final rhythm. */
body.rv-v3-home-preview .rv-home .rv-principles__item {
    min-height: 220px !important;
    padding: 30px 26px !important;
}

body.rv-v3-home-preview .rv-home .rv-principles__item h3 {
    font-size: 24px !important;
}

body.rv-v3-home-preview .rv-home .rv-newsletter {
    min-height: 0 !important;
    padding-top: clamp(70px, 9vh, 105px) !important;
    padding-bottom: clamp(70px, 9vh, 105px) !important;
}

body.rv-v3-home-preview .rv-home .rv-newsletter h2 {
    margin: 16px auto 34px !important;
    font-size: clamp(40px, 4.6vw, 64px) !important;
}

/* ---------- TABLET ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
    body.rv-v3-home-preview .rv-home .rv-hero {
        height: clamp(680px, 88svh, 780px) !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__content {
        width: min(520px, 64vw) !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero h1 {
        font-size: clamp(58px, 8vw, 78px) !important;
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 767px) {
    body.rv-v3-home-preview .rv-home .rv-hero {
        min-height: 0 !important;
        height: clamp(720px, 92svh, 860px) !important;
        align-items: flex-start !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__media {
        inset: var(--rv-header-h) 0 0 !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__media img {
        object-position: center bottom !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__shade {
        top: var(--rv-header-h) !important;
        background:
            linear-gradient(
                180deg,
                rgba(245, 239, 230, .98) 0%,
                rgba(245, 239, 230, .88) 24%,
                rgba(245, 239, 230, .38) 43%,
                rgba(245, 239, 230, 0) 62%
            ) !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__content {
        width: 100% !important;
        padding: calc(var(--rv-header-h) + 34px) 20px 0 !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__content .rv-kicker {
        margin-bottom: 14px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero h1 {
        max-width: 350px !important;
        font-size: clamp(52px, 15.5vw, 70px) !important;
        line-height: .86 !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero h1 em {
        padding-left: 14px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__content > p {
        max-width: 310px !important;
        margin: 18px 0 18px !important;
        font-size: 12px !important;
        line-height: 1.55 !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__actions .rv-button {
        min-width: 0 !important;
        min-height: 44px !important;
        padding: 12px 14px !important;
        font-size: 8px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__scroll,
    body.rv-v3-home-preview .rv-home .rv-hero__object {
        display: none !important;
    }

    /* Keep stable mobile section layouts; only normalize oversized vertical gaps. */
    body.rv-v3-home-preview .rv-home .rv-section {
        padding-top: 64px !important;
        padding-bottom: 64px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-section-head {
        margin-bottom: 34px !important;
    }
}

@media (max-width: 390px) {
    body.rv-v3-home-preview .rv-home .rv-hero {
        height: 780px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero h1 {
        font-size: 54px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__actions .rv-button {
        width: auto !important;
    }
}

/* ===== RAVONA V3 DIRECT RECOVERY START ===== */

/* HOME PREVIEW ONLY: clean link treatment */
body.rv-v3-home-preview .rv-home a,
body.rv-v3-home-preview .rv-home a:hover,
body.rv-v3-home-preview .rv-home a:focus,
body.rv-v3-home-preview .rv-home a:active {
    text-decoration: none !important;
    text-decoration-line: none !important;
    box-shadow: none !important;
}

body.rv-v3-home-preview .rv-home .rv-text-link {
    text-decoration: none !important;
    background-image: none !important;
    box-shadow: none !important;
    border-bottom: 1px solid currentColor !important;
}

body.rv-v3-home-preview .rv-home .rv-text-link::before,
body.rv-v3-home-preview .rv-home .rv-text-link::after {
    content: none !important;
    display: none !important;
}

/* Keep actual inline arrow SVGs */
body.rv-v3-home-preview .rv-home .rv-button svg,
body.rv-v3-home-preview .rv-home .rv-text-link svg,
body.rv-v3-home-preview .rv-home .rv-newsletter button svg {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    flex: 0 0 18px !important;
    fill: none !important;
    stroke: currentColor !important;
}

/* Four approved principle icons */
body.rv-v3-home-preview .rv-home .rv-principles__item::before {
    content: "" !important;
    display: block !important;
    order: 2 !important;
    width: 72px !important;
    height: 72px !important;
    margin: 20px 0 12px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    flex: 0 0 72px !important;
}

body.rv-v3-home-preview .rv-home .rv-principles__item > span {
    order: 1 !important;
}

body.rv-v3-home-preview .rv-home .rv-principles__item h3 {
    order: 3 !important;
}

body.rv-v3-home-preview .rv-home .rv-principles__item p {
    order: 4 !important;
}

body.rv-v3-home-preview .rv-home .rv-principles__item:nth-child(1)::before {
    background-image: url("../images/principle-materials.webp") !important;
}

body.rv-v3-home-preview .rv-home .rv-principles__item:nth-child(2)::before {
    background-image: url("../images/principle-engineering.webp") !important;
}

body.rv-v3-home-preview .rv-home .rv-principles__item:nth-child(3)::before {
    background-image: url("../images/principle-interiors.webp") !important;
}

body.rv-v3-home-preview .rv-home .rv-principles__item:nth-child(4)::before {
    background-image: url("../images/principle-international.webp") !important;
}

body.rv-v3-home-preview .rv-home .rv-principles__item {
    min-height: 300px !important;
}


/* =========================================================
   MOBILE HOME RECOVERY
   Header dimensions / alignment are deliberately untouched.
   ========================================================= */
@media (max-width: 767px) {

    /*
     * Do not reposition the header.
     * Only stop the right utility wrapper overlapping the logo tap area.
     */
    body.rv-v3-home-preview .rv-header .rv-nav--right {
        pointer-events: none !important;
    }

    body.rv-v3-home-preview .rv-header .rv-nav--right > * {
        pointer-events: auto !important;
    }

    body.rv-v3-home-preview .rv-header a.rv-logo {
        pointer-events: auto !important;
        position: relative !important;
        z-index: 10 !important;
    }


    /* HERO: approximately half a phone viewport */
    body.rv-v3-home-preview .rv-home .rv-hero {
        min-height: 410px !important;
        height: clamp(410px, 52svh, 480px) !important;
        max-height: 480px !important;
        overflow: hidden !important;
        align-items: flex-start !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__media {
        inset: var(--rv-header-h) 0 0 !important;
        transform: none !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__media picture,
    body.rv-v3-home-preview .rv-home .rv-hero__media img {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__media img {
        object-fit: cover !important;
        object-position: 62% 64% !important;
        transform: none !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__shade {
        top: var(--rv-header-h) !important;
        background:
            linear-gradient(
                180deg,
                rgba(245,239,230,.98) 0%,
                rgba(245,239,230,.90) 27%,
                rgba(245,239,230,.52) 48%,
                rgba(245,239,230,.06) 76%
            ) !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__content {
        width: 100% !important;
        max-width: none !important;
        padding:
            calc(var(--rv-header-h) + 16px)
            20px
            14px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__content .rv-kicker {
        margin-bottom: 9px !important;
        font-size: 8px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero h1 {
        width: auto !important;
        max-width: 255px !important;
        margin: 0 !important;
        font-size: clamp(39px, 11vw, 48px) !important;
        line-height: .9 !important;
        letter-spacing: -.035em !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero h1 em {
        padding-left: 8px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__content > p {
        max-width: 225px !important;
        margin: 10px 0 11px !important;
        font-size: 10.5px !important;
        line-height: 1.42 !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 7px !important;
        width: 100% !important;
        max-width: 350px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__actions .rv-button {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 39px !important;
        padding: 9px 10px !important;
        gap: 6px !important;
        font-size: 7px !important;
        white-space: nowrap !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__actions .rv-button svg {
        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;
        flex-basis: 15px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero__scroll,
    body.rv-v3-home-preview .rv-home .rv-hero__object {
        display: none !important;
    }


    /* Marquee */
    body.rv-v3-home-preview .rv-home .rv-marquee {
        min-height: 54px !important;
        height: 54px !important;
        overflow: hidden !important;
    }

    body.rv-v3-home-preview .rv-home .rv-marquee__track {
        min-height: 54px !important;
        height: 54px !important;
        align-items: center !important;
        gap: 24px !important;
        white-space: nowrap !important;
    }

    body.rv-v3-home-preview .rv-home .rv-marquee__track span {
        font-size: 9px !important;
        letter-spacing: .18em !important;
    }


    /* General spacing */
    body.rv-v3-home-preview .rv-home .rv-section {
        padding: 56px 20px !important;
    }


    /* RAVONA philosophy statement */
    body.rv-v3-home-preview .rv-home .rv-statement {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) !important;
        grid-template-rows: auto auto !important;
        gap: 24px !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 58px 20px !important;
        align-items: start !important;
    }

    body.rv-v3-home-preview .rv-home .rv-statement__meta,
    body.rv-v3-home-preview .rv-home .rv-statement__copy {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.rv-v3-home-preview .rv-home .rv-statement__meta {
        display: flex !important;
        align-items: baseline !important;
        gap: 18px !important;
        padding: 0 !important;
    }

    body.rv-v3-home-preview .rv-home .rv-statement__copy h2 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        font-size: clamp(31px, 8.4vw, 38px) !important;
        line-height: 1.08 !important;
        letter-spacing: -.025em !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    body.rv-v3-home-preview .rv-home .rv-statement__copy p {
        max-width: 100% !important;
        margin: 18px 0 0 !important;
        padding: 0 !important;
        font-size: 12px !important;
        line-height: 1.6 !important;
    }


    /* Section headings */
    body.rv-v3-home-preview .rv-home .rv-section-head {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 18px !important;
        margin-bottom: 30px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-section-head h2 {
        font-size: clamp(32px, 9vw, 42px) !important;
        line-height: 1 !important;
    }


    /* Collections */
    body.rv-v3-home-preview .rv-home .rv-collection-grid {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) !important;
        gap: 12px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-collection-card,
    body.rv-v3-home-preview .rv-home .rv-collection-card:not(.rv-collection-card--wide) {
        min-height: clamp(320px, 94vw, 410px) !important;
        max-height: 410px !important;
        grid-row: auto !important;
    }

    body.rv-v3-home-preview .rv-home .rv-collection-card > div {
        padding: 24px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-collection-card h3 {
        font-size: 38px !important;
    }


    /* Engineering */
    body.rv-v3-home-preview .rv-home .rv-engineering {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) !important;
        min-height: 0 !important;
        height: auto !important;
    }

    body.rv-v3-home-preview .rv-home .rv-engineering__media {
        min-height: 68vw !important;
        height: 68vw !important;
    }

    body.rv-v3-home-preview .rv-home .rv-engineering__content {
        padding: 48px 20px !important;
        border-left: 0 !important;
        border-top: 1px solid var(--rv-line-light) !important;
    }

    body.rv-v3-home-preview .rv-home .rv-engineering__content h2 {
        margin: 16px 0 20px !important;
        font-size: clamp(38px, 10vw, 48px) !important;
    }

    body.rv-v3-home-preview .rv-home .rv-engineering__metrics {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin: 28px 0 !important;
        padding: 22px 0 !important;
    }

    body.rv-v3-home-preview .rv-home .rv-engineering__metrics div {
        display: flex !important;
        align-items: baseline !important;
        gap: 14px !important;
    }


    /* Product cards */
    body.rv-v3-home-preview .rv-home .rv-product-grid {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) !important;
        gap: 42px !important;
    }


    /* Signature object */
    body.rv-v3-home-preview .rv-home .rv-signature {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 58px 20px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-signature__copy {
        width: 100% !important;
        padding-right: 0 !important;
    }

    body.rv-v3-home-preview .rv-home .rv-signature__copy h2 {
        font-size: clamp(40px, 10.5vw, 50px) !important;
    }

    body.rv-v3-home-preview .rv-home .rv-signature__object {
        min-height: 360px !important;
        height: 360px !important;
        margin-top: 20px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-signature__object > img {
        width: min(80%, 340px) !important;
        max-height: 330px !important;
        object-fit: contain !important;
    }

    body.rv-v3-home-preview .rv-home .rv-signature__note {
        display: none !important;
    }


    /* Lifestyle */
    body.rv-v3-home-preview .rv-home .rv-philosophy {
        min-height: 500px !important;
        height: 500px !important;
        align-items: flex-end !important;
        overflow: hidden !important;
    }

    body.rv-v3-home-preview .rv-home .rv-philosophy::after {
        background:
            linear-gradient(
                0deg,
                rgba(29,29,31,.90),
                rgba(29,29,31,.08)
            ) !important;
    }

    body.rv-v3-home-preview .rv-home .rv-philosophy__copy {
        padding: 54px 20px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-philosophy h2 {
        margin: 17px 0 25px !important;
        font-size: clamp(40px, 10.5vw, 50px) !important;
    }

    body.rv-v3-home-preview .rv-home .rv-philosophy h2 em {
        padding-left: 0 !important;
    }


    /* Four principles */
    body.rv-v3-home-preview .rv-home .rv-principles {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) !important;
        padding: 0 20px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-principles__item {
        min-height: 245px !important;
        padding: 28px 20px !important;
        border-right: 1px solid var(--rv-line) !important;
        border-bottom: 1px solid var(--rv-line) !important;
    }

    body.rv-v3-home-preview .rv-home .rv-principles__item::before {
        width: 64px !important;
        height: 64px !important;
        flex-basis: 64px !important;
        margin: 17px 0 11px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-principles__item h3 {
        margin: auto 0 11px !important;
        font-size: 23px !important;
    }


    /* Newsletter */
    body.rv-v3-home-preview .rv-home .rv-newsletter {
        min-height: 0 !important;
        padding: 58px 20px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-newsletter h2 {
        margin: 14px 0 27px !important;
        font-size: clamp(33px, 9vw, 41px) !important;
    }

    body.rv-v3-home-preview .rv-home .rv-newsletter__form {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) !important;
    }

    body.rv-v3-home-preview .rv-home .rv-newsletter__form button {
        justify-content: space-between !important;
        padding-left: 0 !important;
    }
}

@media (max-width: 390px) {
    body.rv-v3-home-preview .rv-home .rv-hero {
        min-height: 390px !important;
        height: 50svh !important;
        max-height: 445px !important;
    }

    body.rv-v3-home-preview .rv-home .rv-hero h1 {
        font-size: 39px !important;
    }
}

/* ===== RAVONA V3 DIRECT RECOVERY END ===== */

/* ===== RAVONA V3 MOBILE HERO REFINEMENT START ===== */

@media (max-width: 767px) {

    body.rv-v3-home-preview .rv-home-hero,
    body.rv-v3-home-preview .rv-hero,
    body.rv-v3-home-preview .rv-home .rv-hero {
        position: relative !important;
        min-height: 72svh !important;
        height: auto !important;
        overflow: hidden !important;
    }

    body.rv-v3-home-preview .rv-home-hero::before,
    body.rv-v3-home-preview .rv-hero::before,
    body.rv-v3-home-preview .rv-home .rv-hero::before {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;
        background:
            linear-gradient(
                to bottom,
                rgba(244,241,234,.10) 0%,
                rgba(244,241,234,.18) 22%,
                rgba(244,241,234,.34) 46%,
                rgba(244,241,234,.58) 68%,
                rgba(244,241,234,.82) 100%
            ) !important;
        pointer-events: none !important;
    }

    body.rv-v3-home-preview .rv-home-hero__media,
    body.rv-v3-home-preview .rv-hero__media,
    body.rv-v3-home-preview .rv-home .rv-hero__media,
    body.rv-v3-home-preview .rv-home-hero picture,
    body.rv-v3-home-preview .rv-home-hero img,
    body.rv-v3-home-preview .rv-hero picture,
    body.rv-v3-home-preview .rv-hero img {
        display: block !important;
        width: 100% !important;
        height: 72svh !important;
        min-height: 72svh !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    body.rv-v3-home-preview .rv-home-hero__content,
    body.rv-v3-home-preview .rv-hero__content,
    body.rv-v3-home-preview .rv-home .rv-hero__content {
        position: relative !important;
        z-index: 2 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;
        min-height: 72svh !important;
        padding: 28px 22px 28px !important;
        box-sizing: border-box !important;
        text-align: left !important;
    }

    body.rv-v3-home-preview .rv-home-hero__eyebrow,
    body.rv-v3-home-preview .rv-hero__eyebrow {
        margin: 0 0 14px !important;
    }

    body.rv-v3-home-preview .rv-home-hero__title,
    body.rv-v3-home-preview .rv-hero__title {
        max-width: 280px !important;
        margin: 0 0 14px !important;
        font-size: clamp(42px, 11vw, 58px) !important;
        line-height: .95 !important;
        letter-spacing: -.03em !important;
    }

    body.rv-v3-home-preview .rv-home-hero__text,
    body.rv-v3-home-preview .rv-hero__text,
    body.rv-v3-home-preview .rv-home-hero__description,
    body.rv-v3-home-preview .rv-hero__description {
        max-width: 270px !important;
        margin: 0 0 18px !important;
        font-size: 14px !important;
        line-height: 1.45 !important;
        color: #2b2b2d !important;
    }

    body.rv-v3-home-preview .rv-home-hero__actions,
    body.rv-v3-home-preview .rv-hero__actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        align-items: stretch !important;
    }

    body.rv-v3-home-preview .rv-home-hero__actions a,
    body.rv-v3-home-preview .rv-home-hero__actions button,
    body.rv-v3-home-preview .rv-hero__actions a,
    body.rv-v3-home-preview .rv-hero__actions button {
        min-height: 54px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 16px !important;
        font-size: 10px !important;
        letter-spacing: .16em !important;
        text-transform: uppercase !important;
        box-sizing: border-box !important;
    }

    body.rv-v3-home-preview .rv-home-hero__actions > *:first-child,
    body.rv-v3-home-preview .rv-hero__actions > *:first-child {
        background: #17181d !important;
        color: #ffffff !important;
        border: 1px solid #17181d !important;
    }

    body.rv-v3-home-preview .rv-home-hero__actions > *:last-child,
    body.rv-v3-home-preview .rv-hero__actions > *:last-child {
        background: rgba(244,241,234,.30) !important;
        color: #17181d !important;
        border: 1px solid rgba(23,24,29,.55) !important;
        backdrop-filter: blur(2px) !important;
    }

    body.rv-v3-home-preview .rv-home-hero__actions svg,
    body.rv-v3-home-preview .rv-hero__actions svg {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* ===== RAVONA V3 MOBILE HERO REFINEMENT END ===== */
