/* Build page — Clubs section (template-parts/car-single/section-build-clubs.php).
   Only what utility.css can't express. */

/* Skeleton and real cards share one height, so nothing jumps when they swap. */
.sc-car-club { min-height: 184px; color: #fff; }
.sc-car-clubs__rail > .sc-car-club { width: 156px; flex: 0 0 156px; }

a.sc-car-club { transition: border-color .15s ease, transform .15s ease; }
a.sc-car-club:hover { color: #fff; border-color: rgba(255, 255, 255, 0.18); }
a.sc-car-club:active { transform: scale(0.98); }
a.sc-car-club:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }

/* Cover behind the card: scaled up a touch so the blur has no soft edge. */
.sc-car-club__bg { filter: blur(3px); transform: scale(1.12); }
.sc-car-club__shade { background: linear-gradient(180deg, rgba(12, 12, 14, 0.32) 0%, rgba(12, 12, 14, 0.76) 100%); }

.sc-car-club__logo { background-color: #2a2a2a; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }

.sc-car-club__face { border: 2px solid #151515; background-color: #2a2a2e; }
.sc-car-club__face + .sc-car-club__face { margin-left: -8px; }
.sc-car-club__more { font-size: 9px; }

.sc-car-club--invite { border-style: dashed; border-color: rgba(232, 192, 90, 0.45); }

/* Photos fade in over their skeleton. */
.sc-car-club img { opacity: 0; transition: opacity .25s ease; }
.sc-car-club img.is-loaded { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    a.sc-car-club, .sc-car-club img { transition: none; }
}
