/* Guides (/guides, /guides/{slug}), 25 Nov 2026. Builds on app.css tokens; mobile-first, 70ch reading measure. */
.gd { max-width: 820px; padding-top: 20px; padding-bottom: 40px; }
.gd-crumbs { font-size: var(--step--1); color: var(--ink-soft); margin: 0 0 10px; }
.gd-crumbs a { color: var(--ink-soft); }
.gd-crumbs span[aria-current] { color: var(--ink-2); }
.gd-meta { font-size: var(--step--1); color: var(--ink-soft); margin: 0 0 6px; }
.gd h1 { margin: 4px 0 10px; line-height: 1.15; max-width: 26ch; }
.gd .lede { max-width: 66ch; color: var(--ink-2); }
.gd-body { max-width: 70ch; }
.gd-body h2 { margin: 32px 0 10px; line-height: 1.25; }
.gd-body h3 { margin: 22px 0 6px; font-size: var(--step-0); }
.gd-body p, .gd-body li { line-height: 1.65; }
.gd-body ul, .gd-body ol { padding-left: 22px; }
.gd-body li + li { margin-top: 6px; }
.gd-summary { margin: 18px 0 8px; border-left: 4px solid var(--brand-amber, #F5A623); max-width: 70ch; }
.gd-summary h2 { font-size: var(--step-1); margin: 0 0 8px; }
.gd-summary ul { margin: 0; padding-left: 20px; }
.gd-summary li { line-height: 1.55; }
.gd-summary li + li { margin-top: 6px; }
.gd-table { margin: 14px 0 18px; max-width: 100%; }
.gd-table table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.gd-table th, .gd-table td { padding: 8px 10px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.gd-table thead th { background: var(--info-tint); font-weight: 700; white-space: nowrap; }
.gd-table td.r, .gd-table th.r { text-align: right; white-space: nowrap; }
.gd-table caption { caption-side: bottom; text-align: left; padding: 8px 10px; color: var(--ink-soft); font-size: var(--step--1); }
.gd-table tbody tr:last-child td { border-bottom: 0; }
.gd-note { max-width: 70ch; }
.gd-cta { margin: 26px 0; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; }
.gd-cta p { margin: 0; flex: 1 1 260px; }
.gd-faq { margin-top: 26px; }
.gd-sources { margin-top: 26px; max-width: 70ch; }
.gd-sources ol { padding-left: 22px; font-size: var(--step--1); }
.gd-sources li { line-height: 1.5; margin-top: 6px; word-break: break-word; }
.gd-related { margin-top: 26px; }
.gd-related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: 1fr; }
.gd-related a { display: block; padding: 10px 14px; border: 1px solid var(--rule); border-radius: var(--radius-m); background: var(--sheet); text-decoration: none; }
.gd-related a:hover { border-color: var(--ink); }
.gd-disclaimer { margin-top: 22px; max-width: 70ch; }
/* Hub */
.gd-hub { max-width: 1040px; padding-top: 20px; padding-bottom: 40px; }
.gd-hub h1 { margin: 4px 0 8px; }
.gd-group { margin-top: 30px; }
.gd-group > h2 { margin: 0 0 4px; }
.gd-group > p { margin: 0 0 14px; color: var(--ink-soft); }
.gd-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
.gd-card { display: flex; flex-direction: column; height: 100%; }
.gd-card h3 { font-size: var(--step-0); margin: 0 0 6px; line-height: 1.35; }
.gd-card h3 a { text-decoration: none; }
.gd-card h3 a:hover { text-decoration: underline; }
.gd-card p { margin: 0 0 10px; color: var(--ink-2); font-size: var(--step--1); line-height: 1.5; flex: 1; }
.gd-card .hint { margin: 0; }
@media (min-width: 640px) {
  .gd-related ul { grid-template-columns: 1fr 1fr; }
  .gd-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) { .gd-cards { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 720px) {
  .gd-table table.rt caption { display: block; width: auto; padding: 0 2px 10px; }
  .gd-table table.rt tbody th { display: block; padding: 4px 0; border: 0; }
}
@media print { .gd-cta, .gd-related { display: none; } }
/* Language switch and Hindi versions (25 Nov 2026) */
.gd-lang { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; padding: 5px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--sheet); font-size: var(--step--1); text-decoration: none; color: var(--ink-2); }
.gd-lang:hover { border-color: var(--ink); color: var(--ink); }
.gd-top { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: space-between; }
.gd-top .gd-meta { margin-bottom: 8px; }
[lang|="hi"] .gd-body p, [lang|="hi"] .gd-body li, [lang|="hi"] .gd-summary li { line-height: 1.8; }
[lang|="hi"].gd h1 { max-width: 30ch; line-height: 1.3; }
