/**
 * Digital Marketing ABA sponsor banner — "receipt" style, 10 variants.
 *
 * Layout: two columns.
 *   Left  (panel):   Digital Marketing ABA brand + headline + sub + CTA
 *   Right (receipt): compact stat card (BNA red flag OR Ripley purple mark),
 *                    big number, small caption
 *
 * Themes (via [data-theme] on .bna-sponsor-banner):
 *   light  — cream/gray background, navy text, dark green CTA fill
 *   dark   — dark teal/green background, white text, white outline CTA
 *   black  — near-black background, same white type treatment as `dark`
 *
 * Copy uses Source Serif 4 for editorial gravitas on the headline; Inter for
 * everything else. Fonts imported once at the top.
 */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,600;0,700;1,600&family=Inter:wght@400;500;600;700&display=swap');

.bna-sponsor-banner-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 16px 0;
}

/* ------------------------------------------------------------
   CARD SHELL — grid: text panel left, receipt right
   ------------------------------------------------------------ */
.bna-sponsor-banner {
	--dm-green:      #0F3B3A;   /* dark teal / CTA fill on light */
	--dm-green-d:    #0A2D2C;   /* hover / black-theme bg */
	--dm-cream:      #E8E5DC;   /* light-theme card bg */
	--dm-ink:        #101E1E;   /* light-theme heading text */
	--dm-mut:        #566262;   /* light-theme sub text */
	--dm-white:      #ffffff;

	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 0;
	align-items: stretch;
	padding: 18px 18px 18px 0;
	text-decoration: none;
	color: inherit;
	border-radius: 6px;
	overflow: hidden;
	background: var(--dm-cream);
	border: 1px solid rgba(0,0,0,0.06);
	font-family: 'Inter', system-ui, -apple-system, Arial, sans-serif;
	min-height: 190px;
	transition: transform .18s ease, box-shadow .18s ease;
}
.bna-sponsor-banner:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(15,59,58,0.14);
}

/* ------------------------------------------------------------
   LEFT PANEL — brand + headline + sub + CTA
   ------------------------------------------------------------ */
.bna-sponsor-banner__panel {
	padding: 24px 28px 24px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
}
.bna-sponsor-banner__brand {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}
.bna-sponsor-banner__brand-logo {
	height: 32px;
	width: auto;
	max-width: 300px;
	display: block;
	transition: filter .15s ease;
}
.bna-sponsor-banner__headline {
	font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	font-size: 34px;
	line-height: 1.12;
	font-weight: 600;
	color: var(--dm-ink);
	margin: 0;
	letter-spacing: -0.5px;
	max-width: 720px;
}
.bna-sponsor-banner__headline em {
	font-style: italic;
	color: var(--dm-ink);
}
.bna-sponsor-banner__sub {
	font-size: 16px;
	color: var(--dm-mut);
	margin: 4px 0 16px;
	font-weight: 500;
}
.bna-sponsor-banner__btn {
	display: inline-block;
	align-self: flex-start;
	padding: 13px 22px;
	background: var(--dm-green);
	color: var(--dm-white);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	border-radius: 3px;
	line-height: 1.2;
	transition: background .15s ease;
}
.bna-sponsor-banner:hover .bna-sponsor-banner__btn {
	background: var(--dm-green-d);
}

/* ------------------------------------------------------------
   RIGHT RECEIPT — BNA red flag OR Ripley purple mark + number
   ------------------------------------------------------------ */
.bna-sponsor-banner__receipt {
	background: var(--dm-white);
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 5px;
	position: relative;
	margin-left: 18px;
	text-align: center;
}

/* Receipt logos — image renders (always on white receipt background).
   `max-width: 100%` is a hard clamp so wide logos never overflow the card. */
.bna-sponsor-banner__receipt-logo {
	display: block;
	max-width: 100%;
	align-self: center;
	margin: 0 auto 10px;
}
/* BNA is a compact square-ish flag — size by height. */
.bna-sponsor-banner__receipt-logo--bna {
	height: 96px;
	width: auto;
}
/* Ripley is a long horizontal wordmark — size by width to fit the card. */
.bna-sponsor-banner__receipt-logo--ripley {
	width: 240px;
	height: auto;
}

.bna-sponsor-banner__receipt-body {
	margin-top: 6px;
	text-align: center;
	position: relative;
	padding-top: 10px;
}
.bna-sponsor-banner__receipt-body::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 32px;
	height: 3px;
	background: var(--dm-green);
	border-radius: 2px;
}
.bna-sponsor-banner__receipt-number {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 42px;
	font-weight: 600;
	color: var(--dm-ink);
	line-height: 1.05;
	letter-spacing: -0.8px;
	font-variant-numeric: tabular-nums;
}
.bna-sponsor-banner__receipt-caption {
	font-size: 14px;
	color: var(--dm-mut);
	margin-top: 4px;
	line-height: 1.35;
}

/* ------------------------------------------------------------
   DARK theme — dark teal background
   ------------------------------------------------------------ */
.bna-sponsor-banner[data-theme="dark"] {
	background: var(--dm-green);
	border-color: transparent;
}
.bna-sponsor-banner[data-theme="dark"] .bna-sponsor-banner__sub {
	color: rgba(255,255,255,0.78);
}
/* Invert dark logo to white on dark background — preserves glyph shape. */
.bna-sponsor-banner[data-theme="dark"] .bna-sponsor-banner__brand-logo {
	filter: brightness(0) invert(1);
}
.bna-sponsor-banner[data-theme="dark"] .bna-sponsor-banner__headline,
.bna-sponsor-banner[data-theme="dark"] .bna-sponsor-banner__headline em,
.bna-sponsor-banner[data-theme="dark"] .bna-sponsor-banner__panel .bna-sponsor-banner__headline,
.bna-sponsor-banner[data-theme="dark"] .bna-sponsor-banner__panel .bna-sponsor-banner__headline em {
	color: #ffffff !important;
}
.bna-sponsor-banner[data-theme="dark"] .bna-sponsor-banner__btn {
	background: #fff;
	color: var(--dm-green);
	border: none;
}
.bna-sponsor-banner[data-theme="dark"]:hover .bna-sponsor-banner__btn {
	background: rgba(255,255,255,0.9);
}

/* ------------------------------------------------------------
   BLACK theme — near-black background (same text treatment as dark)
   ------------------------------------------------------------ */
.bna-sponsor-banner[data-theme="black"] {
	background: #0A1616;
	border-color: transparent;
}
.bna-sponsor-banner[data-theme="black"] .bna-sponsor-banner__sub {
	color: rgba(255,255,255,0.78);
}
.bna-sponsor-banner[data-theme="black"] .bna-sponsor-banner__brand-logo {
	filter: brightness(0) invert(1);
}
.bna-sponsor-banner[data-theme="black"] .bna-sponsor-banner__panel .bna-sponsor-banner__headline,
.bna-sponsor-banner[data-theme="black"] .bna-sponsor-banner__panel .bna-sponsor-banner__headline em,
.bna-sponsor-banner[data-theme="black"] .bna-sponsor-banner__headline,
.bna-sponsor-banner[data-theme="black"] .bna-sponsor-banner__headline em {
	color: #ffffff !important;
}
.bna-sponsor-banner[data-theme="black"] .bna-sponsor-banner__btn {
	background: #fff;
	color: #0A1616;
	border: none;
}
.bna-sponsor-banner[data-theme="black"]:hover .bna-sponsor-banner__btn {
	background: rgba(255,255,255,0.9);
}

/* ------------------------------------------------------------
   RESPONSIVE — stack panel above receipt on narrow screens
   ------------------------------------------------------------ */
@media (max-width: 760px) {
	.bna-sponsor-banner {
		grid-template-columns: 1fr;
		min-height: 0;
		padding: 16px;
	}
	.bna-sponsor-banner__panel {
		padding: 6px 4px 12px;
	}
	.bna-sponsor-banner__headline {
		font-size: 22px;
	}
	.bna-sponsor-banner__receipt {
		margin-left: 0;
		padding: 18px 20px 20px;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 8px;
	}
	.bna-sponsor-banner__receipt-body {
		margin-top: 4px;
	}
	.bna-sponsor-banner__receipt-number {
		font-size: 30px;
	}
	.bna-sponsor-banner__receipt-logo {
		margin-bottom: 4px;
		align-self: center;
	}
	/* Mobile: shrink logos but keep the desktop sizing model
	   (BNA height-based, Ripley width-based) so aspect ratio stays clean. */
	.bna-sponsor-banner__receipt-logo--bna {
		height: 64px;
		width: auto;
	}
	.bna-sponsor-banner__receipt-logo--ripley {
		width: 180px;
		height: auto;
	}
}
