/*
Theme Name: yuzuy
Theme URI: https://www.yuzuy.com
Author: Yuzuy GmbH
Description: Block theme for yuzuy.com. Design direction "Ink & Zest": black frame, paper for reading, yuzu yellow as the one signal. Tokens from the Yuzuy Design System. No page builder, no sliders, no icon fonts.
Version: 0.3.28
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: Proprietary
Text Domain: yuzuy
*/

/* ---------- Colour themes: light (default), dark (system or toggle) ---------- */
:root { color-scheme: light; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--wp--preset--color--bg: #111110;
		--wp--preset--color--surface: #1B1B18;
		--wp--preset--color--ink: #F3F3EA;
		--wp--preset--color--muted: #A0A094;
		--wp--preset--color--line: #3B3B34;
		--wp--preset--color--stage: #0A0A08;
		--wp--preset--color--link: #8CC43A;
		--wp--preset--color--alert: #FF7A67;
		--wp--preset--color--qumulo-cyan: #19B4DA;
		--wp--preset--color--qumulo-deepblue: #7FCFE8;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--wp--preset--color--bg: #111110;
	--wp--preset--color--surface: #1B1B18;
	--wp--preset--color--ink: #F3F3EA;
	--wp--preset--color--muted: #A0A094;
	--wp--preset--color--line: #3B3B34;
	--wp--preset--color--stage: #0A0A08;
	--wp--preset--color--link: #8CC43A;
	--wp--preset--color--alert: #FF7A67;
	--wp--preset--color--qumulo-cyan: #19B4DA;
	--wp--preset--color--qumulo-deepblue: #7FCFE8;
	color-scheme: dark;
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:focus-visible { outline: 2px solid var(--wp--preset--color--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--wp--preset--color--yellow); color: #17170F; }
img { height: auto; }

/* Site skeleton: header, main, band and footer touch each other */
.wp-site-blocks > * { margin-block-start: 0; }
main > .alignfull:first-child { margin-block-start: 0; }

/* ---------- The black frame (header, hero, footer, any "Ink" group) ---------- */
.is-style-ink,
.yz-ink {
	--wp--preset--color--bg: #0D0D0A;
	--wp--preset--color--surface: #1A1A16;
	--wp--preset--color--ink: #F3F3EA;
	--wp--preset--color--muted: #A3A397;
	--wp--preset--color--line: #34342D;
	--wp--preset--color--link: #8CC43A;
	--wp--preset--color--qumulo-cyan: #19B4DA;
	--wp--preset--color--qumulo-deepblue: #7FCFE8;
	background-color: #0D0D0A;
	color: #F3F3EA;
	color-scheme: dark;
}
:root[data-theme="dark"] .is-style-ink, :root[data-theme="dark"] .yz-ink { background-color: #0A0A08; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .is-style-ink, :root:not([data-theme="light"]) .yz-ink { background-color: #0A0A08; } }
.is-style-ink + .is-style-ink { border-top: 0; }

/* Header */
.yz-header { min-height: 72px; }
.yz-header .wp-block-site-logo img, .yz-wordmark img { height: 26px; width: auto; }
.yz-header .wp-block-navigation a { color: var(--wp--preset--color--muted); text-decoration: none; }
.yz-header .wp-block-navigation a:hover,
.yz-header .wp-block-navigation .current-menu-item > a,
.yz-header .wp-block-navigation [aria-current="page"] { color: var(--wp--preset--color--ink); }
.yz-header .wp-block-navigation__responsive-container.is-menu-open { background: #0D0D0A; color: #F3F3EA; }
.yz-header .yz-portal a { border: 1px solid var(--wp--preset--color--line); border-radius: 999px; padding: 8px 16px; color: var(--wp--preset--color--ink); }
.yz-header .yz-portal a:hover { background: var(--wp--preset--color--gold); border-color: var(--wp--preset--color--gold); color: #17170F; }

/* Theme toggle */
.yz-theme-toggle { display: inline-flex; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; padding: 3px; gap: 2px; }
.yz-theme-toggle button { border: 0; background: transparent; color: var(--wp--preset--color--muted); font: 600 13px/1 var(--wp--preset--font-family--sans); padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.yz-theme-toggle button[aria-pressed="true"] { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); }

/* Footer */
.yz-footer a { color: var(--wp--preset--color--ink); text-decoration: none; }
.yz-footer a:hover { text-decoration: underline; }
.yz-footer .yz-footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }

/* ---------- Signature elements ---------- */
/* Eyebrow: mono label with the gold "file" square */
.is-style-eyebrow {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--wp--preset--font-family--mono); font-size: 12.5px; font-weight: 500;
	letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--muted);
}
.is-style-eyebrow::before {
	content: ""; flex: none; width: 10px; height: 10px; background: var(--wp--preset--color--gold);
	outline: 1.25px solid var(--wp--preset--color--ink); outline-offset: -1.25px;
}
.is-style-eyebrow.has-text-align-center { justify-content: center; }

/* Meta: mono label without square (dates, categories) */
.is-style-meta { font-family: var(--wp--preset--font-family--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }

/* Lede */
.is-style-lede { font-size: var(--wp--preset--font-size--lede); line-height: 1.55; color: var(--wp--preset--color--muted); text-wrap: pretty; }

/* Card */
.is-style-card {
	background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line);
	border-radius: 16px; padding: clamp(22px, 3vw, 28px);
}
.is-style-card > p:not(.is-style-meta):not(.is-style-eyebrow) { color: var(--wp--preset--color--muted); font-size: 16px; }

/* Callout */
.is-style-callout {
	position: relative; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line);
	border-radius: 12px; padding: 18px 20px 18px 48px;
}
.is-style-callout::before {
	content: ""; position: absolute; left: 20px; top: 26px; width: 12px; height: 12px;
	background: var(--wp--preset--color--gold); outline: 1.25px solid var(--wp--preset--color--ink); outline-offset: -1.25px;
}

/* Spec sheet (table) */
.wp-block-table.is-style-spec table { border-collapse: collapse; width: 100%; border-top: 1px solid var(--wp--preset--color--ink); }
.wp-block-table.is-style-spec td, .wp-block-table.is-style-spec th { border: 0; border-bottom: 1px solid var(--wp--preset--color--line); padding: 16px 0; vertical-align: top; text-align: left; }
.wp-block-table.is-style-spec td:first-child, .wp-block-table.is-style-spec th:first-child {
	width: 34%; padding-right: 20px;
	font-family: var(--wp--preset--font-family--mono); font-size: 12.5px; line-height: 24px; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--muted); font-weight: 500;
}
.wp-block-table.is-style-spec thead { display: none; }
@media (max-width: 600px) {
	.wp-block-table.is-style-spec tr { display: block; border-bottom: 1px solid var(--wp--preset--color--line); padding: 12px 0; }
	.wp-block-table.is-style-spec td { display: block; width: auto !important; border: 0; padding: 2px 0; }
}

/* Numbered steps */
ol.is-style-steps { list-style: none; counter-reset: yz-step; padding: 0; margin-left: 0; border-top: 1px solid var(--wp--preset--color--line); }
ol.is-style-steps > li { counter-increment: yz-step; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--wp--preset--color--line); }
ol.is-style-steps > li::before { content: counter(yz-step, decimal-leading-zero); font-family: var(--wp--preset--font-family--mono); font-size: 13px; line-height: 26px; color: var(--wp--preset--color--muted); }

/* Quote */
.wp-block-quote.is-style-yuzuy { border: 0; border-top: 1px solid var(--wp--preset--color--ink); padding: 32px 0 0; margin: 0; }
.wp-block-quote.is-style-yuzuy p { text-wrap: balance; }
.wp-block-quote.is-style-yuzuy cite { display: block; margin-top: 18px; font-size: 15px; font-weight: 400; font-style: normal; color: var(--wp--preset--color--muted); letter-spacing: 0; }
.wp-block-quote.is-style-yuzuy cite strong { color: var(--wp--preset--color--ink); font-weight: 600; }

/* FAQ (details) */
.wp-block-details.is-style-faq { border-bottom: 1px solid var(--wp--preset--color--line); padding: 18px 0; margin: 0; }
.wp-block-details.is-style-faq + .wp-block-details.is-style-faq { margin-top: 0; }
.wp-block-details.is-style-faq summary { font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.wp-block-details.is-style-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-faq summary::after { content: "+"; font-family: var(--wp--preset--font-family--mono); color: var(--wp--preset--color--muted); }
.wp-block-details.is-style-faq[open] summary::after { content: "–"; }
.wp-block-details.is-style-faq > :not(summary) { color: var(--wp--preset--color--muted); max-width: 68ch; }

/* Version chip: inline code inside headings and meta */
:where(h1, h2, h3, p) code.yz-ver, .yz-ver { font: 600 12px/1 var(--wp--preset--font-family--mono); padding: 5px 8px; border-radius: 6px; border: 1px solid var(--wp--preset--color--line); vertical-align: middle; }

/* Links that read as "Learn more →" */
.is-style-more a, a.yz-more { font-weight: 600; text-decoration: none; color: var(--wp--preset--color--link); }
.is-style-more a::after { content: " →"; }

/* Buttons */
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--gold); border-color: var(--wp--preset--color--gold); color: #17170F; }
.wp-block-button__link { min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }

/* Yellow contact band: always yellow, ink text, in both themes */
.yz-band { background: #FBEE66; color: #17170F; --wp--preset--color--ink: #17170F; --wp--preset--color--muted: #3A3A2C; --wp--preset--color--bg: #FBEE66; --wp--preset--color--line: rgba(23,23,15,.2); --wp--preset--color--link: #17170F; }
.yz-band .wp-block-button__link { background: #17170F; color: #FBEE66; border-color: #17170F; }
.yz-band .wp-block-button__link:hover { background: #FFFFFF; color: #17170F; border-color: #FFFFFF; }

/* Customer logos */
.yz-footer-sub { margin-top: 24px !important; }
/* Product overview: two products side by side */
.yz-product-no { font-family: var(--wp--preset--font-family--mono); font-size: 13px; letter-spacing: .08em; color: var(--wp--preset--color--muted); margin: 0; }
.yz-product .wp-block-table.is-style-spec { margin-top: 8px; }
.yz-logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 32px; align-items: center; }
.yz-logos figure { margin: 0; display: flex; justify-content: center; }
.yz-logos img { max-width: 100%; height: auto !important; object-fit: contain; filter: grayscale(1); opacity: .78; mix-blend-mode: multiply; }
.yz-logos img:hover { filter: none; opacity: 1; }
:root[data-theme="dark"] .yz-logos img { filter: grayscale(1) invert(1); mix-blend-mode: screen; opacity: .85; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .yz-logos img { filter: grayscale(1) invert(1); mix-blend-mode: screen; opacity: .85; } }
@media (max-width: 760px) { .yz-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; } .yz-logos > :last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Logo tile (third-party logos on white, works in dark mode) */
.yz-logo-tile { background: #FFFFFF; border-radius: 10px; padding: 18px; border: 1px solid var(--wp--preset--color--line); }

/* Qumulo context */
.is-style-qumulo, .has-qumulo-font-family { font-family: var(--wp--preset--font-family--qumulo); }

/* Dot field behind schematics (static fallback of the hero event field) */
.yz-dotfield { background-image: radial-gradient(circle, rgba(127,127,110,.18) 1.3px, transparent 1.6px); background-size: 40px 40px; background-position: 20px 20px; }

/* Legal pages: a calm reading column, text untouched */
.yz-legal { font-size: 16.5px; line-height: 1.7; }
.yz-legal h2 { font-size: 30px; letter-spacing: -.02em; margin-top: 72px; }
.yz-legal h2:first-child { margin-top: 32px; }
@media (max-width: 600px) { .yz-legal h2 { font-size: 23px; margin-top: 56px; } .yz-legal h3 { font-size: 19px; } }
.yz-legal h3 { font-size: 21px; letter-spacing: -.01em; margin-top: 40px; }
.yz-legal h2, .yz-legal h3, .yz-prose h2, .yz-prose h3 { scroll-margin-top: 24px; }

/* Article table of contents (sticky on wide screens) */
.yz-toc { position: sticky; top: calc(var(--yz-header-h) + 24px); border-left: 1px solid var(--wp--preset--color--line); padding-left: 18px; font-size: 14.5px; max-height: calc(100vh - var(--yz-header-h) - 48px); overflow-y: auto; }
.yz-toc-col { padding-top: 120px; }
.yz-toc__label { font-family: var(--wp--preset--font-family--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--muted); margin: 0 0 8px; }
.yz-toc ol { list-style: none; margin: 0; padding: 0; }
.yz-toc ol ol { padding-left: 12px; margin-bottom: 10px; }
.yz-toc ol ol a { font-size: 13.5px; padding: 3px 0; }
.yz-toc a { color: var(--wp--preset--color--muted); text-decoration: none; display: block; padding: 4px 0; line-height: 1.35; }
.yz-toc a:hover { color: var(--wp--preset--color--ink); }
.yz-toc a.is-current { color: var(--wp--preset--color--ink); }
/* Inline variant (articles): a collapsed "On this page" box above the text */
.yz-toc.yz-toc--inline { position: static; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; padding: 0; max-height: none; background: var(--wp--preset--color--surface); }
.yz-toc--inline summary { cursor: pointer; padding: 14px 18px; font-family: var(--wp--preset--font-family--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.yz-toc--inline details > ol { padding: 0 18px 14px; }
@media (max-width: 960px) { .yz-toc-col { display: none; } }

/* Prose rhythm */
.yz-prose { font-size: 18px; line-height: 1.7; }
.yz-prose h2 { font-size: 27px; margin-top: 48px; letter-spacing: -.015em; }
.yz-prose h3 { font-size: 21px; margin-top: 32px; letter-spacing: -.01em; }
.yz-prose h4 { font-size: 17px; margin-top: 28px; }
.yz-prose .wp-block-image img, .yz-prose .wp-block-gallery img { border: 1px solid var(--wp--preset--color--line); border-radius: 10px; }
.yz-prose .wp-block-gallery { gap: 12px; }
.yz-prose .wp-block-buttons { margin-top: 24px; }

/* Alert callout (migrated "Attention" boxes and red messages) */
.is-style-callout.yz-alert { border-color: color-mix(in srgb, var(--wp--preset--color--alert) 45%, var(--wp--preset--color--line)); }
.is-style-callout.yz-alert::before { background: var(--wp--preset--color--alert); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* Category and term links read as mono labels */
.wp-block-post-terms a { color: var(--wp--preset--color--muted); text-decoration: none; }
.wp-block-post-terms a:hover { color: var(--wp--preset--color--ink); }
.wp-block-post-terms.is-style-eyebrow a { color: inherit; }

/* Mobile menu button and overlay in the black frame */
.yz-header .wp-block-navigation__responsive-container-open,
.yz-header .wp-block-navigation__responsive-container-close { color: #F3F3EA; }
.yz-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { color: #F3F3EA; font-size: 20px; }

/* Category chips on the news page */
.yz-cat-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.yz-cat-chips li a { display: inline-block; padding: 8px 16px; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.yz-cat-chips li a:hover { color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); }

/* Release feed: compact list of the latest release notes */
.yz-releases .wp-block-post-template { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wp--preset--color--ink); }
.yz-releases .wp-block-post-template > li { display: grid; grid-template-columns: 12ch 16ch minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--wp--preset--color--line); margin: 0; }
.yz-releases .wp-block-post-date, .yz-releases .wp-block-post-terms { font-family: var(--wp--preset--font-family--mono); font-size: 12.5px; color: var(--wp--preset--color--muted); }
.yz-releases .wp-block-post-title { font-size: 16px; font-weight: 600; margin: 0; }
.yz-releases .wp-block-post-title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.yz-releases .wp-block-post-title a:hover { text-decoration: underline; }
@media (max-width: 600px) { .yz-releases .wp-block-post-template > li { grid-template-columns: 12ch minmax(0, 1fr); } .yz-releases .wp-block-post-terms { display: none; } }
/* Article teaser card */
.yz-article .is-style-meta { margin: 0; }

/* Tablet widths: keep the header on one line */
@media (min-width: 600px) and (max-width: 960px) {
	.yz-header .wp-block-navigation { gap: 18px; font-size: 15px; }
	.yz-header .wp-block-navigation__container { gap: 18px; flex-wrap: nowrap; }
	.yz-header .yz-portal a { padding: 6px 12px; }
}

/* ---------- Changelog (yuzuy/changelog) ---------- */
.yz-changelog { display: grid; gap: 0; }
.yz-changelog__item { padding: 24px 0; border-top: 1px solid var(--wp--preset--color--line); scroll-margin-top: 24px; }
.yz-changelog__item:first-child { border-top: 0; padding-top: 0; }
.yz-changelog__version { margin: 0; }
.yz-changelog__version a { color: inherit; text-decoration: none; }
.yz-changelog__version a:hover, .yz-changelog__version a:focus-visible { text-decoration: underline; }
.yz-changelog__date { margin: 6px 0 10px; }
.yz-changelog__summary { margin: 0 0 8px; max-width: 70ch; }

/* ---------- Sticky header (0.3.11) ----------
   Desktop and tablet: the header stays at the top.
   Phones: it slides away while reading down and comes back on the first scroll up. */
:root { --yz-header-h: 72px; }
html { scroll-padding-top: calc(var(--yz-header-h) + 16px); }
.yz-site-header,
.wp-site-blocks > :has(> .yz-header) { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; transition: top .25s ease; }
.yz-header { transition: box-shadow .2s ease; }
.is-scrolled > .yz-header { box-shadow: 0 1px 0 #34342D; }
@media (max-width: 600px) {
	.yz-site-header, .wp-site-blocks > :has(> .yz-header) { top: 0; }
	.yz-site-header.is-hidden, .wp-site-blocks > .is-hidden:has(> .yz-header) { top: calc(-1 * var(--yz-header-h) - 2px); }
}
@media (prefers-reduced-motion: reduce) { .yz-site-header, .wp-site-blocks > :has(> .yz-header), .yz-header { transition: none; } }

/* Team (about page): person cards; photo optional (square, top of the card) */
.yz-person > h3 { margin-top: 0; margin-bottom: 0; }
.yz-person > .is-style-meta { margin-top: 4px; }
.yz-person > .is-style-more { margin-top: auto; }
.yz-person .wp-block-image { margin: 0 0 8px; }
.yz-person .wp-block-image img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; }
/* Photo placeholder until a portrait is in the card (Martin, 18.11.2026): initials on ink, inverts in dark mode */
.yz-person__placeholder { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; margin: 0 0 8px; border-radius: 12px; background: var(--wp--preset--color--ink); color: var(--wp--preset--color--surface); font-weight: 600; font-size: 28px; letter-spacing: .04em; line-height: 1; user-select: none; }

/* Partner logos (about page): white tiles, original colours */
.yz-partners { gap: 16px; margin-top: 24px; }
.yz-partners .yz-logo-tile { display: inline-flex; align-items: center; padding: 14px 20px; }
.yz-partners .yz-logo-tile { min-height: 84px; box-sizing: border-box; }
.yz-partners img { display: block; width: auto; max-width: 100%; }

/* 0.3.22: pattern yuzuy/backup-bars, structured like the original chart (Martin, 19.11.2026):
   top without the plugin, bottom with it; stacked bars on a time axis (0 to 36 h). */
.yz-bars { box-sizing: border-box; margin-bottom: 0; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--wp--preset--color--line); border-radius: 16px; background: var(--wp--preset--color--surface); }
/* Width and side margins come from the surrounding layout (constrained section or column), so the box lines up with the columns. */
.wp-block-columns + .yz-bars { margin-top: var(--wp--preset--spacing--60); }
.yz-bars-title { font: 600 clamp(17px, 1.6vw, 20px)/1.35 var(--wp--preset--font-family--sans); margin: 0 0 24px; color: var(--wp--preset--color--ink); }
.yz-bars-chart { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: 64px 64px auto; row-gap: 18px; column-gap: 20px; align-items: center; }
.yz-bars-grid { grid-column: 2; grid-row: 1 / 3; align-self: stretch; margin: -9px 0; background-image: linear-gradient(to right, var(--wp--preset--color--line) 1px, transparent 1px); background-size: 25% 100%; border-right: 1px solid var(--wp--preset--color--line); border-left: 2px solid var(--wp--preset--color--ink); }
.yz-bars-label { grid-column: 1; font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--wp--preset--color--ink); }
.yz-bars-track { grid-column: 2; position: relative; height: 64px; }
.yz-bars-chart > .is-r1 { grid-row: 1; }
.yz-bars-chart > .is-r2 { grid-row: 2; }
.yz-bars-seg { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; min-width: 4px; overflow: hidden; }
.yz-bars-seg.is-find { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--bg); }
.yz-bars-seg.is-copy { background: #FBEE66; color: #17170F; box-shadow: inset 0 0 0 1px rgba(23, 23, 15, .18); }
.yz-bars-seg span { font: 600 14px var(--wp--preset--font-family--mono); padding: 0 14px; white-space: nowrap; }
.yz-bars-end { position: absolute; top: 50%; transform: translateY(-50%); padding-left: 12px; font: 400 13px var(--wp--preset--font-family--mono); color: var(--wp--preset--color--ink); white-space: nowrap; }
.yz-bars-axis { grid-column: 2; grid-row: 3; position: relative; height: 20px; margin-top: 2px; }
.yz-bars-axis span { position: absolute; top: 0; transform: translateX(-50%); font: 400 12px var(--wp--preset--font-family--mono); color: var(--wp--preset--color--muted); white-space: nowrap; }
.yz-bars-axis span:first-child { transform: none; }
.yz-bars-axis span:last-child { transform: translateX(-100%); }
.yz-bars-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin: 22px 0 0; font-size: 14px; color: var(--wp--preset--color--ink); }
.yz-bars-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.yz-bars-key { display: inline-block; width: 14px; height: 14px; border-radius: 3px; }
.yz-bars-key.is-find { background: var(--wp--preset--color--ink); }
.yz-bars-key.is-copy { background: #FBEE66; box-shadow: inset 0 0 0 1px rgba(23, 23, 15, .25); }
.yz-bars-note { margin: 10px 0 0; font-size: 13px; color: var(--wp--preset--color--muted); }
@media (max-width: 720px) {
	.yz-bars-chart { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 48px auto 48px auto; row-gap: 8px; }
	.yz-bars-grid { grid-column: 1; grid-row: 2 / 5; margin: 0; }
	.yz-bars-label, .yz-bars-track, .yz-bars-axis { grid-column: 1; }
	.yz-bars-chart > .yz-bars-label.is-r1 { grid-row: 1; }
	.yz-bars-chart > .yz-bars-track.is-r1 { grid-row: 2; }
	.yz-bars-chart > .yz-bars-label.is-r2 { grid-row: 3; margin-top: 10px; }
	.yz-bars-chart > .yz-bars-track.is-r2 { grid-row: 4; }
	.yz-bars-axis { grid-row: 5; }
	.yz-bars-track { height: 48px; }
	.yz-bars-seg span { font-size: 12px; padding: 0 10px; }
	.yz-bars-end { font-size: 11px; padding-left: 8px; white-space: normal; max-width: 60%; line-height: 1.25; }
	.yz-bars-axis span { font-size: 10.5px; }
}

/* 0.3.20: product cards on /products/ – title image, whole card links to the product, CTA button at the bottom, changelog as a quiet line */
.yz-product { position: relative; overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
.yz-product-media { position: relative; flex-shrink: 0; align-self: flex-start; width: calc(100% + 2 * clamp(22px, 3vw, 28px)); max-width: none; margin: calc(-1 * clamp(22px, 3vw, 28px)) calc(-1 * clamp(22px, 3vw, 28px)) 8px !important; aspect-ratio: 2 / 1; background: #17170F; border-bottom: 1px solid var(--wp--preset--color--line); overflow: hidden; }
.yz-product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yz-product > h3 { margin-top: 4px; }
.yz-product-cta { margin-top: auto !important; padding-top: 16px; }
body:not(.editor-styles-wrapper) .yz-product-cta .wp-block-button__link::before { content: ""; position: absolute; inset: 0; border-radius: 16px; z-index: 0; }
.yz-product a:not(.wp-block-button__link) { position: relative; z-index: 1; }
.yz-product:hover, .yz-product:has(:focus-visible) { border-color: var(--wp--preset--color--gold); box-shadow: 0 10px 28px rgba(23, 23, 15, .10); }
.yz-product:hover .yz-product-cta .wp-block-button__link { background: var(--wp--preset--color--gold); border-color: var(--wp--preset--color--gold); color: #17170F; }
.yz-product-changelog { margin: 4px 0 0 !important; font-family: var(--wp--preset--font-family--mono); font-size: 12px !important; letter-spacing: .06em; text-transform: uppercase; }
.yz-product-changelog a { color: var(--wp--preset--color--muted); text-decoration: none; }
.yz-product-changelog a:hover { color: var(--wp--preset--color--ink); text-decoration: underline; }
.yz-product .wp-block-table.is-style-spec a { color: var(--wp--preset--color--link); }
.yz-products-more { margin-top: 32px; }
@media (max-width: 600px) { .yz-product-cta, .yz-product-cta .wp-block-button { width: 100%; } .yz-product-cta .wp-block-button__link { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .yz-product { transition: none; } }

/* 0.3.21/0.3.22: whole card links to its target – only when the preferred target is unambiguous (Martin, 19.11.2026).
   Static cards: exactly one "Learn more →" link as the last element and no other content links (no tables, lists or inline links);
   query cards: "Read the article" or the post title. Other links in a card stay clickable above it. Front end only.
   Hover: gold edge and shadow, the card does not lift. */
body:not(.editor-styles-wrapper) .is-style-card:not(.yz-person):not(.yz-product):is(:has(> .is-style-more:last-child a):not(:has(> .is-style-more ~ .is-style-more, .wp-block-table a, li a, p:not(.is-style-more) a)), :has(> .wp-block-read-more), :has(> .wp-block-post-title a)) { position: relative; transition: border-color .15s ease, box-shadow .15s ease; }
body:not(.editor-styles-wrapper) .is-style-card:not(.yz-person):not(.yz-product):is(:has(> .is-style-more:last-child a):not(:has(> .is-style-more ~ .is-style-more, .wp-block-table a, li a, p:not(.is-style-more) a)), :has(> .wp-block-read-more), :has(> .wp-block-post-title a)) > .is-style-more:last-child a::before,
body:not(.editor-styles-wrapper) .is-style-card:not(.yz-person):not(.yz-product):is(:has(> .is-style-more:last-child a):not(:has(> .is-style-more ~ .is-style-more, .wp-block-table a, li a, p:not(.is-style-more) a)), :has(> .wp-block-read-more), :has(> .wp-block-post-title a)) > a.wp-block-read-more::before,
body:not(.editor-styles-wrapper) .is-style-card:not(.yz-person):not(.yz-product):is(:has(> .is-style-more:last-child a):not(:has(> .is-style-more ~ .is-style-more, .wp-block-table a, li a, p:not(.is-style-more) a)), :has(> .wp-block-read-more), :has(> .wp-block-post-title a)):not(:has(> .wp-block-read-more)) > .wp-block-post-title a::before { content: ""; position: absolute; inset: 0; border-radius: 16px; }
body:not(.editor-styles-wrapper) .is-style-card :is(p:not(.is-style-more), li, td, .wp-block-post-terms, .wp-block-post-date) a { position: relative; z-index: 1; }
body:not(.editor-styles-wrapper) .is-style-card:not(.yz-person):not(.yz-product):is(:has(> .is-style-more:last-child a):not(:has(> .is-style-more ~ .is-style-more, .wp-block-table a, li a, p:not(.is-style-more) a)), :has(> .wp-block-read-more), :has(> .wp-block-post-title a)):is(:hover, :has(:focus-visible)) { border-color: var(--wp--preset--color--gold); box-shadow: 0 10px 28px rgba(23, 23, 15, .10); }
@media (prefers-reduced-motion: reduce) { body:not(.editor-styles-wrapper) .is-style-card { transition: none; } }
