/*
 Theme Name:   Bootscore News
 Description:  Bootscore Child theme for News
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.2.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/


/* Logo Nav css*/
.navbar-brand .logo-img {
    display: block !important; 
    height: auto !important;
}

/* SMALL SCREENS (Mobile: < 768px) */
.navbar-brand .logo-img {
    width: 200px !important;
}

/* LARGE SCREENS (Desktop, Laptop, TV: >= 768px) */
@media (min-width: 768px) {
    .navbar-brand .logo-img {
        width: 260px !important;
    }
}

/* --- Custom Navbar CSS for Pravakta.com --- */

@media (min-width: 900px) {
    /* Stop the primary nav container from wrapping items */
    .navbar-nav {
        flex-wrap: nowrap !important;
    }
    /* Stop the text inside the links (including sub-menus) from breaking */
    .navbar-nav .nav-item .nav-link, 
    .navbar-nav .dropdown-menu .dropdown-item {
        white-space: nowrap !important;
        word-break: normal !important;
    }
}

/* 2. Force Collapse Below 900px */
@media (max-width: 899.98px) {
    /* Hide the horizontal menu list */
    .navbar-collapse:not(.show) {
        display: none !important;
    }
    /* Show the hamburger toggle button */
    .navbar-toggler {
        display: block !important; 
    }
    
    /* Ensure the horizontal menu links are hidden when collapsed */
    .navbar-nav {
        flex-direction: column !important;
    }
}
