/* ==========================================================
   COMMON
========================================================== */

.ped-featured-card,
.ped-slider-card,
.ped-featured-card *,
.ped-slider-card * {
	box-sizing: border-box;
}

.ped-thumbnail {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.ped-image-placeholder {
	width: 100%;
	height: 100%;

	min-height: 300px;

	display: flex;
	align-items: center;
	justify-content: center;

	background: #c8c8c8;

	color: #111;

	font-size: 28px;
}


/* ==========================================================
   CATEGORY
========================================================== */

.ped-category {
	align-self: flex-start;
	display: inline-flex;
	padding: 7px 15px;
	margin-bottom: 18px;
	border-radius: 5px;
	background: #d9aa4d;
	color: #111;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.15;
	text-transform: uppercase;
	font-family: "Inter", sans-serif;
}


/* ==========================================================
   EPISODE
========================================================== */

.ped-episode {
	margin-bottom: 9px;
	color: #999;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	font-family: "Inter", sans-serif;
}


/* ==========================================================
   COMMON BUTTON
========================================================== */

.ped-popup-trigger {
	appearance: none;
	-webkit-appearance: none;

	display: inline-flex;

	align-items: center;

	gap: 11px;

	padding: 0;
	margin: 0;

	border: 0;
	outline: 0;

	background: transparent;

	box-shadow: none;

	font-family: inherit;

	cursor: pointer;
}

.ped-popup-trigger:hover,
.ped-popup-trigger:focus {
	outline: 0;
	box-shadow: none;
}

.ped-play-icon {
	display: inline-flex;

	align-items: center;
	justify-content: center;

	line-height: 1;
}


/* ==========================================================
   FEATURED
========================================================== */

.ped-featured-wrapper {
	width: 100%;
}

.ped-featured-card {
	display: flex;
	width: 100%;
	overflow: hidden;
	border-radius: 16px;
	background: #faf5eb;
	align-items: center;
	padding: 25px;
}


/* IMAGE */

.ped-featured-image {
	/* min-height: 370px; */
	overflow: hidden;
}


/* CONTENT */

.ped-featured-content {
	display: flex;
	flex-direction: column;
	padding: 25px 0 25px 57px;
}


/* TITLE */

.ped-featured-title {
	font-family: "Iva", Sans-serif;
	font-size: 24px;
	font-style: normal;
	color: #000000;
	font-weight: 600;
	margin-top: 0;
}

.top-fea-heading h2 {
    font-family: "Inter", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 1.2px;
    color: #8D5E00;
    text-transform: uppercase;
    margin: 0 0 20px 0;
}


/* DESCRIPTION */

.ped-featured-description {
	max-width: 850px;

	margin-bottom: 28px;

	color: #111;

	font-size: 18px;

	line-height: 1.55;
}


/* BUTTON AREA */

.ped-featured-buttons {
	display: flex;

	flex-wrap: wrap;

	gap: 12px;

	margin-top: auto;
}

.fea-title-btn-wrap {
    display: flex;
    align-items: center;
}

.fea-title-btn-wrap .ped-featured-buttons {
    margin: 0;
}

.fea-title-btn-wrap .ped-featured-description {
    margin: 0;
    padding-right: 25px;
    font-size: 16px;
}

.ped-featured-image img.ped-thumbnail.wp-post-image {
    width: 29em;
    border-radius: 16px;
}

/* FEATURED BUTTON */

.ped-featured-buttons .ped-popup-trigger {
	min-height: 42px;
	padding: 10px 20px;
	border: 1px solid #111;
	border-radius: 50px;
	color: #111;
	font-size: 14px;
	text-transform: uppercase;
}

.ped-featured-buttons .ped-popup-trigger:focus {
    background: none;
    color: #000;
}

.ped-featured-buttons
.ped-popup-trigger:hover {
	background: #111;

	color: #fff;
}


/* WATCH BUTTON */

.ped-featured-watch {
	background: #d9aa4d !important;

	border-color: #d9aa4d !important;
}

.ped-featured-watch:hover {
	background: #111 !important;

	border-color: #111 !important;
}

.ped-featured-buttons
.ped-play-icon {
	font-size: 14px;
}


/* ==========================================================
   SLIDER
========================================================== */

.ped-slider {
	position: relative;

	width: 100%;
}

.ped-slider-track {
	display: flex;

	width: 100%;

	gap: 14px;

	overflow-x: auto;
	overflow-y: hidden;

	scroll-behavior: smooth;

	scroll-snap-type: x mandatory;

	scrollbar-width: none;

	-webkit-overflow-scrolling: touch;
}

.ped-slider-track::-webkit-scrollbar {
	display: none;
}


/* ==========================================================
   SLIDER CARD

   TWO cards visible at one time
========================================================== */

.ped-slider-card {
	flex:
		0 0
		calc((100% - 14px) / 2);
	display: grid;
	grid-template-columns:
		50%
		50%;
	min-width: 0;
	/* min-height: 400px; */
	overflow: hidden;
	border-radius: 15px;
	background: #faf5eb;
	scroll-snap-align: start;
}


/* CARD IMAGE */

.ped-slider-image {
	/* min-height: 400px; */
	overflow: hidden;
	background: #ccc;
}

.ped-slider-image img.ped-thumbnail.wp-post-image {
    object-fit: cover;
    height: 100%;
}


/* CARD CONTENT */

.ped-slider-content {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 27px 25px;
}


/* TITLE */

.ped-slider-title {
	font-family: "Ivy Mode", Sans-serif;
	margin: 0 0 18px;
	padding: 0;
	color: #111;
	font-size: 21px;
	font-weight: 300;
	font-family: "Ivy Mode", sans-serif;
}


/* DESCRIPTION */

.ped-slider-description {
	margin-bottom: 20px;
	color: #111;
	font-size: 13px;
	line-height: 1.45;
}


/* BUTTONS */

.ped-slider-buttons {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	/* gap: 9px; */
	margin-top: 0;
}

.ped-slider-buttons
.ped-popup-trigger {
	color: #999;
	font-size: 17px;
	font-weight: 500;
	border: none;
	padding: 0;
}

.ped-slider-buttons .ped-popup-trigger:hover {
    background: none;
}

.ped-slider-buttons .ped-popup-trigger:focus {
    background: none;
    color: #000;
}

.ped-slider-buttons
.ped-popup-trigger:hover {
	color: #111;
}

.ped-slider-buttons
.ped-play-icon {
	/* width: 24px; */
	color: #d9aa4d;
	font-size: 19px;
	padding-right: 8px;
}

.ped-slider-buttons button span:last-child {
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 500;
}

.ped-slider-listen
.ped-play-icon {
	color: #999;
}


/* ==========================================================
   SLIDER ARROWS
========================================================== */

.ped-slider-arrow {
	position: absolute;
	top: 50%;
	z-index: 20;
	width: 44px !important;
	height: 44px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	margin: 0;
	transform: translateY(-50%);
	border: 0 !important;
	border-radius: 50% !important;
	background: #fff;
	color: #111 !important;
	box-shadow:
		0 3px 15px
		rgba(0, 0, 0, 0.15);
	font-size: 30px !important;
	cursor: pointer !important;
}

.ped-slider-arrow:focus {
    background: #111 !important;
	color: #fff !important;
}

.ped-slider-arrow:hover {
	background: #111 !important;
	color: #fff !important;
}

.ped-slider-prev {
	left: -50px;
}

.ped-slider-next {
	right: -50px;
}


/* ==========================================================
   ELEMENTOR POPUP
========================================================== */

#elementor-popup-modal-1480
#custom-embed-code {
	width: 100%;
}

#elementor-popup-modal-1480
#custom-embed-code iframe {
	display: block;

	width: 100% !important;

	max-width: 100% !important;

	margin: 0 auto;

	border: 0;
}


/* YOUTUBE */

#elementor-popup-modal-1480
#custom-embed-code.ped-youtube-embed
iframe {
	width: 100% !important;

	height: auto !important;

	aspect-ratio: 16 / 9;
}


/* APPLE */

#elementor-popup-modal-1480
#custom-embed-code.ped-apple-embed
iframe {
	width: 100% !important;

	height: 175px !important;
}


/* ==========================================================
   TABLET
========================================================== */

@media
(min-width: 768px)
and
(max-width: 1023px) {


	/* FEATURED */

	.ped-featured-card {

		grid-template-columns:
			40%
			60%;

	}

	.ped-featured-image {

		min-height: 350px;

	}

	.ped-featured-content {

		padding: 28px;

	}

	.ped-featured-title {

		font-size: 31px;

	}

	.ped-featured-description {

		font-size: 16px;

	}


	/* TWO CARDS STILL VISIBLE */

	.ped-slider-card {

		flex:
			0 0
			calc((100% - 14px) / 2);

		grid-template-columns: 1fr;

		min-height: 0;

	}

	.ped-slider-image {

		height: 250px;

		min-height: 250px;

	}

	.ped-slider-content {

		padding: 22px;

	}

	.ped-slider-title {

		font-size: 23px;

	}

	.ped-slider-prev {

		left: 5px;

	}

	.ped-slider-next {

		right: 5px;

	}

}


/* ==========================================================
   MOBILE
========================================================== */

@media
(max-width: 767px) {


	/* FEATURED */

  .ped-featured-card {
        grid-template-columns: 1fr;
        flex-direction: column;
        padding: 4px 13px !important;
    }

	.fea-title-btn-wrap {
	    flex-direction: column;
		gap: 33px;
	}

	.ped-featured-image {

		height: 290px;

		min-height: 290px;

	}

.ped-featured-content {
        padding: 25px 0px;
    }

	.ped-featured-title {

		font-size: 29px !important;

	}

	.ped-featured-description {

		font-size: 16px;
		padding-right: 0 !important;


	}

	.ped-featured-buttons {

		flex-direction: column;

		align-items: flex-start;

		align-items: flex-end;
        flex-direction: row;


	}


	/* ONE SLIDER CARD */

	.ped-slider-card {

		flex: 0 0 100%;

		grid-template-columns: 1fr;

		min-height: 0;

	}

	.ped-slider-image {

		height: 300px;

		min-height: 300px;

	}

	.ped-slider-content {

		padding: 25px 20px;

	}

	.ped-slider-title {

		font-size: 27px;

	}

	.ped-slider-prev {

		left: 8px;
		display: none !important;

	}

	.ped-slider-next {
		right: 8px;
		display: none !important;
	}

}

/* ==========================================================
   PODCAST LISTING PAGE
========================================================== */

.ped-listing-wrapper {
	width: 100%;
}


/* ==========================================================
   GRID
========================================================== */

.ped-listing-grid {
	display: grid;

	grid-template-columns:
		repeat(3, minmax(0, 1fr));

	column-gap: 24px;

	row-gap: 55px;

	width: 100%;
}


/* ==========================================================
   CARD
========================================================== */

.ped-listing-card,
.ped-listing-card * {
	box-sizing: border-box;
}

.ped-listing-card {
	display: flex;

	flex-direction: column;

	min-width: 0;

	color: #111;

	font-family: inherit;
}


/* ==========================================================
   IMAGE
========================================================== */

.ped-listing-image {
	width: 100%;

	aspect-ratio: 1.22 / 1;

	overflow: hidden;

	border-radius: 10px;

	background: #ccc;
}

.ped-listing-image img {
	display: block;

	width: 100%;
	height: 100%;

	max-width: none;

	object-fit: cover;
}


/* ==========================================================
   CATEGORY + EPISODE ROW
========================================================== */

.ped-listing-meta {
	display: flex;

	align-items: center;

	justify-content: space-between;

	gap: 20px;

	margin-top: 22px;

	margin-bottom: 20px;
}


/*
 * Existing .ped-category class is reused,
 * but override its bottom margin for listing.
 */
.ped-listing-meta .ped-category {
	flex: 0 0 auto;

	margin: 0;

	padding: 6px 13px;

	border-radius: 4px;

	background: #d9aa4d;

	color: #111;

	font-size: 15px;

	font-weight: 500;

	line-height: 1.1;

	text-transform: uppercase;
}


/*
 * Episode number right side
 */
.ped-listing-episode {
	margin-left: auto;

	color: #999;

	font-size: 16px;

	font-weight: 400;

	line-height: 1.2;

	white-space: nowrap;
}


/* ==========================================================
   TITLE
========================================================== */

.ped-listing-title {
	margin: 0;

	padding: 0;

	max-width: 360px;

	color: #111;

	font-size: 27px;

	font-weight: 400;

	line-height: 1.05;
}


/* ==========================================================
   BUTTONS
========================================================== */

.ped-listing-buttons {
	display: flex;

	align-items: center;

	flex-wrap: wrap;

	gap: 28px;

	margin-top: 25px;
}


/*
 * Reset / style button
 */
.ped-listing-buttons
.ped-popup-trigger {
	appearance: none;
	-webkit-appearance: none;

	display: inline-flex;

	align-items: center;

	gap: 9px;

	margin: 0;

	padding: 0;

	border: 0;

	outline: 0;

	background: transparent;

	box-shadow: none;

	color: #9a6211;

	font-family: inherit;

	font-size: 15px;

	font-weight: 400;

	line-height: 1.3;

	cursor: pointer;

	transition:
		opacity 0.2s ease,
		color 0.2s ease;
}


.ped-listing-buttons
.ped-popup-trigger:hover,
.ped-listing-buttons
.ped-popup-trigger:focus {
	border: 0;

	outline: 0;

	background: transparent;

	box-shadow: none;

	color: #111;
}


/*
 * Watch icon
 */
.ped-listing-buttons
.ped-play-icon {
	display: inline-flex;

	align-items: center;

	justify-content: center;

	width: auto;

	color: #d9aa4d;

	font-size: 16px;

	line-height: 1;
}


/*
 * Listen headphone
 */
.ped-listing-headphone {
	display: inline-flex;

	align-items: center;

	justify-content: center;

	color: #d9aa4d;

	font-size: 17px;

	line-height: 1;
}


/* ==========================================================
   PAGINATION
========================================================== */

.ped-listing-pagination {
	display: flex;

	align-items: center;

	gap: 32px;

	margin-top: 110px;
}


/*
 * Back / Next common
 */
.ped-pagination-button {
	min-width: 160px;

	height: 50px;

	display: inline-flex;

	align-items: center;

	justify-content: center;

	gap: 13px;

	padding: 0 28px;

	border: 2px solid #d9aa4d;

	border-radius: 50px;

	text-decoration: none !important;

	text-transform: uppercase;

	color: #111;

	background: transparent;

	font-size: 18px;

	font-weight: 600;

	line-height: 1;

	transition:
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}


/*
 * Back
 */
.ped-pagination-back:hover {
	background: #d9aa4d;

	color: #111;
}


/*
 * Next gold like screenshot
 */
.ped-pagination-next {
	background: #d9aa4d;

	color: #111;
}


.ped-pagination-next:hover {
	background: #111;

	border-color: #111;

	color: #fff;
}


/*
 * Arrow
 */
.ped-pagination-arrow {
	display: inline-flex;

	align-items: center;

	justify-content: center;

	font-size: 25px;

	font-weight: 300;

	line-height: 1;
}


/*
 * Disabled Back/Next
 */
.ped-pagination-disabled {
	opacity: 0.35;

	pointer-events: none;

	cursor: default;
}


/* ==========================================================
   TABLET
========================================================== */

@media
(min-width: 768px)
and
(max-width: 1023px) {

	.ped-listing-grid {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));

		column-gap: 22px;

		row-gap: 45px;
	}


	.ped-listing-title {
		font-size: 25px;
	}


	.ped-listing-pagination {
		margin-top: 75px;
	}

}


/* ==========================================================
   MOBILE
========================================================== */

@media
(max-width: 767px) {

	.ped-listing-grid {
		grid-template-columns: 1fr;

		row-gap: 45px;
	}


	.ped-listing-image {
		aspect-ratio: 1.22 / 1;
	}


	.ped-listing-meta {
		margin-top: 18px;

		margin-bottom: 17px;
	}


	.ped-listing-title {
		max-width: 100%;

		font-size: 26px;
	}


	.ped-listing-buttons {
		gap: 20px;

		margin-top: 22px;
	}


	.ped-listing-pagination {
		justify-content: space-between;

		gap: 14px;

		margin-top: 65px;
	}


	.ped-pagination-button {
		flex: 1;

		min-width: 0;

		max-width: 170px;

		height: 48px;

		padding: 0 20px;

		font-size: 16px;
	}

}