/* ==========================================================================
   Compact menus (owner review 2026-12-01): "this bar width is big. reduce the height of the bar. also all the
   other menus have a lot of real-estate wastage ... don't waste the space, make them small."
   Loaded AFTER v2.css (includes/v2/header.php). Same colors, order, items, fonts and soft raised finish;
   only heights, paddings and gaps get smaller. Touch targets stay 40px or taller below 1100px (touch screens);
   keyboard focus styles are unchanged (v2.css .kt :focus-visible).
   Kept in its own file so branches that edit v2.css merge without conflicts.
   ========================================================================== */

/* ---------- header row: logo, call line, Login / Register / Search Here (and any extra header button) ---------- */
.kt-header { padding: 6px 0; gap: 8px 20px; }
.kt-head-right { gap: 8px 18px; }
.kt-topbtns { gap: 8px; }
.kt .kt-call { min-height: 36px; font-size: 17px; }
.kt .kt-pill { min-height: 36px; min-width: 0; padding: 0 15px; gap: 6px; font-size: 14px; }
.kt .kt-pill .kt-i { width: 17px; height: 17px; }
.kt .kt-pill-form .kt-pill { font-size: 14px; }
.kt .kt-reserve { min-height: 36px; padding: 0 16px; gap: 6px; font-size: 14.5px; }
.kt .kt-reserve .kt-i { width: 17px; height: 17px; }

/* ---------- orange menu bar: 40px; the highlighted item is a pill INSIDE the bar ---------- */
@media (min-width: 1100px) {
  /* items share the bar's free width (each highlighted pill keeps even padding on both sides); a longer menu
     first gets tighter, and only if it still cannot fit does it wrap to a second row: never past the bar's edge */
  .kt-nav-top { flex-wrap: wrap; padding: 0 10px; }
  .kt .kt-nav-top > .kt-nav-item { flex: 1 1 auto; justify-content: center; }
  /* the item keeps the full bar height (so the dropdown still starts at the bar's bottom edge and hover never
     crosses a gap), but its color is painted only inside a 4px inset: a 32px pill that never touches the edges */
  .kt .kt-nav-top > .kt-nav-item { padding: 4px 0; background-clip: content-box; }
  .kt .kt-nav-link { min-height: 32px; padding: 0 1px 0 8px; }
  .kt .kt-nav-item:not(.has-drop) .kt-nav-link { padding-right: 8px; }
  .kt-sub-btn { width: 20px; min-height: 32px; margin-right: 4px; }
  .kt .kt-sub-btn .kt-i { width: 14px; height: 14px; }
  /* dropdown: tighter rows */
  .kt-drop { padding: 8px; }
  .kt .kt-drop a { padding: 5px 8px; }
  .kt-filter { padding: 0 8px 8px; margin-bottom: 6px; }
  .kt .kt-filter input { min-height: 36px; }
}
/* a longer menu (more top items) still fits on one line between 1100 and 1279px */
@media (min-width: 1100px) and (max-width: 1279px) {
  .kt-nav-top { padding: 0 6px; }
  .kt .kt-nav-link { padding-left: 6px; font-size: 12px; }
  .kt .kt-nav-item:not(.has-drop) .kt-nav-link { padding-right: 6px; }
  .kt-sub-btn { width: 17px; margin-right: 2px; }
  .kt .kt-sub-btn .kt-i { width: 13px; height: 13px; }
}

/* 11 or more top items (for example a new PROGRAMS entry): a slightly smaller label keeps the bar on one line */
@media (min-width: 1100px) {
  .kt .kt-nav-top:has(> .kt-nav-item:nth-child(11)) .kt-nav-link { padding-left: 6px; font-size: 12px; }
  .kt .kt-nav-top:has(> .kt-nav-item:nth-child(11)) .kt-nav-item:not(.has-drop) .kt-nav-link { padding-right: 6px; }
  .kt .kt-nav-top:has(> .kt-nav-item:nth-child(11)) .kt-sub-btn { width: 17px; margin-right: 2px; }
  .kt .kt-nav-top:has(> .kt-nav-item:nth-child(12)) .kt-nav-link { padding-left: 5px; font-size: 11.5px; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .kt .kt-nav-top:has(> .kt-nav-item:nth-child(12)) .kt-nav-link { font-size: 11px; }
}

/* ---------- Latest News: 38px ---------- */
.kt-news { margin-top: 6px; min-height: 38px; }
.kt-news-label { font-size: 15px; }
.kt .kt-news a { min-height: 38px; padding: 2px 0; font-size: 14.5px; }

/* ---------- home: left pills, icon tiles, right boxes ---------- */
.kt-home { margin-top: 12px; row-gap: 12px; }
/* left pills: 42px each, 8px apart, at the top of their column (they no longer stretch to the banner's height) */
.kt-tabs { grid-auto-rows: 42px; align-content: start; gap: 8px; }
.kt .kt-tabs a { padding: 0 10px 0 16px; font-size: 14px; line-height: 1.15; }

/* icon tiles: shorter, icon and label closer together */
.kt-quick ul { gap: 8px; }
.kt .kt-quick a { min-height: 56px; gap: 2px; padding: 6px 4px; border-radius: var(--kt-r-sm); font-size: 14px; }
.kt .kt-quick .kt-i { width: 22px; height: 22px; }

/* right blue column (Online Training Access, Online training videos): smaller padding and icons */
.kt-side { gap: 10px; padding: 10px; }
.kt .kt-ota, .kt .kt-why { gap: 6px; padding: 10px; }
.kt .kt-ota .kt-i, .kt .kt-why .kt-i { width: 26px; height: 26px; }
.kt-ota strong { font-size: 19px; }
.kt-ota span { font-size: 13.5px; }
.kt-why span { font-size: 16px; }
.kt-why strong { font-size: 15px; }

/* hero buttons (a button pair): a little smaller, so on wide screens they sit side by side on one line and the
   banner (and everything under it) gets about 50px shorter; on narrower banners they still wrap as before */
@media (min-width: 640px) { .kt-hero-copy { padding: 20px 6px 20px 22px; } }
.kt .kt-hero-copy .kt-btn { min-height: 42px; padding: 0 12px; font-size: 14px; }
.kt .kt-hero-copy .kt-actions { gap: 8px; }

/* link lists in the home boxes and side boxes */
.kt .kt-links a { min-height: 40px; }
.kt .kt-box-foot a, .kt .kt-rev-foot > a { min-height: 40px; }

/* ---------- inner pages: icon row, breadcrumb, left link boxes, right buttons ---------- */
.kt-inner { margin-top: 12px; }
.kt .kt-quick-8 a { min-height: 56px; }
.kt-crumbs ol { margin-top: 6px; }
.kt .kt-crumbs a { min-height: 32px; }
.kt-in-grid { margin-top: 6px; }
.kt .kt-sbox .kt-box-h { padding: 8px 16px 7px; font-size: 16px; }
.kt .kt-sbox .kt-box-b { padding: 2px 16px 6px; }
.kt .kt-sbox .kt-links a { min-height: 36px; padding: 4px 0; font-size: 14.5px; }
.kt-right { gap: 10px; padding: 10px; }
.kt .kt-rbtn { min-height: 48px; gap: 10px; padding: 8px 12px; font-size: 16px; }
.kt .kt-rbtn .kt-i { width: 24px; height: 24px; }
.kt .kt-rbtn small { margin-top: 1px; font-size: 12.5px; }

/* ---------- footer link lists ---------- */
.kt .kt-foot-links a { min-height: 36px; font-size: 14.5px; }

/* ==========================================================================
   Touch screens (below 1100px the orange bar becomes the Menu button + list).
   Every menu target stays at least 40px tall.
   ========================================================================== */
@media (max-width: 1099px) {
  .kt .kt-pill, .kt .kt-call, .kt .kt-reserve { min-height: 40px; }
  .kt .kt-menu-btn { min-height: 42px; padding: 0 14px; gap: 8px; font-size: 15px; }
  html.kt-js .kt-nav.is-open { margin-bottom: 6px; }
  /* an open item in the menu list is a rounded box, not a stretched pill (was a blob shape when its links opened) */
  .kt-nav-item { border-radius: var(--kt-r-sm); }
  .kt .kt-nav-link { min-height: 44px; padding-left: 14px; font-size: 14.5px; }
  .kt-sub-btn { width: 52px; min-height: 44px; }
  .kt-nav-item.is-open > .kt-drop { padding: 6px 4px; }
  .kt .kt-drop a { min-height: 40px; padding: 4px 8px; font-size: 14.5px; }
  .kt .kt-news a { min-height: 40px; }
  .kt-news { min-height: 40px; }
  /* left pills become one row of five */
  .kt-tabs { grid-auto-rows: 42px; }
  .kt .kt-tabs a { justify-content: center; padding: 0 6px; font-size: 13.5px; }
  .kt .kt-tabs a, .kt .kt-quick a, .kt .kt-links a, .kt .kt-box-foot a { min-height: 42px; }
  .kt .kt-quick a { min-height: 56px; }
  .kt .kt-ota, .kt .kt-why { padding: 10px; }
  .kt .kt-quick-8 a { min-height: 44px; gap: 6px; }
  .kt .kt-sbox .kt-links a, .kt .kt-crumbs a, .kt .kt-foot-links a { min-height: 40px; }
  .kt .kt-rbtn { min-height: 48px; }
}
@media (max-width: 759px) {
  .kt-tabs { grid-auto-rows: 42px; }
  .kt .kt-quick-8 a { min-height: 54px; gap: 2px; }
}
@media (max-width: 639px) {
  .kt-header { padding: 8px 0; gap: 8px; }
  .kt-head-right { gap: 8px; }
  .kt .kt-call { min-height: 40px; font-size: 16px; }
  .kt .kt-pill { padding: 0 6px; }
  .kt .kt-reserve { min-height: 42px; font-size: 15px; }
  .kt-news-label { font-size: 13.5px; line-height: 1.1; }
  .kt .kt-news a { font-size: 14px; }
  .kt .kt-ota, .kt .kt-why { padding: 10px 14px; }
  .kt .kt-ota .kt-i, .kt .kt-why .kt-i { width: 24px; height: 24px; }
  .kt-ota strong { font-size: 17px; }
  .kt .kt-quick a { min-height: 54px; }
  .kt .kt-quick-8 a { min-height: 52px; padding: 6px 2px; }
  .kt .kt-quick-8 .kt-i { width: 22px; height: 22px; }
  .kt .kt-hero-copy .kt-btn { min-height: 44px; }
}
