/* AITC 2026 — Travel guide layout (colors from homepage theme-home-light) */
.travel-page {
  background: var(--home-bg, #f8f9fa);
  color: var(--home-text, #1e293b);
}

.travel-origin-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .travel-origin-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .travel-origin-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.travel-origin-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s;
  font-family: inherit;
  color: inherit;
  box-shadow: 0 6px 20px rgba(0, 33, 91, 0.06);
}
.travel-origin-btn:hover {
  border-color: rgba(0, 33, 91, 0.3);
  transform: translateY(-2px);
}
.travel-origin-btn.active {
  border-color: rgba(0, 33, 91, 0.45);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 33, 91, 0.1);
}
.travel-origin-btn .origin-icon {
  font-size: 1.35rem;
  line-height: 1;
}
.travel-origin-btn .origin-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #00215b;
  line-height: 1.3;
}
.travel-origin-btn .origin-code {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}
.travel-origin-btn .origin-tag {
  font-size: 0.6rem;
  color: #475569;
  margin-top: 0.15rem;
}

.travel-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.travel-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.72rem;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.travel-mode-pill:hover,
.travel-mode-pill.active {
  border-color: rgba(0, 33, 91, 0.35);
  background: rgba(0, 33, 91, 0.06);
  color: #00215b;
}
.travel-mode-pill .rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.travel-route-panel {
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 8px 28px rgba(0, 33, 91, 0.08);
}
.travel-route-panel.hidden-panel {
  display: none;
}
.travel-route-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}
.travel-badge-rec {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.22);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #15803d;
}

.travel-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}
.travel-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.travel-step::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 3.5rem;
  bottom: -0.5rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(0, 33, 91, 0.22), transparent);
}
.travel-step:last-child::before {
  display: none;
}
.travel-step-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(0, 33, 91, 0.18);
  background: rgba(0, 33, 91, 0.06);
  color: #00215b;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.travel-step-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #00215b;
  margin-bottom: 0.25rem;
}
.travel-step-desc {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.65;
}
.travel-step-eta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #00215b;
}

.travel-tips {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 33, 91, 0.12);
  background: rgba(0, 33, 91, 0.04);
}
.travel-tips li {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.55;
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.35rem;
}
.travel-tips li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #00215b;
}
.travel-stations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.travel-station-chip {
  font-size: 0.68rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8f9fa;
  color: #475569;
}

.travel-essentials {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .travel-essentials {
    grid-template-columns: repeat(2, 1fr);
  }
}
.travel-essential-item {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 33, 91, 0.06);
}
.travel-essential-item .e-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}
.travel-essential-item .e-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00215b;
  margin-bottom: 0.2rem;
}
.travel-essential-item .e-text {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.55;
}

.travel-inline-link {
  color: #00215b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.travel-inline-link:hover {
  color: #001845;
}

.travel-origin-panel {
  display: none;
  animation: travelFade 0.35s ease both;
}
.travel-origin-panel.active {
  display: block;
}
@keyframes travelFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
