
/* /assets/pe/consegna-home/sedi.css */
html.route-preview{scroll-behavior:auto}.route-main{--ink:#004959;--paper:#fcfdf8;--sage:#aec35b;color:var(--ink);font-family:Manrope,sans-serif;padding-top:0;background:var(--paper)}
.route-top{position:sticky;top:var(--route-nav,74px);z-index:30;background:#fcfdf8;height:52px;padding:0 4%;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #00495914}
.route-top .route-breadcrumb{position:static;background:none;box-shadow:none;padding:0;min-height:0;height:auto;width:auto;display:block}
.route-breadcrumb ol{display:flex;align-items:center;list-style:none;margin:0;padding:0;gap:10px;font-size:12px}.route-breadcrumb li+li:before{content:'›';margin-right:10px;color:#628080}.route-top a{color:var(--ink);text-decoration:none}.route-store{font-size:13px;font-weight:750;white-space:nowrap}.route-store span{margin-left:10px}
.route-scroll{position:relative}.route-stage{position:relative;isolation:isolate;height:calc(100svh - 74px);min-height:400px;padding:0;overflow:hidden;background:#e3f0ec}.route-world,.route-sky,.route-strip{position:absolute;inset:0;pointer-events:none}.route-world{bottom:124px;overflow:hidden}.route-sky{background:url('/assets/lumi/sky-liguria.webp') center 38%/cover}.route-strip{will-change:transform}.route-panorama{position:absolute;bottom:0;max-width:none;mask-image:linear-gradient(180deg,transparent,#000 24%),linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);mask-composite:intersect;}
.route-panorama{clip-path:inset(0 0 7% 0)}.route-strip{mask-image:none}
.route-road{position:absolute;bottom:0;left:0;right:0;height:var(--road-h,43px);background:linear-gradient(#d9d5c3 0 4px,#b5b3a4 4px 6px,#839694 6px,#8d9c98);border-top:1px solid #fff6;overflow:hidden}.route-dashes{position:absolute;top:63%;left:-300px;right:-300px;height:3px;background:repeating-linear-gradient(90deg,#fcf5dd 0 70px,transparent 70px 170px)}
.route-car{position:absolute;bottom:0;left:0;max-width:none;will-change:transform;filter:saturate(.78)}.route-car svg{display:block;width:100%;height:auto;overflow:visible}.route-wheel{transform-origin:0 0}
.route-intro{position:absolute;left:4%;top:25px;max-width:520px}.route-eyebrow{display:block;font-size:10px;letter-spacing:.16em;font-weight:800;line-height:1.6}.route-intro h1{font-size:clamp(26px,3.1vw,45px);letter-spacing:-.05em;line-height:1.09;margin:8px 0 10px;font-weight:750}.route-intro h1 em{font-style:normal;color:#397c78}.route-intro p{font-size:14px;margin:0;line-height:1.6}
.route-card{position:absolute;left:4%;top:205px;width:310px;padding:20px 22px 22px;background:#fcfdf8ee;border:1px solid #fff9;border-radius:8px 28px 8px 28px;box-shadow:0 8px 36px #0049590b}.route-card h2{font-size:25px;line-height:1.12;letter-spacing:-.04em;margin:8px 0}.route-card p{font-size:13px;margin:0 0 15px}.route-card-actions{display:flex;gap:12px;align-items:flex-start;flex-direction:column}.route-card a{color:var(--ink);font-size:12px;font-weight:750;text-decoration:none}.route-card a.route-primary{background:var(--ink);color:white;padding:12px 16px;border-radius:5px 17px 5px 17px;font-size:13px}.route-card~.route-card{visibility:hidden}
.route-travel-copy{position:absolute;top:15%;left:4%;opacity:0;padding:14px 18px;background:#fcfdf8e6;border-radius:7px 22px 7px 22px}.route-travel-copy p{font-size:clamp(20px,2.3vw,31px);line-height:1.2;letter-spacing:-.035em;margin:10px 0}
.route-tools{position:absolute;bottom:0;left:0;right:0;height:124px;background:#fcfdf8f5;border-top:1px solid #00495917;padding:14px 4% 8px}.route-map{position:relative;display:grid;grid-template-columns:repeat(5,1fr);align-items:start;gap:12px;max-width:800px;margin:0 auto 12px;padding-bottom:10px}.route-map a{display:flex;align-items:center;gap:8px;color:var(--ink);font-size:13px;font-weight:750;text-align:center;justify-content:center;text-decoration:none}.route-map i{width:9px;height:9px;border-radius:100%;border:1px solid var(--ink)}.route-map [aria-current] i{background:var(--ink);outline:4px solid #aec35b55}.route-line{position:absolute;bottom:0;left:0;right:0;height:2px;background:#00495922}.route-line b{display:block;height:100%;background:var(--ink);width:0}.route-controls{display:flex;justify-content:center;align-items:center;gap:20px}.route-controls button{border:0;background:transparent;color:var(--ink);font:700 12px Manrope,sans-serif;cursor:pointer;padding:8px 6px}.route-controls #route-play{background:#e3f0ec;border-radius:7px 16px 7px 16px;padding:10px 15px;min-width:182px}.route-slider{width:min(28vw,310px);display:block}.route-slider input{width:100%;accent-color:var(--ink)}.route-hint{font-size:10px;text-align:center;opacity:.75;margin:8px 0 0}.route-after{display:flex;align-items:center;justify-content:space-between;padding:24px 4%;font-size:12px;gap:20px}.route-after a{font-size:15px;font-weight:750;color:var(--ink)}.route-main :focus-visible{outline:3px solid #68852d;outline-offset:4px}.route-main .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(min-width:1000px) and (max-height:760px){.route-stage{min-height:510px}.route-intro{top:20px}.route-intro h1{font-size:34px}.route-intro p{display:none}.route-card{top:155px;padding:17px 20px}.route-card h2{font-size:23px}}
@media(max-width:759px){.route-main{padding-top:0}.route-top{padding:0 5%;height:48px}.route-breadcrumb ol{font-size:10px;gap:6px}.route-breadcrumb li+li:before{margin-right:6px}.route-breadcrumb li:last-child{display:none}.route-store{font-size:12px}.route-stage{height:calc(100svh - 62px);min-height:400px}.route-world{bottom:180px}.route-intro{left:6%;top:20px;right:6%}.route-intro h1{font-size:29px}.route-intro p{display:none}.route-card{top:145px;left:6%;width:88%;padding:13px 16px;background:#fcfdf8ed;box-shadow:none}.route-card h2{font-size:23px;margin:3px 0 5px}.route-card p{font-size:12px;margin-bottom:11px}.route-card-actions{flex-direction:row;align-items:center;gap:14px}.route-card a{font-size:11px}.route-card a.route-primary{padding:10px 12px;font-size:12px}.route-tools{height:180px;padding:14px 6% 8px}.route-map{grid-template-columns:repeat(3,1fr);margin-bottom:8px;gap:10px 5px;padding-bottom:8px}.route-map a{font-size:12px;line-height:1.25;flex-direction:row;gap:5px}.route-map a:nth-child(4){grid-column:1/3}.route-map i{width:7px;height:7px;flex-shrink:0}.route-controls{gap:8px;flex-wrap:wrap;justify-content:space-between}.route-controls #route-play{min-width:0;font-size:11px;padding:9px}.route-controls #route-quiet{font-size:11px}.route-slider{order:3;width:100%}.route-hint{font-size:9px;margin-top:2px}.route-travel-copy{top:145px;left:6%;padding:15px 18px;background:#fcfdf8d9;border-radius:7px 22px 7px 22px}.route-after{flex-direction:column;align-items:flex-start}.route-eyebrow{font-size:9px}}
@media(max-height:600px) and (min-width:760px){.route-stage{min-height:480px}.route-intro h1{font-size:29px}.route-card{top:125px}.route-card h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.route-main *{scroll-behavior:auto}}
@media print{.route-stage{height:900px}.route-tools,.route-car{display:none}.route-stage .route-card{position:static;visibility:visible;opacity:1;transform:none}}
.route-top .route-breadcrumb::before,.route-top .route-breadcrumb::after{display:none}
@media(max-width:759px) and (max-height:650px){.route-stage{min-height:400px}.route-intro{top:14px}.route-intro h1{font-size:23px;margin:4px 0}.route-intro .route-eyebrow{display:none}.route-card{top:83px;padding:10px 14px}.route-card h2{font-size:21px}.route-card p{margin-bottom:8px}.route-world{bottom:160px}.route-tools{height:160px;padding-top:10px}.route-map{margin-bottom:4px;padding-bottom:6px}.route-map a{font-size:12px;gap:4px}.route-controls #route-play{padding:6px 9px}.route-controls #route-quiet{padding:6px}.route-hint{display:none}.route-travel-copy{top:100px}}


.route-join{position:absolute;max-width:none;width:auto;object-fit:contain;pointer-events:none;filter:saturate(.8);}
@media(min-width:760px) and (max-height:560px){.route-stage{min-height:240px}.route-intro{top:8px}.route-intro h1{font-size:22px;margin:0}.route-intro .route-eyebrow,.route-intro p{display:none}.route-card{top:68px;padding:10px 14px;width:310px}.route-card>.route-eyebrow{display:none}.route-card h2{font-size:19px;margin:0 0 4px}.route-card p{font-size:11px;margin:0 0 6px}.route-card-actions{flex-direction:row;gap:12px;align-items:center}.route-card a{font-size:10px}.route-card a.route-primary{font-size:11px;padding:8px 10px}.route-world{bottom:82px}.route-tools{height:82px;padding:8px 4%}.route-map{margin-bottom:5px}.route-controls button{padding:5px}.route-controls #route-play{padding:7px 12px}.route-hint{display:none}.route-travel-copy{top:15px;background:#fcfdf8dd;padding:12px 18px;border-radius:7px 22px 7px 22px}.route-travel-copy p{font-size:22px;margin:6px 0}}
@media(min-width:760px) and (max-height:760px){.route-intro{background:#fcfdf8e6;padding:12px 16px;border-radius:7px 22px 7px 22px}}



/* /assets/pe/consegna-home/integrazione.css?v=mobile-dock-20261111-1 */
/* Only the added composite scene: Home, bill and site chrome use their original styles. */
.pxw-stage{--route-map-space:56px}
.pej-scene.route-main{background:linear-gradient(to top,#fcfdf8 var(--route-map-space),transparent var(--route-map-space))}
.pej-scene .route-stage{position:absolute;inset:0;height:100%;min-height:0;background:transparent}
.pej-scene .route-world{bottom:var(--route-map-space)}
.pej-scene .route-sky{background:none}
.pej-scene .route-tools{height:var(--route-map-space);padding:14px 4% 6px}
.pej-scene .route-map{margin:0 auto;max-width:800px}
/* The road and lower floor belong to the stage, outside both scene masks. */
.pej-integrated .pxw-stage::before{
  content:"";position:absolute;inset:auto 0 0;height:calc(var(--route-map-space) + var(--pej-route-road-height,0px));pointer-events:none;
  background:
    repeating-linear-gradient(90deg,#fcf5dd 0 70px,transparent 70px 170px) var(--pej-road-offset,0px) calc(var(--pej-route-road-height,0px) * .63) / 170px 3px repeat-x,
    linear-gradient(#d9d5c3 0 4px,#b5b3a4 4px 6px,#839694 6px,#8d9c98) top / 100% var(--pej-route-road-height,0px) no-repeat,
    #e9e7dc;
}
.pej-integrated .pej-scene .route-road{background:none;border:0}
.pej-integrated .pej-scene .route-dashes{visibility:hidden}
.pej-integrated .pej-person{bottom:calc(var(--route-map-space) + var(--pej-route-road-height,0px))}

.route-intro h2{font-size:clamp(26px,3.1vw,45px);letter-spacing:-.05em;line-height:1.09;margin:8px 0 10px;font-weight:750;color:#004959}
.route-intro h2 em{font-style:normal;color:#397c78}
.pej-scene.route-main .route-car{z-index:1}
.pej-scene.route-main .route-intro,.pej-scene.route-main .route-card,.pej-scene.route-main .route-travel-copy{z-index:2}
.pej-scene[data-scene=store] .pej-more{margin-top:10px}
@media(max-width:759px){.pxw-stage{--route-map-space:80px}.pej-scene .route-tools{padding:10px 6% 6px}.route-intro h2{font-size:29px}}
@media(min-width:1000px) and (max-height:760px){.route-intro h2{font-size:34px}}
@media(max-width:759px) and (max-height:650px){.route-intro h2{font-size:23px;margin:4px 0}.pej-scene .route-card>.route-eyebrow{display:none}.pej-scene .route-card{top:76px}.pej-scene .route-card h2{font-size:20px}}
@media(min-width:760px) and (max-height:560px){.route-intro h2{font-size:22px;margin:0}.pxw-stage{--route-map-space:42px}.pej-scene .route-tools{padding:8px 4%}.pej-scene .route-card{top:68px}}
@media(max-width:759px) and (max-height:650px){.pxw-companion[data-scene=store] .pej-thought{display:none}}

/* Accessible document flow until the horizontal renderer has measured successfully. */
html:not(.pej-integrated) #px3-film{height:auto}
html:not(.pej-integrated) body.hr-review #px3-film #main-content{height:auto;overflow:visible}
html:not(.pej-integrated) body.hr-review #main-content>section:is(.lumi-hero,.lumi-story,.pxw-journey){
  position:relative;inset:auto;height:auto;visibility:visible
}
html:not(.pej-integrated) body.hr-review #main-content>.lumi-story .lumi-story-sticky{
  height:auto;width:auto;max-height:none;transform:none
}
html:not(.pej-integrated) .pxw-stage{height:auto;min-height:0;overflow:visible}
html:not(.pej-integrated) .pej-scene{position:relative;inset:auto;height:auto;min-height:0;padding:22px 5%;overflow:visible}
html:not(.pej-integrated) .pej-scene .pxw-copy{position:relative;inset:auto;width:auto;max-width:680px}
html:not(.pej-integrated) .pej-scene .route-stage{position:relative;height:auto;overflow:visible}
html:not(.pej-integrated) .pej-scene :is(.route-intro,.route-card){
  position:relative;inset:auto;width:auto;max-width:680px;margin:0 0 16px;visibility:visible
}
html:not(.pej-integrated) :is(.px3-toolbar,.px3-transit,.pxw-companion,.pej-stops,.pej-life,.pej-car,
  .pej-scene-number,.pej-panorama,.pej-wash,.route-world,.route-tools,.route-travel-copy){display:none}

/* Blend scenery at the overlap. Keep copy and controls outside the picture mask. */
.pej-integrated .pej-scene>picture{
  inset:0;
  mask-image:var(--pej-scenery-mask);
}
.pej-integrated .pej-scene.route-main{background:none}
.pej-integrated .pej-scene{
  --pej-scenery-mask:linear-gradient(to right,transparent,#000 var(--pej-edge-in,0px),
    #000 calc(100% - var(--pej-edge-out,0px)),transparent);
}
.pej-integrated .pej-scene.route-main .route-world{mask-image:var(--pej-scenery-mask)}
.pej-integrated .pej-scene.route-main :is(.route-stage,.route-world,.route-sky,.route-strip){
  background:transparent;
}
.pej-integrated .pej-scene>.pxw-copy{
  transform:translateX(var(--pej-card-offset,0px));
  opacity:var(--pej-card-opacity,1);
}
.pej-integrated .pej-scene[data-scene=attivita]>.pxw-copy{
  box-sizing:border-box;
  max-height:94%;
  overflow:auto;
  overflow-wrap:anywhere;
}
@media(min-width:760px){
  .pej-integrated .pej-scene[data-scene=attivita]>.pxw-copy{
    width: min(52%,570px);
    max-height:calc(100% - max(5%,12px) - 10px);
  }
  .pej-integrated .pej-scene[data-scene=attivita]>.pxw-copy h2{
    font-size:clamp(24px,3.15vw,48px);
  }
}
@media(max-height:620px) and (min-width:760px){
  .pej-integrated .pej-scene[data-scene=attivita]>.pxw-copy h2{font-size:clamp(21px,4.9vh,30px)}
}

/* v7: continuous Persone → five seats; protected sections untouched. */
.pej-sample-scenery{position:absolute;inset:0;overflow:hidden;pointer-events:none;visibility:hidden}
html:not(.pej-integrated) :is(.pej-sample-scenery,.pej-departure,.pxw-stage>.route-car){display:none}
.pej-sample-scenery>img{position:absolute;max-width:none;height:auto;mask-image:linear-gradient(to bottom,transparent 32%,#000 54%)}
.pej-integrated .pxw-journey .pej-scene[data-scene=persone]>picture,
.pej-integrated .pxw-journey .route-world{opacity:calc(1 - var(--pej-sample-opacity,0))}
.pej-integrated .pxw-stage>.route-car{z-index:4;pointer-events:none}
.pej-integrated .pej-departure{position:absolute;z-index:5;pointer-events:none;max-width:none;height:auto;visibility:hidden}
.pej-integrated .pxw-journey[data-sample-board=true] .pej-scene[data-scene=persone]>picture{mask-image:var(--pej-scenery-mask);overflow:hidden}
.pej-integrated .pxw-journey[data-sample-board=true] .route-world{
 mask-image:linear-gradient(to right,transparent,#000 var(--pej-edge-in,0px)),linear-gradient(to bottom,transparent 30%,#000 58%);mask-composite:add;
}
.pej-integrated .pxw-stage>.route-intro{z-index:6;pointer-events:none;visibility:hidden}
.pej-integrated .pxw-journey[data-sample=true] .pxw-stage>.route-intro{
 top:clamp(14px,3vh,30px);left:4%;width:min(360px,43%);max-width:none;padding:16px 20px;
 border-radius:7px 22px 7px 22px;background:#fcfdf8ed;box-sizing:border-box;
}
.pej-integrated .pxw-journey[data-sample=true] .route-intro h2{font-size:clamp(23px,2.8vw,34px)}
@media(max-width:759px){.pej-integrated .pxw-journey[data-sample=true] .pxw-stage>.route-intro{left:5%;width:90%;top:12px;padding:12px 16px}}
.pej-integrated .pxw-journey[data-sample-board=true] .pej-scene[data-scene=persone] .pej-panorama{mask-image:linear-gradient(180deg,transparent,#000 26%)}
.pej-integrated .pxw-journey[data-sample=true] .pej-lumi-body{animation:none}
.pej-integrated .pxw-journey[data-sample=true] .pej-thought{display:none}
@media(min-width:760px){
 .pej-integrated .pxw-journey[data-sample=true] .pej-scene[data-scene=persone]>.pxw-copy{width:min(40%,400px);padding:18px 22px}
 .pej-integrated .pxw-journey[data-sample=true] .pej-scene[data-scene=persone]>.pxw-copy h2{font-size:clamp(25px,2.6vw,34px);margin-bottom:14px}
}
.pej-integrated .route-stage[data-sample=true] :is(.route-card,.route-intro){
 top:clamp(14px,3vh,30px);left:4%;width:min(360px,43%);max-width:none;
 padding:18px 22px;border-radius:7px 22px 7px 22px;background:#fcfdf8ed;box-sizing:border-box;
}
.pej-integrated .route-stage[data-sample=true] .route-card h2{font-size:clamp(22px,2.5vw,32px);line-height:1.12;margin:6px 0 10px}
.pej-integrated .route-stage[data-sample=true] .route-card p{font-size:14px;margin:0 0 14px}
.pej-integrated .route-stage[data-sample=true] .route-travel-copy{top:24px;background:#fcfdf8e6;font-size:14px}
@media(max-width:759px){
 .pej-integrated .route-stage[data-sample=true] :is(.route-card,.route-intro){left:5%;width:90%;top:12px;padding:13px 16px}
 .pej-integrated .route-stage[data-sample=true] .route-card h2{font-size:24px;margin:4px 0 7px}
 .pej-integrated .route-stage[data-sample=true] .route-card p{font-size:13px;margin-bottom:10px}
}
@media(max-width:759px) and (max-height:650px){
 .pej-integrated .route-stage[data-sample=true] :is(.route-card,.route-intro){top:10px;padding:10px 14px}
 .pej-integrated .route-stage[data-sample=true] .route-card h2{font-size:21px;margin:0 0 5px}
 .pej-integrated .route-stage[data-sample=true] .route-card p{font-size:12px;margin-bottom:8px}
}

/* Short foreground transition, with no competing passerby. */
.pej-integrated .pxw-journey[data-sample=true] .pej-person{visibility:hidden}
.pej-integrated .route-map a{padding:5px 8px;border-radius:4px 12px 4px 12px;transition:background-color .18s,color .18s}
.pej-integrated .route-map a[aria-current=location]{background:#004959;color:#fcfdf8}
.pej-integrated .route-map a[aria-current=location] i{background:#aec35b;border-color:#aec35b}
.pej-integrated .route-map a:focus-visible{outline:2px solid #004959;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.pej-integrated .route-map a{transition:none}}

.pej-integrated .pxw-journey[data-quiet=true] .route-map a{transition:none}


/* Full local neighbourhoods, with one road and one car throughout the journey. */
.pe-territori{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1;visibility:hidden}
.pe-territori>img{position:absolute;left:0;max-width:none;height:auto;mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),linear-gradient(180deg,transparent,#000 24%);mask-composite:intersect}
.pej-integrated .pej-scene{z-index:2}
.pej-integrated .pxw-stage{background:linear-gradient(#c7eeeb 0%,#e3f0ec 70%,#ebe1c9 90%)}
.pej-integrated .pxw-stage>.route-car{z-index:4}
.pe-window-question{position:absolute;z-index:3;width:90px;aspect-ratio:1.3;pointer-events:none;visibility:hidden}
.pe-window-question>img:first-child{width:100%;height:100%;object-fit:contain}
.pe-window-bill{position:absolute;left:30%;top:12%;width:40%;height:58%;object-fit:contain}
.pe-window-question>span{position:absolute;left:39%;top:4%;font-size:34px;color:#004959;font-weight:700}
.pe-window-question[data-kind=bill]>span,.pe-window-question[data-kind=question]>.pe-window-bill{display:none}
html:not(.pej-integrated) :is(.pe-territori,.pe-window-question){display:none}
@media(max-width:759px){.pe-window-question{width:68px}.pe-window-question>span{font-size:27px}}
@media(prefers-reduced-motion:no-preference){
 .pxw-journey[data-active=true][data-quiet=false] .pe-window-question>img:first-child{animation:pe-window-breathe 5s ease-in-out infinite}
 @keyframes pe-window-breathe{50%{transform:translateY(-2px)}}
}

.pe-territori>.pe-territory-screen{mask-image:none;z-index:1}
/* Feather only the two clouds cut by the original image top; preserve the tall roof. */
.pe-territori>img[data-sede=marina-di-carrara]{mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),radial-gradient(ellipse 6% 8% at 8% 0%,transparent 65%,#000 100%),radial-gradient(ellipse 8% 9% at 60% 0%,transparent 65%,#000 100%);mask-composite:intersect}
.pe-territory-explore{position:absolute;left:4%;z-index:6;border:1px solid #277c80;background:#fcfdf8f5;color:#004959;border-radius:18px;padding:8px 13px;font-family:inherit;font-size:12px;font-weight:600;line-height:1.3;cursor:pointer}
.pe-territory-explore[hidden]{display:none}
.pe-territory-dialog{margin:auto;inset:0;width:min(1180px,94vw);max-height:90dvh;box-sizing:border-box;border:0;border-radius:12px 30px;background:#fcfdf8;color:#004959;padding:20px;overflow:auto}
.pe-territory-dialog::backdrop{background:#003d49c7}
.pe-territory-dialog header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}
.pe-territory-dialog h2{margin:0;font-size:clamp(22px,4vw,32px)}
.pe-territory-dialog button{border:1px solid #004959;background:#fff;color:#004959;border-radius:18px;padding:9px 14px;cursor:pointer}
.pe-territory-dialog img{display:block;width:100%;height:auto;border-radius:8px}
.pe-territory-dialog p{font-size:14px;line-height:1.5}
.pe-territory-dialog a{display:inline-block;padding:12px 0;font-weight:700;color:#004959}
.pe-panorama-view{overflow-x:auto;margin-top:14px;overscroll-behavior-x:contain}
.pe-territory-dialog.is-zoomed img{width:max(100%,1100px);max-width:none}

/* 6 November: original service choices, limited to the added journey cards. */
.pej-practice-choices{display:grid;gap:8px;margin:12px 0 16px}
.pej-practice-choices a{display:block;padding:8px 11px;border:1px solid #397c7833;border-radius:5px 14px 5px 14px;color:#004959;text-decoration:none;background:#fcfdf8aa}
.pej-practice-choices strong{display:block;font-size:15px;line-height:1.25}
.pej-practice-choices small{display:block;font-size:13px;line-height:1.4;margin-top:3px;color:#385d62}
.pej-practice-choices a:hover{background:#eef5dc}
.pej-practice-choices a:focus-visible{outline:2px solid #004959;outline-offset:3px}
.pej-integrated .pej-scene[data-scene=pratiche]>.pxw-copy{box-sizing:border-box;max-height:none;overflow:visible}
.pej-integrated .pej-scene[data-scene=persone]>.pxw-copy p{font-size:clamp(14px,1.35vw,18px);line-height:1.45}
@media(max-width:759px){.pej-practice-choices{gap:5px;margin:9px 0 12px}.pej-practice-choices a{padding:6px 9px}.pej-practice-choices strong{font-size:14px}.pej-practice-choices small{font-size:12px}.pej-integrated .pej-scene[data-scene=pratiche]>.pxw-copy h2{font-size:clamp(23px,6.5vw,32px)}}


/* Compact service overview: three intact choices, no nested scroll surface. */
@media(max-height:650px){
 .pej-integrated .pej-scene[data-scene=pratiche]>.pxw-copy{top:10px;left:4%;width:92%;max-width:760px;padding:12px 14px}
 .pej-integrated .pej-scene[data-scene=pratiche]>.pxw-copy .pxw-kicker{font-size:10px;margin-bottom:6px}
 .pej-integrated .pej-scene[data-scene=pratiche]>.pxw-copy h2{font-size:clamp(21px,3.2vw,25px);line-height:1.12;margin:0 0 8px}
 .pej-integrated .pej-scene[data-scene=pratiche] .pej-practice-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 10px}
 .pej-integrated .pej-scene[data-scene=pratiche] .pej-practice-choices a{padding:8px;min-width:0}
 .pej-integrated .pej-scene[data-scene=pratiche] .pej-practice-choices strong{font-size:13px;line-height:1.2}
 .pej-integrated .pej-scene[data-scene=pratiche] .pej-practice-choices small{font-size:12px;line-height:1.35;margin-top:5px}
 .pej-integrated .pej-scene[data-scene=pratiche]>.pxw-copy .pxw-cta{box-sizing:border-box;min-height:40px;padding:9px 13px;font-size:13px}
 .pej-integrated .pej-scene[data-scene=pratiche]>.pxw-copy>.pej-more{display:inline-block;margin:6px 0 0 12px;font-size:12px}
}

/* Low landscape: distribute full text across width, preserving the road below. */
@media(min-width:760px) and (max-height:480px){
 .pej-integrated .pxw-journey[data-sample] .pej-scene:is([data-scene=persone],[data-scene=store])>.pxw-copy{top:8px;left:4%;width:90%;max-width:760px;padding:10px 14px;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:5px 22px;align-items:start;max-height:none;overflow:visible}
 .pej-integrated .pxw-journey[data-sample] .pej-scene:is([data-scene=persone],[data-scene=store])>.pxw-copy>.pxw-kicker{grid-column:1/-1;margin:0;font-size:10px}
 .pej-integrated .pxw-journey[data-sample] .pej-scene:is([data-scene=persone],[data-scene=store])>.pxw-copy>h2{grid-column:1;grid-row:2;font-size:24px;line-height:1.12;margin:0}
 .pej-integrated .pxw-journey[data-sample] .pej-scene:is([data-scene=persone],[data-scene=store])>.pxw-copy>p{grid-column:2;grid-row:2;font-size:13px;line-height:1.4;margin:0;max-width:none}
 .pej-integrated .pxw-journey[data-sample] .pej-scene:is([data-scene=persone],[data-scene=store])>.pxw-copy>.pxw-cta{grid-column:1;grid-row:3;justify-self:start;min-height:38px;box-sizing:border-box;padding:9px 13px;font-size:12px}
 .pej-integrated .pxw-journey[data-sample] .pej-scene:is([data-scene=persone],[data-scene=store])>.pxw-copy>.pej-more{grid-column:2;margin:0;font-size:12px;line-height:1.4;padding:3px 0}
 .pej-integrated .pxw-journey[data-sample] .pej-scene:is([data-scene=persone],[data-scene=store])>.pxw-copy>a.pej-more:nth-of-type(2){grid-row:3}
 .pej-integrated .pxw-journey[data-sample] .pej-scene[data-scene=store]>.pxw-copy>a.pej-more:nth-of-type(3){grid-row:4}
 .pej-integrated .pxw-journey[data-sample] .pej-scene[data-scene=store]>.pxw-copy>a.pej-more:nth-of-type(4){grid-row:5}
 .pej-integrated .pxw-journey[data-sample] .pej-scene[data-scene=store]>.pxw-copy>.pej-open-reader{grid-column:1;grid-row:4/6;align-self:start;text-align:left}
}

/* 2026-11-11: mobile journey only. Hero/bill/header/footer geometry is unchanged.
   All five seat destinations remain in the existing chapter selector. */
@media (max-width:759px) {
 html.pej-integrated .pxw-stage { --route-map-space:0px; }
 html.pej-integrated .pej-scene .route-tools { display:none; }
 #main-content:not([data-chapter="home"]):not([data-chapter="bolletta"])[data-chapter] .px3-toolbar {
  gap:5px;padding:5px 8px 5px 54px;
 }
 #main-content:not([data-chapter="home"]):not([data-chapter="bolletta"])[data-chapter] .px3-toolbar :is(#px3-play,.pej-range-label,.px3-status) {display:none}
 #main-content:not([data-chapter="home"]):not([data-chapter="bolletta"])[data-chapter] .px3-toolbar :is(button,select) {min-height:44px;font-size:12px;padding:5px}
 #main-content:not([data-chapter="home"]):not([data-chapter="bolletta"])[data-chapter] .px3-toolbar :is(#pej-prev,#pej-next) {min-width:44px;flex:0 0 44px;font-size:20px}
 #main-content:not([data-chapter="home"]):not([data-chapter="bolletta"])[data-chapter] .pej-chapter-label {flex:1;min-width:0}
 #main-content:not([data-chapter="home"]):not([data-chapter="bolletta"])[data-chapter] #pej-chapters {width:100%;max-width:none;min-width:0}
 #main-content:not([data-chapter="home"]):not([data-chapter="bolletta"])[data-chapter] .px3-toolbar #pej-reading {font-size:10px;max-width:56px;flex:0 0 56px;line-height:1.2}
}

/* Dedicated launcher slot; preserve the action bar's original vertical size. */
@media(max-width:760px){
 body.home-page.hr-review:has(#px3-film) .mobile-action-bar {right:90px;grid-template-columns:repeat(2,minmax(0,1fr))}
 body.home-page.hr-review:has(#px3-film) .mobile-action-bar a {min-width:0}
}
