/* Cose Theme - INFO page (page-info.php)
   Desktop (INFO_NEW.png): the text is large (about 3vw) and runs across the
   whole page in one column; the "Contact us" row is small (the site's text
   size), a quarter of the page wide, and closes the page under the text -
   wherever it sits in the page's content. Mobile: the same, with the text
   sized to the screen width and the row as wide as the screen. The design
   shows no logo on this page. */

.site-logo {
	display: none;
}

.info-page {
	display: flex;
	flex-direction: column;
	padding: 24px 40px 40px;
}

.info-page > p,
.info-page > .wp-block-paragraph {
	margin: 0 0 1.1em;
	/* Width-based, but capped by the height too, so that on short desktop
	   windows the page still (nearly) fits without scrolling. */
	/* +2pt on top of that: the client's request (October 2026). */
	font-size: calc(min(2.95vw, 4.7vh) + 2pt);
	line-height: 1.1;
	text-align: left;
}

.info-page > p:last-of-type {
	margin-bottom: 0;
}

/* Contact row: label on the left, addresses right-aligned, half a column wide. */
.info-contact,
.info-contact > .wp-block-group__inner-container {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 60px;
}

/* The group block wraps its content in an inner container; it has to span the
   whole row, or the addresses end where that container ends instead of at the
   row's right edge. */
.info-contact > .wp-block-group__inner-container {
	/* width: 100%; */
}

.info-contact {
	order: 1;
	width: 25%;
	min-width: 340px;
	margin: 6vw 0 0;
	font-size: 1rem;
	line-height: 1.4;
}

.info-contact h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.info-contact p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.4;
}

.info-contact__emails {
	text-align: right;
}

.info-contact__emails a {
	color: inherit;
	text-decoration: none;
}

@media (max-width: 900px) {
	.info-page {
		padding: 20px 20px 60px;
	}

	.info-page > p,
	.info-page > .wp-block-paragraph {
		font-size: calc(8.4vw + 2pt);
		line-height: 1.07;
	}

	/* Still last, under the text, but as wide as the screen. */
	.info-contact {
		width: 100%;
		min-width: 0;
		margin: 44px 0 0;
	}

	/* Mobile only: the inner container spans the whole row, so the addresses
	   sit on the row's right edge. (On desktop this is left as it was.) */
	.info-contact > .wp-block-group__inner-container {
		width: 100%;
	}
}
