/* ==========================================================================
   Hero image slider — drops into the .dp-hero__art slot on the homepage
   (the placeholder icon box you circled). Pure CSS + the small JS file
   below; no library needed.

   Add this line to your <head>, after site.css:
     <link rel="stylesheet" href="/assets/css/hero-slider.css">
   ========================================================================== */

.dp-hero__slider {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 220px;
    background: var(--surface);
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

.dp-hero__slider-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
}

.dp-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease;
}
.dp-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
}
.dp-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Prev / next arrows */
.dp-hero__slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 36, .55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background .15s ease;
}
.dp-hero__slider-arrow:hover { background: var(--orange-500); color: var(--navy-900); }
.dp-hero__slider-arrow--prev { left: 10px; }
.dp-hero__slider-arrow--next { right: 10px; }
.dp-hero__slider-arrow svg { width: 18px; height: 18px; }

/* Dot indicators */
.dp-hero__slider-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
    z-index: 2;
}
.dp-hero__slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}
.dp-hero__slider-dot.is-active {
    background: var(--orange-500);
    transform: scale(1.25);
}

@media (max-width: 760px) {
    .dp-hero__slider-track { aspect-ratio: 16 / 11; }
    .dp-hero__slider-arrow { width: 28px; height: 28px; }
}
