/* Blog v2 prototype. Everything is scoped to .ynb (the new <main>), so the site header and footer keep
   the theme's styles. Layout: a dark hero under the transparent site header, then a 220px sticky
   contents column beside a ~68ch article column; the blog home is a lead story + side list, a reading
   path band and a three-column card grid. */
.ynb {
  --terra: #A43C1F; --terra-deep: #7E2C15; --cream: #FFFAF5; --sand: #F4E8DC; --ink: #1F1713;
  --mute: #6A574C; --line: rgba(35, 35, 35, .10); --white: #FFFFFF;
  --t-practice: #A43C1F; --t-breath: #B9741F; --t-mind: #3E4A6B; --t-philo: #6E3B55;
  --t-food: #5D6E55; --t-ytt: #7E2C15; --t-goa: #8A5A3C;
  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-deva: "Noto Serif Devanagari", "Nirmala UI", "Mangal", serif;
  --header-h: 210px;
  background: var(--cream); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.7;
  display: block;
}
.ynb *, .ynb *::before, .ynb *::after { box-sizing: border-box; }
.ynb p { margin: 0 0 1.1em; line-height: 1.75; }
.ynb a { color: inherit; }
body .ynb h1, body .ynb h2, body .ynb h3 { font-family: var(--f-display); color: var(--ink); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; margin: 0; }
.ynb img { max-width: 100%; }
.ynb :focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.ynb-wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
.ynb-narrow { max-width: 860px; }
.ynb-ph { display: block; width: 100%; height: 100%; object-fit: cover; }
.ynb-kicker { display: inline-block; font: 800 11px/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.ynb .ynb-kicker-light { color: #F6C7A8; }
.ynb-meta { font-size: 13px; color: var(--mute); }
.ynb-section-lbl { font: 800 11px/1.2 var(--f-body) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin: 0 0 14px !important; }
.ynb-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ynb-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--terra); color: #fff !important; border: 1.5px solid var(--terra); border-radius: 999px; padding: 12px 22px; font: 700 14px/1 var(--f-body); text-decoration: none; transition: background .2s, color .2s; }
.ynb-btn:hover { background: var(--terra-deep); border-color: var(--terra-deep); }
.ynb-ghost { background: transparent; color: var(--terra) !important; }
.ynb-ghost:hover { background: var(--terra); color: #fff !important; }
.ynb-ghost-light { background: transparent; border-color: rgba(255, 250, 245, .6); }
.ynb-ghost-light:hover { background: var(--cream); color: var(--ink) !important; border-color: var(--cream); }

/* topic colour (C2) */
.ynb-t-practice { --t: var(--t-practice); } .ynb-t-breath { --t: var(--t-breath); } .ynb-t-mind { --t: var(--t-mind); }
.ynb-t-philo { --t: var(--t-philo); } .ynb-t-food { --t: var(--t-food); } .ynb-t-ytt { --t: var(--t-ytt); } .ynb-t-goa { --t: var(--t-goa); }
.ynb-topic { display: inline-flex; align-items: center; gap: 7px; font: 800 11px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--t); }
.ynb-topic::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--t); flex: none; }
.ynb-cover { width: 100%; height: 100%; display: grid; place-content: center; text-align: center; gap: 6px; background: var(--t); color: #FFF6EE; padding: 16px; }
.ynb-cover .ynb-deva { font: 500 clamp(30px, 3.4vw, 46px)/1.15 var(--f-deva); }
.ynb-cover .ynb-iast { font: italic 400 15px/1.2 var(--f-display); opacity: .9; }

/* progress bar (B4) */
.ynb-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 10001; background: transparent; }
.ynb-progress i { display: block; height: 100%; width: 0; background: var(--terra); }

/* ---------- hero (B1) ---------- */
.ynb-hero { position: relative; overflow: hidden; color: var(--cream); }
.ynb-hero-in { position: relative; max-width: 1240px; margin: 0 auto; padding: var(--header-h) 24px 72px; }
.ynb .ynb-hero h1 { color: #FFF6EE; font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -.02em; margin: 14px 0 16px; font-variation-settings: "opsz" 144; }
.ynb-hero .ynb-topic { color: #F6C7A8; } .ynb-hero .ynb-topic::before { background: #F6C7A8; }
.ynb-dek { font-size: 19px; line-height: 1.55; max-width: 46ch; color: rgba(255, 246, 238, .88); margin: 0 0 14px !important; }
.ynb-hero .ynb-meta { color: rgba(255, 246, 238, .72); margin: 0 !important; }
.ynb-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255, 246, 238, .75); margin-bottom: 26px; }
.ynb-crumbs a { text-decoration: none; } .ynb-crumbs a:hover { color: #fff; }
.ynb-hero-photo { min-height: 640px; display: flex; align-items: flex-end; }
.ynb-hero-photo > .ynb-ph { position: absolute; inset: 0; }
.ynb-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 23, 19, .62) 0%, rgba(31, 23, 19, .15) 38%, rgba(31, 23, 19, .86) 100%); }
.ynb-hero-photo .ynb-hero-in { width: 100%; }
.ynb-hero-photo .ynb-hero-txt { max-width: 820px; }
.ynb-hero-split { background: var(--ink); }
.ynb-hero-split .ynb-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.ynb .ynb-hero-split h1 { font-size: clamp(32px, 4vw, 52px); }
.ynb-hero-img { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.ynb-hero-type { background: color-mix(in srgb, var(--t) 38%, #1A120E); text-align: center; }
.ynb-hero-type .ynb-hero-txt { max-width: 860px; margin: 0 auto; display: grid; justify-items: center; }
.ynb-hero-type .ynb-crumbs { justify-content: center; }
.ynb-hero-type > .ynb-hero-in > .ynb-hero-txt > .ynb-deva { font: 500 clamp(64px, 9vw, 112px)/1.1 var(--f-deva); color: #F6C7A8; }
.ynb-hero-type > .ynb-hero-in > .ynb-hero-txt > .ynb-iast { font: italic 400 20px/1 var(--f-display); color: rgba(255, 246, 238, .8); margin: 8px 0 28px; }
.ynb-hero-type .ynb-topic { color: #FFE2CF; } .ynb-hero-type .ynb-topic::before { background: #FFE2CF; }
.ynb-hero-type .ynb-dek { margin-inline: auto !important; }

/* ---------- byline (B2) ---------- */
.ynb-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ynb-who { display: flex; gap: 12px; align-items: center; }
.ynb-who b { display: block; font-size: 14px; }
.ynb-who span > span { display: block; font-size: 12.5px; color: var(--mute); line-height: 1.4; }
.ynb-av { width: 44px; height: 44px; border-radius: 50%; background: var(--terra); color: #FFF6EE; display: grid; place-items: center; font: 600 16px var(--f-display); flex: none; }
.ynb-av-alt { background: var(--t-food); font-family: var(--f-body); }
.ynb-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 13px; color: var(--mute); margin-left: auto; }
.ynb-facts b { color: var(--ink); }
.ynb-badge { font: 800 10.5px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; border: 1.5px solid var(--t-food); color: var(--t-food); border-radius: 4px; padding: 7px 9px; }

/* ---------- article layout (B4, B15) ---------- */
.ynb-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; padding: 48px 0 32px; justify-content: center; }
.ynb-toc { position: sticky; top: 110px; align-self: start; display: grid; font-size: 13.5px; line-height: 1.35; max-height: calc(100vh - 140px); overflow: auto; }
.ynb-toc-lbl { font: 800 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.ynb-toc a { text-decoration: none; color: var(--mute); padding: 7px 0 7px 14px; border-left: 2px solid var(--line); transition: color .2s, border-color .2s; }
.ynb-toc a:hover { color: var(--ink); }
.ynb-toc a.is-read { color: var(--ink); }
.ynb-toc a.is-on { color: var(--ink); font-weight: 700; border-left-color: var(--terra); }
.ynb-article { min-width: 0; }
.ynb .ynb-article > h2 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.18; margin: 2.2em 0 .6em; scroll-margin-top: 110px; }
.ynb .ynb-article > h3 { font-size: 22px; line-height: 1.25; margin: 1.8em 0 .5em; }
.ynb-article > p, .ynb-article > .ynb-list { max-width: 66ch; }
.ynb-article a:not(.ynb-btn) { color: var(--terra); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ynb-lead::first-letter { float: left; font: 600 76px/.8 var(--f-display); color: var(--terra); padding: 8px 12px 0 0; }
.ynb-list { margin: 0 0 1.3em; padding: 0; list-style: none; display: grid; gap: 12px; }
.ynb-list li { position: relative; padding-left: 26px; line-height: 1.7; }
.ynb-list li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--terra); }
.ynb-term { border-bottom: 1.5px dotted var(--terra); cursor: help; }
.ynb-orn { display: flex; align-items: center; gap: 14px; color: var(--terra); margin: 40px 0; }
.ynb-orn::before, .ynb-orn::after { content: ""; height: 1px; flex: 1; background: currentColor; opacity: .3; }

/* converted posts: body markup from scripts/blog-v2-convert.mjs */
.ynb-layout-solo { grid-template-columns: minmax(0, 720px); }
.ynb .ynb-article > h2.ynb-sec, .ynb .ynb-article > h3.ynb-sec { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.18; margin: 2.2em 0 .6em; scroll-margin-top: 110px; }
.ynb .ynb-article > h4 { font: 600 19px/1.3 var(--f-display); color: var(--ink); margin: 1.6em 0 .4em; }
.ynb-article > p, .ynb-article > .ynb-olist { max-width: 66ch; }
.ynb-olist { margin: 0 0 1.3em; padding-left: 1.4em; display: grid; gap: 12px; }
.ynb-olist li { padding-left: 6px; line-height: 1.7; }
.ynb-olist li::marker { color: var(--terra); font: 600 16px var(--f-display); }
.ynb-list .ynb-list, .ynb-list .ynb-olist, .ynb-olist .ynb-list { margin: 10px 0 0; }
.ynb-body-fig { margin: 32px 0; display: grid; gap: 8px; }
.ynb-body-fig img { display: block; width: 100%; height: auto; border-radius: 12px; }
.ynb-body-fig figcaption { font-size: 13.5px; line-height: 1.5; color: var(--mute); }
.ynb-article p img { display: inline-block; vertical-align: middle; height: auto; }
.ynb-quote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--terra); font: italic 400 20px/1.5 var(--f-display); color: var(--terra-deep); }
.ynb-quote p { margin: 0 0 .6em; }
.ynb-article .ynb-table-scroll table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.ynb-article .ynb-table-scroll td, .ynb-article .ynb-table-scroll th { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }

/* quick answer (B3) */
.ynb-answer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; margin: 0 0 40px; }
.ynb-qa { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.ynb-q { font: 600 22px/1.25 var(--f-display) !important; margin: 10px 0 8px !important; }
.ynb-qa p:last-child { margin: 0; font-size: 16px; }
.ynb-take { background: var(--sand); border-radius: 14px; padding: 24px; }
.ynb-take ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; line-height: 1.5; }
.ynb-take li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.ynb-take li::before { content: ""; width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; border: 2px solid var(--terra); }

/* Sanskrit term (B5) */
.ynb-termcard { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; margin: 8px 0 32px; }
.ynb-termcard .ynb-deva { font: 500 48px/1.2 var(--f-deva); color: var(--terra); }
.ynb-termcard .ynb-iast { font: italic 500 21px/1.2 var(--f-display); }
.ynb-say { font-size: 12.5px; color: var(--mute); margin: 2px 0 8px; }
.ynb-termcard p { margin: 0; font-size: 15px; line-height: 1.6; }

/* pull quote + student voice (B10) */
.ynb-pull { margin: 40px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--terra); }
.ynb-pull p { font: italic 400 clamp(24px, 2.6vw, 32px)/1.28 var(--f-display); color: var(--terra-deep); margin: 0 0 10px; text-wrap: balance; }
.ynb-pull cite { font: 600 13px/1.4 var(--f-body); font-style: normal; color: var(--mute); }
.ynb-voice { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; margin: 36px 0; display: grid; gap: 10px; }
.ynb-voice .ynb-kicker { color: var(--t-food); }
.ynb-voice p { font: 400 21px/1.45 var(--f-display); margin: 0; }
.ynb-voice-who { font-size: 13.5px; color: var(--mute); }
.ynb-voice-who b { color: var(--ink); }

/* table (B8) */
.ynb-table { margin: 32px 0; }
.ynb-table figcaption { font: 800 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.ynb-table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.ynb-table table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14.5px; line-height: 1.45; margin: 0; }
.ynb-table th, .ynb-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ynb-table thead th { font: 800 10.5px/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); background: var(--sand); }
.ynb-table tbody th { font: 600 16px/1.3 var(--f-display); color: var(--ink); }
.ynb-table tbody th small { display: block; font: 400 12.5px/1.4 var(--f-body); color: var(--mute); margin-top: 2px; }
.ynb-table tr:last-child th, .ynb-table tr:last-child td { border-bottom: 0; }

/* callouts (B9) */
.ynb-callout { border-radius: 12px; padding: 18px 20px 18px 22px; margin: 28px 0; display: grid; gap: 6px; }
.ynb-callout p { margin: 0; font-size: 16px; line-height: 1.6; }
.ynb-callout-h { font: 800 11px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.ynb-warn { background: #FBEDE6; border-left: 4px solid var(--terra); } .ynb-warn .ynb-callout-h { color: var(--terra-deep); }
.ynb-tip { background: #EEF1EA; border-left: 4px solid var(--t-food); } .ynb-tip .ynb-callout-h { color: #43523C; }
.ynb-try { background: #EEF0F5; border-left: 4px solid var(--t-mind); } .ynb-try .ynb-callout-h { color: var(--t-mind); }

/* photo layouts (B11) */
.ynb-figs { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; margin: 36px 0; }
.ynb-figs figure { margin: 0; display: grid; gap: 8px; align-content: start; }
.ynb-fig-img { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.ynb-figs-stack { display: grid; gap: 14px; }
.ynb-figs-stack .ynb-fig-img { aspect-ratio: 16 / 10; }
.ynb-figs figcaption { font-size: 13.5px; line-height: 1.5; color: var(--mute); }
.ynb-figs figcaption b { color: var(--ink); }

/* course card (B12) */
.ynb-course { display: grid; grid-template-columns: 210px minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin: 40px 0; box-shadow: 0 10px 30px rgba(31, 23, 19, .06); }
.ynb-course-img { min-height: 100%; }
.ynb-course-txt { padding: 22px 24px; display: grid; gap: 10px; }
.ynb-course-title { font: 600 22px/1.22 var(--f-display) !important; margin: 0 !important; text-wrap: balance; }
.ynb-course ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--mute); }
.ynb-course li::before { content: "✓ "; color: var(--t-food); font-weight: 800; }
.ynb-course .ynb-row { margin-top: 6px; }
.ynb-end { padding: 16px 0 56px; }
.ynb-end-in { background: var(--ink); color: var(--cream); border-radius: 18px; padding: 36px 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; max-width: 1004px; margin: 0 auto; }
.ynb-end-title { font: 600 28px/1.15 var(--f-display) !important; margin: 0 0 8px !important; color: #FFF6EE; }
.ynb-end-in p:not(.ynb-end-title) { margin: 0; color: rgba(255, 246, 238, .78); font-size: 16px; }

/* FAQs (plain, all open) */
.ynb-faq { margin-top: 48px; padding-top: 8px; border-top: 1px solid var(--line); }
.ynb .ynb-faq h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 1.2em 0 .8em; scroll-margin-top: 110px; }
.ynb-faq dl { margin: 0; display: grid; gap: 0; }
.ynb-faq dl > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.ynb-faq dt { font: 600 19px/1.35 var(--f-display); margin-bottom: 6px; }
.ynb-faq dd { margin: 0; color: var(--mute); font-size: 16px; line-height: 1.65; max-width: 66ch; }

/* next + related (B14) */
.ynb-related { padding: 8px 0 56px; }
.ynb-next { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); margin-bottom: 40px; }
.ynb-next a { display: grid; gap: 4px; padding: 20px 24px; text-decoration: none; transition: background .2s; }
.ynb-next a:hover { background: var(--sand); }
.ynb-next a.ynb-next-r { text-align: right; border-left: 1px solid var(--line); }
.ynb-next small { font-size: 12.5px; color: var(--mute); }
.ynb-next b { font: 600 18px/1.3 var(--f-display); }
.ynb-comments { padding: 0 0 72px; }

/* ---------- cards (A3) ---------- */
.ynb-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ynb-card { display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.ynb-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(31, 23, 19, .1); }
.ynb-card-img { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.ynb-rt { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 250, 245, .95); color: var(--ink); font: 700 11.5px/1 var(--f-body); padding: 7px 10px; border-radius: 999px; }
.ynb-card-body { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 18px 20px 18px; }
.ynb-card-title { font: 600 20px/1.25 var(--f-display) !important; margin: 0 !important; color: var(--ink); text-wrap: balance; }
.ynb-card-ex { font-size: 14.5px !important; line-height: 1.55 !important; color: var(--mute); margin: 0 !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ynb-card-foot { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--mute); padding-top: 12px; border-top: 1px solid var(--line); }
.ynb-read { color: var(--terra); font-weight: 800; }

/* ---------- blog home (A1, A4) ---------- */
.ynb-hero-home { min-height: 560px; }
.ynb .ynb-hero-home h1 { font-size: clamp(42px, 6vw, 76px); }
.ynb-topic-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 28px 0 0; font-size: 13.5px; color: rgba(255, 246, 238, .85); }
.ynb-topic-row li { display: inline-flex; align-items: center; gap: 8px; }
.ynb-topic-row small { opacity: .6; }
.ynb-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--t); box-shadow: 0 0 0 2px rgba(255, 246, 238, .7); }
.ynb-feature { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; padding-block: 64px 72px; }
.ynb-lead-main { display: grid; gap: 14px; align-content: start; text-decoration: none; }
.ynb-lead-img { aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; margin-bottom: 6px; }
.ynb-lead-title { font: 600 clamp(28px, 3vw, 40px)/1.1 var(--f-display) !important; letter-spacing: -.015em; margin: 0 !important; text-wrap: balance; }
.ynb-lead-ex { font-size: 17px; color: var(--mute); margin: 0 !important; max-width: 60ch; }
.ynb-lead-main:hover .ynb-lead-title { color: var(--terra); }
.ynb-lead-side { display: grid; align-content: start; }
.ynb-mini { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.ynb-mini:first-of-type { padding-top: 0; }
.ynb-mini:last-child { border-bottom: 0; }
.ynb-mini-img { aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.ynb-mini .ynb-cover .ynb-deva { font-size: 30px; }
.ynb-mini-title { font: 600 19px/1.25 var(--f-display) !important; margin: 8px 0 6px !important; }
.ynb-mini:hover .ynb-mini-title { color: var(--terra); }
.ynb-path-band { background: var(--sand); padding-block: 64px; }
.ynb-path { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 56px; align-items: start; }
.ynb .ynb-path h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; margin: 12px 0 12px; }
.ynb-path p { color: var(--mute); margin-bottom: 22px; }
.ynb-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.ynb-steps li { counter-increment: s; border-bottom: 1px dashed rgba(31, 23, 19, .2); }
.ynb-steps a { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 16px 0; text-decoration: none; }
.ynb-steps a::before { content: counter(s); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--terra); display: grid; place-items: center; font: 600 17px var(--f-display); color: var(--terra); background: var(--cream); }
.ynb-steps b { font: 600 19px/1.3 var(--f-display); }
.ynb-steps a:hover b { color: var(--terra); }
.ynb-all { padding-block: 72px 96px; }
.ynb-all-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.ynb .ynb-all-head h2 { font-size: clamp(30px, 3.2vw, 40px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .ynb-layout { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 760px; margin: 0 auto; }
  .ynb-toc { position: sticky; top: 0; z-index: 5; background: var(--cream); display: flex; overflow-x: auto; gap: 0; max-height: none; margin: 0 -24px 32px; padding: 0 24px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .ynb-toc-lbl { display: none; }
  .ynb-toc a { flex: none; border-left: 0; border-bottom: 2px solid transparent; padding: 14px 12px; white-space: nowrap; }
  .ynb-toc a.is-on { border-bottom-color: var(--terra); }
  html.yn-sh-scrolled .ynb .ynb-toc { top: var(--yn-sh-h, 84px); }
  .ynb .ynb-article > h2, .ynb .ynb-faq h2 { scroll-margin-top: 64px; }
  .ynb-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .ynb { --header-h: 180px; font-size: 16.5px; }
  .ynb-wrap { padding-inline: 18px; }
  .ynb-hero-in { padding-inline: 18px; padding-bottom: 48px; }
  .ynb-hero-photo { min-height: 560px; }
  .ynb-hero-split .ynb-hero-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ynb-dek { font-size: 17px; }
  .ynb-answer, .ynb-feature, .ynb-path { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ynb-termcard { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ynb-figs { grid-template-columns: minmax(0, 1fr); }
  .ynb-course { grid-template-columns: minmax(0, 1fr); }
  .ynb-course-img { aspect-ratio: 16 / 9; }
  .ynb-end-in { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; }
  .ynb-next { grid-template-columns: minmax(0, 1fr); }
  .ynb-next a.ynb-next-r { text-align: left; border-left: 0; border-top: 1px solid var(--line); }
  .ynb-toc { margin-inline: -18px; padding-inline: 18px; }
  .ynb-facts { margin-left: 0; }
  .ynb-feature { padding-block: 40px 48px; }
}
@media (max-width: 600px) {
  .ynb-grid3 { grid-template-columns: minmax(0, 1fr); }
  .ynb-lead-ex { font-size: 16px; }
  .ynb-lead::first-letter { font-size: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .ynb *, .ynb *::before, .ynb *::after { transition: none !important; animation: none !important; }
}
