/* Banner Responsive Fix for Mobile Devices */
/* This file fixes the issue where inner page banner images shrink on mobile phones */

/* Override fixed dimensions and make banner images responsive */
.qodef-title .qodef-title-image img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: cover;
    display: block;
}

/* Ensure banner container is responsive */
.qodef-title .qodef-title-image {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Set appropriate heights for different screen sizes */
@media only screen and (max-width: 1024px) {
    .qodef-title .qodef-title-image {
        height: auto;
        min-height: 200px;
        max-height: 400px;
    }
    
    .qodef-title .qodef-title-image img {
        min-height: 200px;
        max-height: 400px;
        object-position: center center;
    }
}

/* Mobile phone specific adjustments */
@media only screen and (max-width: 768px) {
    .qodef-title .qodef-title-image {
        height: auto;
        min-height: 150px;
        max-height: 300px;
    }
    
    .qodef-title .qodef-title-image img {
        min-height: 150px;
        max-height: 300px;
        object-position: center center;
    }
}

/* Small mobile phones */
@media only screen and (max-width: 480px) {
    .qodef-title .qodef-title-image {
        height: auto;
        min-height: 120px;
        max-height: 250px;
    }
    
    .qodef-title .qodef-title-image img {
        min-height: 120px;
        max-height: 250px;
        object-position: center center;
    }
}

/* Ensure title content is properly positioned */
.qodef-title-holder {
    position: relative;
}

/* Fix any potential z-index issues */
.qodef-title .qodef-title-image {
    z-index: 1;
}

.qodef-title-holder .qodef-title-content-holder {
    position: relative;
    z-index: 2;
}