/* A comparison always keeps both halves registered to the same square canvas. */
.cc-gallery{--cc-line:rgba(137,241,235,.26);--cc-accent:#92f0e7;--cc-ink:#f4fbff;--cc-muted:#b7cbd9;overflow:hidden}
.cc-gallery .cc-gallery-layout{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:clamp(28px,5vw,80px);align-items:start}
.cc-gallery-heading{min-width:0;padding-top:16px}
.cc-gallery-heading h2{margin:16px 0 24px;font-size:clamp(30px,3.65vw,54px);line-height:1.08;letter-spacing:-.04em;color:var(--cc-ink)}
.cc-gallery-heading h2 em{font-style:normal;color:var(--cc-accent)}
.cc-gallery .cc-gallery-instructions{max-width:43ch;margin:0 0 20px;color:var(--cc-muted);font-size:16px;line-height:1.65}
.cc-gallery .cc-gallery-disclosure{max-width:47ch;margin:12px 0;color:#a9c0d0;font-size:12px;line-height:1.65;border-left:2px solid var(--cc-line);padding-left:12px}
.cc-gallery-body{min-width:0}
.cc-gallery-track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#417b92 transparent;border-radius:20px;padding-bottom:12px}
.cc-comparison-card{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;border:1px solid var(--cc-line);border-radius:20px;background:linear-gradient(145deg,rgba(21,55,76,.96),rgba(12,27,51,.94));box-shadow:0 20px 65px rgba(0,5,20,.12)}
.cc-comparison-card[hidden],.cc-gallery [hidden]{display:none!important}
.cc-comparison-figure{margin:0}
.cc-comparison-frame{position:relative;aspect-ratio:1;isolation:isolate;overflow:hidden;background:#11233b;touch-action:pan-x pan-y}
.cc-comparison-layer{position:absolute;inset:0;overflow:hidden}
.cc-comparison-layer img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;pointer-events:none;user-select:none;-webkit-user-drag:none}
.cc-comparison-diptych .cc-comparison-layer img{width:200%;height:100%;object-fit:fill}
.cc-comparison-diptych .cc-comparison-after img{transform:translateX(-50%)}
.cc-comparison-after{clip-path:inset(0 0 0 var(--comparison-position));z-index:1}
.cc-comparison-label{position:absolute;top:16px;z-index:2;padding:7px 12px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(8,23,36,.8);backdrop-filter:blur(8px);color:#fff;font-size:12px;font-weight:800;line-height:1.2}
.cc-comparison-label-before{left:16px}.cc-comparison-label-after{right:16px}
.cc-comparison-divider{position:absolute;top:0;bottom:0;left:var(--comparison-position);width:2px;background:#e9fffd;z-index:2;pointer-events:none;box-shadow:0 0 7px rgba(0,20,35,.65);transform:translateX(-50%)}
.cc-comparison-divider>span{position:absolute;top:44%;left:50%;display:grid;place-items:center;width:42px;height:42px;transform:translate(-50%,-50%);border:2px solid #d4fff9;border-radius:50%;background:#103c4d;color:#fff;font-size:23px;font-weight:600;box-shadow:0 5px 24px rgba(0,0,0,.24)}
.cc-comparison-divider>span:before,.cc-comparison-divider>span:after{content:"";position:absolute;top:15px;width:8px;height:8px;border-top:2px solid currentColor;border-right:2px solid currentColor}
.cc-comparison-divider>span:before{left:9px;transform:rotate(-135deg)}.cc-comparison-divider>span:after{right:9px;transform:rotate(45deg)}
.is-comparison-ready .cc-comparison-divider>span{pointer-events:auto;touch-action:none;cursor:ew-resize}
.cc-comparison-range-label{position:absolute;z-index:3;left:50%;bottom:67px;transform:translateX(-50%);white-space:nowrap;padding:5px 10px;border-radius:6px;background:rgba(8,23,36,.8);color:#fff;font-size:11px;line-height:1.4}
.cc-gallery .cc-comparison-range{position:absolute;z-index:4;left:20px;bottom:17px;width:calc(100% - 40px);height:42px;min-height:0;margin:0;padding:0 4px;appearance:none;-webkit-appearance:none;border:1px solid rgba(205,255,250,.55);border-radius:24px;background:rgba(7,24,39,.82);cursor:ew-resize;touch-action:pan-y;box-shadow:0 4px 18px rgba(0,0,0,.18)}
.cc-gallery .cc-comparison-range::-webkit-slider-runnable-track{height:3px;background:rgba(225,255,251,.72);border-radius:3px;margin:0 10px}
.cc-gallery .cc-comparison-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:27px;height:27px;margin-top:-12px;border:3px solid #f1fffe;border-radius:50%;background:#39bebc;box-shadow:0 2px 6px rgba(0,0,0,.25)}
.cc-gallery .cc-comparison-range::-moz-range-track{height:3px;background:rgba(225,255,251,.72);border-radius:3px}
.cc-gallery .cc-comparison-range::-moz-range-thumb{width:22px;height:22px;border:3px solid #f1fffe;border-radius:50%;background:#39bebc;box-shadow:0 2px 6px rgba(0,0,0,.25)}
.cc-gallery .cc-comparison-range:focus-visible{outline:3px solid #fff;outline-offset:3px}
.cc-comparison-caption{padding:22px 24px 25px;min-width:0}
.cc-comparison-category{display:block;margin-bottom:8px;color:var(--cc-accent);font-size:11px;letter-spacing:.08em;font-weight:700;text-transform:uppercase;line-height:1.5}
.cc-comparison-caption h3{margin:0;color:var(--cc-ink);font-size:clamp(20px,2vw,27px);line-height:1.3;letter-spacing:-.03em}
.cc-comparison-caption p{margin:12px 0 0;color:var(--cc-muted);font-size:14px;line-height:1.65}
.cc-gallery-controls{display:flex;align-items:center;gap:18px;margin:28px 0 22px}
.cc-gallery-arrow{display:grid;place-items:center;width:50px;height:50px;padding:0;border:1px solid rgba(146,240,231,.6);border-radius:50%;background:rgba(33,76,95,.55);color:var(--cc-ink);font-size:25px;cursor:pointer;transition:background .2s,transform .2s}
.cc-gallery-arrow>span{display:block;width:12px;height:12px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg);margin-right:5px}.cc-gallery-arrow[data-gallery-prev]>span{transform:rotate(-135deg);margin-right:0;margin-left:5px}
.cc-gallery-arrow:disabled{opacity:.35;cursor:default}
.cc-gallery-counter{min-width:58px;text-align:center;color:var(--cc-muted);font-size:14px;font-variant-numeric:tabular-nums}
.cc-gallery-all{display:inline-flex;align-items:center;gap:18px;min-height:46px;padding:11px 16px;border:1px solid var(--cc-line);border-radius:10px;color:var(--cc-accent);font-weight:700;font-size:13px;text-decoration:none}
.cc-gallery-all>span{position:relative;display:block;width:11px;height:11px;border-top:2px solid currentColor;border-right:2px solid currentColor}.cc-gallery-all>span:after{content:"";position:absolute;right:-1px;top:-1px;width:14px;height:2px;background:currentColor;transform-origin:right center;transform:rotate(-45deg)}
.cc-gallery-dots{display:flex;justify-content:center;gap:4px;margin:8px 0 0}
.cc-gallery-dots button{position:relative;width:40px;height:40px;background:transparent;border:0;cursor:pointer;padding:14px}
.cc-gallery-dots button:after{content:"";display:block;width:9px;height:9px;border:1px solid var(--cc-accent);border-radius:50%;background:transparent;transition:background .2s,transform .2s}
.cc-gallery-dots button[aria-current="true"]:after{background:var(--cc-accent);transform:scale(1.3)}
.cc-gallery button:focus-visible,.cc-gallery select:focus-visible,.cc-gallery a:focus-visible{outline:3px solid var(--cc-accent);outline-offset:4px}
.cc-gallery.cc-gallery-aggregate .cc-gallery-layout{display:block}
.cc-gallery-aggregate .cc-gallery-heading{display:grid;grid-template-columns:1fr 1fr;column-gap:48px;margin-bottom:32px}
.cc-gallery-aggregate .cc-gallery-heading>.eyebrow,.cc-gallery-aggregate .cc-gallery-heading>h2{grid-column:1;margin-top:0}
.cc-gallery-aggregate .cc-gallery-instructions,.cc-gallery-aggregate .cc-gallery-disclosure{grid-column:1}
.cc-gallery-aggregate .cc-gallery-filter{grid-column:2;grid-row:1 / span 4;align-self:end;margin-bottom:12px}
.cc-gallery-filter label{display:block;margin:0 0 10px;font-size:13px;font-weight:700;color:var(--cc-ink)}
.cc-gallery-filter select{display:block;box-sizing:border-box;width:100%;min-height:52px;padding:12px 38px 12px 16px;border:1px solid rgba(146,240,231,.5);border-radius:12px;color:#effcff;background:#14364b;font:inherit;font-size:14px}
.cc-gallery-filter option{color:#effcff;background:#14364b}
.cc-gallery-filter p{margin:12px 0 0;color:var(--cc-muted);font-size:13px;line-height:1.5;min-height:20px}
.cc-gallery-aggregate .cc-gallery-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;overflow:visible;border-radius:0}
.cc-gallery-aggregate .cc-comparison-card{min-width:0}.cc-gallery-aggregate .cc-comparison-caption{padding:19px 20px 22px}.cc-gallery-aggregate .cc-comparison-caption h3{font-size:21px}
.cc-gallery-load{display:block;min-height:52px;margin:28px auto 0;padding:13px 24px;border:1px solid var(--cc-accent);border-radius:12px;background:var(--cc-accent);color:#072b39;font:inherit;font-size:14px;font-weight:800;cursor:pointer}
@media(hover:hover){.cc-gallery-arrow:not(:disabled):hover{background:#235d6b;transform:translateY(-2px)}.cc-gallery-all:hover{background:rgba(110,232,221,.1)}.cc-gallery-load:hover{background:#b2fff4}}
@media(min-width:1100px){.cc-gallery:not(.cc-gallery-aggregate) .cc-gallery-heading{position:sticky;top:120px}.cc-gallery:not(.cc-gallery-aggregate){overflow:clip}}
@media(max-width:1000px){.cc-gallery .cc-gallery-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:28px}.cc-gallery-aggregate .cc-gallery-track{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.cc-gallery .cc-gallery-layout{display:block}.cc-gallery-heading{padding-top:0}.cc-gallery-heading h2{font-size:34px;max-width:15ch;margin:14px 0 18px}.cc-gallery .cc-gallery-instructions{font-size:15px;margin-bottom:16px}.cc-gallery .cc-gallery-disclosure{font-size:11px}.cc-gallery-controls{margin:23px 0 20px}.cc-gallery-arrow{width:46px;height:46px}.cc-gallery-all{margin-bottom:26px}.cc-gallery-track{gap:16px;border-radius:16px}.cc-comparison-card{border-radius:16px}.cc-comparison-caption{padding:19px 20px 22px}.cc-comparison-caption h3{font-size:23px}.cc-comparison-label{top:12px}.cc-comparison-label-before{left:12px}.cc-comparison-label-after{right:12px}.cc-gallery .cc-comparison-range{left:14px;bottom:14px;width:calc(100% - 28px)}.cc-gallery-aggregate .cc-gallery-heading{display:block}.cc-gallery-aggregate .cc-gallery-filter{margin:24px 0 0}.cc-gallery-aggregate .cc-gallery-track{grid-template-columns:1fr;gap:22px}.cc-gallery-aggregate .cc-comparison-caption h3{font-size:23px}.cc-gallery-load{width:100%}}
@media(prefers-reduced-motion:reduce){.cc-gallery *{scroll-behavior:auto!important;transition:none!important}}
.motion-reduced .cc-gallery *{scroll-behavior:auto!important;transition:none!important}
