/* =====================================================================
   CPG Vizitka – vzhled webu czpg.cz (front-end i editor)
   Barvy vycházejí z loga CPG: modrá, červená. Písmo Archivo (variabilní
   šířka – úzké řezy pro nadpisy a čísla, běžná šířka pro text).
   ===================================================================== */

:root {
	--cpg-navy: #11306e;
	--cpg-navy-deep: #0b2252;
	--cpg-red: #d3241b;
	--cpg-red-dark: #b01d15;
	--cpg-text: #263142;
	--cpg-muted: #5b6676;
	--cpg-paper: #f3f5f8;
	--cpg-line: #d8dee7;
	--cpg-sea: #f4f6f9;
	--cpg-land: #e1e7ef;
	--cpg-eu: #c6d2e5;
	--cpg-max: 1200px;
	--cpg-gutter: clamp(16px, 4.5vw, 56px);
	--cpg-section: clamp(56px, 7vw, 96px);
	--cpg-icon-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.02-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
	--cpg-icon-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

::selection { background: var(--cpg-navy); color: #fff; }

:where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid var(--cpg-red);
	outline-offset: 3px;
	border-radius: 2px;
}

a { text-underline-offset: .18em; text-decoration-thickness: 1px; }

/* Rozvržení: vlastní mřížky místo okrajů z WP „flow“ layoutu. */
.wp-site-blocks > *,
.cpg-main > *,
.cpg-main .wp-block-post-content > * { margin-block: 0; }

.cpg-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--cpg-max) + 2 * var(--cpg-gutter));
	margin-inline: auto;
	padding-inline: var(--cpg-gutter);
}

/* ---------- Záhlaví ---------- */

.cpg-header {
	background: #fff;
	border-bottom: 1px solid var(--cpg-line);
}

.cpg-header .cpg-header__inner {
	display: flex;
	align-items: center;
	gap: 12px 16px;
	min-height: 76px;
}

.cpg-header .cpg-header__inner > * { margin: 0; }

.cpg-header .cpg-header__logo img {
	display: block;
	width: 96px;
	height: auto;
}

.cpg-header .cpg-header__name {
	padding-left: 16px;
	border-left: 1px solid var(--cpg-line);
	font-size: .9375rem;
	font-weight: 600;
	font-stretch: 85%;
	line-height: 1.2;
	color: var(--cpg-navy);
}

.cpg-header .cpg-header__tel { margin-left: auto; }

.cpg-header .cpg-header__tel a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--cpg-navy);
	text-decoration: none;
	white-space: nowrap;
}

.cpg-header .cpg-header__tel a::before,
.cpg-btn-tel .wp-block-button__link::before,
.cpg-btn-mail .wp-block-button__link::before {
	content: "";
	flex: none;
	width: 1.1em;
	height: 1.1em;
	background: currentColor;
	-webkit-mask: var(--cpg-icon-tel) center / contain no-repeat;
	mask: var(--cpg-icon-tel) center / contain no-repeat;
}

.cpg-btn-mail .wp-block-button__link::before {
	-webkit-mask-image: var(--cpg-icon-mail);
	mask-image: var(--cpg-icon-mail);
}

.cpg-header .cpg-header__tel a:hover { color: var(--cpg-red); }

/* ---------- Úvod s mapou ---------- */

.cpg-hero {
	padding-block: clamp(36px, 6vw, 88px);
	background: #fff;
}

.cpg-hero .cpg-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
	align-items: center;
	gap: clamp(32px, 5vw, 80px);
}

.cpg-hero .cpg-hero__grid > *,
.cpg-hero .cpg-hero__text > * { margin-block: 0; }

.cpg-hero .cpg-hero__title {
	font-size: clamp(2.75rem, 1.15rem + 5.4vw, 5.75rem);
	font-weight: 850;
	font-stretch: 72%;
	line-height: .92;
	letter-spacing: -.012em;
	color: var(--cpg-navy);
	text-wrap: balance;
}

.cpg-hero .cpg-hero__lead {
	max-width: 30em;
	text-wrap: pretty;
	margin-top: clamp(18px, 2.4vw, 28px);
	font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem);
	line-height: 1.5;
	color: var(--cpg-text);
}

.cpg-hero .cpg-hero__cta {
	gap: 12px;
	margin-top: clamp(24px, 3vw, 36px);
}

.cpg-hero .cpg-hero__cta .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border-radius: 3px;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.cpg-hero .cpg-hero__cta .is-style-outline .wp-block-button__link {
	padding: calc(.95em - 2px) calc(1.4em - 2px);
	background: transparent;
	border: 2px solid var(--cpg-navy);
	color: var(--cpg-navy);
}

.cpg-hero .cpg-hero__cta .is-style-outline .wp-block-button__link:hover {
	background: var(--cpg-navy);
	color: #fff;
}

/* Mapa Evropy (shortcode [cpg_mapa]) */

.cpg-map {
	margin: 0;
	overflow: hidden;
	background: var(--cpg-sea);
	border: 1px solid var(--cpg-line);
	border-radius: 4px;
}

.cpg-map__svg {
	display: block;
	width: 100%;
	height: auto;
	font-family: inherit;
}

.cpg-map__land { fill: var(--cpg-land); }
.cpg-map__eu { fill: var(--cpg-eu); }
.cpg-map__cz { fill: var(--cpg-navy); }

.cpg-map__borders {
	fill: none;
	stroke: #fff;
	stroke-width: .8;
	stroke-linejoin: round;
}

.cpg-map__ring {
	fill: none;
	stroke: var(--cpg-red);
	stroke-width: 1.4;
	stroke-dasharray: 1 5;
	stroke-linecap: round;
}

.cpg-map__ring-label {
	font-size: 11px;
	font-weight: 700;
	fill: var(--cpg-red);
	paint-order: stroke;
	stroke: var(--cpg-sea);
	stroke-width: 3px;
	stroke-linejoin: round;
}

.cpg-map__city circle { fill: var(--cpg-navy); }

.cpg-map__city text {
	font-size: 11px;
	fill: #3d4859;
	paint-order: stroke;
	stroke: rgba(255, 255, 255, .85);
	stroke-width: 3px;
	stroke-linejoin: round;
}

.cpg-map__halo { fill: #fff; }
.cpg-map__dot { fill: var(--cpg-red); }

.cpg-map__origin text {
	font-size: 15px;
	font-weight: 800;
	fill: var(--cpg-navy);
	paint-order: stroke;
	stroke: #fff;
	stroke-width: 4px;
	stroke-linejoin: round;
}

@media (prefers-reduced-motion: no-preference) {
	.cpg-map__ring {
		animation: cpg-ring 1.2s cubic-bezier(.16, .84, .3, 1) both;
		animation-delay: calc(.25s + var(--i, 0) * .22s);
	}

	.cpg-map__ring-labels {
		animation: cpg-fade .6s ease-out 1.05s both;
	}
}

@keyframes cpg-ring {
	from { opacity: 0; transform: scale(.15); }
	to { opacity: 1; transform: scale(1); }
}

@keyframes cpg-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* ---------- Technický štítek: čísla o vozovém parku ---------- */

.cpg-plate {
	background: var(--cpg-navy);
	color: #fff;
}

.cpg-plate .cpg-plate__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cpg-plate .cpg-plate__grid > *,
.cpg-plate .cpg-plate__item > * { margin-block: 0; }

.cpg-plate .cpg-plate__item {
	padding: clamp(24px, 3.2vw, 38px) clamp(16px, 2.4vw, 32px);
	border-left: 1px solid rgba(255, 255, 255, .16);
}

.cpg-plate .cpg-plate__item:first-child {
	padding-left: 0;
	border-left: 0;
}

.cpg-plate .cpg-plate__value {
	font-size: clamp(2.1rem, 1.25rem + 2.6vw, 3.4rem);
	font-weight: 800;
	font-stretch: 72%;
	line-height: 1;
	font-variant-numeric: lining-nums tabular-nums;
	white-space: nowrap;
	color: #fff;
}

.cpg-plate .cpg-plate__label {
	margin-top: 10px;
	font-size: 1rem;
	line-height: 1.35;
	color: rgba(255, 255, 255, .78);
}

.cpg-plate .cpg-plate__roads {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Číslo dálnice jako na české dopravní značce: bílé písmo na červené, bílý lem. */
.cpg-shield {
	display: inline-block;
	padding: .34em .52em .3em;
	font-size: .6em;
	font-weight: 800;
	font-stretch: 80%;
	line-height: 1;
	letter-spacing: .02em;
	color: #fff;
	background: var(--cpg-red);
	border-radius: 5px;
	outline: 2px solid #fff;
	outline-offset: -5px;
}

/* ---------- Obsahové sekce ---------- */

.cpg-section { padding-block: var(--cpg-section); }

.cpg-projects { background: var(--cpg-paper); }

.cpg-section .cpg-split {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	align-items: start;
	gap: clamp(20px, 4vw, 64px);
}

.cpg-section .cpg-split > *,
.cpg-section .cpg-split__body > * { margin-block: 0; }

.cpg-section .cpg-split__body > * + * { margin-top: 1.1em; }

.cpg-section .cpg-split__title {
	font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem);
	font-weight: 800;
	font-stretch: 75%;
	line-height: 1;
}

.cpg-section h3 {
	font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
	font-weight: 750;
	font-stretch: 85%;
	line-height: 1.2;
}

.cpg-section .cpg-intro {
	max-width: 30em;
	text-wrap: pretty;
	font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem);
	font-weight: 500;
	line-height: 1.4;
	color: var(--cpg-navy);
}

.cpg-section .cpg-points {
	margin-top: clamp(24px, 3vw, 40px);
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--cpg-line);
}

.cpg-section .cpg-points li {
	display: grid;
	grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
	gap: 4px 24px;
	margin: 0;
	padding-block: 18px;
	border-bottom: 1px solid var(--cpg-line);
}

.cpg-section .cpg-points strong {
	font-weight: 700;
	color: var(--cpg-navy);
}

/* Loga povinné publicity EU – vždy barevná, znak EU nejméně tak velký jako ostatní. */
.cpg-section .cpg-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 32px;
	width: fit-content;
	max-width: 100%;
	box-sizing: border-box;
	margin-top: 28px;
	padding: 20px 26px;
	background: #fff;
	border: 1px solid var(--cpg-line);
	border-radius: 4px;
}

.cpg-section .cpg-logos > * { margin: 0; }

.cpg-section .cpg-logos img {
	display: block;
	width: auto;
	height: 56px;
}

/* ---------- Kontakt ---------- */

.cpg-contact {
	background: var(--cpg-navy);
	color: rgba(255, 255, 255, .84);
}

.cpg-contact .cpg-split__title,
.cpg-contact h3 { color: #fff; }

.cpg-contact a { color: #fff; }

.cpg-contact a:hover { color: #fff; text-decoration-thickness: 2px; }

.cpg-section .cpg-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 56px);
}

.cpg-section .cpg-contact__grid > * { margin: 0; }

.cpg-contact .cpg-contact__reach > *,
.cpg-contact .cpg-contact__company > * { margin-block: 0; }

.cpg-contact .cpg-contact__big {
	font-size: clamp(1.75rem, 1.05rem + 2.5vw, 2.75rem);
	font-weight: 800;
	font-stretch: 78%;
	line-height: 1.15;
}

.cpg-contact .cpg-contact__big + .cpg-contact__big { margin-top: 6px; }

.cpg-contact .cpg-contact__big a {
	text-decoration: none;
	white-space: nowrap;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
	transition: background-size .2s ease;
}

.cpg-contact .cpg-contact__big a:hover { background-size: 100% 2px; }

.cpg-contact .cpg-contact__note {
	margin-top: 18px;
	max-width: 24em;
	color: rgba(255, 255, 255, .72);
}

.cpg-contact .cpg-contact__company {
	padding-left: clamp(20px, 3vw, 40px);
	border-left: 1px solid rgba(255, 255, 255, .18);
	font-size: .9375rem;
	line-height: 1.55;
}

.cpg-contact .cpg-contact__company > * + * { margin-top: .9em; }

.cpg-contact .cpg-contact__company h3 {
	font-size: 1rem;
	font-weight: 700;
	font-stretch: 100%;
	color: rgba(255, 255, 255, .64);
}

.cpg-contact .cpg-contact__register { color: rgba(255, 255, 255, .72); }

/* ---------- Zápatí ---------- */

.cpg-footer {
	background: var(--cpg-navy-deep);
	color: rgba(255, 255, 255, .6);
	font-size: .875rem;
}

.cpg-footer .cpg-footer__inner { padding-block: 22px; }

.cpg-footer .cpg-footer__inner > * { margin: 0; }

/* ---------- Ostatní stránky (404, případné podstránky) ---------- */

.cpg-page .cpg-page__inner {
	max-width: calc(760px + 2 * var(--cpg-gutter));
	padding-block: var(--cpg-section);
}

.cpg-page .cpg-page__inner > * { margin-block: 0; }
.cpg-page .cpg-page__inner > * + * { margin-top: 1.2em; }

.cpg-page .cpg-page__title {
	font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem);
	font-weight: 850;
	font-stretch: 72%;
	line-height: 1;
}

/* ---------- Menší obrazovky ---------- */

@media (max-width: 960px) {
	.cpg-hero .cpg-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.cpg-hero .cpg-hero__map { max-width: 640px; }
	.cpg-section .cpg-split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 780px) {
	.cpg-plate .cpg-plate__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.cpg-plate .cpg-plate__item:nth-child(odd) {
		padding-left: 0;
		border-left: 0;
	}

	.cpg-plate .cpg-plate__item:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .16); }

	.cpg-section .cpg-contact__grid { grid-template-columns: minmax(0, 1fr); }

	.cpg-contact .cpg-contact__company {
		padding: 24px 0 0;
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, .18);
	}

	.cpg-section .cpg-points li { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
	.cpg-header .cpg-header__inner { min-height: 64px; }
	.cpg-header .cpg-header__logo img { width: 80px; }
	.cpg-header .cpg-header__name { display: none; }
	.cpg-hero .cpg-hero__cta .wp-block-button { width: 100%; }
	.cpg-hero .cpg-hero__cta .wp-block-button__link { justify-content: center; width: 100%; box-sizing: border-box; }
	.cpg-section .cpg-logos { gap: 16px 22px; padding: 16px 18px; }
	.cpg-section .cpg-logos img { height: 44px; }
	.cpg-map__city text { font-size: 18px; stroke-width: 4px; }
	.cpg-map__ring-label { font-size: 17px; stroke-width: 4px; }
	.cpg-map__origin text { font-size: 24px; stroke-width: 5px; }
}

/* =====================================================================
   Kariéra – stránka pro řidiče, formulář, odkazy
   ===================================================================== */

.cpg-header .cpg-header__nav { margin-left: auto; }

.cpg-header .cpg-header__nav a {
	padding: 8px 2px;
	font-size: 1rem;
	font-weight: 600;
	color: var(--cpg-navy);
	text-decoration: none;
}

.cpg-header .cpg-header__nav a:hover {
	color: var(--cpg-red);
	text-decoration: underline;
}

.cpg-header .cpg-header__nav + .cpg-header__tel { margin-left: 24px; }

.cpg-footer .cpg-footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
}

.cpg-footer a { color: rgba(255, 255, 255, .86); }
.cpg-footer a:hover { color: #fff; }

/* Úvodní stránka: upoutávka na nabídku práce */
.cpg-jobs { border-top: 1px solid var(--cpg-line); }

.cpg-section .cpg-split__body > .wp-block-buttons { margin-top: 28px; }

/* Turnus 3 + 1 */
.cpg-turnus {
	margin: 0;
	padding: clamp(20px, 3vw, 32px);
	background: var(--cpg-sea);
	border: 1px solid var(--cpg-line);
	border-radius: 4px;
}

.cpg-turnus__grid {
	display: grid;
	grid-template-columns: auto repeat(7, minmax(0, 1fr));
	align-items: center;
	gap: 8px;
}

.cpg-turnus__dow {
	font-size: .8125rem;
	font-weight: 600;
	text-align: center;
	color: var(--cpg-muted);
}

.cpg-turnus__week {
	padding-right: 8px;
	font-size: .875rem;
	font-weight: 600;
	font-stretch: 85%;
	white-space: nowrap;
	color: var(--cpg-navy);
}

.cpg-turnus__day {
	aspect-ratio: 1;
	border-radius: 4px;
	background: var(--cpg-navy);
}

.cpg-turnus__day.is-home { background: var(--cpg-red); }

.cpg-turnus__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin-top: 22px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--cpg-text);
}

.cpg-turnus__legend span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.cpg-turnus__legend span::before {
	content: "";
	width: 16px;
	height: 16px;
	border-radius: 3px;
	background: var(--cpg-navy);
}

.cpg-turnus__legend .is-home::before { background: var(--cpg-red); }

@media (prefers-reduced-motion: no-preference) {
	.cpg-turnus__day {
		animation: cpg-day .4s cubic-bezier(.2, .8, .3, 1) both;
		animation-delay: calc(.2s + var(--n, 0) * 22ms);
	}
}

@keyframes cpg-day {
	from { opacity: 0; transform: scale(.55); }
	to { opacity: 1; transform: none; }
}

/* Štítek s podmínkami – první hodnota je delší */
.cpg-plate--job .cpg-plate__grid { grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr)); }

/* Seznam požadavků s fajfkou */
.cpg-section .cpg-checks {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cpg-section .cpg-checks li {
	position: relative;
	margin: 0;
	padding-left: 36px;
	font-size: 1.0625rem;
}

.cpg-section .cpg-checks li::before {
	content: "";
	position: absolute;
	top: .12em;
	left: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--cpg-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.cpg-section--rule { border-top: 1px solid var(--cpg-line); }

/* Přihláška */
.cpg-apply { background: var(--cpg-paper); }

.cpg-section .cpg-split__aside > * { margin-block: 0; }
.cpg-section .cpg-split__aside > * + * { margin-top: 1em; }

.cpg-apply .cpg-apply__tel {
	margin-top: 28px;
	font-size: .9375rem;
	color: var(--cpg-muted);
}

.cpg-apply .cpg-apply__tel a {
	font-size: 1.5rem;
	font-weight: 800;
	font-stretch: 80%;
	text-decoration: none;
	white-space: nowrap;
}

.cpg-form {
	display: grid;
	gap: 22px;
	padding: clamp(20px, 3vw, 36px);
	background: #fff;
	border: 1px solid var(--cpg-line);
	border-radius: 4px;
}

.cpg-form > * { margin: 0; }

.cpg-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 24px;
}

.cpg-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	margin: 0;
}

.cpg-field > label,
.cpg-field > legend {
	padding: 0;
	font-size: .9375rem;
	font-weight: 700;
	color: var(--cpg-navy);
}

.cpg-req { color: var(--cpg-red); }

.cpg-field__opt {
	font-weight: 400;
	color: var(--cpg-muted);
}

.cpg-field input[type="text"],
.cpg-field input[type="tel"],
.cpg-field input[type="email"],
.cpg-field select,
.cpg-field textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	font: inherit;
	font-size: 1rem;
	color: var(--cpg-text);
	background: #fff;
	border: 1px solid #b6c0ce;
	border-radius: 3px;
}

.cpg-field textarea {
	min-height: 120px;
	resize: vertical;
}

.cpg-field select {
	padding-right: 40px;
	-webkit-appearance: none;
	appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311306e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
}

.cpg-field input:focus,
.cpg-field select:focus,
.cpg-field textarea:focus {
	border-color: var(--cpg-navy);
	outline: 2px solid var(--cpg-navy);
	outline-offset: 0;
}

.cpg-field.has-error input,
.cpg-field.has-error select { border-color: var(--cpg-red); }

.cpg-field__err {
	font-size: .875rem;
	font-weight: 600;
	color: var(--cpg-red-dark);
}

.cpg-field__hint {
	font-size: .875rem;
	color: var(--cpg-muted);
}

.cpg-field--checks {
	gap: 10px;
	padding: 0;
	border: 0;
}

.cpg-field__checks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
}

.cpg-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--cpg-text);
	cursor: pointer;
}

.cpg-check input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--cpg-navy);
}

.cpg-field--file input[type="file"] {
	font: inherit;
	font-size: .9375rem;
	color: var(--cpg-text);
}

.cpg-field--file input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 10px 16px;
	font: inherit;
	font-weight: 700;
	color: var(--cpg-navy);
	background: #fff;
	border: 2px solid var(--cpg-navy);
	border-radius: 3px;
	cursor: pointer;
}

.cpg-form .cpg-form__submit {
	padding: 1em 1.7em;
	font: inherit;
	font-size: 1.0625rem;
	font-weight: 700;
	color: #fff;
	background: var(--cpg-red);
	border: 0;
	border-radius: 3px;
	cursor: pointer;
	transition: background-color .15s ease;
}

.cpg-form .cpg-form__submit:hover { background: var(--cpg-red-dark); }

.cpg-form__privacy {
	font-size: .8125rem;
	line-height: 1.55;
	color: var(--cpg-muted);
}

.cpg-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.cpg-form__alert {
	padding: 14px 18px;
	font-weight: 600;
	color: var(--cpg-red-dark);
	background: #fdf1f0;
	border-left: 4px solid var(--cpg-red);
}

.cpg-form-done {
	padding: clamp(22px, 3vw, 36px);
	background: #fff;
	border: 1px solid var(--cpg-line);
	border-left: 5px solid var(--cpg-navy);
	border-radius: 4px;
}

.cpg-form-done > * { margin: 0; }
.cpg-form-done > * + * { margin-top: .6em; }

.cpg-form-done .cpg-form-done__title {
	font-size: 1.5rem;
	font-weight: 800;
	font-stretch: 85%;
	line-height: 1.2;
	color: var(--cpg-navy);
}

@media (max-width: 640px) {
	.cpg-form__grid,
	.cpg-field__checks { grid-template-columns: minmax(0, 1fr); }
	.cpg-form .cpg-form__submit { width: 100%; }
}

@media (max-width: 560px) {
	.cpg-header .cpg-header__inner { gap: 8px 12px; }
	.cpg-header .cpg-header__nav + .cpg-header__tel { margin-left: 4px; }

	.cpg-header .cpg-header__tel a {
		justify-content: center;
		width: 44px;
		height: 44px;
		gap: 0;
		font-size: 0;
		border: 1px solid var(--cpg-line);
		border-radius: 50%;
	}

	.cpg-header .cpg-header__tel a::before {
		width: 20px;
		height: 20px;
	}

	.cpg-turnus__grid { gap: 5px; }
	.cpg-turnus__week { padding-right: 4px; font-size: .75rem; }
	.cpg-turnus__dow { font-size: .6875rem; }
}

.cpg-section .cpg-points.cpg-points--flush { margin-top: 0; }

.cpg-header .cpg-header__nav a[aria-current="page"] {
	color: var(--cpg-red);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 8px;
}

@media (max-width: 780px) {
	.cpg-plate--job .cpg-plate__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
