/* Photography is confined to the daily header; all activity cards keep their own background. */
.hero{position:relative;isolation:isolate;overflow:visible;border-radius:0;background:transparent;margin-block:24px 12px;padding:34px 26px 72px!important;box-shadow:none}
.country-nature-backdrop{position:absolute!important;top:calc(0px - var(--nature-top,0px));bottom:0;left:50%;right:auto;width:var(--nature-viewport,100%);transform:translateX(-50%);overflow:hidden;z-index:-2!important;pointer-events:none;background:linear-gradient(120deg,#d7e8df,#e6edf3)}
.country-nature-image{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:center;opacity:0;transition:opacity 900ms ease}
.country-nature-image.is-visible{opacity:1}
.country-nature-backdrop:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f7faf4bb 0%,#f7faf466 58%,#f7faf433),linear-gradient(0deg,#f5f8f4c4,transparent 24%)}
.hero .hero-copy,.hero .hero-daily-boxes{position:relative;z-index:1}
.hero .country-saying{background:#fffffff0!important;box-shadow:0 5px 24px #203d4220;border:1px solid #ffffffbe;border-inline-start:4px solid var(--yellow);backdrop-filter:blur(8px);margin-top:0!important}
.hero .eyebrow,.hero .intro,.hero h1{text-shadow:0 1px 12px #ffffff}
.hero .lp-launcher{background:#fffffff5;box-shadow:0 10px 28px #143c4a26}
.nature-credit{position:absolute;inset-inline-end:20px;bottom:14px;max-width:calc(100% - 40px);z-index:3;color:#23483e;font-size:.67rem;line-height:1.5}
.nature-credit[hidden]{display:none}
.nature-credit summary{cursor:pointer;list-style:none;border:1px solid #ffffffb0;border-radius:20px;background:#fffffff0;padding:6px 11px;box-shadow:0 2px 12px #153b3212}
.nature-credit summary::-webkit-details-marker{display:none}
.nature-credit[open]{max-width:min(500px,calc(100% - 40px));border-radius:12px;background:#fff;padding:5px;box-shadow:0 8px 25px #102f3526}
.nature-credit[open] summary{border:0;box-shadow:none;font-weight:750}
.nature-credit>div{max-height:170px;overflow:auto;padding:5px 11px 9px;overflow-wrap:anywhere}
.nature-credit a{color:#215f55;text-underline-offset:2px}
.nature-credit summary:focus-visible{outline:3px solid #3977d5;outline-offset:3px}
@media(max-width:650px){.hero{padding:24px 16px 72px!important;border-radius:0;margin-block:16px 12px}.hero .hero-copy{display:contents}.nature-credit{inset-inline-end:14px;bottom:13px;max-width:calc(100% - 28px)}.hero .country-saying{margin:0!important}.country-nature-backdrop:after{background:linear-gradient(180deg,#f7faf470,#f7faf438 70%,#f7faf4b8)}}
@media(prefers-reduced-motion:reduce){.country-nature-image{transition:none}}
html[data-card-motion=off] .country-nature-image{transition:none}

/* Keep the short featured-activity line clear over detailed landscapes. */
.hero .intro{color:#244b40;font-weight:600}

/* The photograph reaches the page top; navigation stays above it. */
header{position:relative;z-index:2}
.country-nature-backdrop:before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#f5f8f499,transparent 140px)}


/* Each portrait flag fills a 10 cm banner; columns keep 2 mm from activities. */
#countryFlagEdges{position:absolute;top:calc(var(--flag-start,0px) + 3mm);left:0;width:var(--flag-viewport,100%);height:max(0px,calc(var(--flag-span,0px) - 6mm));pointer-events:none;z-index:0;overflow:hidden}
.country-flag-banner{position:absolute;top:0;bottom:0;display:flex;flex-direction:column;justify-content:space-between;opacity:.46;pointer-events:none}
.country-flag-banner-left{left:0;width:max(0px,calc(var(--flag-left-space,24px) - 2mm));mask-image:linear-gradient(90deg,#000 0%,#000e 75%,#0005 100%);-webkit-mask-image:linear-gradient(90deg,#000 0%,#000e 75%,#0005 100%)}
.country-flag-banner-right{right:0;width:max(0px,calc(var(--flag-right-space,24px) - 2mm));mask-image:linear-gradient(270deg,#000 0%,#000e 75%,#0005 100%);-webkit-mask-image:linear-gradient(270deg,#000 0%,#000e 75%,#0005 100%)}
.country-edge-flag{display:block;flex:0 0 100mm;width:100%;height:100mm;max-height:100%;object-fit:fill;box-sizing:border-box}
.country-edge-flag[hidden]{display:none}
body.standalone-game>#countryFlagEdges{display:none}
@media(max-width:650px){.country-flag-banner{opacity:.32}}

/* Nepal is already a banner: keep its upright double pennant and natural ratio. */
.country-edge-flag[src*="/np-banners.svg"]{flex:0 0 auto;height:auto;max-height:none;aspect-ratio:83 / 95;object-fit:contain}
