/* ----------------------------------------------------------------
	Canvas: Podcasts demo stylesheet

	Scoped design tokens and components for the Podcasts demo: the theme
	colour and webfonts, the icon-fronted "style-2" button, the pill search
	field, platform icon badges, the episode rail pagination and the
	avatar cluster of the promo band.
-----------------------------------------------------------------*/

:root {
	--cnvs-themecolor: #436E67;
	--cnvs-themecolor-rgb: 67, 110, 103;

	--cnvs-body-font: tenon, sans-serif;
	--cnvs-primary-font: tenon, sans-serif;
}

.font-secondary {
	font-family: 'abril-display' !important;
}

.h-bg-tranparent:hover {
	background: transparent !important;
}

/* Button Style-2 */
.button.style-2 {
	--cnvs-btn-padding-x: 0;
	--cnvs-btn2-padding-x: 0.75rem;
	--cnvs-btn2-width: 2.625rem;
	--cnvs-btn2-radius: 10rem;
	--cnvs-btn2-border: 3px;
	--cnvs-btn2-border-color: var(--cnvs-themecolor);
	--cnvs-btn2-transition-speed: .2s;
	--cnvs-btn2-icon-move: -2px;

	border-radius: var(--cnvs-btn2-radius);
	border: var(--cnvs-btn2-border) solid var(--cnvs-btn2-border-color);
}

.button.button-small.style-2 {
	--cnvs-btn2-border: 2.5px;
	--cnvs-btn2-width: 2.25rem;
	--cnvs-btn-padding-y: 0.45rem;
}

.button.button-large.style-2 {
	--cnvs-btn2-width: 3rem;
}

.button.button-xlarge.style-2 {
	--cnvs-btn2-border: 4px;
	--cnvs-btn2-width: 3.5rem;
}

.button.style-2 span {
	position: relative;
	display: inline-block;
	padding-right: var(--cnvs-btn2-padding-x);
	padding-left: calc(var(--cnvs-btn2-width) - var(--cnvs-btn2-padding-x) - 1px);
	z-index: 1;
	transition: color var(--cnvs-btn2-transition-speed) ease;
}

.button.style-2 i {
	color: #000;
	width: var(--cnvs-btn2-width);
	height: 100%;
	margin: 0;
	z-index: 1;
	transition: transform var(--cnvs-btn2-transition-speed) ease;
}

.button.style-2::after {
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	background-color: #FFF;
	color: #000;
	width: var(--cnvs-btn2-width);
	height: 100%;
	/* transform: translateY(-50%); */
	text-align: center;
	border-radius: var(--cnvs-btn2-radius);
	transition: width var(--cnvs-btn2-transition-speed) ease,
		height var(--cnvs-btn2-transition-speed) ease;
	will-change: width, height;
}

.button.style-2.icon-pos-left span {
	padding-left: var(--cnvs-btn2-padding-x);
	padding-right: calc(var(--cnvs-btn2-width) - var(--cnvs-btn2-padding-x) - 5px);
}

.button.style-2.icon-pos-left::after {
	left: 0;
	right: auto;
}

.button.style-2:hover::after {
	width: 100%;
}

.button.style-2:hover i {
	transform: translateX(var(--cnvs-btn2-icon-move));
}

.button.style-2:hover span {
	color: #000;
}

.input-seacrh-section {
	border: 1px solid var(--bs-gray-300);
	border-radius: 50rem;
	overflow: hidden;
}

.input-seacrh-section.input-group:not(.has-validation)> :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu),
.input-seacrh-section.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3) {
	border-radius: 50rem;
	margin: 0;
	border: 0;
	padding-left: 20px;
	line-height: 1;
}

.input-seacrh-section.input-group .input-group-text {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 54px;
	height: 54px;
	padding: 0;
	transform: scale(0.8);
	border-radius: 50% !important;
	border: 0;
}

.form-control::-moz-placeholder {
	color: #999;
	font-size: 80%;
	opacity: 1;
}

.form-control::placeholder {
	color: #999;
	font-size: 80%;
	opacity: 1;
}

.link-underline,
.link-underline-hover:hover {
	text-decoration: underline !important;
}

.hero-img {
	opacity: .1;
}

.audio-logos {
	--icon-size: 42px;
	width: var(--icon-size);
	height: var(--icon-size);
	line-height: calc(var(--icon-size) - 2px);
	text-align: center;
	border: 1px solid #EEE;
	background-color: #FFF;
	border-radius: 50%;
}

.audio-logos img,
.audio-logos i {
	width: calc(var(--icon-size) / 2);
	height: calc(var(--icon-size) / 2);
}


.swiper-pagination {
	bottom: -50px !important;
}

.swiper-pagination span {
	position: relative;
	width: auto;
	height: auto;
	margin: 0;
	opacity: 1;
	border: 0;
	color: var(--bs-gray-500);
	transition: all .3s ease;
}

.swiper-pagination span::after {
	content: "";
	display: inline-block;
	position: relative;
	width: 0px;
	height: 2px;
	vertical-align: 4px;
	margin: 0 7px;
	background-color: var(--bs-gray-900);
	transition: all .3s ease;
}

.swiper-pagination span.swiper-pagination-bullet-active,
.swiper-pagination span:hover {
	color: #111;
}

.swiper-pagination span.swiper-pagination-bullet-active::after {
	width: 25px;
	margin: 0 15px;
}


.promo-thumb-bg {
	--promo-thumb-pos-top: 0%;
	--promo-thumb-pos-right: 10%;
	--promo-thumb-pos-size: 86px;
	position: absolute;
	left: auto;
	right: var(--promo-thumb-pos-right);
	top: var(--promo-thumb-pos-top);
	width: var(--promo-thumb-pos-size);
	height: var(--promo-thumb-pos-size);
	background-size: 100%;
	border-radius: 50%;
	background-position: center center;
	border: 2px solid #EEE;
}

.promo-thumb-bg-2 {
	--promo-thumb-pos-right: 10%;
}

.promo-thumb-bg-3 {
	--promo-thumb-pos-right: 20%;
}

.promo-thumb-bg-4 {
	--promo-thumb-pos-right: 30%;
}

.promo-thumb-bg-5 {
	--promo-thumb-pos-right: 40%;
}

.promo-thumb-bg-6 {
	--promo-thumb-pos-right: 50%;
}

.promo-thumb-bg-7 {
	--promo-thumb-pos-right: 60%;
}

.promo-thumb-bg-8 {
	--promo-thumb-pos-right: 70%;
}

@media (min-width: 768px) {

	.promo-thumb-bg {
		margin-right: var(--bs-gutter-x);
	}

	.promo-thumb-bg-1 {
		--promo-thumb-pos-size: 70px;
	}

	.promo-thumb-bg-2 {
		--promo-thumb-pos-top: 25%;
		--promo-thumb-pos-right: 15%;
	}

	.promo-thumb-bg-3 {
		--promo-thumb-pos-top: 60%;
		--promo-thumb-pos-right: 0%;
		--promo-thumb-pos-size: 60px;
	}

	.promo-thumb-bg-4 {
		--promo-thumb-pos-top: 70%;
		--promo-thumb-pos-right: 20%;
		--promo-thumb-pos-size: 96px;
	}

	.promo-thumb-bg-5 {
		--promo-thumb-pos-top: 0%;
		--promo-thumb-pos-right: 40%;
		--promo-thumb-pos-size: 96px;
	}

	.promo-thumb-bg-6 {
		--promo-thumb-pos-top: 45%;
		--promo-thumb-pos-right: 46%;
		--promo-thumb-pos-size: 105px;
	}

	.promo-thumb-bg-7 {
		--promo-thumb-pos-top: 17%;
		--promo-thumb-pos-right: 70%;
		--promo-thumb-pos-size: 75px;
	}

	.promo-thumb-bg-8 {
		--promo-thumb-pos-top: 80%;
		--promo-thumb-pos-right: 75%;
		--promo-thumb-pos-size: 75px;
	}
}

/* Upper 992px Devices */
@media (min-width: 992px) {

	.hero-img {
		opacity: 1;
	}

	.h-auto .swiper-wrapper,
	.min-vh-0 .swiper-wrapper {
		height: auto;
	}

	.section-podcasts .swiper-slide {
		transform: scale(1.05);
		transition: transform .3s ease;
		transform-origin: bottom center;
	}

	.section-podcasts .swiper-slide.swiper-slide-next,
	.section-podcasts .swiper-slide.swiper-slide-next+.swiper-slide {
		transform: scale(1);
		transform-origin: bottom center;
	}
}


/* ----------------------------------------------------------------
	ADDITIVE — WordPress views the design has no page for

	Everything below is scoped to a body class the demo registry adds
	(podcasts-post, podcasts-archive, podcasts-single) or to a class the
	demo's own pages carry, and is written only from the tokens declared
	above. The design draws a blog card, a player row and a pricing panel;
	these give the same treatment to the blog archive and single, the
	episode page, the shop, the cart and the checkout.
-----------------------------------------------------------------*/

/* Page-title band on views rendered by a global template */
.podcasts .page-title {
	background-color: #FFF;
	border-bottom: 0;
	padding: 5rem 0 3rem;
}

.podcasts .page-title h1 {
	font-family: var(--cnvs-primary-font);
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

/* Blog cards on the designed archive, the term archives and the search view */
.podcasts-blog-grid .entry,
.podcasts-archive .entry {
	border-radius: 1rem;
}

.podcasts-blog-grid .entry-image img,
.podcasts-archive .entry-image img {
	border-radius: 0.75rem;
}

.podcasts-blog-grid .entry-title h3 a,
.podcasts-archive .entry-title h3 a {
	color: var(--cnvs-contrast-900);
}

.podcasts-blog-grid .entry-title h3 a:hover,
.podcasts-archive .entry-title h3 a:hover {
	color: var(--cnvs-themecolor);
}

.podcasts-blog-grid .entry-meta,
.podcasts-archive .entry-meta {
	opacity: 0.6;
}

/* Blog single */
.podcasts-post .entry {
	box-shadow: none;
}

.podcasts-post .entry-title h1,
.podcasts-post .entry-title h2 {
	font-family: var(--cnvs-primary-font);
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}

.podcasts-post .entry-content p.lead {
	font-family: 'abril-display';
	font-style: italic;
}

.podcasts-post .sidebar .wp-block-heading {
	font-family: var(--cnvs-primary-font);
	font-size: 1.125rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	margin-bottom: 1rem;
}

.podcasts-post .sidebar .wp-block-categories li {
	border-bottom: 1px solid var(--bs-gray-200);
	padding-bottom: 0.5rem;
	margin-bottom: 0.5rem;
	list-style: none;
}

.podcasts-post .sidebar a {
	color: var(--cnvs-contrast-900);
}

.podcasts-post .sidebar a:hover {
	color: var(--cnvs-themecolor);
}

.podcasts-post .sidebar .tag-cloud-link {
	display: inline-block;
	font-size: 0.8125rem !important;
	line-height: 1;
	padding: 0.5rem 0.75rem;
	margin: 0 0.25rem 0.5rem 0;
	border: 1px solid var(--bs-gray-300);
	border-radius: 50rem;
}

.podcasts-post .sidebar .tag-cloud-link:hover {
	color: #FFF;
	background-color: var(--cnvs-themecolor);
	border-color: var(--cnvs-themecolor);
}

/* Episode page */
.single-episode .episode-topic {
	display: inline-block;
	font-size: 0.9375rem;
	opacity: 0.7;
	margin-bottom: 0.75rem;
	color: var(--cnvs-contrast-900);
}

.single-episode .episode-attributes {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}

.single-episode .episode-attributes li {
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--bs-gray-200);
	font-size: 0.9375rem;
}

.single-episode .episode-attributes .attr-label {
	font-weight: 400;
	opacity: 0.6;
}

.single-episode .episode-attributes .attr-value {
	font-weight: 500;
}

.single-episode .single-episode-cta .button {
	margin-left: 0;
}

/* Shop cards */
.podcasts-shop .product-image {
	border-radius: 1rem;
	overflow: hidden;
}

.podcasts-shop .product-title h3 a {
	font-family: var(--cnvs-primary-font);
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	color: var(--cnvs-contrast-900);
}

.podcasts-shop .product-title h3 a:hover {
	color: var(--cnvs-themecolor);
}

.podcasts-shop .product-price,
.podcasts-shop .woocommerce-Price-amount,
.podcasts-single .product-price .woocommerce-Price-amount {
	color: var(--cnvs-themecolor);
	font-family: 'abril-display';
	font-style: italic;
}

.podcasts-shop .product-image .bg-overlay .btn:hover {
	background-color: var(--cnvs-themecolor);
	border-color: var(--cnvs-themecolor);
	color: #FFF;
}

/* Product single */
.podcasts-single .single_add_to_cart_button,
.podcasts-single .woocommerce-tabs .nav-tabs .nav-link.active {
	background-color: var(--cnvs-themecolor);
	border-color: var(--cnvs-themecolor);
	color: #FFF;
}

.podcasts-single .single-product .product-image img {
	border-radius: 1rem;
}

/* Cart and checkout */
.podcasts-cart .canvas-cart-table table.cart,
.podcasts-checkout .canvas-checkout-order {
	border-radius: 1rem;
	overflow: hidden;
}

.podcasts-cart .canvas-cart-totals,
.podcasts-checkout .canvas-checkout-order {
	background-color: rgba(var(--cnvs-themecolor-rgb), 0.06);
	border-radius: 1rem;
	padding: 1.5rem;
}

.podcasts-cart .order-total .amount,
.podcasts-checkout .order-total .amount {
	color: var(--cnvs-themecolor);
	font-family: 'abril-display';
	font-style: italic;
}

.podcasts-cart a.button,
.podcasts-checkout #place_order {
	background-color: var(--cnvs-themecolor);
	border-color: var(--cnvs-themecolor);
	color: #FFF;
	border-radius: 50rem;
}

.podcasts-checkout .showcoupon {
	color: var(--cnvs-themecolor);
}

.podcasts-cart .form-control:focus,
.podcasts-checkout .form-control:focus,
.podcasts-checkout .form-select:focus {
	border-color: var(--cnvs-themecolor);
}

/* Contact form */
.podcasts-contact .form-control,
.podcasts-contact .form-select {
	border-radius: 0.75rem;
	padding: 0.75rem 1rem;
}

.podcasts-contact .form-control:focus,
.podcasts-contact .form-select:focus {
	border-color: var(--cnvs-themecolor);
}
