/* T34 Glossary term - page layout only; visual tokens come from css/v2 */
.gt-hero { border-bottom: var(--stroke); padding: 48px 0 56px; }
.gt-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: center; }
.gt .psb-hero > .psb-container > * + * { margin-top: 0; }
.gt-hero__body { display: grid; gap: 14px; }
.psb .gt-hero h1.gt-word { margin: 8px 0 0; font-size: clamp(4rem, 2rem + 8vw, 8.5rem); line-height: .95; color: var(--ink-900); }
.gt-meta { font-size: 16px; color: var(--ink-700); }
.gt-def { max-width: 820px; font: 500 clamp(1.25rem, 1.1rem + .6vw, 1.5rem)/1.45 var(--font-body); color: var(--ink-900); }
.gt-fig { margin: 0; display: grid; gap: 12px; padding: 24px; background: var(--cream-0); border: 2px solid var(--ink-900); border-radius: var(--radius-card); box-shadow: 6px 6px 0 0 var(--ink-900); }
.gt-fig__art { display: grid; place-items: center; min-height: 240px; }
.gt-fig__art img { width: 180px; height: auto; }
.gt-fig figcaption { font-size: 12px; color: var(--ink-700); }

.gt-body { padding-block: 64px; }
.gt-text { font-size: var(--fs-body-l); line-height: 1.7; color: var(--text-secondary); max-width: 860px; }
.gt-split { margin: 8px 0 0; display: grid; gap: 8px; }
.gt-split__bar, .gt-split__labels { display: flex; gap: 4px; }
.gt-split__bar span { flex: var(--w) 1 0; height: 18px; border: 1.5px solid var(--border-ink); border-radius: var(--radius-pill); }
.gt-split__bar .is-1 { background: var(--pine-500); }
.gt-split__bar .is-2 { background: var(--butter-500); }
.gt-split__bar .is-3 { background: var(--tomato-100); }
.gt-split__labels span { flex: var(--w) 1 0; min-width: 0; font-size: 12px; color: var(--text-secondary); white-space: nowrap; }
.gt-split figcaption { margin-top: 12px; font-size: var(--fs-body-s); }

.gt-rail { --gap: 18px; }
.gt-rail .psb-box { gap: 14px; }
.psb .gt-rail__h { font: 700 var(--fs-h5)/1.4 var(--font-body); letter-spacing: 0; }
.gt-related { list-style: none; margin: 0; padding: 0; gap: 8px; }
.gt-related .psb-pill { padding: 7px 14px; }
.gt-related .psb-pill:hover { background: var(--bg-subtle); }
.gt-soon { cursor: default !important; opacity: .7; }
.gt-guides { background: var(--bg-subtle); }
.gt-guides__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gt-guides__list a { font-weight: 600; text-decoration: none; }
.gt-guides__list a:hover { text-decoration: underline; }

.gt-pager { background: var(--bg-surface); border-top: var(--stroke); }
.gt-pager__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 22px; }
.gt-pager a { color: var(--text-primary); font-weight: 700; text-decoration: none; }
.gt-pager a:nth-child(2) { color: var(--text-brand); }
.gt-pager a:hover { text-decoration: underline; }

@media (max-width: 1100px) {
    .gt-hero__grid { grid-template-columns: 1fr; }
    .gt-fig { max-width: 420px; }
}
@media (max-width: 600px) {
    .gt-fig__art { min-height: 180px; }
    .gt-split__labels { flex-wrap: wrap; gap: 4px 14px; }
    .gt-split__labels span { flex: none; font-size: 11px; }
    .gt-split__labels span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border: 1.5px solid var(--border-ink); border-radius: 50%; vertical-align: -1px; background: var(--pine-500); }
    .gt-split__labels span:nth-child(2)::before { background: var(--butter-500); }
    .gt-split__labels span:nth-child(3)::before { background: var(--tomato-100); }
    .gt-pager__row { justify-content: center; }
    .gt-pager a:nth-child(2) { order: -1; width: 100%; text-align: center; }
}
