/* Top utility bar outside .main-header (inc/um-top-bar.php → .um-topbar-wrap). Mirrors the homepage bar:
   36px, ocean-to-royal blue gradient, crisp white links & subtle dividers, frosted dropdowns. Self-contained:
   works on static college pages without Bootstrap or style.css. Hidden below 992px like on the homepage. */
.um-topbar-wrap { position: relative; z-index: 1001; direction: inherit; font-family: inherit; }
.um-topbar-wrap *, .um-topbar-wrap *::before, .um-topbar-wrap *::after { box-sizing: border-box; }
.um-topbar-wrap .top-bar { display: flex; align-items: center; height: 36px; margin: 0; padding: 0; background: linear-gradient(270deg, #2783BC 0%, #075590 50%, #044883 100%); border: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; font-weight: 600; }
html[dir="ltr"] .um-topbar-wrap .top-bar { background: linear-gradient(90deg, #2783BC 0%, #075590 50%, #044883 100%); }
.um-topbar-wrap .top-bar > .container { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: 16px; }
.um-topbar-wrap .top-bar-right, .um-topbar-wrap .top-bar-left { display: flex; align-items: center; gap: 4px; }
.um-topbar-wrap :is(.top-bar-right, .top-bar-left) > :not(:first-child) { position: relative; padding-inline-start: 10px; margin-inline-start: 6px; }
.um-topbar-wrap :is(.top-bar-right, .top-bar-left) > :not(:first-child)::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 13px; background: rgba(255, 255, 255, .24); pointer-events: none; }
html .um-topbar-wrap :is(.top-bar-link, .top-bar-left .top-bar-link, .top-bar-right .top-bar-link.dropdown-toggle) { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; min-height: 26px; border-radius: 6px; color: rgba(255, 255, 255, .96) !important; font-size: 12.5px; font-weight: 600; line-height: normal; text-decoration: none !important; background: none; transition: background-color .18s ease, color .18s ease; }
html .um-topbar-wrap .top-bar-link i { color: rgba(255, 255, 255, .92) !important; }
html .um-topbar-wrap :is(.top-bar-link, .top-bar-left .top-bar-link, .top-bar-right .top-bar-link.dropdown-toggle):is(:hover, :focus-visible) { color: #FFFFFF !important; background: rgba(255, 255, 255, .15) !important; }
.um-topbar-wrap .top-bar-link:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; border-radius: 6px; }
.um-topbar-wrap .top-bar-link.dropdown-toggle::after { display: none; }
.um-topbar-wrap .dropdown { position: relative; }
.um-topbar-wrap .dropdown-menu { position: absolute; top: 100%; inset-inline-start: 0; z-index: 1050; display: none; min-width: 170px; margin: 6px 0 0 !important; padding: 6px; list-style: none; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); border: 1px solid #DBE7F1; border-radius: 12px; box-shadow: 0 14px 34px rgba(16, 34, 77, .14); text-align: start; }
.um-topbar-wrap .dropdown-menu.show { display: block; animation: umTopbarFade .16s ease-out; }
.um-topbar-wrap .dropdown-menu li { margin: 0; padding: 0; }
.um-topbar-wrap .dropdown-item { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 36px; padding: 8px 12px; border-radius: 8px; color: #122B49 !important; font-size: 13px; font-weight: 500; white-space: nowrap; text-decoration: none !important; transition: background-color .18s ease, color .18s ease; }
.um-topbar-wrap .dropdown-item:hover, .um-topbar-wrap .dropdown-item:focus { background: #DCEBF7; color: #0C356A !important; }
.um-topbar-wrap .bi { font-family: bootstrap-icons !important; font-style: normal; line-height: 1; }
@keyframes umTopbarFade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 1199.98px) { .um-topbar-wrap { display: none; } }
@media (prefers-reduced-motion: reduce) { .um-topbar-wrap .dropdown-menu.show { animation: none; } }
.um-topbar-wrap .top-bar-left .dropdown-menu { inset-inline-start: auto; inset-inline-end: 0; }

/* University main menu inside the college-style header (.college-unified-header #collegeHeaderNav) — colleges,
   graduate studies & research, accreditations. Desktop ≥1200px stays horizontal (um-v3.js handles Priority+ "More");
   collapses into the hamburger panel below 1200px, matching the main site header. */
.college-unified-header .college-header-nav { gap: 3px; }
.college-unified-header .college-header-nav a.um-main-link { padding: .5rem .65rem; font-size: .92rem; }
.college-unified-header .college-header-nav a.college-home-return span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.college-unified-header .college-header-nav a.college-home-return { padding-inline: .7rem; }
@media (min-width: 1200px) {
    .college-unified-header .college-hamburger,
    .college-unified-header .college-mobile-home-link { display: none !important; }
    .college-unified-header .college-header-nav { display: flex !important; position: static !important; flex-direction: row !important; align-items: center !important; }
}
@media (max-width: 1199.98px) {
    .college-unified-header .college-header-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); padding: 14px 20px 18px; border-top: 1px solid #DCE7F0; border-bottom: 1px solid #DCE7F0; box-shadow: 0 18px 40px rgba(10, 32, 70, .14); }
    .college-unified-header .college-header-nav.open { display: flex; }
    .college-unified-header .college-header-nav a.um-main-link { padding: .7rem .9rem; font-size: .95rem; }
    .college-unified-header .college-header-nav a.college-home-return span { position: static; width: auto; height: auto; clip: auto; }
    .college-unified-header .college-hamburger { display: inline-flex; align-items: center; justify-content: center; }
    .college-unified-header .college-site-home { display: none; }
    .college-unified-header .college-mobile-home-link { display: flex; align-items: center; gap: 8px; }
}
html[dir="ltr"] .college-unified-header .college-home-return .ar, html[dir="rtl"] .college-unified-header .college-home-return .en { display: none !important; }
