/**
 * IMAGERY SLIDER (masterbolt_com) - front-end styles
 * Bootstrap-compatible and mobile-friendly.
 *
 * Layout per slide (matches approved mockup):
 *  - header renders as a #C97200 badge overlaid at the top of the image
 *  - images are uniform size (4:3 crop) so every slide matches
 *  - description sits under the image with a rule line beneath it
 */
.imagerySliderWrapper {
    width: 100%;
    padding: 15px 0;
}

/* Equal-height slides: flex the owl stage so every item stretches to
   the tallest slide, keeping the rule lines aligned across the row. */
.imagerySliderWrapper .imagery-slider .owl-stage {
    display: flex;
}
.imagerySliderWrapper .imagery-slider .owl-item {
    display: flex;
}

.imagerySliderWrapper .imagery-slider .imagery-slide {
    position: relative; /* anchor for the header badge */
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
}

/* Uniform image size: crop everything to the same 4:3 box */
.imagerySliderWrapper .imagery-slide-image a {
    display: block;
}
.imagerySliderWrapper .imagery-slide-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
}

/* Header: badge pinned to the top of the image */
.imagerySliderWrapper .imagery-slide-header {
    position: absolute;
    top: 12px;
    left: 0;
    z-index: 1;
    margin: 0;
    padding: 5px 12px;
    background: #C97200;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Description under the image, rule line beneath it. The caption
   stretches to fill the slide so the line stays bottom-aligned. */
.imagerySliderWrapper .imagery-slide-caption {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 8px 0 10px;
    text-align: left;
    border-bottom: 1px solid #d9d9d9;
}
.imagerySliderWrapper .imagery-slide-description {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

/* Dot navigation (arrows are disabled; dots are the manual controls) */
.imagerySliderWrapper .owl-dots {
    text-align: center;
    margin-top: 12px;
}
.imagerySliderWrapper .owl-dots .owl-dot {
    padding: 4px; /* larger tap target on touch devices */
}
.imagerySliderWrapper .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 0 4px;
}
.imagerySliderWrapper .owl-dots .owl-dot.active span,
.imagerySliderWrapper .owl-dots .owl-dot:hover span {
    background: #C97200;
}

@media (max-width: 767px) {
    .imagerySliderWrapper .imagery-slide-description {
        font-size: 13px;
    }
}
