/* September refinements, scoped to the guide homepage. */
/* Restore the approved shallow hero, independent of the video aspect ratio. */
.g-page .g-video{height:62svh;aspect-ratio:auto;min-height:0;max-height:680px}
.g-page .g-video video{object-fit:cover;object-position:50% 42%;filter:none}
@media(max-width:700px){.g-page .g-video{height:55svh;max-height:520px}}
/* Match the dedicated mobile edit exactly, avoiding a second crop in the player. */
@media(max-width:700px) and (orientation:portrait){.g-page .g-video{height:auto;aspect-ratio:4/5;max-height:none}.g-page .g-video video{object-fit:contain;object-position:center}}
.g-page #audio .g-invitation-heading{position:relative}
.g-page #audio .g-invitation-heading .g-hand:has(.g-brand-lettering){position:absolute;left:58%;top:calc(100% + 24px);width:clamp(200px,calc(50vw - 320px),470px);margin:0;transform:rotate(-12deg);transform-origin:left top}
.g-page #audio .g-centered-copy{margin-top:64px}
.g-page #audio .g-audio-row{width:min(560px,calc(50% - 20px));margin-left:calc(50% - min(560px,calc(50% - 20px)));margin-right:auto}
.g-page #stories{padding-bottom:24px}
.g-page #stories .g-heading-row{margin-bottom:100px}
.g-page .g-breathe{margin-top:-45px;padding-top:0;padding-bottom:30px}
.g-page .g-breathe .g-photo-person{object-position:50% 35%}
.g-page .g-breathe .g-photo-landscape{object-position:35% 50%}
.g-page .g-breathe .g-photo-pair{translate:0 -40px}
.g-page #audio{padding-bottom:20px}
.g-page .g-scroll-chapter:has(>.g-interlude-second){margin-top:-60px}
.g-page .g-scroll-chapter>.g-interlude-second{top:-45px}
/* One two-colour rendering pipeline: no paper blending or inherited masks. */
.g-page .g-digital-art>img{mix-blend-mode:normal!important;mask:none!important;-webkit-mask:none!important}
.g-page #watercolor-blue>img{filter:url(#guide-clean-blue)!important}
.g-page #watercolor-orange>img{filter:url(#guide-clean-pink)!important}
.g-page #watercolor-purple>img{filter:url(#guide-clean-purple)!important}
.g-page .g-routes-intro{margin-left:0;margin-right:auto;width:var(--route-copy-width,680px);max-width:100%;text-align:left}
.g-page .g-routes .g-route-image>span{left:18px;top:18px;transform:none;background:rgba(20,29,25,.42);border-radius:50%;padding:12px 18px;color:#fffdf5;font-size:12px;line-height:1.2;text-shadow:0 1px 4px #0009;isolation:isolate}
.g-page .g-route-image>span::before{content:"";position:absolute;inset:-3px -6px;z-index:-1;background:currentColor;filter:drop-shadow(0 1px 2px #0007);mask:url("/guide-assets/20261031-kislovodsk-v1/guide-draft/releases/20260923-mood-v18/assets/guide/route-ink-oval.svg") center/100% 100% no-repeat;-webkit-mask:url("/guide-assets/20261031-kislovodsk-v1/guide-draft/releases/20260923-mood-v18/assets/guide/route-ink-oval.svg") center/100% 100% no-repeat}
.g-page .g-finale-brand .g-finale-logo{width:300px;max-width:90%}
.g-page .g-finale-brand .g-hand{transform:rotate(-18deg)}
.g-page .g-finale-copy .g-love-stamp{justify-self:end;margin-top:52px;margin-right:12px}
@media(max-width:700px){
 .g-page #audio .g-invitation-heading{max-width:none;padding-right:34%;text-align:left}
 .g-page #audio .g-invitation-heading h2{font-size:clamp(20px,4.4vw,30px)}
 .g-page #audio .g-invitation-heading .g-hand:has(.g-brand-lettering){left:45%;top:calc(100% + 20px);width:50%}
 .g-page #audio .g-audio-row{width:100%;margin-left:0}
 .g-page #stories{padding-bottom:16px}
 .g-page #stories .g-heading-row{margin-bottom:58px}
 .g-page .g-breathe{padding-top:12px}
 .g-page .g-routes-intro{margin-left:0;max-width:100%}
 .g-page .g-routes .g-route-image>span{left:10px;top:12px;font-size:11px;padding:10px 12px}
 .g-page .g-finale-brand .g-finale-logo{width:260px}
 .g-page .g-finale-copy .g-love-stamp{margin-top:32px;margin-right:8%}
}
@media(min-width:701px) and (max-width:1050px){
 .g-page #audio .g-invitation-heading{margin-left:10%;margin-right:0;width:55%}
 .g-page #audio .g-invitation-heading .g-hand:has(.g-brand-lettering){left:58%;width:60%}
}
.g-page.g-readable .g-routes .g-route-image>span{color:#000;background:#fff;text-shadow:none}
/* Phone audit: keep handwritten captions apart and route copy readable. */
@media(max-width:700px){
 .g-page .g-interlude:has(#watercolor-blue) .g-postcards>.g-hand{transform:rotate(-8deg);margin-top:6px;margin-bottom:14px}
 .g-page .g-scroll-chapter .g-drawing .g-hand{margin-bottom:8px}
 .g-page .g-route-grid{grid-template-columns:minmax(0,1fr);gap:34px;max-width:430px;margin-inline:auto}
 .g-page .g-route-image{aspect-ratio:3/4;max-height:440px}
 .g-page .g-route-card h3{font-size:25px}
 .g-page .g-route-card p{font-size:17px;line-height:1.5}
}
