/* ==========================================================================
   SZ Modern – component styles that theme.json cannot express.
   Source: "Style Guide Slovenské zahraničie" + "WordPress Bloky" (Claude Design).
   ========================================================================== */

:root {
	--sz-navy: var(--wp--preset--color--navy);
	--sz-coral: var(--wp--preset--color--coral);
	--sz-coral-dark: var(--wp--preset--color--coral-dark);
	--sz-coral-hover: var(--wp--preset--color--coral-hover);
	--sz-line: var(--wp--preset--color--line);
	--sz-slate: var(--wp--preset--color--slate-700);
	--sz-muted: var(--wp--preset--color--slate-500);
	--sz-radius-card: 10px;
	--sz-radius-article: 8px;
	--sz-radius-tag: 3px;
	--sz-shadow-disc: 0 2px 10px rgba(12, 42, 60, .18);
	--sz-control-border: var(--wp--preset--color--control-border);
	--sz-focus-ring: var(--wp--preset--shadow--focus-ring);
	--sz-focus-ring-inverse: var(--wp--preset--shadow--focus-ring-inverse);
	--sz-measure: 70ch;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Arrow after text links ("Prečítať viac →") -------------------------------- */
.is-style-arrow a::after,
.wp-block-button.is-style-text .wp-block-button__link::after {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	flex: none;
	background: currentColor;
	-webkit-mask: var(--sz-icon-arrow-right) center / contain no-repeat;
	mask: var(--sz-icon-arrow-right) center / contain no-repeat;
}

/* ==========================================================================
   Text
   ========================================================================== */

/* Headings: spacing above 1.6em, below .5em inside post content. */
.entry-content > :where(h1, h2, h3, h4, h5, h6),
.wp-block-post-content > :where(h1, h2, h3, h4, h5, h6) {
	margin-block-start: 1.6em;
	margin-block-end: .5em;
}
.wp-block-post-content > :where(h1, h2, h3, h4, h5, h6):first-child { margin-block-start: 0; }

/* Accent word in a heading (inline "Koral" colour) is allowed only ≥ 24px. */
:where(h1, h2, h3, .is-style-section) mark.has-inline-color { background: transparent; }

/* Links inside running text: navy with coral underline. */
:where(.wp-block-post-content, .entry-content, .wp-block-paragraph, p, li) a:where(:not(.wp-element-button):not(.wp-block-button__link)) {
	text-decoration: underline;
	text-decoration-color: var(--sz-coral-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
:where(.wp-block-post-content, .entry-content, p, li) a:where(:not(.wp-element-button)):hover { color: var(--sz-coral-dark); }

strong, b { font-weight: 600; color: var(--sz-navy); }

mark:not(.has-inline-color) {
	background: var(--wp--preset--color--coral-50);
	color: var(--sz-navy);
	padding: 0 3px;
}

code:not(pre code) {
	font-family: var(--wp--preset--font-family--mono);
	font-size: .82em;
	background: var(--wp--preset--color--sand);
	color: var(--sz-navy);
	padding: 2px 6px;
	border-radius: var(--sz-radius-tag);
}

/* Paragraph styles */
.is-style-lead {
	font-size: var(--wp--preset--font-size--lead) !important;
	line-height: 1.5;
	color: var(--sz-navy);
}
.is-style-eyebrow {
	font-size: 12px !important;
	font-weight: 600;
	letter-spacing: .16em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--sz-muted);
}
.is-style-note {
	font-size: 14px !important;
	line-height: 1.5;
	color: var(--sz-muted);
}
p.is-style-arrow a,
.is-style-arrow a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
	color: var(--sz-navy);
	text-decoration: none !important;
}
.is-style-arrow a:hover { color: var(--sz-coral-dark); }

/* Drop cap */
.has-drop-cap:not(:focus)::first-letter {
	font-family: var(--wp--preset--font-family--cardo);
	font-size: 76px;
	line-height: .8;
	font-weight: 400;
	color: var(--sz-navy);
	margin: 8px 10px 0 0;
}

/* Lists: coral dots, Cardo coral numbers */
:where(.wp-block-post-content, .entry-content) ul:not([class*="wp-block-"]):not(.blocks-gallery-grid),
ul.wp-block-list {
	list-style: none;
	padding-left: 0;
}
ul.wp-block-list > li,
:where(.wp-block-post-content, .entry-content) ul:not([class*="wp-block-"]) > li {
	position: relative;
	padding-left: 20px;
	margin-block: 10px;
	line-height: 1.5;
}
ul.wp-block-list > li::before,
:where(.wp-block-post-content, .entry-content) ul:not([class*="wp-block-"]) > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .6em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sz-coral-dark);
}
ul.wp-block-list ul > li::before {
	background: transparent;
	border: 1.5px solid var(--sz-coral-dark);
	box-sizing: border-box;
}
ol.wp-block-list {
	list-style: none;
	counter-reset: sz-ol;
	padding-left: 0;
}
ol.wp-block-list > li {
	counter-increment: sz-ol;
	position: relative;
	padding-left: 34px;
	margin-block: 10px;
	line-height: 1.5;
}
ol.wp-block-list > li::before {
	content: counter(sz-ol) ".";
	position: absolute;
	left: 0;
	top: -.05em;
	font-family: var(--wp--preset--font-family--cardo);
	font-size: 19px;
	line-height: 1.3;
	color: var(--sz-coral-dark);
}

/* Quote */
.wp-block-quote {
	padding: 0;
	margin-inline: 0;
}
.wp-block-quote::before {
	content: "\201C";
	display: block;
	height: 30px;
	font-family: var(--wp--preset--font-family--cardo);
	font-style: normal;
	font-size: 72px;
	line-height: .5;
	color: var(--sz-coral);
	margin-bottom: 12px;
}
.wp-block-quote p { margin-block: 0 12px; }
.wp-block-quote cite {
	display: block;
	font-family: var(--wp--preset--font-family--hind);
	font-size: 15px;
	font-style: normal;
	font-weight: 500;
	color: var(--sz-muted);
}

/* Pullquote */
.wp-block-pullquote { text-align: center; }
.wp-block-pullquote blockquote { margin: 0 auto; max-width: 900px; }
.wp-block-pullquote p {
	font-size: inherit;
	line-height: inherit;
	text-wrap: balance;
	margin: 0 0 18px;
}
.wp-block-pullquote cite {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sz-muted);
}

/* Verse */
.wp-block-verse { white-space: pre-wrap; background: none; padding: 0; }

/* Table */
.wp-block-table { overflow-x: auto; }
.wp-block-table table { border-collapse: collapse; width: 100%; color: var(--sz-slate); }
.wp-block-table td,
.wp-block-table th { border: 0; border-bottom: 1px solid var(--sz-line); padding: 12px 14px; }
.wp-block-table :where(th, td):first-child { padding-left: 0; }
.wp-block-table :where(th, td):last-child { padding-right: 0; }
.wp-block-table thead { border-bottom: 0; }
.wp-block-table th {
	text-align: left;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--sz-navy);
	border-bottom: 2px solid var(--sz-navy);
	padding-top: 12px;
	padding-bottom: 10px;
}
.wp-block-table td:first-child { color: var(--sz-navy); }
.wp-block-table figcaption,
.wp-element-caption { margin-top: 10px; text-align: left; }
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--wp--preset--color--sand); }

/* Details / accordion */
.wp-block-details { border-top: 1px solid var(--sz-line); }
.wp-block-details + .wp-block-details { border-top: 0; margin-top: 0; }
.wp-block-details summary {
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 18px 0 16px;
	cursor: pointer;
	font-family: var(--wp--preset--font-family--cardo);
	font-size: 21px;
	line-height: 1.25;
	color: var(--sz-navy);
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "";
	width: 20px;
	height: 20px;
	flex: none;
	background: var(--sz-coral-dark);
	-webkit-mask: var(--sz-icon-plus) center / contain no-repeat;
	mask: var(--sz-icon-plus) center / contain no-repeat;
}
.wp-block-details[open] summary::after {
	-webkit-mask-image: var(--sz-icon-minus);
	mask-image: var(--sz-icon-minus);
}
.wp-block-details > :not(summary) { margin: 0 0 18px; max-width: 680px; }

/* Footnotes */
.wp-block-footnotes {
	border-top: 1px solid var(--sz-line);
	padding-top: 14px;
	padding-left: 1.2em;
}
.wp-block-footnotes li { margin-block: 6px; }
.wp-block-footnotes li::marker,
sup.fn a,
.fn a { color: var(--sz-coral-dark); font-weight: 600; text-decoration: none; }

/* ==========================================================================
   Media
   ========================================================================== */

.wp-block-image img { border-radius: inherit; }
.wp-block-image figcaption .sz-credit,
.wp-element-caption em { color: var(--sz-muted); font-style: italic; }
.wp-block-image.alignleft { margin-right: 24px; max-width: 50%; }
.wp-block-image.alignright { margin-left: 24px; max-width: 50%; }
.wp-block-image.is-style-avatar img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }

.wp-block-gallery.has-nested-images figure.wp-block-image img {
	border-radius: var(--sz-radius-article);
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.wp-block-cover { overflow: hidden; }
.wp-block-cover .wp-block-cover__inner-container { max-width: 640px; margin-right: auto; }

.wp-block-media-text .wp-block-media-text__media img { border-radius: var(--sz-radius-card); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.wp-block-media-text > .wp-block-media-text__content { padding-inline: 48px 0; }
.wp-block-media-text.has-media-on-the-right > .wp-block-media-text__content { padding-inline: 0 48px; }

/* Embeds (video) – rounded + click-to-load poster */
.wp-block-embed.is-type-video .wp-block-embed__wrapper,
.wp-block-video video {
	border-radius: var(--sz-radius-card);
	overflow: hidden;
	background: var(--wp--preset--color--navy-900);
}
.sz-embed-consent {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	padding: 0;
	cursor: pointer;
	background: var(--wp--preset--color--navy-900) center / cover no-repeat;
}
.sz-embed-consent::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(12, 42, 60, .35);
}
.sz-embed-consent__play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 76px;
	height: 76px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: #fff;
	transition: transform .15s ease;
}
.sz-embed-consent__play::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 30px;
	height: 30px;
	transform: translateX(3px);
	background: var(--sz-coral-dark);
	clip-path: polygon(20% 8%, 92% 50%, 20% 92%);
}
.sz-embed-consent:hover .sz-embed-consent__play,
.sz-embed-consent:focus-visible .sz-embed-consent__play { transform: translate(-50%, -50%) scale(1.06); }

/* Audio */
.wp-block-audio audio {
	width: 100%;
	border: 1px solid var(--sz-line);
	border-radius: var(--sz-radius-card);
}

/* File */
.wp-block-file {
	display: flex;
	align-items: center;
	gap: 14px;
	border: 1px solid var(--sz-line);
	border-radius: var(--sz-radius-card);
	padding: 14px 16px;
	transition: border-color .15s ease;
}
.wp-block-file:hover { border-color: var(--sz-navy); }
.wp-block-file::before {
	content: "";
	width: 26px;
	height: 26px;
	flex: none;
	background: var(--sz-navy);
	-webkit-mask: var(--sz-icon-file-text) center / contain no-repeat;
	mask: var(--sz-icon-file-text) center / contain no-repeat;
}
.wp-block-file > a:not(.wp-block-file__button) {
	flex: 1;
	font-weight: 500;
	font-size: 15px;
	color: var(--sz-navy);
	text-decoration: none;
}
.wp-block-file .wp-block-file__button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: transparent !important;
	color: var(--sz-coral-dark) !important;
	padding: 0 !important;
	font-size: 14px;
	font-weight: 500;
	border-radius: 0;
}
.wp-block-file .wp-block-file__button::before {
	content: "";
	width: 1em;
	height: 1em;
	background: currentColor;
	-webkit-mask: var(--sz-icon-download) center / contain no-repeat;
	mask: var(--sz-icon-download) center / contain no-repeat;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.wp-block-button__link,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.wp-block-button__link:focus-visible,
.wp-element-button:focus-visible {
	outline: none !important;
	box-shadow: var(--sz-focus-ring);
}
.wp-block-button__link:active,
.wp-element-button:active { transform: translateY(1px); }
.wp-block-button:not([class*="is-style-"]) .wp-block-button__link:active,
.wp-element-button:not(.wp-block-button__link):active { background: var(--sz-coral-hover); }
/* Loading: set aria-busy="true" on the button (theme.js does this for the comment form). */
:where(.wp-block-button__link, .wp-element-button, button, input[type="submit"])[aria-busy="true"] { cursor: progress; }
.wp-block-button__link[aria-busy="true"]::before,
button[aria-busy="true"]::before {
	content: "";
	width: 1em;
	height: 1em;
	flex: none;
	background: currentColor;
	-webkit-mask: var(--sz-icon-loader-circle) center / contain no-repeat;
	mask: var(--sz-icon-loader-circle) center / contain no-repeat;
	animation: sz-spin 1s linear infinite;
}
@keyframes sz-spin { to { transform: rotate(360deg); } }
.wp-block-button.has-arrow .wp-block-button__link::after,
.wp-block-buttons.has-arrow .wp-block-button__link::after {
	content: "";
	width: 1em;
	height: 1em;
	background: currentColor;
	-webkit-mask: var(--sz-icon-arrow-right) center / contain no-repeat;
	mask: var(--sz-icon-arrow-right) center / contain no-repeat;
}

.wp-block-button.is-style-navy .wp-block-button__link { background: var(--sz-navy); color: #fff; }
.wp-block-button.is-style-navy .wp-block-button__link:hover { background: #16374B; color: #fff; }

.wp-block-button.is-style-outline .wp-block-button__link {
	background: #fff;
	color: var(--sz-navy);
	border: 1px solid var(--sz-navy);
	padding: 14px 27px 12px;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--sz-navy); color: #fff; }

.wp-block-button.is-style-text .wp-block-button__link {
	background: transparent;
	color: var(--sz-navy);
	padding: 0 8px;
	gap: 6px;
}
.wp-block-button.is-style-text .wp-block-button__link:hover { background: transparent; color: var(--sz-coral-dark); }

.wp-block-button.is-style-small .wp-block-button__link { font-size: 15px; padding: 10px 18px 8px; }

.wp-block-button.is-style-form .wp-block-button__link,
.wp-block-search__button,
.wp-block-post-comments-form .submit,
.wp-block-post-comments-form input[type="submit"] {
	border-radius: 8px;
	font-size: 16px;
	padding: 13px 22px 11px;
}

.wp-block-button__link[aria-disabled="true"],
.wp-block-button.is-disabled .wp-block-button__link {
	background: var(--sz-line) !important;
	color: var(--wp--preset--color--slate-400) !important;
	pointer-events: none;
}

/* ==========================================================================
   Layout blocks
   ========================================================================== */

.wp-block-group.is-style-sand {
	background: var(--wp--preset--color--sand);
	border-radius: var(--sz-radius-card);
	padding: 28px;
	--sz-line: var(--wp--preset--color--sand-line);
}
.wp-block-group.is-style-sand.alignfull { border-radius: 0; padding-inline: var(--wp--style--root--padding-left); }
.wp-block-group.is-style-sand :where(.is-style-card, .wp-block-group.is-style-frame) { border-color: transparent; }

.wp-block-group.is-style-frame {
	border: 1px solid var(--sz-line);
	border-radius: var(--sz-radius-card);
	padding: 28px;
}

.wp-block-group.is-style-navy {
	background: var(--wp--preset--color--navy-900);
	color: #C9D0D8;
	border-radius: var(--sz-radius-card);
	padding: 28px;
}
.wp-block-group.is-style-navy :where(h1, h2, h3, h4, h5, h6, a:not(.wp-block-button__link), strong) { color: #fff; }

/* Separator */
.wp-block-separator { border: 0; height: 1px; background: var(--sz-line); opacity: 1; }
.wp-block-separator.wp-block-separator:not(.is-style-dots) { width: 100%; max-width: none; }
.wp-block-separator.is-style-navy,
.wp-block-separator.is-style-wide { height: 2px; background: var(--sz-navy); }
.wp-block-separator.is-style-dots {
	height: auto;
	background: none !important;
	line-height: 1;
}
.wp-block-separator.is-style-dots::before {
	content: "";
	display: block;
	width: 46px;
	height: 6px;
	margin: 0 auto;
	background: radial-gradient(circle, var(--sz-coral) 3px, transparent 3.5px) 0 0 / 20px 6px repeat-x;
}

/* Social links: outlined circles */
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link {
	background: transparent !important;
	color: var(--sz-navy) !important;
	border: 1px solid var(--sz-line);
	border-radius: 50%;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link a { padding: 11px; }
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link svg { width: 19px; height: 19px; }
.wp-block-social-links:not(.is-style-logos-only) .wp-social-link:hover {
	background: var(--sz-navy) !important;
	color: #fff !important;
	border-color: var(--sz-navy);
	transform: none;
}

/* Columns stack under 640 px; 2 cols for 3+ column sets between 640–940 */
@media (min-width: 641px) and (max-width: 939px) {
	.wp-block-columns.sz-cols-3:not(.is-not-stacked-on-mobile) { flex-wrap: wrap !important; }
	.wp-block-columns.sz-cols-3:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: calc(50% - 16px) !important; }
}

/* ==========================================================================
   Widgets
   ========================================================================== */

/* Search */
.wp-block-search__inside-wrapper { gap: 8px; border: 0 !important; padding: 0 !important; }
.wp-block-search__input {
	height: 48px;
	border: 1px solid var(--sz-control-border) !important;
	border-radius: 8px;
	padding: 0 14px 0 40px;
	font: inherit;
	font-size: 16px;
	color: var(--sz-navy);
	background: #fff;
}
.wp-block-search__button { height: 48px; margin-left: 0; }
.wp-block-search__label { font-family: var(--wp--preset--font-family--cardo); font-size: 22px; color: var(--sz-navy); }
.wp-block-search .wp-block-search__inside-wrapper { position: relative; }
.wp-block-search:not(.wp-block-search__button-only) .wp-block-search__inside-wrapper::before {
	content: "";
	position: absolute;
	left: 14px;
	top: 50%;
	width: 18px;
	height: 18px;
	transform: translateY(-50%);
	background: var(--sz-navy);
	-webkit-mask: var(--sz-icon-search) center / contain no-repeat;
	mask: var(--sz-icon-search) center / contain no-repeat;
	pointer-events: none;
	z-index: 1;
}
.wp-block-search.wp-block-search__button-only .wp-block-search__input { padding-left: 14px; }

/* Header search: icon only button */
.sz-header .wp-block-search__button-only .wp-block-search__button {
	background: transparent;
	color: var(--sz-navy);
	padding: 8px;
	height: 44px;
	width: 44px;
}
.sz-header .wp-block-search__button-only .wp-block-search__button svg { width: 22px; height: 22px; }
.sz-header .wp-block-search__button-only:not(.wp-block-search__searchfield-hidden) .wp-block-search__button {
	background: var(--sz-coral-dark);
	color: #fff;
}

/* Widget titles inside sidebar groups */
.sz-widget > :where(h2, h3, .wp-block-heading):first-child {
	font-size: 22px;
	margin: 0 0 14px;
}

/* Latest posts */
.wp-block-latest-posts.wp-block-latest-posts__list { padding: 0; }
.wp-block-latest-posts.wp-block-latest-posts__list li {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 14px;
	align-items: center;
	padding: 12px 0;
	margin: 0;
	border-bottom: 1px solid var(--sz-line);
}
.wp-block-latest-posts.wp-block-latest-posts__list li::before { display: none; }
.wp-block-latest-posts__featured-image { grid-row: span 3; margin: 0 !important; }
.wp-block-latest-posts__featured-image img { width: 72px !important; height: 54px !important; object-fit: cover; border-radius: 6px; }
.wp-block-latest-posts__post-title {
	font-family: var(--wp--preset--font-family--cardo);
	font-size: 17px;
	line-height: 1.2;
	color: var(--sz-navy);
	text-decoration: none !important;
}
.wp-block-latest-posts__post-date { font-size: 13px; color: var(--sz-muted); }

/* Categories */
.wp-block-categories-list { padding: 0; list-style: none; }
.wp-block-categories-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	margin: 0;
	border-bottom: 1px solid var(--sz-line);
	font-size: 13px;
	color: var(--sz-muted);
}
.wp-block-categories-list li::before { display: none !important; }
.wp-block-categories-list li a {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	font-size: 16px;
	color: var(--sz-navy);
	text-decoration: none !important;
}
.wp-block-categories-list li a::before {
	content: "";
	width: 10px;
	height: 10px;
	flex: none;
	border-radius: 50%;
	background: var(--sz-cat, var(--wp--preset--color--navy-900));
}

/* Tag cloud */
.wp-block-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-block-tag-cloud a {
	margin: 0 !important;
	font-size: 14px !important;
	color: var(--sz-navy);
	border: 1px solid var(--sz-line);
	border-radius: 999px;
	padding: 7px 14px 5px;
	text-decoration: none !important;
}
.wp-block-tag-cloud a:hover { border-color: var(--sz-navy); }

/* Archives dropdown + form selects */
.wp-block-archives-dropdown select,
.wp-block-categories-dropdown select,
select {
	height: 48px;
	width: 100%;
	border: 1px solid var(--sz-control-border);
	border-radius: 8px;
	padding: 0 40px 0 14px;
	font: inherit;
	font-size: 16px;
	color: var(--sz-navy);
	background: #fff;
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--sz-navy) 50%), linear-gradient(135deg, var(--sz-navy) 50%, transparent 50%);
	background-position: calc(100% - 22px) 21px, calc(100% - 16px) 21px;
	background-size: 6px 6px;
	background-repeat: no-repeat;
}

/* Calendar */
.wp-block-calendar table { border-collapse: separate; border-spacing: 4px; }
.wp-block-calendar caption {
	font-family: var(--wp--preset--font-family--cardo);
	font-size: 22px;
	color: var(--sz-navy);
	text-align: left;
	margin-bottom: 8px;
}
.wp-block-calendar :where(th, td) {
	border: 0 !important;
	text-align: center;
	height: 34px;
	border-radius: 6px;
	font-size: 14px;
	color: var(--sz-slate);
}
.wp-block-calendar th { font-size: 12px; font-weight: 600; color: var(--sz-muted); background: none !important; }
.wp-block-calendar td a {
	display: block;
	line-height: 34px;
	border-radius: 6px;
	background: var(--wp--preset--color--coral-50);
	color: var(--sz-coral-dark);
	font-weight: 600;
	text-decoration: none !important;
}
.wp-block-calendar #today { background: var(--sz-navy); color: #fff; font-weight: 600; }
.wp-block-calendar #today a { background: none; color: #fff; }
.wp-block-calendar .wp-calendar-nav { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14px; }

/* ==========================================================================
   Forms & notices
   ========================================================================== */

input[type="text"], input[type="email"], input[type="url"], input[type="search"],
input[type="password"], input[type="tel"], input[type="number"], input[type="date"], textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--sz-control-border);
	border-radius: 8px;
	padding: 10px 14px;
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	color: var(--sz-navy);
	background: #fff;
}
textarea { min-height: 120px; }
:where(input, textarea, select)::placeholder { color: var(--sz-muted); opacity: 1; }
:where(input, textarea, select):focus {
	outline: none;
	border: 2px solid var(--sz-navy);
	padding-left: 13px;
	box-shadow: 0 0 0 3px rgba(10, 37, 64, .12);
}
:where(input, textarea, select)[aria-invalid="true"] { border: 2px solid var(--sz-coral-hover); }
label { font-size: 15px; font-weight: 500; color: var(--sz-navy); }
input[type="checkbox"], input[type="radio"] {
	appearance: none;
	width: 22px;
	height: 22px;
	margin: 0 10px 0 0;
	vertical-align: middle;
	border: 1.5px solid var(--sz-control-border);
	border-radius: 4px;
	background: #fff;
	display: inline-grid;
	place-content: center;
	cursor: pointer;
}
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]:checked { background: var(--sz-navy); border-color: var(--sz-navy); }
input[type="checkbox"]:checked::after {
	content: "";
	width: 14px;
	height: 14px;
	background: #fff;
	clip-path: polygon(14% 50%, 0 64%, 38% 100%, 100% 22%, 86% 8%, 38% 72%);
}
input[type="radio"]:checked { border: 6px solid var(--sz-navy); }
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible { outline: none; box-shadow: var(--sz-focus-ring); }

/* Inline field error + error summary (theme.js builds them for the comment form). */
.sz-field-error {
	display: flex;
	gap: 6px;
	align-items: center;
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--sz-coral-hover);
}
.sz-field-error::before {
	content: "";
	width: 1em;
	height: 1em;
	flex: none;
	background: currentColor;
	-webkit-mask: var(--sz-icon-circle-alert) center / contain no-repeat;
	mask: var(--sz-icon-circle-alert) center / contain no-repeat;
}
.sz-error-summary {
	grid-column: 1 / -1;
	border: 2px solid var(--sz-coral-hover);
	border-radius: 8px;
	padding: 16px 18px;
	margin: 0;
}
.sz-error-summary:focus { outline: none; box-shadow: var(--sz-focus-ring); }
.sz-error-summary h2 {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 0 0 8px;
	font-family: var(--wp--preset--font-family--hind);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--sz-coral-hover);
}
.sz-error-summary ul { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.5; }
.sz-error-summary a { color: var(--sz-coral-hover) !important; text-decoration: underline; text-underline-offset: 3px; }

/* Notices (group block styles) */
.wp-block-group[class*="is-style-notice-"] {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	border-radius: 8px;
	padding: 14px 16px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--sz-slate);
}
.wp-block-group[class*="is-style-notice-"]::before {
	content: "";
	width: 20px;
	height: 20px;
	flex: none;
	margin-top: 1px;
	background: var(--sz-notice-fg);
	-webkit-mask: var(--sz-notice-icon) center / contain no-repeat;
	mask: var(--sz-notice-icon) center / contain no-repeat;
}
.wp-block-group[class*="is-style-notice-"] > * { margin: 0; }
.wp-block-group[class*="is-style-notice-"] strong { color: var(--sz-notice-fg); display: block; }
.is-style-notice-info { --sz-notice-icon: var(--sz-icon-info); background: #E6ECF2; --sz-notice-fg: #0A2540; }
.is-style-notice-success { --sz-notice-icon: var(--sz-icon-circle-check); background: #E4F0E9; --sz-notice-fg: #1D5B3B; }
.is-style-notice-warning { --sz-notice-icon: var(--sz-icon-triangle-alert); background: #FBF0E2; --sz-notice-fg: #8A4B0F; }
.is-style-notice-error { --sz-notice-icon: var(--sz-icon-circle-x); background: #FCEDE7; --sz-notice-fg: #A92C13; }

/* ==========================================================================
   Icon block
   ========================================================================== */

.sz-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	color: var(--sz-icon-color, var(--sz-navy));
	line-height: 0;
}
.sz-icon svg { width: var(--sz-icon-size, 34px); height: var(--sz-icon-size, 34px); }
.sz-icon--disc {
	width: calc(var(--sz-icon-size, 24px) * 2.1);
	height: calc(var(--sz-icon-size, 24px) * 2.1);
	border-radius: 50%;
	background: var(--sz-icon-color, var(--sz-navy));
	color: #fff;
	box-shadow: var(--sz-shadow-disc);
}

/* ==========================================================================
   Cards & content components (patterns)
   ========================================================================== */

/* Tags (post-terms + static) */
.wp-block-post-terms.is-style-tag-filled a,
.wp-block-post-terms.is-style-tag-outline a,
.sz-tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	line-height: 1.2;
	text-transform: uppercase;
	padding: 7px 10px 5px;
	min-height: 24px;
	box-sizing: border-box;
	border-radius: var(--sz-radius-tag);
	text-decoration: none !important;
}
.wp-block-post-terms.is-style-tag-filled a {
	background: var(--sz-cat-tag, var(--sz-cat, var(--sz-navy)));
	color: #fff;
}
.wp-block-post-terms.is-style-tag-outline a {
	color: var(--sz-navy);
	border: 1px solid var(--sz-line);
	padding: 6px 10px 4px;
}
.wp-block-post-terms.is-style-tag-filled a:hover { filter: brightness(.88); color: #fff; }
.wp-block-post-terms[class*="is-style-tag"] { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-block-post-terms[class*="is-style-tag"] .wp-block-post-terms__separator { display: none; }

/* Plain type label ("REPORTÁŽ") */
.sz-kicker,
.wp-block-post-terms.sz-kicker a {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--sz-navy);
	text-decoration: none !important;
}

/* Article card */
.wp-block-group.is-style-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--sz-line);
	border-radius: var(--sz-radius-article);
	overflow: hidden;
	height: 100%;
	box-sizing: border-box;
	transition: border-color .15s ease;
}
.wp-block-group.is-style-card:hover { border-color: var(--sz-navy); }
.wp-block-group.is-style-card > .wp-block-post-featured-image,
.wp-block-group.is-style-card > .wp-block-image { margin: 0; border-radius: 0; }
.wp-block-group.is-style-card > .wp-block-post-featured-image img,
.wp-block-group.is-style-card > .wp-block-image img { border-radius: 0; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.wp-block-group.is-style-card .sz-card__body { padding: 14px 18px 18px; }
.wp-block-group.is-style-card :where(.wp-block-post-title, h3) a { color: var(--sz-navy); text-decoration: none; }
/* Stretched link: the whole card is clickable via the title link. */
.wp-block-group.is-style-card :where(.wp-block-post-title, h3) a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.wp-block-group.is-style-card .wp-block-post-terms a,
.wp-block-group.is-style-card .is-style-arrow a { position: relative; z-index: 2; }
.wp-block-group.is-style-card:focus-within { outline: 2px solid var(--sz-navy); outline-offset: 2px; }
.wp-block-group.is-style-card :where(a):focus-visible { outline: none; }
.sz-card--small .wp-block-post-featured-image img { aspect-ratio: auto; height: 110px; }

/* Category card (rozcestník) */
.wp-block-group.is-style-category-card {
	position: relative;
	min-height: 200px;
	border: 1px solid var(--sz-line);
	border-radius: var(--sz-radius-card);
	overflow: hidden;
	background-color: #fff;
	background-position: right center !important;
	background-size: auto 100% !important;
	background-repeat: no-repeat !important;
	padding: 18px 20px !important;
	box-sizing: border-box;
	isolation: isolate;
}
.wp-block-group.is-style-category-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, #fff 42%, rgba(255, 255, 255, .88) 56%, rgba(255, 255, 255, 0) 76%);
}
.wp-block-group.is-style-category-card > * { max-width: 210px; margin-block: 0; }
.wp-block-group.is-style-category-card > * + * { margin-top: 8px; }
.wp-block-group.is-style-category-card :where(h2, h3) {
	font-size: 25px;
	line-height: 1.1;
}
.wp-block-group.is-style-category-card :where(h2, h3) a { color: var(--sz-navy); text-decoration: none; }
.wp-block-group.is-style-category-card :where(h2, h3) a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.wp-block-group.is-style-category-card p { font-size: 15px; line-height: 1.35; color: var(--sz-slate); }
/* round arrow, bottom right */
.wp-block-group.is-style-category-card::after {
	content: "";
	position: absolute;
	right: 16px;
	bottom: 16px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	box-shadow: var(--sz-shadow-disc);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2540' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / 18px no-repeat;
	transition: background-color .15s ease;
}
.wp-block-group.is-style-category-card:hover::after {
	background: var(--sz-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.wp-block-group.is-style-category-card:hover { border-color: var(--sz-navy); }
.wp-block-group.is-style-category-card:focus-within { outline: 2px solid var(--sz-navy); outline-offset: 2px; }
.wp-block-group.is-style-category-card a:focus-visible { outline: none; }

/* Section heading row: one heading, optional functional link on the right */
.sz-section-head { align-items: baseline !important; }
.sz-section-head > :where(h2, .wp-block-heading) { margin: 0; flex: 1; }
.is-style-section,
h2.is-style-section {
	font-size: var(--wp--preset--font-size--section) !important;
	line-height: 1 !important;
}

/* Event row */
.sz-event {
	display: flex;
	gap: 24px;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid var(--sz-line);
}
.sz-event__date {
	width: 66px;
	height: 66px;
	flex: none;
	border-radius: var(--sz-radius-article);
	background: var(--wp--preset--color--coral-50);
	color: var(--sz-coral-dark);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0 !important;
}
.sz-event__date > * { margin: 0 !important; color: var(--sz-coral-dark); }
.sz-event__day { font-family: var(--wp--preset--font-family--cardo); font-size: 28px; line-height: 1; }
.sz-event__month { font-size: 13px; font-weight: 500; line-height: 1.3; text-transform: uppercase; }
.sz-event__title { font-family: var(--wp--preset--font-family--cardo); font-size: 19px; line-height: 1.25; color: var(--sz-navy); margin: 0; }
.sz-event__place { font-size: 15px; color: var(--sz-muted); margin: 0; }

/* Quick link (icon + text) */
.sz-quick-link { gap: 18px !important; align-items: center; }
.sz-quick-link p { font-size: 15px; line-height: 1.4; max-width: 170px; margin: 0; color: var(--sz-navy); }
.sz-quick-link p a { color: inherit; text-decoration: none !important; }
.sz-quick-link p a:hover { color: var(--sz-coral-dark); }

/* Hero */
.sz-hero {
	position: relative;
	overflow: hidden;
	border-radius: var(--sz-radius-card);
	background-color: #fff;
	background-position: right center !important;
	background-size: auto 100% !important;
	background-repeat: no-repeat !important;
	isolation: isolate;
}
.sz-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, #fff 40%, rgba(255, 255, 255, .88) 54%, rgba(255, 255, 255, 0) 72%);
}
.sz-hero h1 { font-size: var(--wp--preset--font-size--display); line-height: .96; letter-spacing: -.02em; }
.sz-hero > * { max-width: min(600px, 50%); margin-block: 0; }
.sz-hero > .is-style-lead { max-width: min(520px, 46%); }
@media (max-width: 939px) {
	.sz-hero > *, .sz-hero > .is-style-lead { max-width: none; }
}
@media (max-width: 939px) {
	/* Photo on top, text below it on white. */
	.sz-hero {
		min-height: 0 !important;
		background-size: 100% auto !important;
		background-position: center top !important;
		padding-top: calc(53% + 8px) !important;
	}
	.sz-hero::before { background: linear-gradient(0deg, #fff calc(100% - 53vw), rgba(255, 255, 255, 0) calc(100% - 38vw)); }
}

/* ==========================================================================
   Theme parts: header, footer, single
   ========================================================================== */

.sz-header {
	position: relative;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid var(--sz-line);
}
.sz-header .sz-logo img { height: 56px; width: auto; display: block; }
.sz-header .wp-block-navigation { flex: 1; }
.sz-header .wp-block-navigation .wp-block-navigation-item__content {
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding-block: 0;
	border-bottom: 2px solid transparent;
}
.sz-header .wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--sz-coral-dark); }
/* Current rubric: underline, not colour alone. */
.sz-header .wp-block-navigation .wp-block-navigation-item__content[aria-current="page"] { border-bottom-color: var(--sz-coral-dark); }
.sz-header .wp-block-navigation__responsive-container-open {
	width: 44px;
	height: 44px;
	border: 1px solid var(--sz-navy);
	border-radius: 8px;
	align-items: center;
	justify-content: center;
	color: var(--sz-navy);
}
.sz-header .wp-block-navigation__responsive-container.is-menu-open {
	padding: 24px clamp(20px, 3.5vw, 44px);
}
.sz-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--cardo);
	font-size: 28px;
	font-weight: 400;
}
.sz-lang { font-size: 14px; font-weight: 500; margin: 0; white-space: nowrap; }
.sz-lang a { color: var(--sz-navy); text-decoration: none !important; }

/* Burger already under 940 px (core switches at 600 px). */
@media (min-width: 600px) and (max-width: 939px) {
	.sz-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.sz-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.sz-header .wp-block-navigation { flex: 0 0 auto; order: 3; }
}
@media (max-width: 939px) {
	.sz-header .sz-logo img { height: 40px; }
	.sz-header > .wp-block-group { gap: 16px !important; }
	.sz-header .wp-block-navigation { order: 3; flex: 0 0 auto; }
}
@media (max-width: 599px) {
	.sz-lang { display: none; }
}

.sz-footer { color: #fff; }
.sz-footer a { color: #fff; text-decoration: none !important; }
.sz-footer a:hover { color: #F7B9A6; }
.sz-footer .sz-footer-logo img { height: 72px; width: auto; }
.sz-footer .sz-footer-tagline img { height: 90px; width: auto; }
.sz-footer .wp-block-social-links .wp-social-link { border-color: rgba(255, 255, 255, .28); color: #fff !important; }
.sz-footer .wp-block-social-links .wp-social-link:hover { background: #fff !important; color: var(--wp--preset--color--navy-900) !important; }
.sz-footer .wp-block-navigation,
.sz-footer .wp-block-navigation .wp-block-navigation-item__content { color: #fff; font-size: 15px; font-weight: 400; }
.sz-footer .wp-block-navigation .wp-block-navigation-item__content:hover { color: #F7B9A6; }
@media (max-width: 639px) {
	.sz-footer .sz-footer-logo img { height: 56px; }
	.sz-footer .sz-footer-tagline img { height: 70px; }
}

/* Author bio */
.sz-author-box .wp-block-avatar img { border-radius: 50%; }
.sz-author-box .wp-block-post-author-biography { font-size: 16px; line-height: 1.55; }

/* Post navigation */
.sz-post-nav {
	border-top: 1px solid var(--sz-line);
	border-bottom: 1px solid var(--sz-line);
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 0 !important;
}
.sz-post-nav > * { padding: 18px 16px 18px 0; margin: 0 !important; }
.sz-post-nav > * + * { border-left: 1px solid var(--sz-line); padding: 18px 0 18px 16px; text-align: right; }
.sz-post-nav a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-family: var(--wp--preset--font-family--cardo);
	font-size: 19px;
	line-height: 1.2;
	color: var(--sz-navy);
	text-decoration: none;
}
.sz-post-nav .post-navigation-link-next a { align-items: flex-end; }
.sz-post-nav .post-navigation-link__label {
	display: flex;
	gap: 6px;
	align-items: center;
	font-family: var(--wp--preset--font-family--hind);
	font-size: 13px;
	font-weight: 500;
	color: var(--sz-muted);
}
.sz-post-nav .post-navigation-link-previous .post-navigation-link__label::before,
.sz-post-nav .post-navigation-link-next .post-navigation-link__label::after {
	content: "";
	width: 1em;
	height: 1em;
	background: currentColor;
	-webkit-mask: var(--sz-icon-arrow-left) center / contain no-repeat;
	mask: var(--sz-icon-arrow-left) center / contain no-repeat;
}
.sz-post-nav .post-navigation-link-next .post-navigation-link__label::after {
	-webkit-mask-image: var(--sz-icon-arrow-right);
	mask-image: var(--sz-icon-arrow-right);
}

/* Query pagination: round 44px */
.wp-block-query-pagination { gap: 6px; font-weight: 500; font-size: 16px; }
.wp-block-query-pagination-numbers { display: flex; gap: 6px; }
.wp-block-query-pagination :where(.page-numbers, .wp-block-query-pagination-previous, .wp-block-query-pagination-next) {
	min-width: 44px;
	height: 44px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	color: var(--sz-navy);
	text-decoration: none !important;
	margin: 0 !important;
}
.wp-block-query-pagination :where(.wp-block-query-pagination-previous, .wp-block-query-pagination-next) {
	border: 1px solid var(--sz-line);
	padding: 0 16px;
	gap: 6px;
}
.wp-block-query-pagination .page-numbers.current { background: var(--sz-navy); color: #fff; }
.wp-block-query-pagination a.page-numbers:hover { background: var(--wp--preset--color--sand); }

/* Comments */
.wp-block-comments .wp-block-comment-template { list-style: none; padding: 0; }
.wp-block-comments .wp-block-comment-template li { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--sz-line); }
.wp-block-comments .wp-block-comment-template ol { padding-left: 60px; list-style: none; }
.wp-block-comments .wp-block-avatar img { border-radius: 50%; }
.wp-block-comment-reply-link a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--sz-coral-dark);
	text-decoration: none !important;
}
.wp-block-comment-reply-link a::before {
	content: "";
	width: 1em;
	height: 1em;
	background: currentColor;
	-webkit-mask: var(--sz-icon-reply) center / contain no-repeat;
	mask: var(--sz-icon-reply) center / contain no-repeat;
}
.wp-block-post-comments-form .comment-reply-title { font-family: var(--wp--preset--font-family--cardo); font-size: 24px; color: var(--sz-navy); }
.wp-block-post-comments-form .comment-notes { font-size: 14px; color: var(--sz-muted); }
/* 404 */
.sz-404-code { font-family: var(--wp--preset--font-family--cardo); font-size: clamp(96px, 16vw, 200px); line-height: .9; color: var(--sz-coral); margin: 0; }

/* Screen-reader + skip link */
.screen-reader-text:not(:focus) {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link.screen-reader-text:focus {
	top: 16px;
	left: 16px;
	z-index: 100000;
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
	padding: 12px 18px 10px;
	border-radius: 8px;
	background: var(--sz-navy);
	color: #fff;
	font: 500 15px/1.2 var(--wp--preset--font-family--hind);
	text-decoration: none;
	box-shadow: var(--sz-focus-ring-inverse);
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.wp-block-button__link:active, .wp-element-button:active { transform: none; }
}

/* Read more link (query cards) */
.wp-block-read-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 500;
	color: var(--sz-navy);
	text-decoration: none !important;
}
.wp-block-read-more::after {
	content: "";
	width: 1em;
	height: 1em;
	background: currentColor;
	-webkit-mask: var(--sz-icon-arrow-right) center / contain no-repeat;
	mask: var(--sz-icon-arrow-right) center / contain no-repeat;
}
.wp-block-group.is-style-card .wp-block-read-more { position: relative; z-index: 2; }
.wp-block-group.is-style-card:hover .wp-block-read-more { color: var(--sz-coral-dark); }

/* Search field: keep room for the magnifier (core + focus styles reset padding). */
.wp-block-search:not(.wp-block-search__button-only) .wp-block-search__input,
.wp-block-search:not(.wp-block-search__button-only) .wp-block-search__input:focus { padding-left: 40px; }


/* ==========================================================================
   Panels: the white surface for grouped content (homepage band, sidebars).
   On the sand band a panel has no border; on white it carries the 1px line.
   ========================================================================== */

.sz-band__grid {
	display: grid;
	grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
	gap: 24px;
	align-items: stretch;
}
.sz-band__grid > * { margin: 0 !important; }
@media (max-width: 1139px) {
	.sz-band__grid { grid-template-columns: minmax(0, 1fr); }
}

.sz-panel {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: clamp(20px, 2.4vw, 28px);
	background: #fff;
	border: 1px solid var(--sz-line);
	border-radius: var(--sz-radius-card);
}
.is-style-sand .sz-panel { border-color: transparent; }
.sz-panel > * { margin: 0 !important; }
.sz-panel__head { align-items: baseline !important; gap: 16px !important; padding-bottom: 14px; border-bottom: 1px solid var(--sz-line); }
.sz-panel__head > .wp-block-heading { margin: 0; flex: 1; }
.sz-panel__head > p { margin: 0; flex: none; }
.sz-panel__foot { margin-top: auto !important; padding-top: 14px; border-top: 1px solid var(--sz-line); }
.sz-panel__foot p { margin: 0; }

/* Events inside a panel */
.sz-event-list > * { margin: 0 !important; }
.sz-event-list .sz-event { padding: 14px 0; }
.sz-event-list .sz-event:first-child { padding-top: 0; }
.sz-event-list .sz-event:last-child { border-bottom: 0; padding-bottom: 0; }

/* News: one query, the first post is the lead story, the rest a compact list. */
.sz-news .sz-news__list.wp-block-post-template {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	grid-auto-rows: auto;
	column-gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sz-news .sz-news__list > li { margin: 0 !important; min-width: 0; }
.sz-news .sz-news__list > li:first-child { grid-row: 1 / span 3; }
.sz-news .sz-news__list > li:nth-child(n + 3) .sz-news-item { border-top: 1px solid var(--sz-line); }

.sz-news-item {
	position: relative;
	display: grid !important;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	padding: 14px 0;
}
.sz-news__list > li:nth-child(2) .sz-news-item { padding-top: 0; }
.sz-news-item > * { margin: 0 !important; }
.sz-news-item .wp-block-post-featured-image { margin: 0; overflow: hidden; border-radius: 6px; }
.sz-news-item .wp-block-post-featured-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.sz-news-item__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sz-news-item__body > * { margin: 0 !important; }
.sz-news-item .wp-block-post-title { font-size: 18px; line-height: 1.2; text-wrap: pretty; }
.sz-news-item .wp-block-post-title a { color: var(--sz-navy); text-decoration: none; }
.sz-news-item .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.sz-news-item .wp-block-post-excerpt { display: none; }
.sz-news-item .wp-block-post-date { font-size: 13px; color: var(--sz-muted); }
.sz-news-item .wp-block-post-terms a { position: relative; z-index: 1; }
.sz-news-item:hover .wp-block-post-title a { color: var(--sz-coral-dark); }
.sz-news-item:focus-within { outline: 2px solid var(--sz-navy); outline-offset: 4px; border-radius: 6px; }
.sz-news-item .wp-block-post-title a:focus-visible { outline: none; }
.sz-news-item:not(:has(.wp-block-post-featured-image)) { grid-template-columns: minmax(0, 1fr); }

/* Lead story */
.sz-news__list > li:first-child .sz-news-item {
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	padding: 0;
}
.sz-news__list > li:first-child .wp-block-post-featured-image,
.sz-news__list > li:first-child .wp-block-post-featured-image img { border-radius: var(--sz-radius-article); aspect-ratio: 16 / 9; }
.sz-news__list > li:first-child .sz-news-item__body { gap: 8px; }
.sz-news__list > li:first-child .wp-block-post-title { font-size: 26px; line-height: 1.12; }
.sz-news__list > li:first-child .wp-block-post-excerpt { display: block; font-size: 15px; line-height: 1.45; color: var(--sz-slate); }
.sz-news__list > li:first-child .wp-block-post-excerpt__excerpt { margin: 0; }

@media (max-width: 639px) {
	.sz-news .sz-news__list.wp-block-post-template { grid-template-columns: minmax(0, 1fr); }
	.sz-news .sz-news__list > li:first-child { grid-row: auto; padding-bottom: 14px; }
	.sz-news .sz-news__list > li:nth-child(2) .sz-news-item { border-top: 1px solid var(--sz-line); padding-top: 14px; }
}

:where(.sz-news, .sz-related, .wp-block-query) .wp-block-post-date { color: var(--sz-muted); }
.is-style-card .wp-block-post-title { margin: 0; }
.is-style-card .wp-block-post-title a:hover { color: var(--sz-coral-dark); }
.wp-block-group.is-style-card:hover .wp-block-post-title a { color: var(--sz-coral-dark); }

/* ==========================================================================
   Single article
   ========================================================================== */

.sz-single__head .wp-block-post-title {
	font-size: var(--wp--preset--font-size--heading-xl);
	line-height: 1.04;
	letter-spacing: -.01em;
	text-wrap: balance;
	margin-bottom: 0;
}
.sz-single__head .wp-block-post-excerpt { margin-bottom: 0; }
.sz-single__head > .wp-block-post-terms { margin-bottom: 4px; }
.sz-single__head .wp-block-post-excerpt__excerpt {
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.5;
	color: var(--sz-navy);
	margin: 0;
	max-width: 760px;
}
.sz-single__byline {
	padding-top: 16px;
	border-top: 1px solid var(--sz-line);
	margin-top: 6px !important;
	gap: 16px !important;
}
.sz-single__image { max-width: 1080px !important; }
.sz-single__image img { border-radius: var(--sz-radius-card); }
.sz-single__content > p:first-child,
.sz-single__content > .is-style-lead:first-child { margin-top: 0; }
.sz-prose { font-size: var(--wp--preset--font-size--medium); line-height: 1.65; }
/* Comfortable measure: running text stops at 70ch, but keeps the 760px column's
   left edge (core centres every constrained child, so the margin is computed). */
.sz-prose.is-layout-constrained > :where(p, ul, ol, .wp-block-quote, .wp-block-list):not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.has-text-align-center) {
	max-width: min(var(--sz-measure), var(--wp--style--global--content-size));
	margin-left: max(0px, (100% - var(--wp--style--global--content-size)) / 2) !important;
	margin-right: auto !important;
}
.sz-single__content > p { margin-block: 0 1.1em; }
.sz-single__foot > * { margin-block: 0; }
.sz-single__foot .wp-block-post-terms:empty { display: none; }

/* Meta row: dots between items, works for any subset of items */
.sz-post-meta > * { margin: 0 !important; display: inline-flex; align-items: center; }
.sz-post-meta > * + *::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin-right: 14px;
	border-radius: 50%;
	background: var(--wp--preset--color--slate-400);
}
.sz-post-meta .wp-block-post-author-name { color: var(--sz-navy); font-weight: 500; }
.sz-post-meta .wp-block-post-time-to-read { color: var(--sz-muted); font-size: 15px; }

/* Related band */
.sz-related .wp-block-post-template { margin: 0; }
.sz-related + * { margin-top: 0; }
main.sz-single + * { margin-top: 0 !important; }

/* Comment form in a two-column grid */
.wp-block-post-comments-form .comment-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 16px;
}
.wp-block-post-comments-form .comment-form > * { grid-column: 1 / -1; margin: 0; }
.wp-block-post-comments-form .comment-form > .comment-form-author { grid-column: 1; width: auto; margin: 0; }
.wp-block-post-comments-form .comment-form > .comment-form-email { grid-column: 2; width: auto; margin: 0; }
.wp-block-post-comments-form .comment-form label { display: block; margin-bottom: 6px; }
.wp-block-post-comments-form .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 4px; font-size: 14px; }
.wp-block-post-comments-form .comment-form-cookies-consent label { display: inline; margin: 0; font-weight: 400; color: var(--sz-slate); }
.wp-block-post-comments-form .form-submit { margin: 0; }
.wp-block-post-comments-form .comment-reply-title { margin: 0 0 4px; }
@media (max-width: 639px) {
	.wp-block-post-comments-form .comment-form > .comment-form-author,
	.wp-block-post-comments-form .comment-form > .comment-form-email { grid-column: 1 / -1; }
}

/* Focus ring on dark surfaces: navy outline would disappear on navy. */
:where(.sz-footer, .is-style-navy, .wp-block-cover) a:focus-visible,
:where(.sz-footer, .is-style-navy, .wp-block-cover) button:focus-visible {
	outline: 2px solid #fff !important;
	outline-offset: 3px;
}
:where(.sz-footer, .is-style-navy, .wp-block-cover) :where(.wp-block-button__link, .wp-element-button):focus-visible {
	outline: none !important;
	box-shadow: var(--sz-focus-ring-inverse);
}

/* Empty state: search with no results, empty archive. */
.sz-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
	padding: 48px 24px;
	border: 1px solid var(--sz-line);
	border-radius: var(--sz-radius-card);
}
.sz-empty::before {
	content: "";
	width: 40px;
	height: 40px;
	background: var(--sz-navy);
	-webkit-mask: var(--sz-icon-search-x) center / contain no-repeat;
	mask: var(--sz-icon-search-x) center / contain no-repeat;
}
.sz-empty > * { margin: 0 !important; }
.sz-empty p { max-width: 46ch; }

/* Kicker links: 24px minimum target (WCAG 2.2 · 2.5.8) without changing the look. */
.wp-block-post-terms.sz-kicker a {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding-block: 3px;
	box-sizing: border-box;
}
.sz-news-item .wp-block-post-title a { display: inline-block; padding-block: 2px; }

/* ==========================================================================
   Homepage carousel: latest stories with a featured image (pattern hero-carousel)
   Same look as the hero: photo right, white fade from the left, one coral CTA.
   theme.js adds the controls; without JS the track is a swipeable strip.
   ========================================================================== */

.sz-carousel {
	position: relative;
	overflow: hidden;
	border-radius: var(--sz-radius-card);
	background: #fff;
}
.sz-carousel__track.wp-block-post-template {
	position: relative;
	display: flex;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
}
.sz-carousel__track::-webkit-scrollbar { display: none; }
.sz-carousel__track > li {
	flex: 0 0 100%;
	margin: 0 !important;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.sz-slide {
	--sz-slide-pad-x: clamp(20px, 4vw, 56px);
	position: relative;
	isolation: isolate;
	height: 100%;
	min-height: 520px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	padding: clamp(48px, 7vw, 88px) var(--sz-slide-pad-x) calc(clamp(48px, 7vw, 88px) + 44px);
}
.sz-slide::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, #fff 40%, rgba(255, 255, 255, .88) 54%, rgba(255, 255, 255, 0) 72%);
}
.sz-slide__image.wp-block-post-featured-image {
	position: absolute;
	inset: 0 0 0 auto;
	z-index: -2;
	width: 62%;
	height: 100%;
	margin: 0;
}
.sz-slide__image img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	border-radius: 0;
}
.sz-slide__body {
	max-width: min(600px, 50%);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}
.sz-slide__body > * { margin-block: 0 !important; }
.sz-slide__title {
	font-size: var(--wp--preset--font-size--heading-xl);
	line-height: 1.02;
	letter-spacing: -.01em;
	text-wrap: balance;
}
.sz-slide__title a { color: var(--sz-navy); text-decoration: none; }
.sz-slide__title a:hover { color: var(--sz-coral-dark); }
.sz-slide__excerpt .wp-block-post-excerpt__excerpt {
	margin: 0;
	max-width: 520px;
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.5;
	color: var(--sz-navy);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.sz-slide .wp-block-read-more.sz-slide__cta {
	margin-top: 8px;
	gap: 8px;
	padding: 15px 28px 13px;
	border-radius: 999px;
	background: var(--sz-coral-dark);
	color: #fff;
	font-size: 17px;
	line-height: 1.2;
	transition: background-color .15s ease;
}
.sz-slide .wp-block-read-more.sz-slide__cta:hover,
.sz-slide .wp-block-read-more.sz-slide__cta:active { background: var(--sz-coral-hover); color: #fff; }
.sz-slide .wp-block-read-more.sz-slide__cta:focus-visible { outline: none; box-shadow: var(--sz-focus-ring); }

/* Controls: counter · previous (navy) · next (white) · pause */
.sz-carousel__controls {
	position: absolute;
	left: clamp(20px, 4vw, 56px);
	bottom: clamp(20px, 3vw, 32px);
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 10px;
}
.sz-carousel__status {
	min-width: 3.2em;
	font-size: 17px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	color: var(--sz-navy);
}
.sz-carousel__btn {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background: #fff;
	color: var(--sz-navy);
	box-shadow: var(--sz-shadow-disc);
	transition: background-color .15s ease, color .15s ease;
}
.sz-carousel__btn::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--sz-carousel-icon) center / contain no-repeat;
	mask: var(--sz-carousel-icon) center / contain no-repeat;
}
.sz-carousel__btn--prev { --sz-carousel-icon: var(--sz-icon-arrow-left); background: var(--sz-navy); color: #fff; }
.sz-carousel__btn--next { --sz-carousel-icon: var(--sz-icon-arrow-right); }
.sz-carousel__btn--pause { --sz-carousel-icon: var(--sz-icon-pause); }
.sz-carousel__btn--pause.is-paused { --sz-carousel-icon: var(--sz-icon-play); }
.sz-carousel__btn:hover { background: var(--sz-navy); color: #fff; }
.sz-carousel__btn--prev:hover { background: #16374B; }
.sz-carousel__btn:focus-visible { outline: none; box-shadow: var(--sz-focus-ring); }
.sz-carousel__btn:active { transform: translateY(1px); }

/* Under 940 px: photo on top, text below on white (as the static hero). */
@media (max-width: 939px) {
	.sz-slide {
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
		padding: 0 0 92px;
	}
	.sz-slide::before { display: none; }
	.sz-slide__image.wp-block-post-featured-image {
		position: relative;
		inset: auto;
		z-index: 0;
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}
	.sz-slide__body { max-width: none; padding: 20px var(--sz-slide-pad-x) 0; }
	.sz-slide__title { font-size: clamp(30px, 6vw, 44px); }
	.sz-carousel { border: 1px solid var(--sz-line); }
}

@media (prefers-reduced-motion: reduce) {
	.sz-carousel__track.wp-block-post-template { scroll-behavior: auto; }
}
/* A visually hidden first heading must not push the next block down by the block gap. */
:where(.is-layout-constrained, .is-layout-flow) > .screen-reader-text:first-child + * { margin-block-start: 0; }


/* ==========================================================================
   Site shell: the footer sits at the bottom of short pages.
   ========================================================================== */

.wp-site-blocks {
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}
.wp-site-blocks > main { flex: 1 0 auto; }

/* ==========================================================================
   Page head: breadcrumbs · title (+ count) · intro · tools.
   Sand on archives and search (their one band), plain on pages.
   ========================================================================== */

.sz-page-head.is-style-sand {
	border-radius: 0;
	padding-block: clamp(28px, 4vw, 52px);
	margin-block-end: 0;
}
.sz-page-head__inner { display: flex; flex-direction: column; gap: 14px; }
.sz-page-head__inner > *,
.sz-page-head > * { margin: 0 !important; }
.sz-page-head__title { gap: 8px 24px !important; align-items: baseline !important; }
.sz-page-head__title > * { margin: 0 !important; }
.sz-page-head :where(h1, .wp-block-query-title, .wp-block-post-title) {
	font-size: var(--wp--preset--font-size--heading-xl);
	line-height: 1.02;
	letter-spacing: -.01em;
	text-wrap: balance;
}
.sz-page-head__lead,
.sz-page-head .wp-block-term-description p {
	max-width: 62ch;
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.5;
	color: var(--sz-navy);
	margin: 0;
}
.sz-page-head .wp-block-term-description:empty { display: none; }
.sz-page-head__search { max-width: 640px; margin-top: 6px !important; }
.sz-page-head--plain { padding-bottom: 28px; border-bottom: 1px solid var(--sz-line); }
.sz-page-head--plain .wp-block-post-excerpt__excerpt { margin: 0; }

/* Breadcrumbs */
.sz-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.4;
	color: var(--sz-muted);
}
.sz-breadcrumbs li { display: inline-flex; align-items: center; min-width: 0; }
.sz-breadcrumbs li + li::before {
	content: "";
	width: 14px;
	height: 14px;
	margin: 0 6px;
	flex: none;
	background: currentColor;
	opacity: .7;
	-webkit-mask: var(--sz-icon-chevron-right, var(--sz-icon-arrow-right)) center / contain no-repeat;
	mask: var(--sz-icon-chevron-right, var(--sz-icon-arrow-right)) center / contain no-repeat;
}
.sz-breadcrumbs a {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	color: var(--sz-navy);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
}
.sz-breadcrumbs a:hover { color: var(--sz-coral-dark); text-decoration-color: currentColor; }
.sz-breadcrumbs [aria-current] {
	max-width: 42ch;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--sz-slate);
}

/* Result count next to the title */
.sz-count { margin: 0; font-size: 15px; font-weight: 500; color: var(--sz-muted); font-variant-numeric: tabular-nums; }

/* Filter chips (core/categories) */
.sz-chips.wp-block-categories-list,
.sz-chips .wp-block-categories-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 6px 0 0 !important;
	padding: 0;
	list-style: none;
}
.sz-chips li { margin: 0; padding: 0; border: 0; }
.sz-chips li::before { display: none !important; }
.sz-chips li a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 8px 16px 6px;
	border: 1px solid var(--sz-line);
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	font-weight: 500;
	color: var(--sz-navy);
	text-decoration: none !important;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.is-style-sand .sz-chips li a { border-color: transparent; }
.sz-chips li a::before { display: none !important; }
.sz-chips li a:hover { border-color: var(--sz-navy); }
.sz-chips li.current-cat a { background: var(--sz-navy); border-color: var(--sz-navy); color: #fff; }

/* ==========================================================================
   Archive: on page 1 the newest post is a wide featured card.
   ========================================================================== */

body:not(.paged) .sz-archive .wp-block-post-template.is-layout-grid > li:first-child { grid-column: 1 / -1; }
body:not(.paged) .sz-archive .wp-block-post-template.is-layout-grid > li:first-child .is-style-card {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	align-items: stretch;
}
body:not(.paged) .sz-archive .wp-block-post-template.is-layout-grid > li:first-child .is-style-card > * { margin: 0 !important; }
body:not(.paged) .sz-archive .wp-block-post-template.is-layout-grid > li:first-child .wp-block-post-featured-image { position: relative; min-height: 320px; }
body:not(.paged) .sz-archive .wp-block-post-template.is-layout-grid > li:first-child .wp-block-post-featured-image img { position: absolute; inset: 0; height: 100% !important; aspect-ratio: auto !important; }
body:not(.paged) .sz-archive .wp-block-post-template.is-layout-grid > li:first-child .sz-card__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
	padding: clamp(20px, 3vw, 40px);
}
body:not(.paged) .sz-archive .wp-block-post-template.is-layout-grid > li:first-child .wp-block-post-title { font-size: clamp(26px, 1.4rem + 1vw, 34px) !important; line-height: 1.1 !important; text-wrap: balance; }
body:not(.paged) .sz-archive .wp-block-post-template.is-layout-grid > li:first-child .wp-block-post-excerpt { font-size: 17px; line-height: 1.55; }
@media (max-width: 767px) {
	body:not(.paged) .sz-archive .wp-block-post-template.is-layout-grid > li:first-child .is-style-card { grid-template-columns: minmax(0, 1fr); }
	body:not(.paged) .sz-archive .wp-block-post-template.is-layout-grid > li:first-child .wp-block-post-featured-image { min-height: 0; }
	body:not(.paged) .sz-archive .wp-block-post-template.is-layout-grid > li:first-child .wp-block-post-featured-image img { position: static; aspect-ratio: 16 / 9 !important; }
}

/* ==========================================================================
   Search results: rows (photo · type · title · excerpt · date)
   ========================================================================== */

.sz-results .sz-results__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sz-line); }
.sz-results .sz-results__list > li { margin: 0 !important; border-bottom: 1px solid var(--sz-line); }
.sz-result {
	position: relative;
	display: grid !important;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	padding: 24px 0;
}
.sz-result > * { margin: 0 !important; }
.sz-result .wp-block-post-featured-image { margin: 0; overflow: hidden; border-radius: var(--sz-radius-article); }
.sz-result .wp-block-post-featured-image img { border-radius: var(--sz-radius-article); }
.sz-result__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; max-width: 70ch; }
.sz-result__body > * { margin: 0 !important; }
.sz-result .wp-block-post-title { font-size: 24px; line-height: 1.15; text-wrap: pretty; }
.sz-result .wp-block-post-title a { color: var(--sz-navy); text-decoration: none; }
.sz-result .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.sz-result .wp-block-post-terms a { position: relative; z-index: 1; }
.sz-result .wp-block-post-excerpt { font-size: 15px; line-height: 1.5; color: var(--sz-slate); }
.sz-result .wp-block-post-excerpt__excerpt { margin: 0; }
.sz-result .wp-block-post-date { font-size: 13px; color: var(--sz-muted); }
.sz-result:hover .wp-block-post-title a { color: var(--sz-coral-dark); }
.sz-result:focus-within { outline: 2px solid var(--sz-navy); outline-offset: 4px; border-radius: 6px; }
.sz-result .wp-block-post-title a:focus-visible { outline: none; }
.sz-result:not(:has(.wp-block-post-featured-image)) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 639px) {
	.sz-result { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
	.sz-result .wp-block-post-featured-image img { aspect-ratio: 4 / 3 !important; }
	.sz-result .wp-block-post-title { font-size: 19px; }
	.sz-result .wp-block-post-excerpt { display: none; }
}

/* ==========================================================================
   Page
   ========================================================================== */

.sz-page__image img { border-radius: var(--sz-radius-card); }

/* ==========================================================================
   Single: byline with avatar and share, end-of-article row, reading progress
   ========================================================================== */

.sz-post-meta__avatar img { border-radius: 50%; display: block; }
.sz-post-meta > .sz-post-meta__avatar::before { display: none !important; }
.sz-post-meta > .sz-post-meta__avatar + *::before { display: none !important; }

.sz-share { display: inline-flex; align-items: center; gap: 8px; }
.sz-share__label {
	margin-right: 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--sz-muted);
}
.sz-share__btn {
	width: 40px;
	height: 40px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--sz-line);
	border-radius: 50%;
	background: #fff;
	color: var(--sz-navy);
	cursor: pointer;
	text-decoration: none !important;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.sz-share__btn::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--sz-ico) center / contain no-repeat;
	mask: var(--sz-ico) center / contain no-repeat;
}
.sz-share__btn:hover { background: var(--sz-navy); border-color: var(--sz-navy); color: #fff; }
.sz-share__btn:focus-visible { outline: none; box-shadow: var(--sz-focus-ring); }
.sz-share__copy.is-copied { --sz-ico: var(--sz-icon-check); background: var(--wp--preset--color--coral-50); border-color: var(--sz-coral-dark); color: var(--sz-coral-dark); }
.sz-share__status { font-size: 13px; color: var(--sz-muted); min-width: 0; }
.sz-share__status:empty { display: none; }

.sz-single__end { padding-top: 24px; border-top: 1px solid var(--sz-line); gap: 16px !important; }
.sz-single__end > * { margin: 0 !important; }
.sz-single__head .sz-breadcrumbs { margin-bottom: 4px; }

.sz-progress { display: none; }
@supports (animation-timeline: scroll()) {
	.sz-progress {
		display: block;
		position: fixed;
		top: var(--wp-admin--admin-bar--height, 0px);
		left: 0;
		z-index: 60;
		width: 100%;
		height: 3px;
		background: var(--sz-coral-dark);
		transform-origin: 0 50%;
		transform: scaleX(0);
		animation: sz-progress linear both;
		animation-timeline: scroll(root block);
	}
	@keyframes sz-progress { to { transform: scaleX(1); } }
}

/* ==========================================================================
   404
   ========================================================================== */

.sz-404 {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.sz-404 > * { margin: 0 !important; }
.sz-404__main > * { margin-block: 0 !important; }
.sz-404__main .wp-block-search { max-width: 520px; }
.sz-404 .sz-404-code { font-size: clamp(72px, 9vw, 120px); line-height: .9; }
.sz-404__rubrics .sz-panel__head { margin: 0; padding-bottom: 14px; }
.sz-rubric-list > * { margin: 0 !important; }
.sz-rubric-link {
	position: relative;
	gap: 14px !important;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid var(--sz-line);
}
.sz-rubric-link:last-child { border-bottom: 0; padding-bottom: 0; }
.sz-rubric-link .sz-icon--disc { box-shadow: none; }
.sz-rubric-link p { margin: 0; font-family: var(--wp--preset--font-family--cardo); font-size: 20px; line-height: 1.2; }
.sz-rubric-link a { color: var(--sz-navy); text-decoration: none !important; }
.sz-rubric-link a::after { content: ""; position: absolute; inset: 0; }
.sz-rubric-link:hover a { color: var(--sz-coral-dark); }
.sz-rubric-link:focus-within { outline: 2px solid var(--sz-navy); outline-offset: 2px; border-radius: 6px; }
.sz-rubric-link a:focus-visible { outline: none; }
@media (max-width: 899px) {
	.sz-404 { grid-template-columns: minmax(0, 1fr); }
}

/* Flex gaps (block margins are reset inside these components). */
.sz-page-head--plain { display: flex; flex-direction: column; gap: 16px; }
.sz-404__main { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.sz-404__main > .wp-block-search { align-self: stretch; }
/* On phones the current page's crumb repeats the h1 right below it. */
@media (max-width: 639px) {
	.sz-breadcrumbs li:last-child:not(:nth-child(-n + 2)) { display: none; }
}

/* ==========================================================================
   Single post: full-bleed cover (featured photo + navy gradient, white title)
   ========================================================================== */

.sz-post-cover.wp-block-cover {
	min-height: clamp(420px, 64vh, 640px) !important;
	margin-block: 0;
	padding-block: clamp(32px, 5vw, 64px);
	border-radius: 0;
}
.sz-post-cover .wp-block-cover__inner-container {
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
}
.sz-post-cover__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.sz-post-cover__head > * { margin: 0 !important; }
.sz-post-cover .wp-block-post-title {
	max-width: 22ch;
	color: #fff;
	font-size: clamp(36px, 1.6rem + 3.4vw, 68px);
	line-height: 1.02;
	letter-spacing: -.015em;
	text-wrap: balance;
	text-shadow: 0 1px 24px rgba(12, 42, 60, .35);
}
/* Breadcrumbs on the photo: the title right below is the current page. */
.sz-post-cover .sz-breadcrumbs ol { color: rgba(255, 255, 255, .85); }
.sz-post-cover .sz-breadcrumbs a { color: #fff; }
.sz-post-cover .sz-breadcrumbs a:hover { color: #fff; text-decoration-color: currentColor; }
.sz-post-cover .sz-breadcrumbs li:last-child:not(:nth-child(-n + 2)) { display: none; }
.sz-post-cover .is-style-tag-filled a { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }

/* No featured photo: a shorter, solid navy cover. */
.sz-post-cover:not(:has(.wp-block-cover__image-background)) { min-height: clamp(280px, 40vh, 380px) !important; }
.sz-post-cover:not(:has(.wp-block-cover__image-background)) .wp-block-cover__background {
	background: var(--wp--preset--color--navy-900) !important;
	opacity: 1 !important;
}

/* Lead + byline on white, in the reading column */
.sz-single__intro { padding-top: clamp(28px, 4vw, 48px); }
.sz-single__intro > * { margin-block: 0 !important; }
.sz-single__intro > * + * { margin-top: 20px !important; }
.sz-single__intro .wp-block-post-excerpt__excerpt { margin: 0; max-width: 62ch; }
.sz-single__intro .sz-single__byline { margin-top: 24px !important; }
/* Text sits in the lower half: make the scrim strong there, light at the top. */
.sz-post-cover:has(.wp-block-cover__image-background) .wp-block-cover__background {
	background: linear-gradient(0deg, rgba(12, 42, 60, .94) 0%, rgba(12, 42, 60, .78) 34%, rgba(12, 42, 60, .25) 70%, rgba(12, 42, 60, .08) 100%) !important;
	opacity: 1 !important;
}

/* ==========================================================================
   Header search: native <details>, so it opens and submits without JavaScript.
   The panel is a full-width row under the header (comfortable on phones too).
   ========================================================================== */

.sz-search-toggle { flex: none; }
.sz-search-toggle__button {
	list-style: none;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	color: var(--sz-navy);
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}
.sz-search-toggle__button::-webkit-details-marker { display: none; }
.sz-search-toggle__button::before {
	content: "";
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--sz-icon-search) center / contain no-repeat;
	mask: var(--sz-icon-search) center / contain no-repeat;
}
.sz-search-toggle[open] .sz-search-toggle__button { background: var(--sz-navy); color: #fff; }
.sz-search-toggle[open] .sz-search-toggle__button::before {
	-webkit-mask-image: var(--sz-icon-x);
	mask-image: var(--sz-icon-x);
}
.sz-search-toggle__button:hover { color: var(--sz-coral-dark); }
.sz-search-toggle[open] .sz-search-toggle__button:hover { color: #fff; background: #16374B; }
.sz-search-toggle__button:focus-visible { outline: none; box-shadow: var(--sz-focus-ring); }

.sz-search-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 40;
	padding: 20px clamp(20px, 3.5vw, 44px);
	background: #fff;
	border-top: 1px solid var(--sz-line);
	border-bottom: 1px solid var(--sz-line);
	box-shadow: 0 12px 24px -16px rgba(12, 42, 60, .35);
}
.sz-search-panel__form {
	display: flex;
	gap: 8px;
	max-width: 760px;
	margin: 0 auto;
}
.sz-search-panel__form input[type="search"] {
	flex: 1;
	min-width: 0;
	padding-left: 40px;
	background: #fff;
}
.sz-search-panel__form { position: relative; }
.sz-search-panel__form::before {
	content: "";
	position: absolute;
	left: 14px;
	top: 50%;
	width: 18px;
	height: 18px;
	transform: translateY(-50%);
	background: var(--sz-navy);
	-webkit-mask: var(--sz-icon-search) center / contain no-repeat;
	mask: var(--sz-icon-search) center / contain no-repeat;
	pointer-events: none;
}
.sz-search-panel__form input[type="search"]:focus { padding-left: 39px; }
.sz-search-panel__form button {
	flex: none;
	min-height: 48px;
	border-radius: 8px;
	font-size: 16px;
	padding: 13px 22px 11px;
}
