/* Narrative rhythm and joined comparison/video, scoped to patient detail pages. */
.fm-story-polish .fm-story-nav{position:sticky;top:var(--story-header-height,100px);z-index:30;padding:14px 0 18px;background:#f8fcfaf5;backdrop-filter:blur(14px);box-shadow:0 9px 22px -20px #163e4e80}
.fm-story-polish .fm-story-nav .wrap{gap:18px}
.fm-story-polish .fm-story-nav-links a{transition:background .2s,transform .2s,box-shadow .2s}
.fm-story-polish .fm-story-nav-links a[aria-current="step"]{background:#dcf8ec;border-color:#8fcfbb;box-shadow:0 3px 0 #a5d6c4,0 9px 18px -14px #184f4260;transform:translateY(-1px)}
.fm-story-progress{position:absolute;bottom:0;left:0;height:3px;width:100%;background:linear-gradient(90deg,#0b9b8d,#39cfaf 75%,#f6a143);transform:scaleX(var(--story-progress,0));transform-origin:left;transition:transform .12s linear}
.fm-story-polish #percorso{padding-bottom:32px}
.fm-story-polish .fm-story-section-action{display:flex;justify-content:flex-end;padding-top:28px}
.fm-story-polish .fm-story-next{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:12px 18px;border:1px solid #beded0;border-radius:13px;background:linear-gradient(145deg,#fff,#e8f8ef);color:#087c70;font-size:13px;font-weight:800;line-height:1.5;box-shadow:0 3px 0 #c3e1d3;transition:transform .18s,box-shadow .18s}
.fm-story-polish .fm-story-next span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#0d9488;color:white;font-size:16px;flex-shrink:0}
.fm-story-polish .fm-story-next:hover{transform:translateY(-2px);box-shadow:0 5px 0 #bedbcd}
.fm-story-polish .fm-story-next:active{transform:translateY(2px);box-shadow:0 1px 0 #bedbcd}
.fm-story-polish .timeline{position:relative;border-block:1px solid #f0e8db}
.fm-story-polish .timeline .grid2{counter-reset:story-phase}
.fm-story-polish .timeline .card{position:relative;padding-top:27px}
.fm-story-polish .timeline .card:before{counter-increment:story-phase;content:'FASE 0' counter(story-phase);display:block;color:#bc6d24;font-size:10px;font-weight:800;letter-spacing:.12em;margin-bottom:15px}
.fm-story-polish .fm-story-media{background:linear-gradient(145deg,#f0faf5,#f5f8fc);padding:52px 0 58px;border-block:1px solid #deeee6}
.fm-story-media-head{display:flex;justify-content:space-between;gap:28px;align-items:center;margin-bottom:16px}
.fm-story-media-head>div{flex:1}
.fm-story-polish .fm-story-media-head h2{margin-bottom:0;font-size:clamp(29px,3.2vw,41px)}
.fm-story-polish .fm-story-media>.wrap>.copy{margin:0 0 30px;font-size:15px;max-width:70ch}
.fm-story-media-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:26px;align-items:start}
.fm-story-polish .fm-story-comparison .photos{margin:0;gap:12px}
.fm-story-polish .fm-story-comparison .photos img{height:430px;object-fit:contain}
.fm-story-polish .fm-story-comparison figcaption{font-size:11px;padding:12px 6px 15px}
.fm-story-film{padding:22px 20px;background:#123b48;border:1px solid #255765;border-radius:24px;box-shadow:0 6px 0 #092a39,0 20px 35px -25px #103e4d80;color:#fff}
.fm-story-polish .fm-story-film .eyebrow{color:#84e5cb;font-size:10px;margin-bottom:10px}
.fm-story-polish .fm-story-film h2{color:#fff;font-size:24px;margin-bottom:13px;line-height:1.2}
.fm-story-polish .fm-story-film .copy{font-size:13px;color:#d8e9e8;line-height:1.7;margin-bottom:18px}
.fm-story-player{position:relative;border-radius:17px;background:#06171c;overflow:hidden;box-shadow:0 12px 25px -18px #0008}
.fm-story-polish .fm-story-film video{display:block;width:100%;height:auto;max-height:510px;margin:0;border:0;border-radius:17px;background:#06171c;box-shadow:none}
.fm-story-play{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:11px;white-space:nowrap;padding:13px 18px;border:1px solid #ffcf86;border-radius:999px;background:linear-gradient(145deg,#ffb953,#f18a2e);color:#153246;box-shadow:0 5px 0 #a95415,0 12px 24px #061c3866;font:800 13px/1.5 Inter,sans-serif;cursor:pointer}
.fm-story-play span{font-size:16px}
.fm-story-play:hover{background:#ffc263}
.fm-story-play[hidden]{display:none}
.fm-story-play:focus-visible{outline:3px solid #fff;outline-offset:6px}
.fm-story-polish .fm-story-takeaway{padding:32px 0 44px}
.fm-story-takeaway-inner{position:relative;border-left:4px solid #f3a13b;padding:28px 34px;background:linear-gradient(120deg,#fff9ee,#fff);border-radius:0 20px 20px 0}
.fm-story-polish .fm-story-takeaway h2{font-size:27px;max-width:36ch;margin-bottom:15px}
.fm-story-polish .fm-story-takeaway .copy{font-size:15px;max-width:80ch;margin-bottom:14px}
.fm-story-polish .fm-story-takeaway .copy:last-child{margin-bottom:0}
.fm-story-polish .fm-story-takeaway .quote{display:inline-block;padding:15px 20px;font-size:23px;margin:8px 0 18px}
.fm-story-polish .fm-story-takeaway .eyebrow{color:#ae6821}
.fm-story-polish .cta-actions{gap:18px}
.fm-story-polish [id="prima-dopo"],.fm-story-polish [id="video-recensione"],.fm-story-polish [id="percorso"]{scroll-margin-top:calc(var(--story-header-height,100px) + 115px)}
@media(max-width:900px){.fm-story-media-grid{grid-template-columns:1fr;gap:30px}.fm-story-film{display:grid;grid-template-columns:1fr 300px;column-gap:30px;padding:30px}.fm-story-film .eyebrow,.fm-story-film h2,.fm-story-film .copy{grid-column:1}.fm-story-player{grid-column:2;grid-row:1/5}.fm-story-polish .fm-story-comparison .photos img{height:430px}}
@media(max-width:600px){.fm-story-polish .fm-story-nav{padding:10px 0 13px}.fm-story-polish .fm-story-nav-label{display:none}.fm-story-polish .fm-story-nav-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.fm-story-polish .fm-story-nav-links a{flex-direction:row;padding:9px 3px;font-size:10px;gap:5px;border-radius:10px}.fm-story-polish .fm-story-nav-links a span{width:20px;height:20px;border-radius:7px;font-size:9px}.fm-story-polish .fm-story-nav-links a:last-child{font-size:9px}.fm-story-polish .fm-story-section-action{padding-top:23px;justify-content:stretch}.fm-story-polish .fm-story-section-action .fm-story-next{width:100%}.fm-story-media-head{align-items:stretch;flex-direction:column;gap:20px}.fm-story-polish .fm-story-media{padding:34px 0 40px}.fm-story-media-head .fm-story-next{align-self:flex-start}.fm-story-polish .fm-story-media>.wrap>.copy{margin-bottom:24px}.fm-story-polish .fm-story-comparison .photos img{height:auto;aspect-ratio:2/3}.fm-story-polish .fm-story-comparison .photos{gap:10px}.fm-story-film{display:block;padding:24px 20px;border-radius:22px}.fm-story-polish .fm-story-film h2{font-size:26px}.fm-story-polish .fm-story-film .copy{font-size:14px;margin-bottom:22px}.fm-story-polish .fm-story-film video{max-height:none}.fm-story-polish .fm-story-takeaway{padding:28px 0}.fm-story-takeaway-inner{padding:24px 23px}.fm-story-polish .fm-story-takeaway h2{font-size:25px}.fm-story-polish [id="prima-dopo"],.fm-story-polish [id="video-recensione"],.fm-story-polish [id="percorso"]{scroll-margin-top:calc(var(--story-header-height,100px) + 80px)}}
@media(prefers-reduced-motion:reduce){.fm-story-polish .fm-story-next,.fm-story-progress,.fm-story-polish .fm-story-nav-links a{transition:none}}
