.uzol-hlavicka {
	padding-block: var(--wp--preset--spacing--riadok);
}
.uzol-hlavicka a {
	color: inherit;
	text-decoration: none;
}
.uzol-hlavicka .uzol-opis {
	color: var(--wp--preset--color--mriezka);
	margin: 0;
}
main.wp-block-group {
	padding-block: var(--wp--preset--spacing--oddiel);
}
.uzol-pata {
	border-top: var(--wp--custom--uzol--os) solid var(--wp--preset--color--uzol);
	padding-block: var(--wp--preset--spacing--blok);
}
.uzol-legenda p,
.uzol-dno p {
	margin: 0;
}
.uzol-karta {
	background: var(--wp--preset--color--harok);
	border: var(--wp--custom--uzol--pas) solid var(--wp--preset--color--mriezka);
	border-top: var(--wp--custom--uzol--os) solid var(--wp--preset--color--uzol);
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--zrnko);
	padding: var(--wp--preset--spacing--riadok);
}
.uzol-karta > *,
.uzol-karta > .wp-block-post-terms,
.uzol-karta > .wp-block-post-title {
	margin-block: 0;
}
.wp-block-post-template > li > .uzol-karta {
	height: 100%;
}
/* Home modules fed by a query show nothing (no heading either) until a post of their format is published. */
.uzol-tyzden:not(:has(.wp-block-post-template)),
.uzol-mesiac:not(:has(.wp-block-post-template)) {
	display: none;
}
/* The "verified" date is empty until the post has it; hide the label and the dash with it. */
.uzol-datumy > p:has(+ p:empty),
.uzol-datumy > p:empty,
.uzol-par:has(> p:empty) {
	display: none;
}
.uzol-susedne {
	margin-top: var(--wp--preset--spacing--oddiel);
}
/* Home lead: the panel and its top line sit exactly on the header grid edges (no negative margins); the side padding is INSIDE the panel. */
.uzol-karta-vysledok {
	--uzol-podsadenie: 1rem;
	border-inline: 0;
	padding: var(--wp--preset--spacing--blok) var(--uzol-podsadenie);
}
.uzol-nadpisok {
	color: var(--wp--preset--color--olovo);
	font-family: var(--wp--preset--font-family--nadpis);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.uzol-karta-vysledok > .wp-block-post-featured-image {
	margin-top: var(--wp--preset--spacing--riadok);
}
.uzol-datumy {
	border-block: var(--wp--custom--uzol--pas) solid var(--wp--preset--color--mriezka);
	gap: 0 var(--wp--preset--spacing--zrnko);
	padding-block: var(--wp--preset--spacing--zrnko);
}
.uzol-datumy > * {
	margin: 0;
}
/* Format chip (design system 12.5): the first paragraph of the strip carries the bound format label. */
.uzol-datumy > p:first-child:not(:empty) {
	border: var(--wp--custom--uzol--pas) solid var(--wp--preset--color--izolacia);
	font-family: var(--wp--preset--font-family--nadpis);
	font-weight: 600;
	letter-spacing: 0.06em;
	margin-right: var(--wp--preset--spacing--riadok);
	padding: 0 var(--wp--preset--spacing--zrnko);
	text-transform: uppercase;
}
.uzol-datumy .wp-block-post-date:first-of-type {
	margin-right: var(--wp--preset--spacing--blok);
}
/* Specificity beats the layout class, which centres flex items; label and date share one baseline. */
.uzol-datumy.is-layout-flex {
	align-items: baseline;
}
.uzol-archiv.is-layout-grid {
	gap: var(--wp--preset--spacing--blok) var(--wp--preset--spacing--oddiel);
	grid-template-columns: minmax(0, 1fr);
}
.uzol-uvod > * + * {
	margin-top: var(--wp--preset--spacing--riadok);
}
@media (min-width: 56rem) {
	.uzol-archiv.is-layout-grid {
		grid-template-columns: minmax(14rem, 1fr) minmax(0, 2.6fr);
	}
	.uzol-uvod {
		align-self: start;
		position: sticky;
		top: var(--wp--preset--spacing--blok);
	}
}
/* A label and its date never part: the pair is one nowrap unit, so a narrow screen wraps between the pairs, not inside one. */
.uzol-par.is-layout-flex {
	align-items: baseline;
	column-gap: var(--wp--preset--spacing--zrnko);
	white-space: nowrap;
}
.uzol-par > * {
	margin: 0;
}
.uzol-riadok .uzol-datumy.is-layout-flex {
	column-gap: var(--wp--preset--spacing--blok);
	row-gap: 0.25rem;
}
/* The space between two pairs is the strip's column-gap only; the card rule above (first date of the strip gets a right margin) must not add a second 24px inside each pair. */
.uzol-datumy .uzol-par .wp-block-post-date:first-of-type {
	margin-right: 0;
}
.uzol-hlavicka-zoznamu {
	border-top: var(--wp--custom--uzol--os) solid var(--wp--preset--color--uzol);
	padding-top: var(--wp--preset--spacing--riadok);
}
.uzol-hlavicka-zoznamu > * {
	margin: 0;
}
.uzol-karta .uzol-datumy {
	border-bottom: 0;
	margin-top: auto;
}
/* Card strip (QA 03.11): the format chip owns the first row, "label + date" pairs sit in two columns below it, so a wide chip never pushes a date onto its own line and every card's strip has the same shape. The line above the strip never touches the last line of the title. */
.uzol-karta .uzol-datumy.is-layout-flex {
	display: grid;
	gap: 0.25rem var(--wp--preset--spacing--riadok);
	grid-template-columns: auto 1fr;
}
.uzol-karta .uzol-datumy > p:first-child:not(:empty) {
	grid-column: 1 / -1;
	justify-self: start;
	margin-right: 0;
}
.uzol-karta .uzol-datumy .wp-block-post-date:first-of-type {
	margin-right: 0;
}
.uzol-karta > .wp-block-post-title {
	margin-bottom: var(--wp--preset--spacing--riadok);
}
.uzol-mesiac,
.uzol-plitky,
.uzol-dno,
.uzol-tyzden + * {
	margin-top: var(--wp--preset--spacing--oddiel);
}
.uzol-plitky {
	counter-reset: plitka;
}
.uzol-plitky > h3 {
	border-top: var(--wp--custom--uzol--os) solid var(--wp--preset--color--uzol);
	counter-increment: plitka;
	margin: 0;
	padding-top: var(--wp--preset--spacing--riadok);
}
.uzol-plitky > h3::before {
	color: var(--wp--preset--color--olovo);
	content: counter(plitka, decimal-leading-zero);
	display: block;
	font-size: var(--wp--preset--font-size--znacka);
}
.uzol-dno {
	border-top: var(--wp--custom--uzol--pas) solid var(--wp--preset--color--mriezka);
	font-family: var(--wp--preset--font-family--nadpis);
	font-weight: 600;
	padding-top: var(--wp--preset--spacing--blok);
}
.uzol-susedia {
	margin-top: var(--wp--preset--spacing--oddiel);
}

/* Doubled class on purpose: core prints `:root :where(.is-layout-flex){gap:...}` later in <head> with the same (0,1,0) specificity as a single class, so a single-class `gap: 0` loses and the 24 px core gap stays between the crumbs. */
.uzol-krizovatka.uzol-krizovatka {
	align-items: center;
	gap: 0;
}
.uzol-krizovatka p,
.uzol-krizovatka .wp-block-post-terms {
	margin: 0;
}
.uzol-krizovatka .wp-block-post-terms {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
}
.uzol-krizovatka a {
	box-sizing: border-box;
	display: inline-block;
	min-height: 2.75rem;
	padding-block: 0.5rem;
	padding-block: calc((2.75rem - 1lh) / 2);
}
/* Crumb gap (QA 03.11): the separator sits one normal word space (0.24em of the Asap label size = 3.1 px at 13 px) from the text on BOTH sides. The "Úvod" link keeps its 44 px target by growing to the left (hit area only, text stays put), not to the right where the extra width used to push the separator 20 px away from the word. */
.uzol-krizovatka p a {
	margin-inline-start: -0.9375rem;
	min-width: 0;
	padding-inline-start: 0.9375rem;
}
.uzol-krizovatka .wp-block-post-terms::before {
	color: var(--wp--preset--color--izolacia);
	content: "›";
	margin-inline: 0.24em;
}
.uzol-hlavicka > .alignwide {
	row-gap: var(--wp--preset--spacing--zrnko);
}
.uzol-plitky > h3 a {
	display: block;
	text-decoration: none;
}
.uzol-plitky > h3 a:hover {
	text-decoration: underline;
}
.uzol-legenda strong {
	font-family: var(--wp--preset--font-family--nadpis);
	font-weight: 600;
}
.uzol-pata-logo__obraz {
	margin: 0;
}
.uzol-pata-logo__odkaz {
	align-items: center;
	display: inline-flex;
	min-height: 2.75rem;
	min-width: 2.75rem;
}
.uzol-pata-logo__img {
	display: block;
	height: auto;
	max-width: 100%;
	width: 14rem;
}
.uzol-pata .uzol-pata-menu-ryad {
	border-top: var(--wp--custom--uzol--pas) solid var(--wp--preset--color--mriezka);
	gap: 0 var(--wp--preset--spacing--blok);
	padding-top: var(--wp--preset--spacing--riadok);
}
.uzol-pata-menu .wp-block-navigation__container {
	gap: 0 var(--wp--preset--spacing--blok);
}
.uzol-pata-menu .wp-block-navigation-item__content {
	box-sizing: border-box;
	display: inline-block;
	min-height: 2.75rem;
	min-width: 2.75rem;
	padding-block: 0.5rem;
	padding-block: calc((2.75rem - 1lh) / 2);
}
.uzol-pata .uzol-pata-vydavatel {
	align-items: flex-start;
	border-top: var(--wp--custom--uzol--pas) solid var(--wp--preset--color--mriezka);
	flex-direction: column;
	gap: 0;
	padding-top: var(--wp--preset--spacing--riadok);
}
.uzol-pata-vydavatel p {
	margin: 0;
}
@media (min-width: 48rem) {
	.uzol-pata .uzol-legenda,
	.uzol-pata .uzol-pata-menu-ryad {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.uzol-pata .uzol-pata-sluzby + .uzol-pata-pravo {
		grid-column: 2;
	}
	.uzol-pata .uzol-pata-vydavatel {
		align-items: center;
		flex-direction: row;
		gap: var(--wp--preset--spacing--zrnko) var(--wp--preset--spacing--blok);
	}
}
@media print {
	.uzol-pata nav,
	.uzol-pata .uzol-pata-menu-ryad {
		display: none;
	}
}
/*
 * Page grid. The service page and the article sit in the same .alignwide container as the header and footer, so the text starts
 * on the logo line. Below 64rem (1024 px) everything is one column with the header's side paddings; from 64rem the right rail appears.
 */
.uzol-stranka > .wp-block-post-title {
	margin: 0;
}
.uzol-stranka > .wp-block-post-content {
	margin-top: var(--wp--preset--spacing--blok);
	max-width: 44rem;
}
/*
 * Article: the title block, the hero photo and the text share ONE main column (8/12 of the header grid from 64rem); tables, figures
 * and wide/full blocks are exactly as wide as the text. The right rail (4/12) holds the contents and the meta. Body 19.2 px, line height 1.65.
 * Below 64rem it is one column; the 46rem cap keeps the line length readable there.
 */
.uzol-clanok > .uzol-glava,
.uzol-clanok > .wp-block-post-content {
	max-width: 46rem;
}
.uzol-clanok > .wp-block-post-content {
	font-size: 1.2rem;
	line-height: 1.65;
}
.uzol-clanok > .wp-block-post-content > :is(.wp-block-table, .wp-block-image, .wp-block-gallery, .wp-block-video, .wp-block-embed, .alignwide, .alignfull) {
	margin-inline: 0;
	max-width: 100%;
	width: auto;
}
.uzol-clanok > .uzol-glava {
	margin-bottom: var(--wp--preset--spacing--blok);
}
.uzol-clanok > .uzol-glava > .uzol-titulny {
	margin-top: var(--wp--preset--spacing--blok);
}
.uzol-bocnica {
	border-top: var(--wp--custom--uzol--os) solid var(--wp--preset--color--uzol);
	font-size: var(--wp--preset--font-size--bunka);
	margin-top: var(--wp--preset--spacing--oddiel);
	padding-top: var(--wp--preset--spacing--riadok);
}
/* Below 64rem the rail is as wide as the text column above it (44rem on service pages, 46rem on articles), so the right edges line up. */
.uzol-stranka > .uzol-bocnica {
	max-width: 44rem;
}
.uzol-clanok > .uzol-bocnica {
	max-width: 46rem;
}
.uzol-bocnica > * {
	margin-block: 0;
}
.uzol-bocnica > * + * {
	margin-top: var(--wp--preset--spacing--blok);
}
.uzol-bocnica__nadpis {
	color: var(--wp--preset--color--olovo);
	font-family: var(--wp--preset--font-family--nadpis);
	font-size: var(--wp--preset--font-size--znacka);
	font-weight: 600;
	margin: 0 0 var(--wp--preset--spacing--zrnko);
}
.uzol-bocnica__hodnota {
	margin: 0;
}
/* Touch target (QA 03.11): the category link in the rail is a bare inline link (17 px tall); on a phone or a coarse pointer it is 44 px tall. */
@media (max-width: 47.9375rem), (pointer: coarse) {
	.uzol-bocnica__hodnota a {
		box-sizing: border-box;
		display: inline-block;
		min-height: var(--wp--custom--uzol--toque);
		padding-block: 0.5rem;
		padding-block: calc((var(--wp--custom--uzol--toque) - 1lh) / 2);
	}
}
.uzol-bocnica__zoznam {
	list-style: none;
	margin: 0;
	padding: 0;
}
.uzol-bocnica__zoznam a {
	block-size: 2.75rem;
	box-sizing: border-box;
	display: table-cell;
	overflow-wrap: anywhere;
	padding-block: 0;
	vertical-align: middle;
}
.uzol-bocnica__aktualna a {
	border-left: 4px solid var(--wp--preset--color--uzol);
	font-weight: 600;
	padding-left: var(--wp--preset--spacing--riadok);
	text-decoration: none;
}
.uzol-bocnica__obsah {
	counter-reset: obsah;
}
.uzol-bocnica__obsah > li {
	align-items: center;
	counter-increment: obsah;
	display: grid;
	gap: var(--wp--preset--spacing--riadok);
	grid-template-columns: 2.25rem 1fr;
}
.uzol-bocnica__obsah > li::before {
	color: var(--wp--preset--color--olovo);
	content: counter(obsah, decimal-leading-zero);
	font-size: var(--wp--preset--font-size--znacka);
}
.uzol-bocnica .uzol-datumy {
	border-bottom: 0;
	border-top: 0;
	display: grid;
	gap: var(--wp--preset--spacing--zrnko) var(--wp--preset--spacing--riadok);
	grid-template-columns: auto 1fr;
	padding-block: 0;
}
.uzol-bocnica .uzol-datumy > p:first-child:not(:empty) {
	grid-column: 1 / -1;
	justify-self: start;
	margin-right: 0;
}
.uzol-bocnica .uzol-datumy .wp-block-post-date:first-of-type {
	margin-right: 0;
}
/* The strip under the title and the one in the rail show the same data; only one is visible at a time. */
.uzol-bocnica .uzol-datumy {
	display: none;
}
@media (min-width: 64rem) {
	.uzol-stranka {
		column-gap: var(--wp--preset--spacing--oddiel);
		display: grid;
		grid-template-columns: minmax(0, 44rem) minmax(14rem, 18rem);
		justify-content: space-between;
	}
	.uzol-stranka > .wp-block-post-title {
		grid-column: 1;
		grid-row: 1;
	}
	.uzol-stranka > .wp-block-post-content {
		grid-column: 1;
		grid-row: 2;
	}
	.uzol-stranka > .uzol-bocnica {
		grid-column: 2;
		grid-row: 1 / span 2;
		margin-top: 0;
	}
	.uzol-clanok {
		column-gap: var(--wp--preset--spacing--oddiel);
		display: grid;
		grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
	}
	.uzol-clanok > .uzol-glava,
	.uzol-clanok > .wp-block-post-content {
		max-width: none;
	}
	.uzol-clanok > .uzol-glava {
		grid-column: 1;
		grid-row: 1;
	}
	.uzol-clanok > .wp-block-post-content {
		grid-column: 1;
		grid-row: 2;
	}
	.uzol-clanok > .uzol-susedia {
		grid-column: 1;
	}
	.uzol-clanok > .uzol-susedne {
		grid-column: 1 / -1;
	}
	.uzol-clanok > .uzol-bocnica {
		align-self: start;
		grid-column: 2;
		grid-row: 1 / span 2;
		margin-top: 0;
	}
	.uzol-glava > .uzol-datumy {
		display: none;
	}
	.uzol-bocnica .uzol-datumy {
		display: grid;
	}
	.uzol-karta-vysledok {
		align-content: start;
		column-gap: var(--wp--preset--spacing--oddiel);
		display: grid;
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	}
	.uzol-karta-vysledok > * {
		grid-column: 1;
	}
	.uzol-karta-vysledok > .wp-block-post-featured-image {
		align-self: start;
		grid-column: 2;
		grid-row: 1 / span 5;
		margin-top: 0;
	}
}
.uzol-nahradne {
	list-style: none;
	padding: 0;
}
.uzol-nahradne li {
	border-bottom: var(--wp--custom--uzol--pas) solid var(--wp--preset--color--mriezka);
	padding-block: var(--wp--preset--spacing--zrnko);
}
