.ccs-event-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100vw;
	max-width: 100vw;
	min-height: 28.4rem;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	padding: 6.8rem 0 1.5rem;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* Diagonal black gradient (bottom) + horizontal tint, matching Figma overlay */
.ccs-event-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0.6) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%);
	pointer-events: none;
}

.ccs-event-hero__container {
	position: relative;
	z-index: 2;
	width: 100%;
}

.ccs-event-hero__eyebrow {
	letter-spacing: 0.08em;
}

/* .hero-headline defaults to centered text; this hero is left-aligned on desktop */
.ccs-event-hero__heading.hero-headline {
	max-width: 40rem;
	text-align: left;
}

/* Pill badge (e.g. "Live Webinar") with status dot — no equivalent filled/dot variant exists on .ccs-btn or the outline badges already in the theme */
.ccs-event-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.5rem 0.75rem;
	background-color: rgba(0, 0, 0, 0.8);
	border-radius: 0.5rem;
}

.ccs-event-hero__badge-dot {
	width: 0.4375rem;
	height: 0.4375rem;
	flex-shrink: 0;
	background-color: var(--color-red);
	border-radius: 50%;
}

/* Icon sizing for the inline library SVGs (stroke="currentColor" inherits .has-white-color) */
.ccs-event-hero__detail-icon {
	display: inline-flex;
	flex-shrink: 0;
	width: 1.5rem;
	height: 1.5rem;
}

.ccs-event-hero__detail-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

/* Keeps the countdown + CTA column from stretching full width next to the text column */
@media (min-width: 992px) {
	.ccs-event-hero__side {
		max-width: 22rem;
	}
}

/* Frosted-glass countdown card — no existing theme component covers this effect.
   border-radius/padding are set here (not Bootstrap utilities) because this theme ships
   Bootstrap 5.0.2, whose compiled utilities only go up to .rounded-3 (0.3rem) and have no
   asymmetric padding token matching the 18px/12px spec — utility classes are !important
   and would silently win over any custom override, so they're intentionally not used here. */
.ccs-event-hero__countdown-card {
	width: 4.75rem;
	height: 4.75rem;
	padding: 18px 12px;
	border-radius: 16px;
	background-color: rgba(217, 217, 217, 0.2);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

/* Locks digit glyph widths so the card doesn't visibly resize every second as the countdown updates */
.ccs-event-hero__countdown-card span {
	font-variant-numeric: tabular-nums;
}

/* Remove site-main top padding so the hero sits flush under the navbar */
body.single-event-insight .site-main {
	padding-top: 0;
}

/* Remove default margins between hero and content blocks */
body.single-event-insight .site-main > .ccs-event-hero {
	margin-bottom: 0;
}

body.single-event-insight .site-main > article {
	margin-top: 0;
}

@media (max-width: 767.98px) {
	.ccs-event-hero {
		min-height: 25.6rem;
		padding: 6rem 0 1.5rem;
	}

	.ccs-event-hero__heading.hero-headline {
		text-align: left;
	}
}
