/* V4.2: scoped knowledge-center components, existing brand tokens preserved */
.tg-guide-cover{margin:1.5rem 0 2rem}
.tg-guide-cover img,.tg-guide-figure img{display:block;width:100%;height:auto;border-radius:16px}
.tg-guide-cover figcaption,.tg-guide-figure figcaption{font-size:.85rem;margin-top:.6rem;color:var(--text-secondary,#b8b8b8)}
.tg-guide-toc,.tg-guide-note{padding:1.3rem;border:1px solid rgba(173,253,7,.25);border-radius:16px;margin:1.5rem 0;background:rgba(173,253,7,.045)}
.tg-guide-toc ol{margin:.6rem 0 0;padding-left:1.4rem;display:grid;gap:.5rem}
.tg-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.25rem 0}
.tg-guide-grid>div{border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:1rem;min-width:0}
.tg-guide-grid h3{margin-top:0}
.tg-guide-table{overflow-x:auto;margin:1.25rem 0}
.tg-guide-table table{min-width:0;width:100%;overflow-wrap:anywhere}
.tg-guide-table th,.tg-guide-table td{padding:.75rem;text-align:left;vertical-align:top}
.tg-guide-figure{margin:1.5rem 0}
.tg-guide [id]{scroll-margin-top:100px}
.tg-contact-quick{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:1.25rem}
.tg-contact-quick a{min-height:44px}
.tg-contact-note{margin-bottom:1rem;line-height:1.6}
@media(max-width:600px){.tg-guide-grid{grid-template-columns:1fr}.tg-guide-toc,.tg-guide-note{padding:1rem}.tg-guide-table th,.tg-guide-table td{padding:.5rem}.tg-contact-quick a{width:100%}}

/* Knowledge hub, scoped to the existing article grid */
.tg-hub-search{display:grid;gap:.5rem;max-width:720px;margin:0 auto 1.5rem}
.tg-hub-search input{width:100%;min-height:48px;padding:.8rem 1rem;color:inherit;background:var(--bg-card,#202020);border:1px solid rgba(173,253,7,.4);border-radius:12px;font:inherit}
.tg-hub-search input:focus-visible,.blog-grid a:focus-visible{outline:2px solid #adfd07;outline-offset:4px}
.blog-grid .blog-card[hidden]{display:none!important}
.blog-grid .blog-card__image{aspect-ratio:16/9;overflow:hidden}
.blog-grid .blog-card__image img{width:100%;height:100%;object-fit:cover;display:block}
.tg-guide-read{display:block;margin-top:1rem;color:var(--accent-primary,#adfd07);font-weight:600}
#tg-guide-empty{padding:1rem;text-align:center}

/* Keep article covers readable without oversized portrait advertising crops. */
.tg-guide-cover img{max-height:520px;object-fit:contain;background:#171717}
@media(max-width:600px){.tg-guide-cover{margin:1rem 0 1.25rem}.tg-guide-cover img{max-height:340px}}
