/* Polyana Travel /slopes/ v79: scoped fix following exact installed v78. */
/* Map: sticky while its neighbouring lift routes are longer. Sticky naturally ends with the grid. */
@media (min-width: 901px) {
 .pt-slopes-lifts-guide .pt-slopes-lifts-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.35fr) !important; align-items:start; }
 .pt-slopes-lifts-guide .pt-slopes-lifts-map-column { position: sticky !important; top: clamp(18px,7vh,80px); align-self:start; }
 .pt-slopes-lifts-guide .pt-slopes-lifts-map-panel { padding: 16px 9px 9px !important; }
 .pt-slopes-lifts-guide .pt-slopes-lifts-map-panel h3 { padding: 0 10px; }
}
/* Scheme thumbnail now uses all available column width; whole picture opens a detailed viewer. */
.pt-slopes-lifts-guide .pt-slopes-lifts-map-open { all:unset; box-sizing:border-box; display:block; position:relative; width:100%; border-radius:10px; cursor:zoom-in; text-align:center; }
.pt-slopes-lifts-guide .pt-slopes-lifts-map-open:focus-visible {outline:3px solid #fa0340;outline-offset:4px}
.pt-slopes-lifts-guide .pt-slopes-lifts-map-image {display:block!important; width:100%!important; max-width:100%!important; height:auto!important; max-height:none!important; object-fit:contain!important;}
.pt-slopes-lifts-guide .pt-slopes-lifts-map-zoom-hint {position:absolute;right:10px;bottom:10px;display:flex;gap:6px;align-items:center;justify-content:center;background:rgba(255,255,255,.96);color:#ec0740;border:1px solid #ffd0dc;border-radius:50px;padding:8px 12px;font-size:12px;font-weight:780;line-height:1.25;box-shadow:0 4px 16px #122b5420}
.pt-slopes-lifts-guide .pt-slopes-lifts-map-zoom-hint span {font-size:19px;line-height:.8}
.pt-slopes-lifts-guide .pt-slopes-lifts-map-caption {padding-top:8px}
/* Modal is in the browser top layer, remains black/white/red and scrolls at natural image size. */
.pt-slopes-route-dialog {box-sizing:border-box;position:fixed;border:1px solid #e5e9f2;border-radius:18px;padding:0;margin:auto;width:min(96vw,1480px);max-width:96vw;height:min(94dvh,990px);max-height:94dvh;background:#fff;color:#07152e;box-shadow:0 30px 80px #0005;overflow:hidden}
.pt-slopes-route-dialog::backdrop {background:rgba(6,13,26,.84);backdrop-filter:blur(3px)}
.pt-slopes-route-dialog[open]{display:flex;flex-direction:column}
.pt-slopes-route-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px clamp(12px,2vw,22px);border-bottom:1px solid #e8edf4;background:#fff;flex:none}
.pt-slopes-route-dialog-head>div:first-child{min-width:0;display:flex;flex-direction:column;gap:2px}
.pt-slopes-route-dialog-head strong{font-size:clamp(14px,1.4vw,18px);line-height:1.25;font-weight:830}
.pt-slopes-route-dialog-head small{color:#6b7590;font-size:12px;line-height:1.4}
.pt-slopes-route-dialog-actions{flex:none;display:flex;align-items:center;gap:6px}
.pt-slopes-route-dialog-actions button{border:1px solid #e8e9f1;background:#fff;color:#e7003d;display:grid;place-items:center;width:38px;height:38px;min-width:38px;border-radius:12px;font-size:25px;line-height:1;cursor:pointer;padding:0}
.pt-slopes-route-dialog-actions button:hover{border-color:#f50041;background:#fff1f4}
.pt-slopes-route-dialog-actions button:focus-visible{outline:3px solid #fd0c49;outline-offset:2px}
.pt-slopes-route-dialog-actions output{min-width:48px;text-align:center;font-size:12px;color:#4a5572;font-variant-numeric:tabular-nums}
.pt-slopes-route-dialog-actions .pt-slopes-route-dialog-close{background:#f4003f;color:#fff;border-color:#f4003f;margin-left:8px}
.pt-slopes-route-dialog-actions .pt-slopes-route-dialog-close:hover{background:#c90032;color:#fff}
.pt-slopes-route-dialog-scroller {flex:1 1 auto;min-height:0;width:100%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#fa0040 #eef2f8;background:#f7f9fd;text-align:center;touch-action:pan-x pan-y}
.pt-slopes-route-dialog-scroller img {display:block;width:100%;max-width:none;height:auto;margin:0 auto;object-fit:contain;user-select:none;-webkit-user-drag:none}
@media(max-width:900px){
 .pt-slopes-lifts-guide .pt-slopes-lifts-map-column {position:static!important;top:auto!important}
 .pt-slopes-lifts-guide .pt-slopes-lifts-map-panel{padding:12px 5px 8px!important}
 .pt-slopes-lifts-guide .pt-slopes-lifts-map-image{max-width:none!important}
 .pt-slopes-lifts-guide .pt-slopes-lifts-map-zoom-hint{right:8px;bottom:6px;padding:7px 10px;font-size:11px}
 .pt-slopes-route-dialog {width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}
 .pt-slopes-route-dialog-head {padding:10px 12px}
 .pt-slopes-route-dialog-head small {display:none}
 .pt-slopes-route-dialog-actions button{width:34px;min-width:34px;height:34px;font-size:22px}
 .pt-slopes-route-dialog-actions output{min-width:39px;font-size:11px}
 .pt-slopes-route-dialog-scroller img {width:1000px;max-width:none!important}
}
/* Comparison table call-to-action: no text clipping on narrow screens; arrow always vertically centred. */
@media(max-width:760px){
 .pt-slopes-compare-section .pt-sc-map-link{box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:100%!important;max-width:none!important;min-width:0!important;white-space:normal!important;overflow-wrap:normal!important;text-wrap:balance;text-align:center!important;padding:10px 9px!important;min-height:46px!important;line-height:1.28!important;font-size:12px!important}
 .pt-slopes-compare-section .pt-sc-map-link span{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:static!important;transform:none!important;font-size:22px!important;line-height:1!important;flex:0 0 12px;height:20px!important;align-self:center!important}
 .pt-slopes-compare-section .pt-slopes-compare-table tbody td:last-child{padding:10px 9px!important}
}
/* FAQ v78 rebalanced: preserve red/white branding and icon changes; reduce huge rows, spacing and headings. */
.pt-slopes-faq-v78 {padding-top:34px!important;padding-bottom:46px!important}
.pt-slopes-faq-v78 .pt-slopes-faq-heading{margin-bottom:20px!important}
.pt-slopes-faq-v78 .pt-slopes-faq-heading h2{font-size:clamp(27px,2.65vw,39px)!important;margin-bottom:8px!important}
.pt-slopes-faq-v78 .pt-slopes-faq-heading p{font-size:clamp(14px,1.08vw,16px)!important}
.pt-slopes-faq-v78 .pt-slopes-faq-grid{gap:10px!important}
.pt-slopes-faq-v78 .pt-slopes-faq-item{border-radius:14px!important;box-shadow:0 4px 16px rgba(38,53,80,.04)!important}
.pt-slopes-faq-v78 .pt-slopes-faq-question{padding:9px 18px!important;gap:17px!important;min-height:61px!important}
.pt-slopes-faq-v78 .pt-slopes-faq-question-icon{width:46px!important;height:46px!important;flex:0 0 46px!important}
.pt-slopes-faq-v78 .pt-slopes-faq-question-icon img{width:46px!important;height:46px!important}
.pt-slopes-faq-v78 .pt-slopes-faq-question-text{font-size:clamp(16px,1.27vw,20px)!important;line-height:1.27!important}
.pt-slopes-faq-v78 .pt-slopes-faq-answer{padding:0 30px 18px 81px!important}
.pt-slopes-faq-v78 .pt-slopes-faq-answer p{font-size:clamp(13px,1vw,16px)!important;line-height:1.48!important}
.pt-slopes-faq-v78 .pt-slopes-faq-official{margin-top:13px}
.pt-slopes-faq-v78 .pt-slopes-faq-official a{font-size:clamp(12px,1vw,14px)!important;gap:8px!important}
.pt-slopes-faq-v78 .pt-slopes-faq-official .pt-faq-link-doc{width:22px!important;height:22px!important;flex-basis:22px!important}
.pt-slopes-faq-v78 .pt-slopes-faq-official .pt-faq-link-arrow{width:17px!important;height:17px!important;flex-basis:17px!important}
@media(max-width:600px){
 .pt-slopes-faq-v78{padding-top:25px!important;padding-bottom:35px!important}
 .pt-slopes-faq-v78 .pt-slopes-faq-heading{margin-bottom:15px!important}
 .pt-slopes-faq-v78 .pt-slopes-faq-heading h2{font-size:clamp(23px,6.1vw,29px)!important}
 .pt-slopes-faq-v78 .pt-slopes-faq-grid{gap:8px!important}
 .pt-slopes-faq-v78 .pt-slopes-faq-question{min-height:57px!important;padding:8px 10px!important;gap:9px!important}
 .pt-slopes-faq-v78 .pt-slopes-faq-question-icon{width:37px!important;height:37px!important;flex:0 0 37px!important}
 .pt-slopes-faq-v78 .pt-slopes-faq-question-icon img{width:37px!important;height:37px!important}
 .pt-slopes-faq-v78 .pt-slopes-faq-question-text{font-size:14px!important;line-height:1.3!important}
 .pt-slopes-faq-v78 .pt-slopes-faq-answer{padding:0 13px 13px 56px!important}
 .pt-slopes-faq-v78 .pt-slopes-faq-answer p{font-size:12.5px!important;line-height:1.46!important}
 .pt-slopes-faq-v78 .pt-slopes-faq-official{margin-top:10px}
 .pt-slopes-faq-v78 .pt-slopes-faq-official a{font-size:12px!important;line-height:1.4!important}
}
@media(prefers-reduced-motion:reduce){.pt-slopes-route-dialog *{scroll-behavior:auto!important}}
