/**
 * Shared Est. 1973 promotion ticket.
 *
 * The Promo CTA reads one ACF option in promo-cta.php. This stylesheet gives
 * that same content one visual treatment on the homepage and every inner page
 * where the block is placed.
 */

body.ccs-est1973 .promo-cta {
	box-sizing: border-box;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	padding: clamp(30px, 4vw, 48px) clamp(16px, 3vw, 34px) !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--e73-cream) !important;
	color: var(--e73-ink) !important;
}

body.ccs-est1973 .promo-cta::before,
body.ccs-est1973 .promo-cta::after {
	content: none !important;
	display: none !important;
}

body.ccs-est1973 .promo-cta__wrap {
	display: grid !important;
	grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
	align-items: center;
	gap: clamp(24px, 3vw, 38px) !important;
	box-sizing: border-box;
	width: 100%;
	max-width: 880px;
	margin: 0 auto;
	padding: clamp(26px, 3vw, 42px) clamp(24px, 4vw, 52px) !important;
	border: 2.5px dashed var(--e73-red);
	border-radius: 12px;
	background: var(--e73-butter-2);
	box-shadow: var(--e73-shadow-lifted);
	position: relative;
	overflow: visible;
}

body.ccs-est1973 .promo-cta__wrap::before {
	content: "\2702";
	position: absolute;
	top: -15px;
	left: clamp(24px, 4vw, 40px);
	padding: 0 10px;
	background: var(--e73-cream);
	color: var(--e73-red);
	font-size: 20px;
	line-height: 1.25;
}

body.ccs-est1973 .promo-cta__wrap::after {
	content: none !important;
	display: none !important;
}

body.ccs-est1973 .promo-cta__content {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-width: 0;
	padding: 0 !important;
	text-align: left !important;
}

body.ccs-est1973 .promo-cta__content .sub-heading,
body.ccs-est1973 .promo-cta__content > p:first-child {
	margin: 0 0 9px !important;
	color: var(--e73-teal) !important;
	font-family: var(--e73-font-slab) !important;
	font-size: 12.5px !important;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: .14em;
	text-transform: uppercase;
}

body.ccs-est1973 .promo-cta__content h2,
body.ccs-est1973 .promo-cta__content h3 {
	max-width: 17ch;
	margin: 0 0 8px !important;
	color: var(--e73-ink) !important;
	font-family: var(--e73-font-slab) !important;
	font-size: clamp(1.65rem, 2.4vw, 2.25rem) !important;
	font-weight: 700;
	line-height: 1.08 !important;
	letter-spacing: .01em;
	text-transform: uppercase;
}

body.ccs-est1973 .promo-cta__content .highlighted-text {
	display: inline-block;
	margin: 2px 0 18px !important;
	color: var(--e73-red) !important;
	font-family: var(--e73-font-script) !important;
	font-size: clamp(2.35rem, 4.2vw, 3.7rem) !important;
	font-weight: 400 !important;
	line-height: 1.05 !important;
	letter-spacing: 0 !important;
	text-shadow: 2px 2px 0 rgba(42, 33, 26, .1) !important;
	text-transform: none !important;
	-webkit-text-stroke: 0 !important;
}

body.ccs-est1973 .promo-cta__content .highlighted-text::after {
	content: none !important;
	display: none !important;
}

body.ccs-est1973 .promo-cta__content .btn {
	align-self: flex-start;
	margin: 0 !important;
}

body.ccs-est1973 .promo-cta__image {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	max-height: 280px !important;
	margin: 0 !important;
	border: 6px solid var(--e73-porcelain);
	outline: 2px solid var(--e73-ink);
	border-radius: var(--e73-radius-md) !important;
	background: var(--e73-porcelain);
	box-shadow: var(--e73-shadow-card);
	object-fit: cover;
}

@media (max-width: 767px) {
	body.ccs-est1973 .promo-cta {
		padding: 34px 16px 38px !important;
	}

	body.ccs-est1973 .promo-cta__wrap {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px !important;
		padding: 26px 20px 22px !important;
	}

	body.ccs-est1973 .promo-cta__content {
		align-items: center;
		text-align: center !important;
	}

	body.ccs-est1973 .promo-cta__content h2,
	body.ccs-est1973 .promo-cta__content h3 {
		max-width: 16ch;
		font-size: clamp(1.45rem, 7vw, 1.85rem) !important;
	}

	body.ccs-est1973 .promo-cta__content .highlighted-text {
		font-size: clamp(2.25rem, 12vw, 3rem) !important;
	}

	body.ccs-est1973 .promo-cta__content .btn {
		align-self: center;
	}

	body.ccs-est1973 .promo-cta__image {
		max-height: none !important;
		aspect-ratio: 3 / 2;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.ccs-est1973 .promo-cta__wrap,
	body.ccs-est1973 .promo-cta__content .highlighted-text {
		animation: none !important;
		transition: none !important;
	}
}
