/* ==========================================================================
   baokao-riqi.html 考试时间页专属样式
   母题：示例月历网格 + 报名节点时间轴（虚线·邮票日历节点）
   ========================================================================== */

/* ---------- 1. 头图 ---------- */
.rq-hero {
  background: linear-gradient(105deg, rgba(52,49,41,.88), rgba(52,49,41,.55)),
    url("../images/peixun-kaoshi.jpg") center/cover no-repeat;
  color: #fff; padding: clamp(130px,15vw,180px) 0 clamp(50px,6vw,76px);
}
.rq-hero .crumbs { color: rgba(255,255,255,.8); margin-bottom: 24px; }
.rq-hero .crumbs a { color: #fff; }
.rq-hero .crumbs .sep { color: rgba(255,255,255,.5); }
.rq-hero .eyebrow { color: var(--khaki-200); }
.rq-hero h1 { color: #fff; margin: 6px 0 16px; }
.rq-lead { color: rgba(255,255,255,.92); max-width: 640px; line-height: 1.9; }

/* 首屏数据带 */
.rq-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 34px; max-width: 860px;
}
.rq-stats li {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-m); padding: 16px 18px; backdrop-filter: blur(4px);
}
.rq-stats strong { display: block; font-size: 22px; font-weight: 800; color: #fff; line-height: 1.2; }
.rq-stats span { display: block; font-size: 12.5px; color: rgba(255,255,255,.82); margin-top: 4px; line-height: 1.5; }

/* ---------- 2. 考期参考表 ---------- */
.rq-batch { background: var(--paper); }
.rq-batch-wrap {
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(22px,3vw,34px); overflow-x: auto;
}
.rq-batch table th { background: var(--khaki-100); color: var(--khaki-800); font-size: 13.5px; }
.rq-batch table td { border-bottom: 1px solid var(--line); font-size: 14px; }
.rq-batch table tbody tr:nth-child(odd) td { background: var(--paper); }
.rq-batch-note { font-size: 12.5px; color: var(--ink-faint); margin: 16px 0 0; }

/* ---------- 4.5 时间 FAQ ---------- */
.rq-faq { background: var(--paper); }
.rq-faq .faq-list { max-width: 820px; margin-inline: auto; }

/* ---------- 2. 月历 ---------- */
.rq-cal-sec { background: var(--mist); }
.rq-cal-wrap {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(24px,4vw,40px); box-shadow: var(--shadow-s);
}
.rq-cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.rq-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--ink-soft); }
.rq-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg-sign { background: var(--khaki-300); }
.lg-exam { background: var(--stamp); }
.lg-card { background: var(--khaki-500); }

.rq-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.rq-week span {
  text-align: center; font-size: 12.5px; font-weight: 700; color: var(--khaki-600);
  padding: 6px 0; letter-spacing: .1em;
}
.rq-days span {
  aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; background: var(--mist); border-radius: 8px; color: var(--ink-soft);
  position: relative;
}
.rq-days span small { font-size: 9.5px; font-weight: 400; margin-top: 2px; opacity: .85; }
.rq-days .off { visibility: hidden; background: transparent; }
.rq-days .sign { background: var(--khaki-200); color: var(--khaki-800); }
.rq-days .card { background: var(--khaki-400); color: #fff; }
.rq-days .exam { background: var(--stamp); color: #fff; box-shadow: 0 4px 12px rgba(178,90,51,.35); }
.rq-cal-note { font-size: 12.5px; color: var(--ink-faint); margin: 18px 0 0; }

/* ---------- 3. 节点时间轴（虚线） ---------- */
.rq-nodes { background: var(--paper); }
.rq-tl { max-width: 780px; margin-inline: auto; }
.rq-tl .tl-row { --tw: 108px; --aw: 52px; padding: 12px 0; align-items: center; }
.rq-tl .tl-row::before { background: none; border-left: 2px dashed var(--khaki-300); }
.rq-tl .tl-time { text-align: right; padding-right: 14px; }
.rq-tl .tl-time em {
  font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--khaki-600);
  background: var(--khaki-100); padding: 3px 8px; border-radius: 5px; white-space: nowrap;
}
.rq-tl .tl-node {
  width: 42px; height: 42px; border-radius: 10px; transform: translate(-50%,-50%) rotate(-4deg);
  background: var(--paper); border: 1.5px solid var(--khaki-400); color: var(--khaki-600);
}
.rq-tl .tl-node svg { width: 19px; height: 19px; }
.rq-tl .tl-row:nth-child(even) .tl-node { background: var(--khaki-600); color: #fff; border-color: var(--khaki-600); }
@keyframes rqFloat {
  0%,100% { transform: translate(-50%,-50%) rotate(-4deg); }
  50% { transform: translate(-50%,-56%) rotate(-4deg); }
}
.rq-tl .tl-node.anim { animation: rqFloat 3.4s ease-in-out infinite; }
.rq-tl .tl-body { padding: 4px 0 4px 22px; }
.rq-tl .tl-body h3 { font-size: 16.5px; margin-bottom: 3px; }
.rq-tl .tl-body p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.rq-tl .tl-body a { color: var(--stamp); border-bottom: 1px dashed var(--stamp); }

/* ---------- 4. 说明带 ---------- */
.rq-note-band { background: var(--sand); padding: clamp(44px,6vw,70px) 0; }
.rq-note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.rq-note-grid h3 { font-size: 18px; margin-bottom: 10px; }
.rq-note-grid p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .rq-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .rq-tl .tl-row { --tw: 80px; --aw: 38px; }
  .rq-tl .tl-node { width: 32px; height: 32px; }
  .rq-tl .tl-node svg { width: 15px; height: 15px; }
  .rq-tl .tl-body { padding-left: 14px; }
  .rq-tl .tl-time em { font-size: 10.5px; }
  .rq-days span small { display: none; }
  .rq-note-grid { grid-template-columns: 1fr; gap: 18px; }
}
