/* Giving With Impact show page.
   This stylesheet is loaded only for /podcasts/category/giving_with_impact. */

/* The global .wrapper sets overflow:hidden to contain the off-canvas nav, which
   also blocks position:sticky. This page uses the minimal header, so there is no
   off-canvas nav to contain. */
.wrapper {
	overflow: visible;
}

.main > .shell {
	max-width: none;
	padding: 0;
}

.main .main-inner,
.main .content {
	float: none;
	width: 100%;
}

.main .sidebar {
	display: none;
}

.gwi-page {
	--gwi-accent: #9b0000;
	--gwi-border: #d6d3ce;
	--gwi-ink: #171717;
	color: var(--gwi-ink);
	font-family: "Scala Sans", "Titillium Web", sans-serif;
}

.gwi-page *,
.gwi-page *::before,
.gwi-page *::after {
	box-sizing: border-box;
}

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

.gwi-hero {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #e9e6e0;
}

.gwi-hero__image {
	display: block;
	width: 100%;
	height: clamp(340px, 46vw, 620px);
	object-fit: cover;
}

.gwi-hero__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	/* 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%);
}

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

.gwi-hero__art {
	flex: 0 0 clamp(120px, 15vw, 220px);
	width: clamp(120px, 15vw, 220px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

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

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

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

.gwi-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;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

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

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

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

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

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

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

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

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

.gwi-listen summary {
	display: none;
}

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

.gwi-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;
}

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

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

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

.gwi-main {
	min-width: 0;
}

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

.gwi-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;
}

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

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

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

.gwi-show-player {
	padding: 58px 0;
	border-bottom: 1px solid var(--gwi-border);
}

.gwi-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;
}

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

.gwi-episodes {
	padding-top: 58px;
}

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

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

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

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

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

.gwi-episode__body {
	min-width: 0;
}

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

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

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

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

@media (max-width: 767px) {
	.gwi-hero__image {
		height: clamp(300px, 96vw, 480px);
	}

	.gwi-hero__inner,
	.gwi-introduction,
	.gwi-content {
		width: min(100% - 36px, 620px);
	}

	.gwi-hero__inner {
		display: block;
		padding: 24px 0;
	}

	.gwi-hero__art {
		width: 108px;
		margin-bottom: 16px;
	}

	.gwi-hero__text {
		padding-bottom: 0;
	}

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

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

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

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

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

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

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

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

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

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

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

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

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

	.gwi-listen__links::before {
		display: none;
	}

	.gwi-featured {
		padding-bottom: 44px;
	}

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

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

	.gwi-episodes {
		padding-top: 44px;
	}

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

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

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

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

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

	.gwi-episode__link {
		font-size: 12px;
	}
}

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