/* CJ Autoškola: main stylesheet. Brand: #004F9F navy, #009FE3 azure, #C4EDF9 pale, #D0DCE9 grey-blue. */

@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-latin.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Russian version: Figtree has no Cyrillic, so /ru/ is set in Onest (OFL, self-hosted). On the Czech pages Onest only
   serves stray Cyrillic (the RU note in the header, the call-back popup switched to RU): the browser downloads a file
   only when a character from its unicode-range is really shown. */
@font-face {
	font-family: "Onest";
	src: url("../fonts/onest-cyrillic.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Onest";
	src: url("../fonts/onest-latin-ext.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Onest";
	src: url("../fonts/onest-latin.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--cj-navy: #004F9F;
	--cj-navy-dark: #003C7A;
	--cj-navy-deep: #002B58;
	--cj-azure: #009FE3;
	--cj-azure-text: #0077B3; /* azure darkened for text on white (WCAG AA) */
	--cj-azure-shadow: #007FB5;
	--cj-pale: #C4EDF9;
	--cj-pale-20: #EEF9FD;
	--cj-grey-blue: #D0DCE9;
	--cj-grey-blue-20: #F4F7FB;
	--cj-ink: #14213D;
	--cj-text: #2B3A55;
	--cj-muted: #5A6880;
	--cj-line: #DCE4EE;
	--cj-white: #FFFFFF;
	--cj-success: #1F7A4D;

	--cj-font: "Figtree", "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--cj-r-sm: 6px;
	--cj-r-md: 14px;
	--cj-r-lg: 28px;

	--cj-wrap: 1200px;
	--cj-text-w: 720px;
	--cj-gutter: clamp(16px, 4vw, 40px);
	--cj-section: clamp(56px, 8vw, 112px);

	--cj-fs-xs: 0.8125rem;
	--cj-fs-sm: 0.9375rem;
	--cj-fs-md: 1.0625rem;
	--cj-fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
	--cj-fs-h3: clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem);
	--cj-fs-h2: clamp(1.75rem, 1.4rem + 1.6vw, 2.625rem);
	--cj-fs-h1: clamp(2rem, 1.5rem + 2.4vw, 3.25rem);
	--cj-fs-claim: clamp(2.5rem, 1.7rem + 3.9vw, 4.75rem);

	--cj-shadow: 0 1px 2px rgba(0, 43, 88, 0.06), 0 8px 24px rgba(0, 43, 88, 0.08);
	--cj-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
/* /ru/: one typeface for Cyrillic, Latin and digits, so prices and Czech names sit in the same face as the text. */
:root:lang(ru) { --cj-font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; --cj-sb: 0px; }
/* Safety net against sideways scroll (100vw includes a classic scrollbar); clip keeps the sticky header working. */
html, body { overflow-x: clip; }
html.cj-lock { overflow: hidden; }
body {
	margin: 0;
	font-family: var(--cj-font);
	font-size: var(--cj-fs-md);
	line-height: 1.65;
	color: var(--cj-text);
	background: var(--cj-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
.cj-icon { display: inline-block; vertical-align: -0.15em; flex: 0 0 auto; }
a { color: var(--cj-navy); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cj-azure-text); }
:focus-visible { outline: 3px solid var(--cj-azure); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--cj-navy); line-height: 1.15; font-weight: 750; letter-spacing: -0.015em; margin: 0 0 0.5em; text-wrap: balance; }
h2 { font-size: var(--cj-fs-h2); }
h3 { font-size: var(--cj-fs-h3); line-height: 1.25; }
h4 { font-size: var(--cj-fs-lg); }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-style: normal; color: var(--cj-azure); }
strong { font-weight: 700; color: var(--cj-ink); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.cj-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--cj-navy); color: #fff; padding: 10px 16px; border-radius: var(--cj-r-sm); }
.cj-skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.cj-btn,
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 24px;
	font: inherit; font-weight: 700; font-size: var(--cj-fs-sm); line-height: 1.2;
	text-decoration: none; border-radius: 22px 7px 22px 22px; /* shape of the logo pictogram: top right almost square like the "J" (Marek 30. 10., variant A) */
	border: 2px solid var(--cj-navy); background: var(--cj-navy); color: #fff;
	transition: background-color 0.18s var(--cj-ease), border-color 0.18s var(--cj-ease), color 0.18s var(--cj-ease), transform 0.18s var(--cj-ease);
	cursor: pointer;
}
.cj-btn:hover,
.wp-block-button__link:hover { background: var(--cj-navy-dark); border-color: var(--cj-navy-dark); color: #fff; transform: translateY(-1px); }
.cj-btn--secondary,
.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link { background: #fff; color: var(--cj-navy); border-color: var(--cj-navy); }
.cj-btn--secondary:hover,
.is-style-outline > .wp-block-button__link:hover { background: var(--cj-pale-20); color: var(--cj-navy-dark); border-color: var(--cj-navy-dark); }
.cj-btn--light { background: #fff; color: var(--cj-navy); border-color: #fff; }
.cj-btn--light:hover { background: var(--cj-pale); border-color: var(--cj-pale); color: var(--cj-navy-deep); }
.wp-block-buttons { gap: 12px; margin: 1.5em 0 0; }

/* ---------- Header ---------- */
.cj-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.cj-header.is-scrolled { border-bottom-color: var(--cj-line); box-shadow: 0 6px 20px rgba(0, 43, 88, 0.06); }
.cj-header__inner { max-width: calc(var(--cj-wrap) + 2 * var(--cj-gutter)); margin: 0 auto; padding: 14px var(--cj-gutter); display: flex; align-items: center; gap: 24px; }
.cj-header__logo { flex: 0 0 auto; }
.cj-header__logo img { width: 170px; height: auto; }
.cj-header__toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--cj-navy); padding: 8px; cursor: pointer; border-radius: var(--cj-r-sm); }
.cj-header__toggle-close { display: none; }
.cj-nav { flex: 1; display: flex; align-items: center; gap: 20px; }
.cj-nav__list { list-style: none; margin: 0 auto 0 12px; padding: 0; display: flex; gap: 4px; align-items: center; }
.cj-nav__list > li { position: relative; display: flex; align-items: center; }
.cj-nav__list a { display: block; padding: 10px 12px; color: var(--cj-ink); font-weight: 600; font-size: var(--cj-fs-sm); text-decoration: none; border-radius: var(--cj-r-sm); white-space: nowrap; }
.cj-nav__list a:hover { color: var(--cj-navy); background: var(--cj-pale-20); }
/* Active item: only the font colour, background stays white (Marek 30. 10.). */
.cj-nav__list .current-menu-item > a,
.cj-nav__list .current-menu-ancestor > a { color: var(--cj-azure-text); background: none; }
.cj-nav__sub-toggle { background: none; border: 0; padding: 6px 4px; margin-left: -8px; color: var(--cj-muted); cursor: pointer; border-radius: var(--cj-r-sm); }
.cj-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px;
	position: absolute; top: 100%; left: 0; min-width: 290px;
	background: #fff; border: 1px solid var(--cj-line); border-radius: var(--cj-r-md); box-shadow: var(--cj-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
}
.cj-nav .sub-menu a { white-space: normal; }
.cj-nav__list > li:hover > .sub-menu,
.cj-nav__list > li:focus-within > .sub-menu,
.cj-nav__list > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.cj-nav__actions { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
/* Phone in the header: light blue (azure) with a white icon, like the icon circle of the floating "Nestíháš?" button (Marek 30. 10.).
   Same CJ shape as the buttons (annotation 185, 5. 11.). */
.cj-header__phone {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 14px; border-radius: 22px 7px 22px 22px;
	background: var(--cj-azure); color: #fff; font-weight: 700; text-decoration: none; font-size: var(--cj-fs-sm); white-space: nowrap;
	transition: background 0.2s, transform 0.2s var(--cj-ease);
}
.cj-header__phone:hover { background: var(--cj-navy); color: #fff; transform: translateY(-1px); }
.cj-header__phone .cj-icon { color: #fff; }

/* Desktop: bigger menu font; items that do not fit move into "Více" (priority nav, like Chytré weby; main.js). */
@media (min-width: 1081px) {
	.cj-nav__list { flex: 1 1 auto; min-width: 0; }
	.cj-nav__list a, .cj-nav__more-btn { font-size: var(--cj-fs-md); }
}
.cj-nav__list > li.cj-nav__more { display: none; }
.cj-nav__list > li.cj-nav__more.is-active { display: flex; }
.cj-nav__more-btn {
	display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; background: none; cursor: pointer;
	font: inherit; font-weight: 600; color: var(--cj-ink); border-radius: var(--cj-r-sm); white-space: nowrap;
}
.cj-nav__more-btn:hover, .cj-nav__more.is-open .cj-nav__more-btn { color: var(--cj-navy); background: var(--cj-pale-20); }
.cj-nav__more-btn svg { transition: transform 0.16s; }
.cj-nav__more.is-open .cj-nav__more-btn svg { transform: rotate(180deg); }
.cj-nav__more-list {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; right: 0; min-width: 220px; z-index: 5;
	background: #fff; border: 1px solid var(--cj-line); border-radius: var(--cj-r-md); box-shadow: var(--cj-shadow);
}
.cj-nav__more-list[hidden] { display: none; }
.cj-nav__more-list > li { display: block; }
.cj-nav__more-list .sub-menu, .cj-nav__more-list .cj-nav__sub-toggle { display: none !important; }

@media (max-width: 1080px) {
	.cj-header__toggle { display: inline-flex; }
	.cj-header.is-open .cj-header__toggle-open { display: none; }
	.cj-header.is-open .cj-header__toggle-close { display: inline; }
	.cj-nav {
		position: fixed; inset: 64px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
		padding: 16px var(--cj-gutter) 32px; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
	}
	.cj-header.is-open .cj-nav { opacity: 1; visibility: visible; transform: none; }
	/* backdrop-filter makes the header the containing block of the fixed menu, which then shrinks to 48 px. */
	.cj-header.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.cj-nav__list { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
	.cj-nav__list > li { flex-wrap: wrap; border-bottom: 1px solid var(--cj-line); }
	.cj-nav__list > li > a { flex: 1; padding: 16px 4px; font-size: var(--cj-fs-md); }
	.cj-nav__sub-toggle { padding: 12px; margin: 0; }
	.cj-nav .sub-menu { position: static; display: none; min-width: 0; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 12px; }
	.cj-nav__list > li.is-open > .sub-menu { display: block; }
	.cj-nav__list > li:hover > .sub-menu { display: none; }
	.cj-nav__list > li.is-open:hover > .sub-menu { display: block; }
	.cj-nav__actions { flex-direction: column; align-items: stretch; margin-top: 24px; }
	.cj-nav__actions .cj-btn { width: 100%; }
	.cj-header__phone { justify-content: center; padding: 12px; }
}

/* ---------- Layout ---------- */
.cj-wrap { max-width: calc(var(--cj-wrap) + 2 * var(--cj-gutter)); margin-left: auto; margin-right: auto; padding-left: var(--cj-gutter); padding-right: var(--cj-gutter); }
.cj-content > * { max-width: calc(var(--cj-wrap) + 2 * var(--cj-gutter)); margin-left: auto; margin-right: auto; padding-left: var(--cj-gutter); padding-right: var(--cj-gutter); }
.cj-content > .alignfull { max-width: none; }
.cj-content--article > * { max-width: calc(var(--cj-text-w) + 2 * var(--cj-gutter)); }
.cj-content--article { padding-bottom: var(--cj-section); }
.cj-content--article > h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); }

/* Section group: full width band, inner content constrained. */
.wp-block-group.is-style-cj-section,
.wp-block-group.is-style-cj-tinted,
.wp-block-group.is-style-cj-navy,
.wp-block-group.is-style-cj-cta { padding-top: var(--cj-section); padding-bottom: var(--cj-section); margin: 0 auto; }
.wp-block-group.is-style-cj-tinted { background: var(--cj-pale-20); max-width: none; }
.wp-block-group.is-style-cj-tinted > *,
.wp-block-group.is-style-cj-navy > *,
.wp-block-group.is-style-cj-cta > * { max-width: var(--cj-wrap); margin-left: auto; margin-right: auto; }
.wp-block-group.is-style-cj-navy { background: var(--cj-navy); color: #E6F2FB; max-width: none; position: relative; overflow: hidden; }
.wp-block-group.is-style-cj-navy h2,
.wp-block-group.is-style-cj-navy h3,
.wp-block-group.is-style-cj-navy strong { color: #fff; }
.wp-block-group.is-style-cj-navy em { color: var(--cj-pale); }
.wp-block-group.is-style-cj-navy a:not(.wp-block-button__link) { color: #fff; }
.wp-block-group.is-style-cj-navy .is-style-cj-eyebrow,
.wp-block-group.is-style-cj-navy .cj-eyebrow { color: var(--cj-pale); }
.wp-block-group.is-style-cj-navy .wp-block-button__link { background: #fff; color: var(--cj-navy); border-color: #fff; }
.wp-block-group.is-style-cj-navy .wp-block-button__link:hover { background: var(--cj-pale); border-color: var(--cj-pale); }
.wp-block-group.is-style-cj-navy .is-style-outline .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
/* Navy band: soft lighter glow from the top for depth, no stripes. */
.wp-block-group.is-style-cj-navy {
	background:
		radial-gradient(1100px 520px at 18% -10%, rgba(0, 159, 227, 0.38) 0%, rgba(0, 159, 227, 0) 65%),
		radial-gradient(900px 480px at 100% 110%, rgba(0, 43, 88, 0.55) 0%, rgba(0, 43, 88, 0) 70%),
		var(--cj-navy);
}
.wp-block-group.is-style-cj-navy > * { position: relative; z-index: 1; }
.wp-block-group.is-style-cj-cta {
	text-align: center; max-width: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.93) 0%, rgba(238, 249, 253, 0.8) 100%), url("../img/cta-tym.webp") center 55% / cover no-repeat;
}
.wp-block-group.is-style-cj-cta > .wp-block-group__inner-container,
.wp-block-group.is-style-cj-cta > * { max-width: 760px; }
.wp-block-group.is-style-cj-cta .wp-block-buttons { justify-content: center; }
.wp-block-group.is-style-cj-panel { background: #fff; border: 1px solid var(--cj-line); border-radius: var(--cj-r-md); padding: clamp(20px, 3vw, 36px); }
.wp-block-group.is-style-cj-tinted .wp-block-group.is-style-cj-panel { border-color: transparent; }

/* Section heading block: eyebrow + h2 + lead stay readable width. */
.cj-content h2 + p,
.cj-content .is-style-cj-lead { max-width: var(--cj-text-w); }
.wp-block-group.is-style-cj-cta h2 + p { margin-left: auto; margin-right: auto; }
.cj-content p,
.cj-content .wp-block-list { max-width: var(--cj-text-w); }
/* WP constrained layout centres every child (margin auto !important). Readable-width text should start
   at the left edge of the 1200px content box instead, so it lines up with headings and grids. */
.cj-content .is-layout-constrained > p,
.cj-content .is-layout-constrained > .wp-block-list,
.cj-content .is-layout-constrained > .wp-block-details,
.cj-content .is-layout-constrained > .cj-form-wrap,
.cj-content .is-layout-constrained > .cj-person-card {
	margin-left: max(0px, calc((100% - var(--cj-wrap)) / 2)) !important;
	margin-right: auto !important;
}
.cj-content .wp-block-group.is-style-cj-cta.is-layout-constrained > p { margin-left: auto !important; }
.cj-content .wp-block-columns p,
.cj-content .wp-block-columns .wp-block-list { max-width: none; }
.cj-eyebrow,
.is-style-cj-eyebrow {
	display: flex; align-items: center; gap: 8px;
	font-size: var(--cj-fs-xs) !important; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--cj-azure-text); margin: 0 0 12px;
}
.cj-eyebrow::before,
.is-style-cj-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.is-style-cj-lead { font-size: var(--cj-fs-lg); color: var(--cj-text); }
.is-style-cj-note { font-size: var(--cj-fs-sm); color: var(--cj-muted); background: var(--cj-grey-blue-20); border-left: 3px solid var(--cj-azure); padding: 14px 18px; border-radius: 0 var(--cj-r-sm) var(--cj-r-sm) 0; }
.wp-block-group.is-style-cj-cta .is-style-cj-eyebrow { justify-content: center; }

/* ---------- Hero ---------- */
.cj-hero { background: linear-gradient(180deg, var(--cj-pale-20) 0%, #fff 100%); }
.cj-hero__inner { max-width: calc(var(--cj-wrap) + 2 * var(--cj-gutter)); margin: 0 auto; padding: clamp(24px, 4vw, 56px) var(--cj-gutter) clamp(40px, 6vw, 80px); display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: center; }
.cj-hero--split .cj-hero__inner,
.cj-hero--home .cj-hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
.cj-hero--plain { background: var(--cj-pale-20); }
.cj-hero--plain .cj-hero__inner { padding-bottom: clamp(32px, 5vw, 64px); }
.cj-hero__title { font-size: var(--cj-fs-h1); margin-bottom: 0.4em; }
.cj-hero__perex { font-size: var(--cj-fs-lg); max-width: 620px; color: var(--cj-text); }
.cj-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* Hero buttons a bit bigger than the rest (Marek 30. 10.). */
.cj-hero__actions .cj-btn { min-height: 56px; padding: 14px 32px; font-size: var(--cj-fs-md); border-radius: 28px 8px 28px 28px; }
.cj-hero__media { margin: 0; position: relative; }
.cj-hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--cj-r-lg); }
.cj-hero--split .cj-hero__media,
.cj-hero--home .cj-hero__media { isolation: isolate; max-width: 520px; justify-self: end; width: 100%; }
.cj-hero--wide .cj-hero__media img { aspect-ratio: 21 / 9; }
.cj-hero--home { background: radial-gradient(1200px 500px at 85% 10%, var(--cj-pale) 0%, rgba(196, 237, 249, 0) 60%), linear-gradient(180deg, var(--cj-pale-20) 0%, #fff 100%); }
.cj-hero--home .cj-hero__seo { margin-bottom: 18px; font-size: var(--cj-fs-xs); }
.cj-hero__claim { font-size: var(--cj-fs-claim); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; color: var(--cj-navy); margin: 0 0 22px; text-wrap: balance; }
.cj-trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--cj-fs-sm); font-weight: 600; color: var(--cj-muted); }
.cj-trust li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--cj-pale); color: var(--cj-navy); }
.cj-trust .cj-icon--pin { color: var(--cj-azure-text); }
.cj-trust .cj-icon--star { color: #F5A524; }
.cj-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; }
.cj-facts__item { background: #fff; border: 1px solid var(--cj-line); border-radius: var(--cj-r-md); padding: 10px 16px; min-width: 130px; }
.cj-facts dt { font-size: var(--cj-fs-xs); color: var(--cj-muted); font-weight: 600; }
.cj-facts dd { margin: 0; font-weight: 800; color: var(--cj-navy); font-size: var(--cj-fs-lg); line-height: 1.3; }
.cj-facts__item:first-child { background: var(--cj-navy); border-color: var(--cj-navy); }
.cj-facts__item:first-child dt { color: var(--cj-pale); }
.cj-facts__item:first-child dd { color: #fff; }
@media (max-width: 900px) {
	.cj-hero--split .cj-hero__inner,
	.cj-hero--home .cj-hero__inner { grid-template-columns: minmax(0, 1fr); }
	.cj-hero--split .cj-hero__media,
	.cj-hero--home .cj-hero__media { justify-self: stretch; max-width: none; }
	.cj-hero__media img { aspect-ratio: 4 / 4.2; }
	.cj-hero__actions .cj-btn { flex: 1 1 auto; }
	/* Mobile: photo right under the headline, before the perex (Marek 6. 11.). The text column dissolves so its children can be reordered. */
	.cj-hero__inner:has(> .cj-hero__media) { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
	.cj-hero__inner:has(> .cj-hero__media) > .cj-hero__text { display: contents; }
	.cj-hero__inner:has(> .cj-hero__media) > .cj-hero__text > * { order: 3; }
	.cj-hero__inner:has(> .cj-hero__media) > .cj-hero__text > :is(.cj-crumbs, .cj-eyebrow, .cj-hero__seo) { order: 1; }
	/* 6. 11. (Marek): photo between the keyword line and the headline, 40 % lower than before (cut 20 % top and bottom). */
	.cj-hero__inner:has(> .cj-hero__media) > .cj-hero__text > :is(.cj-hero__title, .cj-hero__claim) { order: 2; }
	.cj-hero__inner > .cj-hero__media { order: 1; }
	.cj-hero__inner > .cj-hero__media { margin: 4px 0 22px; }
	.cj-hero .cj-hero__inner > .cj-hero__media img { aspect-ratio: 8 / 5; }
}

/* Breadcrumbs */
.cj-crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: var(--cj-fs-xs); color: var(--cj-muted); }
.cj-crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; color: var(--cj-azure); }
.cj-crumbs a { color: var(--cj-muted); text-decoration: none; }
.cj-crumbs a:hover { color: var(--cj-navy); text-decoration: underline; }

/* ---------- Columns: cards, tiles, steps, people ---------- */
.wp-block-columns { gap: clamp(16px, 2.4vw, 28px); margin: 2em 0 0; }
.wp-block-columns.is-style-cj-cards,
.wp-block-columns.is-style-cj-tiles,
.wp-block-columns.is-style-cj-people { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.wp-block-columns.is-style-cj-tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.wp-block-columns.is-style-cj-steps { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.wp-block-columns.is-style-cj-steps > .wp-block-column { margin: 0 !important; }
.wp-block-columns.is-style-cj-people { grid-template-columns: repeat(auto-fill, minmax(min(46%, 160px), 1fr)); }
.wp-block-columns.is-style-cj-cards > .wp-block-column,
.wp-block-columns.is-style-cj-tiles > .wp-block-column { margin: 0 !important; flex-basis: auto !important; }
.is-style-cj-cards > .wp-block-column {
	position: relative; background: #fff; border: 1px solid var(--cj-line); border-radius: var(--cj-r-md);
	padding: 20px 22px; display: flex; flex-direction: column;
	transition: border-color 0.18s, transform 0.18s var(--cj-ease), box-shadow 0.18s;
}
/* Cards on a white section get the pale hero blue, so they stand out from the page. */
.is-style-cj-section .is-style-cj-cards > .wp-block-column { background: var(--cj-pale-20); border-color: transparent; }
.is-style-cj-tinted .is-style-cj-cards > .wp-block-column { border-color: transparent; }
.is-style-cj-cards > .wp-block-column > :last-child { margin-bottom: 0; }
.is-style-cj-cards > .wp-block-column:has(> .is-style-cj-review) { padding: 0; border: 0; background: none; }
.is-style-cj-cards h3 { margin-bottom: 0.25em; }
.is-style-cj-cards .cj-card-meta { margin-bottom: 4px; }
.is-style-cj-cards h3 a,
.is-style-cj-tiles h3 a { color: inherit; text-decoration: none; }
.cj-link-card:hover { border-color: var(--cj-azure) !important; transform: translateY(-3px); box-shadow: var(--cj-shadow); }
.cj-link-card h3::after { content: " →"; color: var(--cj-azure); transition: margin 0.18s; }
.cj-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.is-style-cj-cards .wp-block-image,
.is-style-cj-tiles .wp-block-image { margin: -20px -22px 16px; }
.is-style-cj-cards .wp-block-image img,
.is-style-cj-tiles .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--cj-r-md) var(--cj-r-md) 0 0; }
.cj-card-price { margin-top: auto !important; padding-top: 8px; font-weight: 800; color: var(--cj-navy); font-size: var(--cj-fs-lg); }
.cj-card-price span { font-weight: 600; color: var(--cj-muted); font-size: var(--cj-fs-sm); }
.cj-card-meta { font-size: var(--cj-fs-sm); color: var(--cj-muted); }

/* Big path tiles (homepage: two products). */
.is-style-cj-tiles > .wp-block-column {
	position: relative; overflow: hidden; border-radius: var(--cj-r-lg); background: var(--cj-navy); color: #E6F2FB;
	padding: 0 !important; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end;
	transition: transform 0.2s var(--cj-ease), box-shadow 0.2s;
}
.is-style-cj-tiles > .wp-block-column:hover { transform: translateY(-3px); box-shadow: var(--cj-shadow); }
.is-style-cj-tiles .wp-block-image { position: absolute; inset: 0; margin: 0; }
.is-style-cj-tiles .wp-block-image img { height: 100%; aspect-ratio: auto; border-radius: 0; transition: transform 0.5s var(--cj-ease); }
.is-style-cj-tiles > .wp-block-column:hover .wp-block-image img { transform: scale(1.04); }
.is-style-cj-tiles > .wp-block-column::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(220, 243, 251, 0) 28%, rgba(220, 243, 251, 0.94) 50%, #DCF3FB 60%); }
/* Soft blur under the text that fades out upwards, so the copy reads on any photo. */
.is-style-cj-tiles > .wp-block-column::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 75%; z-index: 0; pointer-events: none;
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	mask-image: linear-gradient(to top, #000 55%, transparent); -webkit-mask-image: linear-gradient(to top, #000 55%, transparent);
}
.is-style-cj-tiles > .wp-block-column > :not(.wp-block-image) { position: relative; z-index: 1; margin-left: 28px; margin-right: 28px; }
.is-style-cj-tiles > .wp-block-column > :last-child { margin-bottom: 28px; }
.is-style-cj-tiles > .wp-block-column { color: var(--cj-text); }
.is-style-cj-tiles h3 { color: var(--cj-navy); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
.is-style-cj-tiles .is-style-cj-eyebrow { color: var(--cj-azure-text); margin-bottom: 4px; }
.is-style-cj-tiles h3 { margin-top: 0; margin-bottom: 0.3em; }
.is-style-cj-tiles .cj-link-card h3::after,
.is-style-cj-tiles h3::after { color: var(--cj-azure); }

/* Steps */
/* Steps: the number sits on the bottom edge of the photo, centred, and overlaps it. */
.wp-block-columns.is-style-cj-steps { counter-reset: cj-step; }
.is-style-cj-steps > .wp-block-column { counter-increment: cj-step; position: relative; text-align: center; }
.is-style-cj-steps .wp-block-image { position: relative; margin-bottom: 36px; }
.is-style-cj-steps .wp-block-image::after {
	content: counter(cj-step); position: absolute; left: 50%; bottom: -25px; transform: translateX(-50%);
	width: 50px; height: 50px; border-radius: 50%; border: 4px solid #fff;
	display: grid; place-items: center; font-weight: 800; font-size: 1.125rem; color: #fff; background: var(--cj-azure);
}
.is-style-cj-steps .wp-block-image img { border-radius: var(--cj-r-md); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.is-style-cj-steps h3 { margin: 0 0 0.25em; }

/* People */
.is-style-cj-people > .wp-block-column { margin: 0 !important; }
.is-style-cj-people .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--cj-r-md); }
.is-style-cj-people h3 { margin: 12px 0 0; font-size: var(--cj-fs-lg); }
.is-style-cj-people h3 + p { font-size: var(--cj-fs-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cj-azure-text); margin: 0 0 4px; line-height: 1.4; }
.is-style-cj-navy .is-style-cj-people h3 + p { color: var(--cj-pale); }
.is-style-cj-people p { font-size: var(--cj-fs-md); line-height: 1.65; } /* same as card text across the site (Marek 30. 10.) */

/* Lists */
.wp-block-list.is-style-cj-checks { list-style: none; padding: 0; }
.is-style-cj-checks li { position: relative; padding-left: 34px; margin: 0 0 10px; }
.is-style-cj-checks li::before {
	content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%;
	background: var(--cj-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004F9F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.is-style-cj-navy .is-style-cj-checks li::before { background-color: rgba(255, 255, 255, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* ---------- Tables (price list) ---------- */
.wp-block-table { margin: 1.5em 0 0; overflow-x: auto; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: var(--cj-fs-sm); }
.wp-block-table th, .wp-block-table td { border: 0; border-bottom: 1px solid var(--cj-line); padding: 14px 12px; text-align: left; vertical-align: top; }
.wp-block-table thead th { font-size: var(--cj-fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--cj-muted); border-bottom: 2px solid var(--cj-navy); }
.wp-block-table.is-style-cj-pricelist { background: #fff; border-radius: var(--cj-r-md); border: 1px solid var(--cj-line); }
.wp-block-table.is-style-cj-pricelist td:last-child,
.wp-block-table.is-style-cj-pricelist th:last-child { text-align: right; white-space: nowrap; font-weight: 800; color: var(--cj-navy); }
.wp-block-table.is-style-cj-pricelist thead th:last-child { color: var(--cj-muted); }
.wp-block-table.is-style-cj-pricelist td:first-child strong { display: block; }
.wp-block-table figcaption { font-size: var(--cj-fs-xs); color: var(--cj-muted); margin-top: 8px; }

/* ---------- FAQ (core/details) ---------- */
.wp-block-details { border-bottom: 1px solid var(--cj-line); padding: 0; margin: 0; max-width: 860px; }
.wp-block-details:first-of-type { border-top: 1px solid var(--cj-line); }
.wp-block-details summary {
	list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
	font-weight: 700; color: var(--cj-ink); font-size: var(--cj-fs-lg);
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: ""; position: absolute; right: 4px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
	background: var(--cj-pale-20) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004F9F' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
	transition: transform 0.2s var(--cj-ease);
}
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details summary:hover { color: var(--cj-navy); }
.wp-block-details > :not(summary) { padding-right: 44px; color: var(--cj-text); }
.wp-block-details[open] > :last-child { padding-bottom: 12px; }
.is-style-cj-navy .wp-block-details { border-color: rgba(255, 255, 255, 0.2); }
.is-style-cj-navy .wp-block-details summary { color: #fff; }

/* ---------- Reviews ---------- */
.wp-block-quote.is-style-cj-review {
	margin: 0; border: 0; background: #fff; border-radius: var(--cj-r-md); padding: 28px; position: relative; height: 100%;
	border: 1px solid var(--cj-line);
}
.wp-block-quote.is-style-cj-review::before { content: "★★★★★"; display: block; color: #F5A524; letter-spacing: 3px; margin-bottom: 12px; font-size: 18px; }
.wp-block-quote.is-style-cj-review p { font-size: var(--cj-fs-md); color: var(--cj-ink); }
.wp-block-quote.is-style-cj-review cite { font-style: normal; font-weight: 700; color: var(--cj-navy); font-size: var(--cj-fs-sm); }
.is-style-cj-tinted .wp-block-quote.is-style-cj-review { border-color: transparent; }

/* Images */
.wp-block-image.is-style-cj-photo img { border-radius: var(--cj-r-lg); }
.wp-block-columns:not([class*="is-style-cj-"]) { align-items: center; }
.wp-block-columns:not([class*="is-style-cj-"]) .wp-block-image.is-style-cj-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.cj-content h2 + .wp-block-details,
.cj-content p + .wp-block-details { margin-top: 24px; }
.wp-block-image { margin: 0 0 1em; }
.wp-block-image figcaption { font-size: var(--cj-fs-xs); color: var(--cj-muted); text-align: left; margin-top: 8px; }
.wp-block-media-text { gap: clamp(24px, 4vw, 56px); }
.wp-block-media-text .wp-block-media-text__media img { border-radius: var(--cj-r-lg); aspect-ratio: 4 / 3.4; object-fit: cover; }
.wp-block-media-text__content { padding: 0 !important; }
@media (max-width: 781px) {
	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content { padding-top: 24px !important; }
}

/* Stat numbers */
.cj-stats { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.cj-stats .wp-block-column { margin: 0 !important; }
.cj-stats p:first-child { font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); font-weight: 800; color: var(--cj-navy); line-height: 1; margin-bottom: 8px; }
.is-style-cj-navy .cj-stats p:first-child { color: #fff; }

/* Person card (contact block) */
.cj-person-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: center; background: #fff; border: 1px solid var(--cj-line); border-radius: var(--cj-r-md); padding: 20px; max-width: 720px; }
.cj-person-card__photo img { border-radius: var(--cj-r-md); width: 180px; aspect-ratio: 4 / 5; object-fit: cover; }
.cj-person-card__name { font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); font-weight: 800; color: var(--cj-navy); margin: 0 0 6px; line-height: 1.1; }
.cj-person-card__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; }
.cj-person-card__links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
@media (max-width: 560px) {
	.cj-person-card { grid-template-columns: 1fr; }
	.cj-person-card__photo img { width: 100%; max-width: 280px; }
}

/* ---------- Blog ---------- */
.cj-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.cj-chips a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--cj-line); text-decoration: none; font-weight: 600; font-size: var(--cj-fs-sm); color: var(--cj-ink); }
.cj-chips a:hover, .cj-chips a[aria-current] { background: var(--cj-navy); border-color: var(--cj-navy); color: #fff; }
.cj-posts { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.cj-post-card { position: relative; border: 1px solid var(--cj-line); border-radius: var(--cj-r-md); overflow: hidden; background: #fff; transition: transform 0.18s var(--cj-ease), box-shadow 0.18s, border-color 0.18s; }
.cj-post-card:hover { transform: translateY(-3px); box-shadow: var(--cj-shadow); border-color: var(--cj-azure); }
.cj-post-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cj-post-card__body { padding: 20px 22px 24px; }
.cj-post-card__meta { font-size: var(--cj-fs-xs); color: var(--cj-muted); margin: 0 0 6px; }
.cj-post-card__title { font-size: var(--cj-fs-h3); margin-bottom: 8px; }
.cj-post-card__title a { color: var(--cj-navy); text-decoration: none; }
.cj-article__img img { border-radius: var(--cj-r-lg); margin: 32px 0 28px; width: 100%; }
.cj-article__cta { margin-top: 48px; padding: 28px; background: var(--cj-pale-20); border-radius: var(--cj-r-md); }
.cj-article__cta-title { font-size: var(--cj-fs-h3); font-weight: 800; color: var(--cj-navy); margin-bottom: 6px; }
.cj-article__cta .cj-btn { margin: 8px 10px 0 0; }
.nav-links { display: flex; gap: 8px; margin-top: 32px; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--cj-line); border-radius: var(--cj-r-sm); text-decoration: none; }
.nav-links .current { background: var(--cj-navy); color: #fff; border-color: var(--cj-navy); }

/* ---------- Forms (cj-sprava plugin renders the markup) ---------- */
.cj-form { display: grid; gap: 16px; max-width: 760px; background: #fff; border: 1px solid var(--cj-line); border-radius: var(--cj-r-md); padding: clamp(20px, 3vw, 36px); }
.cj-form__row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.cj-form label { display: block; font-weight: 700; font-size: var(--cj-fs-sm); color: var(--cj-ink); margin-bottom: 6px; }
.cj-form .cj-form__opt { font-weight: 500; color: var(--cj-muted); }
.cj-form input[type="text"], .cj-form input[type="email"], .cj-form input[type="tel"], .cj-form input[type="number"], .cj-form select, .cj-form textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--cj-ink); background: #fff;
	border: 1.5px solid var(--cj-grey-blue); border-radius: var(--cj-r-sm); padding: 12px 14px; min-height: 48px;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.cj-form textarea { min-height: 120px; resize: vertical; }
.cj-form input:focus, .cj-form select:focus, .cj-form textarea:focus { outline: none; border-color: var(--cj-azure); box-shadow: 0 0 0 3px rgba(0, 159, 227, 0.2); }
.cj-form__check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
.cj-form__check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--cj-navy); flex: 0 0 auto; }
.cj-form__hint { font-size: var(--cj-fs-xs); color: var(--cj-muted); margin: 0; }
.cj-form__hp { position: absolute !important; left: -9999px !important; }
.cj-form .cj-btn { justify-self: start; }
.cj-form__msg { padding: 14px 18px; border-radius: var(--cj-r-sm); font-weight: 600; }
.cj-form__msg--ok { background: #E8F6EE; color: var(--cj-success); }
.cj-form__msg--err { background: #FDECEC; color: #A61B1B; }
.cj-form fieldset { border: 0; padding: 0; margin: 0; }
.cj-form legend { font-weight: 800; color: var(--cj-navy); margin-bottom: 8px; }
.cj-choice { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.cj-choice label { display: flex; gap: 10px; align-items: center; border: 1.5px solid var(--cj-grey-blue); border-radius: var(--cj-r-sm); padding: 12px 14px; font-weight: 600; margin: 0; cursor: pointer; }
.cj-choice input { accent-color: var(--cj-navy); width: 18px; height: 18px; }
.cj-choice label:has(input:checked) { border-color: var(--cj-navy); background: var(--cj-pale-20); }

/* ---------- Footer ---------- */
.cj-footer { background: var(--cj-navy-deep); color: #C9DBEE; font-size: 1rem; line-height: 1.6; } /* bigger footer text (Marek 30. 10.) */
.cj-footer a { color: #fff; text-decoration: none; }
.cj-footer a:hover { color: var(--cj-pale); text-decoration: underline; }
.cj-footer__inner { max-width: calc(var(--cj-wrap) + 2 * var(--cj-gutter)); margin: 0 auto; padding: 64px var(--cj-gutter) 40px; display: grid; gap: 36px; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; }
.cj-footer__brand img { width: 180px; margin-bottom: 16px; }
.cj-footer__title { color: #fff; font-weight: 800; font-size: var(--cj-fs-sm); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.cj-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cj-footer__col p { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; }
.cj-footer__col p a { display: inline-flex; gap: 8px; align-items: flex-start; }
.cj-footer__col .cj-icon { flex: 0 0 auto; margin-top: 3px; color: var(--cj-azure); }
.cj-footer__small { display: block !important; color: #AFC5DD; }
.cj-footer__social a { display: inline-flex; gap: 8px; align-items: center; }
.cj-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); max-width: calc(var(--cj-wrap) + 2 * var(--cj-gutter)); margin: 0 auto; padding: 20px var(--cj-gutter) 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #8FA9C6; }
.cj-footer__bottom p { margin: 0; }
.cj-footer__bottom { font-size: var(--cj-fs-sm); }
.cj-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 900px) { .cj-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cj-footer__inner { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
.cj-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--cj-ease), transform 0.6s var(--cj-ease); }
.cj-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.cj-reveal { opacity: 1; transform: none; }
}

/* First section right under the hero: the hero already has bottom padding. */
.cj-content > .wp-block-group:first-child:not(.is-style-cj-tinted) { padding-top: clamp(16px, 2.5vw, 32px); }

/* ---------- Icon cards (Proč k nám) ---------- */
[class*="cj-ico-"]::before {
	content: ""; display: block; width: 52px; height: 52px; margin-bottom: 16px; border-radius: var(--cj-r-md);
	background: var(--cj-pale) center / 26px no-repeat;
}
.cj-ico-car::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004F9F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Cpath d='M9 17h6'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3C/svg%3E"); }
.cj-ico-price::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004F9F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.6 2.6A2 2 0 0 0 11.2 2H4a2 2 0 0 0-2 2v7.2a2 2 0 0 0 .6 1.4l8.7 8.7a2.4 2.4 0 0 0 3.4 0l6.6-6.6a2.4 2.4 0 0 0 0-3.4z'/%3E%3Ccircle cx='7.5' cy='7.5' r='.5' fill='%23004F9F'/%3E%3C/svg%3E"); }
.cj-ico-tempo::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004F9F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 14 4-4'/%3E%3Cpath d='M3.34 19a10 10 0 1 1 17.32 0'/%3E%3C/svg%3E"); }
.cj-ico-lang::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004F9F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 9a2 2 0 0 1-2 2H6l-4 4V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z'/%3E%3Cpath d='M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1'/%3E%3C/svg%3E"); }
.cj-ico-calendar::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004F9F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01'/%3E%3C/svg%3E"); }
.cj-ico-people::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004F9F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E"); }

/* ---------- People slider (homepage lektoři) ---------- */
/* --cj-sb = classic scrollbar width, set in main.js, so the full-bleed slider is not wider than the page. */
.cj-slider-wrap { position: relative; margin: 2em 0 0; width: calc(100vw - var(--cj-sb)); max-width: none !important; margin-left: calc(50% - 50vw + var(--cj-sb) / 2) !important; }
.cj-slider-viewport {
	overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
	mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.cj-slider-viewport::-webkit-scrollbar { display: none; }
.cj-slider-wrap .wp-block-columns.cj-slider { display: flex !important; flex-wrap: nowrap !important; width: max-content; max-width: none !important; margin: 0 !important; padding: 0 var(--cj-gutter); gap: clamp(16px, 2vw, 24px); }
.cj-slider-wrap .cj-slider > .wp-block-column { flex: 0 0 clamp(230px, 24vw, 300px) !important; margin: 0 !important; }
.cj-slider__arrow {
	position: absolute; top: calc(clamp(230px, 24vw, 300px) * 0.625); z-index: 2; transform: translateY(-50%);
	width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
	background: #fff; color: var(--cj-navy); box-shadow: var(--cj-shadow); transition: transform 0.18s var(--cj-ease);
}
.cj-slider__arrow:hover { transform: translateY(-50%) scale(1.06); }
.cj-slider__arrow--prev { left: max(12px, calc(50vw - var(--cj-sb) / 2 - var(--cj-wrap) / 2 - 24px)); }
.cj-slider__arrow--next { right: max(12px, calc(50vw - var(--cj-sb) / 2 - var(--cj-wrap) / 2 - 24px)); }
@media (max-width: 640px) { .cj-slider__arrow { display: none; } }

/* ---------- Review sources (Google, Firmy.cz) ---------- */
.cj-content .cj-review-sources { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; max-width: none; margin-left: auto !important; margin-right: auto !important; }
.cj-review-sources a {
	display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px;
	background: #fff; color: var(--cj-ink); font-weight: 700; font-size: var(--cj-fs-sm); text-decoration: none;
	transition: transform 0.18s var(--cj-ease), box-shadow 0.18s;
}
.cj-review-sources a:hover { transform: translateY(-2px); box-shadow: var(--cj-shadow); color: var(--cj-navy); }
.cj-review-sources img { width: 22px; height: 22px; }

/* ---------- Map ---------- */
.cj-map { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); margin: 2em 0 0; align-items: stretch; }
.cj-map__canvas { min-height: 420px; border-radius: var(--cj-r-lg); overflow: hidden; background: var(--cj-grey-blue-20); z-index: 0; }
.cj-map__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.cj-map__list li { display: flex; gap: 14px; align-items: flex-start; background: var(--cj-pale-20); border-radius: var(--cj-r-md); padding: 14px 16px; cursor: pointer; transition: background 0.15s; }
.cj-map__list li:hover { background: var(--cj-pale); }
.cj-map__dot { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 0.8rem; margin-top: 2px; }
.cj-map__name { display: block; font-weight: 800; color: var(--cj-navy); line-height: 1.3; }
.cj-map__note { display: block; font-size: var(--cj-fs-sm); color: var(--cj-muted); line-height: 1.45; }
.cj-map-pin { background: none; border: 0; }
.cj-map-pin span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0, 43, 88, 0.3); }
.cj-map-pin b { transform: rotate(45deg); color: #fff; font-size: 0.8rem; }
.leaflet-popup-content { font: 600 14px/1.4 var(--cj-font); color: var(--cj-ink); }
@media (max-width: 900px) { .cj-map { grid-template-columns: 1fr; } .cj-map__canvas { min-height: 320px; } }

/* Card-like columns: WP flow layout adds a 24px gap above every child; spacing is set here instead. */
.wp-block-columns[class*="is-style-cj-"] > .wp-block-column > :not(.wp-block-image) { margin-block-start: 0; }
.is-style-cj-cards > .wp-block-column > p:not(:last-child) { margin-bottom: 0.6em; }
.is-style-cj-steps > .wp-block-column > p { margin-bottom: 0; }
.is-style-cj-people > .wp-block-column > p:last-child { margin-bottom: 0; }

/* Lead text on the navy band. */
.wp-block-group.is-style-cj-navy .is-style-cj-lead { color: #E6F2FB; }

/* Card label (Skupina B, 140 hodin…) sits on the photo, top left, as a small navy tag. */
.is-style-cj-cards .wp-block-image + .cj-card-meta {
	position: absolute; top: 14px; left: 14px; z-index: 2; pointer-events: none; margin: 0;
	padding: 5px 12px; border-radius: 999px; background: var(--cj-navy); color: #fff;
	font-size: var(--cj-fs-xs); font-weight: 700; line-height: 1.3;
}

/* ---------- Reviews slider ---------- */
.cj-slider-wrap .cj-reviews > .wp-block-column { flex-basis: clamp(280px, 30vw, 370px) !important; }
/* Review cards are mostly text: arrows go under the cards, not over them. */
.cj-slider-wrap--reviews { padding-bottom: 68px; }
.cj-slider-wrap--reviews .cj-slider__arrow { top: auto; bottom: 0; transform: none; background: var(--cj-navy); color: #fff; }
.cj-slider-wrap--reviews .cj-slider__arrow:hover { transform: scale(1.06); }
.cj-slider-wrap--reviews .cj-slider__arrow--prev { left: calc(50% - 56px); }
.cj-slider-wrap--reviews .cj-slider__arrow--next { right: calc(50% - 56px); }
@media (max-width: 640px) { .cj-slider-wrap--reviews .cj-slider__arrow { display: grid; } }
.cj-reviews > .wp-block-column { padding: 24px !important; background: #fff !important; }
.cj-review { margin: 0; display: flex; flex-direction: column; height: 100%; }
.cj-review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cj-review__photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.cj-review__photo--letter { display: grid; place-items: center; background: var(--cj-pale); color: var(--cj-navy); font-weight: 800; }
.cj-review__head figcaption { flex: 1; min-width: 0; line-height: 1.3; }
.cj-review__name { display: block; font-weight: 800; color: var(--cj-ink); }
.cj-review__meta { display: block; font-size: var(--cj-fs-xs); color: var(--cj-muted); }
.cj-review__source { width: 20px; height: 20px; flex: 0 0 auto; }
.cj-content .cj-review__stars { color: #F5A524; letter-spacing: 2px; margin: 0 0 8px; font-size: 17px; }
.cj-review__text { margin: 0 0 12px; padding: 0; border: 0; }
.cj-review__text p { margin: 0; font-size: var(--cj-fs-sm); color: var(--cj-ink); line-height: 1.6; }
.cj-review__link { margin-top: auto; font-size: var(--cj-fs-xs); font-weight: 700; text-decoration: none; position: relative; z-index: 2; }

/* ---------- Fleet slider (Naše auta) ---------- */
.cj-fleet { position: relative; margin-top: 2em; }
.cj-fleet__viewport { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.cj-fleet__viewport::-webkit-scrollbar { display: none; }
.cj-fleet .cj-fleet__slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0 !important; align-items: center; }
.cj-fleet__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
.cj-fleet__nav button.cj-fleet__arrow { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cj-navy); color: #fff; display: grid; place-items: center; cursor: pointer; }
.cj-fleet__nav button.cj-fleet__arrow:hover { background: var(--cj-navy-dark); }
.cj-fleet__dots { display: flex; gap: 8px; }
.cj-fleet__dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: var(--cj-grey-blue); cursor: pointer; transition: width 0.2s, background 0.2s; }
.cj-fleet__dots button[aria-current="true"] { width: 28px; background: var(--cj-navy); }

/* Tiles: layer order photo → blur → light blue fade → text. */
.is-style-cj-tiles .wp-block-image { z-index: 0; }
.is-style-cj-tiles > .wp-block-column::after { z-index: 1; }
.is-style-cj-tiles > .wp-block-column::before { z-index: 2; }
.is-style-cj-tiles > .wp-block-column > :not(.wp-block-image) { z-index: 3; }

/* Tiles: the light panel is only as tall as the text, the photo stays visible above it. */
.is-style-cj-tiles > .wp-block-column::before { background: linear-gradient(to top, #DCF3FB 0, #DCF3FB 150px, rgba(220, 243, 251, 0.9) 175px, rgba(220, 243, 251, 0) 240px); }
.is-style-cj-tiles > .wp-block-column::after { height: 240px; mask-image: linear-gradient(to top, #000 150px, transparent); -webkit-mask-image: linear-gradient(to top, #000 150px, transparent); }
@media (max-width: 600px) {
	.is-style-cj-tiles > .wp-block-column::before { background: linear-gradient(to top, #DCF3FB 0, #DCF3FB 205px, rgba(220, 243, 251, 0.9) 230px, rgba(220, 243, 251, 0) 290px); }
	.is-style-cj-tiles > .wp-block-column::after { height: 290px; mask-image: linear-gradient(to top, #000 205px, transparent); -webkit-mask-image: linear-gradient(to top, #000 205px, transparent); }
}
@media (max-width: 600px) { .is-style-cj-tiles > .wp-block-column { min-height: 500px; } .is-style-cj-tiles .wp-block-image img { object-position: center 30%; } }

/* Tiles: the light panel lets the photo show through a little. */
.is-style-cj-tiles > .wp-block-column::before { background: linear-gradient(to top, rgba(220, 243, 251, 0.86) 0, rgba(220, 243, 251, 0.82) 150px, rgba(220, 243, 251, 0.6) 180px, rgba(220, 243, 251, 0) 240px); }
@media (max-width: 600px) {
	.is-style-cj-tiles > .wp-block-column::before { background: linear-gradient(to top, rgba(220, 243, 251, 0.86) 0, rgba(220, 243, 251, 0.82) 205px, rgba(220, 243, 251, 0.6) 235px, rgba(220, 243, 251, 0) 290px); }
}

/* Homepage: section headings and their intro text centred on every screen size. */
.home .cj-content > .wp-block-group > h2,
.home .cj-content > .wp-block-group > h2 + .is-style-cj-lead,
.cj-content--centred > .wp-block-group > h2,
.cj-content--centred > .wp-block-group > h2 + .is-style-cj-lead { text-align: center; margin-left: auto !important; margin-right: auto !important; }
.home .cj-content > .wp-block-group > .wp-block-details,
.cj-content--centred > .wp-block-group > .wp-block-details { margin-left: auto !important; margin-right: auto !important; }

/* Tiles: photo ends above the text (car and person stay visible); panel fades from almost solid at the bottom to clear at the top. */
.is-style-cj-tiles .wp-block-image { inset: 0 0 110px 0; }
.is-style-cj-tiles .wp-block-image img { object-position: center 65%; }
.is-style-cj-tiles > .wp-block-column { background: #DCF3FB; }
.is-style-cj-tiles > .wp-block-column::before { background: linear-gradient(to top, rgba(220, 243, 251, 0.97) 0, rgba(220, 243, 251, 0.88) 110px, rgba(220, 243, 251, 0.6) 165px, rgba(220, 243, 251, 0.25) 215px, rgba(220, 243, 251, 0) 260px); }
.is-style-cj-tiles > .wp-block-column::after { height: 220px; mask-image: linear-gradient(to top, #000 110px, transparent); -webkit-mask-image: linear-gradient(to top, #000 110px, transparent); }
@media (max-width: 600px) {
	.is-style-cj-tiles .wp-block-image { inset: 0 0 160px 0; }
	.is-style-cj-tiles > .wp-block-column::before { background: linear-gradient(to top, rgba(220, 243, 251, 0.97) 0, rgba(220, 243, 251, 0.88) 160px, rgba(220, 243, 251, 0.6) 215px, rgba(220, 243, 251, 0.25) 260px, rgba(220, 243, 251, 0) 300px); }
	.is-style-cj-tiles > .wp-block-column::after { height: 270px; mask-image: linear-gradient(to top, #000 160px, transparent); -webkit-mask-image: linear-gradient(to top, #000 160px, transparent); }
}
.is-style-cj-tiles > .wp-block-column:nth-child(2) .wp-block-image img { object-position: center 60%; }
/* 30. 10.: tiles without descriptions are lower; photo runs under the text, lighter and shorter blue fade (Marek). */
.is-style-cj-tiles > .wp-block-column { min-height: 460px; }
.is-style-cj-tiles .wp-block-image { inset: 0; }
.is-style-cj-tiles .wp-block-image img { object-position: center 60%; }
.is-style-cj-tiles > .wp-block-column::before { background: linear-gradient(to top, rgba(220, 243, 251, 0.82) 0, rgba(220, 243, 251, 0.7) 90px, rgba(220, 243, 251, 0.3) 150px, rgba(220, 243, 251, 0) 200px); }
.is-style-cj-tiles > .wp-block-column::after { height: 160px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); mask-image: linear-gradient(to top, #000 90px, transparent); -webkit-mask-image: linear-gradient(to top, #000 90px, transparent); }
@media (max-width: 600px) {
	.is-style-cj-tiles > .wp-block-column { min-height: 380px; }
	.is-style-cj-tiles .wp-block-image { inset: 0; }
	.is-style-cj-tiles > .wp-block-column::before { background: linear-gradient(to top, rgba(220, 243, 251, 0.85) 0, rgba(220, 243, 251, 0.72) 100px, rgba(220, 243, 251, 0.3) 160px, rgba(220, 243, 251, 0) 210px); }
	.is-style-cj-tiles > .wp-block-column::after { height: 170px; mask-image: linear-gradient(to top, #000 100px, transparent); -webkit-mask-image: linear-gradient(to top, #000 100px, transparent); }
}

/* ---------- 27. 10., 3rd round ---------- */
/* Hero claim a bit smaller and tighter. */
.cj-hero__claim { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.875rem); line-height: 0.98; }
/* Buttons under homepage sections centred. */
.home .cj-content > .wp-block-group > .wp-block-buttons,
.cj-content--centred > .wp-block-group > .wp-block-buttons { justify-content: center; }
/* Closing call to action: more room for the team photo. */
.wp-block-group.is-style-cj-cta {
	padding-top: clamp(96px, 13vw, 190px); padding-bottom: clamp(96px, 13vw, 190px);
	background:
		radial-gradient(ellipse 46% 58% at 50% 50%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0) 100%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(238, 249, 253, 0.62) 100%),
		url("../img/cta-tym.webp") center 55% / cover no-repeat;
}
/* 30. 10.: soft white glow behind the text (radial, fades out) on top of the linear veil (Marek). */
@media (max-width: 700px) {
	.wp-block-group.is-style-cj-cta {
		background:
			radial-gradient(ellipse 80% 55% at 50% 50%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%),
			linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(238, 249, 253, 0.62) 100%),
			url("../img/cta-tym.webp") center 55% / cover no-repeat;
	}
}
/* Fleet slide sits on its own light panel, different from the white section. */
.cj-fleet .cj-fleet__slide { background: var(--cj-pale-20); border-radius: var(--cj-r-lg); padding: clamp(16px, 2.6vw, 32px); gap: clamp(20px, 3vw, 40px); }
/* Footer opening hours: one icon, classic table. */
.cj-footer__hours { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; }
.cj-footer__hours .cj-icon { margin-top: 3px; color: var(--cj-azure); }
.cj-footer__hours dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 0; }
.cj-footer__hours dt { font-weight: 700; color: #fff; }
.cj-footer__hours dd { margin: 0; }
.cj-footer__social { display: flex; flex-direction: column; gap: 8px; }

/* ---------- Mega menu (desktop) ---------- */
.cj-mega__photo, .cj-mega__label, .cj-mega__meta, .cj-mega__intro-text, .cj-mega__intro-title { display: none; }
@media (min-width: 1081px) {
	.cj-nav__list > li.cj-mega { position: static; }
	.cj-nav .cj-mega > .sub-menu {
		left: 0; right: 0; top: 100%; min-width: 0; border: 0; border-top: 1px solid var(--cj-line);
		border-radius: 0 0 var(--cj-r-lg) var(--cj-r-lg); box-shadow: 0 24px 48px rgba(0, 43, 88, 0.14);
		padding: 28px max(var(--cj-gutter), calc((100% - var(--cj-wrap)) / 2)) 32px;
		display: grid; grid-template-columns: minmax(240px, 290px) repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; align-items: stretch;
	}
	/* Invisible bridge so the panel does not close while the mouse travels down from the menu item. */
	.cj-nav .cj-mega > .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px; }
	.cj-mega__photo, .cj-mega__label, .cj-mega__meta, .cj-mega__intro-text, .cj-mega__intro-title { display: block; }
	.cj-nav .cj-mega .sub-menu a.cj-mega__link,
	.cj-nav .cj-mega .sub-menu a.cj-mega__intro-link { padding: 0; height: 100%; background: none; border-radius: var(--cj-r-md); white-space: normal; }
	.cj-mega__intro-link { display: flex !important; flex-direction: column; gap: 10px; padding: 24px !important; background: var(--cj-pale-20) !important; }
	.cj-mega__intro-link:hover { background: var(--cj-pale) !important; }
	.cj-mega__intro-title { font-size: 1.5rem; font-weight: 800; color: var(--cj-navy); line-height: 1.15; letter-spacing: -0.01em; }
	.cj-mega__intro-text { font-weight: 500; color: var(--cj-text); line-height: 1.5; }
	.cj-mega__intro-more { margin-top: auto; color: var(--cj-azure-text); font-weight: 800; }
	.cj-mega__link { display: flex !important; flex-direction: column; color: var(--cj-ink) !important; }
	.cj-mega__photo { overflow: hidden; border-radius: var(--cj-r-md); aspect-ratio: 4 / 3; background: var(--cj-grey-blue-20); }
	.cj-mega__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--cj-ease); }
	.cj-mega__link:hover .cj-mega__img { transform: scale(1.05); }
	.cj-mega__body { display: block; padding: 10px 2px 0; }
	.cj-mega__label { font-size: var(--cj-fs-xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cj-azure-text); }
	.cj-mega__title { display: block; font-weight: 800; color: var(--cj-navy); line-height: 1.3; margin-top: 2px; }
	.cj-mega__link:hover .cj-mega__title { color: var(--cj-azure-text); }
	.cj-mega__meta { font-size: var(--cj-fs-sm); color: var(--cj-muted); font-weight: 600; margin-top: 2px; }
}

/* ---------- Floating "Ozveme se ti" button + popup ---------- */
.cj-quick-fab {
	position: fixed; right: 18px; bottom: 18px; z-index: 60;
	display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 12px;
	border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 800; font-size: var(--cj-fs-sm);
	background: var(--cj-navy); color: #fff; box-shadow: 0 10px 28px rgba(0, 43, 88, 0.32);
	transition: transform 0.2s var(--cj-ease), background 0.2s, opacity 0.2s;
}
.cj-quick-fab:hover { background: var(--cj-navy-dark); transform: translateY(-2px); }
.cj-quick-fab.is-hidden { opacity: 0; pointer-events: none; }
.cj-quick-fab__icon { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--cj-azure); }
/* Gentle ring every few seconds so the button keeps inviting, off for reduced motion. */
.cj-quick-fab__icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cj-azure); animation: cj-ring 3.2s var(--cj-ease) infinite; }
@keyframes cj-ring { 0%, 55% { transform: scale(1); opacity: 0; } 60% { opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }
@media (max-width: 600px) {
	.cj-quick-fab { right: 12px; bottom: 12px; padding: 8px 16px 8px 8px; }
	.cj-quick-fab__text { font-size: 0.875rem; }
}
.cj-quick { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.cj-quick[hidden] { display: none; }
.cj-quick__backdrop { position: absolute; inset: 0; background: rgba(0, 27, 56, 0.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.cj-quick__box {
	position: relative; width: min(560px, 100%); max-height: 90dvh; overflow-y: auto;
	background: linear-gradient(180deg, var(--cj-pale-20) 0%, #fff 100%); /* same fade as the application form (annotation 140) */
	border-radius: var(--cj-r-lg); padding: clamp(22px, 4vw, 36px); box-shadow: 0 30px 60px rgba(0, 27, 56, 0.35);
	animation: cj-pop 0.25s var(--cj-ease);
}
@keyframes cj-pop { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.cj-quick__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--cj-navy); font-size: 26px; line-height: 1; cursor: pointer; }
.cj-quick__close:hover { background: var(--cj-pale); }
/* Eyebrow + CZ/RU switch row; right padding keeps clear of the close button. */
.cj-quick__top { display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding-right: 48px; margin-bottom: 18px; } /* CZ/RU switch top left (annotation 137) */
.cj-quick__box > .cj-eyebrow { margin: 0 0 6px; }
.cj-quick__lang { order: 0; margin-left: 0 !important; margin-right: auto; }
/* 6. 11.: the popup has the same pale background as the switch track, so the track gets the darker pale tone. */
.cj-quick .cj-quick__lang { background: var(--cj-pale); }
.cj-quick__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 0 0 8px; padding-right: 36px; }
.cj-quick__lead { color: var(--cj-text); margin-bottom: 18px; }
.cj-quick .cj-form { border: 0; padding: 0; gap: 14px; max-width: none; }
.cj-choice--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cj-choice--3 label { justify-content: center; padding: 10px 8px; }
.cj-quick .cj-form .cj-btn { width: 100%; justify-self: stretch; min-height: 56px; font-size: var(--cj-fs-md); border-radius: 28px 8px 28px 28px; }
.cj-quick__msg { margin: 0; font-weight: 700; }
.cj-quick__msg:empty { display: none; }
.cj-quick__msg.is-ok { background: #E8F6EE; color: var(--cj-success); padding: 14px 18px; border-radius: var(--cj-r-sm); }
.cj-quick__msg.is-err { background: #FDECEC; color: #A61B1B; padding: 14px 18px; border-radius: var(--cj-r-sm); }
.cj-quick__form.is-done > :not(.cj-quick__msg) { display: none; }
.cj-choice--3 input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cj-choice--3 label { font-weight: 700; }
.cj-choice--3 label:has(input:focus-visible) { outline: 3px solid var(--cj-azure); outline-offset: 2px; }

/* ---------- Language switch CZ / RU (header, right) ---------- */
.cj-lang { position: relative; order: 3; display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--cj-pale-20); flex: 0 0 auto; }
.cj-lang__item {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 0; border-radius: 999px; background: none;
	font: inherit; font-size: var(--cj-fs-xs); font-weight: 800; letter-spacing: 0.04em; color: var(--cj-muted); text-decoration: none; cursor: pointer;
}
.cj-lang__item:hover { color: var(--cj-navy); background: #fff; }
.cj-lang__item.is-active { background: #fff; color: var(--cj-navy); box-shadow: 0 1px 3px rgba(0, 43, 88, 0.12); }
.cj-lang__flag { width: 20px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 43, 88, 0.12); }
.cj-lang__note {
	position: absolute; top: calc(100% + 8px); right: 0; z-index: 70; width: 240px; padding: 10px 14px; border-radius: var(--cj-r-md);
	background: var(--cj-navy); color: #fff; font-size: var(--cj-fs-xs); font-weight: 600; line-height: 1.45; box-shadow: var(--cj-shadow);
}
.cj-lang__note[hidden] { display: none; }
/* Desktop: switch sits in the nav actions before phone; mobile: copy in the top bar next to the toggle. */
.cj-lang--bar { display: none; }
.cj-lang--nav { order: 0; }
@media (max-width: 1080px) {
	.cj-lang--bar { display: inline-flex; }
	.cj-lang--nav { display: none; }
	.cj-lang { margin-left: auto; }
	.cj-header__toggle { margin-left: 4px; order: 4; }
}
@media (max-width: 420px) { .cj-lang__item { padding: 6px 8px; } }
.cj-header .cj-btn { white-space: nowrap; }
@media (min-width: 1081px) and (max-width: 1440px) {
	.cj-header__inner { gap: 16px; }
	.cj-nav { gap: 14px; }
	.cj-nav__list { margin-left: 4px; }
	.cj-nav__list a { padding: 10px 9px; }
	.cj-header__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.cj-header__phone { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 21px 7px 21px 21px; }
	.cj-lang__item { padding: 6px 8px; }
}
@media (min-width: 1081px) and (max-width: 1200px) {
	.cj-header__logo img { width: 140px; }
}
/* Big screens: header, content and footer share one wider column, so everything lines up (30. 10., 2. 11.). */
@media (min-width: 1441px) {
	/* Grows smoothly from 1200 px (at 1440 px window) to 1440 px, no jump at the breakpoint. WP block layout follows too. */
	:root { --cj-wrap: min(1440px, calc(100vw - 240px)); --wp--style--global--content-size: var(--cj-wrap); --wp--style--global--wide-size: var(--cj-wrap); }
	.cj-nav .cj-mega > .sub-menu { padding-left: max(var(--cj-gutter), calc((100% - var(--cj-wrap)) / 2)); padding-right: max(var(--cj-gutter), calc((100% - var(--cj-wrap)) / 2)); }
}

/* ---------- 29. 10.: subpages follow the homepage (centred section heads) ---------- */
/* Form and plain lists sitting directly under a centred heading are centred as a block too (text inside stays left). */
.cj-content--centred .cj-form-wrap > .cj-form { margin-left: auto; margin-right: auto; }
.cj-content--centred > .wp-block-group > ol.wp-block-list,
.cj-content--centred > .wp-block-group > ul.wp-block-list { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
/* Body paragraphs and notes under a centred heading: readable centred column, text left. */
.cj-content--centred > .wp-block-group > p:not(.is-style-cj-lead):not(.cj-review-sources) { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
/* Exactly four cards: one row of four on wide screens, 2 × 2 below (no lonely fourth card). */
.wp-block-columns.is-style-cj-cards:has(> .wp-block-column:nth-child(4):last-child) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
/* Icon cards on the homepage: one-line titles and max three-line texts, so two columns below ~1250 px instead of three narrow ones (30. 10.). */
.home .wp-block-columns.is-style-cj-cards:has(> [class*="cj-ico-"]) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 370px), 1fr)); }
/* Contact card under a centred heading sits in the middle too. */
.cj-content--centred > .wp-block-group > .cj-person-card { margin-left: auto !important; margin-right: auto !important; }
/* Five steps fit one row on wide screens instead of 4 + 1. */
.wp-block-columns.is-style-cj-steps:has(> .wp-block-column:nth-child(5):last-child) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
/* Tables on phones: every row is a small card (first cell = title, others with their column label). */
@media (max-width: 640px) {
	.wp-block-table { overflow-x: visible; }
	.wp-block-table table, .wp-block-table tbody, .wp-block-table tr, .wp-block-table td { display: block; width: 100%; }
	.wp-block-table thead { display: none; }
	.wp-block-table tr { padding: 14px 16px; border-bottom: 1px solid var(--cj-line); }
	.wp-block-table tbody tr:last-child { border-bottom: 0; }
	.wp-block-table td { border: 0 !important; padding: 3px 0 !important; text-align: left !important; white-space: normal !important; }
	.wp-block-table td:empty { display: none; }
	.wp-block-table td:first-child { font-weight: 700; color: var(--cj-ink); padding-bottom: 6px !important; }
	.wp-block-table td:first-child:has(strong, a) { font-weight: 400; }
	.wp-block-table td:first-child strong, .wp-block-table td:first-child a { font-weight: 700; }
	.wp-block-table td:not(:first-child)[data-label]::before { content: attr(data-label) ": "; color: var(--cj-muted); font-weight: 600; }
	.wp-block-table figcaption { padding: 0 16px 14px; }
}
/* Cards: more air inside (padding, under the photo, under the title, above the price). */
.is-style-cj-cards > .wp-block-column { padding: 24px 26px; }
.is-style-cj-cards > .wp-block-column > .wp-block-image:first-child { margin: -24px -26px 24px !important; }
.is-style-cj-cards h3 { margin-bottom: 0.45em; }
.is-style-cj-cards .cj-card-price { padding-top: 14px; }
/* Reviews slider has no arrows any more: no room reserved for them, source links sit close under the cards. */
.cj-slider-wrap--reviews { padding-bottom: 0; }
.cj-review-sources { margin-top: 28px !important; }
/* Photo + text blocks: text vertically centred against the photo. */
.wp-block-columns:has(> .wp-block-column > .wp-block-image.is-style-cj-photo) { align-items: center !important; }
.wp-block-columns:has(> .wp-block-column > .wp-block-image.is-style-cj-photo) > .wp-block-column { align-self: center; }
/* Mega menu: same soft gradient as the hero instead of plain white; vehicle renders sit on it without a box. */
@media (min-width: 1081px) {
	.cj-nav .cj-mega > .sub-menu { background: linear-gradient(90deg, var(--cj-pale) 0%, var(--cj-pale-20) 45%, #fff 100%); }
	.cj-mega__intro-link { background: rgba(255, 255, 255, 0.7) !important; }
	.cj-mega__intro-link:hover { background: #fff !important; }
	/* Vehicles come from ONE generated line-up photo, so they share camera, light and real proportions.
	   Same scale in every card (width relative to the widest vehicle), standing on one ground line. */
	.cj-mega__photo--vehicle { position: relative; background: none; --cj-veh-w: 92%; }
	.cj-mega__photo--fabia { --cj-veh-w: 66.8%; }
	.cj-mega__photo--daf { --cj-veh-w: 74.2%; }
	.cj-mega__photo--daf-privesem { --cj-veh-w: 91.6%; }
	.cj-mega__photo--autobus { --cj-veh-w: 92%; }
	.cj-mega__img--vehicle { position: absolute; left: 50%; bottom: 4%; width: var(--cj-veh-w) !important; height: auto !important; transform: translateX(-50%); object-fit: contain; }
	.cj-mega__link:hover .cj-mega__img--vehicle { transform: translateX(-50%) scale(1.04); transform-origin: bottom center; }
}
@media (min-width: 1081px) {
	.cj-mega__meta { display: flex !important; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 6px; }
	.cj-mega__price { font-weight: 800; color: var(--cj-navy); }
	.cj-mega__len { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--cj-pale); color: var(--cj-navy); font-size: var(--cj-fs-xs); font-weight: 700; }
}
/* Mega menu cards: length tag sits right under the title, price below it (30. 10.). */
@media (min-width: 1081px) {
	.cj-mega__meta { margin-top: 4px; }
}
.cj-footer__credit { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cj-footer__credit:hover { color: var(--cj-azure); }

/* ---------- 30. 10.: subpage hero (Marek's annotations on Řidičák na auto) ---------- */
/* Breadcrumbs: quiet small text at the top of the hero text column, level with the photo's top edge (Marek 30. 10.: no pills, toned down). */
.cj-hero__text > .cj-crumbs ol { margin: 0 0 24px; gap: 2px; font-size: 0.8125rem; color: #8FA0B3; }
.cj-hero__text > .cj-crumbs a { color: #8FA0B3; }
.cj-hero__text > .cj-crumbs a:hover { color: var(--cj-navy); }
.cj-hero__text > .cj-crumbs li + li::before { color: #B7C4D3; }
@media (min-width: 901px) {
	.cj-hero--split .cj-hero__text:has(> .cj-crumbs) { align-self: stretch; display: flex; flex-direction: column; }
	.cj-hero--split .cj-hero__text > .cj-crumbs + * { margin-top: auto; }
	.cj-hero--split .cj-hero__text:has(> .cj-crumbs) > :last-child { margin-bottom: auto; }
}
/* Claim mode: H1 is the small search phrase, the human sentence is big (like the homepage). */
.cj-hero--claim .cj-hero__seo { margin-bottom: 14px; font-size: var(--cj-fs-xs); }
.cj-hero--claim .cj-hero__title { text-wrap: balance; color: var(--cj-navy); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 0.45em; }
/* Price, length and rides inside the photo, bottom. */
.cj-hero__media .cj-facts--photo {
	position: absolute; left: 16px; right: 16px; bottom: 16px; margin: 0; z-index: 1;
	display: flex; flex-wrap: wrap; gap: 8px;
}
.cj-facts--photo .cj-facts__item {
	min-width: 0; flex: 1 1 0; padding: 10px 14px; border: 0;
	background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	box-shadow: 0 6px 18px rgba(0, 43, 88, 0.14);
}
.cj-facts--photo .cj-facts__item:first-child { background: var(--cj-navy); }
.cj-facts--photo dd { font-size: var(--cj-fs-md); white-space: nowrap; }
@media (max-width: 600px) {
	.cj-hero__media .cj-facts--photo { left: 10px; right: 10px; bottom: 10px; gap: 6px; }
	.cj-facts--photo .cj-facts__item { padding: 8px 10px; flex: 1 1 auto; }
	.cj-facts--photo dt { font-size: 0.75rem; }
	.cj-facts--photo dd { font-size: 0.875rem; }
}

/* Price cards (Řidičák na auto, 30. 10.): homepage card look instead of a wide table, fits phones without side scroll. */
.wp-block-columns.cj-price-cards { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2.4vw, 28px); max-width: 860px !important; margin-left: auto !important; margin-right: auto !important; }
.cj-price-cards > .cj-price-card { margin: 0 !important; background: #fff; border-radius: var(--cj-r-lg); padding: 28px 28px 26px; text-align: left; box-shadow: 0 10px 30px rgba(0, 43, 88, 0.06); }
.cj-price-card .is-style-cj-eyebrow { margin-bottom: 6px; }
.cj-price-card .cj-price__amount { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); font-weight: 800; color: var(--cj-navy); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 14px; }
.cj-price-card .cj-price__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.cj-price__tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--cj-pale); color: var(--cj-navy); font-size: var(--cj-fs-xs); font-weight: 700; }
.cj-price-card > p:last-child { margin: 0; color: var(--cj-text); }
.cj-price-card--featured { outline: 2px solid var(--cj-navy); outline-offset: -2px; }


/* Form fields closer to the site look: rounder, select with our own chevron (annotation 107). */
.cj-form input[type="text"], .cj-form input[type="email"], .cj-form input[type="tel"], .cj-form input[type="number"], .cj-form select, .cj-form textarea { border-radius: 10px; border-color: var(--cj-line); background-color: #fff; } /* white fields (annotation 122) */
.cj-form input:focus, .cj-form select:focus, .cj-form textarea:focus { background-color: #fff; }
.cj-form select {
	-webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 44px; font-weight: 600; color: var(--cj-navy);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23004F9F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.cj-form { border: 0; border-radius: var(--cj-r-lg); box-shadow: 0 20px 50px rgba(0, 43, 88, 0.12); background: linear-gradient(180deg, var(--cj-pale-20) 0%, #fff 100%); } /* same fade as the hero background (annotation 123) */
.cj-quick .cj-form { background: none; box-shadow: none; }
/* Submit as big as the homepage hero buttons (annotation 124). */
.cj-form-wrap .cj-form > .cj-btn[type="submit"] { min-height: 56px; padding: 14px 32px; font-size: var(--cj-fs-md); border-radius: 28px 8px 28px 28px; }
.cj-form__legal { margin-top: -4px; }

/* Application form section: team photo behind, like the closing section of the homepage (annotation 110). */
.cj-content > .wp-block-group:has(> .cj-form-wrap) {
	max-width: none; position: relative;
	background:
		radial-gradient(ellipse 46% 58% at 50% 50%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0) 100%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(238, 249, 253, 0.62) 100%),
		url("../img/cta-tym.webp") center 55% / cover no-repeat;
}

/* Points as small cards with a check (annotations 115–119, 30. 10.). White on tinted sections, pale on white ones. */
.wp-block-columns.cj-tick-cards { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.cj-tick-cards > .cj-tick-card {
	margin: 0 !important; background: var(--cj-pale-20); border-radius: var(--cj-r-md); padding: 20px 22px;
	display: flex; gap: 14px; align-items: flex-start; text-align: left;
}
.is-style-cj-tinted .cj-tick-cards > .cj-tick-card { background: #fff; }
.cj-tick-card::before {
	content: ""; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--cj-azure)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.cj-tick-card > p { margin: 0; color: var(--cj-ink); font-weight: 600; line-height: 1.45; }
.cj-tick-cards--centred > .cj-tick-card { flex-direction: column; align-items: center; text-align: center; padding: 26px 24px; }
/* Extra costs under the price cards: three separate small cards. */
.wp-block-columns.cj-cost-cards { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 16px; max-width: 860px !important; margin: 18px auto 0 !important; }
.cj-cost-cards > .cj-cost-card { margin: 0 !important; background: #fff; border-radius: var(--cj-r-md); padding: 18px 20px; text-align: center; }
.cj-cost-card .cj-cost__label { margin: 0 0 4px; color: var(--cj-muted); font-size: var(--cj-fs-sm); }
.cj-cost-card .cj-cost__value { margin: 0; color: var(--cj-navy); font-weight: 800; font-size: var(--cj-fs-lg); }
/* "Co je v ceně": cards on the left, a big photo on the right to liven it up (Marek 30. 10.). */
.wp-block-columns.cj-included-split { display: grid !important; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(16px, 2.4vw, 28px); align-items: stretch; }
.cj-included-split > .wp-block-column { margin: 0 !important; min-width: 0; align-self: stretch !important; }
.cj-included-split .wp-block-columns.cj-tick-cards--stack { grid-template-columns: minmax(0, 1fr); margin: 0; height: 100%; grid-auto-rows: 1fr; }
.cj-included-split > .wp-block-column:has(> .wp-block-image) { position: relative; min-height: 360px; } /* photo left, cards right (annotation 135) */
.cj-included-split .wp-block-image { position: absolute; inset: 0; margin: 0; }
.cj-included-split .wp-block-image img { width: 100%; height: 100% !important; aspect-ratio: auto !important; object-fit: cover; object-position: center 40%; border-radius: var(--cj-r-lg); }
@media (max-width: 800px) {
	.wp-block-columns.cj-included-split { grid-template-columns: minmax(0, 1fr); }
	.cj-included-split .wp-block-columns.cj-tick-cards--stack { grid-auto-rows: auto; }
	.cj-included-split > .wp-block-column:has(> .wp-block-image) { min-height: 420px; order: 2; }
}

/* Text button without a frame, e.g. "Kompletní ceník →" (annotation 125). */
.wp-block-button.is-style-cj-link .wp-block-button__link { background: none; border-color: transparent; color: var(--cj-navy); padding-left: 8px; padding-right: 8px; }
.wp-block-button.is-style-cj-link .wp-block-button__link::after { content: " →"; color: var(--cj-azure); margin-left: 4px; transition: margin 0.18s; }
.wp-block-button.is-style-cj-link .wp-block-button__link:hover { background: none; border-color: transparent; color: var(--cj-azure-text); transform: none; text-decoration: underline; text-underline-offset: 4px; }
.wp-block-button.is-style-cj-link .wp-block-button__link:hover::after { margin-left: 8px; }
/* Wide photo above a section heading (L17, annotation 121). */
.wp-block-image.is-style-cj-banner { max-width: 760px; margin: 0 auto 28px; }
.wp-block-image.is-style-cj-banner img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 30%; border-radius: var(--cj-r-lg); }
/* Phone with international prefix on the left (annotation 128), placeholders (129), lower message box (130). */
.cj-form__phone { display: flex; gap: 8px; }
.cj-form .cj-form__phone select { flex: 0 0 auto; width: auto; min-width: 124px; padding-right: 36px; background-position: right 10px center; }
.cj-form .cj-form__phone input { flex: 1 1 auto; min-width: 0; }
.cj-form ::placeholder { color: #9AAABD; opacity: 1; }
.cj-form textarea { min-height: 88px; }
/* "Pro koho je kurz": photo on top instead of the check mark (annotation 132). */
.cj-tick-cards > .cj-tick-card--photo { padding: 0 0 22px; overflow: hidden; gap: 16px; }
.cj-tick-card--photo::before { content: none; }
.cj-tick-card--photo .wp-block-image { margin: 0; width: 100%; }
.cj-tick-card--photo .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 35%; display: block; }
.cj-tick-card--photo > p { padding: 0 22px; }
/* Subpage hero: smaller gap between perex and button (annotation 134). */
.cj-hero:not(.cj-hero--home) .cj-hero__actions { margin-top: 12px; }
/* "Pro koho je kurz": bigger text under the photos (Marek 30. 10.). */
.cj-tick-card--photo > p { font-size: 1.15rem; line-height: 1.4; padding-left: 18px !important; padding-right: 18px !important; }
/* Custom dropdown in the site design (main.js, mouse only; phones keep the native picker). */
.cj-select { position: relative; }
.cj-select > select { position: absolute !important; inset: 0; opacity: 0; pointer-events: none; }
.cj-select__btn {
	width: 100%; min-height: 48px; display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer;
	font: inherit; font-size: 16px; font-weight: 600; color: var(--cj-navy); background: #fff;
	border: 1.5px solid var(--cj-line); border-radius: 10px; padding: 12px 44px 12px 14px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23004F9F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.cj-select__btn:hover { border-color: var(--cj-grey-blue); }
.cj-select__btn:focus-visible, .cj-select.is-open .cj-select__btn { outline: none; border-color: var(--cj-azure); box-shadow: 0 0 0 3px rgba(0, 159, 227, 0.2); }
.cj-select.is-open .cj-select__btn { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23004F9F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E"); }
.cj-select.is-placeholder .cj-select__btn { color: #9AAABD; font-weight: 500; }
.cj-select__btn.is-invalid { border-color: #D64545; }
.cj-select__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cj-select__list {
	position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px; list-style: none;
	max-height: 320px; overflow-y: auto; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 43, 88, 0.18), 0 0 0 1px var(--cj-line);
}
.cj-select__list[hidden] { display: none; }
.cj-select__list li { padding: 10px 12px 10px 36px; border-radius: 10px; cursor: pointer; color: var(--cj-ink); font-weight: 500; position: relative; line-height: 1.35; }
.cj-select__list li.is-active { background: var(--cj-pale-20); color: var(--cj-navy); }
.cj-select__list li[aria-selected="true"] { color: var(--cj-navy); font-weight: 700; }
.cj-select__list li[aria-selected="true"]::before {
	content: ""; position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23009FE3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
/* Phone prefix: narrow button, the list may be wider than the button. */
.cj-form__phone .cj-select { flex: 0 0 auto; }
.cj-select--prefix .cj-select__btn { min-width: 124px; padding-right: 36px; background-position: right 10px center; }
.cj-select--prefix .cj-select__list { right: auto; min-width: 150px; }
/* Choice buttons (Dopoledne / Odpoledne / Kdykoli) more visible, in colour (Marek 30. 10.). */
.cj-choice label { background: var(--cj-pale-20); border-color: var(--cj-pale); color: var(--cj-navy); transition: background 0.15s, border-color 0.15s, color 0.15s; }
.cj-choice label:hover { background: var(--cj-pale); }
.cj-choice label:has(input:checked) { background: var(--cj-navy); border-color: var(--cj-navy); color: #fff; }
.cj-choice input { accent-color: #fff; }
/* Choice panel over the whole call-back popup (annotation 143). */
.cj-select-panel { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--cj-pale-20) 0%, #fff 100%); border-radius: inherit; padding: clamp(18px, 3vw, 28px); animation: cj-pop 0.18s var(--cj-ease); }
.cj-select-panel[hidden] { display: none; }
.cj-select-panel__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cj-select-panel__back { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--cj-navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 43, 88, 0.08); }
.cj-select-panel__title { margin: 0; font-weight: 800; font-size: var(--cj-fs-lg); color: var(--cj-navy); }
.cj-select-panel .cj-select__list { position: static; max-height: none; flex: 1 1 auto; overflow-y: auto; box-shadow: none; background: none; padding: 0; display: grid; gap: 6px; align-content: start; }
.cj-select-panel .cj-select__list li { background: #fff; padding: 13px 14px 13px 40px; box-shadow: 0 1px 4px rgba(0, 43, 88, 0.06); }
.cj-select-panel .cj-select__list li.is-active { background: var(--cj-pale); }
.cj-quick__box { position: relative; }
.cj-quick__box.has-panel { overflow: hidden; }
/* Our flags in the phone prefix picker (no emoji, same style as the header). */
.cj-select__flag { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 43, 88, 0.12); flex: 0 0 auto; vertical-align: -2px; margin-right: 8px; }
.cj-select__text { display: inline-flex; align-items: center; }
.cj-select__list li:has(.cj-select__flag) { display: flex; align-items: center; }
/* Panel options: pale blue fading to white so each option reads as its own box, clear hover (Marek 30. 10.). */
.cj-select-panel { background: #fff; }
.cj-select-panel .cj-select__list li {
	background: linear-gradient(90deg, var(--cj-pale-20) 0%, #fff 100%); box-shadow: 0 0 0 1px var(--cj-line);
	transition: background 0.15s, box-shadow 0.15s, transform 0.15s var(--cj-ease), color 0.15s;
}
.cj-select-panel .cj-select__list li:hover,
.cj-select-panel .cj-select__list li.is-active { background: linear-gradient(90deg, var(--cj-pale) 0%, var(--cj-pale-20) 100%); box-shadow: 0 0 0 1.5px var(--cj-azure); color: var(--cj-navy); }
.cj-select-panel .cj-select__list li[aria-selected="true"] { background: linear-gradient(90deg, var(--cj-pale) 0%, #fff 100%); box-shadow: 0 0 0 1.5px var(--cj-navy); }
.cj-select__list li:hover { background: var(--cj-pale-20); color: var(--cj-navy); }
.cj-select-panel .cj-select__list { padding: 2px; }
/* Panel options without outlines, only the colour changes (Marek 30. 10.). */
.cj-select-panel .cj-select__list li,
.cj-select-panel .cj-select__list li:hover,
.cj-select-panel .cj-select__list li.is-active,
.cj-select-panel .cj-select__list li[aria-selected="true"] { box-shadow: none; }
.cj-content .wp-block-columns + h2.wp-block-heading { margin-top: clamp(48px, 6vw, 80px); } /* second heading in one section */
/* "Co s řidičákem B smíš řídit": AI vehicles from one scene, same scale and base line (30. 10.). */
.cj-veh-cards > .wp-block-column { display: flex; flex-direction: column; }
.cj-veh-b { margin: -6px -6px 14px !important; }
.cj-veh-b img { display: block; width: 100%; height: auto; }
/* Body-size text everywhere it was smaller (Marek 30. 10.): reviews, notes under cars, extra-cost labels, map notes. */
.cj-review__text p { font-size: var(--cj-fs-md); line-height: 1.6; }
.is-style-cj-note { font-size: var(--cj-fs-md); }
.cj-cost-card .cj-cost__label { font-size: var(--cj-fs-md); }
.cj-map__note { font-size: var(--cj-fs-md); }
/* Four cards in one row: slightly smaller titles so they stay on one line (30. 10.). */
.wp-block-columns.is-style-cj-cards:has(> .wp-block-column:nth-child(4):last-child) h3 { font-size: 1.2rem; }
/* Three price cards side by side (training centre), not 2 + 1 (30. 10.). */
.wp-block-columns.cj-price-cards:has(> .wp-block-column:nth-child(3)) { max-width: var(--cj-wrap) !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.wp-block-columns.cj-price-cards:has(> .wp-block-column:nth-child(3)) ~ .cj-cost-cards { max-width: var(--cj-wrap) !important; }
/* 6. 11.: jediná cenová karta (Obnovení, Získání bez karty s ubytováním) drží šířku karty a stojí na středu. */
.wp-block-columns.cj-price-cards:has(> .wp-block-column:only-child) { max-width: 420px !important; }
/* Cost cards and price cards on white sections get the pale tone, white only on tinted ones (30. 10.). */
.is-style-cj-section .cj-cost-cards > .cj-cost-card { background: var(--cj-pale-20); }
/* 6. 11. (Marek): on a white section the cards need a clearly blue surface; the old fade ended in white and merged with the section. */
.is-style-cj-section .cj-price-cards > .cj-price-card { background: linear-gradient(180deg, #D8F2FB 0%, var(--cj-pale-20) 100%); }

/* Voucher configurator is long: no photo behind it (Marek 3. 11.). Must stay after the form section rule. */
.cj-content > .wp-block-group:has(> .cj-pk) { background: none; }

/* Voucher code in the application: typed code in capitals, the placeholder stays normal. */
.cj-form input[name="poukaz"] { text-transform: uppercase; letter-spacing: .03em; }
.cj-form input[name="poukaz"]::placeholder { text-transform: none; letter-spacing: 0; }
/* Live voucher check under the field. */
.cj-form .cj-poukaz-msg.is-ok { color: var(--cj-success); font-weight: 700; }
.cj-form .cj-poukaz-msg.is-err { color: #A61B1B; font-weight: 700; }
.cj-form input[name="poukaz"].is-ok { border-color: var(--cj-success); }
.cj-form input[name="poukaz"].is-err { border-color: #A61B1B; }

/* Info bubble next to a form label (voucher code in the application). */
.cj-info-label { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.cj-form .cj-info-label > label { margin-bottom: 0; }
.cj-info { position: relative; display: inline-flex; }
.cj-info__btn { width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: var(--cj-pale-20); color: var(--cj-navy); font: italic 700 13px/22px Georgia, serif; text-align: center; cursor: pointer; transition: background .15s, color .15s; }
.cj-info__btn:hover, .cj-info__btn[aria-expanded="true"] { background: var(--cj-navy); color: #fff; }
.cj-info__btn:focus-visible { outline: 3px solid var(--cj-azure); outline-offset: 2px; }
.cj-info__pop { position: absolute; z-index: 70; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: max-content; max-width: min(300px, calc(100vw - 48px)); padding: 12px 14px; background: var(--cj-navy-deep); color: #fff; border-radius: var(--cj-r-sm); font-size: var(--cj-fs-sm); font-weight: 500; line-height: 1.5; box-shadow: 0 14px 34px rgba(0, 43, 88, .22); }
.cj-info__pop::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.cj-form .cj-poukaz-msg:empty { display: none; }
@media (max-width: 600px) { .cj-info__pop { left: auto; right: -12px; transform: none; } .cj-info__pop::before { left: auto; right: 17px; transform: rotate(45deg); } }

/* Annotations 3. 11. (Přihláška) */
/* 150: link cards "Ještě nevíš, který kurz?" with centred content, like the heading above them. */
.cj-link-cards--centred > .wp-block-column { text-align: center; }
/* 151: points left, photo right; the wider column for the points. */
.wp-block-columns.cj-included-split--photo-right { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
@media (max-width: 781px) { .wp-block-columns.cj-included-split--photo-right { grid-template-columns: minmax(0, 1fr); } }
/* 147: office card without the outline, on a blue gradient. */
.cj-person-card { border: 0; background: linear-gradient(135deg, #EEF9FD 0%, #D3EEFB 100%); }
/* 148: the phone number big instead of a second "Zavolej nám". */
.cj-person-card__name a { display: inline-flex; align-items: center; gap: 10px; color: var(--cj-navy); text-decoration: none; }
.cj-person-card__name a:hover { color: var(--cj-azure); }
.cj-person-card__name svg { flex: 0 0 auto; color: var(--cj-azure); }
/* Voucher code check: a gap above the result so it does not stick to the field (Marek 3. 11.). */
.cj-form .cj-poukaz-msg { margin-top: 8px; }
/* Office hours under the contact card (annotation 152). */
p.is-style-cj-contact-hours { text-align: center; color: var(--cj-muted); margin: 18px auto 0; max-width: 720px; }
/* Very narrow phones (320 px): logo, language switch and menu button did not fit, the button stuck out by 14 px. */
@media (max-width: 360px) {
	.cj-header__inner { gap: 10px; }
	.cj-header__logo { flex: 0 1 140px; min-width: 0; }
	.cj-header__logo svg, .cj-header__logo img { width: 100%; height: auto; }
}
/* Annotation 157: link cards always fill the whole inner width (auto-fill left an empty 4th track on wide screens). */
.wp-block-columns.is-style-cj-cards.cj-link-cards--centred { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* Social teaser under the map on the homepage (annotation 158, Marek 3. 11.: fan of previews, then text and buttons, all centred). */
.cj-insta { --w: 270px; --step: 140px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(28px, 4vw, 48px); }
.cj-insta__fan { position: relative; width: min(100%, calc(var(--w) + 4 * var(--step) + 40px)); height: calc(var(--w) * 1.25); }
/* Stacked in depth, no rotation (Marek 3. 11.): the middle card full size, the next ones smaller and behind it. */
.cj-insta__card { position: absolute; left: 50%; top: 0; width: var(--w); aspect-ratio: 4 / 5; margin-left: calc(var(--w) / -2); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(0, 43, 88, .22); border: 4px solid #fff;
	transform: translateX(calc(var(--o) * var(--step))) scale(calc(1 - var(--a) * 0.17)); transition: transform .25s var(--cj-ease), box-shadow .25s, filter .25s; }
.cj-insta__card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cj-insta__card:hover, .cj-insta__card:focus-visible { box-shadow: 0 26px 60px rgba(0, 43, 88, .32); filter: brightness(1.04); }
.cj-insta__text { max-width: 640px; }
.cj-insta__text h2 { margin: 6px 0 14px; }
.cj-insta .cj-eyebrow { justify-content: center; }
.cj-insta__buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.cj-insta__buttons .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 1100px) { .cj-insta { --w: 230px; --step: 115px; } }
@media (max-width: 781px) { .cj-insta { --w: 170px; --step: 58px; } }
@media (max-width: 360px) { .cj-insta { --w: 140px; --step: 48px; } }
/* Annotation 159: next to the map on desktop the places spread over the whole map height, the last one ends with the map. */
@media (min-width: 901px) { .cj-map__list { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; } }
/* Annotation 160: no dash before the eyebrow in the centred social section. */
.cj-insta .cj-eyebrow::before { display: none; }
/* Translated review: small note under the text (annotation 163). */
.cj-review__lang { margin: 6px 0 0; font-size: var(--cj-fs-xs); color: var(--cj-muted); font-style: italic; }
/* Annotation 161: extra costs in one row on desktop, the amounts on one line even when a label wraps. */
@media (min-width: 782px) { .wp-block-columns.cj-cost-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cj-cost-cards > .cj-cost-card { display: flex; flex-direction: column; }
.cj-cost-card .cj-cost__value { margin-top: auto; }
/* Annotation 162 (and the same everywhere, Marek 3. 11.): text cards centred like the headings above them. Reviews stay left. */
.is-style-cj-cards:not(.cj-reviews) > .wp-block-column { text-align: center; }
.is-style-cj-cards:not(.cj-reviews) > [class*="cj-ico-"]::before { margin-left: auto; margin-right: auto; }
/* Hero photo wider on desktop, there was empty space between the text and the photo (Marek 3. 11.). */
@media (min-width: 1101px) {
	.cj-hero--split .cj-hero__inner,
	.cj-hero--home .cj-hero__inner { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
	.cj-hero--split .cj-hero__media,
	.cj-hero--home .cj-hero__media { max-width: 680px; }
	.cj-hero--split .cj-hero__media img,
	.cj-hero--home .cj-hero__media img { aspect-ratio: 1 / 1.02; }
}
/* Annotations 164 to 166: tighter line height only in the price section (price cards and extra costs), Marek 3. 11. */
.cj-price-card > p:not(.cj-price__amount),
.cj-cost-card .cj-cost__label { line-height: 1.45; }
/* Card groups fill the whole row on wide screens (auto-fill left an empty 4th track, three cards then sat on the left), Marek 3. 11. */
.wp-block-columns.is-style-cj-cards:not(.cj-reviews) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.wp-block-columns.is-style-cj-cards:not(.cj-reviews):has(> .wp-block-column:nth-child(4):last-child) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.home .wp-block-columns.is-style-cj-cards:has(> [class*="cj-ico-"]) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 370px), 1fr)); }
/* Cards stretched to the photo height only when the column holds nothing else; next to a heading and text (Kondiční jízdy) they keep their own height. */
.cj-included-split > .wp-block-column:has(> h2, > h3, > p, > .wp-block-heading) .wp-block-columns.cj-tick-cards--stack { height: auto; grid-auto-rows: auto; margin: 22px 0 0; }
/* Annotations 167 to 169: steps without a photo as white cards on tinted sections (Vrácení řidičáku). */
.is-style-cj-tinted .is-style-cj-steps > .wp-block-column:not(:has(img)) { background: #fff; border-radius: var(--cj-r-md); padding: 24px 22px; }
.is-style-cj-tinted .is-style-cj-steps > .wp-block-column:not(:has(img)) > :last-child { margin-bottom: 0; }

/* Price tables (is-style-cj-pricelist) in the site look, like the cards: Marek 3. 11. (6. 11.: from 641 px, below that rows become cards) */
@media (min-width: 641px) {
	.wp-block-table.is-style-cj-pricelist { border: 0; border-radius: var(--cj-r-lg); overflow: hidden; box-shadow: 0 10px 30px rgba(0, 43, 88, 0.06); }
	.wp-block-table.is-style-cj-pricelist table { font-size: var(--cj-fs-md); }
	.wp-block-table.is-style-cj-pricelist thead th { background: var(--cj-pale); color: var(--cj-navy-deep); border-bottom: 0; padding: 16px 22px; font-weight: 800; }
	.wp-block-table.is-style-cj-pricelist thead th:last-child { color: var(--cj-navy-deep); }
	.wp-block-table.is-style-cj-pricelist td { padding: 18px 22px; border-bottom: 0; vertical-align: middle; line-height: 1.5; }
	.wp-block-table.is-style-cj-pricelist tbody tr:nth-child(even) td { background: var(--cj-pale-20); }
	.wp-block-table.is-style-cj-pricelist td:last-child { font-size: var(--cj-fs-lg); }
}
.wp-block-table.is-style-cj-pricelist a { color: var(--cj-navy); font-weight: 700; text-decoration: none; }
.wp-block-table.is-style-cj-pricelist a::after { content: " →"; color: var(--cj-azure); }
.wp-block-table.is-style-cj-pricelist a:hover { color: var(--cj-azure); }
.wp-block-table.is-style-cj-pricelist figcaption { margin: 0; padding: 14px 22px 16px; background: #fff; border-top: 1px solid var(--cj-line); }
.wp-block-table.is-style-cj-pricelist thead { border-bottom: 0; }
.wp-block-table.is-style-cj-pricelist tfoot { border-top: 0; }
/* Note under a table in the lead font, centred like the lead above the table (Marek 3. 11.). */
.cj-content .is-layout-constrained > .wp-block-table + .is-style-cj-lead, .wp-block-table + .is-style-cj-lead { text-align: center; margin: 28px auto 0 !important; max-width: 760px; text-wrap: balance; }
/* FAQ as narrow on tinted sections as on white ones (the tinted rule set every child to the full wrap), Marek 3. 11. */
.wp-block-group.is-style-cj-tinted > .wp-block-details, .wp-block-group.is-style-cj-navy > .wp-block-details { max-width: 860px; }
/* 404: photo in the middle, text under it, then the course chooser (Marek 3. 11.). */
.cj-404 { background: linear-gradient(180deg, var(--cj-pale-20) 0%, #fff 100%); padding: clamp(28px, 4vw, 56px) var(--cj-gutter) clamp(40px, 6vw, 72px); text-align: center; }
.cj-404__inner { max-width: 820px; margin: 0 auto; }
.cj-404__img { margin: 0 0 28px; }
.cj-404__img img { width: 100%; height: auto; aspect-ratio: 1400 / 868; object-fit: cover; border-radius: var(--cj-r-lg); box-shadow: 0 20px 50px rgba(0, 43, 88, 0.12); }
.cj-404 .cj-eyebrow { justify-content: center; }
.cj-404 .cj-eyebrow::before { display: none; }
.cj-404__title { font-size: var(--cj-fs-h1); color: var(--cj-navy); line-height: 1.1; margin: 6px 0 16px; text-wrap: balance; }
.cj-404__title span { color: var(--cj-navy); animation: cj-blinkr 0.7s steps(1, end) infinite; }
/* "Pozor!" blinks orange like a car turn signal (Marek 3. 11.), otherwise blue like the rest of the heading. */
@keyframes cj-blinkr { 0% { color: #F28C00; text-shadow: 0 0 18px rgba(242, 140, 0, 0.45); } 50% { color: var(--cj-navy); text-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .cj-404__title span { animation: none; color: #F28C00; } }
.cj-404__text { font-size: var(--cj-fs-lg); color: var(--cj-text); max-width: 640px; margin: 0 auto; }
.cj-404__text a { color: inherit; }
.cj-404__actions { justify-content: center; }
.cj-404__courses { background: var(--cj-pale-20); padding: clamp(48px, 6vw, 88px) var(--cj-gutter); }
.cj-404__courses-inner { max-width: var(--cj-wrap); margin: 0 auto; text-align: center; }
.cj-404__courses-inner > .is-style-cj-lead { max-width: 680px; margin: 0 auto; }
.cj-404__courses .wp-block-columns { text-align: left; }
/* Annotation 171: office card next to the office photo (O nás). */
.wp-block-columns.cj-contact-split { display: grid !important; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(16px, 2.4vw, 28px); align-items: stretch; }
.cj-contact-split > .wp-block-column { margin: 0 !important; min-width: 0; display: flex; }
.cj-contact-split .cj-person-card { max-width: none; width: 100%; margin: 0 !important; }
.cj-contact-split .wp-block-image { margin: 0; width: 100%; }
.cj-contact-split .wp-block-image img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; object-position: 50% 30%; border-radius: var(--cj-r-lg); }
@media (max-width: 781px) { .wp-block-columns.cj-contact-split { grid-template-columns: minmax(0, 1fr); } }
/* Annotation 172: people sit on the left half of the team photo, keep them in the frame. */
.page-skoleni-ridicu-pro-firmy .cj-hero__media img { object-position: 30% 50%; }
.cj-content .cj-contact-split .cj-person-card { height: 100%; margin: 0 !important; }
.wp-block-columns.cj-contact-split > .wp-block-column { align-self: stretch !important; }

/* SEO preview for logged-in editors (inc/seo-highlight.php). Marks do not catch clicks, so annotations still target the text block. */
mark.cj-seo-kw { background: rgba(229, 32, 32, 0.1); color: #D61F1F; border-radius: 3px; padding: 0 2px; box-shadow: inset 0 -2px 0 rgba(214, 31, 31, 0.55); pointer-events: none; }
.cj-seo-off mark.cj-seo-kw { background: none; color: inherit; box-shadow: none; padding: 0; }
.cj-seo-panel { position: fixed; z-index: 90; left: 18px; bottom: 18px; width: min(360px, calc(100vw - 36px)); font-size: 14px; line-height: 1.45; color: var(--cj-ink); }
.cj-seo-panel__head { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; background: #D61F1F; color: #fff; font: inherit; font-weight: 800; padding: 10px 16px; cursor: pointer; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2); }
.cj-seo-panel__dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.cj-seo-panel.is-off .cj-seo-panel__head { background: #6B7280; }
.cj-seo-panel__body { margin-top: 10px; background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: 0 20px 50px rgba(0, 43, 88, 0.25); max-height: 70vh; overflow: auto; }
.cj-seo-panel__hint { margin: 0 0 12px; color: var(--cj-muted); }
.cj-seo-panel__lbl { margin: 12px 0 4px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cj-muted); }
.cj-seo-panel__g-title { margin: 0; color: #1A0DAB; font-size: 17px; }
.cj-seo-panel__g-desc { margin: 0; color: #4D5156; }
.cj-seo-panel ul { list-style: none; margin: 0; padding: 0; }
.cj-seo-panel li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px solid var(--cj-line); }
.cj-seo-panel li b { color: #D61F1F; }
.cj-seo-panel__toggle { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-weight: 700; cursor: pointer; }
/* Footer review summary cards (annotation 173). */
.cj-footer__reviews { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; }
.cj-footer__review { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; background: rgba(255, 255, 255, 0.08); border-radius: var(--cj-r-md); color: #fff !important; text-decoration: none !important; transition: background 0.15s; }
.cj-footer__review:hover { background: rgba(255, 255, 255, 0.16); }
.cj-footer__review img { width: 26px; height: 26px; background: #fff; border-radius: 50%; padding: 4px; box-sizing: content-box; }
.cj-footer__review > span { display: flex; flex-direction: column; line-height: 1.25; }
.cj-footer__review strong { font-size: 1.05rem; color: #fff; }
.cj-footer__review small { font-size: 0.8125rem; opacity: 0.8; }
.cj-footer__stars { color: #F5A524; letter-spacing: 1px; font-size: 0.9em; }
/* Annotation 174: FAQ answer right under the question (WordPress added 24 px on top of the 20 px under the summary), site-wide. */
.wp-block-details > summary + * { margin-top: -6px !important; }
.wp-block-details > :not(summary) + :not(summary) { margin-top: 12px !important; }
.wp-block-details[open] > :last-child { padding-bottom: 20px; }
/* Annotation 175: rating text exactly as tall as the logo (34 px) and level with it. */
.cj-footer__review > span { justify-content: center; height: 34px; line-height: 1; }
.cj-footer__review strong { display: block; font-size: 1rem; line-height: 18px; margin: 0; }
.cj-footer__review small { display: block; font-size: 0.78rem; line-height: 16px; margin: 0; }
.cj-footer__review img { display: block; margin: 0 !important; flex: 0 0 auto; }
.cj-footer__review { align-items: center; }
/* Course cards on the 404 without the outline, like on the tinted Autoškola section. */
.cj-404__courses .is-style-cj-cards > .wp-block-column { border-color: transparent; }
/* 404 (Marek 3. 11.): "why us" on the pale background with white cards, courses on white with pale cards. */
.cj-404__why { background: var(--cj-pale-20); }
.cj-404__why .is-style-cj-cards > .wp-block-column { background: #fff; }
.cj-404__courses { background: #fff; }
.cj-404__courses .is-style-cj-cards > .wp-block-column { background: var(--cj-pale-20); }
/* 404: the "why us" section has the same vertical spacing as on the homepage (it was 32 px at the top). */
.cj-404__why > .wp-block-group { padding-top: var(--cj-section) !important; padding-bottom: var(--cj-section) !important; }
/* 6. 11.: Lokafi logo in the same white circle as Google and Firmy.cz (smaller, so the square corners stay inside the circle). */
.cj-footer__review img[src*="lokafi"] { width: 20px; height: 20px; padding: 7px; }
/* 6. 11.: all review cards as wide as the widest one. */
.cj-footer__reviews { display: grid; grid-template-columns: max-content; }
.cj-footer__review { display: flex; }
.cj-review-sources img[src*="lokafi"] { border-radius: 5px; }
/* Course dates in the price table look (Marek 4. 11.): the link column keeps the normal size, the date stands out. */
.wp-block-table.cj-terminy td:last-child { font-size: inherit; font-weight: 400; }
.wp-block-table.cj-terminy td:first-child { font-weight: 800; color: var(--cj-navy); white-space: nowrap; }
/* Contact card alone on a tinted section keeps its width and sits in the middle under the centred heading (annotation 179, 4. 11.). */
.cj-content .wp-block-group.is-style-cj-tinted.is-layout-constrained > .cj-person-card { max-width: 720px; margin-left: auto !important; margin-right: auto !important; }

/* ---------- Annotations 5. 11. 2026 ---------- */
/* New icons on the homepage cards: simulator (198) and instalments (182, 183). */
.cj-ico-sim::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004F9F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='13' x='2' y='3' rx='2'/%3E%3Cpath d='M8 21h8M12 16v5'/%3E%3Ccircle cx='12' cy='9.5' r='3'/%3E%3C/svg%3E"); }
.cj-ico-wallet::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004F9F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1'/%3E%3Cpath d='M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4'/%3E%3C/svg%3E"); }
/* Six cards as 3 × 2 on wide screens, no empty gap (199 homepage courses, 263 ceník totals). */
.wp-block-columns.is-style-cj-cards.cj-cards--3:not(.cj-reviews) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .wp-block-columns.is-style-cj-cards.cj-cards--3:not(.cj-reviews) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .wp-block-columns.is-style-cj-cards.cj-cards--3:not(.cj-reviews) { grid-template-columns: minmax(0, 1fr); } }
/* Exactly four small cost cards: one row of four, 2 × 2 on tablets (238 autobus, 262 ceník). */
.wp-block-columns.cj-cost-cards:has(> .cj-cost-card:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .wp-block-columns.cj-cost-cards:has(> .cj-cost-card:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .wp-block-columns.cj-cost-cards:has(> .cj-cost-card:nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); } }
/* Four photo tick cards in one row, 2 × 2 below (266 O nás, Učebny). */
.wp-block-columns.cj-tick-cards.cj-tick-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .wp-block-columns.cj-tick-cards.cj-tick-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .wp-block-columns.cj-tick-cards.cj-tick-cards--4 { grid-template-columns: minmax(0, 1fr); } }
/* Subheading between the course prices and the extra costs (272 Autoškola). */
.cj-cost-cards + .wp-block-heading { text-align: center; margin: 1.6em 0 0; }
/* Four big price cards as 2 × 2, not 3 + 1 (ceník, next to annotation 262). */
.wp-block-columns.cj-price-cards:has(> .wp-block-column:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px !important; }
@media (max-width: 640px) { .wp-block-columns.cj-price-cards:has(> .wp-block-column:nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); } }
/* Five steps in one row from 900 px up, not 4 + 1 (annotation 219, Řidičák na auto). */
@media (min-width: 900px) { .wp-block-columns.is-style-cj-steps:has(> .wp-block-column:nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Mobile menu, 6. 11. (Marek): mega menu with photos like on desktop, callback button inside the menu ---------- */
@media (max-width: 1080px) {
	.cj-nav__list > li.cj-mega.is-open > .sub-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; padding: 4px 0 18px; }
	.cj-nav .cj-mega .sub-menu > li { margin: 0; }
	.cj-nav .cj-mega .sub-menu > li.cj-mega__intro { grid-column: 1 / -1; }
	.cj-nav .cj-mega .sub-menu a.cj-mega__intro-link { display: block; padding: 12px 16px; background: var(--cj-pale-20); border-radius: var(--cj-r-md); color: var(--cj-azure-text); font-weight: 800; }
	.cj-nav .cj-mega .sub-menu a.cj-mega__link { display: flex; flex-direction: column; padding: 0; background: none; color: var(--cj-ink); white-space: normal; }
	.cj-nav .cj-mega .cj-mega__photo { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--cj-r-md); background: var(--cj-pale-20); }
	.cj-nav .cj-mega .cj-mega__img { display: block; width: 100%; height: 100%; object-fit: cover; }
	/* Vehicle renders: same scale and ground line as on desktop. */
	.cj-mega__photo--vehicle { --cj-veh-w: 92%; }
	.cj-mega__photo--fabia { --cj-veh-w: 66.8%; }
	.cj-mega__photo--daf { --cj-veh-w: 74.2%; }
	.cj-mega__photo--daf-privesem { --cj-veh-w: 91.6%; }
	.cj-nav .cj-mega .cj-mega__img--vehicle { position: absolute; left: 50%; bottom: 6%; width: var(--cj-veh-w); height: auto; transform: translateX(-50%); object-fit: contain; }
	.cj-mega__body { display: block; padding: 8px 2px 0; }
	.cj-mega__title { display: block; font-weight: 800; color: var(--cj-navy); line-height: 1.25; font-size: 0.9375rem; }
	.cj-mega__meta { display: block; margin-top: 6px; }
	.cj-mega__price { display: none; }
	.cj-mega__len { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--cj-pale); color: var(--cj-navy); font-size: var(--cj-fs-xs); font-weight: 700; }
	/* Callback: the floating button would cover the open menu, the menu has its own button under Přihláška. */
	html:has(.cj-header.is-open) .cj-quick-fab { display: none; }
	.cj-nav__quick { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
	.cj-nav__quick .cj-icon { color: var(--cj-azure); }
}
@media (min-width: 1081px) {
	.cj-nav__quick { display: none !important; }
}

/* 6. 11.: a pale first section right under a plain hero continues the hero band (Obchodní podmínky: link cards in the hero). */
.cj-hero--plain + .cj-content > .wp-block-group.is-style-cj-tinted:first-child { padding-top: 0; }
.cj-hero--plain + .cj-content > .wp-block-group.is-style-cj-tinted:first-child .is-style-cj-cards > .wp-block-column { background: #fff; }
/* Terms: less room above "Všeobecné obchodní podmínky a školní řád autoškoly". */
#podminky-kurzu { padding-top: clamp(32px, 4vw, 48px); }
.cj-hero--plain:has(+ .cj-content > .wp-block-group.is-style-cj-tinted:first-child) .cj-hero__inner { padding-bottom: 8px; }
.cj-hero--plain + .cj-content > .wp-block-group.is-style-cj-tinted:first-child { padding-bottom: clamp(32px, 4vw, 56px); }
/* 6. 11.: mobile hero, smaller gap above the buttons (in the flex column the perex and button margins add up). */
@media (max-width: 900px) {
	.cj-hero .cj-hero__perex { margin-bottom: 16px; }
	.cj-hero .cj-hero__inner .cj-hero__actions { margin-top: 0; }
}
/* 6. 11. (Marek): no fact pills (price, length…) on the hero photo on phones. */
@media (max-width: 900px) {
	.cj-hero .cj-hero__media .cj-facts--photo { display: none; }
}
/* 6. 11. (Marek): on phones the keyword line fits on one line more often (tighter letters, shorter dash);
   a long one wraps normally, so the first line uses the full width (h1 balance split it into two short halves). */
@media (max-width: 600px) {
	.cj-eyebrow, .is-style-cj-eyebrow { letter-spacing: 0.08em; gap: 6px; text-wrap: wrap; }
	.cj-eyebrow::before, .is-style-cj-eyebrow::before { width: 14px; flex: 0 0 auto; }
}

/* 6. 11. (Marek): tables follow the design system everywhere: no outline strokes or row lines, rows told apart by striping. */
.wp-block-table th, .wp-block-table td { border: 0 !important; }
.wp-block-table thead th { background: var(--cj-pale); color: var(--cj-navy-deep); border: 0; }
.wp-block-table tbody tr:nth-child(even) td { background: var(--cj-pale-20); }
.wp-block-table table { border-radius: var(--cj-r-md); overflow: hidden; background: #fff; }
.wp-block-table.is-style-cj-pricelist { border: 0; border-radius: var(--cj-r-lg); overflow: hidden; }
.wp-block-table.is-style-cj-pricelist figcaption { border-top: 0; }
@media (max-width: 640px) {
	/* Phones: each row is a card; cards alternate white and pale instead of lines and an outline. */
	.wp-block-table tr { border: 0 !important; border-radius: var(--cj-r-md); background: #fff; }
	.wp-block-table tbody tr:nth-child(even) { background: var(--cj-pale-20); }
	.wp-block-table tbody tr:nth-child(even) td { background: none; }
	.wp-block-table table { border-radius: var(--cj-r-lg); }
}
/* 6. 11.: tags stay readable on the stronger blue card. */
.is-style-cj-section .cj-price-cards > .cj-price-card .cj-price__tags > * { background: #fff; }

/* 6. 11. (Marek): article boxes keep the side gutter on phones (the box padding replaced the content gutter, so they ran edge to edge). */
.cj-content--article > .cj-article__cta,
.cj-content--article > .cj-article__author { box-sizing: border-box; width: calc(100% - 2 * var(--cj-gutter)); max-width: var(--cj-text-w); margin-left: auto; margin-right: auto; }
/* Author box above the CTA: photo, name, role and short bio (SEO authority, Person schema). */
.cj-article__author { display: flex; gap: 18px; align-items: flex-start; margin-top: 48px; padding: 22px 24px; background: var(--cj-grey-blue-20); border-radius: var(--cj-r-md); }
.cj-article__author + .cj-article__cta { margin-top: 16px; }
.cj-article__author-img { flex: 0 0 auto; width: 84px !important; height: 84px !important; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.cj-article__author-text p { margin: 0; }
.cj-article__author-label { font-size: var(--cj-fs-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cj-azure-text); }
.cj-article__author-name { font-size: var(--cj-fs-lg); font-weight: 800; color: var(--cj-navy); line-height: 1.3; margin-top: 2px !important; }
.cj-article__author-name a { color: inherit; text-decoration: none; }
.cj-article__author-name a:hover { color: var(--cj-azure-text); }
.cj-article__author-role { font-size: var(--cj-fs-sm); font-weight: 600; color: var(--cj-muted); }
.cj-article__author-bio { margin-top: 8px !important; color: var(--cj-text); line-height: 1.55; }
@media (max-width: 480px) {
	.cj-article__author { padding: 18px; gap: 14px; }
	.cj-article__author-img { width: 64px !important; height: 64px !important; }
}

/* 6. 11. (Marek): blog list. The plain .cj-section wrapper had no padding, so the chips stuck to the hero. Chips and cards without outlines (design system). */
.cj-content > section.cj-section.cj-wrap { padding-top: clamp(28px, 4vw, 48px); padding-bottom: var(--cj-section); }
.cj-chips a { border: 0; background: var(--cj-pale-20); color: var(--cj-navy); }
.cj-chips a:hover { background: var(--cj-pale); color: var(--cj-navy-deep); }
.cj-chips a[aria-current] { background: var(--cj-navy); color: #fff; }
.cj-post-card { border: 0; background: var(--cj-pale-20); }
.cj-post-card:hover { border-color: transparent; }

/* 6. 11. (Marek): remaining outlines replaced by surfaces (minimal design system). */
.cj-price-card--featured { outline: 0; }
.is-style-cj-section .cj-price-cards > .cj-price-card--featured { background: linear-gradient(180deg, #BFE8F7 0%, #D8F2FB 100%); }
.is-style-cj-tinted .cj-price-cards > .cj-price-card--featured { background: var(--cj-pale); }
.is-style-cj-tinted .cj-price-cards > .cj-price-card--featured .cj-price__tag { background: #fff; }
.is-style-cj-note { border-left: 0; border-radius: var(--cj-r-sm); }
.cj-insta__card { border: 0; }
.nav-links .page-numbers { border: 0; background: var(--cj-pale-20); color: var(--cj-navy); }
.nav-links .page-numbers.current { background: var(--cj-navy); color: #fff; }
.nav-links a.page-numbers:hover { background: var(--cj-pale); }
/* 6. 11.: article detail, photo inside the hero band under the title; date at the end of the article. */
.cj-article .cj-hero__text { width: 100%; max-width: var(--cj-text-w); margin: 0 auto; }
.cj-article .cj-hero .cj-article__img { margin: 0; }
.cj-article .cj-hero .cj-article__img img { margin: 8px 0 0; }
.cj-article .cj-hero .cj-hero__title { margin-bottom: 0.5em; }
.cj-article .cj-content--article { padding-top: clamp(28px, 4vw, 48px); }
.cj-content--article > .cj-article__date { margin-top: 40px; font-size: var(--cj-fs-sm); color: var(--cj-muted); }
.cj-content--article > .cj-article__date + .cj-article__author { margin-top: 16px; }
.cj-article .cj-content--article > :first-child { margin-top: 0 !important; }
/* 6. 11.: choice pills (forms, voucher discount) without outlines; unselected = pale surface, selected = navy. */
.cj-choice label { border: 0 !important; background: var(--cj-pale-20); }
.cj-choice label:hover { background: var(--cj-pale); }
.cj-choice label:has(input:checked) { background: var(--cj-navy); color: #fff; }
.cj-choice label:has(input:checked) input { accent-color: #fff; }

/* 6. 11. (Marek): form choices open as our own pop-up on every device (the call-back popup keeps its inner panel). */
.cj-picker { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; }
.cj-picker[hidden] { display: none; }
.cj-picker__backdrop { position: absolute; inset: 0; background: rgba(0, 27, 56, 0.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.cj-picker__box { position: relative; width: min(520px, 100%); max-height: 86dvh; display: flex; flex-direction: column; border-radius: var(--cj-r-lg); background: #fff; box-shadow: 0 30px 60px rgba(0, 27, 56, 0.35); overflow: hidden; animation: cj-pop 0.22s var(--cj-ease); }
.cj-picker .cj-select-panel { position: relative; inset: auto; min-height: 0; max-height: 86dvh; }
.cj-picker .cj-select__list { overflow-y: auto; overscroll-behavior: contain; }
/* 6. 11. (Marek): office card photo across the full card width on phones. */
@media (max-width: 700px) {
	.cj-person-card__photo, .cj-person-card__photo img { width: 100% !important; max-width: none !important; }
}
/* 6. 11.: blog categories in the hero band (white chips on the pale band). */
.cj-hero .cj-chips { margin: 22px 0 0; }
.cj-hero .cj-chips a:not([aria-current]) { background: #fff; }
.cj-hero .cj-chips a:not([aria-current]):hover { background: var(--cj-pale); }
/* 6. 11. (Marek): blog pagination centred on every device. */
.nav-links, .navigation.pagination .nav-links { justify-content: center; flex-wrap: wrap; }
/* 6. 11. (Marek): article text lines up with the headings (the general paragraph cap shifted it 40 px in), smaller gap under the closing CTA. */
.cj-content--article > p,
.cj-content--article > .wp-block-list,
.cj-content--article > ul,
.cj-content--article > ol { max-width: calc(var(--cj-text-w) + 2 * var(--cj-gutter)); }
.cj-article .cj-content--article { padding-bottom: clamp(32px, 4vw, 56px); }
.cj-content.cj-content--article > h2 + p, .cj-content.cj-content--article > h3 + p { max-width: calc(var(--cj-text-w) + 2 * var(--cj-gutter)); }
/* 6. 11. (Marek): article CTA with the whole-team photo, like the closing section of the homepage. */
.cj-article__cta {
	text-align: center; padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 48px);
	background:
		radial-gradient(ellipse 60% 62% at 50% 50%, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 100%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(238, 249, 253, 0.6) 100%),
		url("../img/cta-tym.webp") center 55% / cover no-repeat;
	border-radius: var(--cj-r-lg);
}
.cj-article__cta .cj-btn { margin: 14px 5px 0; }
@media (max-width: 700px) {
	.cj-article__cta {
		background:
			radial-gradient(ellipse 90% 60% at 50% 50%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.55) 55%, rgba(255, 255, 255, 0) 100%),
			linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(238, 249, 253, 0.62) 100%),
			url("../img/cta-tym.webp") center 55% / cover no-repeat;
	}
}
/* 6. 11.: videos and photos inside article text. */
.cj-embed { margin: 28px 0; }
.cj-embed iframe { display: block; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; border: 0; border-radius: var(--cj-r-md); background: #000; }
.cj-embed--short iframe { width: min(100%, 360px) !important; aspect-ratio: 9 / 16; margin: 0 auto; }
.cj-content--article img:not(.cj-article__author-img) { max-width: 100%; height: auto; border-radius: var(--cj-r-md); }
.cj-content--article .wp-caption, .cj-content--article figure.wp-block-image { max-width: 100% !important; margin: 28px 0; }
.cj-content--article .wp-caption-text, .cj-content--article figcaption { font-size: var(--cj-fs-sm); color: var(--cj-muted); margin-top: 8px; }
.cj-content--article .aligncenter { display: block; margin-left: auto; margin-right: auto; }
/* 6. 11.: the article CTA is the first child of its own .cj-content, which cut its top padding; same padding as on the homepage. */
.cj-article .cj-content > .wp-block-group.is-style-cj-cta:first-child { padding-top: clamp(96px, 13vw, 190px); }
/* 6. 11. (Marek): under the 2 × 2 price cards the fee cards keep the same 860 px width (the 3-card rule stretched them to the full page). */
.wp-block-columns.cj-price-cards:has(> .wp-block-column:nth-child(4):last-child) ~ .cj-cost-cards { max-width: 860px !important; }

/* People grid with at most 3 people: fill the row instead of leaving empty slots on the right (6. 11., team on O nás) */
.wp-block-columns.is-style-cj-people:not(:has(> .wp-block-column:nth-child(4))) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); max-width: 1000px; margin-inline: auto; }

/* Single photo straight in a section (O nás „Vedení autoškoly“, 12. 11.): centred, full content width up to 1000 px, gap under the lead */
.wp-block-group.alignfull > figure.wp-block-image.is-style-cj-photo { max-width: 1000px; margin: 2em auto 0 !important; }
.wp-block-group.alignfull > figure.wp-block-image.is-style-cj-photo img { width: 100%; height: auto; }
