/*
Theme Name: Matthieu Arquey
Theme URI: https://www.arquey.com
Description: Child theme of Twenty Twenty-Five for Matthieu Arquey, underwater and nature portraits in Dominica. Design concept: the water line.
Author: Matthieu Arquey
Template: twentytwentyfive
Version: 1.16.8
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arquey-child
*/

/* ------------------------------------------------------------------
   1. Frame: no gaps between full-width sections
   ------------------------------------------------------------------ */
.wp-site-blocks > * {
	margin-block-start: 0;
	margin-block-end: 0;
}
.wp-block-post-content > .alignfull {
	margin-block-start: 0;
	margin-block-end: 0;
}
img {
	border-radius: 0;
}
:root {
	--photo-line: rgba(243, 238, 227, 0.35);   /* fine line around a photo: bone, soft */
	--field-line: rgba(243, 238, 227, 0.35);
}
:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}
/* The mobile menu focuses its first item when it opens: no frame around it */
.wp-block-navigation .wp-block-navigation-item a:focus,
.wp-block-navigation .wp-block-navigation-item a:focus-visible,
.wp-block-navigation__responsive-container-content a:focus,
.wp-block-navigation__responsive-container-content a:focus-visible,
.wp-block-navigation__responsive-container:focus,
.wp-block-navigation__responsive-container:focus-visible,
.wp-block-navigation__responsive-container-content:focus,
.wp-block-navigation__responsive-container-content:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

/* ------------------------------------------------------------------
   2. Sections
   ------------------------------------------------------------------ */
.section,
.entry-content > .section.section,
.wp-block-post-content > .section.section {
	padding-block: clamp(4rem, 9vw, 7rem);
	padding-inline: clamp(1.25rem, 4vw, 2.5rem) !important;
}
.section .wp-block-columns {
	column-gap: clamp(2rem, 5vw, 5rem);
	row-gap: 3rem;
}
.section a:not(.wp-block-button__link) {
	color: var(--wp--preset--color--sun);
}

/* Small capital labels */
.eyebrow {
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 500;
	font-size: 0.8125rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--wp--preset--color--lagoon);
	margin-block-end: 1rem;
}

/* Hero and intro text */
.hero h1 {
	margin-block-end: 1.5rem;
}
.lede {
	font-style: italic;
	font-size: clamp(1.25rem, 2vw, 1.6rem);
	line-height: 1.45;
	max-width: 34rem;
	margin-block-end: 2rem;
}
.intro {
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.4;
	max-width: 46rem;
}
.name-title {
	font-family: var(--wp--preset--font-family--marcellus);
	font-weight: 400;
}
.credentials {
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.8125rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	line-height: 2;
}
.cta-band p {
	max-width: 34rem;
}
.cta-band .wp-block-buttons {
	margin-block-start: 1.5rem;
}

/* ------------------------------------------------------------------
   3. The water line: wavy divider between sections
   ------------------------------------------------------------------ */
.wave {
	position: relative;
	height: 24px;
	padding: 0;
	background-color: var(--wave-top, var(--wp--preset--color--abyss));
}
.wave::after {
	content: "";
	position: absolute;
	inset: 0;
	background-color: var(--wave-fill, var(--wp--preset--color--bone));
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='24' viewBox='0 0 80 24'%3E%3Cpath d='M0 12 Q20 0 40 12 T80 12 V24 H0 Z'/%3E%3C/svg%3E") repeat-x 0 0 / 80px 24px;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='24' viewBox='0 0 80 24'%3E%3Cpath d='M0 12 Q20 0 40 12 T80 12 V24 H0 Z'/%3E%3C/svg%3E") repeat-x 0 0 / 80px 24px;
}
.wave--abyss-bone { --wave-top: var(--wp--preset--color--abyss); --wave-fill: var(--wp--preset--color--abyss); }
.wave--abyss-canopy { --wave-top: var(--wp--preset--color--abyss); --wave-fill: var(--wp--preset--color--abyss); }
.wave--canopy-abyss { --wave-top: var(--wp--preset--color--abyss); --wave-fill: var(--wp--preset--color--abyss); }
.wave--canopy-bone { --wave-top: var(--wp--preset--color--abyss); --wave-fill: var(--wp--preset--color--abyss); }
.wave--bone-abyss { --wave-top: var(--wp--preset--color--abyss); --wave-fill: var(--wp--preset--color--abyss); }
.wave--bone-canopy { --wave-top: var(--wp--preset--color--abyss); --wave-fill: var(--wp--preset--color--abyss); }

/* ------------------------------------------------------------------
   4. Photos and placeholders (replace placeholders with Image blocks)
   ------------------------------------------------------------------ */
.photo-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 1.5rem;
	background-color: transparent;
	border: 1px solid var(--photo-line);
	color: var(--wp--preset--color--bone);
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.75rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	line-height: 1.8;
}
.photo-placeholder p {
	margin: 0;
	text-align: center;
}
/* A placeholder that already contains a photo: no box, no padding,
   no second line. The image keeps its natural proportions and its single frame. */
.photo-placeholder.photo-placeholder:has(.wp-block-image) {
	display: block;
	padding: 0;
	border: 0;
	aspect-ratio: auto;
	min-height: 0;
}
.photo-placeholder--tall,
.photo-placeholder--card {
	aspect-ratio: 4 / 5;
}
.photo-placeholder--wide {
	aspect-ratio: 16 / 9;
	min-height: 240px;
	margin-block-start: 3rem;
}
.gallery-row {
	margin-block-start: 4rem;
}
.gallery-row .photo-placeholder--card {
	aspect-ratio: 3 / 2;
}
.wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	box-sizing: border-box;
	/* Thin line, with a small gap between the line and the photo */
	padding: 7px;
	border: 1px solid var(--photo-line);
}
.wp-block-image {
	margin: 0;
}

/* ------------------------------------------------------------------
   5. Session details
   ------------------------------------------------------------------ */
.spec {
	margin-block: 0;
}
.spec p.spec-row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin: 0;
	padding: 0.9rem 0;
	border-top: 1px solid var(--wp--preset--color--lagoon);
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.9375rem;
	letter-spacing: 0.04em;
	line-height: 1.5;
	max-width: none;
}
.spec p.spec-row:last-child {
	border-bottom: 1px solid var(--wp--preset--color--lagoon);
}
.spec p.spec-row .v {
	text-align: right;
}
.spec p.spec-row .price {
	font-weight: 500;
}

.teasers {
	margin-block-start: 4rem;
}
.price-line {
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 500;
	font-size: 0.9375rem;
	letter-spacing: 0.04em;
}
.more-link a {
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 500;
	font-size: 0.8125rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 0.4em;
}
.strip {
	margin-block-start: 3rem;
	padding-block-start: 2rem;
	border-top: 1px solid currentColor;
	font-size: 1.125rem;
}
.strip .eyebrow {
	display: inline-block;
	margin: 0 1rem 0 0;
}
.conduct h3 {
	font-size: 1.25rem;
}
.form-placeholder {
	min-height: 220px;
	padding: 2rem;
	margin-block-end: 1.5rem;
	border: 1px dashed var(--wp--preset--color--lagoon);
	color: var(--wp--preset--color--lagoon);
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.8125rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	line-height: 1.8;
}

/* ------------------------------------------------------------------
   6. Buttons
   ------------------------------------------------------------------ */
.wp-element-button {
	transition: filter 0.2s ease;
}
.wp-element-button:hover {
	filter: brightness(1.1);
}
.wp-block-button.is-style-outline > .wp-block-button__link {
	background-color: transparent;
	border: 1px solid currentColor;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--bone) !important;
	color: var(--wp--preset--color--abyss) !important;
	filter: none;
}

/* ------------------------------------------------------------------
   7. Header and footer
   ------------------------------------------------------------------ */
.site-header,
.site-footer {
	padding-block: 1.25rem;
	padding-inline: max(clamp(1.25rem, 4vw, 2.5rem), calc((100% - 1280px) / 2));
	align-items: center;
	gap: 1rem 2rem;
}
.site-header.site-header {
	padding-block-end: 2rem;
}
.site-header .header-brand {
	gap: 0.9rem;
	flex-wrap: nowrap;
	align-items: center;
}
.site-header .header-logo {
	margin: 0;
	line-height: 0;
}
.site-header .wp-block-image img {
	padding: 0;
	display: block;
	width: 104px;
	height: auto;
	border: 0;
}
.site-header .wp-block-site-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--marcellus);
	font-size: 1.75rem;
	font-weight: 400;
	letter-spacing: 0;
}
.site-header .wp-block-site-title a,
.site-header .wp-block-navigation a,
.site-footer a {
	color: var(--wp--preset--color--bone);
	text-decoration: none;
}
.site-header .wp-block-navigation {
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 500;
	font-size: 0.8125rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
.site-header .wp-block-navigation a {
	padding-block: 0.75rem;
}
.site-header .wp-block-navigation a:hover,
.site-header .wp-block-navigation .wp-block-navigation-item:last-child > a {
	color: var(--wp--preset--color--sun);
}
.site-footer {
	padding-block: 2.5rem;
	border-top: 1px solid var(--wp--preset--color--lagoon);
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.8125rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.site-footer p {
	margin: 0;
}
.site-footer .footer-name {
	font-family: var(--wp--preset--font-family--marcellus);
	font-size: 1.25rem;
	letter-spacing: 0;
	text-transform: none;
}
.site-footer a:hover {
	color: var(--wp--preset--color--sun);
}

/* ------------------------------------------------------------------
   8. One background everywhere (logo blue)
   Page content still uses the light "bone" background class: it is
   turned into the same dark background here, so no page needs editing.
   ------------------------------------------------------------------ */
body {
	background-color: var(--wp--preset--color--abyss);
	color: var(--wp--preset--color--bone);
}
.has-bone-background-color.has-background {
	background-color: var(--wp--preset--color--abyss) !important;
}
.section.has-bone-background-color.has-abyss-color {
	color: var(--wp--preset--color--bone) !important;
}

/* ------------------------------------------------------------------
   9. Small screens
   ------------------------------------------------------------------ */
@media (max-width: 781px) {
	.section,
	.entry-content > .section.section,
	.wp-block-post-content > .section.section {
		padding-inline: 1.5rem !important;
	}
	.site-header,
	.site-footer {
		padding-inline: 1.5rem;
	}
	/* Logo, title and menu button always on one line */
	.site-header.site-header {
		flex-wrap: nowrap !important;
		gap: 0.75rem;
	}
	.site-header .header-brand {
		flex: 1 1 auto;
		min-width: 0;
		gap: 0.6rem;
	}
	.site-header .wp-block-site-title {
		font-size: clamp(1.05rem, 5.2vw, 1.5rem);
		line-height: 1.15;
		min-width: 0;
	}
	.site-header .wp-block-navigation {
		flex: 0 0 auto;
	}
	.site-header .wp-block-image img {
		width: 84px;
	}
	.spec p.spec-row {
		flex-direction: column;
		gap: 0.25rem;
	}
	.spec p.spec-row .v {
		text-align: left;
	}
	.photo-placeholder--tall {
		aspect-ratio: 4 / 3;
	}
	/* Session cards and galleries: crop to 4:5 instead of the full tall photo,
	   keeping the upper part of the picture (subjects sit above the middle). */
	.teasers .photo-placeholder--card .wp-block-image img,
	.gallery-row .photo-placeholder--card .wp-block-image img {
		aspect-ratio: 4 / 5;
		object-fit: cover;
		object-position: 50% 30%;
	}
}

/* ------------------------------------------------------------------
   10. Contact form
   ------------------------------------------------------------------ */
.arquey-form {
	margin-block-end: 1.5rem;
	font-family: var(--wp--preset--font-family--jost);
	color: var(--wp--preset--color--bone);
}
.arquey-form .ac-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.arquey-form .ac-field {
	margin-block-end: 1.25rem;
	min-width: 0;
}
.arquey-form .ac-field[hidden] {
	display: none;
}
.arquey-form label {
	display: block;
	margin-block-end: 0.4rem;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--lagoon);
}
.arquey-form .ac-opt {
	text-transform: none;
	letter-spacing: 0.02em;
	font-weight: 400;
}
.arquey-form input[type="text"],
.arquey-form input[type="email"],
.arquey-form input[type="tel"],
.arquey-form input[type="date"],
.arquey-form select,
.arquey-form textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 0.8rem 0.9rem;
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--wp--preset--color--bone);
	background: transparent;
	border: 1px solid var(--field-line);
	border-radius: 0;
	color-scheme: dark;
	-webkit-appearance: none;
	appearance: none;
}
/* iOS Safari collapses an empty date input to half height: force the same height as the other fields */
.arquey-form input[type="date"] {
	min-height: calc(3rem + 2px);
}
.arquey-form input[type="date"]::-webkit-date-and-time-value {
	min-height: 1.4em;
	text-align: left;
}
.arquey-form input[type="date"]::-webkit-datetime-edit {
	padding: 0;
}
.arquey-form select {
	padding-right: 2.4rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F3EEE3' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
}
.arquey-form select option {
	color: #F3EEE3;
	background: #051E2B;
}
.arquey-form textarea {
	resize: vertical;
	min-height: 8rem;
}
.arquey-form input:focus,
.arquey-form select:focus,
.arquey-form textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--sun);
	box-shadow: 0 0 0 1px var(--wp--preset--color--sun);
}
.arquey-form ::placeholder {
	color: var(--wp--preset--color--lagoon);
	opacity: 1;
}
.arquey-form .ac-consent label {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--wp--preset--color--bone);
}
.arquey-form .ac-consent input[type="checkbox"] {
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	margin: 0.15rem 0 0;
	accent-color: var(--wp--preset--color--sun);
}
.arquey-form .ac-submit {
	display: inline-block;
	padding: 0.95rem 2.2rem;
	font: inherit;
	font-weight: 500;
	letter-spacing: 0.08em;
	color: var(--wp--preset--color--abyss);
	background: var(--wp--preset--color--sun);
	border: 1px solid var(--wp--preset--color--sun);
	border-radius: 0;
	cursor: pointer;
}
.arquey-form .ac-submit:hover,
.arquey-form .ac-submit:focus-visible {
	background: var(--wp--preset--color--bone);
	border-color: var(--wp--preset--color--bone);
}
.arquey-form .ac-error {
	margin: 0.4rem 0 0;
	font-size: 0.875rem;
	color: var(--wp--preset--color--sun);
}
.arquey-form .ac-error--top {
	margin: 0 0 1.25rem;
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--wp--preset--color--sun);
}
.arquey-form .has-error input,
.arquey-form .has-error select,
.arquey-form .has-error textarea {
	border-color: var(--wp--preset--color--sun);
}
.arquey-form .ac-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.arquey-form--sent {
	padding: 1.75rem;
	border: 1px solid var(--field-line);
}
.arquey-form--sent .ac-sent-title {
	margin: 0 0 0.5rem;
	font-family: var(--wp--preset--font-family--marcellus);
	font-size: 1.5rem;
}
.arquey-form--sent p:last-child {
	margin: 0;
}
@media (max-width: 781px) {
	.arquey-form .ac-row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

/* WhatsApp links */
.wa-link a,
.wa-button {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}
.wa-link {
	margin: 0;
}
.wa-icon {
	flex: 0 0 auto;
	display: block;
}

/* Icon on the page button (WordPress strips inline SVG from page content) */
.wa-button::before {
	content: "";
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z%22/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z%22/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Space between "How it works" text and the three photos (desktop).
   WordPress layout styles were forcing it back to 1.2rem. */
@media (min-width: 782px) {
	.section .wp-block-columns.gallery-row {
		margin-block-start: 4rem;
	}
}

/* Less space between the header and the top of the page (desktop) */
@media (min-width: 782px) {
	.entry-content > .section.hero.hero,
	.wp-block-post-content > .section.hero.hero {
		padding-block-start: 4.5rem;
	}
}

/* Home page on phones: no photo in the hero (it repeats the Jade photo of the page),
   no "See the sessions" button, and "Request a session" centered. */
@media (max-width: 781px) {
	.home .hero .wp-block-columns > .wp-block-column:last-child {
		display: none;
	}
	.home .hero .wp-block-button.is-style-outline {
		display: none;
	}
}

/* Phones: the buttons ("Request a session", "Request this session") are centered on every page. */
@media (max-width: 781px) {
	.wp-block-buttons {
		justify-content: center;
	}
}

/* Phones and small tablets: the text block above a button (title, text, button) sits in the middle
   of the page, while the text itself stays aligned to the left. */
@media (max-width: 781px) {
	.wp-block-columns .wp-block-column:has(> .wp-block-buttons) {
		flex: 0 1 auto !important;
		width: fit-content;
		max-width: min(100%, 30rem);
		margin-inline: auto;
	}
}

@media (max-width: 781px) {
	.wp-block-column:has(> .wp-block-buttons) :is(h1, h2, p) {
		text-wrap: balance;
	}
}

/* Phones: one steady rhythm between blocks.
   - 2.5rem above and below a section, so the passage from one section to the next (with the wave) is about 100px everywhere
   - 3rem between a block and the one after it: the details box, the gallery, the "Already swam with the whales" line, the wide photo */
@media (max-width: 781px) {
	.wp-block-post-content > .section.section {
		padding-block: 2.5rem;
	}
	.wp-block-post-content > .section.section:first-child {
		padding-block-start: 4rem;
	}
	.wp-block-post-content > .section.hero.hero {
		padding-block-start: 4rem;
	}
	.section .wp-block-columns.gallery-row,
	.section > .strip.strip {
		margin-block-start: 3rem;
	}
	.hero .photo-placeholder--wide.photo-placeholder--wide {
		margin-block-start: 3rem;
	}
	.section .teasers.teasers {
		margin-block-start: 3rem;
	}
}

/* Phones: italic letters (the "j" of the introduction) hang a little outside their line.
   A small inner margin keeps them inside the block, so nothing is left behind when the block moves. */
@media (max-width: 781px) {
	.wp-block-column:has(> .wp-block-buttons) > :not(.wp-block-buttons) {
		padding-inline: 0.25rem;
		box-sizing: border-box;
	}
}
