/* ========== 张家界旅游攻略详情页 ========== */
.guide-page {
  --guide-accent: #f98516;
  --guide-text: #222;
  --guide-muted: #666;
}

.guide-page .guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--guide-muted);
  margin: -4px 0 16px;
}

.guide-page .guide-meta span {
  position: relative;
}

.guide-page .guide-article {
  max-width: 920px;
}

.guide-page .guide-article > p {
  font-size: 15px;
  line-height: 1.85;
  color: #444;
  margin-bottom: 16px;
}

.guide-page .guide-figure {
  margin: 28px 0;
  line-height: 0;
}

.guide-page .guide-figure img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.guide-page .guide-figure figcaption {
  line-height: 1.5;
  font-size: 12px;
  color: #888;
  padding: 8px 0 0;
}

.guide-page .guide-h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--guide-text);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0e6d8;
}

.guide-page .guide-h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--guide-text);
  margin: 22px 0 10px;
}

.guide-page .guide-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  counter-reset: guide-n;
}

.guide-page .guide-list > li {
  counter-increment: guide-n;
  position: relative;
  padding: 16px 16px 16px 56px;
  margin-bottom: 12px;
  background: #fff;
  border-left: 3px solid var(--guide-accent);
  box-shadow: 0 2px 3px -1px #d2d2d2;
}

.guide-page .guide-list > li::before {
  content: counter(guide-n);
  position: absolute;
  left: 14px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--guide-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.guide-page .guide-list .item-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--guide-text);
  margin-bottom: 6px;
}

.guide-page .guide-list .item-body {
  display: block;
  font-size: 14px;
  line-height: 1.75;
  color: #555;
}

.guide-page .guide-tips {
  margin: 24px 0;
  padding: 18px 20px;
  background: #fffaf3;
  border-left: 3px solid var(--guide-accent);
}

.guide-page .guide-tips h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--guide-text);
}

.guide-page .guide-tips p,
.guide-page .guide-tips li {
  font-size: 14px;
  line-height: 1.75;
  color: #555;
}

.guide-page .guide-tips ul {
  margin: 0;
  padding-left: 18px;
}

.guide-page .guide-table-wrap {
  overflow-x: auto;
  margin: 18px 0 28px;
}

.guide-page .guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  box-shadow: 0 2px 3px -1px #d2d2d2;
}

.guide-page .guide-table th,
.guide-page .guide-table td {
  border: 1px solid #eee;
  padding: 12px 14px;
  text-align: left;
  line-height: 1.6;
  color: #444;
}

.guide-page .guide-table th {
  background: #faf6f0;
  font-weight: 700;
  color: var(--guide-text);
}

.guide-page .guide-back {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--guide-accent);
  text-decoration: none;
}

.guide-page .guide-back:hover {
  text-decoration: underline;
}

.guide-page .guide-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 12px;
}

.guide-page .guide-related-grid a {
  display: block;
  padding: 14px 16px;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
  box-shadow: 0 2px 3px -1px #d2d2d2;
  border-top: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.guide-page .guide-related-grid a:hover {
  border-top-color: var(--guide-accent);
  color: var(--guide-accent);
}

@keyframes guideFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.guide-page .attr-head,
.guide-page .guide-article,
.guide-page .guide-list > li {
  animation: guideFadeUp 0.5s ease both;
}

.guide-page .guide-list > li:nth-child(2) { animation-delay: 0.05s; }
.guide-page .guide-list > li:nth-child(3) { animation-delay: 0.1s; }
.guide-page .guide-list > li:nth-child(4) { animation-delay: 0.15s; }
.guide-page .guide-list > li:nth-child(5) { animation-delay: 0.2s; }

@media (max-width: 991px) {
  .guide-page .guide-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .guide-page .guide-related-grid {
    grid-template-columns: 1fr;
  }
  .guide-page .guide-h2 {
    font-size: 20px;
  }
  .guide-page .guide-list > li {
    padding-left: 50px;
  }
}
