/* New SSIR podcast show/episode layout.
   Loaded only on pages that opt into this treatment (Giving With Impact first).
   Prefixed ssir-podcast-* so it does not collide with legacy .podcast-* rules. */

/* Shared podcast/subscription site header */

.ssir-podcast-header-shell {
	--ssir-podcast-bar-height: 50px;
	padding-top: var(--ssir-podcast-bar-height);
	background: #fff;
}

.wrapper:has(.ssir-podcast-header-shell) {
	padding-top: 0;
}

/* Search and menu controls that ride in the fixed Pigeon status bar on mobile. */
.ssir-podcast-bar-nav {
	display: none;
	align-items: center;
	gap: 2px;
	margin-left: 10px;
}

.ssir-podcast-bar-nav__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 6px;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.ssir-podcast-bar-nav__button .ico {
	display: block;
}

.ssir-podcast-bar-nav__icon,
.ssir-podcast-bar-nav__icon::before,
.ssir-podcast-bar-nav__icon::after {
	display: block;
	width: 20px;
	height: 2px;
	background: #fff;
}

.ssir-podcast-bar-nav__icon {
	position: relative;
	transition: background-color .2s ease;
}

.ssir-podcast-bar-nav__icon::before,
.ssir-podcast-bar-nav__icon::after {
	content: "";
	position: absolute;
	left: 0;
	transition: top .2s ease, transform .2s ease;
}

.ssir-podcast-bar-nav__icon::before {
	top: -6px;
}

.ssir-podcast-bar-nav__icon::after {
	top: 6px;
}

.ssir-podcast-bar-nav__toggle[aria-expanded="true"] .ssir-podcast-bar-nav__icon {
	background: transparent;
}

.ssir-podcast-bar-nav__toggle[aria-expanded="true"] .ssir-podcast-bar-nav__icon::before {
	top: 0;
	transform: rotate(45deg);
}

.ssir-podcast-bar-nav__toggle[aria-expanded="true"] .ssir-podcast-bar-nav__icon::after {
	top: 0;
	transform: rotate(-45deg);
}

.ssir-podcast-site-header {
	position: relative;
	z-index: 20;
	background: #fff;
	color: #242424;
	font-family: "Scala Sans", "Titillium Web", sans-serif;
}

.ssir-podcast-site-header *,
.ssir-podcast-site-header *::before,
.ssir-podcast-site-header *::after {
	box-sizing: border-box;
}

.ssir-podcast-site-header__brand {
	border-bottom: 1px solid #dedbd6;
}

.ssir-podcast-site-header__brand-inner,
.ssir-podcast-site-nav__inner {
	width: min(1180px, calc(100% - 64px));
	margin: 0 auto;
}

.ssir-podcast-site-header__brand-inner {
	display: flex;
	align-items: center;
	min-height: 142px;
	padding: 18px 0;
}

.ssir-podcast-site-header__logo {
	display: block;
	flex: 0 1 430px;
	width: min(430px, 42vw);
}

.ssir-podcast-site-header__logo img {
	display: block;
	width: 100%;
	height: auto;
}

.ssir-podcast-site-header__issue {
	display: block;
	flex: 0 0 auto;
	margin-left: 24px;
	transform: rotate(8deg);
	transform-origin: center;
	transition: transform .2s ease;
}

.ssir-podcast-site-header__issue:hover,
.ssir-podcast-site-header__issue:focus {
	transform: rotate(4deg) translateY(-2px);
}

.ssir-podcast-site-header__issue img {
	display: block;
	width: auto;
	height: 104px;
	box-shadow: 3px 5px 10px rgba(0, 0, 0, .25);
}

.ssir-podcast-site-header__utilities {
	display: flex;
	gap: 2px;
	align-items: center;
	margin: 0 0 0 auto;
	padding: 0;
	list-style: none;
}

.ssir-podcast-site-header__utilities li {
	margin: 0;
}

.ssir-podcast-site-header__utilities a,
.ssir-podcast-site-header__icon-button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 38px;
	padding: 7px;
	border: 0;
	background: transparent;
	color: #353535;
	cursor: pointer;
	opacity: .72;
	transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

.ssir-podcast-site-header__utilities a:hover,
.ssir-podcast-site-header__utilities a:focus,
.ssir-podcast-site-header__icon-button:hover,
.ssir-podcast-site-header__icon-button:focus {
	background: #f2f0ed;
	color: #8f0000;
	opacity: 1;
	text-decoration: none;
}

.ssir-podcast-site-header__utilities [class^="ico"],
.ssir-podcast-site-header__utilities .ico,
.ssir-podcast-site-header__utilities img {
	display: block;
	flex: 0 0 auto;
}

.ssir-podcast-site-header__utilities .ico-linkedin,
.ssir-podcast-site-header__utilities .ico-instagram,
.ssir-podcast-site-header__utilities .ico-rss {
	background-image: url(/css/images/icons.png);
	background-repeat: no-repeat;
}

.ssir-podcast-site-header__utilities .ico-linkedin,
.ssir-podcast-site-header__utilities .ico-instagram,
.ssir-podcast-site-header__utilities .ico-rss,
.ssir-podcast-site-header__utilities .ico-search,
.ssir-podcast-site-header__utilities img {
	filter: invert(1);
}

.ssir-podcast-site-header__donate a {
	min-width: auto;
	margin-left: 8px;
	padding: 9px 16px;
	border: 1px solid #9b0000;
	background: #9b0000;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .06em;
	opacity: 1;
	text-transform: uppercase;
}

.ssir-podcast-site-header__donate a:hover,
.ssir-podcast-site-header__donate a:focus {
	background: #740000;
	color: #fff;
}

.ssir-podcast-site-nav {
	border-bottom: 1px solid #d2cec8;
	background: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.ssir-podcast-site-nav__list {
	display: flex;
	align-items: stretch;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ssir-podcast-site-nav__item {
	position: relative;
	margin: 0;
}

.ssir-podcast-site-nav__item > a,
.ssir-podcast-site-nav__item > button {
	display: flex;
	align-items: center;
	height: 50px;
	padding: 0 20px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: transparent;
	color: #2c2c2c;
	cursor: pointer;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .035em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.ssir-podcast-site-nav__item > a:hover,
.ssir-podcast-site-nav__item > a:focus,
.ssir-podcast-site-nav__item > button:hover,
.ssir-podcast-site-nav__item > button:focus,
.ssir-podcast-site-nav__item.is-open > button {
	border-bottom-color: #9b0000;
	background: #f5f3f0;
	color: #7f0000;
	text-decoration: none;
}

.ssir-podcast-site-nav__item--submenu > button::after {
	content: "";
	width: 7px;
	height: 7px;
	margin: -4px 0 0 10px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: rotate(45deg);
}

.ssir-podcast-site-nav__dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	display: none;
	min-width: 230px;
	padding: 18px 22px;
	border-top: 3px solid #9b0000;
	background: #fff;
	box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.ssir-podcast-site-nav__dropdown--right {
	right: 0;
	left: auto;
}

.ssir-podcast-site-nav__dropdown--wide {
	min-width: 430px;
	gap: 30px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ssir-podcast-site-nav__item:hover > .ssir-podcast-site-nav__dropdown,
.ssir-podcast-site-nav__item:focus-within > .ssir-podcast-site-nav__dropdown,
.ssir-podcast-site-nav__item.is-open > .ssir-podcast-site-nav__dropdown {
	display: block;
}

.ssir-podcast-site-nav__item:hover > .ssir-podcast-site-nav__dropdown--wide,
.ssir-podcast-site-nav__item:focus-within > .ssir-podcast-site-nav__dropdown--wide,
.ssir-podcast-site-nav__item.is-open > .ssir-podcast-site-nav__dropdown--wide {
	display: grid;
}

.ssir-podcast-site-nav__dropdown ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ssir-podcast-site-nav__dropdown li + li {
	border-top: 1px solid #e6e2dd;
}

.ssir-podcast-site-nav__dropdown a {
	display: block;
	padding: 9px 2px;
	color: #353535;
	font-size: 14px;
	line-height: 1.25;
	text-decoration: none;
}

.ssir-podcast-site-nav__dropdown a:hover,
.ssir-podcast-site-nav__dropdown a:focus {
	color: #8f0000;
	text-decoration: underline;
}

.ssir-podcast-site-nav__socials {
	display: none;
}

@media (max-width: 900px) {
	.ssir-podcast-site-header__brand-inner,
	.ssir-podcast-site-nav__inner {
		width: min(100% - 36px, 760px);
	}

	/* Search, menu and socials leave the header, so the brand row stays one line. */
	.ssir-podcast-header-shell .widget-sticky {
		padding: 7px 16px;
	}

	.ssir-podcast-bar-nav {
		display: flex;
	}

	.ssir-podcast-site-header__brand-inner {
		min-height: 0;
		padding: 12px 0;
	}

	.ssir-podcast-site-header__logo {
		flex-basis: 260px;
		width: min(260px, 100%);
	}

	.ssir-podcast-site-header__issue {
		margin-left: 16px;
	}

	.ssir-podcast-site-header__issue img {
		height: 72px;
	}

	.ssir-podcast-site-header__utilities {
		flex: 0 0 auto;
		justify-content: flex-end;
	}

	.ssir-podcast-site-header__utilities li:not(.ssir-podcast-site-header__donate) {
		display: none;
	}

	/* The nav drops out of the flow so the Pigeon bar toggle works at any scroll depth. */
	.ssir-podcast-site-nav {
		border-bottom: 0;
		box-shadow: none;
	}

	.ssir-podcast-site-nav__inner {
		width: 100%;
	}

	.ssir-podcast-site-nav__list {
		position: fixed;
		top: var(--ssir-podcast-bar-height);
		right: 0;
		left: 0;
		z-index: 998;
		display: none;
		max-height: calc(100vh - var(--ssir-podcast-bar-height));
		padding: 8px 18px 20px;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: #fff;
		box-shadow: 0 14px 26px rgba(0, 0, 0, .22);
		-webkit-overflow-scrolling: touch;
	}

	.ssir-podcast-site-nav__list.is-open {
		display: block;
	}

	html.ssir-podcast-nav-open {
		overflow: hidden;
	}

	.ssir-podcast-site-nav__socials {
		display: block;
		padding-top: 14px;
	}

	.ssir-podcast-site-nav__socials ul {
		display: flex;
		gap: 6px;
		align-items: center;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.ssir-podcast-site-nav__socials a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-width: 40px;
		min-height: 40px;
		opacity: .72;
	}

	.ssir-podcast-site-nav__socials a:hover,
	.ssir-podcast-site-nav__socials a:focus {
		opacity: 1;
	}

	.ssir-podcast-site-nav__socials [class^="ico"],
	.ssir-podcast-site-nav__socials img {
		display: block;
		filter: invert(1);
	}

	.ssir-podcast-site-nav__socials .ico-linkedin,
	.ssir-podcast-site-nav__socials .ico-instagram,
	.ssir-podcast-site-nav__socials .ico-rss {
		background-image: url(/css/images/icons.png);
		background-repeat: no-repeat;
	}

	.ssir-podcast-site-nav__item {
		border-bottom: 1px solid #e4e0db;
	}

	.ssir-podcast-site-nav__item > a,
	.ssir-podcast-site-nav__item > button {
		justify-content: space-between;
		width: 100%;
		height: 46px;
		padding: 0 4px;
		border-bottom: 0;
	}

	.ssir-podcast-site-nav__item > a:hover,
	.ssir-podcast-site-nav__item > a:focus,
	.ssir-podcast-site-nav__item > button:hover,
	.ssir-podcast-site-nav__item > button:focus,
	.ssir-podcast-site-nav__item.is-open > button {
		background: transparent;
	}

	.ssir-podcast-site-nav__dropdown,
	.ssir-podcast-site-nav__dropdown--wide,
	.ssir-podcast-site-nav__dropdown--right {
		position: static;
		display: none;
		min-width: 0;
		padding: 4px 0 16px 18px;
		border: 0;
		background: transparent;
		box-shadow: none;
	}

	.ssir-podcast-site-nav__item:hover > .ssir-podcast-site-nav__dropdown,
	.ssir-podcast-site-nav__item:focus-within > .ssir-podcast-site-nav__dropdown {
		display: none;
	}

	.ssir-podcast-site-nav__item.is-open > .ssir-podcast-site-nav__dropdown,
	.ssir-podcast-site-nav__item.is-open > .ssir-podcast-site-nav__dropdown--wide {
		display: block;
	}

	.ssir-podcast-site-nav__dropdown li + li {
		border-top: 0;
	}

	.ssir-podcast-site-nav__dropdown a {
		padding: 7px 2px;
	}
}

@media (max-width: 520px) {
	.ssir-podcast-site-header__logo {
		flex-basis: 200px;
	}

	.ssir-podcast-site-header__issue {
		margin-left: 12px;
	}

	.ssir-podcast-site-header__issue img {
		height: 58px;
	}

	.ssir-podcast-site-header__donate a {
		margin-left: 8px;
		padding: 8px 10px;
		font-size: 12px;
	}
}

.ssir-podcast-show,
.ssir-podcast-hero,
.ssir-podcast-entry-content {
	--ssir-podcast-accent: #9b0000;
	--ssir-podcast-border: #d6d3ce;
	--ssir-podcast-ink: #171717;
}

/* The legacy .wrapper uses overflow: hidden, which clips the show-page sticky listen
   column. Clip on one axis keeps the sticky column working (unlike hidden, which makes
   a scroll container) while still containing oversized ad creatives and legacy form
   fields that would otherwise make the page scroll sideways on mobile. */
.wrapper:has(.ssir-podcast-show),
.wrapper:has(.ssir-podcast-hero) {
	overflow-x: clip;
	overflow-y: visible;
}

.main:has(.ssir-podcast-show) > .shell,
.main:has(.ssir-podcast-hero) > .shell {
	max-width: none;
	padding: 0;
}

.main:has(.ssir-podcast-show) .main-inner,
.main:has(.ssir-podcast-show) .content {
	float: none;
	width: 100%;
}

.main:has(.ssir-podcast-show) .sidebar {
	display: none;
}

.main:has(.ssir-podcast-hero--entry) .main-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(48px, 6vw, 88px);
	width: min(1180px, calc(100% - 64px));
	margin: 0 auto;
	padding: 68px 0 100px;
}

.main:has(.ssir-podcast-hero--entry) .content,
.main:has(.ssir-podcast-hero--entry) .sidebar {
	float: none;
	width: auto;
}

/* .main-inner also carries the theme's .clearfix, whose ::before/::after would
   otherwise become grid items and occupy the first column. */
.main:has(.ssir-podcast-hero--entry) .main-inner::before,
.main:has(.ssir-podcast-hero--entry) .main-inner::after {
	display: none;
}

@media (max-width: 960px) {
	.main:has(.ssir-podcast-hero--entry) .main-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 64px;
	}

	.main:has(.ssir-podcast-hero--entry) .sidebar {
		max-width: 620px;
	}

	/* The sidebar ad slots are declared at a fixed 300px, so once the sidebar stacks
	   under the article they would sit against the left edge of a wider column. The
	   Support SSIR creative is a 300px image with the same problem. */
	.main:has(.ssir-podcast-hero--entry) .sidebar [id^="div-gpt-ad"],
	.main:has(.ssir-podcast-hero--entry) .sidebar .widget > a > img {
		display: block;
		margin-inline: auto;
	}
}

@media (max-width: 767px) {
	.main:has(.ssir-podcast-hero--entry) .main-inner {
		width: min(100% - 36px, 620px);
		padding: 50px 0 72px;
	}
}

/* Shared hero */

.ssir-podcast-hero {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #e9e6e0;
	font-family: "Scala Sans", "Titillium Web", sans-serif;
}

.ssir-podcast-hero *,
.ssir-podcast-hero *::before,
.ssir-podcast-hero *::after {
	box-sizing: border-box;
}

.ssir-podcast-hero__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* The banner is a backdrop and the overlay stays in flow, so the hero is as tall as
   its content needs (long episode titles) but never shorter than the floor below. */
.ssir-podcast-hero__overlay {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(240px, 28vw, 380px);
	/* Scrim keeps the cover art and title legible over any banner photo. */
	background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, .05) 100%);
}

.ssir-podcast-hero__inner {
	display: flex;
	align-items: flex-end;
	gap: clamp(20px, 3vw, 40px);
	width: min(1180px, calc(100% - 64px));
	margin: 0 auto;
	padding: clamp(20px, 3vw, 36px) 0;
}

.ssir-podcast-hero__art {
	flex: 0 0 clamp(148px, 18vw, 260px);
	width: clamp(148px, 18vw, 260px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

.ssir-podcast-hero__art img {
	display: block;
	width: 100%;
	height: auto;
}

.ssir-podcast-hero__text {
	min-width: 0;
	padding-bottom: 6px;
	color: #fff;
}

.ssir-podcast-hero__text .ssir-podcast-kicker {
	color: rgba(255, 255, 255, .82);
}

.ssir-podcast-hero__text h1 {
	margin: 0;
	color: #fff;
	font-family: "Scala", Georgia, serif;
	font-size: clamp(38px, 5.6vw, 76px);
	font-weight: 400;
	letter-spacing: -.03em;
	line-height: 1;
	/* The theme centers headings by default. */
	text-align: left;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.ssir-podcast-kicker {
	margin: 0 0 12px;
	color: #5e5c58;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.3;
	text-transform: uppercase;
}

@media (max-width: 767px) {
	.ssir-podcast-hero__overlay {
		min-height: 240px;
	}

	.ssir-podcast-hero__inner {
		display: block;
		width: min(100% - 36px, 620px);
		padding: 24px 0;
	}

	.ssir-podcast-hero__art {
		width: 132px;
		margin-bottom: 16px;
	}

	.ssir-podcast-hero__text {
		padding-bottom: 0;
	}

	.ssir-podcast-hero__text h1 {
		font-size: clamp(34px, 10vw, 52px);
	}
}

/* Show page */

.ssir-podcast-show {
	color: var(--ssir-podcast-ink);
	font-family: "Scala Sans", "Titillium Web", sans-serif;
}

.ssir-podcast-show *,
.ssir-podcast-show *::before,
.ssir-podcast-show *::after {
	box-sizing: border-box;
}

/* Theme headings are centered by default; this layout is left-aligned throughout. */
.ssir-podcast-show h1,
.ssir-podcast-show h2,
.ssir-podcast-show h3 {
	text-align: left;
}

.ssir-podcast-introduction,
.ssir-podcast-content {
	width: min(1180px, calc(100% - 64px));
	margin-right: auto;
	margin-left: auto;
}

.ssir-podcast-introduction {
	padding: 46px 0 44px;
	border-bottom: 1px solid var(--ssir-podcast-border);
}

.ssir-podcast-episode-date {
	margin: 0 0 12px;
	color: #5e5c58;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.ssir-podcast-introduction__description {
	font-family: "Scala", Georgia, serif;
	font-size: clamp(19px, 2.2vw, 25px);
	line-height: 1.5;
}

.ssir-podcast-introduction__description p,
.ssir-podcast-introduction__description span {
	font: inherit;
}

.ssir-podcast-content {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	gap: clamp(40px, 6vw, 88px);
	align-items: start;
	padding: 64px 0 100px;
}

.ssir-podcast-listen-column {
	position: sticky;
	top: 28px;
	z-index: 5;
}

.ssir-podcast-listen {
	border-top: 4px solid var(--ssir-podcast-accent);
	background: #fff;
}

.ssir-podcast-listen summary {
	display: none;
}

.ssir-podcast-listen__links {
	display: flex !important;
	flex-direction: column;
}

.ssir-podcast-listen__links::before {
	content: "Listen";
	padding: 16px 0 14px;
	color: #5e5c58;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	line-height: 1;
	text-transform: uppercase;
}

.ssir-podcast-listen__links a {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 12px 0;
	border-top: 1px solid var(--ssir-podcast-border);
	color: var(--ssir-podcast-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.ssir-podcast-listen__links img {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
}

.ssir-podcast-listen__links a:hover,
.ssir-podcast-listen__links a:focus {
	color: var(--ssir-podcast-accent);
}

.ssir-podcast-main {
	min-width: 0;
}

.ssir-podcast-featured {
	padding: 0 0 58px;
	border-bottom: 1px solid var(--ssir-podcast-border);
}

.ssir-podcast-featured h2 {
	margin: 0 0 15px;
	font-family: "Scala", Georgia, serif;
	font-size: clamp(34px, 4.5vw, 54px);
	font-weight: 400;
	letter-spacing: -.02em;
	line-height: 1.08;
}

.ssir-podcast-featured h2 a,
.ssir-podcast-episode h3 a {
	color: inherit;
	text-decoration: none;
}

.ssir-podcast-featured h2 a:hover,
.ssir-podcast-featured h2 a:focus,
.ssir-podcast-episode h3 a:hover,
.ssir-podcast-episode h3 a:focus {
	color: var(--ssir-podcast-accent);
}

.ssir-podcast-featured > p:not(.ssir-podcast-kicker):not(.ssir-podcast-episode-date),
.ssir-podcast-featured > div:not(.ssir-podcast-player) {
	max-width: 760px;
	font-family: "Scala", Georgia, serif;
	font-size: 18px;
	line-height: 1.55;
}

.ssir-podcast-show-player {
	padding: 58px 0 0;
}

.ssir-podcast-show-player h2 {
	margin: 0 0 22px;
	font-family: "Scala", Georgia, serif;
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 400;
	line-height: 1.1;
}

.ssir-podcast-show-player iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	border: 0;
}

.ssir-podcast-episodes {
	padding-top: 58px;
	/* Clears the fixed Pigeon bar when a pagination link jumps back to #episodes. */
	scroll-margin-top: 80px;
}

.ssir-podcast-episodes > h2 {
	margin: 0 0 6px;
	color: #5e5c58;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.ssir-podcast-episode {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	padding: 28px 0;
	border-top: 1px solid var(--ssir-podcast-border);
}

.ssir-podcast-episode__image {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: #e9e6e0;
}

.ssir-podcast-episode__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .2s ease;
}

.ssir-podcast-episode__image:hover img {
	transform: scale(1.025);
}

.ssir-podcast-episode__body {
	min-width: 0;
}

.ssir-podcast-episode h3 {
	margin: 0 0 18px;
	font-family: "Scala", Georgia, serif;
	font-size: clamp(23px, 3vw, 34px);
	font-weight: 400;
	line-height: 1.12;
}

.ssir-podcast-episode__link {
	color: var(--ssir-podcast-accent);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .03em;
	text-decoration: none;
	text-transform: uppercase;
}

.ssir-podcast-episode-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Date column matches the artwork column above it so both lists share a left edge. */
.ssir-podcast-episode-list__item {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 28px;
	align-items: baseline;
	padding: 16px 0;
	border-top: 1px solid var(--ssir-podcast-border);
}

.ssir-podcast-episode-list__item .ssir-podcast-episode-date {
	margin: 0;
}

.ssir-podcast-episode-list__item h3 {
	margin: 0;
	font-family: "Scala", Georgia, serif;
	font-size: 21px;
	font-weight: 400;
	line-height: 1.24;
}

.ssir-podcast-episode-list__item h3 a {
	color: inherit;
	text-decoration: none;
}

.ssir-podcast-episode-list__item h3 a:hover,
.ssir-podcast-episode-list__item h3 a:focus {
	color: var(--ssir-podcast-accent);
}

.ssir-podcast-pagination {
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 26px 0 0;
	border-top: 1px solid var(--ssir-podcast-border);
}

.ssir-podcast-pagination__pages {
	display: flex;
	gap: 6px;
	align-items: center;
	/* Keeps the numbers centered while either step link may be absent. */
	order: 2;
	flex: 1 1 auto;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ssir-podcast-pagination__pages li {
	margin: 0;
}

.ssir-podcast-pagination__pages a {
	display: block;
	min-width: 34px;
	padding: 7px 8px;
	border: 1px solid transparent;
	color: var(--ssir-podcast-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	text-decoration: none;
}

.ssir-podcast-pagination__pages a:hover,
.ssir-podcast-pagination__pages a:focus {
	border-color: var(--ssir-podcast-border);
	color: var(--ssir-podcast-accent);
}

.ssir-podcast-pagination__pages a.is-current {
	border-color: var(--ssir-podcast-accent);
	background: var(--ssir-podcast-accent);
	color: #fff;
}

.ssir-podcast-pagination__step {
	order: 1;
	color: var(--ssir-podcast-accent);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .03em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.ssir-podcast-pagination__step[rel="next"] {
	order: 3;
}

.ssir-podcast-pagination__step span {
	display: inline-block;
	transition: transform .2s ease;
}

.ssir-podcast-pagination__step[rel="next"]:hover span,
.ssir-podcast-pagination__step[rel="next"]:focus span {
	transform: translateX(4px);
}

.ssir-podcast-pagination__step[rel="prev"]:hover span,
.ssir-podcast-pagination__step[rel="prev"]:focus span {
	transform: translateX(-4px);
}

.ssir-podcast-episode__link span {
	display: inline-block;
	transition: transform .2s ease;
}

.ssir-podcast-episode__link:hover span,
.ssir-podcast-episode__link:focus span {
	transform: translateX(4px);
}

@media (max-width: 767px) {
	.ssir-podcast-introduction,
	.ssir-podcast-content {
		width: min(100% - 36px, 620px);
	}

	.ssir-podcast-introduction {
		padding: 30px 0 28px;
	}

	.ssir-podcast-content {
		display: block;
		padding: 0 0 68px;
	}

	.ssir-podcast-listen-column {
		position: static;
		margin: 0 -18px 44px;
	}

	.ssir-podcast-listen {
		border-top: 0;
		border-bottom: 1px solid var(--ssir-podcast-border);
	}

	.ssir-podcast-listen summary {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 19px 18px;
		color: var(--ssir-podcast-ink);
		cursor: pointer;
		font-size: 16px;
		font-weight: 700;
		list-style: none;
	}

	.ssir-podcast-listen summary::-webkit-details-marker {
		display: none;
	}

	.ssir-podcast-listen__toggle {
		position: relative;
		width: 18px;
		height: 18px;
	}

	.ssir-podcast-listen__toggle::before,
	.ssir-podcast-listen__toggle::after {
		content: "";
		position: absolute;
		top: 8px;
		left: 2px;
		width: 14px;
		height: 2px;
		background: var(--ssir-podcast-accent);
	}

	.ssir-podcast-listen__toggle::after {
		transform: rotate(90deg);
		transition: transform .2s ease;
	}

	.ssir-podcast-listen[open] .ssir-podcast-listen__toggle::after {
		transform: rotate(0);
	}

	.ssir-podcast-listen__links {
		display: none !important;
		padding: 0 18px 18px;
	}

	.ssir-podcast-listen[open] .ssir-podcast-listen__links {
		display: flex !important;
	}

	.ssir-podcast-listen__links::before {
		display: none;
	}

	.ssir-podcast-featured {
		padding-bottom: 44px;
	}

	.ssir-podcast-show-player {
		padding: 44px 0 0;
	}

	.ssir-podcast-show-player iframe {
		height: 600px;
	}

	.ssir-podcast-episodes {
		padding-top: 44px;
	}

	.ssir-podcast-episode {
		grid-template-columns: 100px minmax(0, 1fr);
		gap: 18px;
		padding: 22px 0;
	}

	.ssir-podcast-episode h3 {
		font-size: 22px;
	}

	.ssir-podcast-episode-list__item {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
		padding: 14px 0;
	}

	.ssir-podcast-episode-list__item h3 {
		font-size: 19px;
	}

	.ssir-podcast-pagination {
		gap: 12px;
		padding-top: 20px;
	}

	.ssir-podcast-pagination__step {
		font-size: 13px;
	}

	.ssir-podcast-pagination__pages a {
		min-width: 30px;
		padding: 6px;
		font-size: 14px;
	}
}

@media (max-width: 420px) {
	.ssir-podcast-episode {
		grid-template-columns: 78px minmax(0, 1fr);
		gap: 14px;
	}

	.ssir-podcast-episode-date {
		font-size: 11px;
	}

	.ssir-podcast-episode h3 {
		margin-bottom: 10px;
		font-size: 19px;
	}

	.ssir-podcast-episode__link {
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ssir-podcast-show *,
	.ssir-podcast-show *::before,
	.ssir-podcast-show *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

/* Episode page */

.ssir-podcast-entry-content {
	color: var(--ssir-podcast-ink);
	font-family: "Scala Sans", "Titillium Web", sans-serif;
}

.ssir-podcast-entry-content *,
.ssir-podcast-entry-content *::before,
.ssir-podcast-entry-content *::after {
	box-sizing: border-box;
}

/* Episode titles run much longer than the show name the hero was sized for. */
.ssir-podcast-hero--entry .ssir-podcast-hero__text h1 {
	font-size: clamp(30px, 4vw, 54px);
	letter-spacing: -.02em;
	line-height: 1.04;
}

.ssir-podcast-hero__meta {
	margin: 14px 0 0;
	color: rgba(255, 255, 255, .82);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .07em;
	line-height: 1.3;
	text-transform: uppercase;
}

.ssir-podcast-hero .ssir-podcast-kicker a {
	color: inherit;
	text-decoration: none;
}

.ssir-podcast-hero .ssir-podcast-kicker a:hover,
.ssir-podcast-hero .ssir-podcast-kicker a:focus {
	color: #fff;
	text-decoration: underline;
}

.ssir-podcast-entry-listen {
	display: flex;
	gap: 13px;
	align-items: center;
	margin-top: 22px;
}

.ssir-podcast-entry-listen > span {
	margin-right: 3px;
	color: rgba(255, 255, 255, .82);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ssir-podcast-entry-listen a,
.ssir-podcast-entry-listen img {
	display: block;
}

.ssir-podcast-entry-listen a {
	transition: transform .2s ease;
}

.ssir-podcast-entry-listen a:hover,
.ssir-podcast-entry-listen a:focus {
	transform: translateY(-2px);
}

/* Sits between the hero and the two-column body.
   Simplecast swaps layouts on the iframe's own width. Its wide layout needs
   roughly 800px; between about 450px and 780px the transport controls collide
   with the privacy/share links, so the player is kept either wide (desktop) or
   narrow (below the 960px breakpoint) and never in between. */
.ssir-podcast-entry-playerbar {
	width: 100%;
	min-width: 0;
	padding: 40px 0;
	background: #e9e6e0;
	border-bottom: 1px solid #d6d3ce;
}

.ssir-podcast-entry-playerbar iframe,
.ssir-podcast-entry-playerbar audio {
	display: block;
	width: min(1180px, calc(100% - 64px));
	max-width: 100%;
	margin: 0 auto;
	border: 0;
}

/* The CMS embed field ships Simplecast's 52px mini strip. The player renders
   its full layout (title, speed, skip controls, subscribe links) when the
   iframe is given more height. */
.ssir-podcast-entry-playerbar iframe[src*="simplecast"] {
	height: 200px;
}

.ssir-podcast-entry-content {
	min-width: 0;
}

.ssir-podcast-entry-section {
	padding-bottom: 52px;
	margin-bottom: 52px;
	border-bottom: 1px solid var(--ssir-podcast-border);
}

.ssir-podcast-entry-section > h2 {
	margin: 0 0 24px;
	color: var(--ssir-podcast-ink);
	font-family: "Scala", Georgia, serif;
	font-size: clamp(30px, 3.5vw, 46px);
	font-weight: 400;
	letter-spacing: -.02em;
	line-height: 1.08;
	text-align: left;
}

.ssir-podcast-entry-intro__text {
	font-family: "Scala", Georgia, serif;
	font-size: clamp(20px, 2.2vw, 25px);
	line-height: 1.5;
}

.ssir-podcast-entry-intro__text p:last-child,
.ssir-podcast-entry-transcript__body > *:last-child {
	margin-bottom: 0;
}

.ssir-podcast-people {
	display: grid;
	gap: 36px;
}

.ssir-podcast-person {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 26px;
	align-items: start;
}

/* Rows without a headshot keep their text in the same column as the rest. */
.ssir-podcast-person:not(:has(.ssir-podcast-person__photo)) {
	grid-template-columns: minmax(0, 1fr);
}

.ssir-podcast-person__photo img {
	display: block;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	object-fit: cover;
}

.ssir-podcast-person__name {
	margin: 0;
	color: var(--ssir-podcast-ink);
	font-family: "Scala Sans", "Titillium Web", sans-serif;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.25;
	text-align: left;
}

/* Flex so the whitespace between the two spans isn't rendered before the comma. */
.ssir-podcast-person__role {
	display: flex;
	flex-wrap: wrap;
	margin: 4px 0 0;
	color: #5e5c58;
	font-size: 15px;
	line-height: 1.4;
}

.ssir-podcast-person__role span + span::before {
	content: ", ";
	white-space: pre;
}

/* The role line is always emitted; drop it when there is no position or department. */
.ssir-podcast-person__role:not(:has(span)) {
	display: none;
}

.ssir-podcast-person__bio {
	margin-top: 12px;
	font-family: "Scala", Georgia, serif;
	font-size: 17px;
	line-height: 1.6;
}

.ssir-podcast-person__bio > *:last-child {
	margin-bottom: 0;
}

.ssir-podcast-person__email {
	margin: 10px 0 0;
	font-size: 15px;
}

.ssir-podcast-entry-guests .article-author {
	padding: 0;
	margin: 0;
	border: 0;
}

.ssir-podcast-entry-guests .article-author::after {
	content: "";
	display: table;
	clear: both;
}

.ssir-podcast-entry-transcript__body {
	font-family: "Scala", Georgia, serif;
	font-size: 18px;
	line-height: 1.65;
}

.ssir-podcast-entry-transcript__body h2,
.ssir-podcast-entry-transcript__body h3 {
	margin: 40px 0 15px;
	font-family: "Scala Sans", "Titillium Web", sans-serif;
	font-weight: 700;
	line-height: 1.2;
	text-align: left;
}

.ssir-podcast-entry-transcript__body h2 {
	font-size: 25px;
}

.ssir-podcast-entry-transcript__body h3 {
	font-size: 21px;
}

.ssir-podcast-entry-footer .subscribe-banner {
	margin-top: 48px;
}

/* Google Ad Manager sizes its frame to the creative it fills with, which can be wider
   than this column. Keep the frame inside the column so a mismatch never widens the page. */
.ssir-podcast-entry-footer [id^="div-gpt-ad"],
.ssir-podcast-entry-footer [id^="div-gpt-ad"] iframe {
	max-width: 100%;
}

/* Comments come from the legacy template, whose fields are sized in fixed pixels for a
   wider column (476px textarea, 364px inputs) and use floated right-aligned labels.
   Stack the labels and let every field track the column instead. */
.ssir-podcast-entry-footer #reply {
	margin-top: 48px;
	border-color: var(--ssir-podcast-border);
}

.ssir-podcast-entry-footer #reply .row {
	padding-bottom: 14px;
}

.ssir-podcast-entry-footer #reply label.left {
	display: block;
	float: none;
	width: auto;
	margin: 0 0 6px;
	text-align: left;
}

.ssir-podcast-entry-footer #reply textarea,
.ssir-podcast-entry-footer #reply .row .field {
	display: block;
	float: none;
	width: 100%;
	min-width: 0;
	max-width: 100%;
}

.ssir-podcast-entry-footer #reply textarea {
	min-height: 96px;
}

/* Name, email, location and URL read better short than spanning the whole column. */
.ssir-podcast-entry-footer #reply .row input.field {
	max-width: 420px;
}

.ssir-podcast-entry-footer #reply .indent {
	padding-left: 0;
}

.ssir-podcast-entry-footer #comments .author {
	max-width: 100%;
}

@media (max-width: 960px) {
	/* Keeps the embed in Simplecast's narrow layout. */
	.ssir-podcast-entry-playerbar iframe,
	.ssir-podcast-entry-playerbar audio {
		max-width: 400px;
	}
}

@media (max-width: 767px) {
	.ssir-podcast-hero--entry .ssir-podcast-hero__text h1 {
		font-size: clamp(28px, 8vw, 40px);
	}

	.ssir-podcast-entry-playerbar {
		padding: 28px 0;
	}

	.ssir-podcast-entry-playerbar iframe,
	.ssir-podcast-entry-playerbar audio {
		width: min(100% - 36px, 620px);
	}

	.ssir-podcast-entry-section {
		padding-bottom: 40px;
		margin-bottom: 40px;
	}

	.ssir-podcast-person {
		grid-template-columns: 76px minmax(0, 1fr);
		gap: 18px;
	}

	.ssir-podcast-person__photo img {
		width: 76px;
		height: 76px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ssir-podcast-entry-listen a {
		transition: none !important;
	}
}
