/*
 * Kit 26and2 (26and2yoga.com), loaded after kits/base/css/base.css.
 * Same look as the Divi site, made consistent: one red, one button style, one type scale,
 * one section rhythm. Colours can still be changed in YogaFX Settings → Design.
 */
:root {
	--yfx-primary: #cf2e2e;
	--yfx-primary-dark: #a61f1f;
	--yfx-dark: #000;
	--yfx-light: #f4f4f4;
	--yfx-text: #1a1a1a;
	--yfx-muted: #555;
	--yfx-border: #e6e6e6;
	--yfx-radius: 14px;
	--yfx-container: 1200px;
	--yfx-gutter: 20px;
	--yfx-section: 72px;
	--yfx-topbar-h: 36px;
	--yfx-header-h: 72px;
	--yfx-font-heading: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--yfx-font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (min-width: 1024px) {
	:root { --yfx-section: 96px; --yfx-header-h: 80px; --yfx-gutter: 32px; }
}

body { font-size: 16px; line-height: 1.7; color: var(--yfx-text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--yfx-font-heading); font-weight: 700; letter-spacing: -0.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(30px, 2.2vw + 18px, 46px); line-height: 1.15; }
h2 { font-size: clamp(25px, 1.4vw + 16px, 34px); line-height: 1.2; }
h3 { font-size: clamp(19px, .5vw + 15px, 22px); line-height: 1.3; }
h4 { font-size: 18px; }
p { margin: 0 0 1.1em; }
a { color: var(--yfx-primary); text-underline-offset: 3px; }
.yogafx-fx { color: #ff0000; }
.is-style-mark .yogafx-fx, mark .yogafx-fx { color: #fff; }
a:hover { color: var(--yfx-primary-dark); }
:focus-visible { outline: 2px solid var(--yfx-primary); outline-offset: 3px; }

/* ---- buttons: one style everywhere (theme buttons, core Buttons block, Forminator submit) */
.yfx-button,
.wp-block-button__link,
.wp-element-button,
.forminator-ui .forminator-button-submit {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .8rem 1.6rem; border: 2px solid var(--yfx-primary); border-radius: 999px;
	background: var(--yfx-primary); color: #fff; font-family: var(--yfx-font-heading);
	font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase;
	text-decoration: none; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.yfx-button:hover,
.wp-block-button__link:hover,
.wp-element-button:hover,
.forminator-ui .forminator-button-submit:hover { background: var(--yfx-primary-dark); border-color: var(--yfx-primary-dark); color: #fff; transform: translateY(-1px); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--yfx-primary); border-color: currentColor; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--yfx-primary); border-color: var(--yfx-primary); color: #fff; }
.wp-block-button.is-style-light > .wp-block-button__link { background: transparent; color: #fff; border-color: rgb(255 255 255 / .85); }
.wp-block-button.is-style-light > .wp-block-button__link:hover { background: #fff; color: var(--yfx-dark); border-color: #fff; }
.wp-block-buttons { gap: 12px; margin-top: 1.75rem; }

/* ---- masthead: top bar scrolls away, header sticks */
.wp-site-blocks > *:has(> .yfx-masthead) { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--yfx-topbar-h)); z-index: 60; }
.wp-site-blocks > *:has(> .yfx-masthead):not(:has(.yfx-topbar)) { top: var(--wp-admin--admin-bar--height, 0px); }
.wp-site-blocks > main, .home .wp-site-blocks > main { padding-top: 0; }

.yfx-topbar { height: var(--yfx-topbar-h); background: var(--yfx-primary); color: #fff; font-size: 13px; }
.yfx-topbar__inner { max-width: var(--yfx-container); height: 100%; margin: 0 auto; padding: 0 var(--yfx-gutter); display: flex; align-items: center; justify-content: center; gap: 1.5rem; }
.yfx-topbar__menu { display: none; list-style: none; margin: 0; padding: 0; gap: 1.25rem; }
.yfx-topbar__menu a { color: rgb(255 255 255 / .9); text-decoration: none; font-weight: 500; }
.yfx-topbar__menu a:hover, .yfx-topbar__menu a[aria-current] { color: #fff; text-decoration: underline; }
.yfx-topbar__note { margin: 0; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #fff; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; }
a.yfx-topbar__note:hover { color: #fff; text-decoration: underline; }
@media (min-width: 1024px) {
	.yfx-topbar__inner { justify-content: space-between; }
	.yfx-topbar__menu { display: flex; }
}

.yfx-header { position: relative; inset: auto; }
.yfx-header.is-solid { background: var(--yfx-dark); box-shadow: 0 1px 0 rgb(255 255 255 / .08); }
.yfx-header__inner { height: var(--yfx-header-h); padding: 0 var(--yfx-gutter); gap: 2rem; }
.yfx-header__brand { flex-shrink: 0; }
.yfx-header__brand img { height: 38px; width: auto; }
.yfx-menu { gap: 1.6rem; }
.yfx-menu a, .yfx-menu span { padding: .5rem 0; color: rgb(255 255 255 / .82); font-family: var(--yfx-font-heading); font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; border-bottom: 2px solid transparent; }
.yfx-menu a:hover { color: #fff; }
.yfx-menu a[aria-current] { color: #fff; border-bottom-color: var(--yfx-primary); }
.yfx-menu__sub a { text-transform: none; letter-spacing: 0; font-size: 14px; border: 0; }
.yfx-header__cta { min-height: 42px; padding: .6rem 1.3rem; font-size: 13px; white-space: nowrap; flex-shrink: 0; }
.yfx-header .yfx-header__cta { display: none; }
.yfx-header__toggle { border-color: rgb(255 255 255 / .25); }
.yfx-drawer { position: absolute; inset: 100% 0 auto 0; max-height: calc(100dvh - var(--yfx-header-h)); padding: .5rem var(--yfx-gutter) 1.5rem; border-top: 1px solid rgb(255 255 255 / .1); }
.yfx-drawer__menu a, .yfx-drawer__menu span { font-family: var(--yfx-font-heading); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.yfx-drawer__menu a[aria-current] { color: var(--yfx-primary); }
.yfx-drawer__menu--secondary a { font-family: var(--yfx-font-body); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: rgb(255 255 255 / .7); }
@media (min-width: 1024px) {
	.yfx-header .yfx-header__cta { display: inline-flex; }
	.yfx-header__inner { height: var(--yfx-header-h); }
	.yfx-header__brand img { height: 42px; }
	.yfx-menu { gap: 1.1rem; }
	.yfx-menu a, .yfx-menu span { font-size: 12px; letter-spacing: .06em; }
}
@media (min-width: 1280px) {
	.yfx-menu { gap: 1.6rem; }
	.yfx-menu a, .yfx-menu span { font-size: 13px; letter-spacing: .09em; }
}

/* ---- page content: sections built from core blocks */
.entry-content { font-size: 16px; }
@media (min-width: 1024px) { .entry-content { font-size: 17px; } }
.entry-content > *:not(.alignfull) { padding-left: var(--yfx-gutter); padding-right: var(--yfx-gutter); }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content > .alignfull { margin-top: 0; margin-bottom: 0; }

.wp-block-group[class*="is-style-section"] { padding: var(--yfx-section) var(--yfx-gutter); margin: 0; }
.wp-block-group[class*="is-style-section"] > * { max-width: var(--yfx-container); margin-left: auto; margin-right: auto; }
.wp-block-group[class*="is-style-section"] > .has-text-align-center:not(h2):not(h1) { max-width: 760px; }
.wp-block-group[class*="is-style-section"] > :first-child { margin-top: 0; }
.wp-block-group[class*="is-style-section"] > :last-child { margin-bottom: 0; }
.wp-block-group[class*="is-style-section"] > h2 + p.has-text-align-center { margin-bottom: 2.5rem; }
.is-style-section { background: #fff; }
.is-style-section-light { background: var(--yfx-light); }
.is-style-section-dark { background: var(--yfx-dark); color: rgb(255 255 255 / .82); }
.is-style-section-dark :is(h1, h2, h3, h4, strong) { color: #fff; }
.is-style-section-dark a:not(.wp-block-button__link) { color: #fff; }
.eyebrow, .is-style-eyebrow { font-family: var(--yfx-font-heading); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yfx-primary); margin-bottom: .75rem; }

.wp-block-group.is-style-card { background: #fff; border: 1px solid var(--yfx-border); border-radius: var(--yfx-radius); padding: 28px; box-shadow: 0 10px 30px rgb(0 0 0 / .06); }
.is-style-section-dark .wp-block-group.is-style-card { background: #111; border-color: #262626; box-shadow: none; }
.wp-block-group.is-style-card > :last-child { margin-bottom: 0; }

.wp-block-columns { gap: 2rem 3rem; margin-bottom: 0; }
.wp-block-columns.are-vertically-aligned-center { align-items: center; }
.wp-block-columns.is-style-cards { gap: 1.5rem; }
.wp-block-columns.is-style-cards > .wp-block-column { background: #fff; border: 1px solid var(--yfx-border); border-radius: var(--yfx-radius); padding: 28px; }
.is-style-section-dark .wp-block-columns.is-style-cards > .wp-block-column { background: #111; border-color: #262626; }
.wp-block-columns.is-style-cards > .wp-block-column > :last-child { margin-bottom: 0; }

.wp-block-image img { height: auto; }
.wp-block-image.is-style-rounded img, .wp-block-media-text__media img { border-radius: var(--yfx-radius); }
.wp-block-image figcaption { color: var(--yfx-muted); font-size: 14px; margin-top: .6rem; }

/* Hero / banner: core Cover */
.wp-block-cover { padding: var(--yfx-section) var(--yfx-gutter); min-height: 520px; }
.wp-block-cover.alignfull { margin: 0; }
/* Content box = site container (core shrinks it when a content position is set). */
.wp-site-blocks .wp-block-cover .wp-block-cover__inner-container,
.wp-site-blocks .wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container { width: 100%; max-width: var(--yfx-container); margin: 0 auto; color: #fff; }
.wp-block-cover .wp-block-cover__inner-container > * { max-width: 640px; }
.wp-block-cover.is-position-center-right .wp-block-cover__inner-container > * { margin-left: auto; }
.wp-block-cover h1, .wp-block-cover h2 { color: #fff; }
.wp-block-cover p { font-size: 1.1em; color: rgb(255 255 255 / .9); }
.wp-block-cover .wp-block-cover__background.has-background-dim { background: linear-gradient(90deg, rgb(0 0 0 / .78) 0%, rgb(0 0 0 / .45) 55%, rgb(0 0 0 / .15) 100%) !important; opacity: 1 !important; }
.wp-block-cover.is-position-center-right .wp-block-cover__background.has-background-dim { background: linear-gradient(270deg, rgb(0 0 0 / .8) 0%, rgb(0 0 0 / .45) 55%, rgb(0 0 0 / .15) 100%) !important; }
@media (max-width: 781px) {
	.wp-block-cover { min-height: 460px; align-items: flex-end; }
	.wp-block-cover .wp-block-cover__background.has-background-dim,
	.wp-block-cover.is-position-center-right .wp-block-cover__background.has-background-dim { background: linear-gradient(0deg, rgb(0 0 0 / .85) 0%, rgb(0 0 0 / .5) 60%, rgb(0 0 0 / .2) 100%) !important; }
	.wp-block-cover.is-position-center-right .wp-block-cover__inner-container > * { margin-left: 0; }
}

/* Pose grid: Group (class yfx-pose-grid) of Groups (class yfx-pose) = image + H3 + text */
.yfx-pose-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 270px)); justify-content: center; gap: 2.5rem 2rem; margin: 0 auto 3rem; }
.yfx-pose { margin: 0; }
.yfx-pose .wp-block-image { margin: 0 0 1rem; }
.yfx-pose .wp-block-image img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--yfx-radius); background: #111; }
.yfx-pose h3 { font-size: 18px; margin-bottom: .5rem; }
.yfx-pose p { font-size: 15px; line-height: 1.65; margin: 0; }
.wp-block-group[class*="is-style-section"] > h3.has-text-align-center { margin: 3.5rem auto 2rem; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--yfx-primary); }
@media (max-width: 600px) {
	.yfx-pose-grid { gap: 1.5rem; }
	.yfx-pose { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; align-items: start; }
	.yfx-pose .wp-block-image { grid-row: 1 / span 2; margin: 0; }
}

/* Reviews: core Quote */
.wp-block-quote { margin: 0; padding: 0; border: 0; }
.wp-block-columns.is-style-cards .wp-block-quote p { font-size: 16px; }
.wp-block-quote cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 700; font-size: 14px; color: var(--yfx-text); }
.is-style-section-dark .wp-block-quote cite { color: #fff; }
.yfx-stars { color: #f5b301; letter-spacing: .15em; font-size: 18px; margin-bottom: .5rem; }

/* FAQ: core Details */
.wp-block-details { border: 1px solid var(--yfx-border); border-radius: var(--yfx-radius); padding: 0; margin: 0 auto .75rem; background: #fff; }
.wp-block-details summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.4rem; position: relative; font-family: var(--yfx-font-heading); font-weight: 700; font-size: 17px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--yfx-primary); }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > :not(summary) { padding: 0 1.4rem; }
.wp-block-details > :last-child { padding-bottom: 1.2rem; margin-bottom: 0; }

/* Forms (Forminator) */
.forminator-ui.forminator-custom-form { font-family: var(--yfx-font-body) !important; }
.forminator-ui .forminator-label { font-size: 13px !important; font-weight: 600 !important; color: var(--yfx-text) !important; }
.forminator-ui .forminator-input, .forminator-ui .forminator-textarea, .forminator-ui select { border: 1px solid #d4d4d4 !important; border-radius: 10px !important; background: #fff !important; padding: 12px 14px !important; font-size: 15px !important; }

/* ---- articles: blog.css sets the type scale; this is the layout around it */
.yfx-article-main { padding: 48px var(--yfx-gutter) var(--yfx-section); }
.yfx-article-layout { max-width: var(--yfx-container); margin: 0 auto; }
.yfx-article-layout .article-content { max-width: 820px; margin: 0 auto; padding: 0; }
@media (min-width: 1100px) {
	.yfx-article-main { padding-top: 64px; }
	.yfx-article-layout.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
	.yfx-article-layout.has-sidebar .article-content { max-width: none; margin: 0; }
}
.yfx-article-header h1 { margin-bottom: 1.5rem; }
.article-content { overflow-wrap: break-word; }
.article-content .entry-content > *:not(.alignfull) { padding-left: 0; padding-right: 0; max-width: none; }
.yfx-article-header__byline { color: var(--yfx-muted); font-size: 14px; }
.article-content > article > figure:first-of-type img, .article-content > article > header + figure img { border-radius: var(--yfx-radius); }
.article-content p, .article-content li { color: #2b2b2b; }
.article-content a { color: var(--yfx-primary-dark); text-decoration: underline; text-decoration-thickness: 1px; }
.article-content a:hover { color: var(--yfx-primary); }
.article-content h2 { margin: 2.4em 0 .9em; }
.article-content h3 { margin: 1.8em 0 .6em; }
.article-content h2 mark, .article-content h2.is-style-mark, .entry-content h2.is-style-mark {
	background: var(--yfx-primary) !important; color: #fff; padding: .12em .45em; border-radius: 4px;
	-webkit-box-decoration-break: clone; box-decoration-break: clone; line-height: 1.55;
}
.article-content h2.is-style-mark, .entry-content h2.is-style-mark { width: fit-content; max-width: min(100%, var(--yfx-container)); }
.entry-content h2.is-style-mark.has-text-align-center { margin-left: auto; margin-right: auto; }
.article-content h2 mark span, .is-style-mark span { color: #fff !important; }
.has-white-color { color: #fff; }
.article-content figure { margin: 1.75rem 0; }
.article-content .wp-block-image img { border-radius: var(--yfx-radius); }
.article-content .wp-block-table { overflow-x: auto; margin: 2rem 0; border: 1px solid var(--yfx-border); border-radius: var(--yfx-radius); }
.article-content .wp-block-table table { border-collapse: collapse; width: 100%; min-width: 560px; }
.article-content .wp-block-table th, .article-content .wp-block-table td { border: 0; border-bottom: 1px solid var(--yfx-border); padding: .7rem .9rem; text-align: left; vertical-align: top; }
.article-content .wp-block-table thead th { background: var(--yfx-dark); color: #fff; font-family: var(--yfx-font-heading); font-size: 14px; }
.article-content .wp-block-table tbody tr:nth-child(even) td { background: #fafafa; }
.article-content .wp-block-table tbody tr:last-child td { border-bottom: 0; }
.article-content ul, .article-content ol { padding-left: 1.3em; }
.article-content li { margin-bottom: .55em; }
.article-content li::marker { color: var(--yfx-primary); }
.article-content .table-of-contents, .article-content .entry-content > .table-of-contents { background: var(--yfx-light); border: 0; border-left: 4px solid var(--yfx-primary); border-radius: var(--yfx-radius); padding: 1.4rem 1.6rem; margin: 2rem 0; }
.article-content .table-of-contents h2 { margin: 0 0 .6rem; font-size: 18px; }
.article-content .table-of-contents ul { margin: 0; }
.article-content .table-of-contents li { margin: .3em 0; }
.article-content .table-of-contents a { color: var(--yfx-text); text-decoration: none; }
.article-content .table-of-contents a:hover { color: var(--yfx-primary); text-decoration: underline; }
.article-content h2[id] { scroll-margin-top: calc(var(--yfx-header-h) + 24px); }

.yfx-share { margin: 3rem 0 0; padding: 1.4rem 1.6rem; border: 1px solid var(--yfx-border); border-radius: var(--yfx-radius); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.yfx-share__title { margin: 0; font-family: var(--yfx-font-heading); font-weight: 700; font-size: 17px; }
.yfx-share__links { display: flex; gap: .6rem; flex-wrap: wrap; }
.yfx-share__link { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--yfx-border); display: inline-flex; align-items: center; justify-content: center; color: var(--yfx-text) !important; text-decoration: none !important; transition: all .2s ease; }
.yfx-share__link:hover { background: var(--yfx-primary); border-color: var(--yfx-primary); color: #fff !important; }

.yfx-sidebar { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 1100px) { .yfx-sidebar { margin-top: 0; position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--yfx-header-h) + 24px); } }
.yfx-sidebar__card { border: 1px solid var(--yfx-border); border-radius: var(--yfx-radius); padding: 1.5rem; background: #fff; }
.yfx-announcement { background: var(--yfx-dark); color: #fff; text-align: center; border-radius: var(--yfx-radius); padding: 1.75rem 1.5rem; }
.yfx-announcement__note { font-family: var(--yfx-font-heading); font-weight: 800; font-size: 20px; line-height: 1.3; text-transform: uppercase; margin: 0 0 1.25rem; color: #fff; }
.yfx-announcement .yfx-button { width: 100%; max-width: 360px; }
.yfx-announcement__link { display: block; margin-top: .9rem; color: rgb(255 255 255 / .85) !important; font-size: 14px; }
.yfx-announcement__link:hover { color: #fff !important; }
.yfx-sidebar__title { font-family: var(--yfx-font-heading); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--yfx-primary); margin: 0 0 1rem; }
.yfx-sidebar__posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.yfx-sidebar__posts a { display: grid; grid-template-columns: 72px 1fr; gap: .9rem; align-items: center; color: var(--yfx-text); text-decoration: none; font-family: var(--yfx-font-heading); font-weight: 600; font-size: 14px; line-height: 1.35; }
.yfx-sidebar__posts a:hover span { color: var(--yfx-primary); }
.yfx-sidebar__posts img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: var(--yfx-light); }
.yfx-sidebar__posts a:not(:has(img)) { grid-template-columns: 1fr; }

/* ---- blog home / archives */
.yfx-archive { padding: 56px var(--yfx-gutter) var(--yfx-section); }
.yfx-archive__inner { max-width: var(--yfx-container); margin: 0 auto; }
.yfx-archive__title { margin-bottom: 2rem; }
.yfx-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.yfx-card { display: flex; flex-direction: column; border: 1px solid var(--yfx-border); border-radius: var(--yfx-radius); overflow: hidden; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.yfx-card:hover { box-shadow: 0 14px 34px rgb(0 0 0 / .08); transform: translateY(-2px); }
.yfx-card__media { display: block; aspect-ratio: 16 / 10; background: var(--yfx-light); }
.yfx-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yfx-card__body { padding: 1.25rem 1.4rem 1.5rem; }
.yfx-card__title { font-size: 19px; line-height: 1.35; margin: 0 0 .6rem; }
.yfx-card__title a { color: var(--yfx-text); text-decoration: none; }
.yfx-card__title a:hover { color: var(--yfx-primary); }
.yfx-card__excerpt { margin: 0; color: var(--yfx-muted); font-size: 15px; }
.yfx-pagination .nav-links { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; }
.yfx-pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--yfx-border); border-radius: 999px; padding: 0 .9rem; text-decoration: none; color: var(--yfx-text); }
.yfx-pagination .page-numbers.current { background: var(--yfx-primary); border-color: var(--yfx-primary); color: #fff; }

/* ---- footer (base markup) */
.yfx-footer { padding-top: 64px; }
.yfx-footer__about img { height: 44px; }
.yfx-footer__title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.yfx-footer__menu a { font-size: 15px; }
@media (min-width: 768px) { .yfx-footer__inner { grid-template-columns: 2fr 1fr 1fr; } }

/* ---- floating buttons: WhatsApp bottom right, back-to-top above it */
body .yfx-wa-float { left: auto; right: 20px; bottom: 20px; }
.yfx-top { right: 22px; bottom: 92px; width: 44px; height: 44px; background: var(--yfx-dark); box-shadow: 0 6px 18px rgb(0 0 0 / .2); }
body:has(.yfx-bar:not([aria-hidden="true"])) .yfx-wa-float.yfx-wa-float { bottom: 84px; }
body:has(.yfx-bar:not([aria-hidden="true"])) .yfx-top { bottom: 160px; }

/* ---- converted page elements */
.wp-block-group[class*="is-style-section"] > .wp-block-columns { margin-top: 3rem; margin-bottom: 3rem; }
.wp-block-group[class*="is-style-section"] > .wp-block-columns:first-child { margin-top: 0; }
.wp-block-group[class*="is-style-section"] > .wp-block-columns:last-child { margin-bottom: 0; }
.wp-block-group[class*="is-style-section"] > .wp-block-embed, .wp-block-group[class*="is-style-section"] > .yfx-video { max-width: 900px; margin: 2rem auto; }
.wp-block-group[class*="is-style-section"] > .wp-block-image { margin: 2rem auto; text-align: center; }
.wp-block-group[class*="is-style-section"] > .wp-block-image img { max-height: 640px; width: auto; }
.wp-block-embed { margin: 1.5rem 0; }
.wp-block-embed iframe { border-radius: var(--yfx-radius); }
.yfx-video { position: relative; aspect-ratio: 16 / 9; margin: 1.5rem 0; border-radius: var(--yfx-radius); overflow: hidden; background: #000; }
.yfx-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wp-block-column > .wp-block-image:first-child, .wp-block-column > .wp-block-embed:first-child { margin-top: 0; }
.wp-block-column > :last-child { margin-bottom: 0; }

/* Blurbs → cards; a row of cards stretches to equal height */
.wp-block-columns.yfx-cards-row { align-items: stretch; gap: 1.5rem; }
.wp-block-columns.yfx-cards-row > .wp-block-column > .is-style-card { height: 100%; }
.is-style-card .wp-block-image { margin: -28px -28px 1.25rem; }
.is-style-card .wp-block-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--yfx-radius) var(--yfx-radius) 0 0; }
.is-style-card h3 { font-size: 19px; }

/* Number counters */
.yfx-stat { text-align: center; padding: 1.5rem 1rem; }
.yfx-stat__num { font-family: var(--yfx-font-heading); font-size: clamp(36px, 3vw + 18px, 52px); line-height: 1; color: var(--yfx-primary); margin-bottom: .6rem; }
.yfx-stat__label { font-size: 15px; color: var(--yfx-muted); margin: 0; }
.is-style-section-dark .yfx-stat__label { color: rgb(255 255 255 / .75); }

/* Promo card (Divi CTA) */
.yfx-promo { background: var(--yfx-dark) !important; border-color: var(--yfx-dark) !important; color: rgb(255 255 255 / .85); text-align: center; padding: 48px 28px !important; }
.yfx-promo :is(h2, h3, strong) { color: #fff; }
.yfx-promo .wp-block-buttons { justify-content: center; }

/* Latest posts (core) */
.wp-block-latest-posts.yfx-latest { list-style: none; padding: 0; margin: 2rem auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.wp-block-latest-posts.yfx-latest > li { margin: 0; border: 1px solid var(--yfx-border); border-radius: var(--yfx-radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.wp-block-latest-posts.yfx-latest .wp-block-latest-posts__featured-image { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.wp-block-latest-posts.yfx-latest .wp-block-latest-posts__featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wp-block-latest-posts.yfx-latest .wp-block-latest-posts__post-title { display: block; padding: 1.1rem 1.25rem .4rem; font-family: var(--yfx-font-heading); font-weight: 700; font-size: 17px; line-height: 1.35; color: var(--yfx-text); text-decoration: none; }
.wp-block-latest-posts.yfx-latest .wp-block-latest-posts__post-title:hover { color: var(--yfx-primary); }
.wp-block-latest-posts.yfx-latest .wp-block-latest-posts__post-excerpt { padding: 0 1.25rem 1.25rem; margin: 0; font-size: 14px; color: var(--yfx-muted); }
.is-style-section-dark .wp-block-latest-posts.yfx-latest > li { background: #111; border-color: #262626; }
.is-style-section-dark .wp-block-latest-posts.yfx-latest .wp-block-latest-posts__post-title { color: #fff; }

/* Announcement block inside page content */
.entry-content .yfx-announcement, .wp-block-group > .yfx-announcement { max-width: 520px; margin: 2rem auto; }

/* Section above the footer (synced pattern) */
.yfx-prefooter > .wp-block-group, .yfx-prefooter > section { margin: 0; }
.wp-block-latest-posts.yfx-latest-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 1rem; }
.wp-block-latest-posts.yfx-latest-list > li { display: grid; grid-template-columns: 64px 1fr; gap: .8rem; align-items: center; margin: 0; }
.wp-block-latest-posts.yfx-latest-list .wp-block-latest-posts__featured-image { margin: 0; grid-row: 1 / span 2; }
.wp-block-latest-posts.yfx-latest-list .wp-block-latest-posts__featured-image img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; display: block; }
.wp-block-latest-posts.yfx-latest-list .wp-block-latest-posts__post-title { font-family: var(--yfx-font-heading); font-weight: 600; font-size: 14px; line-height: 1.35; color: var(--yfx-text); text-decoration: none; }
.wp-block-latest-posts.yfx-latest-list .wp-block-latest-posts__post-title:hover { color: var(--yfx-primary); }
.wp-block-column > .yfx-announcement { margin: 0 0 1.5rem; }

/* ---- logged in: the header is sticky in the flow, not fixed (wp.css offsets the fixed HYTT nav) */
.admin-bar .yfx-masthead #yfx-nav { top: auto; }
.admin-bar .yfx-masthead #mobile-navigation { top: 100%; }

/* ---- article rhythm: tighter paragraphs and headings, indented lists */
body.yfx-blog-type .article-content p, body.yfx-blog-type .article-content li { line-height: 1.7; }
.article-content p { margin: 0 0 1em; }
.article-content h2 { margin: 1.9em 0 .75em; }
.article-content h3 { margin: 1.5em 0 .5em; }
.article-content :is(h2, h3) + :is(p, ul, ol, figure) { margin-top: 0; }
.article-content ul, .article-content ol { padding-left: 1.75em; margin: 0 0 1.2em; }
.article-content li { margin-bottom: .45em; padding-left: .2em; }
.article-content li > :is(ul, ol) { margin: .45em 0 0; }

/* ---- table of contents: collapsible, closed by default */
.article-content details.yfx-toc, .article-content .entry-content > details.yfx-toc { background: var(--yfx-light); border: 0; border-left: 4px solid var(--yfx-primary); border-radius: var(--yfx-radius); padding: 0; margin: 2rem 0; }
.article-content details.yfx-toc > summary { list-style: none; cursor: pointer; padding: 1.1rem 3.2rem 1.1rem 1.5rem; position: relative; font-family: var(--yfx-font-heading); font-weight: 700; font-size: 18px; }
.article-content details.yfx-toc > summary::-webkit-details-marker { display: none; }
.article-content details.yfx-toc > summary::after { content: ""; position: absolute; right: 1.4rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--yfx-primary); border-bottom: 2px solid var(--yfx-primary); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.article-content details.yfx-toc[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.article-content details.yfx-toc nav { padding: 0 1.5rem 1.2rem; }
.article-content details.yfx-toc ul { margin: 0; }
.article-content details.yfx-toc li { margin: .35em 0; font-size: 16px; }
.article-content details.yfx-toc a { color: var(--yfx-text); text-decoration: none; }
.article-content details.yfx-toc a:hover { color: var(--yfx-primary); text-decoration: underline; }

/* ---- one content width everywhere: bars that pad their inner box get the gutters added */
.yfx-topbar__inner, .yfx-header__inner, .yfx-bar__inner { max-width: calc(var(--yfx-container) + 2 * var(--yfx-gutter)); }
.yfx-footer { padding-left: var(--yfx-gutter); padding-right: var(--yfx-gutter); }

/* ---- lists keep their indent inside the article content reset */
.article-content .entry-content > :is(ul, ol):not(.alignfull) { padding-left: 1.75em; }
/* first section right under a page hero: less top space */
.yfx-hero + .entry-content > .wp-block-group[class*="is-style-section"]:first-child { padding-top: 56px; }
