/* AAT trips dropdown v1.1.0: centered, balanced columns; up to 15 trips per side. */
#menu-item-413 > ul.dropdown-menu {
  --aat-menu-rows: 15;
  grid-auto-flow: column;
  grid-template-rows: repeat(var(--aat-menu-rows), auto);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: max-content;
}
#menu-item-413 > ul.dropdown-menu > li > a {
  font-size: 0.9375rem;
}
#menu-item-413 > ul.dropdown-menu.show {
  display: block;
}
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(2)).show {
  display: grid;
}
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(2))::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 50%;
  border-left: 1px solid #dedede;
  pointer-events: none;
  z-index: 1;
}
/* Keep chronological order down the left column, then down the right. */
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(1):last-child),
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(2):last-child) { --aat-menu-rows: 1; }
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(3):last-child),
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(4):last-child) { --aat-menu-rows: 2; }
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(5):last-child),
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(6):last-child) { --aat-menu-rows: 3; }
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(7):last-child),
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(8):last-child) { --aat-menu-rows: 4; }
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(9):last-child),
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(10):last-child) { --aat-menu-rows: 5; }
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(11):last-child),
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(12):last-child) { --aat-menu-rows: 6; }
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(13):last-child),
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(14):last-child) { --aat-menu-rows: 7; }
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(15):last-child),
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(16):last-child) { --aat-menu-rows: 8; }
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(17):last-child),
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(18):last-child) { --aat-menu-rows: 9; }
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(19):last-child),
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(20):last-child) { --aat-menu-rows: 10; }
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(21):last-child),
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(22):last-child) { --aat-menu-rows: 11; }
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(23):last-child),
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(24):last-child) { --aat-menu-rows: 12; }
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(25):last-child),
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(26):last-child) { --aat-menu-rows: 13; }
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(27):last-child),
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(28):last-child) { --aat-menu-rows: 14; }
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(29):last-child),
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(30):last-child) { --aat-menu-rows: 15; }
@media (max-width: 991.98px) {
  #menu-item-413 > ul.dropdown-menu {
    width: 100%;
    position: relative;
  }
  #menu-item-413 > ul.dropdown-menu > li > a {
    white-space: normal;
    overflow-wrap: anywhere;
    padding-left: 0.4375rem;
    padding-right: 0.4375rem;
  }
}
@media (max-width: 359.98px) {
  #menu-item-413 > ul.dropdown-menu > li > a {
    font-size: clamp(0.8125rem, 4.16667vw, 0.9375rem);
  }
}
/* More than 30 trips stay reachable rather than being hidden or clipped. */
#menu-item-413 > ul.dropdown-menu:has(> li:nth-child(31)) {
  grid-auto-flow: row;
  grid-template-rows: none;
}

