/* TD GOLEZH 3.3 — THE LIVING WEATHER WORLD. Only hike detail pages. */
body.gz330-world {
  --w330-sky-top:#e4efe7;--w330-sky-bottom:#fff1d9;--w330-light:rgba(255,206,102,.30);
  --w330-surface:rgba(255,253,245,.91);--w330-ink:#254438;--w330-border:rgba(92,119,104,.23);
  --w330-header:#163d31; --w330-accent:#c48c37;
  background:linear-gradient(160deg,var(--w330-sky-top),var(--w330-sky-bottom)) fixed;
  color:var(--w330-ink);transition:background-color 2s ease,color 1.4s ease;
}
body.gz330-world[data-gz330-scene="sun"]{--w330-sky-top:#fce7b4;--w330-sky-bottom:#fff9e8;--w330-light:rgba(255,198,60,.55);--w330-accent:#bf8028;--w330-header:#254a37}
body.gz330-world[data-gz330-scene="partly"]{--w330-sky-top:#d9eced;--w330-sky-bottom:#fff1d8;--w330-light:rgba(255,207,107,.32)}
body.gz330-world[data-gz330-scene="cloud"]{--w330-sky-top:#c9dbe3;--w330-sky-bottom:#e5ebdf;--w330-light:rgba(183,209,227,.28);--w330-header:#254952}
body.gz330-world[data-gz330-scene="drizzle"]{--w330-sky-top:#aec5d4;--w330-sky-bottom:#e0e8e2;--w330-light:rgba(127,184,205,.22);--w330-header:#1c4050}
body.gz330-world[data-gz330-scene="rain"]{--w330-sky-top:#839cae;--w330-sky-bottom:#d1e1e1;--w330-light:rgba(117,170,207,.28);--w330-header:#153544;--w330-accent:#6995a5}
body.gz330-world[data-gz330-scene="snow"]{--w330-sky-top:#e1f2ff;--w330-sky-bottom:#fafcff;--w330-light:rgba(229,249,255,.65);--w330-header:#224f63;--w330-accent:#609eb7}
body.gz330-world[data-gz330-scene="fog"]{--w330-sky-top:#d8dfd8;--w330-sky-bottom:#f1f0e8;--w330-light:rgba(231,242,233,.65);--w330-header:#36524c}
body.gz330-world[data-gz330-scene="wind"]{--w330-sky-top:#c5dad4;--w330-sky-bottom:#eff0df;--w330-light:rgba(190,211,182,.44);--w330-header:#264c46}
body.gz330-world[data-gz330-scene="storm"]{--w330-sky-top:#8793ae;--w330-sky-bottom:#b8c7cf;--w330-light:rgba(164,193,224,.27);--w330-header:#1d283f;--w330-accent:#7d9cae}
/* A single fixed canvas: CSS-only, no remote imagery, no animation frame loop */
.gz330-worldscape {position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0;isolation:isolate;contain:layout paint;opacity:0;transition:opacity 1.4s ease}
body.gz330-world .gz330-worldscape{opacity:1}
.gz330-worldscape .gz330-glow{position:absolute;inset:-15%;background:radial-gradient(circle at 77% 13%,var(--w330-light) 0%,transparent 43%),linear-gradient(160deg,var(--w330-sky-top),var(--w330-sky-bottom));transition:background 2s ease}
.gz330-worldscape .gz330-orb{position:absolute;top:7%;right:16%;width:clamp(130px,17vw,290px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#fffbe0 0%,#ffe7a5 28%,#f2bc61 47%,transparent 68%);box-shadow:0 0 65px 30px var(--w330-light);opacity:0;transform:translateY(20px) scale(.83);transition:opacity 2.5s ease,transform 2.5s ease}
body.gz330-world[data-gz330-scene="sun"] .gz330-orb,body.gz330-world[data-gz330-scene="partly"] .gz330-orb{opacity:.75;transform:none}
.gz330-worldscape .gz330-ridge{position:absolute;left:-7%;width:114%;height:49%;bottom:-7%;transform:translateZ(0);transition:background 2s ease;clip-path:polygon(0 78%,9% 57%,19% 67%,31% 28%,39% 51%,48% 18%,60% 62%,69% 35%,76% 55%,87% 22%,100% 68%,100% 100%,0 100%)}
.gz330-worldscape .gz330-ridge.far{background:rgba(63,122,112,.12);bottom:6%;filter:blur(2px)}
.gz330-worldscape .gz330-ridge.near{background:rgba(39,91,74,.11);bottom:-11%;transform:scaleX(-1)}
body.gz330-world[data-gz330-scene="rain"] .gz330-ridge,body.gz330-world[data-gz330-scene="storm"] .gz330-ridge{filter:saturate(.65)}
.gz330-worldscape .gz330-veil{position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0,rgba(255,255,255,.4) 30px,transparent 100px);opacity:0;filter:blur(18px);transform:translateX(-9%);transition:opacity 2s ease}
body.gz330-world[data-gz330-scene="fog"] .gz330-veil{opacity:.85;animation:gz330-veil 18s ease-in-out infinite alternate}
.gz330-worldscape .gz330-cloud{position:absolute;top:10%;left:-35%;width:260px;height:77px;border-radius:55%;background:rgba(255,255,255,.52);filter:blur(9px);box-shadow:75px -23px 0 17px rgba(255,255,255,.35),150px 12px 0 7px rgba(255,255,255,.35);opacity:0;transition:opacity 1.7s ease;animation:gz330-drift 47s linear infinite}
.gz330-worldscape .gz330-cloud.second{top:36%;animation-duration:69s;animation-delay:-24s;transform:scale(.7)}
body.gz330-world:is([data-gz330-scene="cloud"],[data-gz330-scene="partly"],[data-gz330-scene="rain"],[data-gz330-scene="snow"],[data-gz330-scene="storm"],[data-gz330-scene="drizzle"]) .gz330-cloud{opacity:.8}
body.gz330-world:is([data-gz330-scene="rain"],[data-gz330-scene="storm"]) .gz330-cloud{background:rgba(70,94,126,.43);box-shadow:75px -23px 0 17px rgba(74,94,128,.32),150px 12px 0 7px rgba(74,94,128,.31)}
.gz330-weather-sheet{position:fixed;inset:0;pointer-events:none;z-index:7;overflow:hidden;opacity:0;transition:opacity 1.8s ease;contain:paint}
.gz330-weather-sheet .gz330-particle{position:absolute;top:-10vh;left:var(--at);width:2px;height:30px;border-radius:3px;opacity:.55;background:linear-gradient(transparent,rgba(231,250,255,.95));transform:rotate(12deg);animation:gz330-rain 1.6s linear infinite;animation-delay:var(--delay);animation-duration:var(--speed)}
body.gz330-world:is([data-gz330-scene="rain"],[data-gz330-scene="storm"],[data-gz330-scene="drizzle"]) .gz330-weather-sheet{opacity:.66}
body.gz330-world[data-gz330-scene="drizzle"] .gz330-weather-sheet{opacity:.23}
body.gz330-world[data-gz330-scene="snow"] .gz330-weather-sheet{opacity:1}
body.gz330-world[data-gz330-scene="snow"] .gz330-weather-sheet .gz330-particle{width:var(--size);height:var(--size);background:#fff;box-shadow:0 0 9px rgba(225,250,255,.9);border-radius:50%;animation-name:gz330-snow;animation-duration:var(--snow-speed)}
body.gz330-world[data-gz330-scene="storm"] .gz330-weather-sheet{opacity:.62}
/* Every major part of the hike page belongs to the same weather state. */
body.gz330-world .header{background:var(--w330-header)!important;transition:background 2s ease}
body.gz330-world .topbar{background:var(--w330-header)!important;transition:background 2s ease}
body.gz330-world main{position:relative;z-index:1}
body.gz330-world .gz172-hero{background:linear-gradient(110deg,rgba(255,253,242,.90),rgba(255,250,230,.54))!important;transition:background 2s ease,box-shadow 2s ease;border-bottom:1px solid var(--w330-border)}
body.gz330-world[data-gz330-scene="rain"] .gz172-hero,body.gz330-world[data-gz330-scene="storm"] .gz172-hero{background:linear-gradient(105deg,rgba(236,247,250,.95),rgba(211,229,235,.63))!important}
body.gz330-world[data-gz330-scene="snow"] .gz172-hero{background:linear-gradient(100deg,rgba(253,254,255,.94),rgba(231,246,255,.68))!important}
body.gz330-world .gz172-hero::before{opacity:.35}
body.gz330-world .gz172-hero::after{opacity:.28}
body.gz330-world .gz172-hero-art{box-shadow:0 27px 75px rgba(25,57,60,.18);border-radius:22px;overflow:hidden}
body.gz330-world .gz320-meteo{background:var(--w330-surface);border-color:var(--w330-border);box-shadow:0 15px 40px rgba(29,70,65,.12)}
body.gz330-world .gz172-facts{background:rgba(255,255,255,.75);backdrop-filter:blur(4px);border-block:1px solid var(--w330-border)}
body.gz330-world .gz172-content{background:transparent}
body.gz330-world .gz172-where,body.gz330-world .gz172-story,body.gz330-world .gz172-prep-card,body.gz330-world .gz171-trail-card,body.gz330-world .gz172-side-card,body.gz330-world .gz172-risk{background:var(--w330-surface)!important;border-color:var(--w330-border)!important;box-shadow:0 15px 50px rgba(37,75,69,.08);transition:background 1.8s ease,border-color 1.8s ease}
body.gz330-world .gz172-aside{position:relative}
/* A full-bleed editorial moment in the flow; never replace the event information */
.gz330-chapter{position:relative;z-index:1;overflow:hidden;padding:clamp(42px,6vw,90px) 20px;text-align:center;border-block:1px solid var(--w330-border);background:linear-gradient(180deg,rgba(255,255,255,.23),rgba(255,255,255,.62));backdrop-filter:blur(2px);transition:background 2s ease}
.gz330-chapter>.gz330-chapter-inner{max-width:880px;margin:auto;position:relative;z-index:1}
.gz330-kicker{display:block;font-size:.72rem;font-weight:900;letter-spacing:.22em;text-transform:uppercase;color:#536f63;margin-bottom:20px}
.gz330-chapter-heading{font-size:clamp(2.8rem,7.2vw,7.8rem);font-weight:850;letter-spacing:-.075em;line-height:.98;color:#24463a;margin:0 auto 24px;text-wrap:balance;max-width:11ch}
.gz330-chapter-heading em{font-family:Georgia,serif;font-weight:450;font-style:italic;color:#a56e37}
.gz330-chapter-sub{font-size:clamp(1rem,1.6vw,1.3rem);line-height:1.65;color:#385548;margin:auto;max-width:58ch}
.gz330-chapter-foot{display:flex;justify-content:center;gap:13px;align-items:center;flex-wrap:wrap;margin:27px auto 0;font-size:.74rem;color:#4e6b5e;font-weight:750;letter-spacing:.025em}
.gz330-chip{border:1px solid var(--w330-border);background:rgba(255,255,255,.66);border-radius:999px;padding:8px 13px}
.gz330-director{max-width:880px;margin:15px auto 12px;border:1px solid var(--w330-border);border-radius:14px;background:rgba(255,255,255,.74);padding:12px 16px;box-shadow:0 9px 32px rgba(41,58,45,.08)}
.gz330-director summary{font-weight:800;cursor:pointer;color:#264538}
.gz330-director p{font-size:.8rem;line-height:1.5;margin:9px 0;color:#496154}
.gz330-director-buttons{display:flex;gap:8px;flex-wrap:wrap}
.gz330-director button{background:#e6eee7;border:1px solid #adbcaf;border-radius:9px;color:#264538;padding:8px 11px;cursor:pointer;font-weight:750;font-size:.77rem}
.gz330-director button:hover,.gz330-director button:focus-visible{background:#d4e7d8;outline-offset:3px}
.gz330-preview-flag{display:none;font-size:.71rem;color:#a44d20;font-weight:850;letter-spacing:.04em}
body.gz330-world.gz330-previewing .gz330-preview-flag{display:inline}
body.gz330-world.gz330-calm .gz330-weather-sheet{display:none}
body.gz330-world.gz330-calm .gz330-worldscape *,body.gz330-world.gz330-calm .gz320-sky *{animation-play-state:paused!important}
@keyframes gz330-drift{from{translate:-30vw 0}to{translate:135vw 0}}
@keyframes gz330-veil{to{transform:translateX(12%)}}
@keyframes gz330-rain{from{transform:translate3d(0,-12vh,0) rotate(12deg)}to{transform:translate3d(-14vw,114vh,0) rotate(12deg)}}
@keyframes gz330-snow{from{transform:translate3d(0,-8vh,0)}to{transform:translate3d(13vw,115vh,0)}}
@media(max-width:720px){.gz330-chapter{padding:46px 18px}.gz330-chapter-heading{font-size:clamp(2.5rem,12vw,5rem)}.gz330-worldscape .gz330-ridge{height:32%}.gz330-weather-sheet .gz330-particle:nth-child(n+15){display:none}body.gz330-world .gz172-hero-art{border-radius:16px}}
@media(prefers-reduced-motion:reduce){.gz330-worldscape *, .gz330-weather-sheet *, body.gz330-world .gz320-sky *{animation:none!important;transition:none!important}.gz330-weather-sheet{display:none!important}}
@media print{.gz330-worldscape,.gz330-weather-sheet,.gz330-director{display:none!important}body.gz330-world{background:#fff!important}body.gz330-world .gz330-chapter{background:#fff!important}}

/* 3.3.1 — Weather sidebar now matches the actual forecast, not a fixed sun glyph. */
body.gz330-world .gz172-weather-intro {min-height:126px;padding-right:86px}
body.gz330-world .gz172-weather-intro h2 {font-size:clamp(1.32rem,2.2vw,1.6rem);max-width:220px;line-height:1.15}
body.gz330-world .gz172-weather-intro .gz331-weather-symbol {
  right:15px;top:30px;font-size:3rem;line-height:1.2;color:inherit;
  display:block;transform-origin:center;filter:drop-shadow(0 5px 7px rgba(37,67,62,.12));
  transition:transform .8s ease,filter .8s ease;
}
body.gz330-world[data-gz330-scene="sun"] .gz172-weather-intro .gz331-weather-symbol{filter:drop-shadow(0 0 13px rgba(255,190,40,.42))}
@media (max-width:420px){body.gz330-world .gz172-weather-intro{padding-right:74px}body.gz330-world .gz172-weather-intro .gz331-weather-symbol{font-size:2.55rem;right:11px}}
@media (prefers-reduced-motion:reduce){body.gz330-world .gz172-weather-intro .gz331-weather-symbol{transition:none}}


/* 3.3.2 — Accessible forecasts: legibility never depends on sky colour. */
body.gz330-world .gz172-facts {
  background:#204638 !important; color:#fff !important; backdrop-filter:none !important;
  border-color:#173b2f !important;
}
body.gz330-world .gz172-facts .gz172-number { border-color:rgba(255,255,255,.24) !important; }
body.gz330-world .gz172-facts .gz172-number small { color:#dceee3 !important; opacity:1 !important; }
body.gz330-world .gz172-facts .gz172-number strong { color:#ffffff !important; opacity:1 !important; text-shadow:none !important; }
body.gz330-world .gz172-facts .gz172-number-ico { background:rgba(255,255,255,.14); color:#fff !important; }
/* Keep all precipitation visuals behind readable content and controls. */
body.gz330-world .gz330-weather-sheet {z-index:0 !important;}
body.gz330-world .gz330-chapter {background:rgba(249,251,247,.87);}
body.gz330-world .gz330-chapter-heading,body.gz330-world .gz330-chapter-sub{ text-shadow:none !important; }
body.gz330-world .gz320-meteo { background:#f8fcf9; border-color:#b6c8bf; }
/* Wind is additional information: it remains visible even alongside rain or snow. */
.gz332-wind-stream {position:absolute;inset:0;overflow:hidden;pointer-events:none;opacity:0;transition:opacity 1.8s ease;}
body.gz330-world[data-gz332-wind="breezy"] .gz332-wind-stream{opacity:.56}
body.gz330-world[data-gz332-wind="strong"] .gz332-wind-stream{opacity:.9}
.gz332-wind-line {position:absolute;top:calc(15% + var(--row)*21%);left:-36%;width:220px;height:44px;
 border-top:3px solid rgba(52,112,114,.40);border-bottom:2px solid rgba(52,112,114,.26);
 border-radius:50%;transform:rotate(-8deg);filter:drop-shadow(0 1px 4px rgba(255,255,255,.65));
 animation:gz332-wind-sweep calc(9s + var(--row)*2s) linear infinite;
 animation-delay:calc(var(--row)*-3s);}
.gz332-wind-line:nth-child(2n){width:310px;height:59px;transform:rotate(7deg)}
@keyframes gz332-wind-sweep{0%{translate:-20vw 0}100%{translate:150vw 0}}
/* The hero image gets a readable breeze illustration too, but never over its caption. */
body.gz330-world[data-gz332-wind="breezy"] .gz320-wind,
body.gz330-world[data-gz332-wind="strong"] .gz320-wind,
body.gz330-world[data-gz330-scene="wind"] .gz320-wind {
 opacity:.62;background:repeating-linear-gradient(-17deg,transparent 0,transparent 39px,rgba(244,252,250,.45) 41px,transparent 44px);
 animation:gz320-wind 3.8s linear infinite;
}
body.gz330-world[data-gz332-wind="strong"] .gz320-wind,
body.gz330-world[data-gz330-scene="wind"] .gz320-wind{opacity:.9;animation-duration:2.3s}
.gz332-wind-badge {display:inline-block;align-self:flex-start;margin-top:5px;padding:5px 9px;border-radius:9px;
 font-weight:750;font-size:.72rem;line-height:1.4;color:#183f37;background:#e1f1ed;border:1px solid #a9cbbf;}
.gz332-wind-badge[hidden]{display:none !important}
.gz332-prep{display:flex;gap:11px;padding:16px 18px;background:#f6faf6;border:1px solid #c4d9cd;
 border-top:0;color:#254638;border-radius:0 0 15px 15px;}
.gz332-prep>span{font-size:1.6rem;line-height:1.2}
.gz332-prep strong{display:block;color:#1e4636;font-size:.97rem;line-height:1.35}
.gz332-prep p{font-size:.83rem;line-height:1.55;color:#304e40;margin:6px 0}
.gz332-prep small{display:block;color:#4b6155;font-size:.7rem;line-height:1.4}
body.gz330-world .gz172-aside .gz332-prep{margin-bottom:19px}
@media(max-width:610px){body.gz330-world .gz172-facts .gz172-number{padding:12px 6px}
 body.gz330-world .gz172-facts .gz172-number small{font-size:.68rem;letter-spacing:.025em}}
@media(prefers-reduced-motion:reduce){.gz332-wind-line,.gz320-wind{animation:none!important;}
 .gz332-wind-stream{opacity:0!important}}
body.gz330-world.gz330-calm .gz332-wind-stream{display:none}
@media print{.gz332-wind-stream{display:none!important}.gz332-prep{background:#fff!important;border:1px solid #555}}

/* Explicit wind-stream positions also work in browsers without CSS typed multiplication. */
.gz332-wind-line:nth-child(1){top:15%;animation-duration:9s;animation-delay:0s}
.gz332-wind-line:nth-child(2){top:36%;animation-duration:12s;animation-delay:-4s}
.gz332-wind-line:nth-child(3){top:57%;animation-duration:11s;animation-delay:-7s}
.gz332-wind-line:nth-child(4){top:78%;animation-duration:15s;animation-delay:-10s}
/* Weather information should be readable on phones without zooming. */
body.gz330-world .gz172-aside .weather-source{font-size:.78rem;line-height:1.6;color:#435d4c}
body.gz330-world .gz172-aside .weather-sub{font-size:.83rem;line-height:1.5;color:#425c4b}
body.gz330-world .gz172-aside .weather-grid small{font-size:.78rem;line-height:1.45;color:#3c5c46}
body.gz330-world .gz172-aside .weather-grid strong{font-size:1rem;line-height:1.4;color:#203d30}
body.gz330-world .gz172-aside .weather-card{border-radius:0;margin-bottom:0;background:#f7fbf7}
