/*
Theme Name: Pomoc Jak Założyć Sklep
Theme URI: https://pomoc.jakzalozycsklep.pl/
Author: JakZałożyćSklep.pl
Description: Chronione Centrum Pomocy ekosystemu JZS z poradnikami Gutenberga.
Version: 1.8.8
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: jzs-help
*/

@font-face {
	font-family: "Google Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: optional;
	src: url("assets/fonts/google-sans-latin-ext.woff2") format("woff2");
	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: "Google Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: optional;
	src: url("assets/fonts/google-sans-latin.woff2") format("woff2");
	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;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 800;
	font-display: optional;
	src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
	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: "Inter";
	font-style: normal;
	font-weight: 400 800;
	font-display: optional;
	src: url("assets/fonts/inter-latin.woff2") format("woff2");
	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;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	color: var(--jzs-ink);
	background: var(--jzs-paper);
	font-family: var(--jzs-font-body);
	font-size: 1rem;
	line-height: var(--jzs-line-height);
	-webkit-font-smoothing: antialiased;
}

.jzs-fonts-loading .site-header__inner,
.jzs-fonts-loading .hero > .jzs-shell { opacity: 0; }

a { color: var(--jzs-primary); text-underline-offset: .18em; }
a:hover { color: var(--jzs-primary-dark); }
img { max-width: 100%; height: auto; }

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	color: var(--jzs-ink);
	font-family: var(--jzs-font-display);
	font-weight: 650;
	line-height: 1.04;
	letter-spacing: -.04em;
	text-wrap: balance;
}

h1 { font-size: clamp(3.25rem, 5vw, 4.7rem); }
h2 { font-size: clamp(2.4rem, 4.3vw, 4.35rem); }
h3 { font-size: 1.35rem; letter-spacing: -.02em; }

button,
input,
select,
textarea { font: inherit; }

.screen-reader-text {
	position: absolute !important;
	overflow: hidden;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.screen-reader-text:focus {
	position: fixed !important;
	z-index: 1000;
	top: .75rem;
	left: .75rem;
	width: auto;
	height: auto;
	margin: 0;
	padding: .75rem 1rem;
	border-radius: .65rem;
	clip: auto;
	color: var(--jzs-ink);
	background: #fff;
	box-shadow: var(--jzs-shadow);
}

.jzs-shell { width: min(var(--jzs-wide-size), calc(100% - var(--jzs-desktop-gutter))); margin-inline: auto; }

.site-header,
.button,
.wp-element-button,
button[type="submit"],
.eyebrow,
.badge,
.guide-card__meta,
.site-footer__brand,
.site-footer__menu,
.session-bar { font-family: var(--jzs-font-display); }

.site-header {
	position: sticky;
	z-index: 50;
	top: 0;
	border-bottom: 1px solid #efefec;
	background: rgb(255 255 255 / 96%);
	backdrop-filter: blur(18px);
}

.site-header__inner {
	position: relative;
	display: grid;
	min-height: 66px;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: clamp(1rem, 1.6vw, 2rem);
}

.site-header__start { display: flex; min-width: 0; align-items: center; flex: 0 0 auto; }

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 0;
	color: var(--jzs-ink);
	font-size: 1.55rem;
	font-weight: 700;
	letter-spacing: -.045em;
	text-decoration: none;
}

.site-brand:hover { color: var(--jzs-ink); }

.site-brand__mark {
	display: block;
	min-width: 54px;
	color: var(--jzs-ink);
	font-size: 1.55rem;
	font-weight: 700;
	letter-spacing: -.045em;
}

.site-brand__name { display: none; }

.site-header__divider { width: 1px; height: 24px; margin-inline: 1rem; background: var(--jzs-line); }

.site-header__context {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	color: var(--jzs-ink);
	font-size: .82rem;
	font-weight: 650;
	text-decoration: none;
	white-space: nowrap;
}

.site-header__context:hover { color: var(--jzs-primary); }
.site-header__context > span { width: 2px; height: 16px; background: var(--jzs-primary); }

.site-nav { display: flex; min-width: 0; align-items: center; justify-content: flex-end; gap: clamp(.55rem, 1.15vw, 1rem); margin-left: auto; }
.site-nav > a { color: var(--jzs-ink); font-size: .82rem; font-weight: 650; text-decoration: none; }
.site-nav > a:hover,
.site-nav > a:focus-visible { color: var(--jzs-primary); }

.site-header__utility-link {
	display: inline-flex;
	min-height: 36px;
	align-items: center;
	justify-content: center;
	gap: .42rem;
	padding: .4rem .48rem;
	color: #3d4047 !important;
	font-size: .78rem !important;
	line-height: 1;
	white-space: nowrap;
}

.site-header__utility-link:hover,
.site-header__utility-link:focus-visible { color: var(--jzs-primary) !important; }
.site-header__status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--jzs-success-bright); box-shadow: 0 0 0 3px rgb(53 200 116 / 11%); flex: 0 0 auto; }

.nav-toggle {
	display: none;
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--jzs-line);
	border-radius: .35rem;
	padding: .5rem;
	color: var(--jzs-ink);
	background: #fff;
	cursor: pointer;
}

.nav-toggle__icon { width: 30px; height: 30px; }
.nav-toggle__icon--close { display: none; width: 24px; height: 24px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { display: block; }

.button,
.wp-element-button,
button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--jzs-primary);
	border-radius: var(--jzs-control-radius);
	padding: .8rem 1.35rem;
	color: #fff;
	background: var(--jzs-primary);
	font-size: .95rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover,
.button:focus-visible,
.wp-element-button:hover,
.wp-element-button:focus-visible,
button[type="submit"]:hover,
button[type="submit"]:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible {
	color: #fff;
	border-color: var(--jzs-primary-dark);
	background: var(--jzs-primary-dark);
	box-shadow: 0 12px 28px rgb(255 79 10 / 18%);
	transform: translateY(-2px);
}

.button--quiet { min-height: 43px; border-color: var(--jzs-ink); background: var(--jzs-ink); padding: .65rem 1rem; font-size: .84rem; }
.button--quiet:hover,
.button--quiet:focus-visible { border-color: #22242a; background: #22242a; box-shadow: 0 12px 28px rgb(15 17 21 / 18%); }

.session-bar { border-bottom: 1px solid #e8e9e6; padding: .6rem 0; color: var(--jzs-muted); background: var(--jzs-blue-tint); font-size: .78rem; font-weight: 650; }
.session-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.hero {
	position: relative;
	z-index: 2;
	overflow: visible;
	border-bottom: 0;
	padding: 0;
	background: #fff url("assets/images/hero-starter-background-v2.webp") center top / cover no-repeat;
	isolation: isolate;
}

.hero::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(180deg, rgb(255 255 255 / 15%) 45%, #fff 100%);
	content: "";
	pointer-events: none;
}

.hero > .jzs-shell {
	display: flex;
	min-height: 490px;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	padding-block: clamp(4.5rem, 8vw, 7rem);
	text-align: center;
}

.eyebrow {
	margin: 0 0 .9rem;
	color: var(--jzs-primary);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.hero h1,
.page-title {
	max-width: 850px;
	margin: 0 0 1.1rem;
	font-size: clamp(2.9rem, 4.2vw, 4rem);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -.052em;
}

.hero__lead {
	max-width: 790px;
	margin: 0;
	color: #4c5159;
	font-size: 1rem;
	line-height: 1.65;
}

.hero__stats {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 0;
	margin-top: 1.35rem;
	border-block: 1px solid rgb(15 17 21 / 10%);
	padding-block: .7rem;
}

.hero__stats span {
	display: grid;
	min-width: 140px;
	align-content: center;
	gap: .1rem;
	padding-inline: 1.2rem;
	color: #686d75;
	font-family: var(--jzs-font-display);
	font-size: .7rem;
	font-weight: 650;
	letter-spacing: .035em;
	line-height: 1.25;
	text-transform: uppercase;
}

.hero__stats span + span { border-left: 1px solid rgb(15 17 21 / 10%); }
.hero__stats strong { color: var(--jzs-primary); font-size: 1.3rem; font-weight: 700; letter-spacing: -.025em; }

.search-form {
	position: relative;
	z-index: 20;
	display: flex;
	width: min(720px, 100%);
	gap: .5rem;
	margin-top: 1.65rem;
	border: 1px solid #cfd1ce;
	border-radius: var(--jzs-radius);
	padding: .45rem;
	background: #fff;
	box-shadow: 0 16px 40px rgb(15 17 21 / 8%);
}

.search-form label { flex: 1; }
.search-form input[type="search"] { width: 100%; min-height: 50px; border: 0; outline: 0; padding: .65rem .85rem; color: var(--jzs-ink); background: transparent; }
.search-form input[type="search"]::placeholder { color: #737780; opacity: 1; }
.search-form button { min-width: 112px; }
.search-form[aria-busy="true"] input[type="search"] { cursor: progress; }

.search-suggestions {
	position: absolute;
	top: calc(100% + .55rem);
	right: 0;
	left: 0;
	overflow-x: hidden;
	overflow-y: auto;
	max-height: min(430px, 58vh);
	border: 1px solid #d3d5d1;
	border-radius: var(--jzs-radius);
	padding: .45rem;
	background: #fff;
	box-shadow: 0 24px 60px rgb(15 17 21 / 16%);
	overscroll-behavior: contain;
	text-align: left;
}

.search-suggestions[hidden] { display: none; }

.search-suggestion {
	position: relative;
	display: grid;
	gap: .22rem;
	padding: .82rem .95rem;
	color: var(--jzs-ink);
	text-decoration: none;
}

.search-suggestion--locked { grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: 1rem; background: #fafaf8; }
.search-suggestion--locked .search-suggestion__meta { color: #666a71; }
.search-suggestion--locked > .search-suggestion__meta,
.search-suggestion--locked > strong { grid-column: 1; }
.search-suggestion__access { display: inline-flex; width: fit-content; grid-row: 1 / span 2; grid-column: 2; align-items: center; align-self: start; justify-self: end; gap: .42rem; margin: 0; }
.search-suggestion__access-label { font-size: .6rem; }
.search-suggestion__lock { display: block; width: 18px; height: 18px; flex: 0 0 18px; background: url("assets/icons/lock.svg") center / contain no-repeat; opacity: .72; }

.search-suggestion + .search-suggestion { border-top: 1px solid #eceeeb; }
.search-suggestion:hover,
.search-suggestion:focus-visible,
.search-suggestion.is-active { color: var(--jzs-ink); background: #f4f4f1; outline: 0; }
.search-suggestion__meta { color: var(--jzs-primary); font-size: .64rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.search-suggestion strong { font-family: var(--jzs-font-display); font-size: .96rem; line-height: 1.3; }
.search-suggestion__excerpt { overflow: hidden; color: var(--jzs-muted); font-size: .76rem; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.search-suggestions__empty { margin: 0; padding: 1rem; color: var(--jzs-muted); font-size: .84rem; text-align: center; }

.section { padding: clamp(4.9rem, 7.5vw, 7.25rem) 0; }
.section--wash { background: var(--jzs-blue-soft); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.4rem; }
.section-heading > div { max-width: 760px; }
.section-heading h2 { margin: 0; font-size: clamp(2.4rem, 4.3vw, 4.1rem); }
.section-heading > p { max-width: 510px; margin: 0; color: var(--jzs-muted); }

.access-panel {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 0;
	align-items: stretch;
	overflow: hidden;
	border: 1px solid var(--jzs-line);
	background: #111216;
}

.access-panel > div { display: flex; justify-content: center; flex-direction: column; padding: clamp(2rem, 5vw, 4.5rem); }
.access-panel h2 { margin: 0 0 .9rem; color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.access-panel p { max-width: 620px; margin: .35rem 0; color: rgb(255 255 255 / 65%); }
.access-panel .eyebrow { color: #ff8a5c; }
.access-form { display: grid; align-content: center; gap: .75rem; border-left: 1px solid rgb(255 255 255 / 13%); padding: clamp(2rem, 4vw, 3.4rem); background: #fff; }
.access-form label { font-family: var(--jzs-font-display); font-size: .92rem; }
.access-form input[type="text"] { width: 100%; min-height: 52px; border: 1px solid #cfd1ce; border-radius: var(--jzs-control-radius); padding: .75rem .9rem; color: var(--jzs-ink); background: #fff; text-transform: uppercase; }
.access-form input[type="text"]:focus { border-color: var(--jzs-primary); outline: 3px solid rgb(255 79 10 / 14%); }
.access-key-control { display: flex; min-width: 0; align-items: stretch; overflow: hidden; border: 1px solid #cfd1ce; border-radius: var(--jzs-control-radius); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.access-key-control:focus-within { border-color: var(--jzs-primary); box-shadow: 0 0 0 3px rgb(255 79 10 / 14%); }
.access-key-control__prefix { display: inline-flex; flex: 0 0 auto; align-items: center; border-right: 1px solid #e1e2df; padding: .75rem .8rem; color: #555a64; background: #f7f7f5; font-family: var(--jzs-font-display); font-weight: 700; letter-spacing: .04em; }
.access-form .access-key-control input[type="text"] { min-width: 0; border: 0; border-radius: 0; padding-left: .75rem; box-shadow: none; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; letter-spacing: .03em; outline: 0; }
.access-form .access-key-control input[type="text"]:focus { border: 0; box-shadow: none; outline: 0; }
.access-form__status { margin: 0; border-left: 3px solid #b5b8b3; padding: .7rem .8rem; color: #4d5159; background: #f5f5f2; font-size: .82rem; line-height: 1.45; }
.access-form__status[data-state="error"] { border-left-color: #c83c3c; color: #812626; background: #fff2f2; }
.access-form__status[data-state="success"] { border-left-color: #258451; color: #17633a; background: #effaf3; }
.access-form__status[data-state="loading"] { border-left-color: var(--jzs-primary); }
.access-form[aria-busy="true"] .access-key-control { background: #f7f7f5; }
.access-form button[type="submit"]:disabled { cursor: wait; opacity: .68; transform: none; }
.form-note { color: #6b7079; font-size: .78rem; }

.notice { border: 1px solid #f0d9bf; border-radius: var(--jzs-control-radius); padding: 1rem 1.1rem; color: #70430d; background: var(--jzs-sand); }
.notice--error { border-color: #f4cccc; color: #8c2525; background: #fff2f2; }

.catalog-overview {
	margin-bottom: clamp(3rem, 6vw, 5rem);
	border: 1px solid var(--jzs-line);
	padding: clamp(1.4rem, 3.5vw, 2.4rem);
	background: #fff;
	box-shadow: 0 18px 46px rgb(15 17 21 / 5%);
}

.catalog-overview__heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 1.5rem;
}

.catalog-overview__heading .eyebrow { margin-bottom: .45rem; }
.catalog-overview__heading h3 { margin: 0; font-size: clamp(1.65rem, 2.6vw, 2.25rem); }
.catalog-overview__heading > p { max-width: 360px; margin: 0; color: var(--jzs-muted); font-size: .86rem; }
.catalog-overview__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }

.catalog-overview__grid a {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: .12rem .65rem;
	min-height: 84px;
	border: 1px solid #e2e4e0;
	padding: .85rem 1rem;
	color: var(--jzs-ink);
	background: #fafaf8;
	text-decoration: none;
	transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.catalog-overview__grid a:hover,
.catalog-overview__grid a:focus-visible { border-color: #b9bcb7; color: var(--jzs-ink); background: var(--jzs-blue-soft); transform: translateY(-2px); }
.catalog-overview__grid span { overflow: hidden; font-family: var(--jzs-font-display); font-size: .86rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.catalog-overview__grid strong { grid-row: 1 / span 2; grid-column: 2; color: var(--jzs-primary); font-size: 1.35rem; }
.catalog-overview__grid small { color: var(--jzs-muted); font-size: .68rem; }

.guide-catalog { display: grid; gap: clamp(3.5rem, 6vw, 5.5rem); }
.guide-group { scroll-margin-top: 92px; }
.guide-group__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; border-bottom: 1px solid var(--jzs-line); padding-bottom: .8rem; }
.guide-group__heading h3 { margin: 0; font-size: clamp(1.55rem, 2.2vw, 2rem); }
.guide-group__heading span { color: var(--jzs-muted); font-family: var(--jzs-font-display); font-size: .75rem; font-weight: 650; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.05rem; }

.guide-card {
	position: relative;
	display: flex;
	min-height: 238px;
	flex-direction: column;
	border: 1px solid var(--jzs-line);
	padding: 1.6rem;
	color: var(--jzs-ink);
	background: #fff;
	text-decoration: none;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

a.guide-card:hover,
a.guide-card:focus-visible { border-color: #b7bab6; color: var(--jzs-ink); box-shadow: 0 16px 38px rgb(15 17 21 / 9%); transform: translateY(-4px); }
.guide-card__top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.guide-card__icon { display: block; width: 38px; height: 38px; border: 1px solid #e6e7e4; background: var(--jzs-blue-tint) url("assets/icons/arrow-circle-right.svg") center / 19px no-repeat; }
.guide-card h3 { margin: 1.35rem 0 .55rem; font-size: 1.35rem; line-height: 1.22; }
.guide-card p { margin: 0; color: var(--jzs-muted); font-size: .94rem; }
.guide-card__meta { display: inline-flex; align-items: center; margin-top: auto; padding-top: 1.4rem; color: var(--jzs-primary); font-size: .78rem; font-weight: 700; }
.guide-card__meta::after { width: 15px; height: 15px; margin-left: .45rem; background: url("assets/icons/arrow-circle-right.svg") center / contain no-repeat; content: ""; }

.guide-card--locked {
	border-color: #dedfdb;
	color: #676b73;
	background: #f7f7f5;
	box-shadow: inset 0 0 0 1px rgb(11 12 15 / 2%);
	cursor: default;
}

.guide-card--locked h3 { color: #676b73; }
.guide-card--locked .guide-card__top { justify-content: flex-end; gap: .55rem; }
.guide-card--locked .guide-card__icon { opacity: .65; border-color: #dcddd9; background-color: #eeeeeb; background-image: url("assets/icons/lock.svg"); filter: grayscale(1); }
.guide-card--locked .badge { color: #686c72; background: #ecece8; }
.guide-card--locked .guide-card__meta { color: #5d6168; }
.guide-card--locked .guide-card__meta::after { display: none; }

.badge { display: inline-flex; align-items: center; padding: .3rem .55rem; color: #a6360b; background: #fff0e8; font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.badge--locked { color: #656970; background: #ecece8; }

.category-list { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.category-list a { display: block; border: 1px solid var(--jzs-line); border-radius: 999px; padding: .45rem .8rem; color: var(--jzs-ink); font-family: var(--jzs-font-display); font-size: .88rem; font-weight: 650; text-decoration: none; }
.category-list a:hover { border-color: #b7bab6; color: var(--jzs-primary); background: var(--jzs-blue-soft); }
.search-summary { margin: 0 0 1.5rem; color: var(--jzs-muted); }
.empty-state { border: 1px dashed #bfc2bd; padding: 2.5rem; color: var(--jzs-muted); background: var(--jzs-blue-soft); text-align: center; }

.article-layout { display: grid; grid-template-columns: minmax(0, 820px) 280px; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; padding: clamp(4rem, 8vw, 7rem) 0; }
.article-header { border-bottom: 1px solid var(--jzs-line); padding-bottom: 2rem; }
.article-header h1 { margin: .3rem 0 1rem; font-size: clamp(2.7rem, 5vw, 4.25rem); font-weight: 600; line-height: 1.08; }
.article-header__meta { color: #6b7079; font-size: .84rem; }
.article-content { color: #30333a; font-size: 1.06rem; overflow-wrap: anywhere; }
.article-content li + li { margin-top: .85rem; }
.article-content > :first-child { margin-top: 2rem; }
.article-content h2 { margin: 3rem 0 .85rem; font-size: clamp(1.8rem, 3vw, 2.45rem); }
.article-content h3 { margin: 2.2rem 0 .65rem; }
.article-content a { font-weight: 650; }
.article-content code { border-radius: .35rem; padding: .12rem .35rem; background: var(--jzs-blue-tint); }
.article-content pre { overflow: auto; border-radius: var(--jzs-control-radius); padding: 1.2rem; color: #f7f7f5; background: var(--jzs-ink); }
.article-content blockquote { margin: 1.8rem 0; border-left: 4px solid var(--jzs-primary); padding: .2rem 1.3rem; color: var(--jzs-muted); }
.article-content img { border: 1px solid var(--jzs-line); }

/* Real tutorial captures: full image, stable ratio, keyboard-accessible enlargement. */
.article-content .guide-capture { min-width: 0; margin: 1.35rem 0 2rem; }
.article-content .guide-capture__image { display: block; position: relative; max-width: 100%; background: #f4f5f6; }
.article-content .guide-capture__image img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; }
.article-content .guide-capture__image:focus-visible { outline: 3px solid var(--jzs-primary); outline-offset: 4px; }
.article-content .guide-capture__zoom { display: block; padding: .5rem .8rem; border: 1px solid var(--jzs-line); border-top: 0; background: #fff; font-size: .8rem; text-align: right; }
.article-content .guide-capture__image:hover .guide-capture__zoom { color: var(--jzs-primary); }
.article-content .guide-capture figcaption { display: grid; gap: .4rem; margin-top: .85rem; font-size: .94rem; line-height: 1.65; }
.article-content .guide-capture figcaption strong { color: var(--jzs-ink); }
.article-content .guide-capture figcaption span { color: #515761; }
.article-content .guide-capture-note { margin: 1.5rem 0 2rem; padding: .85rem 1rem; border: 1px solid var(--jzs-line); font-size: .9rem; background: #fafafa; }
.article-content .guide-capture-note summary { cursor: pointer; font-weight: 650; }
.article-content .guide-capture-note p { margin: .8rem 0 0; }
@media (max-width: 600px) {
 .article-content .guide-capture { margin-block: 1rem 1.6rem; }
 .article-content .guide-capture figcaption { font-size: .875rem; }
 .article-content .guide-capture__zoom { min-height: 44px; display: flex; align-items: center; justify-content: flex-end; }
}
.article-aside { position: sticky; top: 92px; border: 1px solid var(--jzs-line); padding: 1.5rem; background: var(--jzs-blue-soft); }
.article-aside h2 { margin: 0 0 .75rem; font-size: 1.25rem; }
.article-aside p { color: var(--jzs-muted); }
.watermark { margin-top: 2.5rem; border-top: 1px solid var(--jzs-line); padding-top: 1rem; color: #858990; font-family: var(--jzs-font-display); font-size: .7rem; letter-spacing: .07em; }

.locked-article { margin-top: 2rem; border: 1px solid #f0d9bf; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--jzs-sand); }
.locked-article h2 { margin-top: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); }

.tickets { margin-top: 2rem; border-top: 1px solid var(--jzs-line); padding-top: 2rem; }
.ticket-list { display: grid; gap: .7rem; padding: 0; list-style: none; }
.ticket-list li { border: 1px solid var(--jzs-line); padding: 1rem; background: #fff; }
.ticket-form { display: grid; gap: .8rem; margin-top: 1.5rem; }
.ticket-form label { display: grid; gap: .35rem; color: var(--jzs-muted); }
.ticket-form input,
.ticket-form select,
.ticket-form textarea { width: 100%; border: 1px solid #cfd1ce; border-radius: var(--jzs-control-radius); padding: .75rem; color: var(--jzs-ink); background: #fff; }
.ticket-form textarea { min-height: 140px; }

.site-footer { border-top: 1px solid var(--jzs-line); padding: 3.5rem 0 2rem; color: var(--jzs-muted); background: #fff; }
.site-footer a { color: var(--jzs-ink); text-decoration: none; }
.site-footer a:hover,
.site-footer a:focus-visible { color: var(--jzs-primary); }
.site-footer p { max-width: 540px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
.site-footer__brand { display: block; margin-bottom: .8rem; color: var(--jzs-ink); font-size: 1.65rem; font-weight: 700; letter-spacing: -.045em; }
.site-footer__menu { display: flex; align-items: flex-start; flex-direction: column; gap: .5rem; }
.site-footer__menu strong { margin-bottom: .4rem; color: var(--jzs-ink); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-footer__menu a { font-size: .86rem; }
.site-footer__legal { margin-top: 3rem; border-top: 1px solid var(--jzs-line); padding-top: 1.25rem; color: #747982; font-size: .76rem; }

.access-fab {
	position: fixed;
	z-index: 80;
	right: max(1rem, env(safe-area-inset-right));
	bottom: max(1rem, env(safe-area-inset-bottom));
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--jzs-primary);
	border-radius: var(--jzs-control-radius);
	padding: .72rem 1.05rem;
	color: #fff;
	background: var(--jzs-primary);
	box-shadow: 0 14px 34px rgb(15 17 21 / 16%);
	font-family: var(--jzs-font-display);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .015em;
	text-decoration: none;
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.access-fab:hover,
.access-fab:focus-visible { color: #fff; border-color: var(--jzs-primary-dark); background: var(--jzs-primary-dark); box-shadow: 0 16px 38px rgb(15 17 21 / 20%); transform: translateY(-2px); }

:focus-visible { outline: 3px solid rgb(255 79 10 / 28%); outline-offset: 3px; }

/* Shared visual language and original botanical assets from the main JZS site. */
.site-brand__logo { display: block; width: 141px; height: auto; }
.hero > .jzs-shell { position: relative; }
.hero .eyebrow { border: 1px solid #ffc7ae; border-radius: var(--jzs-control-radius); padding: .45rem 1.1rem; color: var(--jzs-primary-dark); background: var(--jzs-sand); font-size: .8rem; font-weight: 650; letter-spacing: 0; text-transform: none; }
.hero__lead { color: var(--jzs-muted); }
.hero__stats { background: rgb(255 255 255 / 65%); }
.search-form { border-radius: var(--jzs-control-radius); box-shadow: 0 16px 40px rgb(15 17 21 / 6%); }
.search-form label { min-width: 0; }
.search-form:focus-within { border-color: var(--jzs-primary); box-shadow: 0 0 0 3px rgb(255 79 10 / 14%); }
.section--wash { background: #fafaf8; }
.catalog-overview { box-shadow: none; }
.catalog-overview__grid a { background: var(--jzs-blue-soft); }
.guide-card { box-shadow: none; }
.guide-card:not(.guide-card--locked):hover { border-color: #ffb99a; box-shadow: 0 14px 32px rgb(15 17 21 / 6%); }
#dostep { scroll-margin-top: 90px; }
.access-panel > div { background: linear-gradient(110deg, #111216 25%, rgb(17 18 22 / 86%)), url("assets/images/hero-commerce-waves-v1.webp") center / cover; }
.site-footer { padding-bottom: 6rem; background: linear-gradient(#fff, rgb(255 255 255 / 75%)), url("assets/images/hero-commerce-waves-v1.webp") center bottom / cover; }

/* Botanical decorations follow the full-width section edges. They never use
 * an empty card-grid cell as their positioning area. */
#main { overflow-x: hidden; }
.hero { overflow: visible; }
.hero::after,
#dostep::before,
#dostep::after,
.catalog-overview::before,
.section--wash::before,
.section--wash::after,
.site-footer::before { display: none; }

.hero::after,
#dostep::before,
#dostep::after,
.catalog-overview::before,
.section--wash::before,
.section--wash::after,
.site-footer::before {
	--leaf-blur: 0px;
	position: absolute;
	z-index: 0;
	display: block;
	width: 170px;
	aspect-ratio: 640 / 433;
	background: url("assets/images/foliage-sprig.webp") center / contain no-repeat;
	filter: blur(var(--leaf-blur));
	content: "";
	pointer-events: none;
	user-select: none;
}

.hero > .jzs-shell { z-index: 1; }
.hero::after { right: -58px; bottom: -46px; width: clamp(105px, 13vw, 190px); transform: rotate(-90deg); }

#dostep { position: relative; isolation: isolate; overflow: hidden; }
#dostep > .jzs-shell { position: relative; z-index: 1; }
#dostep::before { top: -42px; left: -58px; width: clamp(105px, 12vw, 165px); aspect-ratio: 392 / 640; background-image: url("assets/images/foliage-cascade.webp"); transform: scaleX(-1) rotate(10deg); }
#dostep::after { right: -52px; bottom: -42px; width: clamp(105px, 11vw, 150px); transform: rotate(135deg); }

.section--wash { position: relative; isolation: isolate; overflow: hidden; }
.section--wash > .jzs-shell { position: relative; z-index: 1; }
.section--wash::before { top: 34%; right: -82px; width: clamp(135px, 13vw, 190px); background-image: url("assets/images/foliage-twig.webp"); transform: rotate(145deg); }
.section--wash::after { top: 69%; left: -76px; width: clamp(125px, 12vw, 180px); transform: rotate(28deg); }

.catalog-overview { position: relative; isolation: isolate; }
.catalog-overview > * { position: relative; z-index: 1; }
.catalog-overview::before { top: -68px; right: -58px; width: clamp(115px, 11vw, 155px); transform: rotate(-40deg); }

.site-footer { position: relative; isolation: isolate; overflow-x: clip; }
.site-footer::before { top: -34px; left: -64px; width: clamp(125px, 12vw, 175px); background-image: url("assets/images/foliage-twig.webp"); transform: rotate(20deg); }
.site-footer > .jzs-shell { position: relative; z-index: 1; }

/* Suggestions float above the following section instead of being clipped by
 * the hero. Their own scroll area keeps a long result list compact. */
.hero:has(.search-suggestions:not([hidden])) { z-index: 40; }
.search-suggestions { z-index: 100; max-height: min(360px, 50vh); }

@media (max-width: 1200px) {
	.site-header__inner { display: grid; grid-template-columns: 1fr auto; gap: 0; }
	.site-header__divider,
	.site-header__context { display: none; }
	.nav-toggle { display: inline-flex; justify-self: end; }
	.site-nav { display: none; width: calc(100% + var(--jzs-desktop-gutter)); grid-column: 1 / -1; align-items: stretch; flex-direction: column; gap: 0; margin-inline: -2rem; border-top: 1px solid var(--jzs-line); padding: .7rem 2rem 1.35rem; background: var(--jzs-paper); }
	.site-nav.is-open { display: flex; }
	.site-nav > a { display: flex; min-height: 43px; align-items: center; border-radius: .45rem; padding: 7px 0; }
	.site-nav .site-header__utility-link { min-height: 44px; justify-content: flex-start; border: 0; padding-inline: 0; }
	.site-nav .button { width: 100%; margin-top: .65rem; }
	.section-heading { align-items: flex-start; flex-direction: column; }
	.access-panel { grid-template-columns: 1fr; }
	.access-form { border-top: 1px solid rgb(255 255 255 / 13%); border-left: 0; }
	.catalog-overview__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article-layout { grid-template-columns: 1fr; }
	.article-aside { position: static; }
}

@media (max-width: 680px) {
	.hero::after { right: -42px; bottom: -32px; width: 92px; }
	#dostep::before { top: -32px; left: -48px; width: 88px; }
	#dostep::after { right: -44px; bottom: -28px; width: 88px; }
	.catalog-overview::before { top: -45px; right: -48px; width: 94px; }
	.section--wash::before { top: 38%; right: -58px; width: 108px; }
	.section--wash::after { display: none; }
	.site-footer::before { top: -26px; left: -48px; width: 105px; }
	h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
	h2 { font-size: clamp(2.15rem, 10vw, 3rem); }
	.jzs-shell { width: min(100% - 2rem, var(--jzs-wide-size)); }
	.site-header__inner { min-height: 68px; }
	.site-brand { font-size: 1.45rem; }
	.site-brand__mark { min-width: 50px; font-size: 1.45rem; }
	.site-nav { width: calc(100% + 2rem); margin-inline: -1rem; padding-inline: 1rem; }
	.session-bar__inner { align-items: flex-start; flex-direction: column; gap: .2rem; }
	.hero > .jzs-shell { min-height: auto; padding-block: 4.2rem; }
	.hero h1,
	.page-title { max-width: 600px; margin-bottom: 1rem; font-size: clamp(2.1rem, 9.2vw, 3rem); line-height: 1.03; }
	.hero__lead { max-width: 540px; font-size: .92rem; line-height: 1.6; }
	.hero__stats { width: 100%; flex-wrap: wrap; }
	.hero__stats span { min-width: 33.333%; flex: 1; padding-inline: .7rem; }
	.search-form { align-items: stretch; flex-direction: column; margin-top: .9rem; }
	.search-form button { width: 100%; }
	.search-suggestions { top: calc(100% + .4rem); max-height: min(320px, 45vh); }
	.search-suggestion__excerpt { white-space: normal; }
	.section { padding: 4.4rem 0; }
	.section-heading { margin-bottom: 1.8rem; }
	.access-panel > div,
	.access-form { padding: 1.65rem 1.35rem; }
	.access-form { border-top: 1px solid rgb(255 255 255 / 13%); border-left: 0; }
	.catalog-overview__heading { align-items: flex-start; flex-direction: column; gap: .6rem; }
	.catalog-overview__grid { grid-template-columns: 1fr; }
	.guide-grid { grid-template-columns: 1fr; }
	.guide-card { min-height: 220px; }
	.article-layout { padding: 3.5rem 0; }
	.article-header h1 { font-size: 2.45rem; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
