/* Scoped to keep the institute and college themes from changing the header. */
#header.adoro-header { position: relative; inset: auto; z-index: 1000; width: 100%; margin: 0; padding: 0; border: 0; background: #fff; color: #333; font: 14px/1.5 Arial, sans-serif; text-align: left; }
#header.adoro-header * { box-sizing: border-box; }
#header.adoro-header a { text-decoration: none; }
#header .adoro-header-container { width: min(1440px, 100%); margin: 0 auto; padding: 0 24px; }
#header .adoro-header-top { background: #e51c23; color: #fff; }
#header .adoro-header-top-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; }
#header .adoro-header-top a { display: inline-block; padding: 10px 0; color: #fff; font-size: 12px; }
#header .adoro-header-social { display: flex; flex-wrap: wrap; gap: 18px; }
#header .adoro-header-main { display: flex; align-items: center; gap: 24px; min-height: 116px; padding-top: 16px; padding-bottom: 16px; }
#header .adoro-header-brand { display: block; width: 120px; padding: 8px 0; }
#header .adoro-header-brand img { display: block; width: 120px; height: auto; max-width: 100%; object-fit: contain; }
#header .adoro-header-name { flex: 1; min-width: 0; text-align: center; container-type: inline-size; }
#header .adoro-header-name a { white-space: nowrap; }
#header .adoro-header-name a { display: block; color: #c61920; font: 700 clamp(10px, 3.2vw, 28px)/1.35 Georgia, serif; font-size: clamp(10px, 4cqi, 32px); }
#header .adoro-header-name .adoro-header-institute { margin-top: 8px; font-size: clamp(9px, 2.7vw, 24px); font-size: clamp(9px, 3.5cqi, 26px); }
#header .adoro-header-name a:hover { color: #a31319; }
#header .adoro-header-contact, #header .adoro-header-hours { flex-shrink: 0; }
#header .adoro-header-contact > span, #header .adoro-header-hours > span { display: block; color: #666; font-size: 12px; }
#header .adoro-header-contact a { color: #333; font-weight: bold; }
#header .adoro-header-hours strong { display: block; font-size: 12px; font-weight: 600; }
#header .adoro-header-nav { background: #202c45; border-bottom: 3px solid #e51c23; }
#header .adoro-header-nav > .adoro-header-container { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; column-gap: 20px; }
#header .adoro-header-nav.is-sticky { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 3px 12px #0003; }
#header .adoro-header-menu, #header .adoro-header-about ul { list-style: none; padding: 0; margin: 0; }
#header .adoro-header-menu { display: flex; flex-wrap: wrap; align-items: stretch; }
#header .adoro-header-menu > li { margin: 0; padding: 0; }
#header .adoro-header-menu a, #header .adoro-header-about summary { display: block; padding: 15px 12px; color: #fff; font: 600 13px/1.5 Arial, sans-serif; cursor: pointer; }
#header .adoro-header-menu a:hover, #header .adoro-header-about summary:hover, #header .adoro-header-menu a[aria-current="page"] { background: #e51c23; color: #fff; }
#header a:focus-visible, #header summary:focus-visible, #header button:focus-visible { outline: 3px solid #ffcd66; outline-offset: -3px; }
#header .adoro-header-about { position: relative; }
#header .adoro-header-about summary { list-style: none; }
#header .adoro-header-about summary::-webkit-details-marker { display: none; }
#header .adoro-header-about summary::after { content: ' ▾'; }
#header .adoro-header-about ul { position: absolute; top: 100%; left: 0; width: 280px; background: #202c45; box-shadow: 0 6px 16px #0003; z-index: 2; }
#header .adoro-header-about li { margin: 0; padding: 0; }
#header .adoro-header-toggle { padding: 12px; border: 1px solid #ffffff60; border-radius: 4px; margin: 10px 0; background: transparent; color: #fff; font: bold 15px/1.5 Arial, sans-serif; cursor: pointer; }
#header [hidden] { display: none !important; }
@media (max-width: 1100px) {
  #header .adoro-header-main { gap: 18px; flex-wrap: wrap; }
  #header .adoro-header-name { flex-basis: 100%; }
  #header .adoro-header-contact { margin-left: 0; }
}
@media (max-width: 1199px) {
  #header .adoro-header-nav { max-height: 100vh; max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
  #header .adoro-header-nav > .adoro-header-container { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
  #header .adoro-header-toggle { justify-self: end; }
  #header .adoro-header-container { padding-left: 16px; padding-right: 16px; }
  #header .adoro-header-top-inner { justify-content: center; flex-wrap: wrap; gap: 0; padding-top: 4px; padding-bottom: 4px; }
  #header .adoro-header-social { justify-content: center; gap: 16px; }
  #header .adoro-header-top a { padding: 5px 0; }
  #header .adoro-header-main { justify-content: center; gap: 12px 20px; text-align: center; }
  #header .adoro-header-brand { width: 110px; }
  #header .adoro-header-brand img { width: 110px; height: auto; }
  #header .adoro-header-name { flex: 1 1 100%; }
  #header .adoro-header-contact { margin-left: 0; }
  #header .adoro-header-menu { grid-column: 1 / -1; flex-direction: column; padding-bottom: 10px; }
  #header .adoro-header-menu a, #header .adoro-header-about summary { padding: 12px; }
  #header .adoro-header-about ul { position: static; width: 100%; box-shadow: none; padding-left: 12px; background: #172136; }
}

/* Keep section headings visible below the attached navigation. */
html { scroll-padding-top: var(--adoro-nav-height, 80px); }
#header .adoro-header-nav-slot { width: 100%; }
#header .adoro-header-nav.is-sticky .adoro-header-brand { width: 100px; padding: 6px 0; }
#header .adoro-header-nav.is-sticky .adoro-header-brand img { width: 100px; }
@media (min-width: 1200px) {
  #header .adoro-header-nav.is-sticky .adoro-header-menu a,
  #header .adoro-header-nav.is-sticky .adoro-header-about summary { padding-top: 12px; padding-bottom: 12px; }
}
