/*
Theme Name: Wayfarers & Company
Description: Custom block theme for Wayfarers & Company — gospel and old-time music on traditional instruments.
Version: 1.1.0
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wayfarers
*/

/* Colors, fonts and type sizes live in theme.json. This file holds the
   layout and component styles that theme.json can't express. */

/* ------------------------------------------------------------------ *
 * Base (carried over from Twenty Twenty-Five when this became a
 * standalone theme)
 * ------------------------------------------------------------------ */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}
/* Focus and press states.
   Keyboard users (Tab key) get a clear gold ring so they can see where they
   are; mouse and touch users don't get a ring on click, just a gentle press. */
:where(.wp-site-blocks) :focus:not(:focus-visible) { outline: none; }
:where(.wp-site-blocks) :focus-visible {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 3px;
	border-radius: 2px;
}
:where(.wp-site-blocks) a:active { color: var(--wp--preset--color--wood-dark); }
:where(.wp-site-blocks) :is(.wp-element-button, .wp-block-button__link, button):active { transform: translateY(1px); }
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) { margin-bottom: 3px; }
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content { outline-offset: 4px; }
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content { outline-offset: 0; }
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p { text-wrap: pretty; }
.more-link { display: block; }
:where(pre) { overflow-x: auto; }

/* ------------------------------------------------------------------ *
 * Base
 * ------------------------------------------------------------------ */
body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Keep phones from auto-enlarging text, so type sizes match the design. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* Sticky footer: the page is at least one screen tall and the main area
   absorbs any spare height, so the footer always sits at the bottom. */
.wp-site-blocks {
	padding-top: 0;
	padding-bottom: 0;
	min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
	display: flex;
	flex-direction: column;
}
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > main { flex: 1 0 auto; }

:where(.wp-site-blocks) a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
:where(.wp-site-blocks) a:hover { text-decoration-thickness: 2px; }


.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Section and box headings: every h2/h3 inside page content except post
   titles. Change size or case here and it applies site-wide. */
:root { --wf-section-heading-size: 1.3rem; }
.wf-main :is(h2, h3):not(.wp-block-post-title) {
	font-size: var(--wf-section-heading-size);
	text-transform: none;
	letter-spacing: 0.01em;
}

/* ------------------------------------------------------------------ *
 * Header
 * ------------------------------------------------------------------ */
header.wp-block-template-part { margin: 0; }

.wf-header {
	background: var(--wp--preset--color--wood) url(assets/images/wood.jpg) center / cover;
	box-shadow: inset 0 -10px 18px -12px rgba(0, 0, 0, 0.45);
	padding-top: 22px;
	padding-bottom: 22px;
}
.wf-header__inner { gap: 16px clamp(28px, 4vw, 56px); }
/* Above the mobile breakpoint, shrink the photo rather than wrapping, so the
   header stacks at the same width (782px) the menu collapses. */
@media (min-width: 782px) {
	.wf-header__inner { flex-wrap: nowrap !important; }
	.wf-header .wf-logo { flex-shrink: 0; }
	.wf-header .wf-band-photo { min-width: 0; }
}
.wf-header .wf-band-photo { margin: 0; flex: 0 1 463px; }
.wf-header .wf-band-photo img {
	width: 100% !important;
	max-width: 463px;
	height: auto;
	display: block;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

/* Header logo (Site Logo block; change it in the Site Editor > Header) */
.wf-header .wf-logo { margin: 0; line-height: 0; }
.wf-header .wf-logo img {
	width: clamp(220px, 26vw, 300px) !important;
	height: auto;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

/* Text wordmark (no longer used in the header or footer; kept for reuse) */
.wf-wordmark {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	line-height: 1;
	text-align: center;
}
.wf-wordmark a { color: #fbe9bf; text-decoration: none; display: inline-block; }
.wf-wordmark a:hover { color: #fff6dc; }
.wf-wordmark__name {
	display: block;
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	font-variant: small-caps;
	letter-spacing: 0.08em;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.wf-wordmark__co {
	display: block;
	margin-top: 0.1em;
	font-size: clamp(1rem, 1.8vw, 1.3rem);
	font-variant: small-caps;
	letter-spacing: 0.32em;
	opacity: 0.9;
}

/* Navigation */
.wf-nav {
	background: var(--wp--preset--color--base);
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding-top: 6px;
	padding-bottom: 6px;
	position: sticky;
	top: 0;
	z-index: 20;
}
.admin-bar .wf-nav { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .wf-nav { top: 0; } }

.wf-nav .wp-block-navigation { gap: 0.25em 0.2em; }
.wf-nav .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.1rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--wood-dark);
	text-decoration: none;
	padding: 0.45em 0.55em !important;
	border-radius: 4px;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.wf-nav .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--parchment);
	color: var(--wp--preset--color--accent);
}
.wf-nav .current-menu-item > .wp-block-navigation-item__content,
.wf-nav .wp-block-navigation-item__content[aria-current="page"] {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
}
/* Pressed state matches the current-page pill (focus ring rules are in Base). */
.wf-nav .wp-block-navigation-item__content:active {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
}

.wf-nav .wp-block-navigation__responsive-container-open {
	color: var(--wp--preset--color--wood-dark);
	padding: 8px;
	margin: 0 auto;
}
/* Mobile overlay menu */
.wf-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--base);
	padding: 2rem;
}
.wf-nav .is-menu-open .wp-block-navigation-item__content { font-size: 1.5rem; }

/* Core only collapses the menu below 600px. Collapse it below 782px instead,
   the same point where the header photo and wordmark stack (the full menu
   needs ~680px, so it never wraps above that). */
@media (min-width: 600px) and (max-width: 781px) {
	.wf-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}
	.wf-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
	.wf-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
		display: flex;
	}
	.wf-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		flex-direction: column;
		align-items: var(--navigation-layout-align, initial);
	}
}

/* ------------------------------------------------------------------ *
 * Main / page titles
 * ------------------------------------------------------------------ */
.wf-main {
	padding-top: clamp(1.5rem, 3.5vw, 2.5rem); /* space between the menu and each page title */
	padding-bottom: clamp(3rem, 6vw, 5rem);
}
.wf-page-title {
	margin-bottom: 1.75rem;
	padding-bottom: 0.9rem;
	position: relative;
}
.wf-page-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 72px;
	height: 3px;
	background: var(--wp--preset--color--gold);
	border-radius: 2px;
}

/* Section heading with a hairline rule (replaces the old section_hr.gif) */
:is(.wf-rule, .is-style-rule) {
	display: flex;
	align-items: center;
	gap: 0.9em;
	margin-top: 3rem;
}
:is(.wf-rule, .is-style-rule)::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--wp--preset--color--line);
}

/* ------------------------------------------------------------------ *
 * Content boxes
 * ------------------------------------------------------------------ */
:is(.wf-box, .is-style-box),
:is(.wf-panel, .is-style-panel) {
	background: var(--wp--preset--color--parchment);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 8px;
	padding: clamp(1.25rem, 3.5vw, 2.25rem) !important;
}
:is(.wf-box, .is-style-box) { margin-bottom: 2.25rem; }
/* Boxes fill their own width; don't re-apply the narrower text column inside. */
:is(.wf-box, .is-style-box).is-layout-constrained > *,
:is(.wf-panel, .is-style-panel).is-layout-constrained > * {
	max-width: none;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
:is(.wf-box, .is-style-box) > :first-child,
:is(.wf-panel, .is-style-panel) > :first-child { margin-top: 0; }
:is(.wf-box, .is-style-box) > :last-child,
:is(.wf-panel, .is-style-panel) > :last-child { margin-bottom: 0; }
:is(.wf-box, .is-style-box) .wp-block-columns { align-items: center !important; }

:is(.wf-panel, .is-style-panel) { background: var(--wp--preset--color--sand); height: 100%; }
:is(.wf-panel, .is-style-panel) h2:not(.wp-block-post-title) { margin-top: 0; margin-bottom: 0.4em; text-wrap: balance; }
:is(.wf-panel, .is-style-panel) .wp-block-columns { align-items: flex-start !important; gap: 1.25rem; }
:is(.wf-panel, .is-style-panel) .wp-block-buttons { margin-top: 0.9rem; }

/* Photos: soft rounded corners and a shadow.
   The shadow is a drop-shadow filter (not box-shadow) so it follows the
   visible shape: transparent PNGs, like the tilted photos on the homepage,
   get a shadow around the photos rather than around an empty rectangle. */
.wf-main .wp-block-image img,
.wf-main .wp-block-gallery img {
	border-radius: 6px;
}
.wf-main .wp-block-image img[src$=".png"] { border-radius: 0; } /* don't clip transparent artwork */
:is(.wf-box, .is-style-box) .wp-block-image img,
:is(.wf-panel, .is-style-panel) .wp-block-image img {
	filter: drop-shadow(0 2px 5px rgba(59, 37, 13, 0.22));
}
:is(.wf-box, .is-style-box) .wp-block-image,
:is(.wf-panel, .is-style-panel) .wp-block-image { margin: 0; }

/* "Album cover" image style: square corners, like a real record sleeve */
.wf-main .wp-block-image.is-style-cover img { border-radius: 0; }

/* Home: three-up row under the panels */
.wf-home-sub { margin-top: 3rem; }
.wf-home-sub :is(.wf-rule, .is-style-rule) { margin-top: 0; }
.wf-home-sub .wp-block-image img { max-width: 136px; }

.wf-latest { padding-left: 0; list-style: none; margin: var(--wp--style--block-gap, 1.25rem) 0 1rem; }
.wf-latest li { margin-bottom: 0.75em; line-height: 1.4; }
.wf-latest .wp-block-latest-posts__post-date {
	display: block;
	font-size: 0.85rem;
	color: var(--wp--preset--color--muted);
}

/* Two-column "picture + text" rows (instruments, biographies) */
.wf-main > .wp-block-post-content > .wp-block-columns:has(> .wp-block-column[style*="flex-basis:130px"]) {
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	margin: 0;
	gap: 1.75rem;
}
.wf-main .wp-block-column[style*="flex-basis:130px"] .wp-block-image img {
	filter: drop-shadow(0 2px 5px rgba(59, 37, 13, 0.22));
}
.wf-main .wp-block-column[style*="flex-basis:130px"] + .wp-block-column h3 { margin-top: 0; }

/* ------------------------------------------------------------------ *
 * Albums & track lists
 * ------------------------------------------------------------------ */
.wf-album {
	border-top: 1px solid var(--wp--preset--color--line);
	padding-top: 2.5rem !important;
	margin-top: 2.5rem;
	scroll-margin-top: 5rem;
}
:is(.wf-rule, .is-style-rule) + .wf-album { border-top: 0; padding-top: 0.5rem !important; margin-top: 1.5rem; }
.wf-album h3 { margin-top: 0; }
.wf-album .wp-block-column[style*="flex-basis:220px"] { position: sticky; top: 5rem; align-self: flex-start; }
.wf-album .wp-block-column[style*="flex-basis:220px"] img { filter: drop-shadow(0 6px 10px rgba(59, 37, 13, 0.28)); }
.wf-release {
	font-size: 0.9rem;
	color: var(--wp--preset--color--muted);
	margin-top: 0.25rem !important;
	margin-bottom: 1rem !important;
	font-style: italic;
}

.wf-album .wp-block-audio {
	display: grid;
	grid-template-columns: 1fr minmax(180px, 250px);
	align-items: center;
	gap: 0.25rem 1rem;
	margin: 0 !important;
	padding: 0.45rem 0;
	border-bottom: 1px dashed var(--wp--preset--color--line);
}
.wf-album .wp-block-audio:last-of-type { border-bottom: 0; }
.wf-album .wp-block-column { counter-reset: track; }
/* Track number sits in its own column (hanging indent), so a title that
   wraps to a second line lines up under the first word, not the number. */
.wf-album .wp-block-audio figcaption {
	order: -1;
	counter-increment: track;
	position: relative;
	margin: 0;
	padding-left: 2em;
	text-align: left;
	font-size: 1.02rem;
	color: var(--wp--preset--color--contrast);
}
.wf-album .wp-block-audio figcaption::before {
	content: counter(track) ".";
	position: absolute;
	left: 0;
	top: 0.1em;
	color: var(--wp--preset--color--muted);
	font-size: 0.9em;
}
.wf-album .wp-block-audio audio { width: 100%; height: 34px; }

.wp-block-details {
	background: var(--wp--preset--color--parchment);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 8px;
	padding: 0.9em 1.4em;
	margin-top: 1.75rem;
}
.wp-block-details summary {
	cursor: pointer;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.1rem;
	color: var(--wp--preset--color--accent);
}
.wp-block-details[open] summary { margin-bottom: 0.75rem; }
.wp-block-details h4 { margin-top: 1.4rem; margin-bottom: 0.15rem; color: var(--wp--preset--color--wood-dark); }
.wp-block-details h4 + p { margin-top: 0; }

/* ------------------------------------------------------------------ *
 * Quotes / testimonials
 * ------------------------------------------------------------------ */
/* One base color drives every quote; the background and the quote mark are
   lighter mixes of it. Change --wf-quote-color to restyle all quotes. */
:root {
	--wf-quote-color: var(--wp--preset--color--highlight, #e57600);
	--wf-quote-bg: color-mix(in srgb, var(--wf-quote-color) 5%, transparent);
	--wf-quote-mark: color-mix(in srgb, var(--wf-quote-color) 45%, transparent);
	--wf-quote-cite: #a04f00; /* deeper shade of the base so the citation passes contrast (4.7:1) */
	--wf-quote-indent: clamp(2.25rem, 6vw, 3.5rem);
}
.wf-main .wp-block-quote {
	position: relative;
	background: var(--wf-quote-bg);
	border: 0;
	border-left: 3px solid var(--wf-quote-color);
	border-radius: 0 8px 8px 0;
	padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
	margin: 2rem 0 !important;
	margin-left: var(--wf-quote-indent) !important; /* room for the hanging quote mark; beats core's auto margins */
	font-size: 1.3rem;
	line-height: 1.6;
}
/* Big quote mark hangs in the space to the left of the box */
.wf-main .wp-block-quote::before {
	content: "\201C";
	position: absolute;
	top: 0.05em;
	left: calc(-1 * var(--wf-quote-indent));
	width: var(--wf-quote-indent);
	text-align: center;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 4.5rem;
	font-weight: 800;
	line-height: 1;
	color: var(--wf-quote-mark);
	pointer-events: none;
}
.wf-main .wp-block-quote p {
	font-style: normal;
	font-size: inherit;
	margin: 0 0 0.75em;
}
.wf-main .wp-block-quote cite {
	display: block;
	margin-top: 1rem;
	font-style: normal;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--wf-quote-cite);
}
.wf-main .wp-block-quote cite::before { content: "— "; }

/* Phones: no hanging quote mark, so the box takes the full width */
@media (max-width: 599px) {
	:root { --wf-quote-indent: 0px; }
	.wf-main .wp-block-quote::before { content: none; }
}

/* "Compact" quote style (Testimonials page): smaller text for long quotes */
.wf-main .wp-block-quote.is-style-compact { font-size: 1.1rem; line-height: 1.65; }
.wf-main .wp-block-quote.is-style-compact::before { font-size: 4rem; }

/* Long quotes: clamped to 5 lines with a Show more toggle (see assets/js/quotes.js) */
.wf-quote__body.is-clamped {
	overflow: hidden;
}
.wf-quote__body > :last-child { margin-bottom: 0; }
.wf-quote__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	margin-top: 0.6rem;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 0.95rem;
	color: var(--wp--preset--color--link);
	text-decoration: underline;
	text-underline-offset: 0.18em;
	cursor: pointer;
}
.wf-quote__toggle:hover { color: var(--wp--preset--color--accent); }
.wf-quote__toggle::after { content: "\2193"; text-decoration: none; display: inline-block; }
.wf-quote__toggle[aria-expanded="true"]::after { content: "\2191"; }

/* ------------------------------------------------------------------ *
 * Galleries
 * ------------------------------------------------------------------ */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	background: linear-gradient(0deg, rgba(36, 22, 8, 0.75), rgba(36, 22, 8, 0));
	border-radius: 0 0 6px 6px;
	font-size: 0.9rem;
}
.wp-block-gallery.has-nested-images figure.wp-block-image img { transition: transform 0.3s ease; }
.wp-block-gallery.has-nested-images figure.wp-block-image:hover img { transform: scale(1.02); }

/* Shows: small past-show thumbnails beside a quote (like the original site).
   The source photos are only 100px wide, so keep them at or under that. */
.wf-past-shows { margin-top: 3rem; gap: 2.5rem; }
.wf-past-shows :is(.wf-rule, .is-style-rule) { margin-top: 0; }
.wf-thumbs.wp-block-gallery.has-nested-images { gap: 8px; }
.wf-thumbs.wp-block-gallery.has-nested-images figure.wp-block-image {
	max-width: 100px;
	aspect-ratio: 100 / 113;
	flex-grow: 0; /* core stretches a short last row; keep every thumb the same size */
}
.wf-thumbs.wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 4px; }
.wf-past-shows .wp-block-column > .wp-block-quote:first-child { margin-top: 0 !important; }

/* ------------------------------------------------------------------ *
 * News
 * ------------------------------------------------------------------ */
/* Content + right-hand list (News page; mirrors the Shows block layout) */
.wf-with-aside {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 2.5rem;
	align-items: start;
}
.wf-with-aside > * { margin: 0 !important; }

.wf-aside {
	position: sticky;
	top: 5rem;
	background: var(--wp--preset--color--sand);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 8px;
	padding: 1.5rem !important;
}
.wf-main .wf-aside__title { margin: 0 0 0.75rem; }
.wf-aside__list { list-style: none; margin: 0; padding: 0; }
.wf-aside__list li {
	display: flex;
	flex-direction: column-reverse; /* date above title, like the shows list */
	padding: 0.7rem 0;
	line-height: 1.35;
}
.wf-aside__list li + li { border-top: 1px solid var(--wp--preset--color--line); }
.wf-aside__list li:first-child { padding-top: 0; }
.wf-aside__list li:last-child { padding-bottom: 0; }
.wf-aside__list .wp-block-latest-posts__post-date {
	font-size: 0.9rem;
	color: var(--wp--preset--color--muted);
	margin-bottom: 0.15rem;
}

@media (max-width: 781px) {
	.wf-with-aside { grid-template-columns: 1fr; }
	.wf-aside { display: none; }
}

/* Post cards (same look as show cards) */
.wf-post-list { display: grid; gap: 1.5rem; margin: 0; padding: 0; }
.wf-post-card {
	background: var(--wp--preset--color--parchment);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 8px;
	padding: clamp(1.25rem, 3.5vw, 2.25rem) !important;
}
.wf-post-card > * { margin-top: 0; }
.wf-post-card > :last-child { margin-bottom: 0; }
.wf-main .wf-post-card h2 { margin: 0 0 0.35rem; font-size: var(--wf-section-heading-size); }
.wf-post-card h2 a { color: var(--wp--preset--color--accent); text-decoration: none; }
.wf-post-card h2 a:hover { text-decoration: underline; }
.wf-post-card .wf-post-date {
	margin-bottom: 1.1rem;
	font-size: inherit;
	font-variant: normal;
	letter-spacing: 0;
	font-weight: 700;
	color: var(--wp--preset--color--wood-dark);
}
.wf-post-card .wp-block-post-excerpt__excerpt { margin: 0; }
.wf-post-card .wp-block-post-excerpt__more-text { margin: 0.75rem 0 0; }

/* Post date on single posts */
.wf-post-date {
	font-size: 0.9rem;
	color: var(--wp--preset--color--muted);
	font-variant: small-caps;
	letter-spacing: 0.06em;
}
.wf-back { font-size: 0.95rem; margin-bottom: 1.5rem; }
.wf-back a { text-decoration: none; }
.wf-post-nav { margin-top: 2rem; font-size: 0.95rem; }

/* ------------------------------------------------------------------ *
 * Footer
 * ------------------------------------------------------------------ */
footer.wp-block-template-part { margin: 0; }

.wf-footer {
	background: var(--wp--preset--color--wood) url(assets/images/wood.jpg) center / cover;
	background-blend-mode: multiply;
	color: var(--wp--preset--color--straw);
	padding-top: 3rem;
	padding-bottom: 1.5rem;
	font-size: 1rem;
}
.wf-footer .wf-footer__cols { gap: 2rem; }
.wf-footer .wf-wordmark { text-align: left; }
.wf-footer .wf-wordmark--small .wf-wordmark__name { font-size: 2rem; }
.wf-footer .wf-wordmark--small .wf-wordmark__co { font-size: 0.95rem; }
.wf-footer__heading {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 500;
	line-height: 1.2;
	color: #fbe9bf !important;
	font-size: 1rem !important;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	margin: 0.35rem 0 0.6rem;
}
.wf-footer p { margin: 0.5rem 0; }
.wf-footer .wf-footer__heading { margin: 0.35rem 0 0.6rem; }
.wf-footer a { color: #fbe9bf; text-decoration-color: rgba(251, 233, 191, 0.45); }
.wf-footer a:hover { color: #fff; text-decoration-color: currentColor; }
.wf-footer__links { padding-left: 0; list-style: none; margin: 0; }
.wf-footer__links li { margin-bottom: 0.4rem; }
.wf-footer__base {
	border-top: 1px solid rgba(251, 233, 191, 0.2);
	margin-top: 2.25rem !important;
	padding-top: 1rem;
	font-size: 0.88rem;
	opacity: 0.85;
}

/* ------------------------------------------------------------------ *
 * Small screens
 * ------------------------------------------------------------------ */
@media (max-width: 781px) {
	.wf-header__inner { justify-content: center !important; }
	.wf-header .wf-band-photo { flex-basis: 100%; display: flex; justify-content: center; }
	.wf-header .wf-band-photo img { max-width: 380px; }

	.wf-album .wp-block-column[style*="flex-basis:220px"] { position: static; }
	.wf-album .wp-block-column[style*="flex-basis:220px"] img { max-width: 200px; }
	.wf-album .wp-block-audio { grid-template-columns: 1fr; padding: 0.6rem 0; }

	/* picture + text rows: keep the small photo beside the heading */
	.wf-main .wp-block-columns:has(> .wp-block-column[style*="flex-basis:130px"]) .wp-block-column[style*="flex-basis:130px"] img { max-width: 110px; }

	.wf-footer .wf-wordmark { text-align: left; }
}

/* Search results page */
.wf-search { margin-bottom: 2rem; }
.wf-search .wp-block-search__input {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 4px;
	padding: 0.5em 0.75em;
	background: #fff;
	font: inherit;
}

/* Book Us page: contact panel sizes to its content (no stretching to match the form) */
.wf-book :is(.wf-panel, .is-style-panel) { height: auto; }
.wf-book .wp-block-quote { margin-top: 1.75rem !important; }
.wf-book .is-style-rule { margin-top: 0; }

/* Private content marker (only logged-in admins/editors ever see these) */
.wf-private-badge {
	display: inline-block;
	vertical-align: middle;
	margin-right: 0.5em;
	padding: 0.2em 0.55em 0.25em;
	border-radius: 4px;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
	position: relative;
	top: -0.12em;
}
.wf-private-note {
	margin-block: -0.75rem 1.75rem !important; /* keep the column's left/right centering */
	padding: 0.7rem 1rem;
	border: 1px dashed var(--wp--preset--color--accent);
	border-radius: 6px;
	background: color-mix(in srgb, var(--wp--preset--color--accent) 6%, transparent);
	color: var(--wp--preset--color--accent);
	font-size: 0.95rem;
}

/* Recent Posts box: hide when there's nothing to list */
.wf-aside:not(:has(.wp-block-latest-posts li)) { display: none; }
.wf-with-aside:not(:has(.wf-aside .wp-block-latest-posts li)) { grid-template-columns: 1fr; }
.wf-latest-empty { margin: var(--wp--style--block-gap, 1.25rem) 0 1rem; }
