/* ==========================================================================
   Seat bar + modern menu bar (owner 2026-12-03, from a screenshot of the orange menu bar):
   "the orange banner looks too big for me i mean hight of the banner . give gradient background than orange solid
   color also on top reserve your seat for the january class. make it look more modern"
   Loaded LAST (includes/v2/header.php), after v2.css, v2-compact.css, v4.css and search.css; own file so other
   branches' CSS edits merge cleanly. Same items, order, fonts, dropdowns and JavaScript; only looks and heights change.
   Contrast (WCAG AA): menu text #0b2545 on the darkest orange stop #ec6a00 is 4.8:1; white on the royal pill #1866d6
   is 5.4:1; white on the seat bar navy/royal is 7:1 or more; #0b2545 on the seat button orange is 5:1 or more.
   ========================================================================== */

/* ---------- seat bar above the header (every page) ---------- */
.kt-topbar { background: linear-gradient(90deg, #0a2f6e 0%, #0b4fbf 50%, #0a3a9e 100%); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08); }
.kt .kt-topbar-link { display: flex; align-items: center; justify-content: center; gap: 14px; max-width: 1192px; min-height: 34px; margin: 0 auto; padding: 3px 16px; color: #fff; font-weight: 700; font-size: 14px; line-height: 1.2; text-decoration: none; }
.kt .kt-topbar-link:hover { color: #fff; }
.kt-topbar-text { display: inline-flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; }
.kt .kt-topbar-text .kt-i { width: 16px; height: 16px; stroke-width: 2.8; color: #ffb366; }
.kt .kt-topbar-link:hover .kt-topbar-text > span { text-decoration: underline; text-underline-offset: 3px; }
.kt-topbar-short { display: none; }
.kt-topbar-btn { flex: none; display: inline-flex; align-items: center; gap: 3px; height: 26px; padding: 0 8px 0 13px; border-radius: 999px; background: linear-gradient(180deg, #ffa043, #fd7a02); box-shadow: 0 2px 8px rgba(0, 10, 40, .28), inset 0 1px 0 rgba(255, 255, 255, .35); color: var(--kt-ink); font-weight: 800; font-size: 13px; white-space: nowrap; transition: box-shadow .2s var(--kt-ease), transform .2s var(--kt-ease); }
.kt .kt-topbar-btn .kt-i { width: 15px; height: 15px; stroke-width: 3; transition: transform .2s var(--kt-ease); }
.kt .kt-topbar-link:hover .kt-topbar-btn { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 10, 40, .34), inset 0 1px 0 rgba(255, 255, 255, .35); }
.kt .kt-topbar-link:hover .kt-topbar-btn .kt-i { transform: translateX(2px); }
.kt .kt-topbar-link:focus-visible { outline: 3px solid #ffb366; outline-offset: -3px; box-shadow: none; }
/* phones: one line, the short label and an arrow-only button */
@media (max-width: 639px) {
  .kt .kt-topbar-link { gap: 10px; padding: 3px 12px; font-size: 14px; }
  .kt-topbar-full { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .kt-topbar-short { display: inline; }
  .kt-topbar-btn-more { display: none; }
  .kt-topbar-btn { padding: 0 7px 0 11px; }
}

/* ---------- menu bar: 34px (was 40px), warm orange gradient, soft shadow ---------- */
.kt-nav {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 55%),
    linear-gradient(90deg, #ffa043 0%, #fd8410 38%, #f47400 72%, #ec6a00 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 6px 16px -6px rgba(196, 85, 0, .5), 0 1px 2px rgba(120, 50, 0, .18);
}
/* highlighted item (PROGRAMS) and hover: royal-blue gradient pill, white text */
.kt-nav-item:hover, .kt-nav-item.is-open, .kt-nav-item:has(> .is-hi) { background: linear-gradient(180deg, #1f72e6, #0b4fbf); }
.kt-nav-item:has(> .is-hi):hover, .kt-nav-item:has(> .is-hi).is-open { background: linear-gradient(180deg, #1866d6, #0a3a9e); }
.kt-drop { background: linear-gradient(180deg, #2f6aa8, #275d96); }

@media (min-width: 1100px) {
  .kt-nav-top { padding: 0 8px; }
  .kt .kt-nav-top > .kt-nav-item { padding: 3px 0; }
  .kt .kt-nav-link { min-height: 28px; letter-spacing: .02em; }
  .kt-sub-btn { min-height: 28px; }
  .kt .kt-sub-btn .kt-i { width: 13px; height: 13px; }
  /* dropdown: a small rounded panel under the bar */
  .kt-drop { border-radius: 14px; box-shadow: 0 16px 32px rgba(12, 40, 78, .3); }
}

/* ---------- tablets and phones: the Menu button and the open list get the same gradient ---------- */
@media (max-width: 1099px) {
  .kt .kt-menu-btn { background: linear-gradient(135deg, #ffa043 0%, #fd8410 45%, #ec6a00 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 4px 12px -4px rgba(196, 85, 0, .5); }
  .kt-nav { background: linear-gradient(180deg, #ffa043 0%, #fd8410 50%, #f47400 100%); }
}

/* ---------- Latest News: same soft shadow as the menu bar; 6px under it ---------- */
.kt-news { margin-top: 6px; box-shadow: 0 6px 16px -8px rgba(10, 47, 110, .5); }

@media (prefers-reduced-motion: reduce) {
  .kt-topbar-btn, .kt .kt-topbar-btn .kt-i { transition: none; }
  .kt .kt-topbar-link:hover .kt-topbar-btn, .kt .kt-topbar-link:hover .kt-topbar-btn .kt-i { transform: none; }
}
