/*==========================================================
	Triguna Yoga — blog (blog.php, blog-post.php, blog-author.php), 2 Oct 2026
	Builds on home-new.css (.th-*). Scoped to body.tg-blog. Same balanced palette as the site:
	ivory surfaces, mid-green #4F7D45/#3F6938, saffron accents, Cormorant Garamond + Manrope.
	Reading column ~720px, 18px body text, 1.8 line height.
==========================================================*/
.tg-blog { --bg-ivory: #FFFDF7; --bg-sand: #F7F2E8; --bg-sage: #EEF4E9; --bg-ink: #292B26; --bg-text: #45473F; --bg-label: #A2581C; }
.tg-blog .bg-page { background: var(--bg-ivory); }
.tg-blog .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* reading progress */
.tg-blog .bg-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 1000; pointer-events: none; }
.tg-blog .bg-progress span { display: block; height: 100%; width: 0; background: var(--saffron); transition: width .1s linear; }
.tg-blog .bg-preview-bar { padding: 12px 20px; text-align: center; background: #FDF0E3; color: #6E3D14; font-size: 14px; border-bottom: 1px solid #F3D9BC; }
.tg-blog .bg-preview-bar a { color: var(--green-700); font-weight: 700; }

/* shared bits */
.tg-blog .bg-chip { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--bg-sage); color: var(--green-700); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s; }
.tg-blog a.bg-chip:hover { background: var(--green-600); color: #fff; }
.tg-blog .bg-label { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--bg-label); }
.tg-blog .bg-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: 13.5px; }
.tg-blog .bg-crumbs li + li:before { content: "\203A"; margin-right: 6px; color: var(--saffron); }
.tg-blog .th .bg-crumbs a { color: var(--green-700); text-decoration: none; font-weight: 600; }
.tg-blog .th .bg-crumbs a:hover { text-decoration: underline; }

/* ============ article header ============ */
.tg-blog .bg-head { position: relative; overflow: hidden; padding: 44px 0 34px; background: linear-gradient(180deg, var(--bg-sand), var(--bg-ivory)); }
.tg-blog .bg-head:after { content: ""; position: absolute; right: -110px; top: -90px; width: 420px; height: 420px; background: url(../images/ytt-guide/abstract/guna-rings.svg) no-repeat center / contain; opacity: .45; pointer-events: none; }
.tg-blog .bg-head-inner { position: relative; z-index: 1; max-width: 920px; }
.tg-blog .th .bg-head h1 { margin: 16px 0 14px; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.08; letter-spacing: -.01em; color: var(--bg-ink); }
.tg-blog .th .bg-dek { margin: 0 0 24px; max-width: 760px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--bg-text); }
.tg-blog .bg-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.tg-blog .th .bg-byline-who { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.tg-blog .bg-byline-who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--green-100); }
.tg-blog .bg-byline-who.is-rev img { width: 40px; height: 40px; }
.tg-blog .bg-byline-who small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tg-blog .bg-byline-who b { display: block; font-size: 15.5px; color: var(--green-800); }
.tg-blog .bg-byline-who:hover b { text-decoration: underline; }
.tg-blog .bg-byline-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0 0 0 auto; padding: 0; font-size: 14px; color: var(--muted); }
.tg-blog .bg-byline-facts i { margin-right: 6px; color: var(--saffron); }

/* hero image */
.tg-blog .bg-hero { margin: 0 auto 8px; }
.tg-blog .bg-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; box-shadow: 0 34px 70px -46px rgba(21,40,26,.7); }
.tg-blog .bg-hero figcaption { padding: 10px 6px 0; font-size: 13.5px; color: var(--muted); }

/* ============ layout: sticky contents + reading column ============ */
.tg-blog .bg-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); justify-content: center; gap: 56px; padding-top: 40px; padding-bottom: 40px; }
.tg-blog .bg-layout:not(:has(.bg-toc)) { grid-template-columns: minmax(0, 760px); }
.tg-blog .bg-toc { position: sticky; top: 24px; align-self: start; max-height: calc(100vh - 48px); overflow: auto; }
.tg-blog .bg-toc details { padding: 18px 18px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.tg-blog .bg-toc summary { cursor: pointer; list-style: none; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--bg-label); }
.tg-blog .bg-toc summary::-webkit-details-marker { display: none; }
.tg-blog .bg-toc ol { list-style: none; margin: 12px 0 0; padding: 0; counter-reset: toc; }
.tg-blog .bg-toc li { margin: 0; }
.tg-blog .bg-toc li.is-h3 { padding-left: 14px; }
.tg-blog .th .bg-toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--bg-text); text-decoration: none; transition: color .15s, border-color .15s; }
.tg-blog .th .bg-toc a:hover, .tg-blog .th .bg-toc a.is-active { color: var(--green-700); border-left-color: var(--green-600); font-weight: 600; }

/* answer-first box + takeaways (the parts AI answers and voice assistants quote) */
.tg-blog .bg-answer { margin: 0 0 22px; padding: 22px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green-600); box-shadow: 0 18px 40px -36px rgba(21,40,26,.6); }
.tg-blog .th .bg-answer p { margin: 8px 0 0; font-size: 18px; line-height: 1.7; color: var(--bg-ink); font-weight: 500; }
.tg-blog .bg-takeaways { margin: 0 0 34px; padding: 22px 24px; border-radius: 18px; background: var(--bg-sage); border: 1px solid #DCE7D3; }
.tg-blog .bg-takeaways ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.tg-blog .bg-takeaways li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.6; color: var(--bg-ink); }
.tg-blog .bg-takeaways li:before { content: "\f00c"; font-family: FontAwesome; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--green-600); color: #fff; font-size: 10px; }

/* ============ article body typography ============ */
.tg-blog .bg-body { font-size: 18px; line-height: 1.8; color: var(--bg-text); }
.tg-blog .th .bg-body p { margin: 0 0 1.25em; font-size: 18px; line-height: 1.8; color: var(--bg-text); }
.tg-blog .th .bg-body h2 { margin: 1.9em 0 .55em; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 2.6vw, 2.25rem); line-height: 1.15; color: var(--bg-ink); scroll-margin-top: 24px; }
.tg-blog .th .bg-body h3 { margin: 1.6em 0 .5em; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.2; color: var(--green-800); scroll-margin-top: 24px; }
.tg-blog .th .bg-body h4 { margin: 1.4em 0 .4em; font-size: 18px; font-weight: 700; color: var(--bg-ink); }
.tg-blog .th .bg-body a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(79,125,69,.35); text-underline-offset: 3px; }
.tg-blog .th .bg-body a:hover { text-decoration-color: var(--green-700); }
.tg-blog .bg-body ul, .tg-blog .bg-body ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.tg-blog .th .bg-body li { margin: 0 0 .45em; font-size: 18px; line-height: 1.7; color: var(--bg-text); }
.tg-blog .bg-body li::marker { color: var(--saffron); font-weight: 700; }
.tg-blog .bg-body strong { color: var(--bg-ink); }
.tg-blog .bg-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--saffron); font-family: var(--font-display); font-style: italic; font-size: 1.35em; line-height: 1.5; color: var(--green-800); background: none; }
.tg-blog .bg-body blockquote p { font-size: inherit !important; color: inherit !important; }
.tg-blog .bg-body figure { margin: 1.8em 0; }
.tg-blog .bg-body figure.wide { margin-left: -60px; margin-right: -60px; }
.tg-blog .bg-body img { display: block; max-width: 100%; height: auto; border-radius: 16px; }
.tg-blog .bg-body figcaption { padding-top: 8px; font-size: 14px; color: var(--muted); text-align: center; }
.tg-blog .bg-body hr { margin: 2.4em auto; width: 80px; border: 0; border-top: 2px solid var(--line); }
.tg-blog .bg-body table { width: 100%; margin: 1.6em 0; border-collapse: separate; border-spacing: 0; font-size: 15.5px; line-height: 1.5; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: block; overflow-x: auto; }
.tg-blog .bg-body th { padding: 12px 14px; background: var(--bg-sage); color: var(--green-800); font-weight: 700; text-align: left; white-space: nowrap; }
.tg-blog .bg-body td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; color: var(--bg-text); }
.tg-blog .bg-body tr:nth-child(even) td { background: #FCFAF5; }
.tg-blog .bg-body code { padding: 2px 6px; border-radius: 6px; background: var(--bg-sand); font-size: .9em; }
.tg-blog .bg-body .callout { margin: 1.6em 0; padding: 18px 20px; border-radius: 16px; background: var(--bg-sand); border: 1px solid #EADFCB; }
.tg-blog .bg-body .callout-tip { background: var(--bg-sage); border-color: #DCE7D3; }
.tg-blog .bg-body .callout-warn { background: #FFF4EC; border-color: #F3D9BC; }
.tg-blog .bg-body .callout > :last-child { margin-bottom: 0; }
.tg-blog .bg-body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 16px; }

/* FAQ, sources, tags, share */
.tg-blog .bg-faq { margin-top: 44px; scroll-margin-top: 24px; }
.tg-blog .th .bg-faq h2, .tg-blog .th .bg-sources h2 { margin: 0 0 16px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 2.6vw, 2.25rem); color: var(--bg-ink); }
.tg-blog .bg-faq details { margin-bottom: 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.tg-blog .bg-faq summary { position: relative; cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-size: 17px; font-weight: 700; line-height: 1.45; color: var(--bg-ink); }
.tg-blog .bg-faq summary::-webkit-details-marker { display: none; }
.tg-blog .bg-faq summary:after { content: "+"; position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-sage); color: var(--green-700); font-size: 18px; }
.tg-blog .bg-faq details[open] summary:after { content: "\2013"; background: var(--saffron); color: #fff; }
.tg-blog .th .bg-faq details p { margin: 0; padding: 0 20px 18px; font-size: 16.5px; line-height: 1.75; color: var(--bg-text); }
.tg-blog .bg-sources { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.tg-blog .th .bg-sources h2 { font-size: 1.5rem; }
.tg-blog .bg-sources ol { margin: 0; padding-left: 1.3em; }
.tg-blog .th .bg-sources li { margin-bottom: 6px; font-size: 15px; color: var(--bg-text); }
.tg-blog .th .bg-sources a { color: var(--green-700); word-break: break-word; }
.tg-blog .bg-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 30px 0 0; padding: 0; }
.tg-blog .th .bg-tags a { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--green-800); text-decoration: none; }
.tg-blog .th .bg-tags a:hover { border-color: var(--green-600); background: var(--bg-sage); }
.tg-blog .bg-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tg-blog .bg-share > span { margin-right: 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tg-blog .bg-share a, .tg-blog .bg-share button { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; color: var(--green-800); font-size: 16px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tg-blog .bg-share a:hover, .tg-blog .bg-share button:hover { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.tg-blog .bg-share button.is-done { background: var(--saffron); border-color: var(--saffron); color: #fff; }

/* author box */
.tg-blog .bg-author { display: flex; gap: 22px; margin-top: 34px; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -44px rgba(21,40,26,.6); }
.tg-blog .bg-author > img { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg-sage); }
.tg-blog .bg-author small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--bg-label); }
.tg-blog .th .bg-author h2 { margin: 2px 0 2px; font-family: var(--font-display); font-size: 26px; }
.tg-blog .th .bg-author h2 a { color: var(--bg-ink); text-decoration: none; }
.tg-blog .bg-author-role { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--green-700); }
.tg-blog .th .bg-author p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.7; color: var(--bg-text); }
.tg-blog .bg-author ul, .tg-blog .bg-creds { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tg-blog .bg-author li, .tg-blog .bg-creds li { padding: 5px 11px; border-radius: 999px; background: var(--bg-sage); font-size: 12.5px; font-weight: 600; color: var(--green-800); }
.tg-blog .bg-author li i, .tg-blog .bg-creds li i { margin-right: 6px; color: var(--saffron); }
.tg-blog .th .bg-editorial { margin: 22px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.tg-blog .bg-editorial i { margin-right: 6px; color: var(--saffron); }
.tg-blog .th .bg-editorial a { color: var(--green-700); font-weight: 600; }

/* ============ cards + grids ============ */
.tg-blog .bg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tg-blog .bg-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; }
.tg-blog .bg-card:hover { transform: translateY(-5px); box-shadow: 0 30px 56px -40px rgba(21,40,26,.7); }
.tg-blog .bg-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-sage); }
.tg-blog .bg-card-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .8s ease; }
.tg-blog .bg-card:hover .bg-card-media img { transform: scale(1.05); }
.tg-blog .bg-card-ph { display: block; width: 100%; height: 100%; background: var(--bg-sage) url(../images/ytt-guide/abstract/guna-rings.svg) no-repeat center / 50%; }
.tg-blog .bg-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.tg-blog .bg-card-body .bg-chip { align-self: flex-start; margin-bottom: 10px; }
.tg-blog .th .bg-card h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1.22; }
.tg-blog .th .bg-card h3 a { color: var(--bg-ink); text-decoration: none; }
.tg-blog .th .bg-card h3 a:hover { color: var(--green-700); }
.tg-blog .th .bg-card p { flex: 1; margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--bg-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tg-blog .bg-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.tg-blog .bg-card-meta img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.tg-blog .bg-card-meta span:first-of-type { font-weight: 700; color: var(--green-800); }

/* related + bottom CTA */
.tg-blog .bg-related { background: var(--bg-sand); }
.tg-blog .bg-cta { padding: 64px 0; text-align: center; background: linear-gradient(150deg, #4F7D45 0%, #3B6334 100%); color: #fff; }
.tg-blog .th .bg-cta h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.6rem); color: #fff; }
.tg-blog .th .bg-cta p { margin: 0 auto 22px; max-width: 560px; color: rgba(255,255,255,.88); font-size: 16.5px; }
.tg-blog .bg-cta .th-actions { justify-content: center; }
.tg-blog .bg-cta .th-btn { background: #fff; border-color: #fff; color: var(--green-800); }
.tg-blog .bg-cta .th-btn.is-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }

/* ============ listing page ============ */
.tg-blog .bg-list-head { position: relative; overflow: hidden; padding: 48px 0 30px; text-align: center; background: linear-gradient(180deg, var(--bg-sand), var(--bg-ivory)); }
.tg-blog .bg-art { position: absolute; inset: 0; pointer-events: none; background: url(../images/ytt-guide/abstract/guna-rings.svg) no-repeat right -90px top -80px / 380px, url(../images/ytt-guide/abstract/breath-waves.svg) no-repeat left bottom / 100% 160px; opacity: .55; }
.tg-blog .bg-list-head .th-container { position: relative; z-index: 1; }
.tg-blog .bg-list-head .bg-crumbs ol { justify-content: center; }
.tg-blog .th .bg-list-head h1 { margin: 6px 0 12px; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; color: var(--bg-ink); }
.tg-blog .th .bg-list-lead { max-width: 680px; margin: 0 auto 24px; font-size: 17.5px; line-height: 1.6; color: var(--bg-text); }
.tg-blog .bg-search { position: relative; display: flex; gap: 8px; max-width: 560px; margin: 0 auto 22px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -34px rgba(21,40,26,.6); }
.tg-blog .bg-search i { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.tg-blog .bg-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 10px 10px 10px 42px; font-size: 15.5px; background: transparent; color: var(--bg-ink); }
.tg-blog .bg-search .th-btn { min-height: 44px; border-radius: 999px; padding: 0 22px; }
.tg-blog .bg-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tg-blog .th .bg-cats a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--green-800); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.tg-blog .th .bg-cats a:hover { border-color: var(--green-600); }
.tg-blog .th .bg-cats a[aria-current] { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.tg-blog .bg-list { padding-top: 40px; }
.tg-blog .th .bg-result-note { margin: 0 0 22px; font-size: 15px; color: var(--bg-text); }
.tg-blog .th .bg-result-note a { color: var(--green-700); font-weight: 700; }
.tg-blog .bg-featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; margin-bottom: 44px; padding: 18px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -48px rgba(21,40,26,.7); }
.tg-blog .bg-featured-media { display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--bg-sage); }
.tg-blog .bg-featured-media img { width: 100%; height: 100%; object-fit: cover; }
.tg-blog .bg-featured .bg-label { display: block; margin-bottom: 10px; }
.tg-blog .th .bg-featured h2 { margin: 12px 0 10px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 2.8vw, 2.5rem); line-height: 1.12; }
.tg-blog .th .bg-featured h2 a { color: var(--bg-ink); text-decoration: none; }
.tg-blog .th .bg-featured p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.65; color: var(--bg-text); }
.tg-blog .bg-featured .th-btn { margin-top: 18px; }
.tg-blog .bg-empty { max-width: 620px; margin: 0 auto; padding: 40px 28px; text-align: center; border-radius: 24px; background: #fff; border: 1px dashed #D9D2C2; }
.tg-blog .bg-empty > i { width: 60px; height: 60px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-sage); color: var(--green-700); font-size: 22px; }
.tg-blog .th .bg-empty h2 { margin: 14px 0 8px; font-family: var(--font-display); font-size: 30px; }
.tg-blog .th .bg-empty p { margin: 0; color: var(--bg-text); }
.tg-blog .th .bg-empty a { color: var(--green-700); font-weight: 700; }
.tg-blog .bg-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.tg-blog .th .bg-pager a { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: #fff; font-weight: 700; color: var(--green-800); text-decoration: none; }
.tg-blog .th .bg-pager a[aria-current] { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.tg-blog .th .bg-sub { margin: 0 0 22px; font-family: var(--font-display); font-size: 30px; color: var(--bg-ink); }
.tg-blog .bg-sub ~ .bg-sub { margin-top: 44px; }

/* guides */
.tg-blog .bg-guides { background: var(--bg-sage); }
.tg-blog .bg-guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tg-blog .th .bg-guide { position: relative; display: block; min-height: 340px; border-radius: 24px; overflow: hidden; text-decoration: none; isolation: isolate; }
.tg-blog .bg-guide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s ease; }
.tg-blog .bg-guide:hover img { transform: scale(1.05); }
.tg-blog .bg-guide:after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,30,19,0) 25%, rgba(15,30,19,.78)); }
.tg-blog .bg-guide > span { position: absolute; left: 26px; right: 26px; bottom: 24px; }
.tg-blog .bg-guide .bg-label { color: #F6C68F; }
.tg-blog .bg-guide strong { display: block; margin: 6px 0; font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.15; color: #fff; }
.tg-blog .bg-guide em { font-style: normal; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.88); }

/* author page */
.tg-blog .bg-author-head { text-align: left; }
.tg-blog .bg-author-head .bg-crumbs ol { justify-content: flex-start; }
.tg-blog .bg-author-hero { display: flex; gap: 34px; align-items: center; max-width: 960px; }
.tg-blog .bg-author-hero > img { flex: 0 0 160px; width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 24px 50px -30px rgba(21,40,26,.7); }
.tg-blog .th .bg-author-hero h1 { margin: 6px 0 4px; font-size: clamp(2.4rem, 4.4vw, 3.4rem); }
.tg-blog .th .bg-author-hero p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.7; color: var(--bg-text); }
.tg-blog .bg-author-hero .bg-author-role { font-size: 15px; }
.tg-blog .bg-author-hero .bg-creds { margin-bottom: 18px; }

/* ============ responsive ============ */
@media (max-width: 1199px) {
	.tg-blog .bg-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 36px; }
	.tg-blog .bg-body figure.wide { margin-left: 0; margin-right: 0; }
}
@media (max-width: 991px) {
	.tg-blog .bg-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 26px; }
	.tg-blog .bg-toc { position: static; max-height: none; margin-bottom: 24px; }
	.tg-blog .bg-toc details:not([open]) { padding-bottom: 18px; }
	.tg-blog .bg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tg-blog .bg-featured { grid-template-columns: 1fr; gap: 20px; }
	.tg-blog .bg-guide-grid { grid-template-columns: 1fr; }
	.tg-blog .bg-byline-facts { margin-left: 0; width: 100%; }
}
@media (max-width: 767px) {
	.tg-blog .bg-head { padding: 28px 0 22px; }
	.tg-blog .bg-head:after { width: 240px; height: 240px; right: -80px; top: -60px; }
	.tg-blog .bg-hero img { border-radius: 16px; }
	.tg-blog .bg-body, .tg-blog .th .bg-body p, .tg-blog .th .bg-body li { font-size: 17px; }
	.tg-blog .bg-grid { grid-template-columns: 1fr; }
	.tg-blog .bg-author { flex-direction: column; padding: 20px; }
	.tg-blog .bg-author-hero { flex-direction: column; align-items: flex-start; gap: 18px; }
	.tg-blog .bg-author-hero > img { width: 120px; height: 120px; flex-basis: 120px; }
	.tg-blog .bg-search .th-btn { padding: 0 16px; }
	.tg-blog .bg-art { background-size: 240px, 100% 120px; }
}
@media (prefers-reduced-motion: reduce) {
	.tg-blog .bg-card, .tg-blog .bg-card-media img, .tg-blog .bg-guide img, .tg-blog .bg-progress span { transition: none; }
}

/* fixes after visual check (3 Oct 2026) */
/* body.tg-home makes the site header float (as on the home page), so the first band starts below it */
.tg-blog .bg-head { padding-top: 132px; }
.tg-blog .bg-list-head { padding-top: 128px; }
.tg-blog .bg-preview-bar { position: relative; z-index: 1000; margin-top: 110px; }
.tg-blog .bg-preview-bar + .bg-article .bg-head { padding-top: 36px; }
/* tables fill the reading column; scroll sideways only on phones */
.tg-blog .bg-body table { display: table; }
@media (max-width: 991px) { .tg-blog .bg-head { padding-top: 112px; } .tg-blog .bg-list-head { padding-top: 108px; } .tg-blog .bg-preview-bar { margin-top: 92px; } }
@media (max-width: 767px) { .tg-blog .bg-body table { display: block; } }

/*==========================================================
	Blog design v2 (3 Oct 2026): split hero, three-column reading layout with a sticky rail,
	numbered sections, step cards for numbered lists, mid-article related card.
==========================================================*/
/* ---- hero: text left, photo right ---- */
.tg-blog .bg-head { padding-bottom: 46px; }
.tg-blog .bg-head-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.tg-blog .bg-head.has-img .bg-head-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.tg-blog .bg-head-inner { max-width: 760px; }
.tg-blog .th .bg-head h1 { font-size: clamp(2.2rem, 3.9vw, 3.4rem); }
.tg-blog .bg-byline { gap: 14px 22px; }
.tg-blog .bg-byline-facts { margin-left: 0; width: 100%; }
.tg-blog .bg-hero { position: relative; margin: 0; }
.tg-blog .bg-hero img { position: relative; z-index: 1; aspect-ratio: 4 / 3; border-radius: 28px; box-shadow: 0 40px 80px -48px rgba(21,40,26,.75); }
.tg-blog .bg-hero-art { position: absolute; z-index: 0; right: -46px; bottom: -46px; width: 220px; height: 220px; background: url(../images/ytt-guide/abstract/guna-rings.svg) no-repeat center / contain; opacity: .7; }
.tg-blog .bg-hero:before { content: ""; position: absolute; z-index: 0; left: -18px; top: -18px; width: 120px; height: 120px; border-radius: 28px; background: var(--bg-sage); }
.tg-blog .bg-hero figcaption { position: relative; z-index: 1; }

/* ---- three columns: contents | article | rail ---- */
.tg-blog .bg-layout { grid-template-columns: 240px minmax(0, 720px) 280px; gap: 44px; padding-top: 48px; max-width: 1400px; }
.tg-blog .bg-layout:not(:has(.bg-toc)) { grid-template-columns: minmax(0, 760px) 290px; }
.tg-blog .bg-toc, .tg-blog .bg-rail { top: 96px; }
.tg-blog .bg-toc summary { display: flex; align-items: center; justify-content: space-between; }
.tg-blog .bg-toc-pct { font-size: 12px; color: var(--green-700); font-variant-numeric: tabular-nums; }
.tg-blog .bg-toc ol { counter-reset: none; }
.tg-blog .th .bg-toc a { display: flex; gap: 10px; padding: 7px 0; border-left: 0; font-size: 13.5px; }
.tg-blog .bg-toc a b { flex: 0 0 26px; height: 22px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-sand); font-size: 11px; font-weight: 800; color: var(--muted); transition: background .2s, color .2s; }
.tg-blog .th .bg-toc a:hover b, .tg-blog .th .bg-toc a.is-active b { background: var(--green-600); color: #fff; }
.tg-blog .th .bg-toc a.is-active { font-weight: 700; color: var(--green-800); }

/* rail */
.tg-blog .bg-rail { position: sticky; align-self: start; display: grid; gap: 16px; }
.tg-blog .th .bg-rail-author { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.tg-blog .bg-rail-author img { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.tg-blog .bg-rail-author small, .tg-blog .bg-rail-h, .tg-blog .bg-rail-course small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--bg-label); }
.tg-blog .bg-rail-author b { display: block; font-size: 15px; color: var(--green-800); }
.tg-blog .bg-rail-author em { display: block; margin-top: 3px; font-style: normal; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.tg-blog .bg-rail-box { padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.tg-blog .bg-rail-list { list-style: none; margin: 10px 0 8px; padding: 0; display: grid; gap: 10px; }
.tg-blog .th .bg-rail-list a { display: flex; gap: 10px; align-items: center; text-decoration: none; }
.tg-blog .bg-rail-list img { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.tg-blog .bg-rail-list span { font-size: 13.5px; font-weight: 700; line-height: 1.35; color: var(--bg-ink); }
.tg-blog .th .bg-rail-list a:hover span { color: var(--green-700); }
.tg-blog .bg-rail-list small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.tg-blog .th .bg-rail-all { font-size: 13px; font-weight: 700; color: var(--green-700); text-decoration: none; }
.tg-blog .th .bg-rail-course { display: block; position: relative; overflow: hidden; border-radius: 18px; text-decoration: none; isolation: isolate; min-height: 210px; }
.tg-blog .bg-rail-course img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease; }
.tg-blog .bg-rail-course:hover img { transform: scale(1.05); }
.tg-blog .bg-rail-course:after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,30,19,.05) 20%, rgba(15,30,19,.8)); }
.tg-blog .bg-rail-course > span { position: absolute; left: 16px; right: 16px; bottom: 14px; color: #fff; }
.tg-blog .bg-rail-course small { color: #F6C68F; }
.tg-blog .bg-rail-course b { display: block; margin: 3px 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.15; }
.tg-blog .bg-rail-course em { display: block; font-style: normal; font-size: 12.5px; color: rgba(255,255,255,.85); }
.tg-blog .bg-rail-course u { display: inline-block; margin-top: 8px; text-decoration: none; font-size: 13px; font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255,255,255,.6); }
.tg-blog .bg-rail-share { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 12px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.tg-blog .bg-rail-share .bg-rail-h { margin-right: auto; }
.tg-blog .bg-rail-share a, .tg-blog .bg-rail-share button { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; color: var(--green-800); cursor: pointer; }
.tg-blog .bg-rail-share a:hover, .tg-blog .bg-rail-share button:hover { background: var(--green-600); border-color: var(--green-600); color: #fff; }

/* ---- numbered sections ---- */
.tg-blog .bg-body { counter-reset: sec; }
.tg-blog .th .bg-body h2 { counter-increment: sec; position: relative; margin-top: 2.2em; padding-top: 1.1em; border-top: 1px solid var(--line); }
.tg-blog .th .bg-body h2:first-child { margin-top: .4em; }
.tg-blog .th .bg-body h2:before { content: counter(sec, decimal-leading-zero); display: block; width: fit-content; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px; background: #FDF0E3; font-family: var(--font-ui); font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--bg-label); }
/* the sentence right after a heading is the direct answer: give it more weight */
.tg-blog .th .bg-body h2 + p { font-size: 19px; line-height: 1.7; color: var(--bg-ink); }

/* ---- numbered lists become step cards ---- */
.tg-blog .bg-body ol { list-style: none; counter-reset: step; margin: 0 0 1.5em; padding: 0; }
.tg-blog .th .bg-body ol > li { counter-increment: step; position: relative; margin: 0 0 10px; padding: 13px 16px 13px 58px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 17px; line-height: 1.65; }
.tg-blog .bg-body ol > li:before { content: counter(step); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--green-600); color: #fff; font-size: 13.5px; font-weight: 800; }
.tg-blog .bg-body ol > li:not(:last-child):after { content: ""; position: absolute; left: 28px; top: 44px; bottom: -12px; border-left: 2px dashed #CFE0C4; }
.tg-blog .bg-body ol > li::marker { content: none; }
/* bullet lists: saffron dots */
.tg-blog .bg-body ul { list-style: none; padding-left: 0; }
.tg-blog .th .bg-body ul > li { position: relative; padding-left: 26px; }
.tg-blog .bg-body ul > li:before { content: ""; position: absolute; left: 4px; top: .7em; width: 9px; height: 9px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 4px #FDF0E3; }

/* ---- mid-article related card ---- */
.tg-blog .bg-inline-rel { margin: 2.2em 0 0; }
.tg-blog .th .bg-inline-rel a { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 18px; background: var(--bg-sand); border: 1px solid #EADFCB; text-decoration: none; transition: border-color .2s, transform .2s; }
.tg-blog .th .bg-inline-rel a:hover { border-color: var(--saffron); transform: translateY(-2px); }
.tg-blog .bg-inline-rel img { flex: 0 0 120px; width: 120px; height: 90px; border-radius: 12px; object-fit: cover; }
.tg-blog .bg-inline-rel small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--bg-label); }
.tg-blog .bg-inline-rel strong { display: block; margin: 3px 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--bg-ink); }
.tg-blog .bg-inline-rel em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--green-700); }

/* ---- responsive ---- */
@media (max-width: 1279px) {
	.tg-blog .bg-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 36px; }
	.tg-blog .bg-layout:not(:has(.bg-toc)) { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
	.tg-blog .bg-rail { display: none; }
}
@media (max-width: 991px) {
	.tg-blog .bg-head.has-img .bg-head-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.tg-blog .bg-hero-art { width: 150px; height: 150px; right: -20px; bottom: -30px; }
	.tg-blog .bg-hero:before { display: none; }
	.tg-blog .bg-layout { grid-template-columns: minmax(0, 1fr); }
	.tg-blog .bg-toc { position: sticky; top: 0; z-index: 30; margin: 0 -16px 22px; }
	.tg-blog .bg-toc details { border-radius: 0; border-left: 0; border-right: 0; box-shadow: 0 10px 24px -20px rgba(21,40,26,.6); }
	.tg-blog .bg-toc ol { max-height: 60vh; overflow: auto; }
}
@media (max-width: 767px) {
	.tg-blog .th .bg-body h2 + p { font-size: 17.5px; }
	.tg-blog .th .bg-body ol > li { padding-left: 52px; font-size: 16px; }
	.tg-blog .bg-inline-rel img { flex-basis: 84px; width: 84px; height: 84px; }
	.tg-blog .bg-inline-rel strong { font-size: 19px; }
}
