/* ============================================
   MINIMAL MOBILE FIXES - NO FOOTER CHANGES
   ============================================ */

/* Fix for capsule input on mobile - main culprit for horizontal scroll */
@media (max-width: 768px) {
    .capsule-input {
        margin-right: 0 !important;
        width: 100% !important;
        margin-left: 0 !important;
    }
}

/* Fix for the row-cols-5 carousel on mobile */
@media (max-width: 768px) {
    .row-cols-5 {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    
    .row-cols-5 > [class*="col-"] {
        flex: 0 0 60% !important;
        max-width: 60% !important;
        scroll-snap-align: start;
    }
}

/* Fix for navbar buttons text wrapping on mobile */
@media (max-width: 576px) {
    .navbar .btn-dark,
    .navbar .btn-light {
        white-space: nowrap !important;
        font-size: 13px !important;
        padding: 6px 12px !important;
    }
    
    .navbar img {
        max-height: 40px !important;
        width: auto !important;
    }
}