/* Buffalo Chronicle annual-subscription promo. v1.1.0
   Used on the paywall prompt and the homepage synced pattern. */
.bc-annual-promo {
	--bc-annual-ink: var(--bc-ink, #121212);
	--bc-annual-paper: var(--bc-news, #f6f2ea);
	--bc-annual-accent: var(--bc-accent, #8b2a1b);
	--bc-annual-accent-dark: var(--bc-accent-dark, #6e1f13);
	--bc-annual-rule: var(--bc-rule, #d8d2c6);
	--bc-annual-muted: var(--bc-muted, #5f5a52);
	--bc-annual-limestone: #e8e2d6;
	--bc-annual-steel: #3a3f44;
	--bc-annual-head: var(--bc-head, "Playfair Display", Georgia, "Times New Roman", serif);
	--bc-annual-body: var(--bc-body, "Source Serif 4", Georgia, "Times New Roman", serif);
	--bc-annual-sans: var(--bc-sans, "Libre Franklin", "Helvetica Neue", Arial, sans-serif);
	--bc-annual-mark: var(--bc-blackletter, "UnifrakturMaguntia", "Old English Text MT", serif);
	box-sizing: border-box;
	margin: 1.75rem auto 2.25rem;
	max-width: 1240px;
	padding: 0;
	color: var(--bc-annual-ink);
	text-align: left;
}
.bc-annual-promo *,
.bc-annual-promo *::before,
.bc-annual-promo *::after {
	box-sizing: border-box;
}
.bc-annual-promo__frame {
	display: grid;
	grid-template-columns: minmax(16rem, 0.92fr) minmax(0, 1.18fr);
	background: var(--bc-annual-paper);
	border: 1px solid var(--bc-annual-rule);
	border-top: 3px solid var(--bc-annual-accent);
	overflow: hidden;
}
.bc-annual-promo__media {
	position: relative;
	margin: 0;
	min-height: 100%;
	background: var(--bc-annual-steel);
}
.bc-annual-promo__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
}
.bc-annual-promo__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(58, 63, 68, 0.18) 0%,
		rgba(58, 63, 68, 0.08) 55%,
		rgba(232, 226, 214, 0.12) 100%
	);
	pointer-events: none;
}
.bc-annual-promo__media figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	margin: 0;
	padding: 0.45rem 0.7rem;
	font-family: var(--bc-annual-sans);
	font-size: 0.58rem;
	line-height: 1.35;
	letter-spacing: 0.02em;
	color: #f3efe6;
	background: linear-gradient(to top, rgba(18, 18, 18, 0.72), rgba(18, 18, 18, 0.12));
}
.bc-annual-promo__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1.6rem 1.75rem 1.7rem 1.85rem;
	background:
		linear-gradient(180deg, rgba(232, 226, 214, 0.55), rgba(246, 242, 234, 0.2) 40%),
		var(--bc-annual-paper);
}
.bc-annual-promo__kicker {
	margin: 0 0 0.55rem;
	font-family: var(--bc-annual-sans);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bc-annual-accent);
	line-height: 1.2;
}
.bc-annual-promo__mark {
	margin: 0 0 0.55rem;
	font-family: var(--bc-annual-mark);
	font-size: 1.45rem;
	font-weight: 400;
	line-height: 1.05;
	color: var(--bc-annual-ink);
}
.bc-annual-promo__headline {
	margin: 0 0 0.7rem;
	font-family: var(--bc-annual-head);
	font-size: clamp(1.55rem, 2.2vw, 2.15rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.015em;
	color: var(--bc-annual-ink);
}
.bc-annual-promo__mission {
	margin: 0 0 0.7rem;
	font-family: var(--bc-annual-body);
	font-size: 1.08rem;
	font-style: italic;
	font-weight: 400;
	line-height: 1.35;
	color: var(--bc-annual-ink);
}
.bc-annual-promo__dek {
	margin: 0 0 1rem;
	font-family: var(--bc-annual-body);
	font-size: 0.98rem;
	line-height: 1.45;
	color: var(--bc-annual-muted);
}
.bc-annual-promo__price {
	margin: 0 0 0.25rem;
	font-family: var(--bc-annual-head);
	line-height: 1;
	color: var(--bc-annual-ink);
}
.bc-annual-promo__amount {
	font-size: clamp(1.8rem, 2.4vw, 2.35rem);
	font-weight: 700;
	letter-spacing: -0.02em;
}
.bc-annual-promo__term {
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--bc-annual-muted);
}
.bc-annual-promo__save {
	margin: 0 0 1.15rem;
	font-family: var(--bc-annual-sans);
	font-size: 0.82rem;
	line-height: 1.4;
	color: var(--bc-annual-muted);
}
.bc-annual-promo__actions {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem 1.15rem;
}
.bc-annual-promo__cta {
	display: inline-block;
	padding: 0.78rem 1.2rem;
	font-family: var(--bc-annual-sans);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none !important;
	color: #fff !important;
	background: var(--bc-annual-accent);
	border: 0;
	line-height: 1;
	transition: background 0.15s ease;
}
.bc-annual-promo__cta:hover,
.bc-annual-promo__cta:focus {
	background: var(--bc-annual-accent-dark);
	color: #fff !important;
}
.bc-annual-promo__cta:focus-visible {
	outline: 2px solid var(--bc-annual-ink);
	outline-offset: 3px;
}
.bc-annual-promo__signin {
	font-family: var(--bc-annual-sans);
	font-size: 0.86rem;
	color: var(--bc-annual-ink);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
.bc-annual-promo__signin:hover,
.bc-annual-promo__signin:focus {
	color: var(--bc-annual-accent);
}

/* Paywall prompt: sit in the article column, slightly tighter. */
.bc-annual-promo--prompt {
	margin: 1.35rem 0 0;
	max-width: none;
}
.bc-annual-promo--prompt .bc-annual-promo__body {
	padding: 1.35rem 1.35rem 1.4rem;
}
.bc-annual-promo--prompt .bc-annual-promo__headline {
	font-size: clamp(1.4rem, 3.4vw, 1.85rem);
}
.bc-paywall-preview {
	margin-bottom: 0;
}

@media (max-width: 700px) {
	.bc-annual-promo__frame {
		grid-template-columns: 1fr;
	}
	.bc-annual-promo__media {
		min-height: 0;
		height: 11.5rem;
	}
	.bc-annual-promo__media::after {
		background: linear-gradient(
			to top,
			rgba(18, 18, 18, 0.18) 0%,
			rgba(58, 63, 68, 0.05) 100%
		);
	}
	.bc-annual-promo__body {
		padding: 1.25rem 1.15rem 1.35rem;
	}
	.bc-annual-promo__mark {
		font-size: 1.28rem;
	}
	.bc-annual-promo__cta {
		width: 100%;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bc-annual-promo__cta {
		transition: none;
	}
}
