:root {
	--ux-brand-blue: #0077b9;
	--ux-brand-blue-deep: #0b538b;
	--ux-navy: #003c63;
	--ux-ink: #1f2933;
	--ux-yellow: #ffdd77;
	--ux-yellow-hover: #f4cf55;
	--ux-background: #ffffff;
	--ux-surface: #ffffff;
	--ux-surface-muted: #f1f5f8;
	--ux-text-secondary: #3e4c59;
	--ux-border: #c9d4de;
	--ux-tint-blue: #e9f1f8;
	--ux-tint-mint: #e4f1ec;
	--ux-tint-peach: #fff3d9;
	--ux-success: #2e9c6a;
	--ux-danger: #d8543f;
	--ux-radius-sm: 8px;
	--ux-radius-md: 12px;
	--ux-radius-lg: 16px;
	--ux-radius-pill: 999px;
	--ux-shadow-sm: 0 2px 8px rgba(11, 58, 87, 0.07);
	--ux-shadow-md: 0 10px 28px rgba(11, 58, 87, 0.1);
	--ux-shadow-lg: 0 24px 60px rgba(11, 58, 87, 0.14);
	--ux-shadow-yellow: 0 8px 20px rgba(244, 207, 85, 0.35);
	--ux-ease: cubic-bezier(0.2, 0.7, 0.3, 1);
	--ux-header-height: 72px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--ux-header-height) + 24px);
}

body {
	overflow-x: hidden;
}

body,
.editor-styles-wrapper {
	background: var(--ux-background);
	color: var(--ux-ink);
}

img {
	height: auto;
	max-width: 100%;
}

a {
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

a,
button,
input,
select,
textarea,
summary {
	transition:
		color 180ms var(--ux-ease),
		background-color 180ms var(--ux-ease),
		border-color 180ms var(--ux-ease),
		box-shadow 180ms var(--ux-ease),
		transform 180ms var(--ux-ease);
}

:where(a, button, input, select, textarea, summary):focus-visible {
	border-radius: 4px;
	outline: 3px solid rgba(0, 119, 185, 0.35);
	outline-offset: 3px;
}

.wp-site-blocks {
	padding: 0;
}

.ux-section {
	padding-block: clamp(64px, 8vw, 96px);
}

.ux-content-page {
	min-height: 65dvh;
}

.ux-section-heading {
	margin-bottom: clamp(32px, 5vw, 56px);
}

.ux-section-heading--center > * {
	margin-left: auto;
	margin-right: auto;
}

.ux-section-heading p {
	max-width: 68ch;
}

.ux-eyebrow {
	color: var(--ux-brand-blue);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.ux-card {
	background: var(--ux-surface);
	border: 1px solid var(--ux-border);
	border-radius: var(--ux-radius-md);
	box-shadow: var(--ux-shadow-sm);
	padding: clamp(24px, 3vw, 36px);
}

/* ============================================================
   OBSAHOVÉ BOXY — univerzální sada pro všechny kapitoly i landing page
   Použití: <div class="ux-box ux-box--blue"> … </div>
   Varianty: --blue (výchozí info), --mint (tip / pozitivní),
             --yellow (zvýraznění / úkol), --gray (neutrální),
             --warning (upozornění, do červena)
   Volitelný štítek nahoře: <span class="ux-box__label">Tip</span>
   ============================================================ */

.ux-box {
	background: var(--ux-tint-blue);
	border-radius: var(--ux-radius-md);
	padding: clamp(20px, 2.6vw, 28px);
	margin-block: 24px;
}

.ux-box > :first-child {
	margin-top: 0;
}

.ux-box > :last-child {
	margin-bottom: 0;
}

.ux-box h3,
.ux-box h4 {
	font-family: var(--wp--preset--font-family--display);
	margin-bottom: 10px;
}

.ux-box__label {
	border-radius: var(--ux-radius-sm);
	display: inline-block;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin-bottom: 10px;
	padding: 3px 11px;
	text-transform: uppercase;
}

.ux-box--blue {
	background: var(--ux-tint-blue);
}

.ux-box--blue .ux-box__label {
	background: var(--ux-brand-blue);
	color: #fff;
}

.ux-box--mint {
	background: var(--ux-tint-mint);
}

.ux-box--mint .ux-box__label {
	background: var(--ux-success);
	color: #fff;
}

.ux-box--yellow {
	background: var(--ux-tint-peach);
}

.ux-box--yellow .ux-box__label {
	background: var(--ux-yellow);
	color: var(--ux-ink);
}

.ux-box--gray {
	background: var(--ux-surface-muted);
}

.ux-box--gray .ux-box__label {
	background: var(--ux-ink);
	color: #fff;
}

.ux-box--warning {
	background: #fdecea;
}

.ux-box--warning .ux-box__label {
	background: var(--ux-danger);
	color: #fff;
}

/* ============================================================
   NADPISY V OBSAHU LEKCE — zarovnané k levému okraji jako odstavce,
   pevné velikosti (minimum na mobilu, na desktopu povyrostou),
   větší mezery, ať obsah nedýchá slitě
   ============================================================ */

.ux-lesson__content .wp-block-heading,
.ux-lesson__content h1,
.ux-lesson__content h2,
.ux-lesson__content h3,
.ux-lesson__content h4 {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	text-align: left;
}

.ux-lesson__content .wp-block-post-title {
	font-size: clamp(30px, 1.6rem + 0.8vw, 34px);
	line-height: 1.15;
	margin-bottom: 0.5em;
}

.ux-lesson__content h2,
.ux-lesson__content .wp-block-heading.has-h-2-font-size {
	font-size: clamp(20px, 1.15rem + 0.3vw, 22px);
	line-height: 1.3;
	margin-top: 1.7em;
	margin-bottom: 0.45em;
}

.ux-lesson__content h3,
.ux-lesson__content .wp-block-heading.has-h-3-font-size {
	font-size: clamp(18px, 1rem + 0.2vw, 19px);
	line-height: 1.35;
	margin-top: 1.5em;
	margin-bottom: 0.35em;
}

.ux-lesson__content h4 {
	font-size: 17px;
	line-height: 1.4;
	margin-top: 1.3em;
	margin-bottom: 0.3em;
}

/* Sekce "Materiály k lekci" skrytá napevno — kdyby zůstala v šabloně
   uložené v editoru webu, tímto ji spolehlivě schováme */
.ux-lesson-downloads {
	display: none !important;
}

.ux-info-bar {
	border-radius: var(--ux-radius-sm);
	color: var(--ux-ink);
	font-size: 1rem;
	padding: 14px 18px;
}

.wp-block-button__link {
	box-shadow: var(--ux-shadow-yellow);
	white-space: nowrap;
}

.wp-block-button__link:hover {
	background: var(--ux-yellow-hover);
	color: var(--ux-ink);
	transform: translateY(-1px);
}

.wp-block-button__link:active {
	box-shadow: none;
	transform: scale(0.98);
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--ux-brand-blue);
	box-shadow: none;
	color: var(--ux-brand-blue);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--ux-tint-blue);
	color: var(--ux-brand-blue-deep);
}

.wp-block-button.ux-button--on-blue > .wp-block-button__link,
.wp-block-button.ux-button--on-dark > .wp-block-button__link {
	border-color: rgba(255, 255, 255, 0.65);
	color: var(--ux-surface);
}

.wp-block-button.ux-button--on-blue > .wp-block-button__link:hover,
.wp-block-button.ux-button--on-dark > .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--ux-surface);
}

.ux-site-header,
.ux-member-header {
	backdrop-filter: blur(14px);
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid rgba(11, 58, 87, 0.08);
	min-height: var(--ux-header-height);
	padding-block: 10px;
	position: sticky;
	top: 0;
	z-index: 20;
}

.ux-site-header__inner,
.ux-member-header__inner {
	min-height: 52px;
}

.ux-brand {
	gap: 10px;
}

.ux-brand__mark {
	align-items: center;
	background: var(--ux-navy);
	border-radius: 5px;
	color: var(--ux-yellow);
	display: inline-flex;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-weight: 800;
	height: 28px;
	justify-content: center;
	line-height: 1;
	margin: 0;
	width: 28px;
}

.ux-brand__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-weight: 700;
	margin: 0;
	white-space: nowrap;
}

.ux-brand__title a {
	color: var(--ux-ink);
	text-decoration: none;
}

.ux-main-nav a {
	color: var(--ux-ink);
	text-decoration: none;
	white-space: nowrap;
}

.ux-main-nav a:hover {
	color: var(--ux-brand-blue);
}

.ux-header-cta {
	flex-shrink: 0;
}

.ux-header-cta .wp-block-button__link {
	font-size: 1rem;
	padding: 0.72rem 1.1rem;
}

.ux-site-footer {
	padding-block: 64px 28px;
}

.ux-site-footer h3 {
	margin-top: 0;
}

.ux-brand--footer .ux-brand__mark {
	background: var(--ux-yellow);
	color: var(--ux-navy);
}

.ux-brand--footer .ux-brand__title a {
	color: var(--ux-surface);
}

.ux-footer-copy {
	max-width: 40ch;
}

.ux-site-footer a {
	color: #d7e7f3;
}

.ux-site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	margin-top: 48px;
	padding-top: 20px;
}

.ux-hero {
	padding-block: clamp(28px, 5vw, 64px) clamp(72px, 9vw, 112px);
}

.ux-hero__grid {
	background:
		radial-gradient(circle, rgba(0, 119, 185, 0.11) 1px, transparent 1px)
		0 0 / 24px 24px,
		var(--ux-surface-muted);
	border: 1px solid rgba(11, 58, 87, 0.05);
	border-radius: var(--ux-radius-lg);
	min-height: min(650px, calc(100dvh - var(--ux-header-height) - 56px));
	padding: clamp(28px, 5vw, 64px);
}

.ux-hero__content h1 {
	max-width: 15ch;
}

.ux-hero__lead {
	max-width: 52ch;
}

.ux-hero__actions {
	margin-block: 28px 24px;
}

.ux-hero__visual {
	padding-left: clamp(0px, 3vw, 40px);
}

.ux-toggle-demo {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-weight: 700;
	gap: 12px;
	margin-bottom: 16px;
}

.ux-toggle-demo p {
	margin: 0;
}

.ux-toggle-demo__track {
	background: #edf3f7;
	border: 1px solid rgba(11, 58, 87, 0.08);
	border-radius: var(--ux-radius-pill);
	display: inline-flex;
	gap: 4px;
	padding: 4px;
}

.ux-toggle-demo__track span,
.ux-toggle-demo__track strong {
	border-radius: var(--ux-radius-pill);
	padding: 6px 10px;
}

.ux-toggle-demo__track strong {
	background: var(--ux-surface);
	box-shadow: var(--ux-shadow-sm);
	color: var(--ux-brand-blue);
}

.ux-metric-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ux-metric-card {
	background: var(--ux-surface);
	border: 1px solid rgba(11, 58, 87, 0.06);
	border-radius: var(--ux-radius-sm);
	box-shadow: var(--ux-shadow-sm);
	min-height: 130px;
	padding: 18px;
}

.ux-metric-card__label {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 20px;
}

.ux-sparkline {
	border-bottom: 1px solid rgba(11, 58, 87, 0.18);
	height: 42px;
	overflow: hidden;
	position: relative;
}

.ux-sparkline::after {
	background: linear-gradient(180deg, rgba(0, 119, 185, 0.16), rgba(0, 119, 185, 0));
	bottom: 0;
	clip-path: polygon(0 68%, 28% 60%, 54% 64%, 74% 42%, 100% 26%, 100% 100%, 0 100%);
	content: "";
	inset-inline: 0;
	position: absolute;
	top: 0;
}

.ux-sparkline span {
	border-top: 2px solid var(--ux-brand-blue);
	display: block;
	left: 0;
	position: absolute;
	top: 58%;
	transform: rotate(-7deg);
	width: 100%;
}

.ux-sparkline--down span {
	top: 38%;
	transform: rotate(7deg);
}

.ux-sparkline--up span {
	top: 68%;
	transform: rotate(-11deg);
}

.ux-hero__caption {
	margin: 14px auto 0;
	max-width: 38ch;
}

.ux-checklist,
.ux-cross-list,
.ux-link-list {
	list-style: none;
	padding-left: 0;
}

.ux-checklist li,
.ux-cross-list li {
	padding-left: 28px;
	position: relative;
}

.ux-checklist li + li,
.ux-cross-list li + li {
	margin-top: 8px;
}

.ux-checklist li::before,
.ux-cross-list li::before {
	border-radius: 50%;
	content: "";
	height: 17px;
	left: 0;
	position: absolute;
	top: 0.34em;
	width: 17px;
}

.ux-checklist li::before {
	background: var(--ux-success);
}

.ux-checklist li::after {
	border-bottom: 2px solid #fff;
	border-right: 2px solid #fff;
	content: "";
	height: 8px;
	left: 6px;
	position: absolute;
	top: 0.46em;
	transform: rotate(42deg);
	width: 4px;
}

.ux-cross-list li::before {
	border: 1.5px solid rgba(216, 84, 63, 0.6);
	background:
		linear-gradient(45deg, transparent 44%, var(--ux-danger) 44%, var(--ux-danger) 56%, transparent 56%),
		linear-gradient(-45deg, transparent 44%, var(--ux-danger) 44%, var(--ux-danger) 56%, transparent 56%);
}

.ux-checklist--compact {
	font-size: 1rem;
}

.ux-checklist--on-dark li::before {
	background: var(--ux-yellow);
}

.ux-checklist--on-dark li::after {
	border-color: var(--ux-navy);
}

.ux-problem__grid {
	gap: clamp(32px, 7vw, 88px);
}

.ux-signal-panel,
.ux-origin__deliverables,
.ux-member-support {
	border-radius: var(--ux-radius-lg);
	padding: clamp(28px, 4vw, 44px);
}

.ux-mini-quote {
	background: rgba(255, 255, 255, 0.08);
	border: 0;
	border-radius: var(--ux-radius-sm);
	color: #d7e7f3;
	font-size: 1rem;
	margin: 24px 0 0;
	padding: 18px;
}

.ux-mini-quote cite {
	color: #b7cede;
	font-size: 1rem;
}

.ux-process {
	align-items: flex-start;
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-bottom: 44px;
	position: relative;
}

.ux-process::before {
	background: rgba(0, 119, 185, 0.25);
	content: "";
	height: 2px;
	left: 10%;
	position: absolute;
	right: 10%;
	top: 28px;
}

.ux-process__item {
	position: relative;
	text-align: center;
	z-index: 1;
}

.ux-process__item p {
	margin: 8px 0 0;
}

.ux-process__icon,
.ux-member-step__number {
	align-items: center;
	background: var(--ux-tint-blue);
	border: 1px solid rgba(0, 119, 185, 0.22);
	border-radius: var(--ux-radius-sm);
	color: var(--ux-brand-blue-deep);
	display: inline-flex;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-weight: 800;
	height: 56px;
	justify-content: center;
	width: 56px;
}

.ux-process__icon--mint {
	background: var(--ux-tint-mint);
	border-color: rgba(46, 156, 106, 0.32);
}

.ux-process__icon--peach {
	background: var(--ux-tint-peach);
	border-color: rgba(216, 84, 63, 0.24);
}

.ux-process__icon--yellow {
	background: var(--ux-yellow);
	border-color: rgba(244, 207, 85, 0.72);
}

.ux-outcomes {
	padding: clamp(28px, 4vw, 48px);
}

.ux-origin__story {
	gap: 24px;
}

.ux-media-stack {
	display: grid;
	gap: 16px;
}

.ux-media-placeholder {
	align-items: center;
	background:
		linear-gradient(135deg, rgba(220, 234, 246, 0.74), rgba(255, 255, 255, 0.95));
	border: 1px dashed rgba(0, 119, 185, 0.35);
	border-radius: var(--ux-radius-md);
	display: flex;
	justify-content: center;
	min-height: 230px;
	padding: 32px;
}

.ux-media-placeholder p {
	margin-bottom: 8px;
}

.ux-media-placeholder--portrait {
	aspect-ratio: 4 / 5;
	min-height: 0;
}

.ux-origin__copy,
.ux-origin__deliverables {
	margin-bottom: 16px;
}

.ux-testimonials {
	margin-top: 64px;
}

.ux-testimonials__grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ux-testimonial {
	margin: 0;
}

.ux-testimonial::before {
	color: var(--ux-yellow-hover);
	content: "★★★★★";
	display: block;
	font-size: 1rem;
	letter-spacing: 0.08em;
	margin-bottom: 12px;
}

.ux-testimonial cite {
	color: var(--ux-brand-blue-deep);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-style: normal;
	font-weight: 700;
}

.ux-curriculum {
	padding-block: clamp(72px, 9vw, 112px);
}

.ux-curriculum-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ux-module-card {
	background: var(--ux-surface);
	border: 1px solid var(--ux-border);
	border-radius: var(--ux-radius-md);
	box-shadow: var(--ux-shadow-sm);
	color: var(--ux-ink);
	display: flex;
	flex-direction: column;
	min-height: 265px;
	padding: 24px;
	position: relative;
}

.ux-module-card__label {
	color: var(--ux-brand-blue-deep);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	margin: 0 0 12px;
}

.ux-module-card h3 {
	font-size: 1.05rem;
}

.ux-module-card p {
	font-size: 1rem;
}

.ux-module-card__gain {
	border-top: 1px solid var(--ux-border);
	margin-top: auto;
	padding-top: 14px;
}

.ux-tools-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ux-tool-card {
	background: var(--ux-surface);
	border: 1px solid var(--ux-border);
	border-radius: var(--ux-radius-sm);
	min-height: 180px;
	padding: 18px;
}

.ux-tool-card__mark {
	align-items: center;
	background: var(--ux-tint-blue);
	border-radius: 7px;
	color: var(--ux-brand-blue-deep);
	display: inline-flex;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-weight: 800;
	height: 28px;
	justify-content: center;
	margin: 0 0 14px;
	width: 28px;
}

.ux-tool-card h3 {
	font-size: 1rem !important;
	margin-bottom: 8px;
}

.ux-tool-card p:last-child {
	color: var(--ux-text-secondary);
	margin-bottom: 0;
}

.ux-tools .ux-info-bar {
	margin-top: 28px;
}

.ux-case-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

.ux-case-card {
	background: var(--ux-surface);
	border: 1px solid var(--ux-border);
	border-radius: var(--ux-radius-md);
	padding: 28px;
}

.ux-case-card--featured {
	grid-row: span 2;
}

.ux-case-card--mint {
	background: var(--ux-tint-mint);
	border-color: rgba(46, 156, 106, 0.32);
}

.ux-case-card--peach {
	background: var(--ux-tint-peach);
	border-color: rgba(229, 165, 59, 0.36);
}

.ux-case-card__label {
	color: var(--ux-brand-blue-deep);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.ux-result-box {
	background: var(--ux-tint-mint);
	border: 1px solid rgba(46, 156, 106, 0.34);
	border-radius: var(--ux-radius-sm);
	margin-top: 26px;
	padding: 18px;
}

.ux-audience__grid {
	gap: 24px;
}

.ux-audience-card {
	height: 100%;
}

.ux-audience-card--fit {
	background: var(--ux-tint-mint);
}

.ux-audience-card--not-fit {
	background: var(--ux-surface-muted);
}

.ux-audience-card__note,
.ux-audience-card__cta {
	border-radius: var(--ux-radius-sm);
	margin-top: 28px;
	padding: 20px;
}

.ux-author__grid {
	gap: clamp(36px, 7vw, 88px);
}

.ux-pricing__grid {
	gap: 18px;
	margin-left: auto;
	margin-right: auto;
	max-width: 880px;
}

.ux-price-card,
.ux-price-includes {
	height: 100%;
}

.ux-price-card {
	border-radius: var(--ux-radius-lg);
	box-shadow: var(--ux-shadow-lg);
	overflow: hidden;
	padding: clamp(28px, 4vw, 44px);
	position: relative;
}

.ux-price-card::after {
	background: rgba(255, 255, 255, 0.06);
	border-radius: 50%;
	content: "";
	height: 180px;
	position: absolute;
	right: -52px;
	top: -72px;
	width: 180px;
}

.ux-price-card__price {
	font-size: clamp(2.6rem, 5vw, 4rem) !important;
	margin-bottom: 0;
}

.ux-price-card__value {
	background: rgba(255, 221, 119, 0.1);
	border: 1px solid rgba(255, 221, 119, 0.18);
	border-radius: var(--ux-radius-sm);
	padding: 16px;
}

.ux-price-card__action {
	margin-top: 26px;
}

.ux-price-includes {
	padding: clamp(28px, 4vw, 44px);
}

.ux-faq__list {
	margin-top: 36px;
}

.ux-faq-item {
	background: var(--ux-surface);
	border: 1px solid var(--ux-border);
	border-radius: var(--ux-radius-sm);
	box-shadow: var(--ux-shadow-sm);
	padding: 0;
}

.ux-faq-item + .ux-faq-item {
	margin-top: 10px;
}

.ux-faq-item summary {
	cursor: pointer;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	list-style: none;
	padding: 20px 54px 20px 22px;
	position: relative;
}

.ux-faq-item summary::-webkit-details-marker {
	display: none;
}

.ux-faq-item summary::after {
	align-items: center;
	background: var(--ux-tint-blue);
	border-radius: 50%;
	color: var(--ux-brand-blue);
	content: "+";
	display: inline-flex;
	font-size: 1.15rem;
	height: 28px;
	justify-content: center;
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
}

.ux-faq-item[open] summary::after {
	content: "−";
}

.ux-faq-item > p {
	border-top: 1px solid var(--ux-border);
	margin: 0;
	padding: 18px 22px 22px;
}

.ux-final-cta {
	padding-block: clamp(72px, 9vw, 108px);
}

.ux-final-cta__inner p {
	max-width: 62ch;
}

.ux-member-dashboard,
.ux-course-library,
.ux-lesson {
	min-height: 70dvh;
}

.ux-member-welcome {
	margin-bottom: 44px;
}

.ux-member-dashboard__grid {
	gap: 24px;
}

.ux-continue-card {
	background:
		linear-gradient(135deg, rgba(220, 234, 246, 0.9), rgba(255, 255, 255, 1));
	margin-bottom: 36px;
}

.ux-member-steps {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ux-member-step {
	background: var(--ux-surface);
	border: 1px solid var(--ux-border);
	border-radius: var(--ux-radius-sm);
	padding: 20px;
}

.ux-member-step__number {
	height: 40px;
	margin: 0 0 14px;
	width: 40px;
}

.ux-member-downloads,
.ux-lesson-downloads {
	border-radius: var(--ux-radius-md);
	margin-top: 18px;
	padding: 24px;
}

.ux-link-list {
	margin-bottom: 0;
}

.ux-link-list li {
	border-bottom: 1px solid rgba(11, 58, 87, 0.12);
	padding-block: 10px;
}

.ux-link-list li:last-child {
	border-bottom: 0;
}

.ux-library-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ux-library-card {
	border: 1px solid var(--ux-border);
	border-radius: var(--ux-radius-md);
	padding: 28px;
}

.ux-library-card--blue {
	background: var(--ux-tint-blue);
}

.ux-library-card--mint {
	background: var(--ux-tint-mint);
}

.ux-library-card--peach {
	background: var(--ux-tint-peach);
}

.ux-member-plugin-content:empty,
.ux-member-plugin-content .wp-block-post-content:empty {
	display: none;
}

.ux-lesson__layout {
	align-items: flex-start;
	gap: clamp(28px, 5vw, 64px);
}

.ux-lesson__sidebar {
	position: sticky;
	top: calc(var(--ux-header-height) + 28px);
}

.ux-lesson__content .wp-block-embed,
.ux-lesson__content video {
	border-radius: var(--ux-radius-md);
	overflow: hidden;
}

.ux-lesson-downloads {
	background: var(--ux-surface-muted);
	margin-top: 48px;
}

.ux-locked-content {
	margin: 64px auto;
	max-width: 720px;
	padding: clamp(36px, 6vw, 64px);
}

.ux-locked-content__mark {
	align-items: center;
	background: var(--ux-navy);
	border-radius: var(--ux-radius-sm);
	color: var(--ux-yellow);
	display: flex;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	height: 52px;
	justify-content: center;
	margin: 0 auto 24px;
	width: 52px;
}

.ux-login-page {
	align-items: center;
	display: flex;
	min-height: 75dvh;
}

.ux-login-card {
	margin: 0 auto;
	max-width: 560px;
	padding: clamp(32px, 6vw, 56px);
	width: 100%;
}

.ux-login-card .ux-brand__mark {
	display: flex;
	margin: 0 auto 24px;
}

#loginform p {
	margin-bottom: 18px;
}

#loginform label {
	display: block;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 7px;
}

#loginform input[type="text"],
#loginform input[type="password"],
.ux-login-card input[type="email"],
.ux-login-card input[type="text"],
.ux-login-card input[type="password"],
.mp_wrapper input[type="email"],
.mp_wrapper input[type="text"],
.mp_wrapper input[type="password"],
.pmpro input[type="email"],
.pmpro input[type="text"],
.pmpro input[type="password"] {
	background: var(--ux-surface);
	border: 1px solid #9aabb7;
	border-radius: var(--ux-radius-sm);
	color: var(--ux-ink);
	font: inherit;
	min-height: 48px;
	padding: 10px 14px;
	width: 100%;
}

#loginform input[type="text"]:focus,
#loginform input[type="password"]:focus,
.ux-login-card input:focus,
.mp_wrapper input:focus,
.pmpro input:focus {
	border-color: var(--ux-brand-blue);
	box-shadow: 0 0 0 3px rgba(0, 119, 185, 0.18);
	outline: 0;
}

#loginform input[type="submit"],
.mp_wrapper input[type="submit"],
.pmpro input[type="submit"] {
	background: var(--ux-yellow);
	border: 0;
	border-radius: var(--ux-radius-pill);
	color: var(--ux-ink);
	cursor: pointer;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	min-height: 48px;
	padding: 10px 22px;
}

.ux-empty-state {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 70dvh;
	text-align: center;
}

.ux-post-grid {
	gap: 24px;
}

.ux-post-card .wp-block-post-featured-image {
	border-radius: var(--ux-radius-sm);
	overflow: hidden;
}

.ux-post-meta {
	color: var(--ux-text-secondary);
	font-size: 1rem;
}

@media (max-width: 980px) {
	.ux-main-nav {
		display: none;
	}

	.ux-tools-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ux-curriculum-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	:root {
		--ux-header-height: 64px;
	}

	.ux-section {
		padding-block: 64px;
	}

	.ux-site-header,
	.ux-member-header {
		min-height: var(--ux-header-height);
	}

	.ux-site-header__inner,
	.ux-member-header__inner {
		min-height: 44px;
	}

	.ux-main-nav {
		display: flex;
		margin-left: auto;
	}

	.ux-header-cta {
		display: none;
	}

	.ux-hero {
		padding-top: 20px;
	}

	.ux-hero__grid {
		min-height: auto;
		padding: 32px 24px;
	}

	.ux-hero__content h1 {
		max-width: 17ch;
	}

	.ux-hero__visual {
		padding-left: 0;
	}

	.ux-process {
		grid-template-columns: 1fr;
	}

	.ux-process::before {
		bottom: 10%;
		height: auto;
		left: 28px;
		right: auto;
		top: 10%;
		width: 2px;
	}

	.ux-process__item {
		align-items: center;
		display: grid;
		gap: 16px;
		grid-template-columns: 56px 1fr;
		text-align: left;
	}

	.ux-process__item p {
		margin: 0;
	}

	.ux-testimonials__grid,
	.ux-member-steps {
		grid-template-columns: 1fr;
	}

	.ux-case-grid {
		grid-template-columns: 1fr;
	}

	.ux-case-card--featured {
		grid-row: auto;
	}

	.ux-lesson__sidebar {
		position: static;
	}

	.ux-site-footer__grid {
		gap: 32px;
	}
}

@media (max-width: 640px) {
	.ux-section {
		padding-block: 52px;
	}

	.ux-brand__title {
		font-size: 1rem;
	}

	.ux-metric-grid,
	.ux-curriculum-grid,
	.ux-library-grid {
		grid-template-columns: 1fr;
	}

	.ux-tools-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ux-tool-card {
		min-height: 160px;
	}

	.ux-module-card {
		min-height: 0;
	}

	.ux-site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 420px) {
	.ux-tools-grid {
		grid-template-columns: 1fr;
	}

	.ux-hero__actions .wp-block-button,
	.ux-hero__actions .wp-block-button__link {
		width: 100%;
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}


/* ============================================================
   INTERAKTIVNÍ UX CHECKLIST (Modul 1)
   Obsah se vkládá HTML blokem, styly a chování dodává šablona.
   ============================================================ */

#ux-espresso-checklist {
	--uxe-hover: #eef2f6;
}

#ux-espresso-checklist a:not(.uxe-toc-chip) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

#ux-espresso-checklist .uxe-lede {
	color: var(--ux-text-secondary);
	font-size: var(--wp--preset--font-size--lead);
	margin: 0 0 36px;
	max-width: 64ch;
}

#ux-espresso-checklist .uxe-intro-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr 1fr;
	margin: 0 0 24px;
}

@media (max-width: 640px) {
	#ux-espresso-checklist .uxe-intro-grid {
		grid-template-columns: 1fr;
	}
}

#ux-espresso-checklist .uxe-intro-card {
	background: var(--ux-tint-blue);
	border-radius: var(--ux-radius-md);
	padding: 24px 26px;
}

#ux-espresso-checklist .uxe-intro-card h3 {
	font-size: 1.125rem;
	margin: 0 0 10px;
}

#ux-espresso-checklist .uxe-intro-card p,
#ux-espresso-checklist .uxe-intro-card li {
	color: var(--ux-text-secondary);
	font-size: 1rem;
	margin: 0;
}

#ux-espresso-checklist .uxe-intro-card ul {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
}

#ux-espresso-checklist .uxe-intro-card li {
	margin-bottom: 8px;
	padding-left: 28px;
	position: relative;
}

#ux-espresso-checklist .uxe-intro-card li::before {
	background: var(--ux-success);
	border-radius: 50%;
	content: "";
	height: 17px;
	left: 0;
	position: absolute;
	top: 0.34em;
	width: 17px;
}

#ux-espresso-checklist .uxe-intro-card li::after {
	border-bottom: 2px solid #fff;
	border-right: 2px solid #fff;
	content: "";
	height: 8px;
	left: 6px;
	position: absolute;
	top: 0.44em;
	transform: rotate(42deg);
	width: 4px;
}

#ux-espresso-checklist .uxe-kicker,
#ux-espresso-checklist .uxe-sec-kicker {
	background: var(--ux-yellow);
	border-radius: var(--ux-radius-sm);
	color: var(--ux-ink);
	display: inline-block;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin-bottom: 10px;
	padding: 3px 11px;
	text-transform: uppercase;
}

#ux-espresso-checklist .uxe-sec-kicker {
	background: var(--ux-tint-peach);
	margin-bottom: 6px;
}

#ux-espresso-checklist .uxe-warn {
	background: var(--ux-tint-peach);
	border-radius: var(--ux-radius-md);
	margin: 0 0 36px;
	padding: 24px 26px;
}

#ux-espresso-checklist .uxe-warn h3 {
	font-size: 1.125rem;
	margin: 0 0 10px;
}

#ux-espresso-checklist .uxe-warn p {
	font-size: 1rem;
	margin: 0 0 10px;
}

#ux-espresso-checklist .uxe-warn p:last-child {
	margin-bottom: 0;
}

#ux-espresso-checklist .uxe-toc {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
}

#ux-espresso-checklist .uxe-toc-chip {
	background: var(--ux-surface-muted);
	border: 1px solid var(--ux-border);
	border-radius: var(--ux-radius-pill);
	color: var(--ux-ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-weight: 600;
	padding: 8px 16px;
	text-decoration: none;
}

#ux-espresso-checklist .uxe-toc-chip:hover {
	background: var(--ux-tint-blue);
	border-color: var(--ux-brand-blue);
	color: var(--ux-ink);
}

#ux-espresso-checklist .uxe-bar {
	background: var(--ux-surface);
	border: 1px solid var(--ux-border);
	border-radius: var(--ux-radius-md);
	box-shadow: var(--ux-shadow-md);
	margin: 24px 0 40px;
	padding: 14px 18px;
	position: sticky;
	top: calc(var(--ux-header-height) + 12px);
	z-index: 15;
}

#ux-espresso-checklist .uxe-bar-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

#ux-espresso-checklist .uxe-bar-label {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-weight: 700;
	white-space: nowrap;
}

#ux-espresso-checklist .uxe-bar-count {
	color: var(--ux-text-secondary);
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

#ux-espresso-checklist .uxe-track {
	background: #dfe6ec;
	border-radius: var(--ux-radius-pill);
	flex: 1 1 180px;
	height: 10px;
	min-width: 130px;
	overflow: hidden;
}

#ux-espresso-checklist .uxe-fill {
	background: linear-gradient(90deg, var(--ux-brand-blue-deep), var(--ux-brand-blue));
	border-radius: var(--ux-radius-pill);
	height: 100%;
	transition: width 0.3s var(--ux-ease);
	width: 0%;
}

#ux-espresso-checklist .uxe-bar-actions {
	display: flex;
	gap: 8px;
	margin-left: auto;
}

#ux-espresso-checklist .uxe-btn {
	background: var(--ux-surface-muted);
	border: 1px solid var(--ux-border);
	border-radius: var(--ux-radius-pill);
	color: var(--ux-ink);
	cursor: pointer;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-weight: 700;
	padding: 8px 16px;
}

#ux-espresso-checklist .uxe-btn:hover {
	background: var(--ux-yellow);
	border-color: var(--ux-yellow);
}

#ux-espresso-checklist .uxe-btn[aria-pressed="true"] {
	background: var(--ux-ink);
	border-color: var(--ux-ink);
	color: #fff;
}

#ux-espresso-checklist .uxe-sec {
	border-bottom: 1px solid var(--ux-border);
	margin: 0 0 26px;
	padding: 8px 0 26px;
	scroll-margin-top: calc(var(--ux-header-height) + 88px);
}

#ux-espresso-checklist .uxe-sec:last-of-type {
	border-bottom: none;
}

#ux-espresso-checklist .uxe-sec-head {
	align-items: baseline;
	display: flex;
	gap: 12px;
	margin-bottom: 6px;
	padding-bottom: 6px;
}

#ux-espresso-checklist .uxe-sec-title {
	font-size: 1.5rem;
	margin: 0;
}

#ux-espresso-checklist .uxe-sec-count {
	background: var(--ux-surface-muted);
	border: 1px solid var(--ux-border);
	border-radius: var(--ux-radius-pill);
	color: var(--ux-text-secondary);
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
	margin-left: auto;
	padding: 4px 13px;
	white-space: nowrap;
}

#ux-espresso-checklist .uxe-sec-count.uxe-complete {
	background: var(--ux-success);
	border-color: var(--ux-success);
	color: #fff;
}

#ux-espresso-checklist .uxe-sec-sub {
	color: var(--ux-text-secondary);
	font-size: 1rem;
	margin: 4px 0 8px;
}

#ux-espresso-checklist .uxe-group {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.0625rem;
	font-weight: 700;
	margin: 22px 0 4px;
}

#ux-espresso-checklist .uxe-items {
	display: flex;
	flex-direction: column;
}

#ux-espresso-checklist .uxe-item {
	align-items: flex-start;
	border-radius: var(--ux-radius-sm);
	cursor: pointer;
	display: flex;
	gap: 13px;
	margin: 0;
	padding: 10px;
	transition: background 180ms var(--ux-ease);
}

#ux-espresso-checklist .uxe-item:hover {
	background: var(--uxe-hover);
}

#ux-espresso-checklist .uxe-check {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

#ux-espresso-checklist .uxe-box {
	background: var(--ux-surface);
	border: 1.5px solid var(--ux-success);
	border-radius: 50%;
	flex: 0 0 auto;
	height: 22px;
	margin-top: 3px;
	position: relative;
	transition: background 180ms var(--ux-ease);
	width: 22px;
}

#ux-espresso-checklist .uxe-box::after {
	border: solid #fff;
	border-width: 0 2px 2px 0;
	content: "";
	height: 10px;
	left: 7px;
	opacity: 0;
	position: absolute;
	top: 3px;
	transform: rotate(42deg);
	width: 5px;
}

#ux-espresso-checklist .uxe-check:checked + .uxe-box {
	background: var(--ux-success);
}

#ux-espresso-checklist .uxe-check:checked + .uxe-box::after {
	opacity: 1;
}

#ux-espresso-checklist .uxe-check:focus-visible + .uxe-box {
	border-radius: 50%;
	outline: 3px solid rgba(0, 119, 185, 0.35);
	outline-offset: 3px;
}

#ux-espresso-checklist .uxe-text {
	font-size: 1.0625rem;
}

#ux-espresso-checklist .uxe-check:checked ~ .uxe-text {
	color: var(--ux-text-secondary);
	opacity: 0.65;
	text-decoration: line-through;
	text-decoration-color: rgba(46, 156, 106, 0.5);
}

#ux-espresso-checklist.uxe-hide-done .uxe-item:has(.uxe-check:checked) {
	display: none;
}

#ux-espresso-checklist .uxe-up {
	display: inline-block;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-weight: 600;
	margin-top: 14px;
}

#ux-espresso-checklist .uxe-foot {
	border-top: 1px solid var(--ux-border);
	color: var(--ux-text-secondary);
	font-size: 1rem;
	margin-top: 12px;
	padding-top: 20px;
}

@media print {
	#ux-espresso-checklist .uxe-bar,
	#ux-espresso-checklist .uxe-toc,
	#ux-espresso-checklist .uxe-up {
		display: none !important;
	}

	/* Zalamovat lze uvnitř sekce, ale nikdy uvnitř položky.
	   Nadpis sekce drží u svého obsahu. */
	#ux-espresso-checklist .uxe-sec {
		break-inside: auto;
	}

	#ux-espresso-checklist .uxe-sec-head {
		break-after: avoid;
	}

	#ux-espresso-checklist .uxe-item,
	#ux-espresso-checklist .uxe-intro-card,
	#ux-espresso-checklist .uxe-warn {
		break-inside: avoid;
	}

	#ux-espresso-checklist .uxe-item {
		padding: 4px 0;
	}

	/* Prohlížeče netisknou pozadí: odškrtnutí značí zelená fajfka
	   v kroužku a přeškrtnutý text, funguje i černobíle. */
	#ux-espresso-checklist .uxe-box {
		background: transparent !important;
	}

	#ux-espresso-checklist .uxe-check:checked + .uxe-box::after {
		border-color: var(--ux-success);
	}

	/* Tónované boxy dostanou obrys, aby nesplynuly s papírem. */
	#ux-espresso-checklist .uxe-intro-card,
	#ux-espresso-checklist .uxe-warn {
		border: 1px solid #bbb;
	}

	#ux-espresso-checklist .uxe-kicker,
	#ux-espresso-checklist .uxe-sec-kicker {
		border: 1px solid #bbb;
	}

	/* Interaktivní prvky se tisknou jako běžný text. */
	#ux-espresso-checklist .uxe-item {
		cursor: auto;
	}
}
