/*
Theme Name: Into the Blue
Theme URI: https://blue.arquey.com
Description: Child theme of Twenty Twenty-Five for Into the Blue, the photo shop of Matthieu Arquey. Same look as www.arquey.com: logo blue background, Marcellus, Jost and Newsreader.
Author: Matthieu Arquey
Template: twentytwentyfive
Version: 1.1.16
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: blue-child
*/

/* ------------------------------------------------------------------
   1. Frame: no gaps between full-width sections
   ------------------------------------------------------------------ */
.wp-site-blocks > * {
	margin-block-start: 0;
	margin-block-end: 0;
}
/* Footer at the bottom of the window when the page is short */
.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}
.wp-site-blocks > footer {
	margin-top: auto;
}
/* Signed in: WordPress adds a bar on top (32 px, 46 px on a phone) that must not count as extra height */
.admin-bar .wp-site-blocks {
	min-height: calc(100vh - 32px);
	min-height: calc(100dvh - 32px);
}
@media screen and (max-width: 782px) {
	.admin-bar .wp-site-blocks {
		min-height: calc(100vh - 46px);
		min-height: calc(100dvh - 46px);
	}
}
.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);
}
/* No white frame around clicked links, buttons or menus (e.g. the "Legal" menu).
   Text fields keep their frame: it shows where you are typing.
   Keyboard users still see where they are: links get underlined, summaries and buttons turn gold. */
:focus,
:focus-visible {
	outline: none;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}
a:focus-visible {
	text-decoration: underline;
}
summary:focus-visible,
button:focus-visible {
	color: var(--wp--preset--color--sun);
}
/* 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;
	}
}


/* ------------------------------------------------------------------
   10. Into the Blue: shop pages
   Cart, checkout and account sit on a bone panel with dark text,
   so form labels and fields stay readable. Only links inside these
   panels are turned dark: the rest of the site keeps its own colors.
   ------------------------------------------------------------------ */
.wp-block-image.alignfull img {
	border: 0;
}
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout,
.woocommerce-account .woocommerce {
	background-color: var(--wp--preset--color--bone);
	color: var(--wp--preset--color--abyss);
	padding: clamp(1.25rem, 4vw, 2.5rem);
	margin-block: 2rem;
}
.wp-block-woocommerce-cart a:not(.wp-block-button__link):not(.wc-block-components-button):not(.button),
.wp-block-woocommerce-checkout a:not(.wp-block-button__link):not(.wc-block-components-button):not(.button),
.woocommerce-account .woocommerce a:not(.button) {
	color: var(--wp--preset--color--abyss);
	text-decoration: underline;
}

/* Buttons: sun background, dark text, like on arquey.com */
body.woocommerce a.button,
body.woocommerce a.button.alt,
body.woocommerce button.button,
body.woocommerce button.button.alt,
body.woocommerce input.button,
body.woocommerce #respond input#submit,
body.woocommerce .single_add_to_cart_button {
	background-color: var(--wp--preset--color--sun);
	color: var(--wp--preset--color--abyss);
	border: 0;
	border-radius: 0;
	padding: 1rem 1.9rem;
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-decoration: none;
}
body.woocommerce a.button:hover,
body.woocommerce button.button:hover,
body.woocommerce .single_add_to_cart_button:hover {
	background-color: var(--wp--preset--color--sun);
	color: var(--wp--preset--color--abyss);
	filter: brightness(1.1);
}
.wc-block-components-button:not(.is-link) {
	background-color: var(--wp--preset--color--abyss);
	color: var(--wp--preset--color--bone);
	border-radius: 0;
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
	background-color: transparent;
	color: inherit;
	border-top-color: var(--wp--preset--color--sun);
}

/* ------------------------------------------------------------------
   11. Product page
   ------------------------------------------------------------------ */
/* Same width and side margins as the header and footer */
.single-product main {
	box-sizing: border-box;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
	--wp--style--global--content-size: 1280px;
	--wp--style--global--wide-size: 1280px;
}
/* Titles are file names like 2026-09-20-1009: keep them small */
.single-product main h1 {
	font-size: clamp(1.25rem, 2.2vw, 1.75rem) !important;
	line-height: 1.25 !important;
	letter-spacing: 0.04em;
	overflow-wrap: anywhere;
}
/* Breadcrumb: a small label above the photo */
.woocommerce-breadcrumb {
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wp--preset--color--lagoon);
	margin: 0;
	padding-block: 1.5rem 1rem;
}
.woocommerce-breadcrumb a {
	color: var(--wp--preset--color--bone);
	text-decoration: none;
}
.woocommerce-breadcrumb a:hover {
	color: var(--wp--preset--color--sun);
}
/* No category, tag or SKU line (both the classic and the block version) */
.single-product .product_meta,
.single-product .wp-block-woocommerce-product-meta,
.single-product .wp-block-post-terms,
.single-product .taxonomy-product_cat,
.single-product .taxonomy-product_tag {
	display: none !important;
}
/* PayPal button: not wider than the Add to cart area */
.single-product .ppc-button-wrapper,
.single-product [id^="ppc-button"],
.single-product .ppcp-messages {
	max-width: 22rem;
}

/* 12. Photos: no drag, no text selection, no long-press save menu on phones */
main img {
	-webkit-user-drag: none;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}

/* 13. Cart icon in the header, and no "View cart" link under the product button */
.site-header .wc-block-mini-cart__button {
	color: var(--wp--preset--color--bone);
	padding: 0.5rem;
}
.site-header .wc-block-mini-cart__button:hover,
.site-header .wc-block-mini-cart__button:focus-visible {
	color: var(--wp--preset--color--sun);
}
.site-header .wc-block-mini-cart__badge {
	background: var(--wp--preset--color--sun);
	color: var(--wp--preset--color--abyss);
}
a.added_to_cart,
.single-product a.wc-forward:not(.checkout-button):not(.wc-block-components-button) {
	display: none !important;
}

/* 14. Cart and checkout: smaller page title, one font inside the panel */
.woocommerce-cart main .wp-block-post-title,
.woocommerce-checkout main .wp-block-post-title,
.woocommerce-account main .wp-block-post-title {
	font-family: var(--wp--preset--font-family--marcellus) !important;
	font-size: clamp(1.25rem, 2.2vw, 1.75rem) !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.02em;
	margin-block: 1.5rem 0 !important;
}
.wp-block-woocommerce-cart,
.wp-block-woocommerce-cart *,
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-checkout *,
.woocommerce-account .woocommerce,
.woocommerce-account .woocommerce * {
	font-family: var(--wp--preset--font-family--jost) !important;
}
.wp-block-woocommerce-cart .wc-block-cart__totals-title,
.wp-block-woocommerce-cart .wc-block-cart-items__header,
.wp-block-woocommerce-checkout .wc-block-components-title,
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__title {
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}


/* 15. Byline after the site title */
.site-header .header-titles {
	gap: 0.15rem 0.7rem;
	align-items: baseline;
	min-width: 0;
}
.site-header .header-byline {
	margin: 0;
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.8125rem;
	font-weight: 400;
	letter-spacing: 0.12em;
	color: var(--wp--preset--color--bone);
	opacity: 0.85;
	white-space: nowrap;
}

/* 16. No sorting menu on product listings */
.wc-block-catalog-sorting,
.woocommerce-ordering,
.wp-block-woocommerce-catalog-sorting {
	display: none !important;
}

/* 17. No results counter */
.wc-block-product-results-count,
.woocommerce-result-count,
.wp-block-woocommerce-product-results-count {
	display: none !important;
}

/* 18. Day pages and shop: page title same size as the cart title */
.tax-product_cat main h1,
.post-type-archive-product main h1,
.woocommerce-shop main h1,
main .wp-block-query-title,
.woocommerce-products-header__title {
	font-family: var(--wp--preset--font-family--marcellus) !important;
	font-size: clamp(1.25rem, 2.2vw, 1.75rem) !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.02em;
}

/* 19. Product photos in lists: whole photo, no square crop */
.wc-block-components-product-image,
.wp-block-woocommerce-product-image,
ul.products li.product a img {
	aspect-ratio: auto !important;
}
.wc-block-components-product-image img,
.wp-block-woocommerce-product-image img,
.wc-block-grid__product-image img,
ul.products li.product a img {
	aspect-ratio: auto !important;
	height: auto !important;
	object-fit: contain !important;
	width: 100%;
}

/* 20. Product lists: same photo height, widths follow each photo */
.wp-block-woocommerce-product-collection,
.wp-block-woocommerce-product-template,
main {
	--photo-h: clamp(220px, 30vw, 380px);
}
ul.wc-block-product-template,
.wp-block-woocommerce-product-template,
ul.products {
	display: flex !important;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 2rem 1.5rem;
	grid-template-columns: none !important;
}
ul.wc-block-product-template > li,
.wp-block-woocommerce-product-template > li,
ul.products > li.product {
	flex: 0 0 auto !important;
	width: auto !important;
	max-width: 100%;
	margin: 0 !important;
}
.wc-block-components-product-image,
.wp-block-woocommerce-product-image {
	width: auto !important;
}
ul.wc-block-product-template li img,
.wp-block-woocommerce-product-template li img,
ul.products li.product a img {
	height: var(--photo-h) !important;
	max-width: 100%;
	object-fit: contain !important;
	margin-inline: auto;
}
ul.wc-block-product-template li .wp-block-post-title,
ul.wc-block-product-template li .wc-block-components-product-price,
ul.wc-block-product-template li .wp-block-woocommerce-product-price {
	text-align: center;
}

/* 21. Side margins on phones and everywhere: shop pages and plain text pages */
.tax-product_cat main,
.post-type-archive-product main,
.woocommerce-shop main {
	box-sizing: border-box;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem) !important;
}
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .wp-block-post-content > :not(.section):not(.alignfull):not(.wp-block-woocommerce-cart):not(.wp-block-woocommerce-checkout) {
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
	box-sizing: border-box;
}


/* 22. Client delivery pages (slug d-...) */
.delivery-page .site-header .wp-block-navigation,
.delivery-page .site-header .wp-block-woocommerce-mini-cart {
	display: none;
}
.delivery-page main img {
	-webkit-user-drag: auto;
	user-select: auto;
	-webkit-touch-callout: default;
}
.delivery {
	max-width: 1280px !important;
	margin-inline: auto;
	padding-block: clamp(2rem, 5vw, 4rem);
}
.delivery .delivery-title {
	font-family: var(--wp--preset--font-family--marcellus);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 400;
	margin: 0 0 0.75rem;
}
.delivery .delivery-note {
	font-family: var(--wp--preset--font-family--jost);
	color: var(--wp--preset--color--lagoon);
	margin: 0 0 1.5rem;
}
.delivery .delivery-all {
	margin: 0 0 2.5rem;
}
.delivery .delivery-all a {
	display: inline-block;
	background: var(--wp--preset--color--sun);
	color: var(--wp--preset--color--abyss);
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 1rem 1.6rem;
}
.delivery .delivery-heading {
	font-family: var(--wp--preset--font-family--marcellus);
	font-size: 1.25rem;
	font-weight: 400;
	margin: 2rem 0 1rem;
}
.delivery .delivery-photos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 1.5rem;
}
.delivery .delivery-videos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
	gap: 1.5rem;
}
.delivery .delivery-item {
	margin: 0;
}
.delivery .delivery-item img,
.delivery .delivery-item video {
	display: block;
	width: 100%;
	height: auto;
	background: #000;
}
.delivery .delivery-item figcaption {
	margin-top: 0.5rem;
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.875rem;
}
.delivery .delivery-item figcaption a {
	color: var(--wp--preset--color--sun);
}

/* 23. Free videos above a day's photos: small thumbnails, play on click */
.day-videos {
	margin: 0 0 2.5rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(127, 127, 127, 0.25);
}
.day-videos .day-videos-title {
	font-family: var(--wp--preset--font-family--marcellus);
	font-size: 1.125rem;
	font-weight: 400;
	margin: 0 0 0.25rem;
}
.day-videos .day-videos-note {
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.875rem;
	opacity: 0.75;
	margin: 0 0 1rem;
}
.day-videos .day-videos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
	gap: 1rem;
	max-width: 780px;
}
.day-videos .day-video {
	margin: 0;
}
.day-videos .day-video-play {
	position: relative;
	display: block;
	background: #0b1d26;
	border-radius: 4px;
	overflow: hidden;
	line-height: 0;
	aspect-ratio: 16 / 9;
}
.day-videos .day-video-play img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.day-videos .day-video-icon {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 2.75rem;
	height: 2.75rem;
	margin: -1.375rem 0 0 -1.375rem;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	border: 1.5px solid rgba(255, 255, 255, 0.85);
	transition: background 0.15s;
}
.day-videos .day-video-icon::after {
	content: "";
	position: absolute;
	left: 52%;
	top: 50%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 0.4rem 0 0.4rem 0.7rem;
	border-color: transparent transparent transparent #fff;
}
.day-videos .day-video-play:hover .day-video-icon {
	background: rgba(0, 0, 0, 0.7);
}
.day-videos .day-video-time {
	position: absolute;
	right: 0.4rem;
	bottom: 0.35rem;
	padding: 0.1rem 0.4rem;
	border-radius: 3px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.75rem;
	line-height: 1.3;
}
.day-videos .day-video video {
	display: block;
	width: 100%;
	height: auto;
	background: #000;
	border-radius: 4px;
}
.day-videos .day-video figcaption {
	margin-top: 0.4rem;
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.8125rem;
}
.day-videos .day-video figcaption a {
	color: var(--wp--preset--color--sun);
}
.day-videos .day-video figcaption span {
	opacity: 0.65;
	margin-left: 0.35rem;
}

/* 24. Title above the photos for sale, on a day that also has free videos */
.day-photos-head {
	margin: 0 0 1.25rem;
}
.day-photos-head .day-photos-title {
	font-family: var(--wp--preset--font-family--marcellus);
	font-size: 1.125rem;
	font-weight: 400;
	margin: 0 0 0.25rem;
}
.day-photos-head .day-photos-note {
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.875rem;
	opacity: 0.75;
	margin: 0;
}

/* 25. Phones: one photo or video per line, centred, whole picture whatever its shape */
@media (max-width: 600px) {
	.wp-block-woocommerce-product-collection,
	.wp-block-woocommerce-product-template,
	main {
		--photo-h: 70vh;   /* a portrait photo never gets taller than this; widths are capped at the screen */
	}
	ul.wc-block-product-template,
	.wp-block-woocommerce-product-template,
	ul.products {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: center;
		gap: 2.25rem;
	}
	ul.wc-block-product-template > li,
	.wp-block-woocommerce-product-template > li,
	ul.products > li.product {
		flex: 0 0 auto !important;
		width: 100% !important;
		text-align: center;
	}
	ul.wc-block-product-template li img,
	.wp-block-woocommerce-product-template li img,
	ul.products li.product a img {
		display: block;
		height: auto !important;
		aspect-ratio: var(--ar, auto) !important;   /* keeps its place while loading */
		max-width: 100%;
		margin-inline: auto;
	}
	ul.wc-block-product-template,
	.wp-block-woocommerce-product-template,
	ul.products {
		padding-left: 0;
		list-style: none;
	}
	.day-videos .day-videos-grid {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 1.5rem;
		max-width: none;
	}
	.day-videos .day-video {
		width: min(100%, calc(70vh * var(--ar, 1.7778)));
		text-align: center;
	}
	.day-videos .day-video-play {
		aspect-ratio: var(--ar, 1.7778);
	}
	.day-videos .day-video video {
		max-height: 70vh;
		margin-inline: auto;
	}
}

/* 26. Home page: taller photo at the top (whole picture on phones), and the latest days as cards */
.home .wp-block-image.home-hero img {
	display: block;
	width: 100%;
	height: clamp(260px, 42vw, 640px) !important;
	aspect-ratio: auto !important;
	object-fit: cover !important;
	object-position: 50% 13%;
}
@media (max-width: 600px) {
	.home .wp-block-image.home-hero img {
		height: auto !important;      /* the whole photo, uncropped */
	}
}
.home-days {
	margin-top: 3.5rem !important;
	margin-bottom: 0;
	padding-bottom: 5rem;   /* room between the day thumbnails and the footer */
}
.home-days .home-days-title {
	font-family: var(--wp--preset--font-family--marcellus);
	font-size: 1.125rem;
	font-weight: 400;
	text-align: center;
	margin: 0 0 1.25rem;
}
.home-days .home-days-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.25rem;
}
.home-days .home-day {
	flex: 0 1 240px;
	text-decoration: none;
	color: inherit;
	text-align: center;
}
.home-days .home-day img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	box-sizing: border-box;
	padding: 7px;
	border: 1px solid var(--photo-line);
	border-radius: 0;
	transition: opacity 0.15s;
}
.home-days .home-day:hover img {
	opacity: 0.85;
}
.home-days .home-day-date {
	display: block;
	margin-top: 0.5rem;
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.875rem;
	letter-spacing: 0.04em;
}
@media (max-width: 600px) {
	.home-days .home-day {
		flex: 0 1 calc(50% - 0.625rem);
	}
}

/* 27. Cart, checkout and account on phones: the panel never gets wider than the screen */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout,
.woocommerce-account .woocommerce {
	box-sizing: border-box;
	max-width: 100%;
}
.woocommerce-cart main .wp-block-post-title,
.woocommerce-checkout main .wp-block-post-title,
.woocommerce-account main .wp-block-post-title {
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
	box-sizing: border-box;
}
@media (max-width: 380px) {
	.wp-block-woocommerce-cart,
	.wp-block-woocommerce-checkout,
	.woocommerce-account .woocommerce {
		padding: 0.75rem;
	}
	.wc-block-cart-items .wc-block-components-product-name {
		overflow-wrap: anywhere;
	}
}

/* 28. Pack price note */
.pack-note {
	font-family: var(--wp--preset--font-family--jost, inherit);
	font-size: 0.875rem;
	opacity: 0.8;
	margin: 0 0 1rem;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
	box-sizing: border-box;
}

/* 29. Footer: legal links in a drop-up menu */
.legal-menu {
	position: relative;
}
.legal-menu summary {
	cursor: pointer;
	list-style: none;
	padding-block: 0.5rem;
}
.legal-menu summary::-webkit-details-marker {
	display: none;
}
.legal-menu summary::after {
	content: "";
	display: inline-block;
	width: 0.4em;
	height: 0.4em;
	margin-left: 0.7em;
	border-right: 1px solid currentColor;
	border-top: 1px solid currentColor;
	transform: rotate(-45deg) translateY(-0.1em);
}
.legal-menu[open] summary::after {
	transform: rotate(135deg);
}
.legal-menu summary:hover,
.legal-menu[open] summary {
	color: var(--wp--preset--color--sun);
}
.legal-menu ul {
	position: absolute;
	bottom: 100%;
	right: 0;
	margin: 0 0 0.25rem;
	padding: 0.75rem 1.25rem;
	list-style: none;
	min-width: max-content;
	background: var(--wp--preset--color--abyss);
	border: 1px solid var(--wp--preset--color--lagoon);
}
.legal-menu li {
	padding-block: 0.4rem;
}
@media (max-width: 781px) {
	.legal-menu ul {
		left: 0;
		right: auto;
	}
}


/* 30. Private galleries (page slug g-...): a client ticks the photos of his session */
.gallery-page .site-header .wp-block-navigation {
	display: none;
}
.gallery {
	max-width: 1280px !important;
	margin-inline: auto;
	padding-block: clamp(2rem, 5vw, 4rem);
}
.gallery .gallery-title {
	font-family: var(--wp--preset--font-family--marcellus);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 400;
	margin: 0 0 0.75rem;
}
.gallery .gallery-note {
	font-family: var(--wp--preset--font-family--jost);
	color: var(--wp--preset--color--lagoon);
	max-width: 46rem;
	margin: 0 0 2rem;
}
.gallery .gallery-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}
.gallery .gallery-grid::after {
	content: "";
	flex: 1000 1 0;
}
.gallery .gallery-item {
	margin: 0;
	flex: calc(var(--ar, 1.5) * 100) 1 calc(var(--ar, 1.5) * 240px);
	min-width: 0;
	outline: 3px solid transparent;
	outline-offset: -3px;
	transition: outline-color 0.15s;
}
.gallery .gallery-item.is-selected {
	outline-color: var(--wp--preset--color--sun);
}
.gallery .gallery-item.is-ordered .gallery-zoom img {
	opacity: 0.55;
}
.gallery .gallery-item.is-ordered .gallery-pick,
.gallery .gallery-item.is-ordered .gallery-pick input {
	cursor: default;
}
.gallery-lightbox .gl-pick:disabled {
	opacity: 0.5;
	cursor: default;
}
.gallery .gallery-zoom {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
}
.gallery .gallery-zoom img {
	display: block;
	width: 100%;
	height: auto;
	background: #000;
}
.gallery .gallery-item figcaption {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem 0.25rem 0;
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.875rem;
}
.gallery .gallery-pick {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
}
.gallery .gallery-pick input {
	width: 1.25rem;
	height: 1.25rem;
	accent-color: var(--wp--preset--color--sun);
	cursor: pointer;
}
.gallery .gallery-name {
	opacity: 0.6;
}
.gallery .gallery-bar {
	position: sticky;
	bottom: 0;
	z-index: 5;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 1.5rem;
	padding: 1rem clamp(1rem, 3vw, 1.5rem);
	background: var(--wp--preset--color--abyss);
	border-top: 1px solid var(--wp--preset--color--lagoon);
	font-family: var(--wp--preset--font-family--jost);
}
.gallery .gallery-submit,
.gallery-lightbox .gl-pick {
	background: var(--wp--preset--color--sun);
	color: var(--wp--preset--color--abyss);
	font-family: var(--wp--preset--font-family--jost);
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border: 0;
	border-radius: 0;
	padding: 0.9rem 1.5rem;
	cursor: pointer;
}
.gallery .gallery-submit:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}
.gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.94);
}
.gallery-lightbox[hidden] {
	display: none;
}
.gallery-lightbox .gl-img {
	max-width: 100%;
	max-height: calc(100vh - 7rem);
	object-fit: contain;
}
.gallery-lightbox .gl-close,
.gallery-lightbox .gl-prev,
.gallery-lightbox .gl-next {
	position: absolute;
	background: none;
	border: 0;
	color: #fff;
	font-size: 2.75rem;
	line-height: 1;
	padding: 0.5rem 1rem;
	cursor: pointer;
}
.gallery-lightbox .gl-close {
	top: 0.25rem;
	right: 0.25rem;
}
.gallery-lightbox .gl-prev {
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.gallery-lightbox .gl-next {
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}
.gallery-lightbox .gl-bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 0.75rem 1.25rem;
	color: #fff;
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.875rem;
}
.gallery-lightbox .gl-pick.is-on {
	background: #fff;
}
html.gallery-lightbox-open {
	overflow: hidden;
}
@media (max-width: 781px) {
	.gallery .gallery-grid {
		gap: 0.5rem;
	}
	.gallery .gallery-item {
		flex-basis: calc(var(--ar, 1.5) * 120px);
	}
	.gallery .gallery-item figcaption {
		flex-wrap: wrap;
	}
	.gallery .gallery-name {
		display: none;
	}
}

/* Free videos of a day: centred block, password form, locked thumbnails (desktop and phones) */
.day-videos,
.day-photos-head {
	text-align: center;
}
.day-videos .day-videos-note {
	max-width: 36rem;
	margin: 0 auto 1.5rem;
}
@media (min-width: 601px) {
	.day-videos .day-videos-grid {
		grid-template-columns: repeat(auto-fit, minmax(0, 240px));
		justify-content: center;
		max-width: none;
		margin-inline: auto;
	}
}
.day-videos .day-video figcaption {
	text-align: center;
}
ul.wc-block-product-template,
.wp-block-woocommerce-product-template,
ul.products {
	justify-content: center;
}
.day-videos .day-videos-lock {
	max-width: 22rem;
	margin: 0 auto 2rem;
	font-family: var(--wp--preset--font-family--jost);
}
.day-videos .day-videos-lock-row {
	display: flex;
	gap: 0.5rem;
}
.day-videos .day-videos-lock input[type="text"] {
	flex: 1 1 auto;
	min-width: 0;
	box-sizing: border-box;
	height: 2.75rem;
	padding: 0 0.9rem;
	border: 1px solid var(--wp--preset--color--lagoon);
	border-radius: 4px;
	background: rgba(243, 238, 227, 0.06);
	color: var(--wp--preset--color--bone);
	font-family: inherit;
	font-size: 1rem;
	letter-spacing: 0.12em;
	text-transform: none;   /* show the password exactly as typed, lower and upper case */
	text-align: center;
}
.day-videos .day-videos-lock input[type="text"]::placeholder {
	color: var(--wp--preset--color--lagoon);
	letter-spacing: 0.08em;
}
.day-videos .day-videos-lock input[type="text"]:focus {
	outline: none;
	border-color: var(--wp--preset--color--sun);
}
.day-videos .day-videos-lock button {
	flex: 0 0 auto;
	height: 2.75rem;
	padding: 0 1.25rem;
	border: 1px solid var(--wp--preset--color--sun);
	border-radius: 4px;
	background: var(--wp--preset--color--sun);
	color: var(--wp--preset--color--abyss);
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: filter 0.2s ease;
}
.day-videos .day-videos-lock button:hover {
	filter: brightness(1.1);
}
.day-videos .day-videos-error {
	margin: 0.6rem 0 0;
	color: var(--wp--preset--color--sun);
	font-size: 0.875rem;
}
.day-videos .day-video.is-locked .day-video-play img {
	filter: blur(6px) brightness(0.7);
	transform: scale(1.06);
}
.day-videos .day-video.is-locked .day-video-play {
	cursor: default;
}
.day-videos .day-video-lock-label {
	font-size: 0.8125rem;
	opacity: 0.75;
}

/* In partnership with Dominica Whale Whisperer: footer, home page, day pages */
.home-hero-cover .home-partner {
	margin: 1.5rem 0 0;
	text-align: center;
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.8125rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.5;
}
.home-hero-cover .home-partner a {
	color: var(--wp--preset--color--sun);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}
.day-partner {
	margin: 0 0 1.5rem;
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.875rem;
	opacity: 0.85;
}
.day-partner a {
	color: var(--wp--preset--color--sun);
}

.watermark-note { font-size: 0.85em; opacity: 0.75; margin: 0.4em 0 0.8em; }
