/* Page-specific visitor styles moved out of Jinja template. */
.route-page {
  max-width: 980px;
  margin: 0 auto;
  padding-bottom: 28px;
}
.route-hero {
  padding: 42px;
  border: 1px solid rgba(137, 105, 72, 0.22);
  background: rgba(255, 252, 247, 0.72);
  border-radius: 30px;
  margin: 34px 0 24px;
  text-align: center;
}
.route-hero h1 {
  margin: 8px auto 14px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.98;
}
.route-hero .lead {
  max-width: 760px;
  line-height: 1.7;
  margin-left: auto;
  margin-right: auto;
}
.route-gallery {
  margin: 26px auto 4px;
  max-width: 820px;
  text-align: left;
}
.route-gallery .public-gallery-main img,
.route-gallery .public-gallery-swipe-slide img {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 520px;
  object-fit: cover;
  border-radius: 22px;
}
.route-gallery .public-gallery-swipe-track,
.route-gallery .public-gallery-swipe-slide {
  border-radius: 22px;
}
.route-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}
.route-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(138, 104, 69, 0.09);
  font-size: 0.85rem;
  font-weight: 700;
}
.route-map-action {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.route-qr-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  max-width: 620px;
  margin: 28px auto 0;
  padding: 20px 22px;
  border: 1px solid rgba(137, 105, 72, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.48);
  text-align: left;
}
.route-qr-card img {
  width: 132px;
  height: 132px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(70, 50, 30, 0.08);
}
.route-qr-copy {
  min-width: 0;
}
.route-qr-copy .section-label {
  margin-bottom: 6px;
}
.route-qr-copy h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}
.route-qr-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.94rem;
}
.route-stops {
  margin: 34px 0;
}
.route-stops-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.route-stops-heading .section-label {
  margin: 0;
}
.route-stop-access {
  margin-top: 2px !important;
}
.route-footer {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 30px 0;
}
@media (max-width: 760px) {
  .route-hero {
    padding: 28px 22px;
  }
  .route-gallery {
    margin-top: 22px;
  }
  .route-qr-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .route-qr-card img {
    width: 150px;
    height: 150px;
  }
}
