/**
 * Webinar banner styles — ticket-shaped receipt overlay for the DMABA webinar
 * campaign. Extends `.bna-sponsor-banner` + `.bna-sponsor-sidebar` from
 * sponsor-banner.css / sponsor-sidebar.css; this file only adds the
 * webinar-specific ticket receipt and the "FREE LIVE WEBINAR" tag helper.
 *
 * Class map:
 *   .bna-ticket / .bna-ticket__* — main horizontal ticket (with vertical stub)
 *   .bna-ticket-s / .bna-ticket-s__* — sidebar vertical ticket (with bottom stub)
 *   .bna-webinar-tag — red "FREE LIVE WEBINAR" tag above the headline
 *
 * Load order: sponsor-banner.css → sponsor-sidebar.css → webinar-banner.css
 */

/* ============================================================
   FREE LIVE WEBINAR tag (main banner only)
   ============================================================ */
.bna-webinar-tag {
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.09em !important;
	margin: 0 !important;
	text-transform: uppercase;
}

/* ============================================================
   MAIN TICKET — horizontal, split by a dashed perforation
   Full-height stub on the right with vertical "Only 20 seats"
   ============================================================ */
.bna-ticket {
	padding: 0;
	flex-direction: row;
	align-items: stretch;
	gap: 0;
	overflow: visible;
	box-shadow: 0 6px 16px rgba(15,59,58,0.10);
}
.bna-ticket__main {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 22px 14px;
	text-align: center;
}
.bna-ticket__label {
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: #566262;
}
.bna-ticket__date {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 48px;
	font-weight: 700;
	color: #101E1E;
	line-height: 1.02;
	letter-spacing: -1px;
}
.bna-ticket__meta {
	font-size: 13px;
	color: #566262;
	font-weight: 500;
}
.bna-ticket__barcode {
	margin-top: 10px;
	height: 24px;
	width: 130px;
	border-radius: 1px;
	opacity: 0.8;
	background: repeating-linear-gradient(
		90deg,
		#101E1E 0 2px,
		transparent 2px 4px,
		#101E1E 4px 7px,
		transparent 7px 10px,
		#101E1E 10px 11px,
		transparent 11px 14px
	);
}
.bna-ticket__stub {
	flex: 0 0 56px;
	border-left: 2px dashed rgba(16,30,30,0.28);
	background: rgba(200,15,23,0.05);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	border-radius: 0 5px 5px 0;
}
.bna-ticket__seats {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 2.6px;
	text-transform: uppercase;
	color: #C80F17;
	white-space: nowrap;
}
/* Punch-out circles at the top and bottom of the perforation */
.bna-ticket__stub::before,
.bna-ticket__stub::after {
	content: "";
	position: absolute;
	left: -10px;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: #E8E5DC;
	border: 1px solid rgba(0,0,0,0.08);
}
.bna-ticket__stub::before { top: -10px; }
.bna-ticket__stub::after  { bottom: -10px; }
/* Punch-outs need to match the banner background on dark themes so they
   read as gaps, not floating dots. */
.bna-sponsor-banner[data-theme="dark"]  .bna-ticket__stub::before,
.bna-sponsor-banner[data-theme="dark"]  .bna-ticket__stub::after {
	background: #0F3B3A;
	border-color: transparent;
}
.bna-sponsor-banner[data-theme="black"] .bna-ticket__stub::before,
.bna-sponsor-banner[data-theme="black"] .bna-ticket__stub::after {
	background: #0A1616;
	border-color: transparent;
}

/* ============================================================
   SIDEBAR TICKET — vertical, split by a dashed perforation
   Full-width stub across the bottom with "Only 20 seats" horizontal
   ============================================================ */
.bna-ticket-s {
	padding: 0;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	overflow: visible;
	box-shadow: 0 4px 12px rgba(15,59,58,0.08);
}
.bna-ticket-s__main {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 14px 12px 12px;
}
.bna-ticket-s__label {
	font-size: 9.5px;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #566262;
}
.bna-ticket-s__date {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 34px;
	font-weight: 700;
	color: #101E1E;
	line-height: 1.05;
	letter-spacing: -0.8px;
}
.bna-ticket-s__meta {
	font-size: 12px;
	color: #566262;
	font-weight: 500;
}
.bna-ticket-s__stub {
	border-top: 2px dashed rgba(16,30,30,0.28);
	background: rgba(200,15,23,0.05);
	padding: 9px 8px;
	position: relative;
	text-align: center;
	border-radius: 0 0 4px 4px;
}
.bna-ticket-s__seats {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 2.2px;
	text-transform: uppercase;
	color: #C80F17;
	white-space: nowrap;
}
.bna-ticket-s__stub::before,
.bna-ticket-s__stub::after {
	content: "";
	position: absolute;
	top: -9px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #E8E5DC;
	border: 1px solid rgba(0,0,0,0.08);
}
.bna-ticket-s__stub::before { left: -9px; }
.bna-ticket-s__stub::after  { right: -9px; }

/* ============================================================
   RESPONSIVE — collapse main ticket layout on narrow screens
   ============================================================ */
@media (max-width: 760px) {
	.bna-ticket__main   { padding: 16px 10px; }
	.bna-ticket__date   { font-size: 40px; }
	.bna-ticket__stub   { flex: 0 0 44px; }
	.bna-ticket__seats  { font-size: 11px; letter-spacing: 2.2px; }
	.bna-ticket__barcode { width: 100px; height: 20px; }
}
