/**
 * YouMind Custom Toolkit - GLOBAL TYPOGRAPHY APPLICATION
 * Token VALUES live in tokens.css. This file only maps those
 * tokens onto the widget elements (h1-h6, desc, body, CTA label).
 */
body .ymct-spaced:not(.ymct-spaced--hero) :is(h1,h2,h3,h4,h5,h6){margin:0!important}body .ymct-spaced :is(h1,.hh-kicker,.hh-kicker-end,.ymct-hero-title){font-family:var(--ymct-font)!important;font-weight:var(--ymct-h1-weight)!important;font-size:var(--ymct-h1-size)!important;line-height:var(--ymct-h1-lh)!important;letter-spacing:var(--ymct-h1-ls)!important;text-transform:var(--ymct-h1-transform,inherit)!important}body .ymct-spaced :is(h2,.ec-heading,.ct-heading,.ic-heading,.fg-heading,.faq-heading,.vt-heading,.sc81,.sc132,.sc138,.sc605,.sc611):not(.ymct-hero-title){font-family:var(--ymct-font)!important;font-weight:var(--ymct-h2-weight)!important;font-size:var(--ymct-h2-size)!important;line-height:var(--ymct-h2-lh)!important;letter-spacing:var(--ymct-h2-ls)!important;text-transform:var(--ymct-h2-transform,inherit)!important}body .ymct-spaced :is(h3,.ic-card-title,.fg-card-title,.ec-bubble-title,.ec-mcard-title,.sd-theme-title,.sd-tier-title,.sd-study-title,.af-memo-title,.ymct-approach-title,.eb-overlay-title,.vg-card-title){font-family:var(--ymct-font)!important;font-weight:var(--ymct-h3-weight)!important;font-size:var(--ymct-h3-size)!important;line-height:var(--ymct-h3-lh)!important}body .ymct-spaced h4{font-family:var(--ymct-font)!important;font-weight:var(--ymct-h4-weight)!important;font-size:var(--ymct-h4-size)!important;line-height:var(--ymct-h4-lh)!important}body .ymct-spaced h5{font-family:var(--ymct-font)!important;font-weight:var(--ymct-h5-weight)!important;font-size:var(--ymct-h5-size)!important;line-height:var(--ymct-h5-lh)!important}body .ymct-spaced h6{font-family:var(--ymct-font)!important;font-weight:var(--ymct-h6-weight)!important;font-size:var(--ymct-h6-size)!important;line-height:var(--ymct-h6-lh)!important}body .ymct-spaced :is([class$="-desc"],.hh-desc,.ymct-hero-desc,.ceq-subheading,.fg-subheading,[class$="-heading"]>p,[class$="-intro"]>p,[class$="-head"]>p){font-family:var(--ymct-font)!important;font-weight:var(--ymct-desc-weight)!important;font-size:var(--ymct-desc-size)!important;line-height:var(--ymct-desc-lh)!important}body .ymct-spaced :is([class*="-card"],[class*="-copy"]) p:not([class*="title"]):not([class*="heading"]):not([class*="label"]):not([class*="badge"]):not([class*="cta"]):not([class$="-desc"]){font-family:var(--ymct-font)!important;font-weight:var(--ymct-body-weight)!important;font-size:var(--ymct-body-size)!important;line-height:var(--ymct-body-lh)!important}body .ymct-spaced :is(.sc15,.sc24,.sh-btn-label,.cb-btn-label,.vg-btn-label,.mb-cta-label,.eb-cta-label,.ic-cta-label,.ss-cta-label,.pc-plan-button-label,.sp-cta-label,.ymct-btn-explore>span:first-child){font-family:var(--ymct-font)!important;font-weight:var(--ymct-cta-weight)!important;font-size:var(--ymct-cta-size)!important;line-height:var(--ymct-cta-lh)!important;letter-spacing:var(--ymct-cta-ls)!important}body .ymct-spaced :is([class*="-card"],[class*="mcard"]){min-width:0;box-sizing:border-box}body .ymct-spaced :is([class*="-card"] :is(h2,h3,h4),[class*="card-title"],[class*="mcard-title"]){white-space:normal!important;overflow-wrap:break-word;max-width:100%}
/* Section rhythm from Home Hero (.hh-desc / .hh-ctas / mobile .hh-title-mobile).
   Title → description, then that block → main content. Heroes keep their layout. */



body .ymct-spaced:not(.ymct-spaced--hero) :is(
	.faq-inner,
	.fg-inner,
	.fp-inner,
	.fi-inner,
	.ic-inner,
	.ec-inner,
	.af-inner,
	.vt-inner,
	.vg-inner,
	.ct-inner,
	.sc79,
	.mb-container,
	.eb-container,
	.oc-container,
	.br-container,
	.rb-container,
	.tp-container,
	.mc-container,
	.pc-container,
	.wc-container,
	.cs-container,
	.sp-container,
	.ts-container,
	.zc-container,
	.ep-container,
	.bc-container,
	.qg-inner,
	.ymct-approach-inner,
	.post-more-inner
){
	display:flex!important;
	flex-direction:column!important;
	gap:var(--ymct-gap-to-content)!important;
}
body .ymct-spaced:not(.ymct-spaced--hero) :is(
	.mb-heading,
	.eb-heading,
	.oc-heading,
	.pc-heading,
	.rb-heading,
	.br-heading,
	.tp-heading,
	.ymct-insights-head,
	.faq-heading,
	.ic-heading,
	.fg-heading,
	.ec-heading,
	.ct-heading,
	.vt-heading,
	.wc-section>h2,
	.bc-container>h2,
	.ymct-card-slider .cs-section>h2,
	.ymct-close-statement .cs-section>h2,
	.ep-section>h2,
	.ymct-measure-cards .mc-section>h2,
	.ymct-model-cards .mc-section>h2,
	.ymct-step-plans .sp-section>h2,
	.ts-section>h2,
	.zc-section>h2,
	.post-more-inner>h2,
	.qg-title
){
	margin:0!important;
}
body .ymct-spaced:not(.ymct-spaced--hero) :is(
	.mb-heading,
	.eb-heading,
	.oc-heading,
	.pc-heading,
	.rb-heading,
	.br-heading,
	.pc-heading
) > :is(h1,h2,h3,h4,h5,h6){
	margin:0!important;
}
body .ymct-spaced:not(.ymct-spaced--hero) :is(
	.mb-action-wrap,
	.qg-load-wrap,
	.qg-pagination
){
	margin-top:0!important;
}
body .ymct-spaced:not(.ymct-spaced--hero) :is(
	.fg-intro,
	.ec-intro,
	.ct-intro,
	.ceq-intro
){
	gap:var(--ymct-gap-title-desc)!important;
	margin-bottom:0!important;
}
body .ymct-spaced:not(.ymct-spaced--hero) :is(
	.fg-intro,
	.ec-intro,
	.ct-intro,
	.ceq-intro
) > :is(p,[class$="-desc"],[class$="-subheading"]){
	margin-top:0!important;
	margin-bottom:0!important;
}
body .ymct-spaced:not(.ymct-spaced--hero) :is(
	.mb-heading,
	.eb-heading,
	.oc-heading,
	.pc-heading,
	.rb-heading,
	.br-heading,
	.sc131,
	.sc137,
	.sc604,
	.sc610,
	.ss-copy,
	.pb-copy,
	.pp-copy,
	.id-copy,
	.cb-copy,
	.ymct-approach-copy,
	.qg-title-wrap,
	.pb-copy,
	.pp-copy
){
	display:flex!important;
	flex-direction:column!important;
	gap:var(--ymct-gap-title-desc)!important;
}
body .ymct-spaced:not(.ymct-spaced--hero) :is(
	.mb-heading,
	.eb-heading,
	.oc-heading,
	.pc-heading,
	.rb-heading,
	.br-heading,
	.sc131,
	.sc137,
	.sc604,
	.sc610,
	.ss-copy,
	.pb-copy,
	.pp-copy,
	.id-copy,
	.cb-copy,
	.ymct-approach-copy,
	.qg-title-wrap,
	.pb-copy,
	.pp-copy
) > :is(p,div,ul,ol,section,article){
	margin-top:0!important;
}
body .ymct-spaced:not(.ymct-spaced--hero) :is(
	div,section,article
)[class]:not(
	[class*="-card"],
	[class*="mcard"],
	.mb-heading,
	.eb-heading,
	.oc-heading,
	.pc-heading,
	.rb-heading,
	.br-heading,
	.sc131,
	.sc137,
	.sc604,
	.sc610,
	.hh-stage,
	.hh-bottom,
	.hh-ctas,
	.wc-head,
	.af-head,
	.af-memo-head,
	.vt-head,
	.vg-head,
	.vg-feature-intro,
	.ymct-insights-head,
	.ymct-approach-item,
	.ceq-intro,
	.fg-intro,
	.ec-intro,
	.ct-intro,
	.faq-list,
	.ec-bubble-card,
	.ec-mcard,
	.sc83,
	.sc87,
	.sc94,
	.sc551,
	.sc553
):has(> :is(h1,h2,h3,h4,h5,h6):first-child + *){
	display:flex!important;
	flex-direction:column!important;
	gap:var(--ymct-gap-title-desc)!important;
}
body .ymct-spaced:not(.ymct-spaced--hero) :is(
	div,section,article
)[class]:not(
	[class*="-card"],
	[class*="mcard"]
):has(> :is(h1,h2,h3,h4,h5,h6):first-child + *) > :is(h1,h2,h3,h4,h5,h6):first-child + *{
	margin-top:0!important;
}
body .ymct-core-equation .ceq-subheading{
	margin-top:0!important;
	margin-bottom:0!important;
}
body .ymct-core-equation .sc551{
	gap:var(--ymct-gap-title-desc)!important;
}
body .ymct-core-equation .sc551>.sc553{
	margin-top:0!important;
}
@media(max-width:1199px){
	body .ymct-core-equation .sc551>.sc553{
		margin-top:2px!important;
	}
}
body .ymct-quote-grid .qg-inner{
	gap:var(--ymct-gap-to-content)!important;
}
body .ymct-quote-grid .qg-grid{
	margin-top:0!important;
}
body .ymct-spaced:not(.ymct-spaced--hero) :is(
	.ss-paragraphs,
	.pb-paragraphs,
	.pp-paragraphs,
	.id-paragraphs
){
	margin-top:0!important;
}
body .ymct-cta-band .cb-actions{
	margin-top:0!important;
}
body .ymct-cta-band .cb-copy{
	display:flex!important;
	flex-direction:column!important;
	gap:var(--ymct-gap-title-desc)!important;
}
body .ymct-spaced:not(.ymct-spaced--hero) :is(
	.sc596,
	.sc609
){
	display:flex!important;
	flex-direction:column!important;
	gap:var(--ymct-gap-to-content)!important;
}
body .ymct-spaced:not(.ymct-spaced--hero) :is(
	.sc133,
	.sc139,
	.sc606,
	.sc612
){
	display:flex!important;
	flex-direction:column!important;
	gap:var(--ymct-gap-title-desc)!important;
}
body .ymct-spaced:not(.ymct-spaced--hero) :is(
	.sc133,
	.sc139,
	.sc606,
	.sc612
) > p{
	margin-top:0!important;
}
body .ymct-spaced:not(.ymct-spaced--hero) :is(
	.br-copy,
	.eb-copy
) > p:first-of-type{
	margin-top:0!important;
}
body .ymct-spaced:not(.ymct-spaced--hero) .br-copy,
body .ymct-spaced:not(.ymct-spaced--hero) .eb-copy{
	display:flex!important;
	flex-direction:column!important;
	gap:var(--ymct-gap-title-desc)!important;
}

/* Header mobile drawer — keep mega accordion layout (not widget section rhythm). */
body .ymct-header .ymct-mobile-acc{
	display:flex!important;
	flex-direction:column!important;
	gap:10px!important;
}
body .ymct-header .ymct-mobile-acc-panel[hidden]{
	display:none!important;
}
body .ymct-header .ymct-mobile-acc-panel:not([hidden]){
	display:flex!important;
	flex-direction:column!important;
	gap:4px!important;
	margin:0!important;
	padding:0 0 8px 4px!important;
}
body .ymct-header .ymct-mobile-sub{
	display:grid!important;
	grid-template-columns:24px minmax(0,1fr)!important;
	column-gap:12px!important;
	row-gap:4px!important;
	align-items:start!important;
}
body .ymct-header .ymct-mobile-sub>span:not(.ymct-mobile-sub-ico){
	display:contents!important;
}
body .ymct-header .ymct-mobile-sub .ymct-mega-title{
	grid-column:2!important;
	grid-row:1!important;
	margin:0!important;
}
body .ymct-header .ymct-mobile-sub .ymct-mega-desc{
	grid-column:2!important;
	grid-row:2!important;
	margin:0!important;
}
body .ymct-spaced :is(b, strong){
	font-weight:700!important;
}
body .ymct-spaced :is(i, em){
	font-style:italic!important;
}
body .ymct-spaced u{
	text-decoration:underline!important;
}
body .ymct-spaced a,
body [class*="ymct-"] a{
	text-decoration:none!important;
}

/* Global H1/H2 transform: inherit (beats widget uppercase). */
body :is(h1),
body [class*="ymct-"] :is(h1),
body .ymct-spaced :is(.hh-kicker,.hh-kicker-end,.ymct-hero-title,.hh-title-mobile,.sc10,.sc31){
	text-transform:var(--ymct-h1-transform,inherit)!important;
}
body :is(h2),
body [class*="ymct-"] :is(h2),
body .ymct-spaced :is(.ec-heading,.ct-heading,.ic-heading,.fg-heading,.faq-heading,.vt-heading,.tp-heading,.sc81,.sc132,.sc138,.sc605,.sc611,.af-title,.qg-title,.vg-title,.ymct-approach-title){
	text-transform:var(--ymct-h2-transform,inherit)!important;
}
/* Approach item titles stay uppercase (widget design). */
body .ymct-spaced .ymct-approach-title,
.ymct-approach .ymct-approach-title{
	text-transform:uppercase!important;
}