/* V12 — centered bifurcating path navigation. */

.collection-nav__inner {
  width: min(720px, calc(100% - 36px));
  min-height: 86px;
}

.collection-nav .view-switch {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.collection-nav .view-switch::before {
  content: "";
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 50%;
  width: 1px;
  background: rgba(134, 125, 107, .34);
}

.collection-nav .view-switch button {
  min-height: 86px;
  justify-content: center;
  padding: 0 24px;
  text-align: center;
}

.collection-nav .view-switch small {
  display: none;
}

.collection-nav .view-switch button::after {
  right: 34%;
  left: 34%;
  height: 2px;
  transform-origin: center;
}

.view-panel > .view-heading {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 92px;
  justify-content: center;
  overflow: visible;
  border-top: 1px solid rgba(134, 125, 107, .18);
}

.view-panel > .view-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 22px;
  margin: 0;
  background: rgba(172, 94, 110, .42);
  transform: none;
}

.lens-switch,
.series-switch {
  position: relative;
  display: grid;
  align-items: stretch;
  gap: 0;
  padding-top: 26px;
}

.lens-switch {
  width: min(660px, calc(100% - 36px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.series-switch {
  width: min(480px, calc(100% - 36px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lens-switch::before,
.series-switch::before {
  content: "";
  position: absolute;
  top: 21px;
  height: 1px;
  background: rgba(134, 125, 107, .34);
}

.lens-switch::before {
  right: 16.666%;
  left: 16.666%;
}

.series-switch::before {
  right: 25%;
  left: 25%;
}

.lens-switch button,
.series-switch button {
  position: relative;
  min-height: 65px;
  justify-content: center;
  padding: 14px 14px 0;
  text-align: center;
}

.lens-switch button::before,
.series-switch button::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 1px;
  height: 13px;
  background: rgba(134, 125, 107, .34);
}

.lens-switch button::after,
.series-switch button::after {
  right: calc(50% - 12px);
  left: calc(50% - 12px);
  height: 2px;
  transform-origin: center;
}

.entry-destination header h3,
.entry-destination .reader-related-card span,
.entry-destination .reader-related-card i,
.reader-root-list span {
  font-style: normal;
}

@media (max-width: 760px) {
  .collection-nav__inner {
    width: 100%;
    overflow: visible;
  }

  .collection-nav .view-switch {
    min-width: 0;
    gap: 0;
  }

  .collection-nav .view-switch button {
    min-height: 76px;
    padding-inline: 12px;
  }

  .collection-nav .view-switch span {
    font-size: 17px;
  }

  .view-panel > .view-heading {
    width: 100%;
    min-height: 86px;
    overflow: visible;
  }

  .lens-switch,
  .series-switch {
    min-width: 0;
    justify-content: stretch;
    gap: 0;
  }

  .lens-switch {
    width: calc(100% - 18px);
  }

  .series-switch {
    width: min(330px, calc(100% - 36px));
  }

  .lens-switch button,
  .series-switch button {
    min-height: 59px;
    padding-inline: 5px;
    font-size: 12px;
  }
}
