/* style.css — 种植农具大全 首页布局
   分区高度按 03-ui/home-ui-desktop.png 的预算落位（1440×2160）：
   header 68 / hero 428 / topics 394 / picks 290 / timeline 250 /
   checklist+reads 290 / faq+scope+notice 215 / footer strip 70 / footer deep 155 */

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  height: 428px;
  background: linear-gradient(100deg, var(--bg-blue-1) 0%, var(--bg-blue-2) 38%, var(--bg-blue-3) 62%, var(--bg-blue-4) 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 610px) minmax(0, 1fr);
  gap: 34px;
  height: 100%;
  align-items: center;
}
.hero-copy { padding: 8px 0 0; position: relative; z-index: 2; }
.hero-eyebrow { display: flex; align-items: baseline; gap: 12px; }
.hero-eyebrow .cn { font-family: var(--font-serif); font-size: 15px; color: var(--brand-deep); letter-spacing: .06em; }
.hero-eyebrow .en { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-size: 9.5px; letter-spacing: .2em; color: var(--ink-3); }
.hero h1 {
  margin: 14px 0 14px;
  font-size: 40px; line-height: 1.24; letter-spacing: .01em; color: var(--ink-hero);
}
.hero-lead { font-size: 13px; line-height: 1.9; color: var(--ink-hero-2); max-width: 590px; }
.hero-actions { display: flex; gap: 10px; margin-top: 20px; }
.hero-stats { display: flex; gap: 26px; margin-top: 22px; }
.hero-stat { display: flex; align-items: baseline; gap: 6px; padding-left: 12px; border-left: 1px solid rgba(45,108,46,.3); }
.hero-stat:first-child { padding-left: 0; border-left: 0; }
.hero-stat-num { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--brand-deep); }
.hero-stat-label { font-size: 10.5px; color: #46583f; }
.hero-note { margin-top: 16px; font-size: 11.5px; color: #4b5f42; }

.hero-media { position: relative; height: 100%; }
.hero-media img {
  position: absolute; top: 0; right: 0;
  width: calc(100% + var(--gutter) + max(0px, (100vw - var(--container)) / 2));
  height: 100%; object-fit: cover; object-position: 52% 50%;
  border-bottom-left-radius: var(--radius-lg);
}
.hero-media figcaption {
  position: absolute; left: 22px; bottom: 18px;
  max-width: 340px; padding: 9px 13px;
  background: rgba(253, 252, 243, .88); border-radius: var(--radius-sm);
  font-size: 10.5px; line-height: 1.6; color: #33422c;
}

/* ---------- 分类索引 ---------- */
.topics { background: var(--bg-band); padding: 26px 0 29px; }
.topics .section-head { padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); }
.topics .section-head h2 { font-size: 24px; }
.topics-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 16px;
  margin-top: 16px;
}
.topic-card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 6px 12px 4px 0; min-height: 232px;
}
.topic-card + .topic-card { border-left: 1px solid var(--line-strong); padding-left: 14px; padding-right: 0; }
.topic-card:nth-child(6n + 1) { border-left: 0; padding-left: 0; }
.topic-mark { width: 22px; height: 2px; background: var(--accent); display: block; margin-bottom: 4px; }
.topic-card h3 { font-size: 16.5px; line-height: 1.35; }
.topic-card p { font-size: 11px; line-height: 1.72; color: var(--ink-2); }
.topic-count { margin-top: auto; font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-size: 10px; color: var(--ink-3); }
.topic-card:hover h3 { color: var(--accent); }
.topics-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-strong); text-align: center; }
.topics-foot a { font-size: 12px; color: var(--accent); font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; letter-spacing: .04em; }

/* ---------- 精选六件 ---------- */
.picks { padding: 22px 0 20px; }
.picks .section-head h2 { font-size: 24px; }
.picks-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px 16px; margin-top: 14px; }
.pick-card { display: flex; flex-direction: column; gap: 8px; }
.pick-thumb { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg-band); }
.pick-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pick-card h3 { font-size: 15px; }
.pick-card p { font-size: 11px; line-height: 1.62; color: var(--ink-2); }
.pick-card:hover h3 { color: var(--accent); }

/* ---------- 农活工序 ---------- */
.timeline { padding: 28px 0 31px; }
.timeline .section-head h2 { font-size: 24px; }
.timeline-note { font-size: 11.5px; color: var(--ink-3); }
.timeline-note strong { color: var(--accent); font-weight: 600; font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; }
.tl-track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px; margin-top: 24px; padding-left: 8px; }
.tl-node {
  position: relative; text-align: left; background: none; border: 0; padding: 0;
  cursor: pointer; display: flex; flex-direction: column; gap: 6px;
}
.tl-dot {
  width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--accent);
  background: var(--bg); display: block; margin-bottom: 2px;
}
.tl-node[aria-pressed="true"] .tl-dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(45,108,46,.12); }
.tl-track > .tl-node + .tl-node::before {
  content: ""; position: absolute; left: -28px; top: 4px; width: 20px; height: 1px; background: var(--line-strong);
}
.tl-time { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-size: 10px; letter-spacing: .08em; color: var(--ink-3); }
.tl-title { font-family: var(--font-serif); font-size: 14px; font-weight: 600; color: var(--ink); }
.tl-node[aria-pressed="true"] .tl-title { color: var(--accent); }
.tl-desc { font-size: 11px; line-height: 1.72; color: var(--ink-2); }

/* ---------- 清单 + 长文（两栏同带） ---------- */
.bundle { padding: 0 0 16px; }
.bundle-grid { display: grid; grid-template-columns: minmax(0, 683px) minmax(0, 678px); gap: 21px; align-items: start; }
.bar {
  height: 46px; border-radius: var(--radius-sm);
  background: var(--brand-mid); color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px;
}
.bar h2 { font-size: 17px; color: #fff; }
.bar span { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-size: 10px; letter-spacing: .12em; color: rgba(255,255,255,.75); }

.checklist .check-head { display: flex; align-items: baseline; justify-content: space-between; margin: 14px 0 4px; }
.checklist .check-head p { font-size: 11.5px; color: var(--ink-3); }
.check-count-wrap { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-size: 11px; color: var(--ink-3); }
.check-count-wrap strong { color: var(--accent); font-size: 13px; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px 20px; }
.check-item { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 12.5px; color: var(--ink-2); cursor: pointer; border-bottom: 1px solid var(--line); }
.check-item > span { cursor: default; }
.check-item input { appearance: none; width: 16px; height: 16px; border: 1px solid var(--line-strong); border-radius: 2px; background: #fff; cursor: pointer; flex: none; position: relative; }
.check-item input:checked { background: var(--accent); border-color: var(--accent); }
.check-item input:checked::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(42deg); }
.check-item:has(input:checked) span { color: var(--ink-3); text-decoration: line-through; }

.reads-list { display: flex; flex-direction: column; gap: 0; margin-top: 6px; }
.read-card { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--line); align-items: center; }
.read-card:first-child { padding-top: 0; }
.read-thumb { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg-band); }
.read-thumb img { width: 100%; height: 100%; object-fit: cover; }
.read-card h3 { font-size: 14.5px; }
.read-card p { font-size: 11px; color: var(--ink-2); margin-top: 4px; }
.read-time { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-size: 9.5px; color: var(--ink-3); display: block; margin-top: 4px; }
.read-card:hover h3 { color: var(--accent); }

/* ---------- FAQ / 收录说明 / 边界声明（三栏同带） ---------- */
.closing { padding: 14px 0 16px; }
.closing-grid { display: grid; grid-template-columns: 400px 536px minmax(0, 1fr); gap: 32px; }
.closing h2 { font-size: 19px; margin-bottom: 2px; }
.closing .eyebrow { margin-bottom: 6px; display: block; }

.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 6px 26px 6px 0; position: relative;
  font-size: 12.5px; color: var(--ink); line-height: 1.55;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 2px; top: 5px;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-size: 15px; color: var(--accent);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { font-size: 11.5px; color: var(--ink-2); line-height: 1.75; padding: 0 22px 9px 0; }

.scope-list { border-top: 1px solid var(--line-strong); }
.scope-list li { border-bottom: 1px solid var(--line); padding: 8px 0; display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; }
.scope-list dt, .scope-list .scope-label { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-size: 9.5px; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; padding-top: 3px; }
.scope-list p { font-size: 11.5px; line-height: 1.78; color: var(--ink-2); }

.notice-bar { background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 14px 16px 15px; }
.notice-bar h2 { font-size: 16px; }
.notice-bar p { margin-top: 8px; font-size: 11.5px; line-height: 1.82; color: #33422c; }

/* ---------- 页脚 ---------- */
.footer-strip p::after { content: " ·"; color: var(--accent); }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .hero { height: auto; padding: 26px 0 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; height: auto; }
  .hero h1 { font-size: 34px; }
  .hero-media { height: 300px; }
  .hero-media img { position: static; width: 100%; height: 300px; border-radius: var(--radius); }
  .hero-media figcaption { left: 14px; bottom: 14px; }
  .topics-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 16px; }
  .topic-card { min-height: 0; }
  .topic-card + .topic-card { border-left: 0; padding-left: 0; }
  .picks-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tl-track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 32px; }
  .bundle-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .closing-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .toc { position: static; border-left: 0; border-top: 1px solid var(--line-strong); padding: 14px 0 0; }
  .toc ol { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-row { grid-template-columns: repeat(2, 1fr); }
  .related-items ul { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1040px) {
  .site-nav {
    position: absolute; left: 0; right: 0; top: 67px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 6px 29px 14px; display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  /* 抽屉内下拉：触屏无 hover，改为静态展开 */
  .site-nav .dropdown-menu {
    display: flex; flex-wrap: wrap; gap: 0 14px;
    position: static; min-width: 0; max-height: none; overflow: visible;
    padding: 0 0 8px 14px; border: 0; box-shadow: none; background: transparent;
  }
  .site-nav .dropdown-menu a {
    display: inline-block; padding: 0 0 6px; border-bottom: 0;
    font-size: 12px; color: var(--ink-3);
  }
  .menu-btn { display: inline-block; }
  .nav-all { margin-left: auto; }
}

@media (max-width: 720px) {
  .header-inner { gap: 10px; height: 60px; }
  .site-nav { top: 60px; padding: 6px 20px 14px; }
  .brand-name { font-size: 15px; }
  .hero { padding-top: 20px; }
  .hero h1 { font-size: 27px; margin: 10px 0 12px; }
  .hero-lead { font-size: 12.5px; }
  .hero-stats { flex-wrap: wrap; gap: 12px 18px; }
  .hero-media, .hero-media img { height: 220px; }
  .hero-media figcaption { max-width: 240px; font-size: 9.5px; }
  .topics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-left: 0; }
  .tl-track > .tl-node + .tl-node::before { display: none; }
  .check-grid { grid-template-columns: minmax(0, 1fr); }
  .closing-grid { gap: 24px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-head h2 { font-size: 20px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-col { flex: 1 1 auto; min-width: 100%; }
  .footer-legal { flex-direction: column; gap: 6px; }
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .pill, .chip { min-height: 32px; }
  .fact-row { grid-template-columns: minmax(0, 1fr); }
  .article-head h1 { font-size: 25px; }
  .page-hero h1 { font-size: 24px; }
  .prev-next { flex-direction: column; gap: 8px; }
  .list-card { padding: 16px; }
  .seo-copy { font-size: 13px; }
  .read-card { grid-template-columns: 84px minmax(0, 1fr); }
  .footer-strip { height: auto; padding: 14px 0; }
  .footer-strip p { font-size: 13px; line-height: 1.6; }
}
