@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700;800;900&display=swap');

:root {
	--background: 210 20% 98%;
	--foreground: 230 44% 16%;
	--primary: 230 44% 16%;
	--secondary: 199 92% 56%;
	--hero-bg: 199 92% 35%;
	--muted: 210 20% 96%;
	--muted-foreground: 220 9% 46%;
	--border: 220 13% 91%;
	--shadow-card: 0 4px 6px -1px rgb(0 0 0 / .05), 0 2px 4px -2px rgb(0 0 0 / .05);
	--shadow-elevated: 0 10px 15px -3px rgb(0 0 0 / .08), 0 4px 6px -4px rgb(0 0 0 / .05);
	--font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.cdmoworld-page,
.cdmoworld-page * {
	box-sizing: border-box;
}

.cdmoworld-page {
	font-family: var(--font-sans);
	color: hsl(var(--foreground));
	background: hsl(var(--background));
}

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

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

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

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

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

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

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

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

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

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

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

.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%
	);
}

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

.slide-eyebrow {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	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;
}

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

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

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

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

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

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

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

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

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

.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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.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%
	);
}

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

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

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

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

.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;
}

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

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

	.ad-card {
		display: none;
	}
}

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

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