/* ТД ГОЛЕЖ 3.3.3 — event-page UX, editorial hierarchy, inclusive weather and photo final */
/* The actual route facts and actions must stay legible in every atmospheric mode. */
.gz333-page-nav{position:relative;z-index:3;background:#fbfcf9;border-top:1px solid #dbe5da;border-bottom:1px solid #cfded1}
.gz333-page-nav-inner{display:flex;align-items:center;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;padding-top:9px;padding-bottom:9px;scrollbar-width:thin}
.gz333-page-nav a{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:42px;padding:9px 15px;color:#204638;background:#eef4ed;border:1px solid #c9d9c9;border-radius:999px;font-size:.86rem;line-height:1.3;font-weight:800;text-decoration:none;white-space:nowrap}
.gz333-page-nav a:hover{background:#dceadf;border-color:#8cac92}
.gz333-page-nav a:focus-visible,.gz333-featured-more:focus-visible,.gz333-featured-image:focus-visible{outline:3px solid #af7428;outline-offset:3px}
#gz172-plan,#gz172-map,#gz320-prognoza,#gz172-join,#gz2714-snimki,#gz2714-glasuvane,#gz2714-snimki-kachvane,#gz2714-konkurs-kachvane{scroll-margin-top:24px}
/* The hike title remains the primary heading, also in the finished-photo state. */
.gz333-completed-heading{position:relative;z-index:2;padding:0 0 12px}
.gz333-completed-heading .gz333-kicker{color:#796033}
.gz172-hero .gz333-completed-title{font-size:clamp(1.7rem,3.4vw,2.9rem);max-width:30ch;margin:8px 0 3px;line-height:1.14;color:#204638}
/* After the final contest close, one true hero image takes the photographic spotlight.
   No duplicate winner image, no speculative award before counting approved votes. */
.gz333-featured-photo{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(270px,.88fr);overflow:hidden;min-height:300px;background:#1c3d34;color:#fff;border:3px solid rgba(241,207,138,.87);border-radius:23px;margin:6px 0 24px;box-shadow:0 20px 42px rgba(20,49,42,.22)}
.gz333-featured-image{display:block;min-width:0;background:#142b27;min-height:280px}
.gz333-featured-image img{display:block;width:100%;height:100%;max-height:510px;min-height:280px;object-fit:contain;background:#142b27}
.gz333-featured-info{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;padding:clamp(20px,4vw,42px);min-width:0;background:linear-gradient(145deg,#1d4336,#295144)}
.gz333-kicker{display:inline-block;font-size:.75rem;color:#f5d99b;font-weight:850;letter-spacing:.075em}
.gz333-featured-info h2{font-size:clamp(1.6rem,3.2vw,3rem);line-height:1.13;letter-spacing:-.03em;color:#fff;margin:0}
.gz333-featured-info p{margin:0;line-height:1.6;color:#e5f0e9;font-size:.95rem}
.gz333-featured-info .gz333-winner-author{display:flex;flex-wrap:wrap;gap:9px 16px;align-items:center;font-size:.92rem}
.gz333-winner-author strong{color:#fff}
.gz333-winner-author span{font-size:.82rem;color:#204438;background:#e6f2e6;border-radius:999px;padding:5px 11px;font-weight:800}
.gz333-featured-info .gz333-winner-caption{font-style:italic;color:#f3dfaf}
.gz333-featured-more{display:inline-flex;min-height:42px;align-items:center;margin-top:3px;color:#fff!important;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;font-weight:800}
.gz333-has-winner .gz172-hero-grid{grid-template-columns:minmax(0,1fr);padding-bottom:30px}
.gz333-has-winner .gz172-hero-copy{max-width:950px}
.gz333-has-winner .gz172-hero h1{max-width:24ch}
.gz333-editor-photo-note{position:relative;z-index:2;background:#fffae5;border:1px solid #bc9b51;border-radius:12px;padding:12px 15px;color:#32493a;font-size:.87rem;line-height:1.5}
.gz333-editor-photo-note a{color:#245e45;text-decoration:underline}
/* The camera module is intentionally the final full section; give it a clear chapter boundary. */
.gz2714-hub{position:relative;margin-top:28px;padding-top:clamp(22px,4vw,50px);padding-bottom:60px;border-top:2px solid #c9d9cc}
.gz2714-hub-heading{max-width:800px}
.gz2714-hub-heading p{color:#43584b;line-height:1.6}
.gz2714-hub .gz2714-panel{background:#fffdf7;color:#294b3e}
.gz2714-hub .gz2714-panel a:not(.button){text-underline-offset:3px}
/* On phones the weather belongs before the map so visitors can prepare without long scrolling.
   Desktop keeps the sticky sidebar next to the real route. */
@media(max-width:900px){
 .gz172-content{display:flex;flex-direction:column;gap:20px}
 .gz172-content>.gz172-aside{order:-1;position:static;width:100%;align-self:stretch;margin-bottom:10px}
 .gz172-content>.gz172-main{order:1;width:100%}
 .gz333-featured-photo{grid-template-columns:1fr}
 .gz333-featured-image{min-height:220px}
 .gz333-featured-image img{min-height:220px;max-height:390px}
}
@media(max-width:610px){
 .gz333-page-nav-inner{gap:7px;padding-top:7px;padding-bottom:7px}
 .gz333-page-nav a{min-height:42px;padding:8px 12px;font-size:.8rem}
 .gz333-featured-photo{margin-bottom:16px;border-radius:15px}
 .gz333-featured-info{padding:19px 18px}
 .gz333-featured-info h2{font-size:1.8rem}
 .gz333-featured-image img{max-height:300px}
 .gz2714-hub{margin-top:12px}
}
@media(prefers-reduced-motion:reduce){.gz333-page-nav a,.gz333-featured-photo{transition:none!important}}
@media print{
 .gz333-page-nav{display:none!important}
 .gz333-featured-photo{box-shadow:none;border:1px solid #666;break-inside:avoid}
 .gz333-featured-image img{max-height:250px}
}
