/* หน้าคู่มือที่ดิน — ต่อจาก marketplace.css (ใช้ .shell .kicker .sell-banner .topbar ร่วมกัน)
   หน้านี้เป็นหน้าอ่านล้วน จึงคุมความกว้างบรรทัดไว้ไม่ให้ยาวจนตาไล่ไม่ทัน */

.gd-head{
  background:linear-gradient(158deg,#0B1F3A 0%,#0B1F3A 52%,#1B4B7A 100%);
  color:#fff;padding:46px 0 40px;
}
.gd-head h1{font-size:clamp(28px,5.4vw,42px);font-weight:800;line-height:1.2;margin:10px 0 12px;letter-spacing:-.02em}
.gd-head p{font-size:15.5px;line-height:1.8;color:#D8E1EA;margin:0;max-width:60ch}
.gd-head .kicker{color:#8FE3B8}

.gd-body{padding:38px 0 46px;display:flex;flex-direction:column;gap:14px}

.gd-item{
  display:flex;gap:16px;align-items:flex-start;
  background:#fff;border:1px solid #E3EAF1;border-radius:16px;
  padding:22px 24px;scroll-margin-top:84px;
}
.gd-item:target{border-color:#16A34A;box-shadow:0 0 0 3px rgba(22,163,74,.12)}
.gd-ico{
  flex:none;width:44px;height:44px;border-radius:12px;
  background:#E7EEF5;display:grid;place-items:center;font-size:21px;
}
.gd-item h2{font-size:17.5px;font-weight:700;color:#0B1F3A;margin:0 0 8px;line-height:1.45}
.gd-item p{font-size:14.5px;line-height:1.9;color:#5A6B7D;margin:0;max-width:70ch}

.gd-links{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;
  padding:18px 22px;background:#E7EEF5;border:1px solid #E3EAF1;border-radius:14px;
  font-size:13.5px;color:#5A6B7D;margin-top:8px;
}
.gd-links a{color:#1B4B7A;font-weight:600;text-decoration:none}
.gd-links a:hover{text-decoration:underline}

.gd-disclaimer{
  font-size:12px;line-height:1.8;color:#8798A9;margin:6px 2px 0;max-width:78ch;
}

@media (max-width:560px){
  .gd-item{padding:18px 17px;gap:13px}
  .gd-ico{width:38px;height:38px;font-size:18px;border-radius:10px}
  .gd-item h2{font-size:16px}
}

@media (prefers-reduced-motion:reduce){
  *{animation-duration:.01ms !important;transition-duration:.01ms !important}
}

/* กล่องเครื่องคำนวณค่าโอน — ตัวกล่องเองอยู่ใน feecalc.css ตรงนี้แค่จัดระยะให้เข้ากับ .gd-item */
.gd-calc{scroll-margin-top:80px}
.gd-calc .fc{margin-top:0}

/* แถบเครื่องมือด้านบน + ลิงก์ต่อท้ายหัวข้อ (2026-09-17) */
.gd-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
@media (max-width:760px){ .gd-tools{grid-template-columns:1fr} }
.gd-tools a{
  display:flex;flex-direction:column;gap:3px;text-decoration:none;
  background:#0B1F3A;color:#fff;border-radius:14px;padding:15px 18px;
}
.gd-tools a:hover,.gd-tools a:focus-visible{background:#1B4B7A}
.gd-tools a:focus-visible{outline:3px solid #8FE3B8;outline-offset:2px}
.gd-tools b{font-size:15.5px}
.gd-tools span{font-size:12.5px;color:#D8E1EA;line-height:1.5}
.gd-item p.gd-more{margin-top:8px}
.gd-more a{color:#1B4B7A;font-weight:600;text-decoration:none}
.gd-more a:hover{text-decoration:underline}

/* ---------- ผู้เรียบเรียง · วันที่ตรวจทาน · สิ่งที่ยังรอจากบริษัท (Sprint 4 · งานที่ 10) ---------- */

.gd-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 4px var(--nj-space-5);
  margin: var(--nj-space-4) 0 0;
  font-size: var(--nj-fs-sm);
  line-height: var(--nj-lh-body);
  color: var(--nj-text-muted);
}
.gd-byline b { color: var(--nj-text); font-weight: 600; }

/* ทางเข้าเว็บ NJ ในหัวข้อรังวัดสอบเขต (2026-09-23) */
.gd-nj{margin-top:10px;padding:10px 12px;border-left:3px solid var(--nj-gold-600);background:var(--nj-surface-alt);border-radius:8px;font-size:var(--nj-fs-sm);line-height:1.6}
.gd-nj a{color:var(--nj-link);font-weight:600;white-space:nowrap}
