.home-photo-slider { position: relative; overflow: hidden; isolation: isolate; }
.home-photo-slider .home-photo-frame { display: block; margin: 0; width: 100%; aspect-ratio: var(--photo-ratio); overflow: hidden; }
.home-photo-slider .home-photo-frame[hidden] { display: none; }
.home-photo-frame > img { display: block; width: 100%; height: 100%; object-fit: contain; background: #edf8fd; }
.home-photo-frame > .reference-crop { height: 100%; }
.home-photo-controls { position: absolute; z-index: 3; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 3px 5px; border-radius: 24px; background: #082956dc; color: white; font-size: 12px; line-height: 1.2; }
.home-photo-controls button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; color: #082956; background: white; font-size: 23px; line-height: 1; }
.home-photo-controls button:disabled { opacity: .4; cursor: default; }
.home-photo-preview { position: absolute; z-index: 2; inset: 0 0 0 auto; width: 30px; padding: 0; border: 0; border-left: 1px solid white; overflow: hidden; background: #005e96; }
.home-photo-preview.home-photo-prev { inset: 0 auto 0 0; border-left: 0; border-right: 1px solid white; }
.home-photo-preview[hidden] { display: none; }
.home-photo-preview > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.home-photo-prev > img { object-position: right center; }
.home-photo-preview-frame { position: absolute; inset: 0 auto 0 0; height: 100%; }
.home-photo-prev .home-photo-preview-frame { left: auto; right: 0; }
.home-photo-preview-frame > img { display: block; width: 100%; height: 100%; object-fit: contain; background: #edf8fd; }
.home-photo-preview-frame > .reference-crop { height: 100%; }
.football-page-layout .page-content > .football-slide-layout:first-child,
.football-page-layout .page-content > h2:first-child + .football-slide-layout { clear: none; margin-top: 0; }
