/**
 * Image Rotator CSS - Styles for smooth image transitions
 * Author: Custom Implementation
 */

/* Ensure smooth transitions for the page header image */
#page-header .ph-image img {
    transition: opacity 0.6s ease-in-out;
    will-change: opacity;
}

/* Prevent layout shift during image changes */
#page-header .ph-image-inner {
    position: relative;
    overflow: hidden;
}

/* Ensure image maintains its position during transitions */
#page-header .ph-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Reduce paragraph width to prevent overlap with image */
#page-header .ph-caption > p {
    max-width: 700px !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    #page-header .ph-caption > p {
        max-width: 500px !important;
    }
}

@media (max-width: 767px) {
    #page-header .ph-caption > p {
        max-width: 100% !important;
    }
}
