/* EPISODE (2026-10-27): one format for every episode: player, hosts line, description, "W odcinku", chapters, fixed footer.
   Loaded after base.css and content.css. */

.yeswas-ep > * { margin-top: 0; }

/* Player */
.yeswas-ep-player { margin: 0 0 1.5rem; }
.yeswas-ep-player iframe { display: block; width: 100%; max-width: 100%; height: 200px; border: 0; }
.yeswas-ep-player audio { display: block; width: 100%; }

/* Hosts line and label: small, quiet */
.entry-content .yeswas-ep-meta { margin: 0 0 1.5rem; font-size: .9375rem; color: #484848; }
.entry-content .yeswas-ep-meta strong { font-weight: 600; color: inherit; }
.entry-content .yeswas-ep-label {
	margin: 0 0 .5rem; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #484848;
}
.yeswas-ep-desc { margin: 0 0 2rem; }
.entry-content .yeswas-ep-desc > p { margin: 0 0 1rem; }
.entry-content .yeswas-ep-desc > p:last-child { margin-bottom: 0; }

/* W odcinku, Rozdziały */
.entry-content h2.yeswas-ep-h { margin: 2.25rem 0 1rem; font-size: 1.5rem; line-height: 1.25; }
.yeswas-ep ul { margin: 0 0 2rem; padding-left: 1.25rem; }
.yeswas-ep-rest { margin: 0 0 2rem; }
.entry-content .yeswas-ep-rest > p { margin: 0 0 1rem; }
.yeswas-ep .yeswas-chapters { list-style: none; padding-left: 0; }
.yeswas-ep .yeswas-chapters li { display: flex; gap: .75rem; margin-bottom: .35em; }
.yeswas-chapters__time { flex: 0 0 auto; min-width: 4.5em; font-variant-numeric: tabular-nums; color: #484848; }

/* Embeds that stay in the description (tweets, link previews, video the hosts discuss) */
.yeswas-ep iframe:not([src*="simplecast"]) { max-width: 100%; }

/* Fixed footer */
.yeswas-ep-footer {
	display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.5rem 2rem;
	margin: 3rem 0 0; padding: 2rem 0 0; border-top: dashed 2px #ddd;
}
.yeswas-ep-footer__col { min-width: 0; }
.yeswas-ep-footer .yeswas-ep-footer__label {
	margin: 0 0 .625rem; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #484848;
}
.yeswas-ep-footer .yeswas-ep-footer__links { margin: 0; font-size: 1rem; line-height: 1.6; }
.yeswas-ep-footer .yeswas-ep-credits { grid-column: 1 / -1; margin: 0; font-size: .8125rem; color: #484848; }
.yeswas-ep-footer .yeswas-subscribe--compact .yeswas-subscribe__list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (max-width: 720px) {
	.yeswas-ep-footer { grid-template-columns: 1fr 1fr; }
	.yeswas-ep-footer__listen { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
	.yeswas-ep-footer { grid-template-columns: 1fr; }
}

/* Home hero: same content, no footer */
.ilovewp-featured-post .yeswas-ep-player iframe { height: 200px; }

/* Black hero (.page-intro-header / .ilovewp-featured-post): light text, no "Opis" label (the title is right above) */
.page-intro-header .yeswas-ep-h,
.ilovewp-featured-post .yeswas-ep-h,
.page-intro-header .entry-content h2.yeswas-ep-h { color: #fff; }
.page-intro-header .yeswas-ep-meta,
.ilovewp-featured-post .yeswas-ep-meta,
.page-intro-header .entry-content .yeswas-ep-meta,
.page-intro-header .yeswas-chapters__time,
.ilovewp-featured-post .yeswas-chapters__time { color: #e6e6e6; }
.page-intro-header .yeswas-ep-label,
.ilovewp-featured-post .yeswas-ep-label { display: none; }
.page-intro-header .yeswas-ep a,
.ilovewp-featured-post .yeswas-ep a { color: #fff; }

/* Episode header (single.php -> yeswas_episode_header): artwork, #number plate, date, duration, h1 */
.yeswas-ep-head { display: flex; align-items: center; gap: var(--yw-space-4, 16px) var(--yw-space-5, 24px); margin: 0 0 1.75rem; }
.yeswas-ep-head__art {
	flex: none; display: block; width: 96px; height: 96px; object-fit: cover;
	border-radius: var(--yw-radius, 10px); background: var(--yw-surface-alt, #f3f5fb);
}
.yeswas-ep-head__main { flex: 1 1 auto; min-width: 0; }
.yeswas-ep-head__meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--yw-space-3, 12px);
	margin: 0 0 var(--yw-space-2, 8px); font-size: var(--yw-text-base, 1rem); line-height: 1.4; color: var(--yw-ink-muted, #484848);
}
.yeswas-ep-head__meta .yw-badge { font-size: var(--yw-text-base, 1rem); }
.yeswas-ep-head__dur::before { content: "\00b7"; margin-right: var(--yw-space-3, 12px); }
.yeswas-ep-head .page-title { margin: 0; text-align: start; overflow-wrap: anywhere; }
@media (max-width: 480px) {
	.yeswas-ep-head { align-items: flex-start; gap: var(--yw-space-3, 12px); }
	.yeswas-ep-head__art { width: 72px; height: 72px; }
}

/* Plain link to the audio file under the player */
.yeswas-ep-audiolink { margin: -.75rem 0 1.5rem; font-size: var(--yw-text-sm, .875rem); }
.yeswas-ep-player--audio + .yeswas-ep-audiolink { margin-top: -1rem; }

/* Facade (list player, markup from inc/chrome.php, behaviour from assets/player.js): one focus ring from the tokens */
#container .yeswas-player__btn:focus-visible {
	outline: var(--yw-ring-width, 3px) solid var(--yw-ring-color, #182879); outline-offset: var(--yw-ring-offset, 2px);
}
