/* Champions Day / Neeon homepage layout (Astro-native grid + legacy Elementor markup). */

.cd-home-split {
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
	box-sizing: border-box;
}

@media (min-width: 992px) {
	.cd-home-split {
		display: grid;
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		gap: 24px;
		align-items: start;
	}

	.cd-home-split__main .elementor-column,
	.cd-home-split__sidebar .elementor-column {
		width: 100% !important;
		max-width: 100% !important;
		flex: none !important;
	}
}

@media (max-width: 991px) {
	.cd-home-split__sidebar {
		margin-top: 2rem;
	}
}

/* Hero thumb rail: positioning context for absolute sidebar. */
.rt-thumb-slider-vertical.neeon-vertical-slider {
	position: relative;
}

@media (min-width: 992px) {
	.rt-thumb-slider-vertical .rt-thumnail-area {
		width: 33%;
		max-width: 400px;
	}
}

/* Main content + affiliate sidebar row: ~2/3 + ~1/3 (Elementor defaults to 50/50). */
.elementor-element-bff1b1f > .elementor-container {
	max-width: 1320px !important;
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 992px) {
	.elementor-element-bff1b1f .elementor-element-1afc645 {
		width: 66.666% !important;
		max-width: 66.666% !important;
		flex: 0 0 66.666% !important;
	}

	.elementor-element-bff1b1f .elementor-element-3d81a45 {
		width: 33.333% !important;
		max-width: 33.333% !important;
		flex: 0 0 33.333% !important;
	}
}

/* Affiliate HTML widgets ship fixed 600px images; keep inside the sidebar column. */
.elementor-element-3d81a45 .elementor-widget-container img {
	display: block;
	max-width: 100% !important;
	width: 100% !important;
	height: auto !important;
}

/* Bottom affiliate row (Editor's Choice): equal full-height cards */
.elementor-element-d32f496 .rt-post-slider-style2 .swiper-wrapper {
	align-items: stretch;
}

.elementor-element-d32f496 .rt-post-slider-style2 .swiper-slide {
	height: auto;
}

.elementor-element-d32f496 .rt-post-slider-style2 .rt-item {
	position: relative;
	height: 100%;
}

.elementor-element-d32f496 .rt-post-slider-style2 .rt-item .rt-image {
	position: relative;
	height: 360px !important;
	min-height: 360px !important;
	max-height: 360px !important;
	width: 100%;
	overflow: hidden;
	background: #111;
}

.elementor-element-d32f496 .rt-post-slider-style2 .rt-item .rt-image a {
	display: block;
	height: 100% !important;
}

.elementor-element-d32f496 .rt-post-slider-style2 .rt-item .rt-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center;
}
