/* Sichuan Tibet14 adapter to the approved Sichuan route standard.
   Retains its road/rail keys, coordinates, photo focal rules and text-only days. */
.sichuan-tibet-standard .p-herocopy h1 {
  font-size: clamp(52px, 6.2vw, 88px);
  line-height: 1.16;
  max-width: 100%;
}
.sichuan-tibet-standard .p-daychips {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.sichuan-tibet-standard .e01-day-facts {
  font-size: 14px;
  line-height: 1.7;
  color: var(--route-muted);
  margin-block: 20px;
}
.sichuan-tibet-standard #picked-mode {
  font: 400 27px/1.25 Fraunces, Georgia, serif;
  letter-spacing: -.02em;
}
.sichuan-tibet-standard .e01-photographs {
  padding-top: 0;
  padding-bottom: 40px;
}
.sichuan-tibet-standard .e01-gallery > summary {
  font: 400 27px/1.3 Fraunces, Georgia, serif;
  letter-spacing: -.02em;
  min-height: 76px;
}
.sichuan-tibet-standard .e01-gallery > summary small {
  font: 400 14px/1.6 "Work Sans", sans-serif;
}
.sichuan-tibet-standard .e01-gallery-grid figcaption {
  font: 400 13px/1.6 "Work Sans", sans-serif;
  color: var(--route-muted);
}
.sichuan-tibet-standard .e01-map-context .p-map-caption {
  font-size: 13px !important;
  line-height: 1.65;
}
.sichuan-tibet-standard .e01-related { gap: 16px 24px; }
.sichuan-tibet-standard .e01-related h3 {
  font: 400 23px/1.3 Fraunces, Georgia, serif !important;
  margin-block: 12px;
}
.sichuan-tibet-standard .e01-related a { font-size: 14px !important; }

@media (max-width: 760px) {
  .sichuan-tibet-standard .p-herocopy h1 {
    font-size: clamp(44px, 10vw, 60px);
  }
  .sichuan-tibet-standard .p-daychips {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .sichuan-tibet-standard .p-map-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
    white-space: normal;
  }
  .sichuan-tibet-standard .p-map-tabs button {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .sichuan-tibet-standard .p-map-toolbar > span {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .sichuan-tibet-standard .e01-gallery > summary {
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 25px;
  }
  .sichuan-tibet-standard .e01-photographs { padding-bottom: 24px; }
}
