/**
 * The Rooster's Recap — single recap page (seachickens/recap-content) and the series archive.
 *
 * Title chrome follows the Name History article (article-why-seachickens.css). Tokens only; no new hexes.
 */

.recap-page > .wp-block-post-content,
.recap-content {
	max-width: 760px;
	margin-inline: auto;
}

/* ------------------------------------------------------------------ */
/* Title chrome: the series lockup, then the page's title              */
/* ------------------------------------------------------------------ */

.recap-header {
	margin-bottom: 28px;
}

/* The video's title card in small: the Rooster, the series name over a green rule, the week. */
.recap-series {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 22px;
	text-decoration: none;
}

.recap-series__avatar {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 2px solid var(--sc-green);
}

.recap-series__text {
	display: flex;
	flex-direction: column;
}

.recap-series__name {
	padding-bottom: 4px;
	border-bottom: 2px solid var(--sc-green);
	font-family: var(--pr-heading-font-display, "Bebas Neue", sans-serif);
	font-size: 1.45rem;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--wp--preset--color--base-contrast);
}

.recap-series__week {
	padding-top: 5px;
	font-family: var(--sc-condensed-font, "Barlow Condensed", sans-serif);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--wp--preset--color--secondary);
}

.recap-series:hover .recap-series__name,
.recap-series:focus-visible .recap-series__name {
	color: var(--sc-green);
}

.recap-h1 {
	margin: 0 0 14px;
	font-family: var(--pr-heading-font-display, "Bebas Neue", sans-serif);
	font-size: var(--wp--preset--font-size--xx-large, clamp(2rem, 6vw, 3.5rem));
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--wp--preset--color--base-contrast);
}

/* The series archive's intro. */
.recap-dek {
	margin: 0 0 14px;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--sc-text-primary);
}

.recap-meta {
	margin: 0;
	font-family: var(--sc-condensed-font, "Barlow Condensed", sans-serif);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	color: var(--wp--preset--color--secondary);
}

/* ------------------------------------------------------------------ */
/* Player facade: the thumbnail and a play button → YouTube on click   */
/* ------------------------------------------------------------------ */

.recap-player {
	position: relative;
	aspect-ratio: 16 / 9;
	margin: 0 0 20px;
	overflow: hidden;
	border-radius: var(--sc-radius-lg);
	background: var(--sc-bg-card);
	box-shadow: var(--sc-green-glow);
}

.recap-player__poster,
.recap-player iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

/* The whole frame is the link. The button is the Season page's "Watch" (Claude Design, 10-27): a labelled button,
   not a bare icon, in the bottom corner away from the thumbnail's own text (`text-left` / `text-right`). */
.recap-player__play {
	position: absolute;
	inset: 0;
	text-decoration: none;
}

.recap-player__button {
	position: absolute;
	bottom: 16px;
	right: 16px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 12px 20px 12px 18px;
	border-radius: var(--sc-radius-md);
	background: var(--pr-newsletter-cta);
	color: var(--pr-newsletter-cta-contrast);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
	font-family: var(--pr-heading-font-display, "Bebas Neue", sans-serif);
	font-size: 1.6rem;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: transform 160ms, box-shadow 160ms;
}

.recap-player--text-right .recap-player__button {
	right: auto;
	left: 16px;
}

.recap-player__button::before {
	content: "";
	border-style: solid;
	border-width: 0.36em 0 0.36em 0.58em;
	border-color: transparent transparent transparent currentColor;
}

.recap-player__length {
	font-family: var(--sc-condensed-font, "Barlow Condensed", sans-serif);
	font-size: 0.65em;
	font-weight: 700;
	letter-spacing: 0.5px;
	opacity: 0.8;
}

.recap-player__play:hover .recap-player__button,
.recap-player__play:focus-visible .recap-player__button {
	transform: translateY(-2px);
	box-shadow: var(--sc-green-glow-hover);
}

@media (max-width: 600px) {
	.recap-player__button {
		bottom: 10px;
		right: 10px;
		padding: 9px 14px 9px 12px;
		font-size: 1.2rem;
		gap: 9px;
	}

	.recap-player--text-right .recap-player__button {
		left: 10px;
	}
}

/* ------------------------------------------------------------------ */
/* Chapters                                                            */
/* ------------------------------------------------------------------ */

.recap-chapters {
	margin: 0 0 40px;
	padding: 20px 24px;
	border: 1px solid var(--sc-border);
	border-radius: var(--sc-radius-md);
	background: var(--sc-bg-card);
}

.recap-chapters__label {
	margin: 0 0 12px;
	font-family: var(--pr-heading-font-display, "Bebas Neue", sans-serif);
	font-size: 0.85rem;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
}

.recap-chapters ol {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

.recap-chapters li {
	display: flex;
	gap: 12px;
	align-items: baseline;
}

.recap-time {
	flex: 0 0 auto;
	min-width: 3.2em;
	font-family: var(--sc-condensed-font, "Barlow Condensed", sans-serif);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--sc-green);
	text-decoration: none;
	border-bottom: 1px dotted var(--sc-green);
}

.recap-time:hover,
.recap-time:focus-visible {
	color: var(--sc-gold);
	border-color: var(--sc-gold);
}

/* ------------------------------------------------------------------ */
/* The article                                                         */
/* ------------------------------------------------------------------ */

.recap-section {
	margin: 0 0 40px;
}

.recap-section__heading {
	margin: 0 0 4px;
	font-family: var(--pr-heading-font-display, "Bebas Neue", sans-serif);
	font-size: clamp(1.6rem, 4vw, 2.1rem);
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--wp--preset--color--base-contrast);
}

.recap-section__watch {
	margin: 0 0 16px;
	font-family: var(--sc-condensed-font, "Barlow Condensed", sans-serif);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	color: var(--wp--preset--color--secondary);
}

.recap-section p:not([class]) {
	margin: 0 0 1.1em;
	font-size: 1.075rem;
	line-height: 1.7;
	color: var(--sc-text-primary);
}

.recap-sources {
	margin: 8px 0 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.recap-sources__label {
	font-family: var(--sc-condensed-font, "Barlow Condensed", sans-serif);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--wp--preset--color--secondary);
}

/* Same pill as the issue pages' sources. */
.recap-sources .source-pill {
	display: inline-flex;
	align-items: center;
	font-weight: 700;
	font-size: 10px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--sc-silver);
	background: var(--sc-divider);
	padding: 1px 6px;
	border-radius: 2px;
	text-decoration: none;
}

.recap-sources a.source-pill:hover {
	background: var(--sc-green);
	color: var(--sc-navy);
}

.recap-cta {
	margin: 0 0 8px;
	text-align: center;
}

/* The site's button: the same face, fill and hover as the signup form's "Join the Flock" (newsletter.css). */
.recap-cta__button {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 4px;
	background: var(--pr-newsletter-cta);
	color: var(--pr-newsletter-cta-contrast);
	font-family: var(--pr-heading-font-display);
	font-weight: 400;
	font-size: 0.9rem;
	line-height: 1.15;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: box-shadow 160ms, transform 160ms;
}

.recap-cta__button:hover,
.recap-cta__button:focus-visible {
	box-shadow: var(--sc-green-glow-hover);
	transform: translateY(-1px);
	color: var(--pr-newsletter-cta-contrast);
	text-decoration: none;
}

/* ------------------------------------------------------------------ */
/* Front page: the latest recap (seachickens/latest-recap)             */
/* ------------------------------------------------------------------ */

.front-recap__card {
	max-width: 760px;
	margin: 0 auto;
}

.front-recap .recap-player {
	margin-bottom: 14px;
}

.front-recap__week {
	margin: 0 0 4px;
	font-family: var(--sc-condensed-font, "Barlow Condensed", sans-serif);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--wp--preset--color--secondary);
}

.front-recap__title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.35;
}

.front-recap__title a {
	color: var(--sc-text-primary);
	text-decoration: none;
}

.front-recap__title a:hover {
	color: var(--sc-green);
}

/* ------------------------------------------------------------------ */
/* Series archive                                                      */
/* ------------------------------------------------------------------ */

.recap-archive .recap-dek {
	margin-bottom: 36px;
}

.recap-card .wp-block-post-featured-image img {
	border-radius: var(--sc-radius-lg);
}

.recap-card__title {
	margin: 12px 0 6px;
	font-size: 1.15rem;
	line-height: 1.35;
}

.recap-card__title a {
	color: var(--sc-text-primary);
	text-decoration: none;
}

.recap-card__title a:hover {
	color: var(--sc-green);
}

@media (max-width: 600px) {
	.recap-chapters {
		padding: 16px;
	}

	.recap-series__name {
		font-size: 1.25rem;
	}
}
