/* Scoped to the homepage Before & After component. */
.lds-hn-before[data-home-comparison]{padding-block:24px 8px;background:none}
.lds-hn-before[data-home-comparison] [hidden]{display:none!important}
.lds-hn-before[data-home-comparison] .lds-hn-compare-shell{padding:0;overflow:hidden;border:1px solid #e2e5eb;border-radius:12px;background:#f9fafc;box-shadow:0 8px 24px #1824400a}
.lds-hn-before[data-home-comparison] .lds-hn-compare-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:12px;background:#f5f6f9;border-bottom:1px solid #e2e5eb}
.lds-hn-before[data-home-comparison] .lds-hn-compare-tabs button{min-height:44px;padding:10px 12px;border:1px solid #dce0e7;border-radius:7px;background:#fff;color:#20242b;font-size:13px;font-weight:700;line-height:1.25;cursor:pointer;transition:background-color .18s ease,color .18s ease}
.lds-hn-before[data-home-comparison] .lds-hn-compare-tabs button[aria-selected=true]{background:#E21B2D;border-color:#E21B2D;color:#fff;box-shadow:none}
.lds-hn-before[data-home-comparison] .lds-hn-compare-tabs button:focus-visible{outline:2px solid #263449;outline-offset:2px}
.lds-hn-before[data-home-comparison] .lds-hn-compare-layout{display:grid;grid-template-columns:minmax(240px,.32fr) minmax(0,.68fr);align-items:center;background:linear-gradient(115deg,#edf0f5,#fff 45%)}
.lds-hn-before[data-home-comparison] .lds-hn-compare-copy{min-width:0;padding:28px}
.lds-hn-before[data-home-comparison] h2{margin:0 0 12px;color:#17191d;font-size:clamp(25px,2.5vw,34px);font-style:normal;line-height:1.05;letter-spacing:-.04em}
.lds-hn-before[data-home-comparison] .lds-hn-compare-copy p{max-width:260px;margin:0 0 18px;font-size:13px;line-height:1.45;color:#444c57}
.lds-hn-before[data-home-comparison] [data-comparison-link]{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 16px;border:1px solid #E21B2D;border-radius:6px;background:#E21B2D;color:#fff;font-size:12px;font-weight:700;line-height:1.35;text-decoration:none}
.lds-hn-before[data-home-comparison] .lds-hn-compare-visual{min-width:0;padding:14px;background:#101319}
.lds-hn-before[data-home-comparison] .home-v2-comparison__stage{position:relative;aspect-ratio:var(--comparison-aspect,2/1);max-height:none;overflow:hidden;border:0;border-radius:7px;background:#101319;touch-action:pan-y;cursor:ew-resize;user-select:none}
.lds-hn-before[data-home-comparison] .home-v2-comparison__stage>img,.lds-hn-before[data-home-comparison] .home-v2-comparison__after img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:contain;pointer-events:none}
.lds-hn-before[data-home-comparison] .home-v2-comparison__after{position:absolute;inset:0;clip-path:inset(0 0 0 var(--home-v2-position,50%));pointer-events:none}
.lds-hn-before[data-home-comparison] .home-v2-comparison__divider{position:absolute;inset:0 auto 0 var(--home-v2-position,50%);z-index:2;width:2px;background:#fff;transform:translateX(-1px);pointer-events:none}
.lds-hn-before[data-home-comparison] .home-v2-comparison__handle{position:absolute;top:50%;left:var(--home-v2-position,50%);z-index:3;display:grid;place-items:center;width:42px;height:42px;border:2px solid #fff;border-radius:50%;background:#161b24e6;color:#fff;font-size:22px;transform:translate(-50%,-50%);pointer-events:none}
.lds-hn-before[data-home-comparison] .home-v2-comparison__label{position:absolute;z-index:3;bottom:10px;padding:5px 8px;border-radius:4px;background:#101319df;color:#fff;font-size:10px;font-weight:750;letter-spacing:.06em;pointer-events:none}
.lds-hn-before[data-home-comparison] .home-v2-comparison__label--before{left:10px}.lds-hn-before[data-home-comparison] .home-v2-comparison__label--after{right:10px;background:#E21B2D}
.lds-hn-before[data-home-comparison] .home-v2-comparison__input{position:absolute;z-index:5;inset:0;width:100%;height:100%;margin:0;opacity:.001;cursor:ew-resize;touch-action:pan-y}
.lds-hn-before[data-home-comparison] .home-v2-comparison__stage:focus-within{outline:2px solid #E21B2D;outline-offset:3px}
.lds-hn-before[data-home-comparison] [data-comparison-status]{margin:0;padding:10px 16px;color:#303b4a;font-size:12px}.lds-hn-before[data-home-comparison] [data-comparison-status]:empty{display:none}
@media(min-width:651px) and (max-width:900px){.lds-hn-before[data-home-comparison] .lds-hn-compare-layout{grid-template-columns:minmax(220px,.37fr) minmax(0,.63fr)}.lds-hn-before[data-home-comparison] .lds-hn-compare-copy{padding:22px}.lds-hn-before[data-home-comparison] h2{font-size:27px}.lds-hn-before[data-home-comparison] .lds-hn-compare-visual{padding:10px}}
@media(max-width:650px){.lds-hn-before[data-home-comparison] .lds-hn-compare-tabs{padding:8px;gap:5px}.lds-hn-before[data-home-comparison] .lds-hn-compare-tabs button{min-height:48px;padding:8px 4px;font-size:11px}.lds-hn-before[data-home-comparison] .lds-hn-compare-layout{grid-template-columns:1fr}.lds-hn-before[data-home-comparison] .lds-hn-compare-copy{padding:20px}.lds-hn-before[data-home-comparison] h2{font-size:25px;margin-bottom:8px}.lds-hn-before[data-home-comparison] .lds-hn-compare-copy p{font-size:12px;margin-bottom:12px}.lds-hn-before[data-home-comparison] [data-comparison-link]{font-size:11px;padding:10px 13px}.lds-hn-before[data-home-comparison] .lds-hn-compare-visual{padding:8px}.lds-hn-before[data-home-comparison] .home-v2-comparison__handle{width:36px;height:36px;font-size:20px}.lds-hn-before[data-home-comparison] .home-v2-comparison__label{bottom:7px;font-size:9px;padding:4px 6px}.lds-hn-before[data-home-comparison] .home-v2-comparison__label--before{left:7px}.lds-hn-before[data-home-comparison] .home-v2-comparison__label--after{right:7px}}
@media(prefers-reduced-motion:reduce){.lds-hn-before[data-home-comparison] .lds-hn-compare-tabs button,.lds-hn-before[data-home-comparison] .home-v2-comparison__stage{transition:none}}
