/*
Theme Name: Whiskeyomega
Author: William Phoenix
Description: Block theme for whiskeyomega.com: landscape photography, vinyl records and the cupoftea.social community. Dark, photo-led layouts with built-in templates for the Home, Cupoftea.social, Vinyl Records and Landscape Photography pages.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: whiskeyomega
Tags: block-patterns, full-site-editing, dark, one-column, custom-colors
*/

/* =========================================================================
   Values taken from the approved mock-ups (mockup/mockup.css).
   Colours come from theme.json (Appearance → Editor → Styles).
   ========================================================================= */

:root {
	--wo-line: rgba(243, 238, 231, 0.12);
	--wo-gutter: clamp(20px, 5vw, 56px);
	--wo-col: 1200px;
	--wo-radius: 6px;
	--wo-space: clamp(64px, 10vw, 136px);
	--wo-header-top: clamp(18px, 3.2vw, 40px);
	--wo-bg: var(--wp--preset--color--base, #100e0c);
	--wo-surface: var(--wp--preset--color--surface, #1a1714);
	--wo-text: var(--wp--preset--color--contrast, #f3eee7);
	--wo-muted: var(--wp--preset--color--muted, #a9a196);
	--wo-amber: var(--wp--preset--color--accent, #c9975b);
	--wo-amber-hi: var(--wp--preset--color--accent-hover, #dcae74);
}

/* ---------- base ---------- */

html {
	color-scheme: dark;
	-webkit-text-size-adjust: 100%;
	scrollbar-color: #3a3530 #100e0c;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
}

:focus-visible {
	outline: 3px solid var(--wo-amber);
	outline-offset: 3px;
	border-radius: 2px;
}

/* the page fills the screen; the footer sits at the bottom */
.wp-site-blocks {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
}

.wp-site-blocks > * {
	margin-block: 0;
}

.wp-site-blocks > main,
.wo-main {
	flex: 1 0 auto;
}

.wo-main > * {
	margin-block: 0;
}

/* ---------- skip link (WordPress's own "Skip to content") ---------- */

#wp-skip-link.skip-link.screen-reader-text:focus {
	left: var(--wo-gutter);
	top: 12px;
	z-index: 100002;
	padding: 10px 16px;
	background: var(--wo-amber);
	color: var(--wp--preset--color--base, #100e0c);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	border-radius: var(--wo-radius);
}

/* ---------- header: transparent, over the Hero photo, not sticky ---------- */

.wo-header {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 20;
	padding-top: var(--wo-header-top);
}

.wo-header .wo-header__bar {
	align-items: center;
	gap: 24px;
}

/* Logo: Site Title in Special Elite */
.wo-header .wo-logo {
	position: relative;
	z-index: 100001; /* stays visible above the open phone menu, like the mock-up */
	margin: 0;
	font-family: var(--wp--preset--font-family--special-elite, "Special Elite", "Courier New", monospace);
	font-size: clamp(2.25rem, 2.6vw + 1.6rem, 4rem); /* 36px phones → 64px desktop */
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.005em;
	color: #fff;
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
	white-space: nowrap;
}

.wo-header .wo-logo a,
.wo-header .wo-logo a:hover,
.wo-header .wo-logo a:focus {
	color: #fff;
	text-decoration: none;
}

/* menu, desktop */
.wo-header .wo-nav,
.wo-header .wo-nav .wp-block-navigation__container {
	gap: clamp(18px, 2.4vw, 36px);
}

.wo-header .wo-nav .wp-block-navigation-item__content {
	display: inline-block;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
	color: #fff;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.65;
	letter-spacing: 0.01em;
	text-decoration: none;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
	white-space: nowrap;
}

.wo-header .wo-nav .wp-block-navigation-item__content:hover {
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.6);
}

.wo-header .wo-nav .wp-block-navigation-item__content[aria-current="page"] {
	border-bottom-color: var(--wo-amber);
}

/* hamburger and close buttons */
.wo-header .wo-nav .wp-block-navigation__responsive-container-open,
.wo-header .wo-nav .wp-block-navigation__responsive-container-close {
	width: 48px;
	height: 48px;
	margin-right: -10px;
	padding: 0;
	place-items: center;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.wo-header .wo-nav .wp-block-navigation__responsive-container-open {
	filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45));
}

.wo-header .wo-nav .wp-block-navigation__responsive-container-open svg {
	width: 32px;
	height: 32px;
	fill: currentColor;
}

.wo-header .wo-nav .wp-block-navigation__responsive-container-close svg {
	width: 28px;
	height: 28px;
	fill: currentColor;
}

/* The mock-up switches to the phone menu at 900px (WordPress's default is 600px). */
@media (max-width: 900px) {
	.wo-header .wo-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: inline-grid;
	}

	.wo-header .wo-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

/* phone menu: full-screen dark overlay */
.wo-header .wo-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
	position: relative;
}

.wo-header .wo-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wo-header-top) var(--wo-gutter) 40px;
	background-color: var(--wo-bg);
	color: #fff;
}

.wo-header .wo-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	display: inline-grid;
	top: 0;
	right: 0;
}

.wo-header .wo-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: calc(48px + 12vh);
	align-items: flex-start;
}

.wo-header .wo-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.wo-header .wo-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: inline-block;
	padding: 8px 0;
	font-size: clamp(1.75rem, 7vw, 2.4rem);
	font-weight: 600;
	line-height: 1.3;
	text-shadow: none;
}

/* ---------- Hero photos (Cover blocks) ---------- */

.wp-block-cover.wo-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	padding: 0;
	background-color: var(--wo-bg);
}

/* 65% so the first Overview row peeks in below and invites scrolling */
.wp-block-cover.wo-hero--full {
	height: 65vh;
	height: 65svh;
	min-height: 420px;
}

.wp-block-cover.wo-hero--section {
	height: 60vh;
	height: 60svh;
	min-height: 380px;
}

.wp-block-cover.wo-hero > .wp-block-cover__image-background {
	z-index: 0;
}

/* soft dark fade across the top only, for the white Logo and menu */
.wp-block-cover.wo-hero::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 1;
	height: clamp(170px, 30%, 280px);
	background: linear-gradient(to bottom, rgba(8, 7, 6, 0.62) 0%, rgba(8, 7, 6, 0.34) 45%, rgba(8, 7, 6, 0) 100%);
	pointer-events: none;
}

/* Section pages and 404: a second soft fade along the bottom, behind the title (not Home) */
.wp-block-cover.wo-hero--section::after {
	content: "";
	display: block;
	position: absolute;
	inset: auto 0 0 0;
	z-index: 0; /* above the photo (later in order), below the title's layer */
	height: clamp(180px, 55%, 380px);
	min-height: 0;
	font-size: inherit;
	background: linear-gradient(to top, rgba(8, 7, 6, 0.66) 0%, rgba(8, 7, 6, 0.4) 40%, rgba(8, 7, 6, 0) 100%);
	pointer-events: none;
}

/* border-box so the padding sits inside the max-width: the title then starts
   exactly at the content column's left edge, level with the Logo */
.wp-block-cover.wo-hero > .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--wo-col) + 2 * var(--wo-gutter));
	margin: 0 auto;
	padding: 0 var(--wo-gutter) clamp(36px, 7vh, 88px);
	color: #fff;
}

.wp-block-cover.wo-hero > .wp-block-cover__inner-container > * {
	margin-block: 0;
}

.wo-hero__title {
	margin: 0;
	font-size: clamp(2.4rem, 5vw + 0.5rem, 4.75rem);
	font-weight: 650;
	line-height: 1.12;
	letter-spacing: -0.015em;
	text-shadow: 0 0 2px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.55), 0 4px 40px rgba(0, 0, 0, 0.7);
}

/* white text over the photo (also wins over the Cover block's own "light image" colours) */
.wp-block-cover.wo-hero .wo-hero__title,
.wp-block-cover.wo-hero .wo-hero__meta,
.wp-block-cover.wo-hero .wo-welcome {
	color: #fff;
}

.wo-hero__meta {
	margin-top: 12px;
	color: #fff;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

/* Home: the owner's welcome line */
.wp-block-cover.wo-hero .wo-welcome {
	max-width: 640px;
	margin: 0;
	font-size: clamp(1.4rem, 2vw + 0.6rem, 2.1rem);
	line-height: 1.25;
	text-shadow: 0 0 2px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.55), 0 4px 30px rgba(0, 0, 0, 0.7);
}

.wp-block-cover.wo-hero .wo-welcome + .wo-welcome {
	margin-top: 0.6em;
}

/* 404: "Back to Home" */
.wp-block-cover.wo-hero .wp-block-buttons {
	margin-top: 26px;
}

/* Generic pages and posts without a featured image: plain dark header */
body:not(.wo-has-hero) .wp-block-cover.wo-hero--page {
	height: auto;
	min-height: 0;
	padding-top: calc(var(--wo-header-top) + clamp(96px, 12vw, 150px));
}

body:not(.wo-has-hero) .wp-block-cover.wo-hero--page > .wp-block-cover__inner-container {
	padding-bottom: 0;
}

body:not(.wo-has-hero) .wp-block-cover.wo-hero--page .wo-hero__title,
body:not(.wo-has-hero) .wp-block-cover.wo-hero--page .wo-hero__meta {
	text-shadow: none;
}

/* Blog index / archives: plain dark header */
.wo-page-head {
	padding-top: calc(var(--wo-header-top) + clamp(96px, 12vw, 150px));
}

.wo-page-head .wo-hero__title {
	color: var(--wo-text);
	text-shadow: none;
}

/* ---------- sections ---------- */

.wo-section {
	padding-block: var(--wo-space);
}

.wo-section + .wo-section {
	padding-top: 0;
}

/* the owner's text on Section pages */
.wo-prose > * + * {
	margin-block-start: 1.1em;
}

.wo-prose h2,
.wo-prose h3 {
	margin-block-start: 1.6em;
}

/* ---------- buttons ---------- */

.wp-block-button__link.wp-element-button {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	transition: background-color 0.18s ease, transform 0.18s ease;
}

.wo-btn-arrow .wp-block-button__link::after,
.wo-btn-external .wp-block-button__link::after,
.wo-btn-back .wp-block-button__link::before {
	display: inline-block;
	transition: transform 0.18s ease;
}

/* decorative arrows, hidden from screen readers (as in the mock-up) */
.wo-btn-arrow .wp-block-button__link::after {
	content: "\2192";
	content: "\2192" / "";
}

.wo-btn-external .wp-block-button__link::after {
	content: "\2197";
	content: "\2197" / "";
}

.wo-btn-back .wp-block-button__link::before {
	content: "\2190";
	content: "\2190" / "";
}

.wo-btn-arrow .wp-block-button__link:hover::after,
.wo-btn-external .wp-block-button__link:hover::after {
	transform: translateX(3px);
}

/* ---------- Home: Overview rows ---------- */

.wo-section .wo-overview {
	display: grid;
	gap: clamp(72px, 10vw, 140px);
}

.wo-overview > * {
	margin-block: 0;
}

.wo-overview .wo-row {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(28px, 5vw, 80px);
	align-items: center;
}

.wo-overview .wo-row:nth-child(even) {
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.wo-overview .wo-row:nth-child(even) > .wo-row__media {
	order: 2;
}

.wo-overview .wo-row > * {
	margin-block: 0;
}

.wo-row .wo-row__media {
	display: block;
	margin: 0;
	overflow: hidden;
	border-radius: var(--wo-radius);
	background: var(--wo-surface);
}

.wo-row .wo-row__media img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.wo-row .wo-row__media--natural img {
	aspect-ratio: auto;
	object-fit: contain;
}

.wo-overview .wo-row:hover .wo-row__media img {
	transform: scale(1.02);
}

.wo-row__text > * {
	margin-block: 0;
}

.wo-row__text .wo-row__title {
	margin-bottom: 22px;
	font-size: clamp(1.9rem, 2.4vw + 0.8rem, 2.9rem);
}

.wo-row__text > p + p {
	margin-top: 1em;
}

.wo-row__text > .wp-block-buttons {
	margin-top: 28px;
}

.wo-row__text > .wo-row__title + .wp-block-buttons {
	margin-top: 0;
}

@media (max-width: 760px) {
	.wo-overview .wo-row,
	.wo-overview .wo-row:nth-child(even) {
		grid-template-columns: 1fr;
	}

	.wo-overview .wo-row:nth-child(even) > .wo-row__media {
		order: 0;
	}
}

/* ---------- Cupoftea.social: desktop screenshot in a browser-window frame ---------- */

.wo-section .wo-browser {
	overflow: hidden;
	border-radius: 12px;
	background: var(--wo-surface);
	box-shadow: 0 0 0 1px #3a3530, 0 30px 60px -24px rgba(0, 0, 0, 0.8);
}

.wo-browser > * {
	margin-block: 0;
}

.wo-browser__bar {
	display: flex;
	align-items: center;
	gap: 14px;
	height: clamp(28px, 3vw, 40px);
	padding-inline: clamp(10px, 1.4vw, 16px);
	background: #221e1a;
	border-bottom: 1px solid #3a3530;
}

.wo-browser__bar::after {
	content: "";
	flex: none;
	width: 47px; /* balances the dots so the address sits centred */
}

.wo-browser__dots {
	display: flex;
	flex: none;
	gap: 7px;
}

.wo-browser__dots i {
	display: block;
	width: clamp(8px, 0.9vw, 11px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: #4a433c;
}

.wo-browser__url {
	flex: 0 1 340px;
	margin-inline: auto;
	padding: 3px 14px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--wo-bg);
	color: var(--wo-muted);
	font-size: clamp(0.6875rem, 0.6vw + 0.45rem, 0.8125rem);
	line-height: 1.4;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wo-browser .wo-browser__shot {
	position: relative;
	margin: 0;
}

.wo-browser .wo-browser__shot img {
	display: block;
	width: 100%;
	cursor: zoom-in;
}

/* WordPress's lightbox button, styled as the mock-up's "View full size" label */
.wo-browser .wo-browser__shot .lightbox-trigger {
	opacity: 1;
	top: auto !important;
	right: 12px !important;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	width: auto;
	height: auto;
	padding: 7px 13px;
	border: 1px solid rgba(243, 238, 231, 0.22);
	border-radius: 999px;
	background: rgba(16, 14, 12, 0.86);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	color: var(--wo-text);
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: zoom-in;
}

.wo-browser .wo-browser__shot .lightbox-trigger::after {
	content: "View full size";
	content: "View full size" / "";
}

.wo-browser .wo-browser__shot .lightbox-trigger svg {
	width: 12px;
	height: 12px;
	flex: none;
}

.wo-browser .wo-browser__shot:hover .lightbox-trigger,
.wo-browser .wo-browser__shot .lightbox-trigger:hover {
	border-color: var(--wo-amber);
	color: var(--wo-amber-hi);
}

@media (max-width: 560px) {
	.wo-browser .wo-browser__shot .lightbox-trigger {
		right: 6px !important;
		bottom: 6px;
		padding: 4px 9px;
		font-size: 0.6875rem;
	}
}

/* WordPress's full-size viewer: dark */
.wp-lightbox-overlay .scrim {
	background-color: rgb(8, 7, 6) !important;
}

.wp-lightbox-overlay .close-button {
	color: #fff;
	fill: #fff;
}

/* ---------- Cupoftea.social: four phone screens ---------- */
/* One row on desktop, two by two on phones. Every screen uses the same tall
   shape (that of the tallest shot, so nothing is cut); shorter shots sit at
   the top and the app's own dark background fills the rest. */

.wo-section .wo-phones {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2.6vw, 40px);
	max-width: 1080px;
}

.wo-phones > * {
	margin-block: 0;
}

.wo-phones .wo-phone {
	margin: 0;
	padding: clamp(5px, 0.7vw, 9px);
	border-radius: clamp(22px, 2.8vw, 36px);
	background: #050505;
	box-shadow: 0 0 0 1.5px #3a3530, 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

.wo-phones .wo-phone img {
	display: block;
	width: 100%;
	aspect-ratio: 900 / 1819;
	object-fit: contain;
	object-position: 50% 0;
	border-radius: clamp(17px, 2.1vw, 27px);
	background: #111518; /* the app's dark background */
}

@media (max-width: 760px) {
	.wo-section .wo-phones {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 520px;
	}
}

/* ---------- Cupoftea.social: mascot and visit button ---------- */

.wo-section .wo-visit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(20px, 4vw, 48px);
	max-width: 760px;
	padding: clamp(28px, 4vw, 48px);
	border: 1px solid var(--wo-line);
	border-radius: 14px;
	background: var(--wo-surface);
}

.wo-visit > * {
	margin-block: 0;
}

.wo-visit .wo-visit__mascot {
	flex: none;
	margin: 0;
}

.wo-visit .wo-visit__mascot img {
	display: block;
	width: clamp(104px, 14vw, 160px);
}

@media (max-width: 520px) {
	.wo-section .wo-visit {
		flex-direction: column;
		text-align: center;
	}
}

/* ---------- Vinyl Records: six photos, two rows of three, all 4:5 ---------- */

.wo-section .wo-photo-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(12px, 1.6vw, 24px);
}

.wo-photo-row > * {
	margin-block: 0;
}

.wo-photo-row .wp-block-image {
	margin: 0;
}

.wo-photo-row .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 50%;
	border-radius: var(--wo-radius);
}

.wo-photo-row .wo-focus-40 img {
	object-position: 40% 50%;
}

.wo-photo-row .wo-focus-85 img {
	object-position: 85% 50%;
}

@media (max-width: 680px) {
	.wo-section .wo-photo-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- Landscape Photography: FooGallery ----------
   Kept small and scoped to this page's content area. Class names are
   FooGallery's own: .foogallery, .fg-tag-item / .fg-tag-link / .fg-selected
   (album filters), .fg-load-more and .fg-dot-* (paging), .fg-panel (viewer). */

/* the gallery uses the full content width below the narrower introduction */
.wo-gallery-page .wp-block-post-content > :is(.foogallery, :has(.foogallery)) {
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-block-start: var(--wo-space);
}

.wo-gallery-page .wp-block-post-content > :is(.foogallery, :has(.foogallery)):first-child {
	margin-block-start: 0;
}

/* album filter buttons, as in the mock-up: outlined pills, amber when chosen */
body .wo-gallery-page .fg-tag-item .fg-tag-link {
	display: inline-block;
	padding: 9px 18px;
	border: 1px solid rgba(243, 238, 231, 0.28);
	border-radius: 999px;
	background: transparent;
	color: var(--wo-text);
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	box-shadow: none;
}

body .wo-gallery-page .fg-tag-item .fg-tag-link:hover {
	border-color: var(--wo-amber);
	color: var(--wo-text);
}

body .wo-gallery-page .fg-tag-item.fg-selected .fg-tag-link {
	border-color: var(--wo-amber);
	background: var(--wo-amber);
	color: var(--wp--preset--color--base, #100e0c);
	font-weight: 600;
}

/* photos sit on the dark background */
body .wo-gallery-page .foogallery .fg-item-inner {
	background-color: var(--wo-surface);
	border-color: transparent;
}

/* "Load more" and page numbers */
body .wo-gallery-page .fg-load-more {
	padding: 14px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--wo-amber);
	color: var(--wp--preset--color--base, #100e0c);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
}

body .wo-gallery-page .fg-load-more:hover {
	background: var(--wo-amber-hi);
}

body .wo-gallery-page .fg-paging-container .fg-dot-item.fg-selected .fg-dot-link {
	background-color: var(--wo-amber);
	border-color: var(--wo-amber);
}

/* full-screen viewer: dark */
.fg-panel.fg-dark {
	background-color: #100e0c;
	color: #f3eee7;
}

.fg-panel .fg-panel-button:focus-visible {
	outline: 3px solid var(--wo-amber);
	outline-offset: -3px;
}

/* ---------- blog index ---------- */

.wo-list .wo-post-list > li + li {
	margin-top: 48px;
}

.wo-list .wo-post-list__title {
	font-size: clamp(1.4rem, 2vw + 0.6rem, 2.1rem);
}

.wo-list .wo-post-list__title a {
	color: var(--wo-text);
	text-decoration: none;
}

.wo-list .wo-post-list__title a:hover {
	color: var(--wo-amber-hi);
}

.wo-list .wo-post-list__date {
	color: var(--wo-muted);
	font-size: 0.9375rem;
}

.wo-list .wp-block-query-pagination {
	margin-top: 64px;
}

/* ---------- footer ---------- */

/* The sea panorama (Cover block) as a band on every page. The photo is shown
   from near its top (as the mock-up's sea strip), so the horizon runs across
   the band and the credit sits low, over the deep blue sea. No dark overlay. */
.wp-block-cover.wo-footer {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 220px;
	min-height: 0;
	padding: 0;
	background-color: var(--wo-bg);
	font-size: 0.9375rem;
	text-align: center;
}

.wp-block-cover.wo-footer > .wp-block-cover__image-background {
	z-index: 0;
}

.wp-block-cover.wo-footer > .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--wo-col) + 2 * var(--wo-gutter));
	margin: 0 auto;
	padding: 0 var(--wo-gutter) 32px;
}

.wp-block-cover.wo-footer p,
.wp-block-cover.wo-footer .wo-footer-credit {
	margin: 0;
	color: #fff;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

@media (max-width: 600px) {
	.wp-block-cover.wo-footer {
		height: 160px;
	}

	.wp-block-cover.wo-footer > .wp-block-cover__inner-container {
		padding-bottom: 24px;
	}
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}

	.wo-overview .wo-row:hover .wo-row__media img,
	.wo-btn-arrow .wp-block-button__link:hover::after,
	.wo-btn-external .wp-block-button__link:hover::after {
		transform: none;
	}
}
