/*
Theme Name: SiteOrigin North Child
Author: SiteOrigin
Author URI: https://siteorigin.com/
Theme URI: https://siteorigin.com/theme/north
Description: SiteOrigin North Child Theme
Version: 1.0.0
Template: siteorigin-north
Text Domain: siteorigin-north
Domain Path: /languages/
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

.podcast-episode-entry {
	--podcast-accent: #b8473f;
	--podcast-ink: #1f2933;
	--podcast-muted: #68717d;
	--podcast-line: #d8dde3;
	--podcast-surface: #f6f3ef;
	--podcast-panel: #ffffff;
}

.podcast-episode-entry .breadcrumb,
.podcast-episode-entry .breadcrumbs {
	margin-bottom: 24px;
}

.podcast-episode-hero {
	background: var(--podcast-surface);
	border: 1px solid var(--podcast-line);
	display: grid;
	gap: 32px;
	margin: 0 0 30px;
	padding: 30px;
}

.podcast-episode-hero.has-art {
	grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
}

.podcast-episode-hero.no-art {
	grid-template-columns: minmax(0, 1fr);
}

.podcast-episode-art {
	align-self: start;
	background: #1f2933;
	line-height: 0;
	overflow: hidden;
}

.podcast-episode-art img {
	aspect-ratio: 1;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.podcast-episode-intro {
	min-width: 0;
}

.podcast-episode-label {
	color: var(--podcast-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.podcast-episode-title.entry-title {
	color: var(--podcast-ink);
	font-size: 34px;
	line-height: 1.16;
	margin: 0;
	overflow-wrap: anywhere;
}

.podcast-episode-meta {
	color: var(--podcast-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 14px;
	gap: 8px 16px;
	margin-top: 16px;
}

.podcast-episode-meta span {
	display: inline-flex;
}

.podcast-episode-meta span + span:before {
	color: #a2a9b2;
	content: "/";
	margin-right: 16px;
}

.podcast-episode-player {
	margin-top: 24px;
}

.podcast-episode-player audio,
.podcast-episode-player video {
	display: block;
	width: 100%;
}

.podcast-episode-player .podcast_player,
.podcast-episode-player .wp-audio-shortcode,
.podcast-episode-player .wp-video {
	max-width: none;
	width: 100%;
}

.podcast-episode-facts {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 0 30px;
}

.podcast-episode-facts div {
	background: var(--podcast-panel);
	border: 1px solid var(--podcast-line);
	padding: 16px;
}

.podcast-episode-facts dt {
	color: var(--podcast-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	margin-bottom: 6px;
	text-transform: uppercase;
}

.podcast-episode-facts dd {
	color: var(--podcast-ink);
	font-size: 15px;
	font-weight: 600;
	margin: 0;
	overflow-wrap: anywhere;
}

.podcast-episode-content {
	margin-top: 0;
}

.podcast-episode-actions {
	border-top: 1px solid var(--podcast-line);
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
	padding-top: 22px;
}

.podcast-episode-button,
.podcast-episode-button:visited {
	background: var(--podcast-accent);
	border: 1px solid var(--podcast-accent);
	color: #ffffff;
	display: inline-flex;
	font-weight: 700;
	gap: 8px;
	line-height: 1.2;
	padding: 12px 16px;
	text-decoration: none;
}

.podcast-episode-button:hover,
.podcast-episode-button:focus {
	background: #92342e;
	border-color: #92342e;
	color: #ffffff;
}

.podcast-episode-button-secondary,
.podcast-episode-button-secondary:visited {
	background: #ffffff;
	color: var(--podcast-ink);
}

.podcast-episode-button-secondary:hover,
.podcast-episode-button-secondary:focus {
	background: var(--podcast-surface);
	color: var(--podcast-ink);
}

.podcast-episode-button span {
	color: inherit;
	font-size: 11px;
	opacity: 0.78;
}

@media (max-width: 800px) {
	.podcast-episode-hero.has-art,
	.podcast-episode-hero.no-art {
		grid-template-columns: minmax(0, 1fr);
	}

	.podcast-episode-art {
		max-width: 320px;
	}

	.podcast-episode-title.entry-title {
		font-size: 28px;
	}

	.podcast-episode-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.podcast-episode-hero {
		padding: 22px;
	}

	.podcast-episode-meta {
		display: grid;
		gap: 6px;
	}

	.podcast-episode-meta span + span:before {
		content: none;
	}

	.podcast-episode-facts {
		grid-template-columns: minmax(0, 1fr);
	}

	.podcast-episode-actions {
		display: grid;
	}

	.podcast-episode-button {
		justify-content: center;
		text-align: center;
	}
}
