﻿.hero-slide-art {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Desktop and Large Screens */
@media (min-width: 992px) {
    .hero-slide-art {
        height: 40vh;
        max-height: 450px;
        min-height: 350px;
    }
}

/* Large Screens */
@media (min-width: 1200px) {
    .hero-slide-art {
        height: 40vh;
        max-height: 550px;
        min-height: 400px;
    }
}

/* Extra Large Screens */
@media (min-width: 1400px) {
    .hero-slide-art {
        height: 40vh;
        max-height: 600px;
        min-height: 450px;
    }
}

/* Tablet Screens */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-slide-art {
        height: 40vh;
        max-height: 500px;
        min-height: 350px;
    }
}

/* Mobile Screens */
@media (max-width: 767px) {
    .hero-slide-art {
        height: 40vh;
        width: calc(100% - 4px);    
        min-height: 250px;
        max-height: 300px;
    }
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-caption-box {
    max-width: 100%;
    width: 100%;
}

/* Mobile-specific caption adjustments */
@media (max-width: 768px) {
    .hero-caption-box {
        padding: 0.75rem !important;
    }

        .hero-caption-box h2 {
            font-size: 1rem !important;
        }

        .hero-caption-box p {
            font-size: 0.75rem !important;
        }
}

/*@media (max-width: 767px) {
    .hero-caption-box {
        width: calc(100% - 4px);*/ /* Full width minus 2px margin on each side */
        /*margin: 0 2px;
        padding: 0.75rem !important;
    }

        .hero-caption-box h2 {
            font-size: 1rem !important;
        }

        .hero-caption-box p {
            font-size: 0.75rem !important;
        }
}*/