/* Before and after sliders, used by the Services page and the full home remodels page. */
.remodel-tag { position: absolute; left: 8px; bottom: 8px; padding: 4px 8px; border-radius: 3px; background: rgba(25,25,25,0.82); font: 500 11px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: #FFFFFF; }
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--card); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); pointer-events: none; }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #FFFFFF; box-shadow: 0 0 4px rgba(0,0,0,0.5); pointer-events: none; }
.ba-line::after { content: "\2194"; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; transform: translate(-50%, -50%); border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 6px rgba(0,0,0,0.4); font: 400 20px/38px var(--sans); text-align: center; color: var(--ink); }
.ba-range { position: absolute; left: 50%; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ba-range:focus-visible ~ .ba-line::after { outline: 3px solid var(--ink); outline-offset: 2px; }
.ba-tag-before { left: 8px; right: auto; pointer-events: none; }
.ba-tag-after { left: auto; right: 8px; pointer-events: none; }
