/* ============================================
   HTML Block Carousel — carousel.css
   ============================================ */

.hbc-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 0 40px;
    box-sizing: border-box;
}

/* ---- Swiper core overrides ---- */
.hbc-swiper {
    width: 100%;
    height: auto;
    overflow: visible;
}

.hbc-slide {
    height: auto;
    box-sizing: border-box;
}

.hbc-slide-inner {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

/* Make sure images inside slides are responsive */
.hbc-slide-inner img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---- Navigation Buttons ---- */
.hbc-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-60%); /* slightly above center to account for dots */
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.15);
    background: #ffffff;
    color: #333333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    padding: 0;
    line-height: 1;
}

.hbc-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}

.hbc-btn:hover {
    background: #0073aa;
    color: #ffffff;
    border-color: #0073aa;
    box-shadow: 0 4px 12px rgba(0,115,170,0.35);
}

.hbc-prev {
    left: -16px;
}

.hbc-next {
    right: -16px;
}

/* Push arrows inward on smaller screens */
@media (max-width: 600px) {
    .hbc-prev { left: 4px; }
    .hbc-next { right: 4px; }
    .hbc-btn   { width: 36px; height: 36px; }
    .hbc-btn svg { width: 16px; height: 16px; }
}

/* ---- Pagination Dots ---- */
.hbc-pagination {
    bottom: 8px !important;
    left: 0;
    width: 100%;
    text-align: center;
}

.hbc-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #cccccc;
    opacity: 1;
    transition: background 0.2s ease, transform 0.2s ease;
    margin: 0 4px !important;
}

.hbc-pagination .swiper-pagination-bullet-active {
    background: #0073aa;
    transform: scale(1.3);
}
