/* University menu (ca-menu-builder). Overrides the theme's older .nav-uni rules. */
.banner .nav-uni > div > ul.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 0 0 0 -14px;
}
.banner .nav-uni > div > ul.menu > li.ca-unav-item {
  display: block;
  padding: 0;
  position: relative;
}
.banner .nav-uni > div > ul.menu > li.ca-unav-wide {
  position: static;
}
.banner .nav-uni .ca-unav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: #333;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.banner .nav-uni .ca-unav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #e10707;
  transform: scaleX(0);
  transition: transform .15s ease;
}
.banner .nav-uni .ca-unav-link:focus { outline: none; }
.banner .nav-uni .ca-unav-link:focus-visible {
  outline: 2px solid #e10707;
  outline-offset: -6px;
  border-radius: 6px;
}
.banner .nav-uni .ca-unav-item.is-current > .ca-unav-link,
.banner .nav-uni .ca-unav-item.is-open > .ca-unav-link,
.banner .nav-uni .ca-unav-link:hover {
  color: #e10707;
}
.banner .nav-uni .ca-unav-item.is-current > .ca-unav-link { font-weight: 700; }
.banner .nav-uni .ca-unav-item.is-current > .ca-unav-link::after,
.banner .nav-uni .ca-unav-item.is-open > .ca-unav-link::after,
.banner .nav-uni .ca-unav-link:hover::after {
  transform: scaleX(1);
}
.banner .nav-uni .ca-unav-caret {
  flex: none;
  opacity: .7;
  transition: transform .15s ease;
}
.banner .nav-uni .ca-unav-item.is-open .ca-unav-caret { transform: rotate(180deg); }

/* Panels */
.banner .nav-uni .ca-unav-panel {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  z-index: 40;
  min-width: 260px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 18px 36px -14px rgba(20, 20, 20, .22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .14s ease, transform .14s ease, visibility 0s linear .14s;
  pointer-events: none;
}
.banner .nav-uni .ca-unav-wide > .ca-unav-panel {
  left: 14px;
  right: 0;
  padding: 24px 28px 22px;
}
.banner .nav-uni .ca-unav-item.is-open > .ca-unav-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
  pointer-events: auto;
}
@media (hover: hover) and (pointer: fine) {
  .banner .nav-uni .ca-unav-has-panel:hover > .ca-unav-link { color: #e10707; }
  .banner .nav-uni .ca-unav-has-panel:hover > .ca-unav-link::after { transform: scaleX(1); }
  .banner .nav-uni .ca-unav-has-panel:hover .ca-unav-caret { transform: rotate(180deg); }
  .banner .nav-uni .ca-unav-has-panel:hover > .ca-unav-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: .06s;
    pointer-events: auto;
  }
}
.banner .nav-uni .ca-unav-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.banner .nav-uni .ca-unav-col {
  min-width: 0;
  padding: 0 24px;
  border-left: 1px solid #eee;
}
.banner .nav-uni .ca-unav-col:first-child {
  padding-left: 0;
  border-left: 0;
}
.banner .nav-uni .ca-unav-heading {
  display: block;
  height: auto;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8a8a8a;
}
.banner .nav-uni a.ca-unav-heading:hover { color: #e10707; }
.banner .nav-uni .ca-unav-panel .ca-unav-list {
  display: block;
  position: static;
  margin: 0;
  padding: 0;
  list-style: none;
}
.banner .nav-uni .ca-unav-list li { display: block; padding: 0; }
.banner .nav-uni .ca-unav-panel .ca-unav-list a {
  display: block;
  height: auto;
  margin: 0 -10px;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.35;
  color: #333;
  text-decoration: none;
  white-space: normal;
}
.banner .nav-uni .ca-unav-panel .ca-unav-list a:hover,
.banner .nav-uni .ca-unav-panel .ca-unav-list a:focus-visible {
  background: #fdf0f0;
  color: #b80606;
  outline: none;
}
.banner .nav-uni .ca-unav-panel .ca-unav-list .ca-unav-all a {
  margin-top: 4px;
  font-weight: 700;
  color: #e10707;
}
.banner .nav-uni .ca-unav-panel .ca-unav-list .ca-unav-all a::after {
  content: ' \2192';
}
.banner .nav-uni .ca-unav-panel > .ca-unav-cols > .ca-unav-list a { margin: 0; }

@media (max-width: 1199px) {
  .banner .nav-uni .ca-unav-link { padding: 0 10px; font-size: 14px; }
  .banner .nav-uni .ca-unav-link::after { left: 10px; right: 10px; }
  .banner .nav-uni > div > ul.menu { margin-left: -10px; }
  .banner .nav-uni .ca-unav-wide > .ca-unav-panel { left: 10px; }
  .banner .nav-uni .ca-unav-col { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .banner .nav-uni .ca-unav-panel,
  .banner .nav-uni .ca-unav-link::after,
  .banner .nav-uni .ca-unav-caret { transition: none; }
}
