/* =====================
   子页面专用样式
   ===================== */

/* ----- Page Banner ----- */
.page-banner {
  padding: 80px 0;
  text-align: center;
  color: #fff;
  position: relative;
}
.page-banner-text h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.page-banner-text p {
  font-size: 16px;
  opacity: 0.9;
  letter-spacing: 3px;
}

/* ----- Breadcrumb ----- */
.breadcrumb {
  background: #f5f5f5;
  padding: 10px 0;
  font-size: 13px;
  color: #999;
}
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #007d9e; }
.breadcrumb span { color: #333; }

/* ----- Page Content ----- */
.page-content { padding: 40px 0; }

/* ----- About Page ----- */
.about-section h2 {
  font-size: 32px;
  color: #004d66;
  text-align: center;
  margin-bottom: 6px;
}
.about-subtitle {
  text-align: center;
  color: #888;
  margin-bottom: 30px;
  font-size: 16px;
}
.about-intro {
  display: flex;
  gap: 30px;
}
.about-text { flex: 1; }
.about-text h3 {
  font-size: 20px;
  color: #004d66;
  margin: 25px 0 12px;
  padding-left: 12px;
  border-left: 4px solid #007d9e;
}
.about-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 12px;
}
.about-advantages {
  list-style: none;
  padding: 0;
}
.about-advantages li {
  padding: 10px 0;
  border-bottom: 1px dashed #e8e8e8;
  font-size: 14px;
  color: #555;
}
.about-sidebar { width: 320px; flex-shrink: 0; }
.about-contact-card {
  background: #f5fafc;
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 80px;
}
.about-contact-card h4 {
  font-size: 18px;
  color: #004d66;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #007d9e;
}
.about-contact-card p {
  margin-bottom: 8px;
  font-size: 14px;
  color: #555;
}
.about-qr {
  margin-top: 15px;
  text-align: center;
}

/* Timeline */
.about-timeline {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid #e8e8e8;
}
.about-timeline h3 {
  font-size: 22px;
  color: #004d66;
  text-align: center;
  margin-bottom: 30px;
}
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #007d9e, #00b4d8);
}
.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 30px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: #007d9e;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #007d9e;
}
.timeline-year {
  font-size: 24px;
  font-weight: 700;
  color: #007d9e;
  margin-bottom: 4px;
}
.timeline-content h4 {
  font-size: 16px;
  color: #333;
  margin-bottom: 4px;
}
.timeline-content p {
  font-size: 14px;
  color: #888;
}

/* ----- Help Page ----- */
.help-layout {
  display: flex;
  gap: 30px;
}
.help-sidebar {
  width: 240px;
  flex-shrink: 0;
}
.help-nav {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 80px;
  overflow: hidden;
}
.help-nav li { border-bottom: 1px solid #f0f0f0; }
.help-nav li:last-child { border-bottom: none; }
.help-nav a {
  display: block;
  padding: 12px 18px;
  font-size: 14px;
  color: #555;
  transition: all 0.3s;
}
.help-nav a:hover { background: #f0f7fa; color: #007d9e; }
.help-nav .help-nav-active {
  background: #007d9e;
  color: #fff;
}
.help-nav .help-nav-active:hover { color: #fff; }
.help-content { flex: 1; }
.help-section {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.help-section h2 {
  font-size: 22px;
  color: #004d66;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #007d9e;
}
.help-item {
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}
.help-item:last-child { border-bottom: none; }
.help-item h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 6px;
}
.help-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}
.help-phone { font-size: 16px; }

/* ----- Route Filter ----- */
.route-filter {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.filter-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}
.filter-group:last-child { margin-bottom: 0; }
.filter-group label {
  width: 80px;
  flex-shrink: 0;
  font-size: 14px;
  color: #666;
  padding-top: 5px;
}
.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-tags .tag {
  display: inline-block;
  padding: 5px 16px;
  font-size: 13px;
  color: #666;
  background: #f5f5f5;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-tags .tag:hover { background: #e8f4f8; color: #007d9e; }
.filter-tags .tag.active {
  background: #007d9e;
  color: #fff;
}

/* ----- Route Grid ----- */
.route-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.article-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.article-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.article-card a { display: block; color: inherit; }
.article-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #e9ecef;
}
.article-card-body { padding: 14px; }
.article-card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card:hover .article-card-title { color: #007d9e; }
.article-card-meta {
  font-size: 12px;
  color: #999;
}

/* ----- Route Card (for grid) ----- */
.route-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.route-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.route-card a { display: block; color: inherit; }
.route-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #e9ecef;
}
.route-card-body { padding: 14px; }
.route-card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.route-card:hover .route-card-title { color: #007d9e; }
.route-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.route-card-days { font-size: 12px; color: #666; }
.route-card-price { font-size: 14px; color: #ff8c00; font-weight: 700; }
.route-card-price span { font-size: 20px; }

/* ----- Pagination ----- */
.pagination {
  text-align: center;
  padding: 30px 0;
}
.pagination a, .pagination span {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 3px;
  border-radius: 6px;
  font-size: 14px;
  color: #666;
  background: #fff;
  border: 1px solid #e0e0e0;
  transition: all 0.3s;
}
.pagination a:hover { background: #e8f4f8; border-color: #007d9e; color: #007d9e; }
.pagination .active {
  background: #007d9e;
  color: #fff;
  border-color: #007d9e;
}

/* ----- News Categories ----- */
.news-categories {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.news-categories .tag {
  padding: 6px 20px;
  border-radius: 20px;
  background: #f0f0f0;
  color: #666;
  font-size: 14px;
  transition: all 0.3s;
}
.news-categories .tag:hover, .news-categories .tag.active {
  background: #007d9e;
  color: #fff;
}

/* ----- Search Stats ----- */
.search-stats {
  background: #fff;
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}
.search-stats strong { color: #007d9e; }

/* ----- Article Detail ----- */
.article-layout {
  display: flex;
  gap: 30px;
}
.article-main { flex: 1; }
.article-title {
  font-size: 28px;
  color: #004d66;
  margin-bottom: 15px;
  line-height: 1.4;
}
.article-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #999;
  padding-bottom: 15px;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 25px;
}
.article-body {
  font-size: 15px;
  color: #444;
  line-height: 2;
}
.article-body h2, .article-body h3 {
  margin: 25px 0 12px;
  color: #004d66;
}
.article-body p { margin-bottom: 16px; }
.article-body img {
  width: 100%;
  border-radius: 10px;
  margin: 16px 0;
}
.article-footer {
  margin-top: 30px;
  padding: 20px;
  background: #f5fafc;
  border-radius: 10px;
}
.article-footer p { margin-bottom: 6px; font-size: 14px; }
.article-share {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.share-btn {
  display: inline-block;
  padding: 8px 20px;
  background: #007d9e;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  transition: all 0.3s;
}
.share-btn:hover { background: #005f7a; color: #fff; }

/* Sidebar */
.article-sidebar {
  width: 320px;
  flex-shrink: 0;
}
.sidebar-widget {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.sidebar-widget h3 {
  font-size: 16px;
  color: #004d66;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #007d9e;
}
.sidebar-contact p {
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
}
.sidebar-news li {
  padding: 8px 0;
  border-bottom: 1px dashed #e8e8e8;
}
.sidebar-news li:last-child { border-bottom: none; }
.sidebar-news a {
  font-size: 13px;
  color: #555;
}
.sidebar-news a:hover { color: #007d9e; }

/* ----- Route Detail ----- */
.route-detail-layout {
  display: flex;
  gap: 30px;
}
.route-detail-main { flex: 1; }
.route-detail-gallery {
  width: 100%;
  height: 400px;
  background: #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 25px;
}
.route-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.route-detail-info h1 {
  font-size: 26px;
  color: #004d66;
  margin-bottom: 12px;
}
.rd-tags { display: flex; gap: 8px; margin-bottom: 12px; }
.rd-tags span {
  padding: 3px 12px;
  background: #e8f4f8;
  color: #007d9e;
  border-radius: 4px;
  font-size: 12px;
}
.rd-meta {
  display: flex;
  gap: 25px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #666;
}
.rd-highlights {
  margin-bottom: 20px;
}
.rd-highlights li {
  padding: 6px 0;
  font-size: 14px;
  color: #555;
}
.rd-contact-bar {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}
.rd-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s;
  text-align: center;
}
.rd-btn-phone {
  background: #ff8c00;
  color: #fff;
}
.rd-btn-phone:hover { background: #e67e00; color: #fff; }
.rd-btn-book {
  background: #007d9e;
  color: #fff;
}
.rd-btn-book:hover { background: #005f7a; color: #fff; }

.route-detail-body {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid #e8e8e8;
}
.itinerary-day {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
}
.itinerary-day h3 {
  font-size: 16px;
  color: #004d66;
  margin-bottom: 8px;
}
.itinerary-day p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about-intro { flex-direction: column; }
  .about-sidebar { width: 100%; }
  .help-layout { flex-direction: column; }
  .help-sidebar { width: 100%; }
  .help-nav { position: static; display: flex; flex-wrap: wrap; }
  .help-nav li { flex: 1; min-width: 120px; }
  .route-grid { grid-template-columns: repeat(3, 1fr); }
  .article-layout { flex-direction: column; }
  .article-sidebar { width: 100%; }
  .route-detail-layout { flex-direction: column; }
}

@media (max-width: 768px) {
  .page-banner { padding: 50px 0; }
  .page-banner-text h1 { font-size: 28px; }
  .route-grid { grid-template-columns: repeat(2, 1fr); }
  .rd-meta { flex-direction: column; gap: 8px; }
  .rd-contact-bar { flex-direction: column; }
  .route-detail-gallery { height: 250px; }
}
