/* =========================================================
   WBOYM Episodes — front-end styles
   Change the accent colors below to match site branding.
   ========================================================= */
:root {
	--wboym-accent: #1d3557;        /* headings, badges, buttons   */
	--wboym-accent-light: #457b9d;  /* links, topic labels         */
	--wboym-bg-card: #ffffff;
	--wboym-text: #2b2b2b;
	--wboym-text-muted: #6b7280;
	--wboym-radius: 10px;
	--wboym-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* ---------- Front-end search + topic filter form ---------- */
.wboym-search-form {
	max-width: 640px;
	margin: 0 0 28px;
}
.wboym-search-row {
	display: flex;
	gap: 10px;
	margin: 0 0 14px;
}
.wboym-search-row input[type="search"] {
	flex: 1;
	padding: 11px 16px;
	border: 1px solid #d5dae0;
	border-radius: 999px;
	font-size: 15px;
	color: var(--wboym-text);
}
.wboym-search-row input[type="search"]:focus {
	outline: none;
	border-color: var(--wboym-accent-light);
	box-shadow: 0 0 0 3px rgba(69, 123, 157, 0.2);
}
.wboym-search-row button {
	background: var(--wboym-accent);
	color: #fff;
	border: none;
	padding: 11px 22px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}
.wboym-search-row button:hover {
	background: var(--wboym-accent-light);
}
.wboym-topic-filter {
	border: none;
	margin: 0;
	padding: 0;
}
.wboym-topic-filter legend {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wboym-text-muted);
	margin: 0 0 8px;
	padding: 0;
}
.wboym-topic-filter-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.wboym-topic-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f0f2f5;
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 14px;
	color: var(--wboym-text);
	cursor: pointer;
	user-select: none;
	transition: background 0.15s ease, color 0.15s ease;
}
.wboym-topic-checkbox input {
	accent-color: var(--wboym-accent);
	cursor: pointer;
}
.wboym-topic-checkbox:has(input:checked) {
	background: var(--wboym-accent);
	color: #fff;
}
@media (max-width: 480px) {
	.wboym-search-row {
		flex-direction: column;
	}
}

/* ---------- Episode grid (shortcode + archive) ---------- */
.wboym-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 28px;
	margin: 24px 0;
}

.wboym-card {
	background: var(--wboym-bg-card);
	border-radius: var(--wboym-radius);
	box-shadow: var(--wboym-shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wboym-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.wboym-card-thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: #e9ecef;
	overflow: hidden;
}
.wboym-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.wboym-card-thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 44px;
	opacity: 0.4;
}
.wboym-featured-ribbon {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--wboym-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 11px;
	border-radius: 999px;
	letter-spacing: 0.02em;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.wboym-card-body {
	padding: 18px 20px 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}
.wboym-card-topics,
.wboym-card-topics a {
	color: var(--wboym-accent-light);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none;
}
.wboym-card-title {
	margin: 0;
	font-size: 19px;
	line-height: 1.35;
}
.wboym-card-title a {
	color: var(--wboym-accent);
	text-decoration: none;
}
.wboym-card-title a:hover {
	text-decoration: underline;
}
.wboym-card-guest {
	color: var(--wboym-text-muted);
	font-size: 14px;
	font-style: italic;
}
.wboym-card-excerpt {
	color: var(--wboym-text);
	font-size: 14px;
	line-height: 1.6;
	flex: 1;
}
.wboym-empty {
	text-align: center;
	color: var(--wboym-text-muted);
	font-style: italic;
	padding: 32px 0;
}

/* ---------- Single episode page ---------- */
.wboym-single {
	max-width: 860px;
	margin: 0 auto;
	padding: 40px 20px 64px;
}
.wboym-single-header {
	text-align: center;
	margin-bottom: 28px;
}
.wboym-single-title {
	margin: 0 0 10px;
	color: var(--wboym-accent);
	line-height: 1.25;
}
.wboym-single-meta {
	color: var(--wboym-text-muted);
	font-size: 14px;
}
.wboym-single-meta a {
	color: var(--wboym-accent-light);
	text-decoration: none;
}

.wboym-video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--wboym-radius);
	overflow: hidden;
	box-shadow: var(--wboym-shadow);
	margin: 0 0 32px;
	background: #000;
}
.wboym-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.wboym-single-content {
	font-size: 17px;
	line-height: 1.75;
	color: var(--wboym-text);
}

/* Guest card */
.wboym-guest-card {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	background: #f6f8fa;
	border-left: 4px solid var(--wboym-accent);
	border-radius: var(--wboym-radius);
	padding: 22px 24px;
	margin: 36px 0 0;
}
.wboym-guest-card img {
	width: 84px;
	height: 84px;
	object-fit: cover;
	border-radius: 50%;
	flex-shrink: 0;
}
.wboym-guest-card-label {
	color: var(--wboym-accent-light);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 4px;
}
.wboym-guest-card-name {
	margin: 0 0 6px;
	font-size: 18px;
	color: var(--wboym-accent);
}
.wboym-guest-card-bio {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--wboym-text);
}

/* Back link + archive header */
.wboym-back {
	display: inline-block;
	margin-top: 32px;
	color: var(--wboym-accent-light);
	font-weight: 600;
	text-decoration: none;
}
.wboym-back:hover {
	text-decoration: underline;
}
.wboym-archive {
	max-width: 1140px;
	margin: 0 auto;
	padding: 40px 20px 64px;
}
.wboym-archive-title {
	text-align: center;
	color: var(--wboym-accent);
	margin: 0 0 8px;
}
.wboym-archive-sub {
	text-align: center;
	color: var(--wboym-text-muted);
	margin: 0 0 32px;
}
.wboym-pagination {
	text-align: center;
	margin-top: 36px;
}
.wboym-pagination .page-numbers {
	display: inline-block;
	padding: 6px 12px;
	margin: 0 3px;
	border-radius: 6px;
	background: #f0f2f5;
	color: var(--wboym-accent);
	text-decoration: none;
}
.wboym-pagination .page-numbers.current {
	background: var(--wboym-accent);
	color: #fff;
}

@media (max-width: 600px) {
	.wboym-guest-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}
