/* Scoped to the plugin so a theme's page layout remains in control. */
.psw {
	--psw-ink: #292722;
	--psw-muted: #69635b;
	--psw-accent: #993c26;
	--psw-paper: #fcf9f3;
	--psw-border: #ded7cb;
	box-sizing: border-box;
	width: 100%;
	max-width: 1120px;
	margin: 2.5rem auto;
	color: var(--psw-ink);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.7;
	overflow-wrap: anywhere;
}
.psw *, .psw *::before, .psw *::after { box-sizing: border-box; }
.psw h2, .psw h3, .psw p, .psw ul, .psw ol { margin-top: 0; }
.psw a { color: var(--psw-accent); text-decoration: underline; text-underline-offset: .2em; }
.psw a:hover { text-decoration-thickness: 2px; }
.psw a:focus-visible, .psw summary:focus-visible, .psw audio:focus-visible { outline: 3px solid var(--psw-accent); outline-offset: 5px; border-radius: 3px; }
.psw-latest { padding: clamp(1.25rem, 4vw, 3rem); border: 1px solid var(--psw-border); border-radius: 16px; background: var(--psw-paper); }
.psw-hero { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 1.5fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.psw-artwork { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.psw-hero-artwork { min-width: 0; }
.psw-artwork-placeholder { display: grid; place-items: center; color: #f9f0df; background: #735244; background: radial-gradient(ellipse at 80% 15%, #a37152, #624337 80%); }
.psw-artwork-placeholder svg { width: 38%; height: 38%; }
.psw-eyebrow { margin-bottom: .7rem; color: var(--psw-accent); font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.psw-show-name { margin-bottom: .5rem; color: var(--psw-muted); font-size: 1rem; }
.psw .psw-episode-title { margin-bottom: 1rem; color: var(--psw-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 500; line-height: 1.14; letter-spacing: -.025em; }
.psw-byline { margin-bottom: .8rem; color: var(--psw-muted); font-size: .9rem; }
.psw .psw-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin: 0 0 1rem; padding: 0; color: var(--psw-muted); font-size: .8rem; list-style: none; }
.psw-meta li { padding: 0; margin: 0; }
.psw-explicit { border: 1px solid var(--psw-border); border-radius: 3px; padding: .08em .4em; font-size: .85em; text-transform: uppercase; letter-spacing: .04em; }
.psw-player { display: block; width: 100%; min-width: 0; height: 54px; margin: 1.25rem 0 .8rem; accent-color: var(--psw-accent); }
.psw-audio-unavailable { color: var(--psw-muted); font-size: .9rem; font-style: italic; }
.psw-episode-links { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; font-size: .8rem; }
.psw-show-notes { margin-top: 2.5rem; border-top: 1px solid var(--psw-border); padding-top: 2rem; }
.psw-show-notes > h3 { margin-bottom: 1rem; color: var(--psw-ink); font-size: 1.2rem; }
.psw-rich-text { max-width: 78ch; }
.psw-rich-text > :last-child { margin-bottom: 0; }
.psw-rich-text p { margin-bottom: 1rem; }
.psw-rich-text img, .psw-rich-text video, .psw-rich-text iframe { max-width: 100%; height: auto; }
.psw-rich-text pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; }
.psw-rich-text table { display: block; max-width: 100%; overflow-x: auto; }
.psw-rich-text blockquote { margin-left: 0; border-left: 3px solid var(--psw-border); padding-left: 1rem; }
.psw-footer { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 2rem; border-top: 1px solid var(--psw-border); padding-top: 1.5rem; }
.psw .psw-button { display: inline-block; border: 1px solid var(--psw-accent); border-radius: 6px; padding: .7rem 1.15rem; color: #fff; background: var(--psw-accent); font-size: .9rem; font-weight: 600; text-decoration: none; }
.psw .psw-button:hover { background: #7d2e1d; border-color: #7d2e1d; }
.psw-text-link { font-size: .9rem; }
.psw-archive-header { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--psw-border); }
.psw-archive-header h2 { margin-bottom: 0; color: var(--psw-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 500; line-height: 1.15; }
.psw-archive-header .psw-eyebrow { margin-bottom: .5rem; }
.psw-count { margin-bottom: 0; color: var(--psw-muted); font-size: .85rem; }
.psw .psw-episode-list { padding: 0; margin: 0; list-style: none; }
.psw-episode-item { border-bottom: 1px solid var(--psw-border); padding: 1.75rem 0; margin: 0; }
.psw-episode-item:first-child { padding-top: .25rem; }
.psw-episode-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.5rem; }
.psw-card-artwork { min-width: 0; }
.psw .psw-card-title { margin-bottom: .75rem; color: var(--psw-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 500; line-height: 1.25; letter-spacing: -.015em; }
.psw-summary { margin-bottom: 1rem; color: var(--psw-muted); font-size: .95rem; }
.psw-notes-disclosure { margin-top: 1rem; }
.psw-notes-disclosure > summary { width: fit-content; cursor: pointer; color: var(--psw-accent); font-size: .85rem; font-weight: 600; }
.psw-notes-disclosure[open] > summary { margin-bottom: 1rem; }
.psw-notes-disclosure .psw-rich-text { font-size: .95rem; }
.psw-pagination { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 2rem; font-size: .85rem; }
.psw-page-numbers { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.psw .psw-page-number { display: inline-flex; align-items: center; justify-content: center; min-width: 2.3rem; min-height: 2.3rem; border: 1px solid var(--psw-border); border-radius: 5px; padding: .2rem .5rem; text-decoration: none; }
.psw .psw-page-number[aria-current="page"] { border-color: var(--psw-accent); color: white; background: var(--psw-accent); }
.psw-page-gap { padding: .25rem; }
.psw-notice, .psw-message { border: 1px solid var(--psw-border); border-radius: 8px; padding: 1rem 1.25rem; background: var(--psw-paper); color: var(--psw-muted); font-size: .9rem; }
.psw-notice { margin-bottom: 1.5rem; }
.psw-message p:last-child { margin-bottom: 0; }
.psw .psw-screen-reader { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 680px) {
	.psw { margin-top: 1.5rem; margin-bottom: 1.5rem; }
	.psw-hero { grid-template-columns: minmax(0, 1fr); }
	.psw-hero-artwork { width: min(100%, 340px); }
	.psw-episode-card { grid-template-columns: 86px minmax(0, 1fr); gap: 1rem; }
	.psw-card-content { min-width: 0; }
	.psw-episode-card .psw-player { margin-top: 1rem; }
	.psw-pagination { justify-content: center; }
	.psw-page-numbers { order: -1; width: 100%; justify-content: center; }
}
@media (max-width: 420px) {
	.psw-episode-card { grid-template-columns: minmax(0, 1fr); }
	.psw-card-artwork { width: 100px; }
	.psw-footer { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	.psw *, .psw *::before, .psw *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
