/* The archive follows the actual procurement list, not a fixed Figma y-coordinate.
 * Keep the established mobile section gap as the list grows on every viewport. */
.hr-page--verejne-zakazky .hr-procurement-archive {
	position: static;
	margin-top: 3rem;
}

/* Imported Contact Form 7 controls share the municipal form vocabulary.
 * Keep original names, labels, conditional fields and submission semantics. */
.hr-entry-content .wpcf7-form {
	max-width: 36rem;
	font-size: var(--hr-step-0);
	line-height: 1.375;
}

/* This is CF7 metadata, not a user-facing field or a honeypot. */
.hr-entry-content .wpcf7-form .hidden-fields-container {
	display: none;
}

.hr-entry-content .wpcf7-form p {
	margin: 0 0 1.5rem;
}

.hr-entry-content .wpcf7-form label {
	display: block;
	font-family: var(--hr-display);
	font-size: var(--hr-step-0);
	font-weight: 600;
	line-height: 1.375;
}

.hr-entry-content .wpcf7-form label:has(.wpcf7-form-control-wrap) {
	margin-bottom: 1rem;
}

.hr-entry-content .wpcf7-form label > br,
.hr-entry-content .wpcf7-form label + br,
.hr-entry-content .wpcf7-form script + br {
	display: none;
}

.hr-entry-content .wpcf7-form-control-wrap {
	display: block;
	margin-top: 0.375rem;
}

.hr-entry-content .wpcf7-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], textarea, select) {
	box-sizing: border-box;
	width: 100%;
	min-height: 2.85rem;
	padding: 0.65rem 1rem;
	color: var(--hr-black);
	background: var(--hr-white);
	border: 1px solid var(--hr-green);
	border-radius: var(--hr-pill);
	font: inherit;
	font-weight: 400;
	box-shadow: none;
}

.hr-entry-content .wpcf7-form textarea.wpcf7-textarea {
	height: 9.25rem;
	min-height: 9.25rem;
	border-radius: var(--hr-radius);
	resize: vertical;
}

.hr-entry-content .wpcf7-form input[type="checkbox"] {
	width: 1.25rem;
	height: 1.25rem;
	margin: 0 0.5rem 0 0;
	vertical-align: middle;
	accent-color: var(--hr-green);
}

.hr-entry-content .wpcf7-form .wpcf7-list-item {
	margin: 0;
}

.hr-entry-content .wpcf7-form :is(input, textarea, select):focus-visible {
	outline: 2px solid var(--hr-green-dark);
	outline-offset: 3px;
}

.hr-entry-content .wpcf7-form input[type="submit"] {
	display: block;
	width: auto;
	min-width: 11.625rem;
	min-height: 3rem;
	margin: 2rem 0 0 auto;
	padding: 0.75rem 2.75rem 0.75rem 1.25rem;
	border: 1px solid var(--hr-green);
	border-radius: var(--hr-pill);
	color: var(--hr-white);
	background: var(--hr-green) url("../icons/icon-cta-arrow.svg") right 1rem center / 9px 19px no-repeat;
	font-family: var(--hr-display);
	font-size: var(--hr-step-0);
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.hr-entry-content .wpcf7-form input[type="submit"]:hover {
	background-color: var(--hr-green-dark);
}

.hr-entry-content .wpcf7-not-valid-tip {
	display: block;
	margin-top: 0.375rem;
	color: var(--hr-error);
	font-size: var(--hr-step--1);
}

/* Slavia's imported prose contains old editor presentation spans. Restore the
 * surrounding body typography without changing headings, emphasis or content. */
body.page-id-400 .hr-entry-content p span[style*="font-size: small"] {
	font-size: inherit !important;
}

body.page-id-400 .hr-entry-content p span[style*="font-family: Arial"] {
	font-family: inherit !important;
}

@media (max-width: 47.99rem) {
	/* A float reset alone leaves old editor images inline and vertically centred
	 * inside a sentence. Stack only aligned images in imported prose paragraphs;
	 * preserve desktop wrapping, galleries and unaligned inline pictograms. */
	.hr-page:not(.hr-page--figma-layout) > .hr-entry-content .wpb-content-wrapper p img:is(.alignleft, .alignright) {
		float: none;
		display: block;
		max-width: 100%;
		height: auto;
		margin: 1rem 0;
	}
}
