/* Civic-page corrections against Figma 2265:6494 and 2265:6945.
 * Keep document-row rhythm separate from wrapped-title leading. */
.hradistko-site .hr-entry-content p.hr-document-list > a.hr-download-link:not(:empty) {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin: 0 0 1.25rem;
	font-family: var(--hr-display);
	font-size: var(--hr-step-1);
	font-weight: 600;
	line-height: 1.3;
}

.hradistko-site .hr-entry-content p.hr-document-list > a.hr-download-link:last-of-type {
	margin-bottom: 0;
}

.hradistko-site .hr-entry-content p.hr-document-list > br {
	display: none;
}

.hr-page--uzemni-planovani .hr-entry-content p {
	margin: 0;
	line-height: 1.375;
}

.hr-page--uzemni-planovani .hr-entry-content p > .hr-download-link {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin-bottom: 1.25rem;
	line-height: 1.3;
}

.hr-page--uzemni-planovani .hr-entry-content p > .hr-download-link:last-child {
	margin-bottom: 0;
}

.hr-page--uzemni-planovani .hr-entry-content p > .hr-download-link + br {
	display: none;
}

.hr-page--uzemni-planovani .hr-planning-section {
	break-inside: avoid;
	margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.hr-page--uzemni-planovani .hr-planning-section > h2 {
	margin: 0 0 2rem;
	font-size: var(--hr-step-1);
	line-height: 1.3;
}

.hr-page--povinne-udaje .hr-required-data__label {
	display: block;
	margin-bottom: .375rem;
	font-family: var(--hr-display);
	font-weight: 600;
	line-height: 1.375;
}

.hr-page--povinne-udaje .hr-required-data__value {
	display: block;
	padding-left: 1.5rem;
	line-height: 1.375;
}

.hr-page--povinne-udaje .hr-required-data__value:empty {
	display: none;
}

.hr-page--povinne-udaje .hr-required-data__value strong {
	font-family: inherit;
	font-weight: 400;
}

.hr-page--povinne-udaje .hr-required-data__content > p:not(:has(.hr-required-data__label)) {
	padding-left: 1.5rem;
}

/* The original fixed 598px gate escaped its half-width column on tablets. */
@media (min-width: 60rem) {
	.hr-page--povinne-udaje .hr-required-data__visual {
		width: min(37.375rem, 53%);
		height: auto;
		aspect-ratio: 598 / 364;
	}
}

@media (max-width: 59.999rem) {
	.hr-page--povinne-udaje .hr-required-data__visual {
		position: relative;
		top: auto;
		left: auto;
		width: min(100%, 24rem);
		height: auto;
		aspect-ratio: 598 / 364;
		margin: 0 auto 2rem;
	}

	.hr-page--povinne-udaje .hr-required-data__intro {
		width: 100%;
		min-height: 0;
		margin: 0 0 2.5rem;
	}

	.hr-page--povinne-udaje .hr-required-data__heading {
		margin-top: 0;
		margin-bottom: 1.5rem;
	}

	.hr-page--povinne-udaje .hr-required-data__content,
	.hr-page--uzemni-planovani .hr-entry-content {
		column-count: 1;
	}

	.hr-page--povinne-udaje .hr-required-data__people-box {
		break-after: auto;
	}
}
