/*
Theme Name: Inzenzo
Theme URI: https://example.com/inzenzo
Author: Inzenzo
Description: A full-site-editing block theme for perfumery communities. Card-based social layout inspired by BuddyX, built for the Inzenzo Community plugin (ingredients, formula feed, profiles). Edit every template, header and footer in the Site Editor.
Version: 1.23.1
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: inzenzo
Tags: full-site-editing, block-patterns, custom-colors, custom-menu, community, buddypress, two-columns, wide-blocks, accessibility-ready
*/

/* ---------- Sticky footer: footer sits at the bottom even when content is short ---------- */
.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}
body.admin-bar .wp-site-blocks {
	min-height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
	min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
}
.wp-site-blocks > * { margin-block-start: 0; }
/* Safety net: never let a stray element create a sideways scrollbar. `clip` (unlike `hidden`) does not make a
   scroll container, so the sticky header keeps working. */
.wp-site-blocks { overflow-x: clip; }
.wp-site-blocks > main { flex: 1 0 auto; width: 100%; }
.wp-site-blocks > footer { margin-block-start: auto; }

/* ---------- Header ---------- */
.inzenzo-header {
	background: var(--wp--preset--color--base);
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding-block: .5rem;
	padding-inline: 0;
	z-index: 50;
}
/* The header content has exactly the same left and right edges as the page content below it. */
.wp-block-group.inzenzo-header__inner {
	width: calc(100% - var(--wp--style--root--padding-left, 1.25rem) - var(--wp--style--root--padding-right, 1.25rem));
	max-width: 82rem;
	margin-inline: auto !important;
	padding: 0;
	box-sizing: border-box;
}
.inzenzo-header__inner { gap: 1rem; }
.inzenzo-header .wp-block-navigation { flex: 0 1 auto; }
/* Logo / site name on the left; everything else (menu, member menu, log-in buttons) on the right, on one line. */
.wp-block-group.inzenzo-header__inner { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 1rem; }
.wp-block-group.inzenzo-header__end { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: .75rem; margin: 0 0 0 auto; }
.inzenzo-header .wp-block-navigation { margin: 0; }
.inzenzo-header .wp-block-navigation__container { justify-content: flex-end; flex-wrap: nowrap; }
.inzenzo-header .olfx-usermenu-wrap { margin: 0; }
/* Phones: line the hamburger / avatar up with the page's right edge. Their touch targets are 44px wide but the
   icon inside is ~24px (avatar 36px), so without this there is a visible empty strip to the right of the icon. */
@media (max-width: 599px) {
	.inzenzo-header .wp-block-navigation__responsive-container-open { margin-inline-end: -10px; }
	.inzenzo-header__end:has(.olfx-usermenu__toggle) .wp-block-navigation__responsive-container-open { margin-inline-end: 0; }
	.inzenzo-header .olfx-usermenu__toggle { margin-inline-end: -4px; }
	.inzenzo-header__end { gap: .25rem; }
}  /* logo left, menu (and member / log-in buttons) right */
.inzenzo-header .wp-block-site-title a { text-decoration: none; color: inherit; }
body.inzenzo-sticky-header .wp-site-blocks > header { position: sticky; top: 0; z-index: 60; }
body.inzenzo-sticky-header.admin-bar .wp-site-blocks > header { top: var(--wp-admin--admin-bar--height, 32px); }

/* ---------- Header menu: clean and modern (Google / Material 3 spirit) ----------
   Quiet text links; a soft grey pill on hover; the section you are in gets a soft accent-tinted pill. */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal; }
.inzenzo-header .wp-block-site-title { font-size: 1.4rem; font-weight: 500; letter-spacing: -0.02em; }
.inzenzo-header .wp-block-navigation__container { gap: 0.125rem; }
.inzenzo-header .wp-block-navigation-item__content {
	padding: 0.55rem 1rem;
	border-radius: 999px;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0.005em;
	color: color-mix(in srgb, var(--wp--preset--color--contrast) 78%, transparent);
	transition: background-color 0.15s ease, color 0.15s ease;
}
.inzenzo-header .wp-block-navigation-item__content:hover {
	background: color-mix(in srgb, var(--wp--preset--color--contrast) 7%, transparent);
	color: var(--wp--preset--color--contrast);
}
.inzenzo-header .wp-block-navigation-item__content:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.inzenzo-header .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.inzenzo-header .wp-block-navigation-item__content[aria-current="page"] {
	background: color-mix(in srgb, var(--wp--preset--color--accent) 13%, transparent);
	color: color-mix(in srgb, var(--wp--preset--color--accent) 88%, #000);
	font-weight: 600;
}
.inzenzo-header .wp-block-navigation__responsive-container-open,
.inzenzo-header .wp-block-navigation__responsive-container-close { border-radius: 999px; min-width: 44px; min-height: 44px; padding: 0.5rem; }
.inzenzo-header .wp-block-navigation__responsive-container-open:hover { background: color-mix(in srgb, var(--wp--preset--color--contrast) 7%, transparent); }
/* Full-screen mobile menu: roomy rounded rows. */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0.25rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { padding: 0.85rem 1.1rem; font-size: 1.1rem; border-radius: 16px; }

/* Buttons from the block editor match the plugin's buttons. */
.wp-element-button, .wp-block-button__link { font-weight: 500; letter-spacing: 0.01em; transition: box-shadow 0.15s ease, filter 0.15s ease, background-color 0.15s ease; }
.wp-element-button:hover, .wp-block-button__link:hover { filter: none; background-color: color-mix(in srgb, var(--wp--preset--color--accent) 88%, #000); box-shadow: 0 1px 2px rgba(31, 35, 40, .3), 0 1px 3px 1px rgba(31, 35, 40, .15); }
.is-style-outline > .wp-block-button__link { background: transparent; color: var(--wp--preset--color--accent); border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 18%, transparent); }
.is-style-outline > .wp-block-button__link:hover { filter: none; box-shadow: none; background: color-mix(in srgb, var(--wp--preset--color--accent) 8%, transparent); }

/* Formulas, Tools and the other full-width pages are always exactly as wide as the header (82rem), even when
   the Site Editor holds an older saved copy of the template with a different content width. */
.wp-site-blocks > main:has(.olfx-formulas, .olfx-tool-grid, .olfx-tool__back, .olfx-ifra__grid, .olfx-ingredients) > *,
.wp-site-blocks > main:has(.olfx-formulas, .olfx-tool-grid, .olfx-tool__back, .olfx-ifra__grid, .olfx-ingredients) .wp-block-post-content > * {
	max-width: 82rem !important;
	margin-inline: auto !important;
}

/* ---------- Main ---------- */
.inzenzo-main { padding-block: var(--wp--preset--spacing--50); }
.inzenzo-main .wp-block-columns { gap: var(--wp--preset--spacing--50); }
.inzenzo-card,
.olfacto-card { /* .olfacto-card = name used before the rename, still present in content saved earlier */
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius, 14px);
	padding: var(--wp--preset--spacing--40);
	box-shadow: none;
}
.inzenzo-sidebar .inzenzo-card + .inzenzo-card { margin-top: 1rem; }
.inzenzo-sidebar { position: sticky; top: 5rem; }
.inzenzo-sidebar h2, .inzenzo-sidebar h3 { margin-top: 0; font-size: var(--wp--preset--font-size--large); }
.inzenzo-narrow .wp-block-post-title, .inzenzo-narrow h1 { text-align: center; }
.wp-block-post-featured-image img { border-radius: var(--wp--custom--radius, 14px); height: auto; }

/* ---------- Three-column shell (X / Twitter style) ----------
   Left: community menu (For you, Most liked, My profile, Settings, Log out). Centre: the page. Right: empty on
   purpose, reserved for ads / a subscribe box (edit the "Right sidebar" template part in the Site Editor). */
.wp-site-blocks > .inzenzo-shell { flex: 1 0 auto; }
.inzenzo-shell {
	display: grid;
	grid-template-columns: 15rem minmax(0, 1fr) 18.75rem;
	gap: var(--wp--preset--spacing--50, 1.5rem);
	align-items: start;
	width: 100%;
	max-width: calc(82rem + 2 * var(--wp--style--root--padding-left, 1.25rem)); /* same edges as the header content */
	margin-inline: auto;
	padding-inline: var(--wp--style--root--padding-left, 1.25rem);
	box-sizing: border-box;
}
.inzenzo-shell > * { margin-block: 0; min-width: 0; }
.inzenzo-shell .inzenzo-main { padding-inline: 0; }
.inzenzo-rail--left { position: sticky; top: 4.75rem; padding-block: var(--wp--preset--spacing--50, 1.5rem); }
body.admin-bar .inzenzo-rail--left { top: calc(4.75rem + var(--wp-admin--admin-bar--height, 32px)); }
.inzenzo-rail--right { padding-block: var(--wp--preset--spacing--50, 1.5rem); position: sticky; top: 4.75rem; }
body.admin-bar .inzenzo-rail--right { top: calc(4.75rem + var(--wp-admin--admin-bar--height, 32px)); }
.inzenzo-rail--right > * + * { margin-top: 1rem; }
/* Ad slot: empty on purpose. Put the AdSense block inside it (Site Editor → Template parts → Right sidebar). */
.inzenzo-rail__ad:empty { min-height: 0; }
.inzenzo-rail__legal { margin: 1.25rem .75rem 0; color: var(--wp--preset--color--muted); }
.inzenzo-rail__legal a, .inzenzo-footer__legal a { color: inherit; text-decoration: none; }
.inzenzo-rail__legal a:hover, .inzenzo-footer__legal a:hover { color: var(--wp--preset--color--accent); text-decoration: underline; }
/* The member menu now lives in the left sidebar: hide the header avatar menu on every page that has the shell
   (it stays on the home page; visitors keep the Log in / Sign up buttons). */
@media (min-width: 900px) {
	body:has(.inzenzo-shell--social) .inzenzo-header .olfx-usermenu-wrap:not(.olfx-usermenu-wrap--guest) { display: none; }
}
/* On phones the left menu is only a row of pills, so the avatar (and its slide-in drawer) stays in the header. */

/* Single ingredient / single formula: page + right column (no left menu), same width as the header. */
.inzenzo-shell--content { grid-template-columns: minmax(0, 1fr) 18.75rem; max-width: calc(82rem + 2 * var(--wp--style--root--padding-left, 1.25rem)); }
@media (max-width: 1279px) {
	.inzenzo-shell--social { grid-template-columns: 14rem minmax(0, 1fr); }
	.inzenzo-shell--social .inzenzo-rail--right { display: none; }
}
@media (max-width: 899px) {
	.inzenzo-shell--content .inzenzo-rail--right { display: none; }
	.inzenzo-shell { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.inzenzo-rail--left { position: static; padding-block: .75rem 0; }
	/* The plugin hides its left menu on phones and tablets; do not leave an empty strip behind. */
	.inzenzo-rail--left:has(> .olfx-sidenav-wrap:only-child) { display: none; }
	body.admin-bar .inzenzo-rail--left { top: auto; }
}

/* Home page header: full width, menu on the far right (its own template part, "Header (home page, full width)"). */
.inzenzo-header--full > .wp-block-group.inzenzo-header__inner { max-width: none; }

/* Full-width header on every page (logo at the left edge, menu at the right edge), whichever header part a template uses. */
.wp-block-group.inzenzo-header__inner { max-width: none !important; }

/* ---------- Home page: a single, centered search bar ---------- */
.inzenzo-home {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	text-align: center;
	padding-bottom: 10vh;
}
.inzenzo-home .wp-block-site-title { margin: 0; font-size: clamp(2.6rem, 1.6rem + 4.5vw, 4.5rem); letter-spacing: -0.02em; line-height: 1.05; }
.inzenzo-home .wp-block-site-title a { color: inherit; text-decoration: none; }
.inzenzo-home .wp-block-site-logo { margin: 0; }
.inzenzo-home .olfx-block { width: 100%; max-width: 680px; }
/* The big wordmark replaces the small one in the header on the home page only. */
body.home .inzenzo-header .wp-block-site-title,
body.home .inzenzo-header .wp-block-site-logo { display: none; }

/* ---------- Footer ---------- */
.inzenzo-footer {
	background: var(--wp--preset--color--base);
	border-top: 1px solid var(--wp--preset--color--line);
	padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
	padding-inline: var(--wp--style--root--padding-left, 1.25rem) var(--wp--style--root--padding-right, 1.25rem);
}
/* Footer links: calm grey, theme accent colour on hover, never underlined, and no "current page" styling. */
.inzenzo-footer a,
.inzenzo-footer .wp-block-navigation-item__content { color: var(--wp--preset--color--muted); text-decoration: none; transition: color 0.15s ease; }
.inzenzo-footer .wp-block-site-title a { color: var(--wp--preset--color--contrast); font-weight: 700; }
.inzenzo-footer a:hover,
.inzenzo-footer a:focus-visible,
.inzenzo-footer .wp-block-navigation-item__content:hover,
.inzenzo-footer .wp-block-navigation-item__content:focus-visible { color: var(--wp--preset--color--accent); text-decoration: none; }
/* The current page looks exactly like any other footer link (still announced to screen readers via aria-current). */
.inzenzo-footer .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.inzenzo-footer .wp-block-navigation-item__content[aria-current="page"] { color: var(--wp--preset--color--muted); font-weight: inherit; text-decoration: none; background: none; box-shadow: none; }
.inzenzo-footer .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content:hover,
.inzenzo-footer .wp-block-navigation-item__content[aria-current="page"]:hover { color: var(--wp--preset--color--accent); }
.inzenzo-footer .inzenzo-footer__legal { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); margin: 0; } /* the footer's own top border is the only line */

/* ---------- Theme options ---------- */
body.inzenzo-compact .olfx-card, body.inzenzo-compact .inzenzo-card { padding: .75rem .9rem; }
body.inzenzo-compact .olfx-table th, body.inzenzo-compact .olfx-table td { padding: .35rem .6rem; }

@media (prefers-color-scheme: dark) {
	body.inzenzo-auto-dark {
		--wp--preset--color--base: #1c1e21;
		--wp--preset--color--surface: #121315;
		--wp--preset--color--fill: #25282c;
		--wp--preset--color--contrast: #eef0f2;
		--wp--preset--color--muted: #aab0b7;
		--wp--preset--color--line: #2f3337;
		--wp--preset--color--accent: #8db1ee;
		--wp--preset--color--accent-contrast: #1c1e21;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
	.inzenzo-sidebar { position: static; }
	.wp-block-group.inzenzo-header__inner { flex-wrap: nowrap; gap: .5rem; } /* logo and menu button stay on one row */
	.inzenzo-header .wp-block-site-title { min-width: 0; font-size: 1.2rem; }
	.inzenzo-header .wp-block-site-title a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.inzenzo-header .wp-block-group { min-width: 0; }
	.inzenzo-header__end { flex-shrink: 0; }
	.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* ---------- Inzenzo look ----------
   Warm paper page, white rounded cards without heavy shadows, oud-plum pill buttons, saffron highlights.
   Colours and fonts come from theme.json; this block only adds finishing touches. Layout is untouched. */
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-optical-sizing: auto; }
h1, h2, h3, .wp-block-post-title { font-weight: 500; letter-spacing: -0.02em; }
::selection { background: var(--wp--preset--color--accent-soft, #e9effb); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--wp--preset--color--accent) 55%, transparent); outline-offset: 2px; }
.inzenzo-header .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--fill, #f4f5f7); }
.inzenzo-header .wp-block-navigation-item__content[aria-current="page"] { background: var(--wp--preset--color--accent-soft, #e9effb); color: var(--wp--preset--color--accent); }
.inzenzo-card, .olfacto-card { transition: box-shadow .2s ease, border-color .2s ease; }
.wp-block-post-featured-image img { border-radius: 24px; }
.wp-block-button.is-style-outline > .wp-block-button__link { border-color: var(--wp--preset--color--line); }
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover, .wp-element-button:hover { color: var(--wp--preset--color--accent-contrast); }

/* ---------- Learn (blog): list, category page and single article ----------
   Google-blog inspired. Same 82rem width and header as every other page. */
.inzenzo-blog { padding-block: var(--wp--preset--spacing--50); }
.inzenzo-crumbs { font-size: .875rem; color: var(--wp--preset--color--muted); margin-bottom: 1.25rem; }
.inzenzo-crumbs .wp-block-navigation__container { gap: 0; flex-wrap: wrap; }
.inzenzo-crumbs .wp-block-navigation-item__content { color: var(--wp--preset--color--muted); text-decoration: none; padding: 0; }
.inzenzo-crumbs .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--accent); }
.inzenzo-crumbs .wp-block-navigation-item + .wp-block-navigation-item::before { content: "\203A"; margin-inline: .5rem; color: var(--wp--preset--color--muted); }
.inzenzo-blog__title { font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 .75rem; }
.inzenzo-blog__lede { font-size: 1.25rem; color: var(--wp--preset--color--muted); max-width: 44rem; margin: 0 0 1.5rem; }
.inzenzo-blog__h2 { font-size: 1.5rem; font-weight: 500; margin: 2.25rem 0 1.25rem; }

/* Category chips */
.inzenzo-chips, .inzenzo-chips ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.inzenzo-chips li { list-style: none; margin: 0; padding: 0; }
.inzenzo-chips a { display: inline-block; padding: .4rem 1rem; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); text-decoration: none; font-size: .9rem; font-weight: 500; transition: background-color .15s ease, border-color .15s ease; }
.inzenzo-chips a:hover { background: var(--wp--preset--color--accent-soft, #e9effb); border-color: transparent; color: var(--wp--preset--color--accent); }
.inzenzo-chips .current-cat > a { background: var(--wp--preset--color--accent-soft, #e9effb); color: var(--wp--preset--color--accent); border-color: transparent; }

/* Cards: flat, image on top, category label, title (no box, like Google's blog) */
.inzenzo-learn .wp-block-post-template { gap: 2.5rem 1.5rem; padding: 0; }
.inzenzo-learn .wp-block-post-template { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.inzenzo-post { background: none; }
.inzenzo-post__img, .inzenzo-post__img img { border-radius: 24px; width: 100%; margin: 0; object-fit: cover; }
.inzenzo-post__img { overflow: hidden; margin-bottom: 1rem; }
.inzenzo-post__img img { transition: transform .35s ease; }
.inzenzo-post:hover .inzenzo-post__img img { transform: scale(1.03); }
.inzenzo-post__cat { margin: 0 0 .35rem; font-size: .8125rem; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.inzenzo-post__cat a { color: #b4520c; text-decoration: none; } /* orange label; this shade keeps the text readable on white */
.inzenzo-post__cat a:hover { color: #8f3f07; }
.inzenzo-post__title { margin: 0 0 .5rem; font-size: 1.25rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.inzenzo-post__title a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.inzenzo-post__title a:hover { color: var(--wp--preset--color--accent); }
.inzenzo-post__excerpt { display: none; }
.inzenzo-post__date { margin: 0; font-size: .875rem; color: var(--wp--preset--color--muted); }
.inzenzo-pager { margin-top: 2.5rem; gap: 1rem; }
.inzenzo-pager a, .inzenzo-pager .page-numbers { text-decoration: none; padding: .4rem .9rem; border-radius: 999px; }
.inzenzo-pager .page-numbers.current { background: var(--wp--preset--color--accent-soft, #e9effb); color: var(--wp--preset--color--accent); }

/* First story is the big featured card (not on page 2+, not in "Related stories") */
@media (min-width: 900px) {
	body:not(.paged):not(.inzenzo-learn-paged) .inzenzo-learn:not(.inzenzo-learn--related) .wp-block-post-template > li:first-child { grid-column: 1 / -1; }
	body:not(.paged):not(.inzenzo-learn-paged) .inzenzo-learn:not(.inzenzo-learn--related) .wp-block-post-template > li:first-child .inzenzo-post { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); column-gap: 2.5rem; grid-template-rows: 1fr auto auto auto auto 1fr; align-content: stretch; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); border-radius: 28px; padding: 1.25rem; }
	body:not(.paged):not(.inzenzo-learn-paged) .inzenzo-learn:not(.inzenzo-learn--related) .wp-block-post-template > li:first-child .inzenzo-post > * { grid-column: 2; align-self: start; }
	body:not(.paged):not(.inzenzo-learn-paged) .inzenzo-learn:not(.inzenzo-learn--related) .wp-block-post-template > li:first-child .inzenzo-post__img { grid-column: 1; grid-row: 1 / -1; margin: 0; align-self: stretch; }
	body:not(.paged):not(.inzenzo-learn-paged) .inzenzo-learn:not(.inzenzo-learn--related) .wp-block-post-template > li:first-child .inzenzo-post__cat { grid-row: 2; }
	body:not(.paged):not(.inzenzo-learn-paged) .inzenzo-learn:not(.inzenzo-learn--related) .wp-block-post-template > li:first-child .inzenzo-post__title { grid-row: 3; }
	body:not(.paged):not(.inzenzo-learn-paged) .inzenzo-learn:not(.inzenzo-learn--related) .wp-block-post-template > li:first-child .inzenzo-post__excerpt { grid-row: 4; }
	body:not(.paged):not(.inzenzo-learn-paged) .inzenzo-learn:not(.inzenzo-learn--related) .wp-block-post-template > li:first-child .inzenzo-post__date { grid-row: 5; }
	body:not(.paged):not(.inzenzo-learn-paged) .inzenzo-learn:not(.inzenzo-learn--related) .wp-block-post-template > li:first-child .inzenzo-post__title { font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); line-height: 1.12; letter-spacing: -0.02em; }
	body:not(.paged):not(.inzenzo-learn-paged) .inzenzo-learn:not(.inzenzo-learn--related) .wp-block-post-template > li:first-child .inzenzo-post__excerpt { display: block; color: var(--wp--preset--color--muted); font-size: 1.0625rem; margin: 0 0 1rem; }
	body:not(.paged):not(.inzenzo-learn-paged) .inzenzo-learn:not(.inzenzo-learn--related) .wp-block-post-template > li:first-child .inzenzo-post__img img { height: 100%; min-height: 20rem; }
}
@media (max-width: 1023px) { .inzenzo-learn .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 639px) { .inzenzo-learn .wp-block-post-template { grid-template-columns: minmax(0, 1fr) !important; } }

/* Single article */
.inzenzo-article__title { font-size: clamp(2rem, 3.5vw + 1rem, 3.5rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 1rem; }
.inzenzo-article__deck { font-size: 1.375rem; line-height: 1.45; color: var(--wp--preset--color--muted); margin: 0 0 1.5rem; }
.inzenzo-article__meta { gap: 1rem; margin-bottom: 1.75rem; padding-block: 1rem; border-block: 1px solid var(--wp--preset--color--line); }
.inzenzo-article__meta .wp-block-post-author { align-items: center; }
.inzenzo-article__meta .wp-block-post-author__avatar img { border-radius: 50%; }
.inzenzo-article__meta .wp-block-post-author__name { font-weight: 500; }
.inzenzo-article__hero, .inzenzo-article__hero img { border-radius: 28px; width: 100%; object-fit: cover; }
.inzenzo-article__hero { margin-bottom: 2.5rem; }
.inzenzo-article__body { font-size: 1.125rem; line-height: 1.75; }
.inzenzo-article__body h2 { font-size: 1.75rem; margin-top: 2.5rem; }
.inzenzo-article__body h3 { font-size: 1.375rem; margin-top: 2rem; }
.inzenzo-article__body img { border-radius: 20px; height: auto; }
.inzenzo-article__body blockquote { border: 0; border-inline-start: 4px solid var(--wp--preset--color--accent); margin-inline: 0; padding: .25rem 0 .25rem 1.25rem; font-size: 1.375rem; line-height: 1.45; font-weight: 500; }
.inzenzo-article__body li::marker { color: var(--wp--preset--color--accent); }
.inzenzo-article__posted { margin-top: 2.5rem; font-size: .9rem; color: var(--wp--preset--color--muted); }
.inzenzo-article__posted a { display: inline-block; padding: .25rem .8rem; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; color: var(--wp--preset--color--contrast); text-decoration: none; margin-inline-start: .25rem; }
.inzenzo-article__comments { margin-top: 3rem; }
.inzenzo-related { margin-top: 4rem; padding-top: 1rem; border-top: 1px solid var(--wp--preset--color--line); }

/* About page */
.inzenzo-about__hero { padding-block: 2rem 1rem; }
.inzenzo-about__title { font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; margin: 0 0 1rem; max-width: 18ch; }
.inzenzo-about__lede { font-size: 1.35rem; line-height: 1.5; color: var(--wp--preset--color--muted); max-width: 46rem; margin: 0 0 1.75rem; }
.inzenzo-about__rings { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem .5rem; margin: 2.5rem 0 0; padding: 0; }
.inzenzo-about__rings li { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .85rem .3rem .4rem; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; background: var(--wp--preset--color--base); font-size: .9rem; font-weight: 500; }
.inzenzo-about__rings span { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 4px solid var(--c); background: color-mix(in srgb, var(--c) 16%, #fff); box-sizing: border-box; }
.inzenzo-about__h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.25rem); font-weight: 500; letter-spacing: -0.02em; margin: 3rem 0 1.25rem; }
.inzenzo-about__cards, .inzenzo-about__values { gap: 1rem; }
.wp-block-columns.inzenzo-about__cards, .wp-block-columns.inzenzo-about__values { flex-wrap: wrap; }
.wp-block-columns.inzenzo-about__cards > .wp-block-column, .wp-block-columns.inzenzo-about__values > .wp-block-column { flex: 1 1 14rem; min-width: 0; }
.inzenzo-about__card { height: 100%; display: flex; flex-direction: column; }
.inzenzo-about__card h3, .inzenzo-about__values h3 { font-size: 1.2rem; font-weight: 500; margin: 0 0 .5rem; }
.inzenzo-about__link { margin-top: auto; font-weight: 500; }
.inzenzo-about__link a { text-decoration: none; }
.inzenzo-about__link a::after { content: " \2192"; }
.inzenzo-about__feature { margin-block: 3rem 0; gap: 3rem; }
.inzenzo-about__feature .inzenzo-about__h2 { margin-top: 0; }
.inzenzo-about__stack { max-width: 24rem; margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.inzenzo-about__stack span { aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--c) 18%, #fff); border: 14px solid var(--c); box-sizing: border-box; }
.inzenzo-about__stack span:nth-child(even) { transform: translateY(1.5rem); }
.inzenzo-about__eval { margin-block: 4rem 0; }
.inzenzo-about__chartcard { max-width: 28rem; margin-inline: auto; padding: 1.25rem; border: 1px solid var(--wp--preset--color--line); border-radius: var(--wp--custom--radius, 20px); background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); }
.inzenzo-about__chart { width: 100%; height: auto; display: block; }
.inzenzo-about__chartcap { margin: .5rem 0 0; font-size: .9rem; color: var(--wp--preset--color--muted); text-align: center; }
/* Notes feature: a sample post so visitors see this is a social feed */
.inzenzo-about__eyebrow { margin: 0 0 .5rem; font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: var(--wp--preset--color--accent); }
.inzenzo-about__social { margin-block: 3.5rem 0; }
.inzenzo-about__post { margin: 0; max-width: 30rem; margin-inline: auto; }
.inzenzo-about__postcard { padding: 1.25rem; border: 1px solid var(--wp--preset--color--line); border-radius: var(--wp--custom--radius, 20px); background: var(--wp--preset--color--base); box-shadow: 0 10px 30px rgba(0, 0, 0, .06); }
.inzenzo-about__posthead { display: flex; align-items: center; gap: .7rem; margin-bottom: .75rem; }
.inzenzo-about__posthead > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.inzenzo-about__posthead small { color: var(--wp--preset--color--muted); }
.inzenzo-about__avatar { flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; background: var(--wp--preset--color--accent-soft, #e9effb); color: var(--wp--preset--color--accent); }
.inzenzo-about__avatar--sm { width: 1.9rem; height: 1.9rem; font-size: .8rem; background: #f1e9e2; color: #8a6240; }
.inzenzo-about__posttext { margin: 0 0 .85rem; font-size: 1.05rem; line-height: 1.5; }
.inzenzo-about__embed { display: flex; flex-direction: column; gap: .3rem; padding: .85rem 1rem; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; }
.inzenzo-about__embed small { font-size: .72rem; font-weight: 600; letter-spacing: .06em; color: var(--wp--preset--color--accent); }
.inzenzo-about__embed em { font-style: normal; font-size: .85rem; color: var(--wp--preset--color--muted); }
.inzenzo-about__chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.inzenzo-about__chips span { padding: .1rem .6rem; border-radius: 999px; background: var(--wp--preset--color--fill, #f4f5f7); font-size: .85rem; }
.inzenzo-about__acts { display: flex; gap: 1.4rem; margin: .85rem 0 .75rem; color: var(--wp--preset--color--muted); }
.inzenzo-about__acts span { display: inline-flex; align-items: center; gap: .45rem; font-size: 1.05rem; }
.inzenzo-about__reply { display: flex; align-items: flex-start; gap: .55rem; padding-top: .75rem; border-top: 1px solid var(--wp--preset--color--line); }
.inzenzo-about__bubble { padding: .45rem .85rem; border-radius: 16px; background: var(--wp--preset--color--fill, #f4f5f7); font-size: .95rem; line-height: 1.4; }
.inzenzo-about__post figcaption { margin-top: .6rem; text-align: center; font-size: .85rem; color: var(--wp--preset--color--muted); }
.inzenzo-about__note { margin-top: 3rem; }
.inzenzo-about__note h3 { font-size: 1.1rem; font-weight: 500; margin: 0 0 .5rem; }
.inzenzo-about__join { margin-top: 3rem; padding: 3rem 1.5rem; text-align: center; background: var(--wp--preset--color--accent-soft, #e9effb); border-radius: var(--wp--custom--radius, 20px); }
.inzenzo-about__join h2 { font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); font-weight: 500; letter-spacing: -0.02em; margin: 0 0 .5rem; }
.inzenzo-about__join .wp-block-buttons { justify-content: center; }
@media (max-width: 781px) { .inzenzo-about__feature { gap: 1.5rem; } .inzenzo-about__stack { max-width: 18rem; } }
.inzenzo-about__eyebrow { margin: 0 0 .75rem; font-weight: 500; color: var(--wp--preset--color--accent); }

/* Terms and privacy pages */
.inzenzo-legal { padding-block: 2rem 4rem; }
.inzenzo-legal__title { font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 1.5rem; }
.inzenzo-legal h2 { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.015em; margin: 2.75rem 0 .75rem; scroll-margin-top: 5rem; }
.inzenzo-legal h3 { font-size: 1.15rem; font-weight: 500; margin: 1.75rem 0 .5rem; }
.inzenzo-legal p, .inzenzo-legal li { line-height: 1.7; }
.inzenzo-legal ul, .inzenzo-legal ol { padding-left: 1.25rem; }
.inzenzo-legal li { margin: .35rem 0; }
.inzenzo-legal__summary, .inzenzo-legal__toc { padding: 1.5rem 1.75rem; border-radius: var(--wp--custom--radius, 20px); margin: 0 0 1.5rem; }
.inzenzo-legal__summary { background: var(--wp--preset--color--accent-soft, #e9effb); }
.inzenzo-legal__toc { background: var(--wp--preset--color--fill, #f4f5f7); border: 1px solid var(--wp--preset--color--line, #e2e5e9); }
.inzenzo-legal__summary h2, .inzenzo-legal__toc h2 { font-size: 1.15rem; margin: 0 0 .75rem; }
.inzenzo-legal__summary ul { margin: 0; }
.inzenzo-legal__toc ol { margin: 0; columns: 2; column-gap: 2rem; }
.inzenzo-legal__toc li { break-inside: avoid; }
.inzenzo-legal__toc a { text-decoration: none; }
.inzenzo-legal__toc a:hover { text-decoration: underline; }
.inzenzo-legal .wp-block-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.inzenzo-legal .wp-block-table th, .inzenzo-legal .wp-block-table td { text-align: left; vertical-align: top; padding: .7rem .8rem; border-bottom: 1px solid var(--wp--preset--color--line, #e2e5e9); }
.inzenzo-legal .wp-block-table th { font-weight: 600; background: var(--wp--preset--color--fill, #f4f5f7); }
@media (max-width: 640px) { .inzenzo-legal__toc ol { columns: 1; } .inzenzo-legal .wp-block-table { overflow-x: auto; } }

/* Contact page */
.inzenzo-lede { font-size: 1.15rem; color: var(--wp--preset--color--muted); margin: 0 0 1.5rem; }

/* Home page: the search box keeps a margin from the screen edge. */
.inzenzo-home { padding-inline: 1.25rem; }
