/* NEW PODCAST CARD */
/* Currently this card is being used more than one place and the styling is for some reason being share with another card.
I am creating new css until we can parse out the other areas this is used*/

.card__podcast-wrapper {
	background: var(--byu-white);
	font-family: var(--ibm-plex-sans-ssm);
	border-top: solid 1px var(--byu-grey-medium);
	display: flex ;
	flex-direction: row;
	align-items: center;
	padding: 8px 0;
	position: relative;
}

.card__podcast-wrapper:hover .card__info__header {
	color: var(--pgsp-theme-color);
}

.card__info__header{
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	margin: 5px 0;
}

.card__podcast-info{
	display: flex;
	flex-direction: column;
	width: 95%;
}

.card__podcast-info__subtitle{
	display: flex;
	flex-direction: row;
	white-space: normal;
	flex-wrap: wrap;
	font-size: 12px;
}

.card__podcast-info__subtitle-item{
	font-weight: 400;
	text-transform: uppercase;
	color: var(--byu-grey-dark);
	line-height: 1.5;
	margin: 0;
	z-index: 2;
}

.card__podcast-info__subtitle-item:hover{
	color: var(--pgsp-theme-color);
	cursor: pointer;
}

.card__podcast-info__subtitle-item:not(:last-child)::after {
	content: "|";
	margin: 0 5px;
}

.card__info__preview{
	position: relative;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 80%;

	font-size: 14px;
	color: var(--byu-grey-dark);
	margin: 5px 0;
}

.card__action{
	justify-content: center;
	align-items: center;

}

.card__podcast-link{
	position: absolute;
	height: calc(100%);
	width: calc(100%);
	z-index: 1;
}

.play-podcast-wrapper{
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-color: var(--byu-navy);
	display: flex;
	justify-content: center;
	align-items: center;
}

.card__action:hover .play-podcast-wrapper {
	background-color: var(--byu-royal-medium);
}

.media-links__play-icon{
	height: 15px;
	width: 15px;
	align-self: center;
}

.media-links__play-text{
	display: none;
}

@media screen and (max-width: 450px) {
	.media-links__play-text {
		display: block;
		font-size: 14px;
		color: var(--byu-white);
		font-weight: 500;
		margin: 0 5px;
	}

	.play-podcast-wrapper {
		height: fit-content;
		width: fit-content;
		border-radius: 30px;
		padding: 5px 10px;
	}

	.card__action{
		align-self: end;
		margin: 5px;
	}

	.card__podcast-wrapper{
		flex-direction: column;
	}

	.card__info__preview{
		width: 100%;
		-webkit-line-clamp: 2;
	}

}

/*END OF NEW MODIFICATIONS*/



.card--podcast {
	grid-template-columns: 90px auto;
	grid-template-rows: max-content repeat(2, min-content) auto repeat(2, min-content);
	grid-column-gap: 1rem;
	grid-template-areas:
		"photo speaker"
		"photo date"
		"head head"
		"tag downloads"
		"media-links media-links";
	align-items: center;
	background-color: var(--pgsp-grey);
	padding: 1rem 1rem 0;
	border-radius: 5px;

}



.card--podcast .card__header {
	font-size: 18px;
	color: #012e5d;
	letter-spacing: -0.5px;
	hyphens: unset;
	margin: 1.25rem 0;
}

.card--podcast:hover{
	box-shadow: 2px 2px 10px var(--byu-grey-medium);
}

.card--podcast .card__header a {
	-webkit-line-clamp: 3;
}

.card--podcast .card__header:hover {
	color: #000;
}

.card--podcast .card__image {
	grid-area: photo;
}

.card--podcast .card__speaker-name {
	grid-area: speaker;
	font-family: var(--ibm-plex-sans-ssm);
	font-size: 14px;
	font-weight: 500;
	color: var(--pgsp-theme-color);
	opacity: 0.85;
	text-transform: uppercase;
	line-height: 17px;
	margin: 0;
}

.card--podcast .card__speaker-name:hover {
	opacity: 1;
}

.card--podcast .card__speaker-name a {
	font-weight: inherit;
}

.card--podcast .card__speech-date {
	grid-area: date;
	align-self: flex-start;
	font-family: var(--ibm-plex-sans-ssm);
	font-size: 10px;
	font-style: italic;
	font-weight: 400;
	color: #050206;
	margin: 0.75rem 0;
}

.card--podcast .card__year-wrapper {
	grid-area: tag;
}

.card--podcast .card__year {
	font-size: 14px;
	color: var(--byu-white);
	background-color: #9bb8da;
	padding: 5px 13px;
	border-radius: 3px;
}

.card--podcast .card__year:hover {
	background-color: #7c9fc7;
}

.card--podcast .card__media-links {
	margin-top: 1rem;
}

.card--podcast .media-links__icon--watch {
	order: 1;
}

.card--podcast .media-links__icon--listen {
	order: 2;
}

.card--podcast .media-links__icon--read {
	order: 3;
}

.card--podcast .media-links__icon--download {
	order: 4;
}

.card--podcast .card__downloads-container {
	width: 107px;
}

.card--podcast .download-links__tail {
	bottom: -22px;
	right: 12px;
	border-width: 10px 8px 0 8px;
	border-color: var(--byu-white) transparent transparent transparent;
}

.card--podcast .card__download-links {
	position: absolute;
	bottom: -12px;
	background-color: var(--byu-white);
}

.card--podcast .download-links__option {
	font-size: 14px;
	padding: 0.25rem;
}

.card--podcast .download-links__option:nth-of-type(1) {
	width: 50px;
}

.card--podcast .download-links__separator {
	height: 17px;
}

.card--podcast .download-links__option:nth-of-type(2) {
	width: 40px;
}
