/* Companion Pages only. No show-post, affiliate, header or footer overrides. */
body.sftv-episode-guide-page .entry-content .sftv-season {
	margin: 24px 0;
	padding: 0;
	border: 1px solid #35515e;
	border-radius: 16px;
	background: #0b1821;
	color: #f4f8f9;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
	overflow: hidden;
}

body.sftv-episode-guide-page .entry-content .sftv-season > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 76px;
	margin: 0;
	padding: 20px 24px;
	border: 0;
	border-inline-start: 4px solid #8faeb8;
	background: linear-gradient(110deg, #163642, #102631);
	color: #f4f8f9;
	font-size: clamp(18px, 2vw, 23px);
	font-weight: 750;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

body.sftv-episode-guide-page .entry-content .sftv-season > summary::-webkit-details-marker {
	display: none;
}

body.sftv-episode-guide-page .entry-content .sftv-season > summary::marker {
	content: '';
}

body.sftv-episode-guide-page .entry-content .sftv-season > summary::before {
	display: none;
}

body.sftv-episode-guide-page .entry-content .sftv-season > summary::after {
	content: '';
	flex: 0 0 9px;
	width: 9px;
	height: 9px;
	border: solid #bed5dc;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

body.sftv-episode-guide-page .entry-content .sftv-season[open] > summary::after {
	transform: rotate(225deg);
}

body.sftv-episode-guide-page .entry-content .sftv-season > summary:hover {
	background: #1a3d4b;
}

body.sftv-episode-guide-page .entry-content .sftv-season > summary:focus-visible {
	outline: 3px solid #72d9ed;
	outline-offset: -4px;
}

.sftv-season-label {
	flex: 1;
	min-width: 0;
}

.sftv-season-hint {
	flex-shrink: 0;
	color: #bed5dc;
	font-size: 12px;
	font-weight: 600;
}

.sftv-season-hint::after { content: 'View episodes'; }
.sftv-season[open] > summary .sftv-season-hint::after { content: 'Hide episodes'; }

body.sftv-episode-guide-page .entry-content .sftv-season-body {
	padding: clamp(14px, 3vw, 26px);
	font-size: 16px;
	line-height: 1.75;
}

body.sftv-episode-guide-page .entry-content .sftv-season-body p {
	color: #d7e3e7;
}

body.sftv-episode-guide-page .entry-content .sftv-episode-card {
	margin: 18px 0 0;
	padding: clamp(16px, 2.5vw, 24px);
	border: 1px solid #29414d;
	border-radius: 12px;
	background: #102631;
	scroll-margin-top: 100px;
}

body.sftv-episode-guide-page .entry-content .sftv-episode-card--pick {
	border-inline-start: 4px solid #8faeb8;
	background: linear-gradient(110deg, #173541, #102631);
}

.sftv-episode-card-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin-bottom: 12px;
}

body.sftv-episode-guide-page .entry-content .sftv-episode-card-header > :is(h2, h3, h4) {
	flex: 1 1 250px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #f4f8f9;
	font-size: 21px;
	font-weight: 750;
	line-height: 1.35;
	scroll-margin-top: 100px;
}

body.sftv-episode-guide-page .entry-content .sftv-episode-card > :last-child {
	margin-bottom: 0;
}

body.sftv-episode-guide-page .entry-content p.sftv-episode-pick {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	margin: 0;
	padding: 5px 10px 5px 5px;
	border: 1px solid #527580;
	border-radius: 24px;
	background: #071117;
	color: #bed5dc;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.2;
	white-space: nowrap;
}

body.sftv-episode-guide-page .entry-content .sftv-episode-pick img {
	display: block;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	max-width: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	object-fit: contain;
}

@media (max-width: 600px) {
	.sftv-season-hint { display: none; }
	body.sftv-episode-guide-page .entry-content .sftv-season > summary { padding: 17px 16px; }
	body.sftv-episode-guide-page .entry-content .sftv-episode-card-header > :is(h2, h3, h4) { font-size: 19px; }
}
