/* Before/after compare slider */
.mrfix-ba { margin: 0; }
.mrfix-ba-frame { position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 1400 / 1018; background: #f3f4f6; user-select: none; touch-action: pan-y; }
.mrfix-ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.mrfix-ba-after-wrap { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.mrfix-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none; }
.mrfix-ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6' fill='none' stroke='%233c414a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 24px; background-repeat: no-repeat; background-position: center; }
.mrfix-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.mrfix-ba-range:focus-visible + .mrfix-ba-handle, .mrfix-ba-frame:focus-within .mrfix-ba-handle::after { outline: 3px solid #3c414a; outline-offset: 2px; }
.mrfix-ba-tag { position: absolute; top: 14px; padding: 5px 12px; border-radius: 4px; font-size: 14px; font-weight: 600; pointer-events: none; }
.mrfix-ba-tag-before { left: 14px; background: rgba(255,255,255,.92); color: #1d1d1f; }
.mrfix-ba-tag-after { right: 14px; background: #d6003f; color: #fff; }
.mrfix-ba-caption { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; font-size: 15px; line-height: 1.5; color: #5a5a5f; }
.mrfix-ba-caption strong { color: #1d1d1f; font-size: 18px; }
.mrfix-ba-caption a { color: #d6003f; font-weight: 600; text-decoration: none; }
.mrfix-ba-caption a:hover { color: #3c414a; }

/* Home page row of sliders */
.mrfix-ba-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1080px; margin: 0 auto; }
@media (prefers-reduced-motion: reduce) { .mrfix-ba-handle, .mrfix-ba-after-wrap { transition: none; } }
