/* WHEIF one-dog ad landing page (/sponsor/:slug). Warm WHEIF look, phone-first single column.
   Loaded after wheif.css + wheif-stray.css; everything is scoped to the landing page. */
.wheif-body--landing {
    --wl-paper: #fffdf8;
    --wl-line: #e4d8c8;
    --wl-coral: #e8897a;
    --wl-coral-deep: #d56f60;
    --wl-brown: #7a4b2e;
    --wl-muted: #5d6f60;
    background: var(--wh-bg);
}
.wheif-landing__head {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    max-width: 560px; margin: 0 auto; padding: 0.9rem 1rem 0.5rem;
}
.wheif-landing__brand { display: flex; align-items: center; gap: 0.65rem; color: var(--wl-muted); font-size: 0.82rem; line-height: 1.3; text-decoration: none; }
.wheif-landing__brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: #fff; }
.wheif-landing__brand strong { display: block; color: var(--wh-text); font-size: 0.95rem; }
.wheif-landing__lang { flex-shrink: 0; }

.wheif-landing { max-width: 560px; margin: 0 auto; padding: 0 1rem 2.5rem; color: var(--wh-text); }
.wheif-landing h1 { font-family: var(--wh-sans); font-size: clamp(1.6rem, 6vw, 2rem); line-height: 1.2; margin: 0.5rem 0 0.25rem; color: var(--wh-text); }
.wheif-landing h2 { font-family: var(--wh-sans); font-size: 1.05rem; margin: 0 0 0.7rem; color: var(--wh-text); }
.wheif-landing__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wheif-landing__hero {
    margin: 0.5rem 0 0; border-radius: 18px; overflow: hidden; background: #e6ddd0;
    aspect-ratio: 4 / 5; max-height: 72vh;
}
.wheif-landing__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wheif-landing__hero--fallback img { display: none; }

.wheif-landing__intro { padding-top: 1rem; }
.wheif-landing__status {
    display: inline-block; padding: 0.25rem 0.7rem; border-radius: 999px;
    font-size: 0.78rem; font-weight: 700; background: #efe2cf; color: var(--wl-brown);
}
.wheif-landing__status--ok { background: #e4eee6; color: #3d5344; }
.wheif-landing__status--adopted { background: #4a6cf7; color: #fff; }
.wheif-landing__status--rainbow { background: #7a5cad; color: #fff; }
.wheif-landing__meta { margin: 0 0 0.85rem; color: var(--wl-muted); font-size: 0.86rem; }
.wheif-landing__story {
    background: var(--wl-paper); border: 1px solid var(--wl-line); border-radius: 16px;
    padding: 0.9rem 0.95rem 0.8rem; margin: 0 0 1.1rem;
}
.wheif-landing__story-text { margin: 0; white-space: pre-wrap; font-size: 0.95rem; line-height: 1.65; }
.wheif-landing__note { margin: 0.65rem 0 0; font-size: 0.78rem; color: var(--wl-muted); line-height: 1.5; }

/* Amount tiers: 2 × 2, suggested tier ringed in coral, "other amount" full width. */
.wheif-landing .wheif-landing__tiers { margin: 0 0 0.75rem; }
.wheif-landing .wheif-landing__tier-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.wheif-landing .wheif-landing__tier { margin: 0; background: var(--wl-paper); border: 1.5px solid var(--wl-line); border-radius: 14px; }
.wheif-landing .wheif-landing__tier .wheif-month__face { padding: 0.75rem 0.5rem; gap: 0.15rem; }
.wheif-landing .wheif-landing__tier strong { font-size: 1.25rem; color: var(--wh-text); }
.wheif-landing .wheif-landing__tier span { font-size: 0.76rem; color: var(--wl-muted); }
.wheif-landing .wheif-landing__tier--suggested { border: 3px solid var(--wl-coral); }
.wheif-landing .wheif-landing__tier--custom { grid-column: 1 / -1; }
.wheif-landing .wheif-landing__tier--custom strong { font-size: 1rem; }
.wheif-landing .wheif-landing__tier.is-active,
.wheif-landing .wheif-landing__tier:has(input:checked) {
    border: 3px solid var(--wh-coral-deep);
    background: var(--wh-coral-deep);
    color: #fff;
    box-shadow: 0 10px 24px rgba(181, 87, 75, 0.3);
}
.wheif-landing .wheif-landing__tier.is-active strong,
.wheif-landing .wheif-landing__tier:has(input:checked) strong { color: #fff; }
.wheif-landing .wheif-landing__tier.is-active span,
.wheif-landing .wheif-landing__tier:has(input:checked) span { color: #fff4f0; }
.wheif-landing .wheif-landing__tier.is-active input[type="number"],
.wheif-landing .wheif-landing__tier:has(input:checked) input[type="number"] {
    color: var(--wh-text); background: #fff;
}
.wheif-landing__badge {
    display: inline-block; margin-bottom: 0.2rem; padding: 0.12rem 0.55rem; border-radius: 999px;
    background: var(--wl-coral); color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em;
}

/* Frequency cards use the shared homepage radio-card styles in wheif.css
   (Juanna 2026-11-26 s174). Do not flatten them into compact text buttons. */
.wheif-landing__monthly { margin: 0 0 0.9rem; font-size: 0.85rem; }

.wheif-landing__details {
    margin: 0 0 0.75rem; padding: 0.8rem 0.9rem 0.4rem;
    background: var(--wl-paper); border: 1px solid var(--wl-line); border-radius: 14px;
}
.wheif-landing__details-label { margin: 0 0 0.2rem; font-weight: 700; font-size: 0.9rem; }
.wheif-landing__details label { margin: 0.55rem 0; font-size: 0.88rem; }
.wheif-landing .wheif-payment-methods { margin: 0 0 0.75rem; }

.wheif-landing .wheif-landing__cta {
    display: block; width: 100%; border: 0; border-radius: 14px; padding: 0.95rem 1rem;
    background: var(--wl-coral); color: #fff; font-size: 1.08rem; font-weight: 700; cursor: pointer;
    box-shadow: 0 10px 22px rgba(213, 111, 96, 0.25);
}
.wheif-landing .wheif-landing__cta:hover { background: var(--wl-coral-deep); }
.wheif-landing .wheif-landing__cta:disabled { opacity: 0.7; cursor: progress; }
.wheif-landing .wheif-payment-back { display: block; margin: 0.6rem auto 0; }
.wheif-landing__help { margin-top: 0.55rem; text-align: center; font-size: 0.78rem; color: var(--wl-muted); line-height: 1.55; }
.wheif-landing__help p { margin: 0.1rem 0; }
.wheif-landing__help .wheif-sponsor-terms { margin-top: 0.4rem; }

.wheif-landing__trust {
    margin-top: 1.3rem; padding: 0.95rem 1rem; font-size: 0.86rem;
    background: var(--wl-paper); border: 1px solid var(--wl-line); border-radius: 16px;
}
.wheif-landing__trust ul { margin: 0; padding-left: 1.15rem; }
.wheif-landing__trust li { margin: 0 0 0.5rem; line-height: 1.55; }
.wheif-landing__trust li:last-child { margin: 0; }
.wheif-landing__trust a, .wheif-landing__link { color: var(--wh-green); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

.wheif-landing__history { margin-top: 1.2rem; font-size: 0.88rem; }
.wheif-landing__history ul { list-style: none; margin: 0; padding: 0; }
.wheif-landing__history li {
    margin: 0 0 0.5rem; padding: 0.65rem 0.8rem;
    background: var(--wl-paper); border: 1px solid var(--wl-line); border-radius: 12px;
}
.wheif-landing__history-meta { display: block; margin-top: 0.15rem; font-size: 0.78rem; color: var(--wl-muted); }

/* Back to the site (home / Feed a Friend) — on every one-dog page. */
.wheif-landing__back {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.6rem;
    max-width: 560px; margin: 0 auto; padding: 0.15rem 1rem 0.35rem; font-size: 0.86rem;
}
.wheif-landing__back a { color: var(--wh-green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.wheif-landing__back span { color: var(--wl-muted); }

/* 救援行动 (/rescue): rescue video on top (mobile) or beside the sponsor form (desktop). */
.wheif-body--rescue .wheif-landing__back { max-width: 1120px; padding-top: 0.6rem; }

/* /campaigns list intro: same typography as WHEIF section headings
   (.wheif-section-head), centred over the cases. No boxed/heavy hero. */
.wheif-rescue-pagehead {
    max-width: 42rem;
    margin: 0.35rem auto 2.25rem;
    padding: 0;
    text-align: center;
    border: 0;
}
/* Beat .wheif-landing h1 (case-title size / sans / --wh-text) so this matches .wheif-section-head. */
.wheif-landing h1.wheif-rescue-pagehead__title,
.wheif-rescue-pagehead__title {
    margin: 0 0 0.85rem;
    font-family: var(--wh-serif);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--wh-bg-deep);
}
html[lang^="zh"] .wheif-rescue-pagehead__title { line-height: 1.38; }
.wheif-rescue-pagehead__subtitle {
    margin: 0 0 0.65rem;
    font-size: clamp(1.02rem, 2vw, 1.15rem);
    font-weight: 400;
    line-height: 1.65;
    color: var(--wh-muted, var(--wl-muted));
}
.wheif-rescue-pagehead__intro {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--wh-muted, var(--wl-muted));
}
.wheif-landing--rescue .wheif-rescue-case:first-of-type h2 {
    font-size: clamp(1.6rem, 6vw, 2rem);
    line-height: 1.2;
    margin: 0.5rem 0 0.25rem;
    color: var(--wh-text);
}
.wheif-landing__video { margin: 0.5rem 0 0; }
.wheif-landing__video .wheif-feed__video { width: min(86vw, 20rem); margin: 0 auto; }
.wheif-landing__sound { margin: 0.55rem auto 0; max-width: 20rem; text-align: center; font-size: 0.78rem; color: var(--wl-muted); line-height: 1.45; }
.wheif-landing__bottom { margin: 1.8rem 0 0; text-align: center; }
.wheif-landing .wheif-landing__bottom-cta {
    display: block; width: 100%; max-width: 560px; margin: 0 auto; border: 0; border-radius: 16px;
    padding: 1.15rem 1rem; background: var(--wl-coral); color: #fff; text-decoration: none;
    font-size: 1.3rem; font-weight: 800; letter-spacing: 0.02em; box-shadow: 0 12px 26px rgba(213, 111, 96, 0.28);
}
.wheif-landing .wheif-landing__bottom-cta:hover { background: var(--wl-coral-deep); color: #fff; }

/* Each rescue case is its own block; cases stack, with a divider between them. */
.wheif-rescue-case + .wheif-rescue-case { margin-top: 2.2rem; padding-top: 2rem; border-top: 1px solid var(--wl-line); }
.wheif-rescue-case__cost { margin: 0.2rem 0 0.6rem; font-weight: 700; color: var(--wh-text); }
.wheif-rescue-case__goal-note { margin: 0.15rem 0 0.7rem; color: var(--wl-muted); font-size: 0.95rem; line-height: 1.6; }
.wheif-rescue-case__subhead { margin: 0.9rem 0 0.3rem; font-size: 0.95rem; font-weight: 700; color: var(--wh-text); }
@media (min-width: 960px) {
    .wheif-landing--rescue { max-width: 1120px; }
    .wheif-rescue-case {
        display: grid;
        grid-template-columns: minmax(18rem, 23rem) minmax(0, 1fr);
        grid-template-areas:
            "video intro"
            "video sponsor";
        column-gap: 3rem;
        align-items: start;
    }
    .wheif-rescue-case > .wheif-landing__video { grid-area: video; position: sticky; top: 1rem; margin-top: 1rem; }
    .wheif-rescue-case > .wheif-landing__intro { grid-area: intro; }
    .wheif-rescue-case > .wheif-landing__sponsor { grid-area: sponsor; }
    .wheif-rescue-case > .wheif-landing__intro,
    .wheif-rescue-case > .wheif-landing__sponsor { max-width: 600px; width: 100%; }
    .wheif-landing--rescue > .wheif-landing__trust { max-width: 600px; margin-left: 26rem; }
}

/* /rescue listing (not the /rescue/<case> ad pages): keep the video + story +
   donate pair centered at every desktop width (960-1439 too), so the 3 cases
   never hug the left edge. 1440+ is refined further below. */
@media (min-width: 960px) {
    .wheif-body--rescue:not(.wheif-body--rescue-ad) .wheif-rescue-case {
        grid-template-columns: minmax(18rem, 23rem) minmax(0, 600px);
        justify-content: center;
    }
    .wheif-body--rescue:not(.wheif-body--rescue-ad) .wheif-landing__back {
        max-width: calc(26rem + 600px);
    }
    .wheif-body--rescue:not(.wheif-body--rescue-ad) .wheif-landing--rescue > .wheif-landing__trust {
        margin-left: max(26rem, calc((100% - (26rem + 600px)) / 2 + 26rem));
        margin-right: auto;
    }
}

/* 救援行动 (/rescue): one media carousel (video first, then photos). Every slide is a fully
   visible 9:16 frame (object-fit: contain, never cropped). Native swipe via scroll-snap. */
.wheif-rescue-carousel {
    position: relative; width: min(88vw, 20rem); margin: 0 auto;
    padding: 0.65rem 0.65rem 0.5rem; background: var(--wh-panel, #f3efe6); border-radius: 2rem;
    box-shadow: 0 22px 48px rgba(50, 56, 50, 0.10);
}
.wheif-rescue-carousel__viewport {
    display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; border-radius: 1.4rem; outline: none;
    overscroll-behavior-x: contain;
}
.wheif-rescue-carousel__viewport::-webkit-scrollbar { display: none; }
.wheif-rescue-carousel__viewport:focus-visible { box-shadow: 0 0 0 3px var(--wh-green); }
.wheif-rescue-carousel__slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.wheif-rescue-carousel .wheif-feed__video-frame,
.wheif-rescue-carousel__photo { position: relative; aspect-ratio: 9 / 16; border-radius: 1.4rem; overflow: hidden; background: #1a1a18; }
.wheif-rescue-carousel .wheif-feed__video-still,
.wheif-rescue-carousel .wheif-feed__video-el { border-radius: 1.4rem; }
.wheif-rescue-carousel__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.wheif-rescue-carousel__arrow {
    position: absolute; top: calc(50% - 1.4rem); z-index: 3; width: 2.6rem; height: 2.6rem;
    display: grid; place-items: center; border: 0; border-radius: 999px; cursor: pointer;
    background: rgba(255, 255, 255, 0.92); color: var(--wh-text, #222); font-size: 1.2rem; font-weight: 700;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}
.wheif-rescue-carousel__arrow--prev { left: -0.55rem; }
.wheif-rescue-carousel__arrow--next { right: -0.55rem; }
.wheif-rescue-carousel__arrow:disabled { opacity: 0.35; cursor: default; }
.wheif-rescue-carousel__arrow:focus-visible { outline: 3px solid var(--wh-green); outline-offset: 2px; }
.wheif-rescue-carousel__dots { display: flex; justify-content: center; gap: 0.45rem; padding: 0.55rem 0 0.1rem; }
.wheif-rescue-carousel__dot {
    width: 0.5rem; height: 0.5rem; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
    background: rgba(50, 56, 50, 0.28);
}
.wheif-rescue-carousel__dot.is-active { background: var(--wh-green); width: 1.25rem; }
.wheif-landing__medical-lead { margin: -0.2rem 0 0.8rem; color: var(--wl-muted); font-size: 0.92rem; line-height: 1.5; }
@media (min-width: 960px) {
    .wheif-rescue-case > .wheif-landing__video .wheif-rescue-carousel { width: 100%; }
}
.wheif-landing .wheif-landing__tier-grid--medical { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Square photo-only cases (no video): 1:1 frames, still fully visible. */
.wheif-rescue-carousel--square { width: min(88vw, 24rem); }
.wheif-rescue-carousel--square .wheif-rescue-carousel__photo,
.wheif-rescue-carousel--square .wheif-feed__video-frame { aspect-ratio: 1 / 1; }
.wheif-rescue-carousel__photo--receipt { background: #fff; }
.wheif-rescue-carousel__photo--receipt a { position: absolute; inset: 0; display: block; cursor: zoom-in; }
.wheif-rescue-carousel__caption {
    position: absolute; left: 0.6rem; bottom: 0.6rem; z-index: 2; padding: 0.3rem 0.6rem; border-radius: 999px;
    background: rgba(26, 26, 24, 0.72); color: #fff; font-size: 0.78rem; font-weight: 600; pointer-events: none;
}
.wheif-rescue-case + .wheif-rescue-case { border-top-width: 2px; }

/* Juanna 2026-11-11: /rescue donation folded behind one button (native <details>). */
.wheif-rescue-give > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; text-align: center; }
.wheif-rescue-give > summary::-webkit-details-marker { display: none; }
.wheif-rescue-give > summary::marker { content: ''; }
.wheif-rescue-give[open] > summary { display: none; }
.wheif-rescue-give[open] { animation: wheif-give-open 0.25s ease-out; }
@keyframes wheif-give-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wheif-rescue-give[open] { animation: none; } }

/* Juanna batch 2026-11-11: Chinese headings break only at spaces / punctuation (not mid-phrase),
   balanced lines; overflow-wrap is a fallback for a very long unbroken run on narrow screens. */
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3 { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.wheif-nowrap { white-space: nowrap; }

/* Single-dog ad landing (/rescue/orea): donate form first on mobile, no other cases. */
.wheif-body--rescue-ad .wheif-rescue-case {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.wheif-body--rescue-ad .wheif-rescue-ad__top {
    order: 0;
    margin: 0.2rem 0 0;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.wheif-body--rescue-ad .wheif-rescue-ad__photo {
    flex: 0 0 auto;
    width: 7.5rem;
    height: 7.5rem;
    max-height: 22vh;
    object-fit: cover;
    object-position: center 10%;
    border-radius: 1rem;
    background: #e8e4d8;
}
.wheif-body--rescue-ad .wheif-rescue-ad__identity { min-width: 0; flex: 1 1 auto; }
.wheif-body--rescue-ad .wheif-rescue-ad__top h1 { margin: 0 0 0.25rem; font-size: clamp(1.45rem, 5.6vw, 2rem); }
.wheif-body--rescue-ad .wheif-landing__sponsor { order: 1; margin-top: 0; }
.wheif-body--rescue-ad .wheif-landing__intro { order: 2; }
.wheif-body--rescue-ad .wheif-landing__video { order: 3; }
.wheif-body--rescue-ad details[data-wheif-medical-collapse] { border: 0; }
.wheif-body--rescue-ad details[data-wheif-medical-collapse][open] > summary { display: none; }
@media (min-width: 1120px) {
    .wheif-body--rescue-ad .wheif-rescue-case {
        display: grid;
        grid-template-columns: minmax(16rem, 22rem) minmax(18rem, 1fr);
        grid-template-areas:
            "top top"
            "form video"
            "form intro";
        column-gap: 2rem;
        align-items: start;
    }
    .wheif-body--rescue-ad .wheif-rescue-ad__top { grid-area: top; }
    .wheif-body--rescue-ad .wheif-rescue-ad__photo { width: 9rem; height: 9rem; max-height: none; }
    .wheif-body--rescue-ad .wheif-landing__sponsor { grid-area: form; }
    .wheif-body--rescue-ad .wheif-landing__intro { grid-area: intro; }
    .wheif-body--rescue-ad .wheif-landing__video { grid-area: video; position: sticky; top: 1rem; }
    /* Keep the 9:16 reel fully visible on the first screen (not cropped by height). */
    .wheif-body--rescue-ad .wheif-landing__video .wheif-rescue-carousel {
        width: min(100%, calc(68vh * 9 / 16 + 1.3rem));
        max-height: 68vh;
        margin-left: 0;
        margin-right: auto;
    }
    .wheif-body--rescue-ad .wheif-rescue-carousel .wheif-feed__video-frame,
    .wheif-body--rescue-ad .wheif-rescue-carousel__photo {
        max-height: calc(68vh - 3.4rem);
        width: 100%;
    }
    .wheif-body--rescue-ad .wheif-rescue-carousel .wheif-feed__video-el,
    .wheif-body--rescue-ad .wheif-rescue-carousel .wheif-feed__video-still,
    .wheif-body--rescue-ad .wheif-rescue-carousel__photo img {
        object-fit: contain;
        object-position: center;
    }
}

/* Widen /sponsor/:slug and /rescue/orea off the 560px phone column on
   mid-width and larger screens. 390px portrait is unchanged (already full width). */
@media (min-width: 800px) {
    .wheif-body--landing .wheif-landing__head,
    .wheif-body--landing .wheif-landing__back,
    .wheif-body--landing .wheif-landing {
        max-width: min(72rem, 100%);
    }
    /* /sponsor/:slug: photo | story+form so the 4:5 hero does not sit in a
       narrow left strip with a large empty right margin. */
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply) .wheif-landing {
        display: grid;
        grid-template-columns: minmax(14rem, 22rem) minmax(0, 1fr);
        grid-template-areas:
            "hero intro"
            "hero sponsor"
            "trust trust"
            "history history";
        column-gap: 1.5rem;
        row-gap: 0.6rem;
        align-items: start;
    }
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply) .wheif-landing__hero {
        grid-area: hero;
        margin: 0;
        width: 100%;
        max-height: min(72vh, 36rem);
    }
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply) .wheif-landing__intro { grid-area: intro; padding-top: 0; }
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply) .wheif-landing__sponsor { grid-area: sponsor; }
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply) .wheif-landing__trust { grid-area: trust; }
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply) .wheif-landing__history { grid-area: history; }
    .wheif-body--rescue .wheif-landing__back,
    .wheif-body--rescue .wheif-landing--rescue {
        max-width: min(72rem, 100%);
    }
}

/* Landscape phones: fill the width; Orea gets form | height-capped video. */
@media (min-width: 800px) and (max-height: 520px) {
    .wheif-body--landing .wheif-landing__head,
    .wheif-body--landing .wheif-landing__back,
    .wheif-body--landing .wheif-landing,
    .wheif-body--rescue .wheif-landing__back,
    .wheif-body--rescue .wheif-landing--rescue {
        max-width: none;
        padding-left: clamp(0.75rem, 1.8vw, 1.35rem);
        padding-right: clamp(0.75rem, 1.8vw, 1.35rem);
    }
    .wheif-body--rescue-ad .wheif-rescue-case {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(12rem, calc((100vh - 4.5rem) * 9 / 16 + 1.4rem));
        grid-template-areas:
            "top top"
            "form video"
            "intro video";
        column-gap: 1.15rem;
        align-items: start;
    }
    .wheif-body--rescue-ad .wheif-rescue-ad__top { grid-area: top; }
    .wheif-body--rescue-ad .wheif-landing__sponsor { grid-area: form; margin-top: 0; }
    .wheif-body--rescue-ad .wheif-landing__intro { grid-area: intro; }
    .wheif-body--rescue-ad .wheif-landing__video { grid-area: video; position: sticky; top: 0.4rem; }
    .wheif-body--rescue-ad .wheif-landing__video .wheif-rescue-carousel {
        width: min(100%, calc((100vh - 4.5rem) * 9 / 16 + 1.3rem));
        max-height: calc(100vh - 3.5rem);
        margin-left: 0;
        margin-right: auto;
    }
    .wheif-body--rescue-ad .wheif-rescue-carousel .wheif-feed__video-frame,
    .wheif-body--rescue-ad .wheif-rescue-carousel__photo {
        max-height: calc(100vh - 5rem);
        width: 100%;
    }
    .wheif-body--rescue-ad .wheif-rescue-ad__top h1 { font-size: clamp(1.35rem, 3vw, 1.85rem); }
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply) .wheif-landing {
        grid-template-columns: minmax(12rem, calc((100vh - 4.5rem) * 4 / 5)) minmax(0, 1fr);
    }
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply) .wheif-landing__hero { max-height: calc(100vh - 4.5rem); }
}

@media (min-width: 1280px) {
    .wheif-body--rescue .wheif-landing--rescue,
    .wheif-body--rescue .wheif-landing__back { max-width: 1400px; }
}

/* Extra-wide desktop: sponsor + Orea use more of 1440-1920.
   Phone portrait/landscape and mid-width (900 / 1280 / 1366) stay as they are. */
@media (min-width: 1440px) {
    .wheif-body--landing .wheif-landing__head,
    .wheif-body--landing .wheif-landing__back,
    .wheif-body--landing .wheif-landing,
    .wheif-body--rescue .wheif-landing__back,
    .wheif-body--rescue .wheif-landing--rescue {
        max-width: 1760px;
    }
    /* Keep the Orea form wide enough for amount cards, but size the video
       column to the height-capped 9:16 reel and center the pair so 1440/1920
       have even side margins instead of a left-hugging cluster. */
    .wheif-body--rescue-ad .wheif-rescue-case {
        grid-template-columns: minmax(20rem, 28rem) minmax(18rem, calc(68vh * 9 / 16 + 1.3rem));
        grid-template-areas:
            "top video"
            "form video"
            "intro video";
        justify-content: center;
        column-gap: 2.5rem;
        align-items: start;
    }
    .wheif-body--rescue-ad .wheif-landing__video .wheif-rescue-carousel {
        width: min(100%, calc(68vh * 9 / 16 + 1.3rem));
        margin-left: auto;
        margin-right: auto;
    }
    /* /rescue listing (not /rescue/orea): size the video + story + donate
       pair and center it so 1440/1920 have even side margins instead of a
       left-hugging cluster. Mid-width (960-1439), tablet, and phone stay as they are. */
    .wheif-body--rescue:not(.wheif-body--rescue-ad) .wheif-rescue-case {
        grid-template-columns: minmax(18rem, 23rem) minmax(0, 600px);
        justify-content: center;
        column-gap: 3rem;
    }
    .wheif-body--rescue:not(.wheif-body--rescue-ad) .wheif-landing__back {
        max-width: calc(26rem + 600px);
    }
    .wheif-body--rescue:not(.wheif-body--rescue-ad) .wheif-landing--rescue > .wheif-landing__trust {
        margin-left: max(0px, calc((100% - (26rem + 600px)) / 2 + 26rem));
        margin-right: auto;
    }
}


/* ---- Crowdfunding v1 on /rescue and /rescue/:slug (progress, fee box, optional extras) ---- */
.wheif-cf-progress { margin: 0.2rem 0 1rem; }
.wheif-cf-progress__raised { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--wh-text); }
.wheif-cf-progress__bar { height: 10px; border-radius: 999px; background: #efe5d6; overflow: hidden; }
.wheif-cf-progress__bar span { display: block; height: 100%; min-width: 0; border-radius: 999px; background: var(--wl-coral); transition: width 0.4s ease; }
.wheif-cf-progress__meta { margin: 0.4rem 0 0; font-size: 0.84rem; color: var(--wl-muted); }
.wheif-rescue-ad__identity .wheif-cf-progress { margin: 0.5rem 0 0; }
.wheif-cf-fees {
    margin: 0 0 1.1rem; padding: 0.9rem 1rem; font-size: 0.86rem;
    background: var(--wl-paper); border: 1px solid var(--wl-line); border-radius: 16px;
}
.wheif-cf-fees h2 { font-size: 0.98rem; margin: 0 0 0.5rem; }
.wheif-cf-fees ul { margin: 0; padding-left: 1.15rem; }
.wheif-cf-fees li { margin: 0 0 0.4rem; line-height: 1.5; }
.wheif-cf-fees li:last-child { margin: 0; }
.wheif-cf-extras { margin: 0.8rem 0; padding: 0.75rem 0.85rem; border: 1px dashed var(--wl-line); border-radius: 12px; font-size: 0.88rem; }
.wheif-cf-extras[hidden] { display: none; }
.wheif-cf-tip { border: 0; margin: 0.6rem 0 0; padding: 0; }
.wheif-cf-tip legend { padding: 0; margin-bottom: 0.35rem; color: var(--wl-muted); }
.wheif-cf-tip__opts { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.wheif-cf-tip__opt { display: inline-flex; align-items: center; gap: 0.3rem; }
.wheif-cf-total { margin: 0.6rem 0 0; font-weight: 700; }
.wheif-cf-total:empty { display: none; }

/* ---- Apply for crowdfunding (/rescue bottom + /rescue/apply) ---- */
.wheif-rescue-apply-cta {
    max-width: 560px;
    margin: 2.5rem auto 0;
    padding: 1.25rem 1.1rem 1.4rem;
    text-align: center;
    background: var(--wl-paper);
    border: 1px solid var(--wl-line);
    border-radius: 18px;
}
.wheif-rescue-apply-cta h2 { margin: 0 0 0.45rem; font-size: 1.15rem; }
.wheif-rescue-apply-cta p { margin: 0 0 1rem; color: var(--wl-muted); font-size: 0.92rem; line-height: 1.55; }

/* Keep the form a readable centered column even when landing pages widen at 1440px. */
.wheif-body--landing.wheif-body--rescue-apply .wheif-landing,
.wheif-body--landing.wheif-body--rescue-apply .wheif-landing__back {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.wheif-cf-apply__lead { margin: 0 0 1.1rem; color: var(--wl-muted); font-size: 0.95rem; line-height: 1.6; }
.wheif-cf-apply__success {
    margin: 0 0 1.2rem; padding: 0.9rem 1rem; border-radius: 14px;
    background: #e4eee6; color: #2f4a38; font-size: 0.98rem; line-height: 1.55;
}
.wheif-cf-apply { margin: 0 0 2rem; }
.wheif-cf-apply label { display: block; margin: 0.75rem 0; font-size: 0.9rem; font-weight: 600; color: var(--wh-text); }
.wheif-cf-apply input[type="text"],
.wheif-cf-apply input[type="tel"],
.wheif-cf-apply input[type="email"],
.wheif-cf-apply input[type="file"],
.wheif-cf-apply select,
.wheif-cf-apply textarea {
    display: block; width: 100%; box-sizing: border-box; margin-top: 0.3rem;
    padding: 0.7rem 0.85rem; border: 1.5px solid var(--wl-line); border-radius: 12px;
    font: inherit; font-weight: 400; background: #fff; color: var(--wh-text);
}
.wheif-cf-apply textarea { resize: vertical; min-height: 6.5rem; line-height: 1.5; }
.wheif-cf-apply__help { display: block; margin-top: 0.3rem; font-size: 0.78rem; font-weight: 400; color: var(--wl-muted); line-height: 1.45; }
.wheif-cf-apply__agree { display: flex; align-items: flex-start; gap: 0.55rem; font-weight: 500; line-height: 1.5; }
.wheif-cf-apply__agree input { margin-top: 0.2rem; flex-shrink: 0; }
.wheif-cf-apply__agree a { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
.wheif-cf-apply .wheif-landing__cta { margin-top: 0.8rem; }
.wheif-honeypot {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; pointer-events: none;
}

.wheif-cf-apply__progress { margin: 0 0 1.15rem; }
.wheif-cf-apply__progress-label { margin: 0 0 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--wl-muted); }
.wheif-cf-apply__bar { height: 6px; border-radius: 99px; background: var(--wl-line); overflow: hidden; }
.wheif-cf-apply__bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--wh-green, #3d6b4f); transition: width 0.2s ease; }
.wheif-cf-apply__step { margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; }
.wheif-cf-apply__q { padding: 0; margin: 0 0 0.7rem; font-size: 1.15rem; font-weight: 700; line-height: 1.35; color: var(--wh-text); }
.wheif-cf-apply__prep { margin: 0.4rem 0 0; padding-left: 1.2rem; color: var(--wh-text); font-weight: 400; line-height: 1.55; }
.wheif-cf-apply__prep li { margin: 0.35rem 0; }
.wheif-cf-apply__choices { display: grid; gap: 0.55rem; margin: 0.2rem 0 0.8rem; }
.wheif-cf-apply__choice {
    display: flex; align-items: center; gap: 0.65rem;
    margin: 0; padding: 0.85rem 0.95rem; border: 1.5px solid var(--wl-line);
    border-radius: 14px; font-weight: 600; background: #fff; cursor: pointer;
}
.wheif-cf-apply__choice:has(input:checked) { border-color: var(--wh-green, #3d6b4f); background: #f3f7f4; }
.wheif-cf-apply__choice input { margin: 0; flex-shrink: 0; }
.wheif-cf-apply__nav { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 0.5rem; }
.wheif-cf-apply__nav .wheif-btn { margin: 0; min-height: 2.75rem; }
.wheif-cf-apply [hidden],
.wheif-cf-apply__nav .wheif-btn[hidden] { display: none !important; }

.wheif-cf-apply--wizard.is-stepped [data-cf-step] { display: none; }
.wheif-cf-apply--wizard.is-stepped [data-cf-step].is-active { display: block; }
.wheif-cf-apply--wizard.is-stepped [data-cf-progress-wrap] { display: block; }
.wheif-cf-apply__sr-only, .wheif-cf-apply legend + .wheif-cf-apply__sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (min-width: 640px) {
    .wheif-cf-apply__q { font-size: 1.28rem; }
    .wheif-cf-apply__choice { padding: 0.95rem 1.1rem; }
}


.wheif-cf-apply__optional-toggle { padding: 0.7rem 0.8rem; border: 1px dashed var(--wl-line); border-radius: 12px; background: #faf8f4; }


/* Apply form: larger, darker labels, inputs, helper text and placeholders (Juanna 2026-11-20). */
.wheif-body--rescue-apply {
    --cf-text: #121714;
    --cf-muted: #2a352e;
    --cf-placeholder: #4a574f;
    --cf-error: #8b1e1e;
}
.wheif-cf-apply__lead {
    color: var(--cf-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}
.wheif-cf-apply label,
.wheif-cf-apply__choice,
.wheif-cf-apply__agree,
.wheif-cf-apply__prep {
    font-size: 1.05rem;
    color: var(--cf-text);
}
.wheif-cf-apply input[type="text"],
.wheif-cf-apply input[type="tel"],
.wheif-cf-apply input[type="email"],
.wheif-cf-apply input[type="url"],
.wheif-cf-apply input[type="file"],
.wheif-cf-apply select,
.wheif-cf-apply textarea {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--cf-text);
    line-height: 1.45;
}
.wheif-cf-apply input::placeholder,
.wheif-cf-apply textarea::placeholder {
    color: var(--cf-placeholder);
    opacity: 1;
}
.wheif-cf-apply input::-webkit-input-placeholder,
.wheif-cf-apply textarea::-webkit-input-placeholder {
    color: var(--cf-placeholder);
    opacity: 1;
}
.wheif-cf-apply__help,
.wheif-cf-apply__progress-label,
.wheif-cf-apply__counter {
    font-size: 0.95rem;
    color: var(--cf-muted);
    font-weight: 500;
    line-height: 1.5;
}
.wheif-cf-apply__counter { margin: 0.35rem 0 0; }
.wheif-cf-apply__field-error {
    display: block;
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cf-error);
    line-height: 1.45;
}
.wheif-cf-apply__field-error[hidden] { display: none !important; }
.wheif-cf-apply .is-invalid {
    border-color: var(--cf-error) !important;
}
.wheif-cf-apply__country select {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
}
.wheif-cf-apply__phone {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    margin-top: 0.35rem;
}
.wheif-cf-apply__dial {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 0 0.75rem;
    border-radius: 14px;
    border: 1px solid rgba(63, 83, 68, 0.22);
    background: #f3f0e9;
    color: var(--cf-text, #121714);
    font-weight: 600;
    font-size: 1.0625rem;
    white-space: nowrap;
}
.wheif-cf-apply__phone input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    margin: 0;
}

.wheif-cf-apply__tc {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: min(36rem, calc(100vw - 1.5rem));
}
.wheif-cf-apply__tc::backdrop {
    background: rgba(18, 23, 20, 0.55);
}
.wheif-cf-apply__tc-box {
    background: #fffdf8;
    color: var(--cf-text, #121714);
    border-radius: 16px;
    padding: 1.25rem 1.2rem 1.15rem;
    box-shadow: 0 16px 40px rgba(18, 23, 20, 0.2);
    max-height: min(85vh, 40rem);
    overflow: auto;
}
.wheif-cf-apply__tc-box h2 {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    line-height: 1.35;
    color: var(--cf-text, #121714);
}
.wheif-cf-apply__tc-list {
    margin: 0 0 1.1rem;
    padding-left: 1.2rem;
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--cf-text, #121714);
}
.wheif-cf-apply__tc-list li { margin: 0.55rem 0; }
.wheif-cf-apply__tc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}
.wheif-cf-apply__tc-actions .wheif-btn { margin: 0; }

/* One-dog story + direct donate landing (/give/orea): video, short story, one donate block. */
.wheif-body--give .wheif-landing.wheif-give {
    display: block;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.wheif-body--give .wheif-give__case { display: block; width: 100%; }
/* Four amounts: 2 × 2 on phones, one row of 4 from 480px; "Other amount" full width below. */
.wheif-body--give .wheif-landing .wheif-landing__tier-grid--medical { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 480px) {
    .wheif-body--give .wheif-landing .wheif-landing__tier-grid--medical { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.wheif-give__video { margin: 0 auto 1rem; text-align: center; }
.wheif-give__video video {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 62vh;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    border-radius: 18px;
    background: #1f1a14;
    object-fit: contain;
}
.wheif-give__kicker {
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #8a5a2b;
}
.wheif-give__intro h1 { margin-top: 0; }
.wheif-body--give .wheif-landing__medical { margin-top: 1.25rem; }
.wheif-body--give .wheif-landing.wheif-give > .wheif-my-qr { margin: 1.25rem auto 0; }

/* /give/orea on computers (Juanna 2026-11-23: "一整排直直的" was not OK). From 900px:
   left = Orea video + name + story, right = the donate panel, so the amounts and the
   donate button are on the first screen. Phones (< 900px) keep the single column above. */
@media (min-width: 900px) {
    .wheif-body--give .wheif-landing__head { max-width: 66rem; padding-left: 1.5rem; padding-right: 1.5rem; }
    .wheif-body--landing.wheif-body--give .wheif-landing.wheif-give { display: block; max-width: 66rem; padding-left: 1.5rem; padding-right: 1.5rem; }
    .wheif-body--give .wheif-give__case {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(23rem, 27rem);
        grid-template-areas:
            "media form"
            "intro form";
        grid-template-rows: auto 1fr;
        column-gap: clamp(2rem, 4vw, 3.5rem);
        align-items: start;
        padding-top: 0.75rem;
    }
    .wheif-body--give .wheif-give__case > .wheif-give__video,
    .wheif-body--landing.wheif-body--give .wheif-give__case > .wheif-landing__hero { grid-area: media; margin: 0; }
    .wheif-body--give .wheif-give__video video { max-height: min(60vh, 34rem); }
    .wheif-body--give .wheif-landing__hero { max-height: min(60vh, 34rem); }
    .wheif-body--landing.wheif-body--give .wheif-give__case > .wheif-give__intro { grid-area: intro; padding-top: 1.1rem; }
    .wheif-body--give .wheif-give__intro .wheif-landing__story { margin-bottom: 0; }
    .wheif-body--landing.wheif-body--give .wheif-give__case > .wheif-landing__medical {
        grid-area: form;
        margin-top: 0;
        position: sticky;
        top: 1rem;
        background: var(--wl-paper);
        border: 1px solid var(--wl-line);
        border-radius: 20px;
        padding: 1.25rem 1.25rem 1.1rem;
        box-shadow: 0 12px 32px rgba(63, 52, 38, 0.08);
    }
    .wheif-body--give .wheif-landing__medical h2 { font-size: 1.2rem; margin-bottom: 0.35rem; }
    .wheif-body--give .wheif-landing__medical .wheif-landing__medical-lead { margin-top: 0; }
    .wheif-body--give .wheif-landing .wheif-landing__tier-grid--medical { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .wheif-body--landing.wheif-body--give .wheif-landing.wheif-give > .wheif-landing__trust { max-width: none; margin-top: 2rem; }
    .wheif-body--give .wheif-landing__trust ul { columns: 2; column-gap: 2.5rem; }
    .wheif-body--give .wheif-landing__trust li { break-inside: avoid; }
    /* The donate panel is always on screen here, so the floating button is not needed. */
    .wheif-body--give .wheif-donate-fab { display: none; }
}
/* Only stick the panel when the window is tall enough to show all of it. */
@media (min-width: 900px) and (max-height: 820px) {
    .wheif-body--landing.wheif-body--give .wheif-give__case > .wheif-landing__medical { position: static; }
}

/* Desktop tidy (Juanna 24 Nov 2026): at 1440+ the one-dog /sponsor page was
   stretched to 1760px (small photo at the far left, huge amount cards on the
   right) and the /campaigns pages had loose gaps. Keep a centred desktop
   column like /give (66rem). Phones and landscape phones (max-height 520px)
   are untouched. */
@media (min-width: 800px) and (min-height: 521px) {
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply):not(.wheif-body--give) .wheif-landing__head,
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply):not(.wheif-body--give) .wheif-landing__back,
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply):not(.wheif-body--give) .wheif-landing {
        max-width: 66rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply):not(.wheif-body--give) .wheif-landing {
        grid-template-columns: minmax(16rem, 26rem) minmax(0, 36rem);
        justify-content: center;
        column-gap: 2.5rem;
    }
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply):not(.wheif-body--give) .wheif-landing__hero {
        position: sticky;
        top: 1rem;
    }
    /* /campaigns listing: the tall video no longer pushes the donate button far
       below the story; the story and button sit together at the top. */
    .wheif-body--rescue:not(.wheif-body--rescue-ad) .wheif-rescue-case {
        grid-template-rows: auto 1fr;
    }
    .wheif-body--rescue:not(.wheif-body--rescue-ad) .wheif-rescue-case > .wheif-landing__sponsor { align-self: start; }
}
@media (min-width: 1120px) and (min-height: 521px) {
    /* /campaigns/<slug>: one centred pair (form | video) from 1120px up, not
       only at 1440+, so 1280/1366 no longer stretch the progress bar across
       the whole page. The back link lines up with the content. */
    .wheif-body--rescue-ad .wheif-landing--rescue,
    .wheif-body--rescue-ad .wheif-landing__back {
        max-width: 64rem;
    }
    /* back link width = form column + gap + video column + its own padding */
    .wheif-body--rescue-ad .wheif-landing__back {
        max-width: min(64rem, calc(28rem + 2.5rem + 68vh * 9 / 16 + 1.3rem + 2rem));
    }
    .wheif-body--rescue-ad .wheif-rescue-case {
        grid-template-columns: minmax(20rem, 28rem) minmax(18rem, calc(68vh * 9 / 16 + 1.3rem));
        grid-template-areas:
            "top video"
            "form video"
            "intro video";
        justify-content: center;
        column-gap: 2.5rem;
    }
    .wheif-body--rescue-ad .wheif-landing__video .wheif-rescue-carousel {
        width: min(100%, calc(68vh * 9 / 16 + 1.3rem));
        margin-left: auto;
        margin-right: auto;
    }
}

/* Donate-split: on desktop the form spans the full content width, with
   amount cards on the left and the form card on the right (same as home). */
@media (min-width: 1025px) {
    .wheif-rescue-case:has(.wheif-donate-split) {
        grid-template-areas:
            "video intro"
            "sponsor sponsor";
        grid-template-columns: minmax(18rem, 23rem) minmax(0, 1fr);
    }
    .wheif-rescue-case:has(.wheif-donate-split) > .wheif-landing__sponsor {
        max-width: none;
    }
    .wheif-body--rescue-ad .wheif-rescue-case:has(.wheif-donate-split) {
        grid-template-areas:
            "top video"
            "intro video"
            "form form";
        grid-template-columns: minmax(20rem, 28rem) minmax(18rem, 1fr);
        max-width: 66rem;
        margin-left: auto;
        margin-right: auto;
    }
    .wheif-rescue-case:has(.wheif-donate-split) > .wheif-landing__video,
    .wheif-body--rescue-ad .wheif-rescue-case:has(.wheif-donate-split) > .wheif-landing__video {
        /* Form row is full width under the video; sticky would float the
           carousel over 「立即捐款 — 安全结账」 on /campaigns/:slug. */
        position: static;
    }
    .wheif-body--give .wheif-give__case:has(.wheif-donate-split) {
        grid-template-columns: minmax(0, 1fr) minmax(23rem, 27rem);
        grid-template-areas:
            "media intro"
            "form form";
    }
    .wheif-body--landing.wheif-body--give .wheif-give__case:has(.wheif-donate-split) > .wheif-landing__medical {
        position: static;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 1.25rem 0 0;
        max-width: none;
    }
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply):not(.wheif-body--give):has(.wheif-donate-split) .wheif-landing {
        grid-template-columns: minmax(16rem, 26rem) minmax(0, 1fr);
        max-width: 66rem;
    }
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply):not(.wheif-body--give) .wheif-landing:has(.wheif-donate-split) {
        display: grid;
        grid-template-columns: minmax(16rem, 26rem) minmax(0, 1fr);
        /* Keep the 800px named areas. An earlier template used a form-row name
           that is not a child of .wheif-landing, and dropped
           sponsor/trust/history while those children still had grid-area of
           those names, which created implicit 0-width columns and squeezed
           the dog name, status tag, and frequency cards into a 1-character
           vertical strip on desktop /sponsor/:slug. The form is inside
           .wheif-landing__sponsor, not a direct child. */
        grid-template-areas:
            "hero intro"
            "sponsor sponsor"
            "trust trust"
            "history history";
        max-width: 66rem;
    }
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply):not(.wheif-body--give) .wheif-landing:has(.wheif-donate-split) > .wheif-landing__hero {
        grid-area: hero;
        /* Full-width form row sits below the photo; a sticky hero would slide
           under the amount cards on scroll (Juanna 2026-11-26). */
        position: static;
    }
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply):not(.wheif-body--give) .wheif-landing:has(.wheif-donate-split) > .wheif-landing__intro { grid-area: intro; }
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply):not(.wheif-body--give) .wheif-landing:has(.wheif-donate-split) > .wheif-landing__sponsor { grid-area: sponsor; }
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply):not(.wheif-body--give) .wheif-landing:has(.wheif-donate-split) > .wheif-landing__trust { grid-area: trust; }
    .wheif-body--landing:not(.wheif-body--rescue):not(.wheif-body--rescue-apply):not(.wheif-body--give) .wheif-landing:has(.wheif-donate-split) > .wheif-landing__history { grid-area: history; }
    .wheif-donate-split .wheif-landing__tier-grid,
    .wheif-donate-split .wheif-landing__tier-grid--medical {
        grid-template-columns: 1fr 1fr;
    }
}
