/* ==========================================================================
   shangqiu-xiayi.html 夏邑县属地页专属样式
   母题：镜像首屏（图左文右）+ 数据行 + 项目周期轴（菱形节点·虚线）
   ========================================================================== */

/* ---------- 1. 镜像首屏 ---------- */
.xy-hero { background: var(--mist); padding: clamp(110px, 13vw, 150px) 0 clamp(40px, 5vw, 60px); }
.xy-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.xy-hero-grid > * { min-width: 0; }
.xy-photo img { width: 100%; border-radius: var(--radius-l); box-shadow: var(--shadow-l); border: 6px solid #fff; }
.xy-photo { position: relative; }
.xy-photo figcaption {
  position: absolute; right: 16px; bottom: -14px; background: var(--khaki-800); color: #efe9da;
  font-size: 12px; padding: 6px 16px; border-radius: 50px; letter-spacing: .05em;
}
.xy-copy h1 { margin: 8px 0 16px; }
.xy-lead { font-size: 16.5px; color: var(--ink-soft); }
.xy-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- 2. 区域介绍 + 数据行 ---------- */
.xy-intro { background: var(--paper); }
.xy-intro-copy { max-width: 760px; }
.xy-intro-copy h2 { margin: 6px 0 16px; }
.xy-intro-copy p { color: var(--ink-soft); }
.xy-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.xy-facts > * { min-width: 0; }
.xy-fact {
  background: var(--sand); border: 1px solid var(--khaki-200); border-radius: var(--radius-m);
  padding: 20px 22px; display: flex; flex-direction: column; gap: 6px;
}
.xf-num { font-family: var(--font-serif); font-size: 26px; font-weight: 800; color: var(--stamp); }
.xf-label { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 3. 工地 2x2 ---------- */
.xy-sites { background: var(--mist); }
.xy-sitegrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.xy-sitegrid > * { min-width: 0; }
.xy-site {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.xy-site:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.xy-site-img { aspect-ratio: 16 / 10; overflow: hidden; }
.xy-site-img img { width: 100%; height: 100%; object-fit: cover; }
.xy-site h3 { padding: 18px 22px 4px; }
.xy-site p { padding: 0 22px 20px; font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- 4. 项目周期轴（菱形节点 · 虚线） ---------- */
.xy-tl-section { background: var(--paper); }
.xy-tl { max-width: 780px; margin-inline: auto; }
.xy-tl .tl-row { --tw: 84px; --aw: 56px; padding: 16px 0; }
.xy-tl .tl-axis { position: relative; }
.xy-tl .tl-row::before { border-left: 2px dashed var(--khaki-400); width: 0; background: none; }
.xy-tl .tl-time { display: flex; align-items: center; justify-content: flex-end; padding-right: 16px; }
.xy-tl .tl-time em {
  font-style: normal; font-family: var(--font-serif); font-size: 18px; font-weight: 800; color: var(--khaki-600);
}
.xy-tl .tl-node {
  width: 32px; height: 32px; background: var(--paper); border: 2px solid var(--khaki-500);
  color: var(--khaki-600); rotate: 45deg; border-radius: 7px; box-shadow: 0 0 0 4px var(--mist);
}
.xy-tl .tl-node svg { width: 15px; height: 15px; rotate: -45deg; }
.xy-tl .tl-row:nth-child(even) .tl-node { background: var(--khaki-600); color: #fff; border-color: var(--khaki-600); }
.xy-tl .tl-body { padding: 2px 0 2px 22px; }
.xy-tl .tl-body h3 { font-size: 17px; margin-bottom: 4px; }
.xy-tl .tl-body p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- 5. 岗位表 ---------- */
.xy-demand { background: var(--sand); }
.xy-table {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 10px 6px; box-shadow: var(--shadow-s); overflow-x: auto;
}
.xy-table th { background: var(--khaki-100); color: var(--khaki-800); font-size: 13.5px; }
.xy-table th, .xy-table td { border-bottom: 1px solid var(--line); }
.xy-table td { color: var(--ink-soft); }

/* ---------- 6. 报考清单 ---------- */
.xy-how { background: var(--paper); }
.xy-how-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 54px); align-items: start; }
.xy-how-grid > * { min-width: 0; }
.xy-how-copy h2 { margin: 6px 0 12px; }
.xy-how-copy p { color: var(--ink-soft); }
.xy-check { display: grid; gap: 11px; }
.xy-check li {
  position: relative; padding-left: 32px; font-size: 14.5px; color: var(--ink-soft);
}
.xy-check li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--khaki-100); color: var(--khaki-600); display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
}
.xy-how-more { margin-top: 26px; font-size: 14.5px; color: var(--ink-soft); }
.xy-how-more a { color: var(--stamp); font-weight: 600; border-bottom: 1px dashed var(--stamp); }

.cta-band { background: linear-gradient(120deg, var(--khaki-600), var(--khaki-800)); padding: clamp(48px, 6vw, 80px) 0; }
.cta-inner { text-align: center; }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { color: #d9d2bf; font-size: 15px; margin-bottom: 24px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .xy-hero-grid { grid-template-columns: 1fr; }
  .xy-facts { grid-template-columns: 1fr; }
  .xy-how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .xy-sitegrid { grid-template-columns: 1fr; }
  .xy-tl .tl-row { --tw: 64px; --aw: 44px; }
  .xy-tl .tl-time { padding-right: 8px; }
  .xy-tl .tl-time em { font-size: 14px; }
  .xy-tl .tl-node { width: 28px; height: 28px; }
  .xy-tl .tl-body { padding-left: 14px; }
}
