/* CEDH CME Banner — all rules scoped under .cedh-cme-banner */

.cedh-cme-banner {
	/* Brand palette — tweak these four values to restyle the whole banner. */
	--cedh-navy: #2b3a67;
	--cedh-navy-deep: #1e2a4d;
	--cedh-teal: #29b3d2;
	--cedh-gold: #f0a92d;

	background: var(--cedh-navy);
	border-radius: 10px;
	padding: 48px 48px 24px;
	margin: 0 0 32px;
	font-family: inherit; /* blend with theme typography */
	box-sizing: border-box;
}

.cedh-cme-banner *,
.cedh-cme-banner *::before,
.cedh-cme-banner *::after {
	box-sizing: border-box;
}

.cedh-cme-banner__inner {
	display: flex;
	align-items: center;
	gap: 48px;
	max-width: 1140px;
	margin: 0 auto;
}

.cedh-cme-banner__content {
	flex: 1 1 auto;
	min-width: 0;
}

/* --- Text --- */

.cedh-cme-banner__eyebrow {
	color: var(--cedh-teal);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 12px;
}

.cedh-cme-banner__headline {
	color: #ffffff;
	font-size: clamp(26px, 3.2vw, 40px);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 16px;
}

.cedh-cme-banner__sub {
	color: rgba(255, 255, 255, 0.82);
	font-size: 17px;
	line-height: 1.6;
	margin: 0 0 28px;
	max-width: 560px;
}

/* --- Actions --- */

.cedh-cme-banner__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

.cedh-cme-banner__cta,
.cedh-cme-banner__cta:visited {
	display: inline-block;
	background: var(--cedh-teal);
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	padding: 13px 28px;
	border-radius: 6px;
	transition: background-color 0.15s ease, transform 0.1s ease;
}

.cedh-cme-banner__cta:hover,
.cedh-cme-banner__cta:focus {
	background: #1e9ab6;
	color: #ffffff;
	text-decoration: none;
}

.cedh-cme-banner__cta:active {
	transform: scale(0.98);
}

.cedh-cme-banner__secondary,
.cedh-cme-banner__secondary:visited {
	color: #ffffff;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	padding-bottom: 2px;
	transition: border-color 0.15s ease;
}

.cedh-cme-banner__secondary:hover,
.cedh-cme-banner__secondary:focus {
	color: #ffffff;
	border-bottom-color: #ffffff;
	text-decoration: none;
}

.cedh-cme-banner__arrow {
	display: inline-block;
	margin-left: 4px;
}

.cedh-cme-banner__cta:focus-visible,
.cedh-cme-banner__secondary:focus-visible {
	outline: 2px solid var(--cedh-gold);
	outline-offset: 3px;
}

/* --- Seal --- */

.cedh-cme-banner__seal-wrap {
	flex: 0 0 auto;
}

.cedh-cme-banner__seal {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: var(--cedh-navy-deep);
	border: 3px solid var(--cedh-gold);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 3px;
	padding: 16px;
}

.cedh-cme-banner__seal-icon {
	width: 30px;
	height: 30px;
	color: var(--cedh-gold);
	margin-bottom: 2px;
}

.cedh-cme-banner__seal-top {
	color: var(--cedh-gold);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cedh-cme-banner__seal-number {
	color: #ffffff;
	font-size: 52px;
	font-weight: 700;
	line-height: 1;
}

.cedh-cme-banner__seal-bottom {
	color: rgba(255, 255, 255, 0.85);
	font-size: 12px;
	line-height: 1.45;
	max-width: 130px;
}

/* --- Fine print --- */

.cedh-cme-banner__fine-print {
	color: rgba(255, 255, 255, 0.55);
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
	max-width: 720px;
	margin: 28px auto 0;
}

/* --- Responsive --- */

@media (max-width: 860px) {
	.cedh-cme-banner {
		padding: 36px 24px 20px;
	}

	.cedh-cme-banner__inner {
		flex-direction: column-reverse; /* seal first on mobile: instant visibility */
		gap: 28px;
		text-align: center;
	}

	.cedh-cme-banner__sub {
		margin-left: auto;
		margin-right: auto;
	}

	.cedh-cme-banner__actions {
		justify-content: center;
	}

	.cedh-cme-banner__seal {
		width: 160px;
		height: 160px;
	}

	.cedh-cme-banner__seal-number {
		font-size: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cedh-cme-banner__cta {
		transition: none;
	}
}
