/* 清迈马拉松页样式 */
.m-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.m-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.m-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 35, 27, 0.1) 30%, rgba(20, 35, 27, 0.75) 100%);
}
.m-hero-content {
  position: relative;
  color: #fff;
  padding-bottom: 36px;
  padding-top: 150px;
}
.m-tag {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.m-hero-content h1 {
  font-size: clamp(1.8rem, 6vw, 2.9rem);
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.m-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 6px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.urgent-wrap {
  margin-top: -20px;
  position: relative;
  z-index: 2;
}
.urgent-bar {
  background: var(--orange-100);
  border: 1.5px solid var(--orange-500);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
/* 报名截止后的状态条：降温处理，不再用橙色制造紧迫感 */
.urgent-bar.closed-bar {
  background: var(--green-100);
  border-color: var(--green-600);
}
.closed-bar .urgent-title {
  color: var(--green-900);
}
.urgent-title {
  font-weight: 800;
  color: var(--orange-600);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.urgent-desc {
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.info-section {
  margin-top: 24px;
}
.info-grid {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
}
.info-item {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.info-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.info-label {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 2px;
}
.info-value {
  font-weight: 700;
  color: var(--green-900);
  font-size: 0.95rem;
}

.story-section {
  padding-top: 52px;
}
.story-grid {
  display: grid;
  gap: 24px;
}
.story-text p:not(.eyebrow) {
  margin-bottom: 14px;
  max-width: 560px;
}
.story-img {
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 360px;
}
.story-img img {
  width: 100%;
  height: auto;
  display: block;
}

.timeline-section {
  padding-top: 52px;
}
.timeline {
  list-style: none;
  padding: 0;
  max-width: 680px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--green-100);
}
.timeline-step {
  position: relative;
  padding: 0 0 22px 32px;
}
.timeline-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange-500);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--orange-500);
}
.tl-time {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--orange-600);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.tl-title {
  font-weight: 700;
  color: var(--green-900);
  font-size: 1.05rem;
}
.tl-desc {
  color: var(--muted);
  font-size: 0.93rem;
}
.tl-note {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 680px;
}

.fees-section {
  padding-top: 52px;
}
.tier-list {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin-bottom: 18px;
}
.tier-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 12px;
  border-radius: var(--radius);
  padding: 14px 18px;
  border: 1px solid var(--line);
}
.tier-past {
  background: var(--sand);
  opacity: 0.6;
}
.tier-past .tier-price {
  text-decoration: line-through;
}
.tier-active {
  background: var(--green-100);
  border: 1.5px solid var(--green-600);
}
.tier-label {
  font-weight: 700;
  color: var(--green-900);
}
.tier-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green-900);
  grid-row: span 2;
  align-self: center;
}
.tier-period {
  font-size: 0.82rem;
  color: var(--muted);
}
.tier-status {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange-600);
}
.tier-past .tier-status {
  color: var(--muted);
}
.fees-wrap {
  display: grid;
  gap: 14px;
  max-width: 680px;
}
.fee-includes {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.fee-includes-title {
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 8px;
}
.fee-includes ul {
  list-style: none;
  padding: 0;
}
.fee-includes li {
  padding: 4px 0;
  font-size: 0.95rem;
}
.fee-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 680px;
}

.faq-section {
  padding-top: 52px;
}
.faq-list {
  max-width: 680px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  background: #fff;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--green-900);
  padding: 15px 18px;
  list-style: none;
  position: relative;
  padding-right: 40px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange-600);
  font-size: 1.3rem;
}
.faq-item[open] summary::after {
  content: '×';
}
.faq-item p {
  padding: 0 18px 16px;
  color: var(--muted);
}

.cta-section {
  padding-top: 52px;
}
.m-cta {
  background: var(--green-900);
  border-radius: calc(var(--radius) + 6px);
  color: #fff;
  text-align: center;
  padding: 44px 24px;
}
.m-cta h2 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}
.trips {
  display: inline-block;
  background: rgba(236, 143, 47, 0.18);
  border: 1px solid rgba(236, 143, 47, 0.5);
  color: #ffd9ae;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.cta-note {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 22px;
}
.back-link {
  margin-top: 22px;
}
.back-link a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}
.disclaimer {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .info-item {
    border-right: 1px solid var(--line);
  }
  .info-item:nth-child(3n) {
    border-right: none;
  }
  .info-item:nth-child(n + 4) {
    border-bottom: none;
  }
  .story-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
  .fees-wrap {
    grid-template-columns: 1fr 1fr;
  }
}
