/* ExhibitionsInd site header. Self-contained: every rule is scoped to .exh-* so page styles are untouched,
   and it overrides the old global nav/ul rules from mymenu.css only inside the header. */
:root {
  --exh-navy: #0643a8;
  --exh-navy-deep: #082f73;
  --exh-ink: #14213d;
  --exh-muted: #5b6678;
  --exh-line: #e4e9f2;
  --exh-cyan: #14a7e6;
  --exh-red: #e3262e;
  --exh-blue: #1d5fe0;
  --exh-green: #058a49;
  --exh-header-z: 1030;
}

.exh-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: var(--exh-header-z);
  width: 100%;
  background: #fff;
  font-family: "Open Sans", "Segoe UI", Roboto, Arial, sans-serif;
  transition: box-shadow .2s ease;
}
.exh-header.is-scrolled { box-shadow: 0 6px 24px rgba(8, 26, 64, .12); }
.exh-header *, .exh-quick * { box-sizing: border-box; }
.exh-header svg, .exh-quick svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
.exh-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top bar: logo + action buttons ---------- */
.exh-top { border-bottom: 1px solid var(--exh-line); }
.exh-top .exh-wrap { min-height: 78px; padding-top: 8px; padding-bottom: 8px; }
.exh-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin-right: auto;
  text-decoration: none !important;
}
.exh-header img.exh-logo { display: block; width: 232px; height: auto; aspect-ratio: 1277 / 288; border: 0; border-radius: 0; box-shadow: none; }
.exh-tagline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 4px;
  color: var(--exh-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.exh-tagline svg { color: var(--exh-cyan); font-size: 13px; }

.exh-ctas { display: flex; align-items: center; gap: 10px; }
.exh-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(16, 24, 40, .14);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.exh-cta svg { font-size: 17px; opacity: .95; }
.exh-cta:hover, .exh-cta:focus-visible { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(16, 24, 40, .2); filter: brightness(1.06); color: #fff !important; }
.exh-cta:focus-visible { outline: 3px solid rgba(20, 167, 230, .45); outline-offset: 2px; }
.exh-cta.is-current { box-shadow: 0 0 0 3px #fff, 0 0 0 5px currentColor; }
.exh-cta-red { background: linear-gradient(135deg, #f0373f, #c8161e); }
.exh-cta-blue { background: linear-gradient(135deg, #2f74f0, #1747c4); }
.exh-cta-green { background: linear-gradient(135deg, #10a35c, #04703b); }
.exh-cta-navy { background: linear-gradient(135deg, #1456c4, #072f78); }

/* ---------- Menu bar ---------- */
.exh-navbar,
.exh-header nav.exh-navbar {
  width: 100%;
  background: linear-gradient(90deg, var(--exh-navy-deep), var(--exh-navy) 55%, #0b58c9);
  text-align: left;
}
.exh-navbar .exh-wrap { min-height: 46px; justify-content: space-between; }
.exh-header ul.exh-nav {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 2px;
  width: auto;
  margin: 0 0 0 -12px;
  padding: 0;
  background: none;
  font-size: 15px;
  list-style: none;
}
.exh-header ul.exh-nav li {
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: left;
}
.exh-header ul.exh-nav li a {
  position: relative;
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 14px;
  color: rgba(255, 255, 255, .92);
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.exh-header ul.exh-nav li a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--exh-cyan);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.exh-header ul.exh-nav li a:hover,
.exh-header ul.exh-nav li a:focus-visible { color: #fff; background: rgba(255, 255, 255, .1); font-weight: 600; }
.exh-header ul.exh-nav li a:hover::after,
.exh-header ul.exh-nav li a.is-current::after { transform: scaleX(1); }
.exh-header ul.exh-nav li a.is-current { color: #fff; }
.exh-header ul.exh-nav li a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

.exh-contact { display: flex; align-items: center; gap: 18px; }
.exh-contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .88) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}
.exh-contact a:hover { color: #fff !important; }
.exh-contact svg { color: var(--exh-cyan); font-size: 14px; }

/* ---------- Burger (small screens) ---------- */
.exh-burger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--exh-line);
  border-radius: 12px;
  background: #fff;
  color: var(--exh-navy);
  cursor: pointer;
}
.exh-header .exh-burger:hover,
.exh-header .exh-burger:focus,
.exh-header .exh-burger:active { background: #fff !important; color: var(--exh-navy) !important; border-color: var(--exh-line) !important; box-shadow: none !important; }
.exh-burger:focus-visible { outline: 3px solid rgba(20, 167, 230, .45); outline-offset: 2px; }
.exh-burger-lines,
.exh-burger-lines::before,
.exh-burger-lines::after {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.exh-burger-lines { top: 21px; }
.exh-burger-lines::before, .exh-burger-lines::after { content: ""; left: 0; }
.exh-burger-lines::before { top: -6px; }
.exh-burger-lines::after { top: 6px; }
.exh-header.is-open .exh-burger-lines { background: transparent; }
.exh-header.is-open .exh-burger-lines::before { transform: translateY(6px) rotate(45deg); }
.exh-header.is-open .exh-burger-lines::after { transform: translateY(-6px) rotate(-45deg); }

/* Quick links under the header: only on small screens. */
.exh-quick { display: none; }

/* The old fixed header needed spacers to push pages down; the new header takes its own space. */
.topmargin1 { margin-top: 0 !important; }

@media (max-width: 1279px) {
  .exh-contact a + a { display: none; }
}
@media (max-width: 1199px) {
  .exh-wrap { padding: 0 18px; gap: 14px; }
  .exh-header img.exh-logo { width: 210px; }
  .exh-cta { padding: 0 14px; font-size: 13px; min-height: 40px; }
  .exh-ctas { gap: 8px; }
  .exh-header ul.exh-nav li a { padding: 0 11px; font-size: 14.5px; }
  .exh-contact { display: none; }
}

@media (max-width: 991px) {
  .exh-top .exh-wrap { min-height: 64px; padding-top: 6px; padding-bottom: 6px; }
  .exh-header img.exh-logo { width: 172px; }
  .exh-tagline, .exh-ctas { display: none; }
  .exh-burger { display: block; }

  .exh-navbar,
  .exh-header nav.exh-navbar {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--exh-line);
    box-shadow: 0 18px 30px rgba(8, 26, 64, .16);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .exh-header.is-open .exh-navbar {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .exh-navbar .exh-wrap { flex-direction: column; align-items: stretch; padding: 8px 14px 16px; }
  .exh-header ul.exh-nav { display: flex; flex-direction: column; margin: 0; gap: 2px; }
  .exh-header ul.exh-nav li a {
    height: 48px;
    padding: 0 14px;
    border-radius: 10px;
    color: var(--exh-ink);
    font-size: 16px;
  }
  .exh-header ul.exh-nav li a::after { display: none; }
  .exh-header ul.exh-nav li a:hover,
  .exh-header ul.exh-nav li a:focus-visible { background: #f1f5fd; color: var(--exh-navy); }
  .exh-header ul.exh-nav li a.is-current { background: #eaf2ff; color: var(--exh-navy); box-shadow: inset 3px 0 0 var(--exh-navy); }
  .exh-header ul.exh-nav li a:focus-visible { outline-color: var(--exh-navy); }
  .exh-contact { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--exh-line); }
  .exh-contact a, .exh-contact a + a { display: inline-flex; color: var(--exh-muted) !important; padding: 6px 14px; font-size: 14px; }

  .exh-quick {
    display: block;
    padding: 10px 14px 12px;
    background: linear-gradient(180deg, #f5f8fe, #fff);
    border-bottom: 1px solid var(--exh-line);
    font-family: "Open Sans", "Segoe UI", Roboto, Arial, sans-serif;
  }
  .exh-quick-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 0 9px;
    color: var(--exh-muted);
    font-size: 12.5px;
    font-weight: 600;
  }
  .exh-quick-tag svg { color: var(--exh-cyan); }
  .exh-quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .exh-quick .exh-cta { min-height: 42px; padding: 0 10px; border-radius: 12px; font-size: 14px; }
}
@media (min-width: 600px) and (max-width: 991px) {
  .exh-quick-grid { grid-template-columns: repeat(4, 1fr); }
}
/* ---------- Compact header once the page is scrolled ---------- */
.exh-top .exh-wrap { transition: min-height .2s ease, padding .2s ease; }
.exh-header img.exh-logo { transition: width .2s ease; }
.exh-header.is-compact .exh-top .exh-wrap { min-height: 54px; padding-top: 5px; padding-bottom: 5px; }
.exh-header.is-compact img.exh-logo { width: 168px; }
.exh-header.is-compact .exh-tagline { display: none; }
.exh-header.is-compact .exh-cta { min-height: 34px; padding: 0 14px; font-size: 13px; }
.exh-header.is-compact .exh-cta svg { font-size: 15px; }
.exh-header.is-compact .exh-navbar .exh-wrap { min-height: 38px; }
.exh-header.is-compact ul.exh-nav li a { height: 38px; font-size: 14.5px; }
@media (max-width: 991px) {
  .exh-header.is-compact .exh-top .exh-wrap { min-height: 50px; padding-top: 4px; padding-bottom: 4px; }
  .exh-header.is-compact img.exh-logo { width: 136px; }
  .exh-header.is-compact .exh-burger { width: 40px; height: 40px; border-radius: 10px; }
  .exh-header.is-compact .exh-burger-lines { top: 18px; left: 9px; }
  .exh-header.is-compact ul.exh-nav li a { height: 46px; font-size: 16px; }
  .exh-header.is-compact .exh-navbar { max-height: calc(100vh - 50px); }
}
@media (prefers-reduced-motion: reduce) {
  .exh-header, .exh-header *, .exh-quick * { transition: none !important; }
}
