/* ==========================================================================
   MIKI KOUTSU - 行程详情页统一样式表 (终极防隐藏版)
   ========================================================================== */
:root {
  --it-ink: #282823;
  --it-muted: #706f68;
  --it-gold: #b39761;
  --it-line: #e4e0d7;
  --it-paper: #faf9f6;
  --it-white: #ffffff;
  --it-font-sans: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --it-font-serif: "Noto Serif TC", "Noto Serif JP", "Songti TC", serif;
}

.it-page {
  width: 100%;
  background: var(--it-white);
  color: var(--it-ink);
  font-family: var(--it-font-sans);
  font-size: 16px;
  line-height: 1.85;
  overflow: hidden;
}
.it-page * { box-sizing: border-box !important; }
.it-page a { text-decoration: none !important; }
.it-page h1, .it-page h2, .it-page h3, .it-page p, .it-page ul { margin: 0 !important; padding: 0 !important; }

.it-container { width: min(1000px, calc(100% - 48px)); margin: 0 auto; }
.it-kicker { color: var(--it-gold) !important; font-size: 11px; font-weight: 500; letter-spacing: 3px; margin-bottom: 12px !important; }
.it-section { padding: 90px 0; }
.it-section.bg-paper { background: var(--it-paper); }
.it-section-heading { text-align: center; margin-bottom: 50px; }
.it-section-heading h2 { font-family: var(--it-font-serif); font-size: clamp(26px, 3vw, 34px); font-weight: 500; letter-spacing: 1px; color: var(--it-ink) !important; }

.it-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  padding: 14px 30px; border: 1px solid transparent; font-size: 14px; font-weight: 500;
  transition: all 0.3s ease; cursor: pointer;
}
.it-btn-dark { background: var(--it-ink) !important; color: #fff !important; border-color: var(--it-ink) !important; }
.it-btn-dark:hover { background: transparent !important; color: var(--it-ink) !important; }
.it-btn-light { background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,0.6) !important; }
.it-btn-light:hover { background: #fff !important; color: var(--it-ink) !important; }

/* 主视觉 */
.it-hero { position: relative; min-height: 600px; display: flex; align-items: center; color: #fff !important; }
.it-hero-bg { position: absolute; inset: 0; z-index: 0; }
.it-hero-bg img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.it-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,22,20,0.85) 0%, rgba(20,22,20,0.45) 100%); }
.it-hero-content { position: relative; z-index: 1; width: min(1000px, calc(100% - 48px)); margin: 0 auto; padding: 80px 0; }
.it-hero h1 { font-family: var(--it-font-serif) !important; font-size: clamp(36px, 5vw, 56px) !important; font-weight: 400 !important; line-height: 1.3 !important; margin: 16px 0 !important; color: #ffffff !important; }
.it-hero-desc { font-size: 16px; line-height: 2; color: rgba(255,255,255,0.9) !important; max-width: 600px; margin-bottom: 30px !important; }
.it-hero-meta { display: flex; gap: 20px; margin-bottom: 30px !important; font-size: 13px; color: rgba(255,255,255,0.8) !important; }
.it-hero-meta span { padding-left: 20px; border-left: 1px solid rgba(255,255,255,0.3); }
.it-hero-meta span:first-child { padding-left: 0; border: none; }

/* ================= 核心亮点 (全新结构) ================= */
.it-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.it-hl-card { text-align: center; display: flex; flex-direction: column; }
.it-img-box { width: 100% !important; aspect-ratio: 4/3 !important; margin-bottom: 20px !important; overflow: hidden !important; }
.it-img-box img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
.it-hl-text h3 { font-family: var(--it-font-serif); font-size: 20px; font-weight: 500; margin-bottom: 10px !important; color: var(--it-ink) !important; }
.it-hl-text p { color: var(--it-muted) !important; font-size: 14px; }

/* 时间轴 */
.it-timeline { position: relative; max-width: 800px; margin: 0 auto; }
.it-day { display: grid; grid-template-columns: 80px 1fr; gap: 60px; margin-bottom: 40px; position: relative; }
.it-day-marker { text-align: right; padding-top: 5px; }
.it-day-marker span { display: block; font-size: 10px; font-weight: 600; letter-spacing: 1px; color: var(--it-gold) !important; }
.it-day-marker strong { font-family: var(--it-font-serif); font-size: 32px; font-weight: 400; line-height: 1; color: var(--it-ink) !important; }
.it-day-content { padding-left: 30px; border-left: 2px solid transparent; }
.it-timeline::before { display: none; }
.it-day { border-left: 1px solid var(--it-line); }
.it-day::before { content: ""; position: absolute; left: 0; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--it-gold) !important; transform: translateX(-50%); }
.it-day-route { color: var(--it-gold) !important; font-size: 12px; font-weight: 600; letter-spacing: 1px; margin-bottom: 8px !important; }
.it-day h3 { font-family: var(--it-font-serif); font-size: 22px; font-weight: 500; margin-bottom: 16px !important; color: var(--it-ink) !important; }
.it-day-detail { background: #fff; padding: 20px 24px; border: 1px solid var(--it-line); margin-bottom: 16px !important; }
.it-section.bg-paper .it-day-detail { border: none; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.it-time-row { display: flex; gap: 15px; margin-bottom: 8px !important; font-size: 14px; }
.it-time-row:last-child { margin-bottom: 0 !important; }
.it-time-row span { font-weight: 600; color: var(--it-gold) !important; flex-shrink: 0; min-width: 45px; }
.it-time-row p { color: var(--it-muted) !important; }
.it-stay { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--it-ink) !important; }
.it-stay span { background: var(--it-gold) !important; color: #fff !important; padding: 2px 8px; font-size: 11px; }

/* 底部 CTA */
.it-cta { padding: 80px 0; text-align: center; background: #f4f1ea !important; }
.it-cta h2 { font-family: var(--it-font-serif); font-size: 32px; font-weight: 500; margin-bottom: 16px !important; color: var(--it-ink) !important; }
.it-cta p { color: var(--it-muted) !important; margin-bottom: 30px !important; font-size: 15px; }

/* ==========================================================================
   移动端“强制弹出”文字版
   ========================================================================== */
@media (max-width: 768px) {
  .it-section { padding: 60px 0; }
  .it-hero { min-height: 500px; }
  
  .it-highlights { 
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important; 
  }
  
  .it-hl-card {
    display: block !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    overflow: hidden !important; 
    padding-bottom: 20px !important;
  }
  
  .it-img-box {
    width: 100% !important;
    height: 220px !important;
    margin-bottom: 15px !important;
  }
  
  /* 文字容器强制显示 */
  .it-hl-text {
    display: block !important;
    padding: 0 15px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .it-hl-text h3 {
    display: block !important;
    font-size: 20px !important;
    color: #282823 !important;
    text-align: center !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.4 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .it-hl-text p {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #706f68 !important;
    text-align: center !important;
    margin: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .it-day { 
    grid-template-columns: 50px 1fr !important; 
    gap: 15px !important; 
  }
  .it-day-marker strong { font-size: 22px !important; }
  .it-day-content { padding-left: 15px !important; }
  .it-day-detail { padding: 15px !important; }
  .it-time-row { flex-direction: column !important; gap: 5px !important; margin-bottom: 12px !important; }
  .it-time-row span { min-width: auto !important; }
}