body.inner-page.routing-page {
  background: #080808;
  color: #fff;
  font: 14px/1.6 'Courier New', Courier, monospace;
}

body.inner-page.routing-page main :is(h2, p, a) {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-transform: none;
}

.routing-page .routing-entry > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3.3;
  object-fit: cover;
  filter: grayscale(1);
}

.routing-page .routing-entry-copy {
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  align-items: start;
  gap: 32px;
  padding: 26px 0 42px;
}

body.routing-page .routing-entry-copy :is(h2, p) {
  margin: 0;
}

.routing-page .routing-entry-copy a {
  white-space: nowrap;
}

.routing-page .routing-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-top: 32px;
  border-top: 1px dashed var(--line, #555);
}

.routing-page .routing-detail {
  min-width: 0;
}

.routing-page .routing-detail > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.65;
  object-fit: cover;
  filter: grayscale(1);
  margin-bottom: 24px;
}

body.routing-page .routing-detail h2 {
  margin: 0 0 12px;
}

body.routing-page .routing-detail p {
  margin: 0;
}

.routing-page .routing-next {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 32px;
  padding: 38px 0 0;
}

@media (max-width: 800px) {
  .routing-page .routing-entry-copy {
    grid-template-columns: 1fr 2fr;
    gap: 16px 24px;
  }

  .routing-page .routing-entry-copy a {
    grid-column: 2;
  }

  .routing-page .routing-details {
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .routing-page .routing-entry > img {
    aspect-ratio: 1.65;
  }

  .routing-page .routing-entry-copy {
    display: flex;
    flex-direction: column;
    padding: 22px 0 30px;
  }

  .routing-page .routing-details {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 28px;
  }

  .routing-page .routing-detail > img {
    aspect-ratio: 1.8;
    margin-bottom: 20px;
  }

  .routing-page .routing-next {
    justify-content: flex-start;
    padding-top: 30px;
  }
}
