.cdmo-hero,
.cdmo-event-bar,
.cdmo-hero *,
.cdmo-event-bar * {
	box-sizing: border-box;
}

.cdmo-hero,
.cdmo-event-bar,
.cdmo-editor-preview {
	--cdmo-background: 210 20% 98%;
	--cdmo-foreground: 230 44% 16%;
	--cdmo-primary: 230 44% 16%;
	--cdmo-secondary: 199 92% 56%;
	--cdmo-hero-bg: 199 92% 35%;
	--cdmo-muted-foreground: 220 9% 46%;
	--cdmo-border: 220 13% 91%;
	--cdmo-slate-600: 215 19% 35%;
	--cdmo-shadow-card: 0 4px 6px -1px rgb(0 0 0 / .05), 0 2px 4px -2px rgb(0 0 0 / .05);
	--cdmo-shadow-elevated: 0 10px 15px -3px rgb(0 0 0 / .08), 0 4px 6px -4px rgb(0 0 0 / .05);
	--cdmo-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .10), 0 10px 10px -5px rgb(0 0 0 / .04);
	--cdmo-font-sans: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-family: var(--cdmo-font-sans);
}

.cdmo-hero a,
.cdmo-event-bar a {
	color: inherit;
	text-decoration: none;
}

.cdmo-hero img,
.cdmo-event-bar img {
	display: block;
	max-width: 100%;
}

.cdmo-hero h1,
.cdmo-hero h3,
.cdmo-hero p,
.cdmo-event-bar p {
	margin: 0;
}

.cdmo-section-container {
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1rem;
	width: 100%;
}

@media (min-width: 640px) {
	.cdmo-section-container {
		padding: 0 1.5rem;
	}
}

@media (min-width: 1024px) {
	.cdmo-section-container {
		padding: 0 2rem;
	}
}

.cdmo-hero {
	background-color: hsl(var(--cdmo-hero-bg));
}

.cdmo-hero.alignfull,
.cdmo-event-bar.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.cdmo-hero.alignwide,
.cdmo-event-bar.alignwide {
	max-width: min(100vw, 1200px);
	margin-left: auto;
	margin-right: auto;
}

.cdmo-hero .cdmo-section-container {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.cdmo-hero-grid {
	display: grid;
	grid-template-columns: 1.35fr 1fr 180px;
	gap: 1.25rem;
	align-items: stretch;
}

.cdmo-lead-slider {
	position: relative;
	overflow: hidden;
	border-radius: 0.5rem;
	box-shadow: var(--cdmo-shadow-elevated);
}

.cdmo-slides-stage {
	position: relative;
	height: 320px;
}

.cdmo-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.7s ease;
	pointer-events: none;
}

.cdmo-slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.cdmo-slide > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cdmo-slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.40) 50%, rgba(0, 0, 0, 0) 100%);
}

.cdmo-slide-content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.25rem;
	color: #fff;
}

.cdmo-slide-eyebrow {
	display: inline-block;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	background: rgba(255, 255, 255, 0.20);
	padding: 4px 10px;
	border-radius: 9999px;
	margin-bottom: 8px;
	color: #fff;
}

.cdmo-slide-title {
	font-family: var(--cdmo-font-sans);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.25;
	margin-bottom: 8px;
	color: #fff;
	letter-spacing: 0;
}

.cdmo-slide-dek {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.90);
	margin-bottom: 12px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cdmo-read-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: hsl(var(--cdmo-secondary));
	font-weight: 600;
	font-size: 0.75rem;
	padding: 8px 14px;
	border-radius: 0.5rem;
	transition: background .2s ease;
}

.cdmo-read-btn:hover {
	background: rgba(255, 255, 255, 0.90);
}

.cdmo-read-btn svg {
	width: 14px;
	height: 14px;
}

.cdmo-slider-arrow {
	position: absolute;
	top: 32%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.50);
	color: #fff;
	border: 0;
	border-radius: 9999px;
	padding: 6px;
	cursor: pointer;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s ease;
}

.cdmo-slider-arrow:hover {
	background: rgba(0, 0, 0, 0.70);
}

.cdmo-slider-arrow.prev {
	left: 8px;
}

.cdmo-slider-arrow.next {
	right: 8px;
}

.cdmo-slider-arrow svg {
	width: 16px;
	height: 16px;
}

.cdmo-dots {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	gap: 6px;
	z-index: 5;
}

.cdmo-dot {
	height: 6px;
	width: 6px;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.50);
	border: 0;
	padding: 0;
	cursor: pointer;
	transition: width 0.3s ease, background 0.3s ease;
}

.cdmo-dot.is-active {
	width: 20px;
	background: #fff;
}

.cdmo-cards-stack {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 12px;
}

.cdmo-card {
	background: #fff;
	border-radius: 0.5rem;
	overflow: hidden;
	box-shadow: var(--cdmo-shadow-card);
	display: flex;
	color: inherit;
	transition: box-shadow .2s ease, transform .2s ease;
}

.cdmo-card:hover {
	box-shadow: var(--cdmo-shadow-elevated);
	transform: translateY(-2px);
}

.cdmo-card > img {
	width: 128px;
	height: 100%;
	object-fit: cover;
	flex-shrink: 0;
}

.cdmo-card-body {
	padding: 12px;
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.cdmo-card-eyebrow {
	font-size: 9px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: hsl(var(--cdmo-secondary));
}

.cdmo-card-title {
	font-family: var(--cdmo-font-sans);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.375;
	margin-top: 4px;
	color: hsl(var(--cdmo-primary));
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .2s ease;
	letter-spacing: 0;
}

.cdmo-card:hover .cdmo-card-title {
	color: hsl(var(--cdmo-secondary));
}

.cdmo-card-dek {
	font-size: 11px;
	color: hsl(var(--cdmo-slate-600));
	margin-top: 6px;
	line-height: 1.375;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cdmo-ad-card {
	display: block;
	height: 100%;
	min-height: 320px;
}

.cdmo-ad-link {
	display: block;
	position: relative;
	height: 100%;
	min-height: 320px;
	border-radius: 0.5rem;
	overflow: hidden;
	background: #000;
	box-shadow: var(--cdmo-shadow-xl);
	color: #fff;
}

.cdmo-ad-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.cdmo-ad-link:hover .cdmo-ad-img {
	transform: scale(1.05);
}

.cdmo-ad-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.20) 50%, rgba(0, 0, 0, 0.90) 100%);
}

.cdmo-ad-content {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 12px;
}

.cdmo-ad-eyebrow {
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.70);
	margin-bottom: 4px;
}

.cdmo-ad-title {
	font-size: 1.125rem;
	font-weight: 900;
	line-height: 1.05;
	color: rgb(196, 181, 253);
	letter-spacing: 0;
}

.cdmo-ad-dek {
	font-size: 10px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.90);
	line-height: 1.375;
	margin-bottom: 8px;
}

.cdmo-ad-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #c4b5fd;
	color: #000;
	font-weight: 900;
	padding: 6px 10px;
	border-radius: 0.375rem;
	font-size: 10px;
	transition: background .2s ease;
}

.cdmo-ad-btn:hover {
	background: #fff;
}

.cdmo-ad-btn svg {
	width: 12px;
	height: 12px;
}

@media (max-width: 1023px) {
	.cdmo-hero-grid {
		grid-template-columns: 1.4fr 1fr;
	}

	.cdmo-ad-card {
		display: none;
	}
}

@media (max-width: 760px) {
	.cdmo-hero-grid {
		grid-template-columns: 1fr;
	}

	.cdmo-slides-stage {
		height: 280px;
	}
}

.cdmo-event-bar {
	background: #f1f5f9;
	border-top: 1px solid hsl(var(--cdmo-border));
	border-bottom: 1px solid hsl(var(--cdmo-border));
}

.cdmo-event-bar .cdmo-section-container {
	padding-top: 12px;
	padding-bottom: 12px;
}

.cdmo-event-card {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
	border-radius: 0.5rem;
	border: 1px solid #cbd5e1;
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	color: inherit;
}

.cdmo-event-bg {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(90deg, rgba(32, 44, 60, 0.92) 0%, rgba(39, 53, 73, 0.65) 55%, rgba(57, 73, 96, 0.35) 100%),
		var(--cdmo-event-bg-image);
	background-size: cover;
	background-position: center 40%;
}

.cdmo-event-content {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px 20px;
}

@media (min-width: 768px) {
	.cdmo-event-content {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.cdmo-event-left {
	display: flex;
	align-items: center;
	gap: 16px;
}

.cdmo-event-date {
	color: #ffffff;
	line-height: 1;
}

.cdmo-event-date span {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #7dd3fc;
}

.cdmo-event-info {
	color: #ffffff;
}

.cdmo-event-eyebrow {
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: #7dd3fc;
	margin-bottom: 2px;
}

.cdmo-event-title {
	font-family: var(--cdmo-font-sans);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0;
}

@media (min-width: 768px) {
	.cdmo-event-title {
		font-size: 18px;
	}
}

.cdmo-event-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	background: #ffffff;
	color: #0f172a;
	font-weight: 600;
	font-size: 12px;
	padding: 6px 12px;
	border-radius: 6px;
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	transition: background 0.2s ease;
	white-space: nowrap;
}

@media (min-width: 768px) {
	.cdmo-event-cta {
		align-self: auto;
	}
}

.cdmo-event-cta:hover {
	background: #f0f9ff;
}

.cdmo-event-cta-arrow {
	display: inline-block;
	transition: transform 0.2s ease;
}

.cdmo-event-card:hover .cdmo-event-cta-arrow {
	transform: translateX(2px);
}

.cdmo-editor-preview {
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #f8fafc;
	color: #0f172a;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px;
}

.cdmo-editor-block {
	cursor: pointer;
	position: relative;
}

.cdmo-editor-preview strong {
	font-size: 14px;
}

.cdmo-editor-preview span {
	color: #475569;
	font-size: 12px;
}
