/* Responsive carousel image sizing */
.flowcast-carousel {
    max-width: 100%;
    margin: 0 auto;
}
.flowcast-carousel-img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}
@media (min-width: 768px) {
    .flowcast-carousel-img {
        max-height: 500px;
    }
}

/* Feature list styling for single column */
.flowcast-feature-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 0;
}
.flowcast-feature-list li {
    margin-bottom: 1rem;
    display: list-item;
    width: 100%;
}

/* Place heroCarousel captions below the image instead of overlaying */
#heroCarousel .carousel-caption {
    position: static;
    background: none;
    color: #222;
    margin-top: 0.5rem;
    padding: 0;
    text-align: left;
    max-width: 100%;
}

#heroCarousel .carousel-caption p {
    background: #f8f9fa;
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    font-size: 1rem;
    color: #222;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    display: inline-block;
}

/* Remove background and opacity for heroCarousel captions */
#heroCarousel .carousel-caption.bg-dark,
#heroCarousel .carousel-caption.bg-opacity-50 {
    background: none !important;
    opacity: 1 !important;
}

/* Place heroCarousel captions above the image */
#heroCarousel .carousel-caption-wrapper {
    position: static;
    margin-bottom: 0.5rem;
    text-align: left;
}

#heroCarousel .carousel-caption {
    position: static;
    background: #f8f9fa;
    color: #222;
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    margin-bottom: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    display: inline-block;
    max-width: 100%;
}

/* Remove background and opacity for heroCarousel captions overlay (legacy) */
#heroCarousel .carousel-caption.bg-dark,
#heroCarousel .carousel-caption.bg-opacity-50 {
    background: none !important;
    opacity: 1 !important;
}
