/* คู่มือ (/guide) */
.g-wrap { padding-bottom: 72px; }
.g-kicker { display: inline-block; font-size: 13px; font-weight: 600; color: var(--gold-2, #4f7d2b); letter-spacing: .02em; }
.g-muted { color: var(--muted); font-size: 14px; }
.g-hero { padding: 28px 0 8px; max-width: 760px; }
.g-hero h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.3; margin: 6px 0 12px; }
.g-hero p { color: var(--ink-3); font-size: 17px; }
.g-group { margin-top: 36px; }
.g-group h2 { font-size: 22px; margin-bottom: 16px; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.g-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 20px; color: var(--ink); transition: box-shadow .15s, transform .15s; }
.g-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.g-card h3 { font-size: 18px; line-height: 1.45; }
.g-card p { color: var(--muted); font-size: 14px; flex: 1; }
.g-more { font-weight: 600; color: var(--gold-2, #4f7d2b); font-size: 14px; }

.g-head { max-width: 820px; padding: 24px 0 8px; }
.g-head h1 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.35; margin: 6px 0 10px; }
.g-meta { color: var(--muted); font-size: 14px; }
.g-layout > * { min-width: 0; }
.g-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: start; margin-top: 16px; }
.g-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; border-left: 2px solid var(--line-2); padding-left: 16px; }
.g-toc a { color: var(--ink-3); line-height: 1.5; }
.g-toc a:hover { color: var(--ink); text-decoration: underline; }
.g-toc-rel { margin-top: 12px; }
@media (max-width: 960px) { .g-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; } .g-toc { position: static; order: -1; border-left: 0; padding: 14px 16px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; } }

.g-body { max-width: 760px; font-size: 17px; line-height: 1.85; color: var(--ink-2); }
.g-body p { margin: 0 0 14px; }
.g-body a { color: var(--gold-2, #4f7d2b); text-decoration: underline; text-underline-offset: 3px; }
.g-body a.btn { text-decoration: none; }
.g-body ul, .g-body ol { margin: 0 0 16px; padding-left: 22px; }
.g-body li { margin-bottom: 6px; }
.g-section { margin-top: 36px; scroll-margin-top: 96px; }
.g-section h2 { font-size: 24px; line-height: 1.4; margin-bottom: 12px; color: var(--ink); }
.g-section h3 { font-size: 19px; margin: 22px 0 8px; color: var(--ink); }
.g-intro p:first-child { font-size: 18px; color: var(--ink); }
.g-note { background: var(--gold-soft, #eef6e4); border-radius: 12px; padding: 14px 18px; margin: 0 0 16px; }
.g-note p { margin: 0; font-size: 15px; }
.g-table { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--line-2); border-radius: 12px; }
.g-table table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.6; min-width: 560px; }
.g-table th { background: var(--surface-2, #f6f8f2); text-align: left; font-weight: 600; color: var(--ink); }
.g-table th, .g-table td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.g-table tr:last-child td { border-bottom: 0; }
.g-stats { margin: 24px 0 8px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 20px; }
.g-stats h2 { font-size: 18px; margin-bottom: 12px; }
.g-stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 8px; }
.g-stat { display: flex; flex-direction: column; background: var(--surface-2, #f6f8f2); border-radius: 12px; padding: 12px 14px; color: var(--ink); text-decoration: none !important; }
.g-stat b { font-size: 24px; line-height: 1.2; }
.g-stat span { font-size: 14px; color: var(--ink-3); }
.g-stat small { font-size: 12px; color: var(--muted); }
.g-faq details { border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; background: #fff; }
.g-faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.g-faq details p { margin: 10px 0 0; }
.g-sources ul { font-size: 15px; }
.g-cta { margin-top: 40px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--gold-soft, #eef6e4); border-radius: 18px; padding: 22px 24px; }
.g-cta h2 { font-size: 20px; margin-bottom: 4px; }
.g-cta p { margin: 0; font-size: 15px; }
.g-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.g-related-link { display: inline-block; margin-top: 8px; font-weight: 600; }
