/*
Theme Name: Podwave
Description: A bright podcast show theme with waveform motifs, an episode list with show notes, hosts, guests and subscribe buttons.
Version: 1.0.0
Author: Pursae
*/

/* ── Fonts (SIL Open Font License, self-hosted) ── */
@font-face { font-family: "Sora"; src: url("fonts/sora.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("fonts/work-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* ── Tokens ── */
:root {
	--pw-accent: #6c3cff;
	--pw-second: #ff6b4a;
	--pw-bg: #f7f5ff;
	--pw-ink: #1b1340;
	--pw-sun: #ffd23f;
	--pw-muted: color-mix(in srgb, var(--pw-ink) 62%, var(--pw-bg));
	--pw-line: color-mix(in srgb, var(--pw-accent) 16%, var(--pw-bg));
	--pw-card: #ffffff;
	--pw-tint: color-mix(in srgb, var(--pw-accent) 9%, var(--pw-bg));
	--pw-display: "Sora", "Avenir Next", system-ui, sans-serif;
	--pw-body: "Work Sans", "Helvetica Neue", system-ui, sans-serif;
	--pw-r: 28px;
	--pw-r-sm: 999px;
	--pw-max: 1200px;
	--pw-narrow: 740px;
	--pw-pad: clamp(16px, 4vw, 40px);
	--pw-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='60' viewBox='0 0 240 60'%3E%3Cg fill='%23000'%3E%3Crect x='2' y='25' width='4' height='10' rx='2'/%3E%3Crect x='10' y='21' width='4' height='18' rx='2'/%3E%3Crect x='18' y='15' width='4' height='30' rx='2'/%3E%3Crect x='26' y='8' width='4' height='44' rx='2'/%3E%3Crect x='34' y='17' width='4' height='26' rx='2'/%3E%3Crect x='42' y='23' width='4' height='14' rx='2'/%3E%3Crect x='50' y='12' width='4' height='36' rx='2'/%3E%3Crect x='58' y='4' width='4' height='52' rx='2'/%3E%3Crect x='66' y='10' width='4' height='40' rx='2'/%3E%3Crect x='74' y='19' width='4' height='22' rx='2'/%3E%3Crect x='82' y='24' width='4' height='12' rx='2'/%3E%3Crect x='90' y='16' width='4' height='28' rx='2'/%3E%3Crect x='98' y='7' width='4' height='46' rx='2'/%3E%3Crect x='106' y='2' width='4' height='56' rx='2'/%3E%3Crect x='114' y='13' width='4' height='34' rx='2'/%3E%3Crect x='122' y='21' width='4' height='18' rx='2'/%3E%3Crect x='130' y='25' width='4' height='10' rx='2'/%3E%3Crect x='138' y='18' width='4' height='24' rx='2'/%3E%3Crect x='146' y='10' width='4' height='40' rx='2'/%3E%3Crect x='154' y='15' width='4' height='30' rx='2'/%3E%3Crect x='162' y='22' width='4' height='16' rx='2'/%3E%3Crect x='170' y='17' width='4' height='26' rx='2'/%3E%3Crect x='178' y='8' width='4' height='44' rx='2'/%3E%3Crect x='186' y='20' width='4' height='20' rx='2'/%3E%3Crect x='194' y='24' width='4' height='12' rx='2'/%3E%3Crect x='202' y='14' width='4' height='32' rx='2'/%3E%3Crect x='210' y='6' width='4' height='48' rx='2'/%3E%3Crect x='218' y='16' width='4' height='28' rx='2'/%3E%3Crect x='226' y='23' width='4' height='14' rx='2'/%3E%3Crect x='234' y='26' width='4' height='8' rx='2'/%3E%3C/g%3E%3C/svg%3E");
}
body.pw-shape-soft { --pw-r: 14px; --pw-r-sm: 10px; }
body.pw-shape-square { --pw-r: 0px; --pw-r-sm: 0px; }
body.pw-fonts-work { --pw-display: "Work Sans", system-ui, sans-serif; }
body.pw-fonts-system { --pw-display: system-ui, -apple-system, "Segoe UI", sans-serif; --pw-body: system-ui, -apple-system, "Segoe UI", sans-serif; }

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--pw-bg); }
body { margin: 0; font-family: var(--pw-body); font-size: 18px; line-height: 1.7; color: var(--pw-ink); background: var(--pw-bg); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { margin: 1.5em 0 0.5em; font-family: var(--pw-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; }
h4, h5, h6 { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pw-accent); }
p, ul, ol, blockquote, pre, figure, table, dl { margin: 0 0 1.2em; }
a { color: var(--pw-accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--pw-accent) 35%, transparent); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--pw-second); outline-offset: 3px; border-radius: 4px; }
img, video, iframe { max-width: 100%; height: auto; }
figcaption, .wp-element-caption { margin-top: 8px; font-size: 0.85rem; color: var(--pw-muted); }
blockquote, .wp-block-quote { position: relative; margin-inline: 0; padding: 26px 28px 22px 72px; background: var(--pw-card); border-radius: var(--pw-r); font-family: var(--pw-display); font-size: 1.2rem; font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; box-shadow: 0 1px 0 var(--pw-line); }
blockquote::before { content: "\201C"; position: absolute; left: 22px; top: 6px; font-size: 4rem; line-height: 1; color: var(--pw-second); }
blockquote p:last-of-type { margin-bottom: 8px; }
blockquote cite { font-family: var(--pw-body); font-size: 0.85rem; font-style: normal; font-weight: 500; color: var(--pw-muted); }
hr, .wp-block-separator { height: 30px; margin: 2.6em 0; border: 0; background: var(--pw-accent); -webkit-mask: var(--pw-wave) center / auto 30px repeat-x; mask: var(--pw-wave) center / auto 30px repeat-x; opacity: 0.35; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.7em 0.8em; border-bottom: 1px solid var(--pw-line); text-align: left; }
th { font-family: var(--pw-display); font-size: 0.85rem; color: var(--pw-muted); }
button, input, select, textarea { font: inherit; color: inherit; }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], textarea, select { width: 100%; padding: 0.75em 1.1em; border: 2px solid var(--pw-line); border-radius: min(var(--pw-r-sm), 16px); background: var(--pw-card); color: var(--pw-ink); }
input:focus, textarea:focus { outline: none; border-color: var(--pw-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pw-accent) 18%, transparent); }
.pw-btn, button, input[type="submit"], .search-submit, .wp-block-button__link, .wp-element-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0.8em 1.5em; border: 2px solid var(--pw-accent); border-radius: var(--pw-r-sm); background: var(--pw-accent); color: #fff; font-family: var(--pw-display); font-size: 0.95rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.pw-btn:hover, button:hover, input[type="submit"]:hover, .wp-block-button__link:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--pw-accent); }
.pw-btn--ghost, .is-style-outline .wp-block-button__link { background: transparent; color: var(--pw-accent); }
.pw-btn--ghost:hover, .is-style-outline .wp-block-button__link:hover { background: var(--pw-accent); color: #fff; }
.pw-btn--light { background: #fff; border-color: #fff; color: var(--pw-accent); }
.pw-btn--light:hover { color: var(--pw-accent); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); border: 0; word-wrap: normal !important; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; margin: 0; padding: 0.75em 1em; clip: auto; clip-path: none; background: var(--pw-accent); color: #fff; border-radius: 8px; }
::selection { background: var(--pw-sun); color: var(--pw-ink); }

/* ── Layout ── */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; padding-bottom: 80px; }
.pw-wrap { width: 100%; max-width: calc(var(--pw-max) + 2 * var(--pw-pad)); margin-inline: auto; padding-inline: var(--pw-pad); }
.pw-narrow { max-width: calc(var(--pw-narrow) + 2 * var(--pw-pad)); }
.pw-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-family: var(--pw-display); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pw-second); }
.pw-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--pw-second); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pw-second) 25%, transparent); animation: pw-pulse 1.6s ease-in-out infinite; }
@keyframes pw-pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--pw-second) 0%, transparent); } }
.pw-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
body.pw-sidebar-none .pw-layout { grid-template-columns: minmax(0, 1fr); }
body.pw-sidebar-none .pw-layout > .widget-area { display: none; }
.pw-layout:not(:has(> .widget-area)) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 980px) { .pw-layout { grid-template-columns: minmax(0, 1fr); } }

/* ── Wave icon ── */
.pw-wave-icon { display: inline-flex; align-items: center; gap: 3px; height: 34px; padding: 0 8px; border-radius: 12px; background: var(--pw-accent); }
.pw-wave-icon i { display: block; width: 4px; border-radius: 4px; background: #fff; animation: pw-eq 1.1s ease-in-out infinite; }
.pw-wave-icon i:nth-child(1) { height: 10px; animation-delay: -.2s; } .pw-wave-icon i:nth-child(2) { height: 20px; animation-delay: -.5s; }
.pw-wave-icon i:nth-child(3) { height: 14px; animation-delay: -.8s; } .pw-wave-icon i:nth-child(4) { height: 22px; animation-delay: -.1s; }
.pw-wave-icon i:nth-child(5) { height: 8px; animation-delay: -.4s; }
@keyframes pw-eq { 50% { transform: scaleY(0.45); } }

/* ── Header ── */
.site-header { position: relative; z-index: 40; background: color-mix(in srgb, var(--pw-bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); }
body.pw-sticky .site-header { position: sticky; top: 0; box-shadow: 0 1px 0 var(--pw-line); }
body.admin-bar.pw-sticky .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.site-branding { display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-title { margin: 0; font-family: var(--pw-display); font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.site-title a { color: var(--pw-ink); text-decoration: none; }
.site-description { margin: 0; font-size: 0.82rem; color: var(--pw-muted); line-height: 1.3; }
@media (max-width: 1300px) { .site-description { display: none; } }
.site-logo img { display: block; max-height: 52px; width: auto; }
.main-navigation { margin-left: auto; }
.main-navigation ul { margin: 0; padding: 0; list-style: none; }
.main-navigation > div > ul, .main-navigation > ul { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-radius: var(--pw-r-sm); background: var(--pw-card); box-shadow: 0 1px 0 var(--pw-line), 0 8px 24px -16px var(--pw-ink); }
.main-navigation li { position: relative; }
.main-navigation a { display: block; padding: 8px 14px; white-space: nowrap; border-radius: var(--pw-r-sm); color: var(--pw-ink); font-family: var(--pw-display); font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.main-navigation a:hover { background: var(--pw-tint); color: var(--pw-accent); }
.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a { background: var(--pw-ink); color: #fff; }
.main-navigation .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: 0.2em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.main-navigation .sub-menu { position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; min-width: 230px; padding: 8px; border-radius: min(var(--pw-r), 18px); background: var(--pw-card); box-shadow: 0 18px 40px -16px color-mix(in srgb, var(--pw-ink) 50%, transparent); visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.main-navigation li:hover > .sub-menu, .main-navigation li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.main-navigation .sub-menu a { border-radius: 10px; }
.pw-subscribe { flex: none; }
.menu-toggle { display: none; }
@media (max-width: 900px) {
	.site-header__inner { flex-wrap: wrap; gap: 12px; padding-block: 14px; min-height: 0; }
	.site-description { display: none; }
	.menu-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; }
	.pw-burger, .pw-burger::before, .pw-burger::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
	.pw-burger { position: relative; } .pw-burger::before, .pw-burger::after { content: ""; position: absolute; left: 0; }
	.pw-burger::before { top: -6px; } .pw-burger::after { top: 6px; }
	.main-navigation > div, .main-navigation > ul { display: none; }
	.main-navigation.toggled > div, .main-navigation.toggled > ul { display: block; position: absolute; left: var(--pw-pad); right: var(--pw-pad); top: calc(100% + 4px); padding: 12px; border-radius: 20px; background: var(--pw-card); box-shadow: 0 24px 50px -20px var(--pw-ink); }
	.main-navigation.toggled ul { display: block; }
	.main-navigation .sub-menu { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
	.pw-subscribe { order: 3; width: 100%; }
}

/* ── Pills ── */
.pw-pill { display: inline-block; padding: 3px 12px; border-radius: var(--pw-r-sm); background: var(--pw-tint); color: var(--pw-accent); font-family: var(--pw-display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; }
a.pw-pill:hover { background: var(--pw-accent); color: #fff; }
.pw-pill--hot { background: var(--pw-second); color: #fff; }
.pw-pill--ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--pw-line); }

/* ── Episode list ── */
.pw-episodes { display: grid; gap: 18px; }
.pw-episode { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 24px; align-items: center; padding: 18px; border-radius: var(--pw-r); background: var(--pw-card); box-shadow: 0 1px 0 var(--pw-line); transition: transform .15s, box-shadow .2s; }
.pw-episode:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--pw-accent) 70%, transparent); }
.pw-episode__art { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: calc(var(--pw-r) * 0.7); background: linear-gradient(135deg, var(--pw-accent), var(--pw-second)); }
.pw-episode__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pw-play { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.5); transition: transform .15s; }
.pw-play::before { content: ""; margin-left: 3px; border-left: 13px solid var(--pw-accent); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.pw-episode:hover .pw-play { transform: scale(1.1); }
.pw-play--inline { position: static; width: 24px; height: 24px; box-shadow: none; background: currentColor; }
.pw-play--inline::before { border-left-width: 8px; border-top-width: 5px; border-bottom-width: 5px; border-left-color: #fff; margin-left: 2px; }
.pw-btn--ghost:not(:hover) .pw-play--inline::before { border-left-color: var(--pw-bg); }
.pw-episode__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 8px; font-size: 0.85rem; color: var(--pw-muted); }
.pw-episode__title { margin: 0 0 8px; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.pw-episode__title a { color: var(--pw-ink); text-decoration: none; }
.pw-episode__title a:hover { color: var(--pw-accent); }
.pw-episode__notes { color: var(--pw-muted); font-size: 0.98rem; }
.pw-episode__notes p { margin: 0 0 0.6em; }
.pw-episode__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 4px 0 0; font-size: 0.85rem; color: var(--pw-muted); }
.pw-mini-wave { display: none; width: 120px; height: 22px; background: var(--pw-second); -webkit-mask: var(--pw-wave) left center / auto 22px repeat-x; mask: var(--pw-wave) left center / auto 22px repeat-x; opacity: 0.8; }
body.pw-waves .pw-mini-wave { display: inline-block; }
.pw-episode__more { margin-left: auto; font-family: var(--pw-display); font-weight: 700; text-decoration: none; }
.pw-episode__more::after { content: " \2192"; }
body:not(.pw-show-author) .byline { display: none; }
body.pw-episodes-cards .pw-episodes { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
body.pw-episodes-cards .pw-episode { grid-template-columns: 1fr; align-items: start; }
@media (max-width: 600px) {
	.pw-episode { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 14px; }
	.pw-play { width: 32px; height: 32px; right: 6px; bottom: 6px; }
	.pw-play::before { border-left-width: 9px; border-top-width: 6px; border-bottom-width: 6px; }
	.pw-episode__notes { display: none; }
}

/* ── Page headers ── */
.page-header { padding-block: 48px 32px; }
.page-header .page-title { margin: 0; }
.archive-description { max-width: 620px; margin-top: 10px; color: var(--pw-muted); }
.page-header .search-form { max-width: 560px; margin-top: 20px; }

/* ── Single episode ── */
.pw-episode-hero { position: relative; margin-bottom: 48px; padding-block: 48px; background: var(--pw-ink); color: #fff; overflow: hidden; }
.pw-episode-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 80px; background: var(--pw-accent); -webkit-mask: var(--pw-wave) left bottom / auto 80px repeat-x; mask: var(--pw-wave) left bottom / auto 80px repeat-x; opacity: 0.35; }
body:not(.pw-waves) .pw-episode-hero::after { display: none; }
.pw-episode-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.pw-episode-hero__inner:not(:has(.pw-cover)) { grid-template-columns: minmax(0, 1fr); }
.pw-cover { margin: 0; }
.pw-cover img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--pw-r); box-shadow: 0 30px 60px -30px #000; }
.pw-episode-hero .entry-title { margin: 0 0 14px; font-size: clamp(2rem, 4.4vw, 3.4rem); color: #fff; }
.pw-episode-hero .pw-pill { background: rgba(255, 255, 255, 0.12); color: #fff; }
.pw-episode-hero .entry-meta { color: rgba(255, 255, 255, 0.7); }
.pw-episode-hero .entry-meta a { color: #fff; }
.pw-player { display: flex; align-items: center; gap: 14px; max-width: 560px; margin-top: 24px; padding: 10px 18px 10px 10px; border-radius: var(--pw-r-sm); background: rgba(255, 255, 255, 0.1); }
.pw-player__btn { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--pw-second); }
.pw-player__btn::before { content: ""; margin-left: 4px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.pw-player__wave { flex: 1; height: 34px; background: linear-gradient(90deg, var(--pw-second) 0 34%, rgba(255, 255, 255, 0.5) 34%); -webkit-mask: var(--pw-wave) left center / auto 34px repeat-x; mask: var(--pw-wave) left center / auto 34px repeat-x; }
.pw-player__time { font-family: var(--pw-display); font-size: 0.85rem; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.8); }
@media (max-width: 760px) { .pw-episode-hero__inner { grid-template-columns: 1fr; } .pw-cover { max-width: 240px; } }
.entry-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.9rem; color: var(--pw-muted); }
.entry-meta a { color: inherit; text-decoration: none; }
.entry-meta > span + span::before { content: "\2022"; margin-right: 16px; opacity: 0.5; }
.pw-notes-title { margin-top: 0; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pw-second); }
.entry-header { padding-block: 48px 20px; }
.entry-header .entry-title { margin: 0; }
.pw-page-image img { display: block; width: 100%; border-radius: var(--pw-r); }
.entry-content .alignwide { margin-inline: calc(-1 * min(140px, (100vw - var(--pw-narrow)) / 2 - var(--pw-pad))); max-width: none; }
.entry-content .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.entry-content .wp-block-image img { border-radius: var(--pw-r); }
.entry-content ul:not(.pw-timestamps) li::marker { color: var(--pw-second); }
.entry-footer { display: grid; gap: 16px; margin-top: 36px; }
.tags-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.author-info { display: flex; gap: 18px; padding: 22px; border-radius: var(--pw-r); background: var(--pw-card); }
.author-info .avatar { width: 64px; height: 64px; border-radius: 50%; }
.author-title { margin: 0 0 6px; font-size: 1.1rem; }

/* ── Show-notes blocks ── */
.pw-timestamps { padding: 6px 0; list-style: none; border-radius: var(--pw-r); background: var(--pw-card); }
.pw-timestamps li { display: flex; gap: 16px; padding: 10px 22px; border-bottom: 1px solid var(--pw-line); }
.pw-timestamps li:last-child { border-bottom: 0; }
.pw-timestamps code { flex: none; min-width: 56px; font-family: var(--pw-display); font-size: 0.9rem; font-weight: 700; color: var(--pw-accent); background: none; }
.pw-guest { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 22px; align-items: center; margin: 2em 0; padding: 22px; border-radius: var(--pw-r); background: linear-gradient(135deg, var(--pw-tint), var(--pw-card)); }
.pw-guest > * { margin: 0 !important; }
.pw-guest .wp-block-image img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.pw-guest h3 { margin-bottom: 4px !important; }
@media (max-width: 520px) { .pw-guest { grid-template-columns: 1fr; } }
.pw-links { padding: 18px 24px; border-radius: var(--pw-r); border: 2px dashed var(--pw-line); }
.pw-links h4 { margin-top: 0; }
.pw-links ul { margin: 0; }

/* ── Front page ── */
.pw-hero { position: relative; padding-block: clamp(32px, 6vw, 80px) clamp(80px, 10vw, 140px); overflow: hidden; }
.pw-hero::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--pw-accent) 18%, transparent), transparent 65%); }
.pw-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.pw-hero__title { margin: 0 0 18px; font-size: clamp(2.8rem, 6.6vw, 5.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.045em; }
.pw-hero__lead { max-width: 30em; font-size: 1.2rem; color: var(--pw-muted); }
.pw-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pw-hero__art { position: relative; margin: 0; }
.pw-hero__art img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--pw-r) * 1.6); transform: rotate(2deg); box-shadow: 0 40px 70px -40px var(--pw-ink); }
.pw-hero__badge { position: absolute; left: -14px; top: 28px; padding: 8px 16px; border-radius: var(--pw-r-sm); background: var(--pw-second); color: #fff; font-family: var(--pw-display); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; transform: rotate(-6deg); }
.pw-hero__wave { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(90deg, var(--pw-accent), var(--pw-second)); -webkit-mask: var(--pw-wave) left bottom / auto 90px repeat-x; mask: var(--pw-wave) left bottom / auto 90px repeat-x; opacity: 0.85; }
body:not(.pw-waves) .pw-hero__wave { display: none; }
@media (max-width: 860px) { .pw-hero__inner { grid-template-columns: 1fr; } .pw-hero__art { max-width: 420px; } }
.pw-front-content > * { width: min(var(--pw-max), 100% - 2 * var(--pw-pad)); margin-inline: auto; }
.pw-front-content > .alignfull { width: 100%; }
.pw-section { margin-block: 72px; }
.pw-section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.pw-section-head > * { margin: 0 !important; }
.pw-latest-ep { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: calc(var(--pw-r) * 1.3); background: var(--pw-ink); color: #fff; }
.pw-latest-ep > * { margin: 0 !important; }
.pw-latest-ep .wp-block-image img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--pw-r); }
.pw-latest-ep h2, .pw-latest-ep h3 { color: #fff; }
.pw-latest-ep h3 a { color: #fff; text-decoration: none; }
.pw-latest-ep p { color: rgba(255, 255, 255, 0.78); }
.pw-latest-ep .pw-kicker { color: var(--pw-sun); }
.pw-latest-ep .wp-block-buttons { margin-top: 18px !important; }
.pw-latest-ep .pw-wave-line { height: 40px; margin: 14px 0 !important; background: linear-gradient(90deg, var(--pw-second) 0 40%, rgba(255, 255, 255, 0.4) 40%); -webkit-mask: var(--pw-wave) left center / auto 40px repeat-x; mask: var(--pw-wave) left center / auto 40px repeat-x; font-size: 0; }
@media (max-width: 760px) { .pw-latest-ep { grid-template-columns: 1fr; } .pw-latest-ep .wp-block-image { max-width: 220px; } }
.pw-hosts { gap: 24px; }
.pw-host { height: 100%; padding: 26px; border-radius: var(--pw-r); background: var(--pw-card); text-align: center; }
.pw-host .wp-block-image img { width: 132px; height: 132px; margin: 0 auto; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 6px var(--pw-tint); }
.pw-host h3 { margin: 16px 0 4px; }
.pw-host .pw-role { margin-bottom: 10px; font-family: var(--pw-display); font-size: 0.85rem; font-weight: 700; color: var(--pw-second); }
.pw-listen { padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--pw-r) * 1.3); background: linear-gradient(120deg, var(--pw-accent), color-mix(in srgb, var(--pw-accent) 50%, var(--pw-second))); color: #fff; text-align: center; }
.pw-listen .wp-block-heading { margin-top: 0; color: #fff; }
.pw-listen p { color: rgba(255, 255, 255, 0.86); }
.pw-listen .wp-block-buttons { justify-content: center; gap: 10px; }
.pw-listen .wp-block-button__link { background: #fff; border-color: #fff; color: var(--pw-accent); }
.pw-listen .is-style-outline .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.pw-stats { gap: 18px; }
.pw-stats .wp-block-column { padding: 22px; border-radius: var(--pw-r); background: var(--pw-card); text-align: center; }
.pw-stats .pw-stat { margin: 0; font-family: var(--pw-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--pw-accent); }
.pw-stats p:last-child { margin: 6px 0 0; color: var(--pw-muted); font-size: 0.9rem; }
.wp-block-latest-posts { margin: 0; padding: 0; list-style: none; }
.wp-block-latest-posts.is-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.wp-block-latest-posts.is-grid li { width: auto !important; margin: 0 !important; padding: 22px; border-radius: var(--pw-r); background: var(--pw-card); }
.wp-block-latest-posts li { padding: 10px 0; }
.wp-block-latest-posts__post-title { display: block; font-family: var(--pw-display); font-weight: 700; color: var(--pw-ink); line-height: 1.3; text-decoration: none; }
.wp-block-latest-posts__post-title:hover { color: var(--pw-accent); }
.wp-block-latest-posts__post-date { display: block; margin-top: 4px; font-size: 0.82rem; color: var(--pw-muted); }
.wp-block-latest-posts__post-excerpt { margin-top: 8px; font-size: 0.95rem; color: var(--pw-muted); }
@media (max-width: 860px) { .wp-block-latest-posts.is-grid { grid-template-columns: 1fr; } }
.pw-wide-content { padding-top: 12px; }
.pw-guests-grid { gap: 22px; }
.pw-guests-grid .wp-block-column { padding: 22px; border-radius: var(--pw-r); background: var(--pw-card); }
.pw-guests-grid .wp-block-image img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; }

/* ── Blocks ── */
.wp-block-pullquote { margin: 2em 0; padding: 32px; border-radius: var(--pw-r); background: var(--pw-ink); color: #fff; text-align: left; }
.wp-block-pullquote blockquote { margin: 0; padding: 0; background: none; box-shadow: none; color: #fff; }
.wp-block-pullquote blockquote::before { display: none; }
.wp-block-pullquote p { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.25; }
.wp-block-columns { gap: 28px; }
.wp-block-gallery.has-nested-images { gap: 12px; }
.wp-block-gallery .wp-block-image img { border-radius: calc(var(--pw-r) * 0.6); }
.wp-block-table { overflow-x: auto; border-radius: var(--pw-r); background: var(--pw-card); }

/* ── Pagination & nav ── */
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: var(--pw-r-sm); background: var(--pw-card); color: var(--pw-ink); font-family: var(--pw-display); font-weight: 700; text-decoration: none; }
.page-numbers.current { background: var(--pw-accent); color: #fff; }
a.page-numbers:hover { background: var(--pw-tint); }
.post-navigation { margin: 48px 0; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; height: 100%; padding: 20px 22px; border-radius: var(--pw-r); background: var(--pw-card); color: var(--pw-ink); text-decoration: none; }
.post-navigation a:hover { box-shadow: inset 0 0 0 2px var(--pw-accent); }
.post-navigation .nav-next { text-align: right; }
.post-navigation .meta-nav { display: block; margin-bottom: 4px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pw-second); }
.post-navigation .post-title { font-family: var(--pw-display); font-weight: 700; }
@media (max-width: 600px) { .post-navigation .nav-links { grid-template-columns: 1fr; } .post-navigation .nav-next { text-align: left; } }

/* ── Comments ── */
.comments-area { margin-top: 48px; }
.comments-title, .comment-reply-title { font-size: 1.6rem; }
.comment-list, .comment-list .children { margin: 0; padding: 0; list-style: none; }
.comment-list .children { margin-left: clamp(16px, 4vw, 48px); }
.comment-body { margin-bottom: 14px; padding: 18px 22px; border-radius: var(--pw-r); border-top-left-radius: 6px; background: var(--pw-card); }
.comment-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-family: var(--pw-display); font-weight: 700; }
.comment-author .avatar { width: 40px; height: 40px; border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata a { font-size: 0.82rem; color: var(--pw-muted); text-decoration: none; }
.reply a { font-family: var(--pw-display); font-size: 0.85rem; font-weight: 700; text-decoration: none; }
.comment-respond { margin-top: 32px; padding: 28px; border-radius: var(--pw-r); background: var(--pw-card); }
.comment-form label { display: block; margin-bottom: 6px; font-family: var(--pw-display); font-size: 0.88rem; font-weight: 700; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { font-family: var(--pw-body); font-weight: 400; }
.comment-notes, .logged-in-as { font-size: 0.9rem; color: var(--pw-muted); }

/* ── Widgets ── */
.widget-area { display: grid; gap: 22px; }
.widget { padding: 24px; border-radius: var(--pw-r); background: var(--pw-card); }
.widget > :last-child { margin-bottom: 0; }
.widget-title, .widget .wp-block-heading { margin: 0 0 12px; font-size: 1.05rem; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--pw-line); }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--pw-ink); text-decoration: none; }
.widget a:hover { color: var(--pw-accent); }
.wp-block-tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.wp-block-tag-cloud a { padding: 4px 12px; border-radius: var(--pw-r-sm); background: var(--pw-tint); color: var(--pw-accent) !important; font-size: 0.8rem !important; font-weight: 600; }
.search-form { display: flex; gap: 8px; }
.search-form__label { flex: 1; }
.wp-block-search__inside-wrapper { display: flex; gap: 8px; }

/* ── 404 & empty ── */
.pw-404 { padding-block: 72px; text-align: center; }
.pw-404__flat { width: min(520px, 100%); height: 80px; margin: 0 auto 24px; background: linear-gradient(var(--pw-accent), var(--pw-accent)) center / 100% 4px no-repeat; position: relative; }
.pw-404__flat::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--pw-second); animation: pw-scan 2.4s ease-in-out infinite alternate; }
@keyframes pw-scan { from { transform: translateX(-200px); } to { transform: translateX(200px); } }
.pw-404 .page-title { margin: 0 0 12px; font-size: clamp(2.4rem, 6vw, 4rem); }
.pw-404 .search-form { max-width: 480px; margin: 28px auto 0; }
.no-results { padding: 28px; border-radius: var(--pw-r); background: var(--pw-card); }
.no-results .page-title { margin-top: 0; }

/* ── Footer ── */
.site-footer { position: relative; margin-top: 60px; padding-bottom: 36px; background: var(--pw-ink); color: rgba(255, 255, 255, 0.78); }
.pw-footer-wave { height: 70px; margin-top: -69px; background: var(--pw-ink); -webkit-mask: var(--pw-wave) left bottom / auto 140px repeat-x; mask: var(--pw-wave) left bottom / auto 140px repeat-x; }
body:not(.pw-waves) .pw-footer-wave { display: none; }
.pw-footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.pw-footer-cta__title { margin: 0; font-family: var(--pw-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; padding-block: 36px; }
.footer-widgets .widget { padding: 0; background: none; }
.footer-widgets .widget-title, .footer-widgets .wp-block-heading { color: #fff; }
.footer-widgets li { border-color: rgba(255, 255, 255, 0.12); }
.footer-widgets a { color: #fff; }
.site-footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.88rem; }
.footer-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-navigation a { display: block; padding: 6px 14px; border-radius: var(--pw-r-sm); background: rgba(255, 255, 255, 0.08); color: #fff; font-weight: 600; text-decoration: none; }
.footer-navigation a:hover { background: var(--pw-second); }
.site-info { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.site-info a { color: #fff; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 480px) {
	body { font-size: 17px; }
	.page-header, .entry-header { padding-top: 32px; }
}

/* ── Long words, e-mail addresses and links never widen the page ── */
p, li, dd, td, th, figcaption, blockquote, .widget { overflow-wrap: break-word; }
/* ── Galleries (a grid that does not depend on core layout classes) ── */
.wp-block-gallery.has-nested-images { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.wp-block-gallery.has-nested-images.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wp-block-gallery.has-nested-images.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wp-block-gallery.has-nested-images figure.wp-block-image { position: relative; width: auto !important; max-width: none; margin: 0 !important; }
.wp-block-gallery.has-nested-images figure.wp-block-image img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 18px 10px 8px; background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent); color: #fff; font-size: 0.8rem; text-align: center; }
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::before { content: none; }
@media (max-width: 600px) { .wp-block-gallery.has-nested-images, .wp-block-gallery.has-nested-images.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
