/* Responsive fixes added for the static copy (2026). Design otherwise unchanged. */
img, video, embed, object { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
#video, .entry-content iframe { width: 100%; height: auto !important; aspect-ratio: 16 / 9; }
.wp-caption, figure { max-width: 100% !important; }
.entry-content, .entry-content * { overflow-wrap: anywhere; }
table { max-width: 100%; display: block; overflow-x: auto; }

/* Skip link sat off-screen to the right and widened every page on phones */
.screen-reader-text:not(:focus) { width: 1px; height: 1px; overflow: hidden; left: 0; white-space: nowrap; }

/* Home photo: keep its proportions instead of being squashed to the screen */
body.home #home-bg img { object-fit: cover; object-position: center; width: 100%; }

@media screen and (max-width: 768px) {
	/* Mobile menu opens below the menu button so the button stays tappable to close it */
	.main-small-navigation ul { top: 46px; margin-left: 0; }
	.menu-toggle { cursor: pointer; }
	#mc4wp_email { max-width: 100%; }
	.mc4wp-form input[type="email"] { width: 100%; box-sizing: border-box; margin-bottom: 10px; }
}

/* Phones / portrait screens: show the whole home photo at its real proportions (no cropping) */
@media screen and (max-width: 768px), screen and (orientation: portrait) {
	body.home #home-bg img { position: fixed; top: 64px; left: 0; width: 100% !important; height: calc(100% - 64px) !important; max-height: none; object-fit: contain; object-position: center 40%; }
}
