.network-strip {
  background: #f7f8f7;
  border-bottom: 1px solid var(--line);
}

.network-inner {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  column-gap: 13px;
}

.network-inner > span {
  color: var(--muted);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.network-inner ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}

.network-inner a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 42px;
  padding: 4px 8px;
  border-bottom: 2px solid transparent;
  line-height: 1.18;
}

.network-inner a strong { font-size: .72rem; font-weight: 700; }
.network-inner a > span { margin-top: 2px; color: var(--muted); font-size: .62rem; }
.network-inner a:hover, .network-inner a[aria-current] {
  border-bottom-color: var(--ink);
  background: #e9ecea;
}

@media (min-width: 1280px) {
  .network-inner ul { grid-template-columns: repeat(10, minmax(0, 1fr)); }
}

.journey-pathways {
  padding-block: 4px clamp(30px, 5vw, 66px);
}

.journey-support {
  padding-block: clamp(38px, 5.2vw, 70px) 0;
}

.journey-pathways .eyebrow {
  margin-bottom: 9px;
}

.journey-pathways h2, .journey-support h2 {
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  margin-bottom: 22px;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1100px) {
  .journey-pathways .journey-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.journey-grid a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: clamp(14px, 2vw, 23px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  transition: background-color .16s, border-color .16s;
}

.journey-grid a:hover {
  background: #f4f4f4;
  border-color: #8b8b8b;
}

.journey-grid strong {
  font-size: clamp(1.12rem, 1.6vw, 1.4rem);
  line-height: 1.18;
  letter-spacing: -.025em;
}

.journey-grid a:hover strong, .journey-pathways strong {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.journey-grid span {
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.47;
}

.journey-grid .journey-destination {
  display: block;
  margin-top: auto;
  padding-top: 4px;
  color: var(--ink);
  font-size: .86rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ranking-mode-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 22px;
}

.ranking-mode-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 600;
  font-size: .9rem;
}

.ranking-mode-nav a:hover {
  border-color: #8b8b8b;
}

.ranking-mode-nav a[aria-current] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

@media (max-width: 830px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .header-inner [data-primary-nav] { grid-column: 1 / -1; width: 100%; }
  .network-inner { grid-template-columns: minmax(0, 1fr); }
  .network-inner > span { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .network-inner ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header .language-switch { grid-column: 2; grid-row: 1; }
}

@media (max-width: 430px) {
  .journey-grid { grid-template-columns: 1fr; gap: 8px; }
  .network-inner a { padding-inline: 5px; }
}

@media print {
  .network-strip, .ranking-mode-nav { display: none; }
}
.site-header .language-switch {
  display: flex;
  width: auto;
  flex: 0 0 auto;
  gap: 4px;
  overflow: visible;
}

.site-header .language-switch a {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.site-header .language-switch a[aria-current] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

