/* TDN Section Desk v1.0.0 — unlayered. Archives only. */

html body .tdn-archive__count {
  display: none;
}

html body .tdn-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0;
  align-items: baseline;
}
html body .tdn-subnav a {
  border-radius: 0;
  box-shadow: none;
  padding: 0.2em 0.7em 0.2em 0;
  min-height: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--fg-muted);
}
html body .tdn-subnav a:not(:last-child)::after {
  content: "·";
  margin-inline-start: 0.7em;
  color: var(--fg-faint);
  font-weight: 400;
}
html body .tdn-subnav a:hover,
html body .tdn-subnav [aria-current="page"] {
  background: transparent;
  color: var(--tdn-red);
  box-shadow: none;
}

@media (min-width: 48rem) {
  html body.tdn-route-archive .tdn-grid--wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.5rem;
    --col: unset;
  }
}

@media (min-width: 72rem) {
  html body.tdn-route-archive .tdn-grid--wide {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  html body.tdn-route-archive .tdn-grid--wide > .tdn-card:nth-child(-n + 2) {
    grid-column: span 3;
  }
  html body.tdn-route-archive .tdn-grid--wide > .tdn-card:nth-child(n + 3) {
    grid-column: span 2;
  }
}
