/* Category topic hubs. Scoped to keep the rest of Jannah unchanged. */
body.tg-topic-hub { --tg-accent:var(--brand-color,#1675b8); --tg-ink:#202b35; --tg-muted:#64717b; --tg-line:#e3e8eb; --tg-surface:#f5f8fa; }
.tg-topic-hub #content { max-width:1200px; width:100%; }
.tg-topic-hub #main-content-row { display:block; }
.tg-topic-hub #content .main-content { float:none; width:100%; }
.tg-hub { color:var(--tg-ink); padding:2px 0 28px; }
.tg-hub a { transition:color .18s,background-color .18s,border-color .18s; }
.tg-hub a:focus-visible { outline:3px solid var(--tg-accent); outline-offset:4px; }
.tg-hub-breadcrumbs { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:12px; line-height:1.6; color:var(--tg-muted); margin-bottom:23px; }
.tg-hub-breadcrumbs a { color:var(--tg-muted); }
.tg-hub-breadcrumbs a:hover { color:var(--tg-accent); }
.tg-hub-header { max-width:860px; margin-bottom:24px; }
.tg-hub .tg-hub-eyebrow { font-size:11px; font-weight:700; letter-spacing:1.3px; text-transform:uppercase; color:var(--tg-accent); margin:0 0 9px; }
.tg-hub-header h1 { font-size:44px; line-height:1.12; margin:0 0 16px; letter-spacing:-1px; }
.tg-hub .tg-hub-intro { font-size:17px; line-height:1.75; margin:0; color:#52616b; }
.tg-hub-nav { display:flex; flex-wrap:wrap; gap:8px; padding:0 0 27px; border-bottom:1px solid var(--tg-line); margin-bottom:32px; }
.tg-hub-nav a { color:var(--tg-ink); background:var(--tg-surface); border:1px solid var(--tg-line); border-radius:5px; padding:11px 16px; font-size:13px; font-weight:600; white-space:nowrap; }
.tg-hub-nav a:hover { color:#fff; background:var(--tg-accent); border-color:var(--tg-accent); }
.tg-hub-nav a:last-child { margin-left:auto; background:transparent; color:var(--tg-accent); border-color:transparent; }
.tg-hub-nav a:last-child:hover { background:var(--tg-surface); }
.tg-topic { padding:0 0 30px; margin-bottom:29px; border-bottom:1px solid var(--tg-line); scroll-margin-top:100px; }
.tg-topic-header { display:flex; gap:14px; align-items:flex-start; margin-bottom:20px; }
.tg-topic-number { width:34px; height:34px; flex:0 0 34px; display:grid; place-items:center; background:var(--tg-surface); border-radius:50%; font-size:12px; font-weight:700; color:var(--tg-accent); }
.tg-topic-header h2 { font-size:24px; line-height:1.3; margin:2px 0 7px; letter-spacing:-.35px; }
.tg-topic-header p { margin:0; color:var(--tg-muted); font-size:13px; line-height:1.6; }
.tg-topic-content { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); gap:30px; }
.tg-guide { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:21px; align-items:start; min-width:0; }
.tg-guide-image { display:block; aspect-ratio:4/3; overflow:hidden; border-radius:6px; background:var(--tg-surface); }
.tg-hub .tg-guide-image img { width:100%; height:100%; object-fit:cover; aspect-ratio:4/3 !important; display:block; }
.tg-guide-label { color:var(--tg-accent); display:block; font-size:10px; letter-spacing:.9px; font-weight:700; text-transform:uppercase; margin-bottom:9px; }
.tg-guide h3 { margin:0 0 10px; font-size:19px; line-height:1.42; }
.tg-guide h3 a,.tg-topic-links a,.tg-archive-card .post-title a { color:inherit; }
.tg-guide h3 a:hover,.tg-topic-links a:hover,.tg-archive-card .post-title a:hover { color:var(--tg-accent); }
.tg-guide-copy>p { font-size:13px; line-height:1.7; color:var(--tg-muted); margin:0 0 13px; }
.tg-guide-more { color:var(--tg-accent); font-size:12px; font-weight:700; }
.tg-guide-more span { margin-left:5px; }
.tg-topic-links { border-left:1px solid var(--tg-line); padding-left:27px; }
.tg-hub .tg-links-label { margin:0 0 5px; color:var(--tg-muted); font-size:11px; text-transform:uppercase; letter-spacing:1px; font-weight:600; }
.tg-topic-links ul { margin:0; padding:0; list-style:none; }
.tg-topic-links li { border-bottom:1px solid var(--tg-line); }
.tg-topic-links li:last-child { border:0; }
.tg-topic-links a { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:12px 0; font-size:13px; font-weight:600; line-height:1.55; }
.tg-topic-links a span { color:var(--tg-accent); font-size:16px; flex-shrink:0; }
.tg-hub-archive { scroll-margin-top:100px; margin-top:38px; }
.tg-archive-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:16px; margin-bottom:22px; }
.tg-archive-heading h2 { font-size:28px; line-height:1.3; margin:0; letter-spacing:-.4px; }
.tg-archive-heading>span { font-size:12px; color:var(--tg-muted); white-space:nowrap; padding-bottom:4px; }
.tg-hub-archive .mag-box { margin:0; }
.tg-hub-archive .container-wrapper { background:transparent; padding:0; border:0; }
.tg-hub-archive #posts-container { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:29px 25px; margin:0; width:100%; }
.tg-hub-archive #posts-container:before,.tg-hub-archive #posts-container:after { display:none; }
.tg-hub-archive #posts-container>li.tg-archive-card { display:block !important; float:none; width:auto; max-width:none; padding:0; margin:0; min-width:0; border:1px solid var(--tg-line); border-radius:7px; overflow:hidden; background:#fff; }
.tg-card-image { display:block; aspect-ratio:16/10; overflow:hidden; background:var(--tg-surface); }
.tg-hub .tg-card-image img { display:block; width:100%; height:100%; object-fit:cover; aspect-ratio:16/10 !important; }
.tg-card-copy { padding:18px 19px 20px; }
.tg-card-meta { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:10px; color:var(--tg-muted); margin-bottom:12px; }
.tg-kind { display:inline-block; padding:4px 7px; border-radius:3px; background:#edf5f9; color:#276180; font-weight:700; }
.tg-kind-news { background:#fff2df; color:#8c5615; }
#tie-body.tg-topic-hub .tg-hub-archive .tg-archive-card .post-title { font-size:17px; line-height:1.45; margin:0 0 11px; }
.tg-hub-archive .tg-archive-card .post-excerpt { display:block; font-size:13px; line-height:1.7; color:var(--tg-muted); margin:0; }
.tg-hub-archive .pages-nav { margin:30px 0 0; }
.tg-hub-back { margin:0 0 25px; font-size:14px; }
.dark-skin body.tg-topic-hub,.dark-skin .tg-topic-hub { --tg-ink:#edf0f3; --tg-muted:#b2bbc1; --tg-line:#3b444b; --tg-surface:#292f35; }
.dark-skin .tg-hub .tg-hub-intro { color:var(--tg-muted); }
.dark-skin .tg-hub-archive #posts-container>li.tg-archive-card { background:var(--tg-surface); }
@media(min-width:1001px) { .tg-topic-hub #content { padding-left:15px; padding-right:15px; } }
@media(max-width:1000px) {
	.tg-topic-content { grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:23px; }
	.tg-guide { grid-template-columns:1fr; gap:15px; }
	.tg-guide-image { aspect-ratio:16/10; }
	.tg-hub .tg-guide-image img { aspect-ratio:16/10 !important; }
	.tg-topic-links { padding-left:22px; }
	.tg-hub-archive #posts-container { grid-template-columns:repeat(2,minmax(0,1fr)); }
	.tg-hub-nav a:last-child { margin-left:0; }
}
@media(max-width:680px) {
	.tg-topic-hub #content { padding-left:20px; padding-right:20px; }
	.tg-topic-hub #main-content-row { margin-left:0; margin-right:0; }
	.tg-topic-hub #content .main-content { padding:0; }
	.tg-hub-breadcrumbs { font-size:11px; gap:6px; margin-bottom:18px; }
	.tg-hub-header h1 { font-size:34px; margin-bottom:13px; }
	.tg-hub .tg-hub-intro { font-size:15px; line-height:1.75; }
	.tg-hub-header { margin-bottom:20px; }
	.tg-hub-nav { flex-wrap:nowrap; overflow-x:auto; gap:7px; margin:0 -20px 25px; padding:0 20px 19px; scrollbar-width:thin; }
	.tg-hub-nav a { font-size:12px; padding:10px 13px; }
	.tg-topic-header { gap:11px; margin-bottom:17px; }
	.tg-topic-header h2 { font-size:21px; }
	.tg-topic-header p { font-size:12px; }
	.tg-topic-content,.tg-guide { grid-template-columns:1fr; gap:19px; }
	.tg-topic-links { border-left:0; padding-left:0; }
	.tg-guide h3 { font-size:21px; }
	.tg-guide-copy>p { font-size:14px; }
	.tg-topic-links a { font-size:14px; }
	.tg-topic { margin-bottom:25px; padding-bottom:24px; }
	.tg-archive-heading { align-items:flex-start; }
	.tg-archive-heading h2 { font-size:24px; }
	.tg-archive-heading>span { display:none; }
	.tg-hub-archive #posts-container { grid-template-columns:1fr; gap:22px; }
	#tie-body.tg-topic-hub .tg-hub-archive .tg-archive-card .post-title { font-size:20px; }
	.tg-card-copy { padding:17px 18px 20px; }
}
