html body #main-logo {
    min-height: 43px !important;
}
/* Desktop Western logo */
html body img#header-logo[data-wu-faculty="Western University"] {
    width: 272px !important;
    height: auto !important;
    max-width: 272px !important;
    max-height: none !important;
}

/* Mobile Western logo */
html body img.header-logo-mobile[data-wu-faculty="Western University"] {
    width: 180px !important;
    height: auto !important;
    max-width: 180px !important;
    max-height: none !important;
}
html body #global-menu {
    align-items: center !important;
    gap: 10px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;

    width: auto !important;
    position: static !important;
    inset: auto !important;
}

html body #global-menu .nav {
    gap: 10px !important;
}

html body #global-menu-nav {
    width: 95% !important;
}
html body section.section-capped.pb-0 {
    position: static !important;
}
html body img#header-logo[data-wu-faculty="Western University"],
html body img.header-logo-mobile[data-wu-faculty="Western University"] {
    content: url("https://www.uwo.ca/web_standards/2025-global/assets/img/page-titles/svg/full-western-logo.svg");
}

@media only screen and (max-width: 768px) {
    html body div#tablet-menu-toggle-div {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
    }
}
/* =========================================================
   Below Bootstrap XL
   ========================================================= */
@media (max-width: 1199.98px) {

    /* Show the responsive department name */
    html body div#responsive-dept {
        display: block !important;
    }

    /* Hide the desktop ribbon */
    html body div#ribbon-menu {
        display: none !important;
    }
}


/* =========================================================
   Bootstrap XL and above
   ========================================================= */
@media (min-width: 1200px) {
    
    html body #page-title-parent {
        border-bottom: 1px solid #dedede !important;
    }
    

    /* Show the desktop department name */
    html body div#main-logo .dept-container {
        display: flex !important;
    }

    /* Hide the responsive department name */
    html body div#responsive-dept {
        display: none !important;
    }

    /* Show the desktop ribbon */
    html body div#ribbon-menu {
        display: flex !important;
    }

    /* First footer column: enforce one-third width */
    html body div.d-none.d-xl-flex.footer-links-div:first-child {
        /* 
        flex: 0 0 33.333333% !important; 
        width: 33.333333% !important;
        max-width: 33.333333% !important;
        */
        width: 30% !important;
    }

    /* Second footer column: ensure it remains visible */
    html body div.d-none.d-xl-flex.footer-links-div:nth-child(2) {
        display: flex !important;
    }

    /* Third footer column: enforce one-third width */
    html body div.d-none.d-xl-flex.footer-links-div:nth-child(3) {
        /* 
        flex: 0 0 33.333333% !important; 
        width: 33.333333% !important;
        max-width: 33.333333% !important;
        */
        width: 30% !important;
    }
}