/* =========================
   Carousel Container
========================= */
.rvh-carousel-container {
    max-width: 900px; /* wider for better look */
    margin: 0 auto;
    position: relative;
}

/* =========================
   Carousel Slide Items
========================= */
.rvh-carousel-container .carousel-item {
    width: 100%;
    height: 450px;           /* Fixed height for all slides */
    background: #000;        /* Contrast background */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   Carousel Images
========================= */
.rvh-carousel-container .carousel-item img.thumbnail {
    max-width: 100%;
    max-height: 100%;
    width: auto;             /* Avoid distortion */
    height: auto;
    object-fit: contain;     /* Keep aspect ratio */
    background-color: #f8f8f8;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.25) 3px 3px 6px;
    display: block;
    margin: 0 auto;
}

/* =========================
   Indicators
========================= */
.rvh-carousel-container .carousel-indicators {
    bottom: 10px;
}
.rvh-carousel-container .carousel-indicators li {
     width: 8px;    /* default is 10px+ */
    height: 8px;   /* default is 10px+ */
     border-radius: 2px; /* keep them circular */
    margin: 0 3px; /* space between dots */
    background-color: rgba(255, 255, 255, 0.7);
}
.rvh-carousel-container .carousel-indicators .active {
    background-color: #007bff;
}

/* =========================
   Prev/Next Controls
========================= */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100% 100%;
    filter: invert(1); /* White arrows */
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* =========================
   Thumbnails Outside Carousel
========================= */
.attachments li img.thumbnail {
    cursor: pointer;
    width: 120px;
    height: 120px;
    object-fit: cover; /* Crop but keep ratio */
    box-shadow: rgba(0, 0, 0, 0.25) 3px 3px 3px !important;
    border-radius: 4px;
    margin-bottom: 5px;
    text-align: center;
}

