/**
 * hd_carousel_v1.css
 * HisDesigns Carousel styles
 * All selectors prefixed with hd_carousel_v1_ to avoid WordPress conflicts.
 */

/* â”€â”€ Wrapper â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hd_carousel_v1 {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    opacity:0;
}

/* Resume badge */
.hd_carousel_v1_resume_badge {
    display: inline-block;
    font-size: 12px;
    padding: 3px 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    background: #e8f0fb;
    color: #2a5aac;
}

/* â”€â”€ Viewport & track â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hd_carousel_v1_viewport {
    overflow: hidden;
    width: 100%;
}

/* 
 * cubic-bezier(0.4, 0, 0.2, 1) — current, standard material ease
 * cubic-bezier(0.25, 0.46, 0.45, 0.94) — ease out, decelerates smoothly at the end, very natural feeling
 * cubic-bezier(0.68, -0.55, 0.27, 1.55) — has a slight bounce/overshoot at the end, more playful
 * ease-in-out — simple built-in, symmetrical slow-fast-slow
 */ 
.hd_carousel_v1_track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) !important;
    will-change: transform;
}

/* â”€â”€ Slides â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hd_carousel_v1_slide {
    box-sizing: border-box;
    flex-shrink: 0;
    padding: 0 10px;  /* gutter between slides â€” adjust to taste */
}

/* Let the plugin's own item styles handle internal layout.
   Add only what's needed to make items fill the slide cleanly. */
.hd_carousel_v1_slide .page-list-ext-item {
    height: 100%;
    box-sizing: border-box;
}

.hd_carousel_v1_slide .page-list-ext-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* â”€â”€ Controls row â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hd_carousel_v1_controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

/* â”€â”€ Prev / Next buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hd_carousel_v1_btn {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s;
    line-height: 1;
}

.hd_carousel_v1_btn:hover {
    background: #f5f5f5;
}

.hd_carousel_v1_btn:disabled {
    opacity: 0.35;
    cursor: default;
}

/* â”€â”€ Dots â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hd_carousel_v1_dots {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.hd_carousel_v1_dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.hd_carousel_v1_dot_active {
    background: #333;
    transform: scale(1.3);
}

/* â”€â”€ Footer row (progress + autoplay toggle) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hd_carousel_v1_footer {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.hd_carousel_v1_progress_wrap {
    flex: 1;
    height: 3px;
    background: #ddd;
    border-radius: 99px;
    overflow: hidden;
    margin-right: 12px;
}

.hd_carousel_v1_progress_bar {
    height: 100%;
    background: #555;
    border-radius: 99px;
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.hd_carousel_v1_auto_toggle {
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

.hd_carousel_v1_auto_toggle:hover {
    background: #f5f5f5;
}

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 768px) {
    .hd_carousel_v1_slide {
        padding: 0 6px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    /* tablet — handled by JS config, nothing needed here unless
       you want to adjust the slide gutter */
    .hd_carousel_v1_slide {
        padding: 0 8px;
    }
}