/* GateMog article and guide layout (blog, guides, legal, methodology, about). Loaded after site.css. */
.post { max-width: 760px; margin: 0 auto; padding: 8px 0 40px; }
.post-head { padding: 18px 0 22px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.post-head h1 { max-width: 20ch; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--text-3); font-size: 0.9rem; margin: 12px 0 0; }
.post-hero { margin: 0 0 24px; }
.post-hero img { width: 100%; height: auto; border-radius: var(--radius-m); border: 1px solid var(--border); box-shadow: var(--shadow-1); }
.post-hero figcaption { font-size: 0.8rem; color: var(--text-3); margin-top: 8px; }
.card-img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 12px; margin-bottom: 6px; border: 1px solid var(--border); }
.post .answer { font-size: 1.15rem; line-height: 1.55; color: var(--text); padding: 18px 20px; border-radius: var(--radius-m); background: var(--accent-soft); border: 1px solid var(--accent-soft-2); margin: 0 0 24px; }
.post h2 { font-size: 1.7rem; margin: 36px 0 12px; }
.post h3 { font-size: 1.25rem; margin: 24px 0 8px; }
.post p, .post li { font-size: 1.02rem; line-height: 1.65; color: var(--text); }
.post ul, .post ol { padding-left: 22px; margin: 0 0 1em; }
.post li { margin-bottom: 6px; }
.post table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 0.95rem; }
.post th, .post td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.post th { font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); background: var(--surface); }
.post blockquote { margin: 16px 0; padding: 12px 18px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-xs) var(--radius-xs) 0; color: var(--text-2); }
.post code { font-family: var(--font-mono); font-size: 0.9em; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
.post aside { margin: 20px 0; }
.step-list { list-style: none; padding: 0; margin: 0 0 24px; counter-reset: s; display: grid; gap: 12px; }
.step-list > li { position: relative; padding: 16px 18px 16px 62px; border-radius: var(--radius-s); background: var(--bg-elev); border: 1px solid var(--border); counter-increment: s; }
.step-list > li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.step-list h3 { margin: 0 0 4px; font-size: 1.1rem; font-family: var(--font-ui); font-weight: 600; letter-spacing: 0; }
.step-list p { margin: 0; }
.post .faq { margin: 12px 0 24px; }
.author { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--border); margin: 32px 0 20px; font-size: 0.92rem; color: var(--text-2); }
.author .mark { width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto; }
.author p { margin: 0; font-size: 0.92rem; }
.related { margin-top: 32px; }
.related h2 { font-size: 1.4rem; margin-bottom: 14px; }
.related .card-grid { gap: 12px; }
.related .card h3 { font-size: 1.05rem; }
.cta-box { margin: 32px 0 0; padding: 26px; border-radius: var(--radius-m); background: var(--accent-grad); color: #fff; text-align: center; }
.cta-box h2 { color: #fff; font-size: 1.6rem; margin: 0 0 8px; }
.cta-box p { color: rgba(255, 255, 255, 0.88); margin: 0 0 14px; }
.cta-box .btn-primary { background: #fff; color: #2a2290; box-shadow: none; }
.cta-box .cta-fine { font-size: 0.82rem; margin: 12px 0 0; color: rgba(255, 255, 255, 0.75); }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.pager a { display: grid; gap: 2px; padding: 12px 16px; border-radius: var(--radius-s); border: 1px solid var(--border); background: var(--bg-elev); flex: 1 1 200px; color: inherit; }
.pager a:hover { border-color: var(--accent); text-decoration: none; }
.pager .dir { font-size: 0.78rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.pager .ttl { font-weight: 600; }
.pager .next { text-align: right; }

/* index pages */
.list-head { padding: 24px 0 8px; }
.list-filter { margin: 12px 0 20px; }
.post-list { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.post-list .card h3 { font-size: 1.2rem; }
.group-h { font-family: var(--font-ui); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin: 28px 0 12px; }
