/* ==========================================================================
   FIX UPPER BANNER: FULL-WIDTH & UNCROPPED (DESKTOP + MOBILE WEB)
   ========================================================================== */

/* 1. Target the first homepage section container & remove side padding/margins */
main > section:first-of-type,
.home-sections > section:first-of-type,
#home-sections > div:first-child {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* 2. Remove inner container width limits so the banner goes edge-to-edge */
main > section:first-of-type .container,
main > section:first-of-type .container-fluid,
.home-sections > section:first-of-type .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

/* 3. Force the banner image to show 100% of its artwork without cropping */
main > section:first-of-type img,
.home-sections > section:first-of-type img {
    width: 100% !important;
    height: auto !important;          /* Prevents top/bottom text cropping */
    max-height: none !important;      /* Removes slider height limits */
    object-fit: contain !important;   /* Ensures the entire banner fits cleanly */
    display: block !important;
    border-radius: 0 0 20px 20px !important;
}

/* Mobile Web Size */
@media (max-width: 768px) {
    a[href*="1146874"] img {
        height: 210px !important;
        transform: scale(1.20) translateY(8px) !important;
    }
}
/* 4. Mobile Web Adjustment (screens smaller than 768px) */
@media (max-width: 768px) {
    main > section:first-of-type img,
    .home-sections > section:first-of-type img {
        width: 100% !important;
        height: auto !important;
        border-radius: 0 0 16px 16px !important;
    }
}