/* PAL — supplementary styles not expressible in theme.json */

.eyebrow {
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.pal-header {
	position: sticky;
	top: 0;
	z-index: 100;
}

.pal-grid-motif svg {
	display: block;
	max-width: 380px;
	margin-inline: auto;
}

/* Header logo (replaces plain site title text) */
.pal-site-logo {
	display: inline-flex;
	align-items: center;
	--pal-logo-height: 44px;
}
.pal-site-logo img {
	display: block;
	height: var(--pal-logo-height);
	width: auto;
	max-width: 100%;
}

/* Homepage hero grid image */
.pal-hero-grid-image {
	--pal-hero-grid-position: 60% 50%;
	--pal-hero-grid-maxwidth: 640px;
	width: 100%;
	max-width: var(--pal-hero-grid-maxwidth);
	margin-inline: auto;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.pal-hero-grid-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--pal-hero-grid-position);
}
@media (max-width: 767px) {
	.pal-hero-grid-image {
		aspect-ratio: 16 / 9;
	}
}

/* PALcast episode metadata */
.pal-episode-meta {
	margin-top: 0.75rem;
	margin-bottom: 2rem;
}
.pal-episode-number {
	margin-bottom: 1rem;
}
.pal-episode-meta-row {
	display: flex;
	gap: 1px;
	flex-wrap: wrap;
	border: 1px solid rgba(245, 243, 240, 0.22);
}
.pal-episode-meta-box {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 0.85rem 1.25rem;
	flex: 1 1 auto;
	min-width: 8rem;
	border-right: 1px solid rgba(245, 243, 240, 0.22);
}
.pal-episode-meta-box:last-child {
	border-right: none;
}
.pal-episode-meta-label {
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--wp--preset--color--oxide);
}
.pal-episode-meta-value {
	font-size: 0.95rem;
	color: var(--wp--preset--color--offwhite);
}

/* PALcast single-episode hero — responsive split layout.
   Left: squared featured image. Right: episode number, guest, host, date. */
.pal-episode-hero {
	margin-bottom: 2.5rem;
}
.pal-episode-hero-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
	align-items: center;
}
@media (min-width: 782px) {
	.pal-episode-hero-inner {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
	}
}
.pal-episode-hero-image {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 12px;
}
.pal-episode-hero-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pal-episode-hero-meta {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.pal-episode-hero-rows {
	display: flex;
	flex-direction: column;
	gap: 1px;
	border: 1px solid rgba(245, 243, 240, 0.22);
}
.pal-episode-hero-row {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 0.85rem 1.25rem;
	border-bottom: 1px solid rgba(245, 243, 240, 0.22);
}
.pal-episode-hero-row:last-child {
	border-bottom: none;
}

/* PALcast featured quotation */
.pal-episode-quote-block {
	margin: 2.5rem 0;
	padding: 2rem 0;
	border-top: 1px solid rgba(245, 243, 240, 0.22);
	border-bottom: 1px solid rgba(245, 243, 240, 0.22);
	text-align: center;
}
.pal-episode-quote {
	font-style: italic;
	font-size: 1.5rem;
	line-height: 1.5;
	margin: 0;
}

@media (max-width: 640px) {
	.pal-episode-meta-row {
		flex-direction: column;
	}
	.pal-episode-meta-box {
		border-right: none;
		border-bottom: 1px solid rgba(245, 243, 240, 0.22);
	}
	.pal-episode-meta-box:last-child {
		border-bottom: none;
	}
}

/* Newsletter form */
.pal-newsletter-form {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-top: 1rem;
}
.pal-newsletter-form input[type="email"] {
	flex: 1 1 16rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0.25rem;
	font-family: inherit;
	font-size: 0.95rem;
	background: #fff;
	color: var(--wp--preset--color--navy);
}
.pal-newsletter-form input[type="email"]:focus-visible {
	outline: 2px solid var(--wp--preset--color--oxide);
	outline-offset: 1px;
}
.pal-newsletter-form button {
	padding: 0.75rem 1.5rem;
	border: none;
	border-radius: 0.25rem;
	background: var(--wp--preset--color--oxide);
	color: var(--wp--preset--color--offwhite);
	font-family: inherit;
	font-weight: 600;
	cursor: pointer;
	min-height: 44px;
}
.pal-newsletter-form button:hover { background: #a04a3e; }

/* Visible focus states */
a:focus-visible,
button:focus-visible,
.wp-block-navigation-item a:focus-visible {
	outline: 2px solid var(--wp--preset--color--oxide);
	outline-offset: 2px;
}

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

@media (max-width: 781px) {
	.pal-grid-motif svg { max-width: 260px; }
}

/* ---------------------------------------------------------------------------
 * PALcast home hero — tightly-integrated split layout, navy background.
 * Left: PALcast heading + host portrait + caption. Right: latest episode.
 * ------------------------------------------------------------------------- */
.pal-palcast-hero {
	background: var(--pal-hero-bg, #16243d);
	color: var(--pal-hero-text, #f5f3f0);
}
.pal-palcast-hero-inner {
	max-width: 66rem;
	margin: 0 auto;
	padding: calc(var(--pal-hero-pad, 5rem) * 0.7) 1.5rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
	min-height: 78vh;
}
@media (min-width: 782px) {
	.pal-palcast-hero-inner {
		grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
		gap: var(--pal-hero-gap, 1rem);
		padding: var(--pal-hero-pad, 5rem) 2rem;
		min-height: 0;
	}
}

.pal-palcast-hero-left {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}
.pal-palcast-hero-portrait {
	width: 100%;
	max-width: none;
	overflow: hidden;
}
.pal-palcast-hero-portrait img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.pal-palcast-hero-right {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.85rem;
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--pal-hero-text, #f5f3f0) 14%, transparent);
}
@media (min-width: 782px) {
	.pal-palcast-hero-right {
		border-top: none;
		padding-top: 0;
		padding-left: var(--pal-hero-gap, 1rem);
	}
}
.pal-palcast-hero-label {
	color: var(--pal-hero-accent, #b85c4f);
	margin: 0;
}
.pal-palcast-hero-title {
	font-family: "Newsreader", ui-serif, Georgia, serif;
	font-size: clamp(1.75rem, 3.6vw, 2.4rem);
	font-weight: 500;
	line-height: 1.12;
	color: var(--pal-hero-text, #f5f3f0);
	margin: 0;
}
.pal-palcast-hero-summary {
	font-size: 1.05rem;
	line-height: 1.55;
	color: color-mix(in srgb, var(--pal-hero-text, #f5f3f0) 78%, transparent);
	margin: 0;
	max-width: 34rem;
}
.pal-palcast-hero-listen {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.5rem;
	padding: 0.75rem 1.5rem;
	min-height: 44px;
	background: var(--pal-hero-accent, #b85c4f);
	color: var(--pal-hero-text, #f5f3f0);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	border-radius: 0.25rem;
	transition: background-color 0.2s ease-out, transform 0.15s ease-out;
}
.pal-palcast-hero-listen:hover {
	background: #a04a3e;
}
.pal-palcast-hero-listen:active {
	transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}
}
