﻿/* The three mobile banners share a photo-above-copy layout on white. */
.mobile-banner-photo { display: none; }
@media (max-width: 991.98px) {
 .owl-carousel.home-slider { height: auto; background: #fff; }
 .owl-carousel.home-slider .slider-item { height: auto; min-height: 640px; padding: 12px 0 56px; background: #fff !important; }
 .owl-carousel.home-slider .slider-item > .overlay { display: none !important; }
 .owl-carousel.home-slider .slider-item .slider-text { display: flex; flex-direction: column; align-items: center; justify-content: flex-start !important; height: auto; min-height: 572px; text-align: center; }
 .owl-carousel.home-slider .slider-item .flexography-photo, .owl-carousel.home-slider .mobile-banner-photo { display: flex; align-items: center; justify-content: center; width: 100%; flex: 0 0 auto; height: 230px; padding: 0; overflow: hidden; }
 .owl-carousel.home-slider .flexography-photo img { display: block; width: 112%; max-width: none; height: auto; margin: 0; flex-shrink: 0; object-fit: contain; }
 .owl-carousel.home-slider .mobile-banner-photo img { display: block; width: 100%; height: 100%; max-width: 580px; object-fit: contain; }
 .owl-carousel.home-slider .slider-item .flexography-copy, .owl-carousel.home-slider .slider-item .mobile-banner-copy { position: relative; z-index: 1; flex: 0 0 auto; width: 100%; max-width: 620px; padding: 18px 8px 0 !important; opacity: 1; visibility: visible; }
 .owl-carousel.home-slider .slider-item .slider-text h1 { margin: 0 0 16px !important; color: #212529; font-size: 28px; line-height: 1.2; font-weight: 700; }
 .owl-carousel.home-slider .slider-item .slider-text h2 { margin: 0 0 16px; color: #212529; font-size: 21px; line-height: 1.4; font-weight: 600; }
 .owl-carousel.home-slider .slider-item .slider-text p { margin: 0 0 20px; color: #495057; font-size: 15px; line-height: 1.7; font-weight: 400; }
 .owl-carousel.home-slider .slider-item .slider-text .btn { min-height: 48px; margin-top: 4px !important; margin-bottom: 0; padding: 13px 24px !important; font-size: 14px; }
 .owl-carousel.home-slider .slider-item .slider-text p:has(> .btn) { margin: 0; }
 .owl-carousel.home-slider .owl-dots { bottom: 8px; }
}
@media (max-width: 374.98px) {
 .owl-carousel.home-slider .slider-item { min-height: 650px; }
 .owl-carousel.home-slider .slider-item .flexography-photo, .owl-carousel.home-slider .mobile-banner-photo { height: 210px; }
 .owl-carousel.home-slider .slider-item .slider-text h1 { font-size: 25px; }
 .owl-carousel.home-slider .slider-item .slider-text h2 { font-size: 19px; }
 .owl-carousel.home-slider .slider-item .slider-text p { font-size: 14px; }
}

@media (min-width: 992px) {
 .owl-carousel.home-slider .mobile-banner-copy h2 { font-weight: 700; }
 .owl-carousel.home-slider .mobile-banner-copy .banner-description { font-size: 18px; font-weight: 400; }
}
