/* Single Podcast Styling
----------------------------------------- */

.hidden {
	display: none;
}

.podcast-hero {
	display: flex;
	flex-direction: row;
	margin: 40px auto 0;
	max-width: 800px;
	padding: 0 2rem;
	width: calc(100% - 4rem);
}

.podcast-hero__button-icon {
	height: 15px;
	margin: 0 5px;
}

.podcast-hero__button-icon-x {
	align-self: end;
	height: 11px;
	margin-top: 5px;
}

.podcast-hero__buttons {
	display: flex;
	justify-content: space-between;
	height: 35px;
	position: relative;
	width: 100%;
}

.podcast-hero__buttons__follow {
	align-items: center;
	background-color: var(--byu-white);
	border: 1px solid var(--byu-navy);
	border-radius: 5px;
	color: var(--byu-navy);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	grid-column: 3;
	justify-content: center;
	padding: 2px 10px;
	position: relative;
	transition: box-shadow 0.5s ease-in-out, width 0.3s ease-in-out;
}

.podcast-hero__buttons__follow:hover {
	box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
}

.podcast-hero__buttons__follow:hover .podcast-hero__link-wrapper {
	display: block;
}

.podcast-hero__buttons__play {
	align-items: center;
	background-color: var(--byu-navy);
	border: none;
	border-radius: 5px;
	color: white;
	display: flex;
	max-height: fit-content;
	padding: 2px 10px;
	transition: box-shadow 0.3s ease-in-out;
	justify-content: center;
}

.podcast-hero__buttons__play:hover {
	box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.3);
}

.podcast-hero__button-text {
	margin: 5px;
}

.podcast-hero__description {
	align-self: end;
	font-size: 14px;
	line-height: 1.5;
}

.podcast-hero__follow-text-wrapper {
	display: flex;
	align-items: center;
}

.podcast-hero__image {
	border-radius: 10px;
	height: 250px;
	width: 250px;
}

.podcast-hero__link {
	align-items: center;
	display: flex;
	margin: 8px;
}

.podcast-hero__link:hover {
	color: var(--byu-royal);
}

.podcast-hero__link-wrapper {
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	color: var(--byu-grey-dark);
	display: none;
	font-size: 12px;
	left: 0;
	min-width: 200px;
	padding-top: 8px;
	position: absolute;
	text-transform: uppercase;
	top: 100%;
	z-index: 50;
}

.podcast-hero__link-wrapper:before {
	background: transparent;
	content: '';
	height: 8px;
	left: 0;
	position: absolute;
	right: 0;
	top: -8px;
}

.podcast-hero__rating-info {
	align-items: center;
	color: var(--byu-grey-dark);
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.podcast-hero__rating-info__text {
	font-size: 12px;
	width: fit-content;
}

.podcast-hero__rating-info__text:not(:last-child)::after {
	color: #000;
	content: "\00B7";
	font-weight: 900;
	margin: 0 5px;
}

.podcast-hero__text {
	display: flex;
	flex-direction: column;
	font-family: var(--ibm-plex-sans-ssm);
	margin-bottom: 0;
	margin-left: 24px;
}

.podcast-hero__title {
	align-self: start;
	font-size: 24px;
	font-weight: 600;
	letter-spacing: .023em;
	line-height: 1;
	margin: 0;
}

.podcast-page-card__link-image {
	height: 15px;
	margin-right: 5px;
}

.single-podcast {
	font-family: var(--ibm-plex-sans-ssm);
	padding-bottom: 48px;
}

.single-podcast__card-wrapper {
	display: flex;
	flex-direction: column;
	margin-top: 25px;
}

.single-podcast .archive-controls {
	align-items: flex-start;
}

.single-podcast .podcast-page-card {
	margin: 64px 0 0;
	max-width: 281px;
}

.single-podcast .podcast-page-card__title {
	color: #575757;
	font-size: 21px;
	margin: 10px 0;
}

#single-podcast__show-more {
	color: var(--byu-navy);
	cursor: pointer;
}

.sort-controls {
	align-items: center;
	color: var(--byu-grey-dark);
	display: flex;
	flex-direction: row;
	font-size: 12px;
	justify-content: center;
	margin-top: 25px;
}

.sort-controls__dropdown {
	border-color: var(--byu-grey-medium);
	border-radius: 5px;
	color: var(--byu-grey-dark);
	padding: 2px;
}

.sort-controls__label {
	margin: 0 10px;
}

.sp-archive__loading-icon {
	display: block;
	margin: 0 auto;
}

/* Media Queries
----------------------------------------- */
@media (max-width: 450px) {
	.podcast-hero__rating-info {
		align-items: center;
		justify-content: center;
		line-height: 0;
		margin-top: 5px;
		width: 250px;
	}
}

@media (max-width: 800px) {
	.podcast-hero {
		align-items: center;
		align-self: center;
		color: var(--byu-white);
		flex-direction: column;
		margin: 0;
		padding: 40px 0;
		width: 100vw;
	}

	.podcast-hero__button-icon-x {
		display: none;
	}

	.podcast-hero__buttons {
		align-self: center;
		display: flex;
		justify-content: space-between;
		min-width: 300px;
		width: 80%;
	}

	.podcast-hero__description {
		align-self: center;
		color: var(--byu-white);
		min-width: 300px;
		text-align: justify;
		width: 75%;
	}

	.podcast-hero__image {
		margin-bottom: 20px;
		margin-top: 20px;
	}

	.podcast-hero__rating-info {
		align-self: center;
		color: var(--byu-white);
		min-width: 250px;
	}

	.podcast-hero__rating-info__text:not(:last-child)::after {
		color: var(--byu-white);
	}

	.podcast-hero__text {
		margin: 18px;
	}

	.podcast-hero__title {
		align-self: center;
	}

	.sp-page-content {
		margin: 0 2px !important;
	}
}

@media (min-width: 640px) {
	.single-podcast .archive-controls {
		grid-column-gap: 64px;
		grid-row-gap: 32px;
		grid-template-columns: max-content auto;
	}

	.single-podcast__card-wrapper {
		grid-template-columns: repeat(2, 245px);
	}

	.single-podcast .podcast-page-card {
		display: unset;
		grid-area: 1 / 2 / 3 / 3;
		grid-column-gap: 1rem;
		margin: unset;
		max-width: 393px;
	}

	.single-podcast .archive-controls__type-container .archive-controls__title {
		grid-column: 1 / 3;
	}
}

@media (min-width: 800px) {
	.archive-controls__type-container {
		grid-column: auto;
	}

	.single-podcast__card-wrapper {
		grid-template-columns: repeat(3, 245px);
	}

	.single-podcast .podcast-page-card {
		display: grid;
		max-width: 500px;
	}

	.podcast-hero__buttons__play {
		align-items: center;
		background-color: var(--byu-navy);
		border: none;
		border-radius: 5px;
		color: white;
		display: flex;
		max-height: fit-content;
		padding: 2px 10px;
		transition: box-shadow 0.3s ease-in-out;
		justify-content: center;
	}
}

@media (min-width: 1024px) {
	.podcast-hero {
		max-width: calc(1240px - 17rem);
		padding: 0 8.5rem;
		width: calc(100% - 17rem);
	}

	.single-podcast .archive-controls {
		grid-gap: 64px;
		grid-template-columns: max-content auto;
	}

	.single-podcast .archive-controls__type-container {
		grid-area: unset;
	}

	.single-podcast .podcast-page-card {
		grid-area: unset;
		max-width: 466px;
	}
}

@media (min-width: 1200px) {
	.single-podcast .archive-controls {
		grid-gap: 128px;
	}

	.single-podcast__card-wrapper {
		grid-template-columns: repeat(4, 245px);
	}
}
