/* Homepage sync: avoid LP reference CSS overriding theme chrome */
body.home .site-main {
	min-height: 45vh;
	padding-bottom: 3.2rem;
}

body.home .site-footer {
	margin-top: 3.2rem;
	padding-top: 0;
	border-top: 0;
	background: linear-gradient(170deg, #2d0910, #1a080b);
	color: #d8e2f0;
}

body.home .footer-cta {
	background: linear-gradient(120deg, rgba(227, 30, 36, 0.96), rgba(247, 148, 29, 0.96));
	padding: 1.4rem 0;
}

body.home .footer-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

body.home .footer-main {
	padding: 2rem 0 1.35rem;
}

body.home .footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr) minmax(0, 0.9fr) minmax(0, 1.05fr);
	gap: 1.05rem;
}

body.home .footer-bottom {
	padding: 0.95rem 0;
	border-top: 1px solid rgba(216, 226, 240, 0.24);
}

body.home .footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.8rem;
}

/* Homepage featured courses: hide sort/order/filter controls */
body.home #chuong-trinh .tutor-course-archive-top,
body.home #chuong-trinh .tutor-course-filter-wrapper,
body.home #chuong-trinh .tutor-course-archive-filters-wrap,
body.home #chuong-trinh .tutor-course-filter-form,
body.home #chuong-trinh .tutor-course-sorting-wrap,
body.home #chuong-trinh .tutor-course-top-bar,
body.home #chuong-trinh .tutor-course-filter-container,
body.home #chuong-trinh .tutor-course-filter,
body.home #chuong-trinh .tutor-course-sorting,
body.home #chuong-trinh .tutor-sort-by-wrapper,
body.home #chuong-trinh .tutor-form-select,
body.home #chuong-trinh select[name="orderby"],
body.home #chuong-trinh select[name="course_orderby"] {
	display: none !important;
}

/* Hero v3 - match supplied reference style */
body.home .dc-hero-v3 {
	padding: 2.4rem 0 2rem;
	background: linear-gradient(180deg, #f2f2f2 0%, #f6f6f6 100%);
}

body.home .dc-hero-v3-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	gap: 1.2rem;
	align-items: center;
	text-align: left;
}

body.home .dc-hero-v3 .narrow {
	text-align: left;
}

body.home .dc-hero-v3-copy h1 {
	margin: 0;
	font-size: clamp(2rem, 4.4vw, 4rem);
	line-height: 1.06;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #090d16;
}

body.home .dc-hero-v3-copy h1 span {
	background: linear-gradient(120deg, #a91f1f, #c62828 45%, #ef6c00 100%);
	background-clip: text;
	color: transparent;
}

body.home .dc-hero-v3-lead {
	margin-top: 1.1rem;
	max-width: 45ch;
	font-size: 1.02rem;
	line-height: 1.6;
	color: #646b79;
}

body.home .dc-hero-v3-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.72rem;
	margin-top: 1.35rem;
}

body.home .dc-hero-v3-actions .btn {
	min-height: 46px;
	padding: 0.72rem 1.2rem;
	border-radius: 12px;
}

body.home .dc-hero-v3-visual {
	display: grid;
	gap: 0.62rem;
}

body.home .dc-hero-v3-stat-top {
	display: flex;
	align-items: center;
	gap: 0.78rem;
	padding: 0.86rem 1rem;
	border-radius: 14px;
	background: linear-gradient(120deg, #a91f1f, #c62828 45%, #ef6c00 100%);
}

body.home .dc-hero-v3-stat-top strong {
	font-size: 2rem;
	line-height: 1;
	color: #fff;
}

body.home .dc-hero-v3-stat-top span {
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
}

body.home .dc-hero-v3-media {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	min-height: 250px;
	background: linear-gradient(135deg, #2547d5 0%, #2f56f0 100%);
}

body.home .dc-hero-v3-wave {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	opacity: 0.82;
	mix-blend-mode: screen;
	background:
		radial-gradient(ellipse at 20% 18%, rgba(102, 230, 238, 0.9) 0%, rgba(102, 230, 238, 0.9) 22%, transparent 23%),
		radial-gradient(ellipse at 75% 76%, rgba(102, 230, 238, 0.85) 0%, rgba(102, 230, 238, 0.85) 20%, transparent 22%),
		linear-gradient(160deg, transparent 36%, rgba(102, 230, 238, 0.86) 37%, rgba(102, 230, 238, 0.86) 52%, transparent 53%);
}

body.home .dc-hero-v3-media img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	min-height: 250px;
	object-fit: cover;
	object-position: center;
	mix-blend-mode: normal;
	opacity: 1;
}

body.home .dc-hero-v3-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.58rem;
}

body.home .dc-hero-v3-mini {
	padding: 0.95rem 1rem;
	border-radius: 14px;
	background: #ececec;
	border: 1px solid #e2e2e2;
}

body.home .dc-hero-v3-mini strong {
	display: block;
	font-size: 2rem;
	line-height: 1;
	color: var(--dcc-primary);
}

body.home .dc-hero-v3-mini span {
	display: block;
	margin-top: 0.52rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	color: #202633;
}

/* Mobile/Tablet: sidebar navigation and footer columns */
@media (max-width: 1120px) {
	body.home .footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.home .footer-cta-inner,
	body.home .footer-bottom-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	body.home .dc-hero-v3-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	body.home .site-main {
		padding-bottom: 2.6rem;
	}

	body.home .footer-main {
		padding-top: 1.45rem;
	}

	body.home .footer-grid {
		grid-template-columns: 1fr;
	}

	body.home .dc-hero-v3 {
		padding-top: 1.85rem;
	}

	body.home .dc-hero-v3-stats {
		grid-template-columns: 1fr;
	}
}
