/**
 * BSMC Bike of the Week — card + gallery styles.
 *
 * Loaded whenever a bsmc_botw section is on the page (enqueue in
 * functions.php gates on presence). Scoped under .bsmc-botw so nothing
 * leaks.
 *
 * Key layout rules from Calvin's spec:
 *   - NO gradient overlay over the images
 *   - Title + description sit BELOW the gallery, not on top of it
 *   - Fixed section heading sits ABOVE the images
 */

.bsmc-botw {
    background: #0e0e0e;
    color: #edeadf;
    padding: 64px 20px;
    font-family: 'Proxima Nova', 'Helvetica Neue', Arial, sans-serif;
}

.bsmc-botw__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.bsmc-botw__section-heading {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #C8A96E;
    margin: 0 0 24px;
    text-align: center;
}

/* ─── Gallery ─────────────────────────────────────────────────── */
.bsmc-botw__gallery {
    position: relative;
    background: #14110d;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    max-width: 1000px;
    margin: 0 auto 32px;
}

.bsmc-botw__slides {
    position: absolute; inset: 0;
    display: block;
}

.bsmc-botw__slide {
    position: absolute; inset: 0;
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.bsmc-botw__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.bsmc-botw__slide img {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}

/* No gradient overlay — spec requirement. Deliberately empty here so
   nobody accidentally reintroduces one via a later cascade. */

.bsmc-botw__arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(14, 14, 14, .7);
    color: #edeadf;
    border: 1px solid rgba(237, 234, 223, .35);
    border-radius: 999px;
    cursor: pointer;
    z-index: 2;
    transition: background-color .15s, border-color .15s, color .15s;
    padding: 0;
}
.bsmc-botw__arrow:hover { background: rgba(14, 14, 14, .95); border-color: #C8A96E; color: #C8A96E; }
.bsmc-botw__arrow--prev { left: 16px; }
.bsmc-botw__arrow--next { right: 16px; }
.bsmc-botw__arrow svg { width: 22px; height: 22px; display: block; }

.bsmc-botw__dots {
    position: absolute; left: 50%; bottom: 18px;
    transform: translateX(-50%);
    display: flex; gap: 8px;
    z-index: 2;
}
.bsmc-botw__dot {
    width: 9px; height: 9px;
    border-radius: 999px;
    background: rgba(237, 234, 223, .45);
    border: 0; padding: 0; cursor: pointer;
    transition: background-color .2s, transform .2s;
}
.bsmc-botw__dot:hover { transform: scale(1.15); }
.bsmc-botw__dot.is-active { background: #C8A96E; }

/* ─── Body (title + description + CTA) ──────────────────────── */
.bsmc-botw__body {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.bsmc-botw__title {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-weight: 400;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #F5F2EA;
    margin: 0 0 16px;
}

.bsmc-botw__price {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-weight: 400;
    font-size: clamp(24px, 3.5vw, 34px);
    line-height: 1;
    letter-spacing: .04em;
    color: #C8A96E;
    margin: 0 0 20px;
}

.bsmc-botw__description {
    color: #B8B3A8;
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 28px;
}
.bsmc-botw__description p:last-child { margin-bottom: 0; }

.bsmc-botw__cta {
    display: inline-block;
    padding: 14px 32px;
    background: #C8A96E;
    color: #000;
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: 18px;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color .15s, transform .12s;
}
.bsmc-botw__cta:hover { background: #DFC08A; transform: translateY(-1px); }

/* Mobile tweaks */
@media (max-width: 700px) {
    .bsmc-botw { padding: 48px 16px; }
    .bsmc-botw__gallery { aspect-ratio: 4 / 3; margin-bottom: 24px; }
    .bsmc-botw__arrow { width: 40px; height: 40px; }
    .bsmc-botw__arrow--prev { left: 10px; }
    .bsmc-botw__arrow--next { right: 10px; }
}
