/* MARK: Promotions slider */
.p-promotions
{
	/* Space reserved for the sticky header, terms button and slider dots */
	--promo-offset: 205px;

	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	margin: 0 0 60px;
}

.p-promotions .tns-outer
{
	min-width: 0;
}

.p-promotions .slide
{
	text-align: center;
}

.p-promotions .promo
{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin: 0;
}

/* Beats Avada's ".post .image" bottom margin */
.p-promotions .promo .image
{
	display: block;
	max-width: 100%;
	margin: 0;
	line-height: 0;
}

.p-promotions .image img
{
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100vh - var(--promo-offset));
	max-height: calc(100svh - var(--promo-offset));
	margin: 0 auto;
}

.p-promotions .title
{
	margin: 0;
	font-size: var(--h4_typography-font-size, 24px);
	line-height: 1.3;
}

.p-promotions .terms
{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.p-promotions .arrow
{
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	background: none;
	color: var(--awb-color8);
	font-size: 28px;
	cursor: pointer;
	transition: color 0.2s ease;
}

.p-promotions .arrow:hover,
.p-promotions .arrow:focus-visible
{
	color: var(--awb-color4);
}

.p-promotions .tns-nav
{
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 16px;
}

.p-promotions .tns-nav button
{
	width: 10px;
	height: 10px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--awb-color3);
	box-shadow: inset 0 0 0 1px var(--awb-color6);
	transition: background-color 0.2s ease;
}

.p-promotions .tns-nav button.tns-nav-active
{
	background: var(--awb-color4);
	box-shadow: none;
}

.p-promotions.single
{
	display: block;
}

.p-promotions.single .arrow
{
	display: none;
}

.p-promotions.empty
{
	display: block;
	margin: 0 0 60px;
	text-align: center;
}

@media (max-width: 800px)
{
	.p-promotions
	{
		--promo-offset: 185px;

		display: block;
	}

	/* Swipe and dots on mobile */
	.p-promotions .arrow
	{
		display: none;
	}
}

/* MARK: Promotion single post */
.p-specials
{
	/* Space reserved for the sticky header and the terms section below */
	--promo-offset: 250px;
}

.p-specials .c-image img
{
	width: auto;
	max-height: calc(100vh - var(--promo-offset));
	max-height: calc(100svh - var(--promo-offset));
}

.no-terms .p-specials
{
	--promo-offset: 140px;
}

.no-terms .p-specials-cta
{
	display: none;
}
