/**
 * Contact page (template-contact.php, inc/contact.php, mockup "Kontakt" version 3): the heading and the lead, the
 * form on the left (styled by Velsor Contact), three quiet boxes on the right; under the form on narrower screens.
 * Colours: assets/css/tokens.css.
 */

.sz-contact.content-area {
	float: none;
	width: 100%;
	padding-bottom: 64px;
}
.sz-contact .sz-contact__title {
	margin: 0;
	font-size: 34px;
	line-height: 1.25;
	font-weight: 600;
	color: var(--sz-ink);
}
.sz-contact .sz-contact__lead {
	text-wrap: pretty;
	margin: 10px 0 0;
	font-size: 16px;
	line-height: 25px;
	color: var(--sz-ink2);
}
.sz-contact__layout {
	display: grid;
	grid-template-columns: minmax(0, 620px) 360px;
	justify-content: space-between;
	align-items: start;
	column-gap: 48px;
	margin-top: 30px;
}
.sz-contact__form {
	min-width: 0;
}
.sz-contact__side {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

/* Boxes of the side column */
.sz-contact-box {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 22px;
	border-radius: 10px;
	background: var(--sz-bg2);
}
.sz-contact .sz-contact-box__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 16px;
	line-height: 22px;
	font-weight: 600;
	color: var(--sz-ink);
}
.sz-contact-box__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
}
.sz-contact-page .sz-icon {
	flex: none;
	width: 18px;
	height: 18px;
	fill: none;
	stroke: var(--sz-navy);
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.sz-contact .sz-contact-box p {
	margin: 0;
}
.sz-contact .sz-contact-box__mail {
	font-size: 15px;
	line-height: 22px;
	font-weight: 600;
	overflow-wrap: anywhere;
}
.sz-contact-box__mail a,
.sz-contact-box__all a {
	color: var(--sz-navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.sz-contact-box__mail a:hover,
.sz-contact-box__all a:hover {
	color: var(--sz-navy-dark);
}
.sz-contact .sz-contact-box__text {
	font-size: 13.5px;
	line-height: 20px;
	color: var(--sz-ink2);
	text-wrap: pretty;
}
.sz-contact .sz-contact-box__links {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sz-contact-box__links li {
	margin: 0;
}
.sz-contact-box__links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 44px;
	padding: 9px 0;
	border-top: 1px solid #e3e6ee;
	font-size: 14px;
	line-height: 20px;
	color: var(--sz-ink);
	text-decoration: none;
}
.sz-contact-box__links a:hover span {
	text-decoration: underline;
}
.sz-contact-box__links .sz-icon {
	width: 15px;
	height: 15px;
}
.sz-contact .sz-contact-box__all {
	font-size: 14px;
	font-weight: 600;
}
.sz-contact .sz-contact-box__company {
	margin: 0;
	font-size: 14px;
	font-style: normal;
	line-height: 22px;
	color: var(--sz-ink);
}
.sz-contact-box__company strong {
	font-weight: 600;
}
/* Registry numbers: label on the left, value on the right */
.sz-contact .sz-contact-box__facts {
	margin: 2px 0 0;
	padding: 0;
	font-size: 13.5px;
	line-height: 20px;
}
.sz-contact-box__fact {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 7px 0;
	border-top: 1px solid #e3e6ee;
}
.sz-contact .sz-contact-box__fact dt {
	margin: 0;
	font-weight: 400;
	color: var(--sz-ink2);
}
.sz-contact .sz-contact-box__fact dd {
	margin: 0;
	text-align: right;
	color: var(--sz-ink);
	font-variant-numeric: tabular-nums;
}

@media (max-width: 1199px) {
	.sz-contact__layout {
		grid-template-columns: minmax(0, 1fr) 320px;
		column-gap: 40px;
	}
}

@media (max-width: 992px) {
	.sz-contact__layout {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 32px;
	}
	.sz-contact__form {
		max-width: 620px;
	}
	/* Two columns: the e-mail and the company data on the left, the help answers next to both. */
	.sz-contact__side {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}
	.sz-contact-box--mail,
	.sz-contact-box--building {
		grid-column: 1;
	}
	.sz-contact-box--help {
		grid-column: 2;
		grid-row: 1 / span 2;
	}
}

@media (max-width: 700px) {
	.sz-contact.content-area {
		padding-bottom: 40px;
	}
	.sz-contact .sz-contact__title {
		font-size: 28px;
	}
	.sz-contact .sz-contact__lead {
		font-size: 15px;
		line-height: 23px;
	}
	.sz-contact__layout {
		margin-top: 22px;
		row-gap: 28px;
	}
	.sz-contact__form {
		max-width: none;
	}
	.sz-contact__side {
		display: flex;
		align-items: stretch;
	}
	.sz-contact-box--help {
		grid-row: auto;
	}
	.sz-contact-box {
		padding: 16px;
	}
}
