/* ============================================================
   CAREGIVING COURSE PAGE — matches Figma node 373:28683
   ============================================================ */

/* ---- HERO ---- */
.cg-hero {
	position: relative;
	min-height: 360px;
	background: url('../images/hero-bg.png') center center / cover no-repeat;
	overflow: visible;
}

.cg-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(28, 43, 74, 0.8);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

.cg-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	padding: 95px 24px 80px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	text-align: center;
}

.cg-hero-title {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 700;
	font-size: 56px;
	line-height: 61.6px;
	letter-spacing: -0.56px;
	color: #ffffff;
	margin: 0;
	text-align: center;
}

.cg-hero-title em {
	font-family: 'Playfair Display', Georgia, serif;
	font-style: italic;
	font-weight: 700;
	color: #f47920;
}

.cg-hero-desc {
	max-width: 677px;
	font-family: 'DM Sans', Inter, sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
	text-align: center;
}

/* ---- BREADCRUMB ---- */
.cg-breadcrumb-shell {
	margin-top: -50px;
	position: relative;
	z-index: 3;
}

.cg-breadcrumb-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.cg-breadcrumb {
	position: relative;
	margin: 0 auto;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: 'DM Sans', Inter, sans-serif;
	font-weight: 400;
	font-size: 12px;
	line-height: 18px;
	color: #9CA3AF;
	width: min(1086px, calc(100% - 32px));
	height: 50px;
	border-radius: 16px 16px 0 0;
}

.cg-breadcrumb::before,
.cg-breadcrumb::after {
	content: '';
	position: absolute;
	bottom: 0;
	width: 16px;
	height: 16px;
	pointer-events: none;
}

.cg-breadcrumb::before {
	left: -16px;
	background: radial-gradient(circle at 0 0, transparent 16px, #ffffff 16.5px);
}

.cg-breadcrumb::after {
	right: -16px;
	background: radial-gradient(circle at 100% 0, transparent 16px, #ffffff 16.5px);
}

.cg-breadcrumb a {
	color: #374151;
	text-decoration: none;
}

.cg-breadcrumb-current {
	font-weight: 500;
	color: #f47920;
}

/* ---- ABOUT ---- */
.cg-about-section {
	padding: 80px 0 64px;
	background: #ffffff;
}

.cg-about-inner {
	max-width: 1234px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 21px;
}

.cg-about-heading {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 700;
	color: #0D1B2A;
	text-align: center;
	margin: 0;
	font-size: 44px;
	line-height: 48px;
}

.cg-about-body {
	width: 100%;
}

.cg-about-body p {
	font-family: Inter, 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 28.8px;
	color: #737477;
	margin: 0 0 0;
	text-align: center;
}

.cg-about-body p + p {
	margin-top: 28.8px;
}

/* ---- DISTINGUISHES ---- */
.cg-dist-section {
	padding: 102px 0 80px;
	background: #f8f9fa;
}

.cg-dist-inner {
	max-width: 1573px;
	margin: 0 auto;
	padding: 0 24px;
}

.cg-dist-layout {
	display: grid;
	grid-template-columns: minmax(280px, 678px) minmax(280px, 1fr);
	gap: 0 84px;
	align-items: start;
}

.cg-dist-left {
	display: flex;
	flex-direction: column;
}

.cg-dist-heading {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 700;
	font-size: 44px;
	color: #0D1B2A;
	margin: 0 0 24px;
	line-height: 1.2;
	letter-spacing: -0.5408px;
}

.cg-dist-heading em,
.cg-dist-heading i {
	font-family: 'Playfair Display', Georgia, serif;
	font-style: italic;
	font-weight: 700;
	color: #f47920;
}

.cg-dist-subtext {
	font-family: 'DM Sans', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
	color: #374151;
	margin: 0 0 28px;
	max-width: 731px;
}

.cg-dist-img {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 678.515 / 344.174;
	min-height: 220px;
}

.cg-dist-img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cg-dist-img::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(7, 14, 26, 0.6) 0%, rgba(0, 0, 0, 0) 55%);
	pointer-events: none;
}

.cg-dist-img::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 3.688px;
	background: #f47920;
	z-index: 2;
}

.cg-dist-img-caption {
	position: absolute;
	bottom: 24px;
	left: 34px;
	right: 34px;
	z-index: 1;
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.885px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.5;
}

.cg-dist-right {
	display: flex;
	align-items: flex-start;
	padding-top: 32px;
}

.cg-dist-list {
	list-style: disc;
	margin: 0;
	padding: 0 0 0 30px;
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
}

.cg-dist-list li {
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.7;
	color: #6b7280;
	margin: 0;
}

/* ---- WHY SECTION ---- */
.cg-why-section {
	background: #1e7b74;
	padding: 110px clamp(24px, 4.2vw, 81px);
}

.cg-why-inner {
	max-width: 1640px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 563px;
}

.cg-why-panel {
	background: rgba(255, 255, 255, 0.1);
	border-right: 1px solid #1e7b74;
	padding: 64px 64px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
}

.cg-why-panel--right {
	justify-content: flex-start;
	padding-top: 56px;
}

.cg-why-heading {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 700;
	font-size: 44px;
	line-height: 40px;
	color: #ffffff;
	margin: 0 0 24px;
	letter-spacing: -0.64px;
	max-width: 712px;
}

.cg-why-rule {
	display: block;
	width: 32px;
	height: 1px;
	background: rgba(255, 255, 255, 0.5);
	margin-bottom: 24px;
}

.cg-why-desc {
	font-family: 'DM Sans', Inter, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 27.75px;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
	max-width: 540px;
}

.cg-why-list {
	list-style: disc;
	margin: 0;
	padding: 0 0 0 30px;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.cg-why-list li {
	font-family: Inter, 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.7;
	color: #ffffff;
}

.cg-why-list li::marker {
	color: rgba(255, 255, 255, 0.85);
}

/* ---- CAREER SCOPE ---- */
.cg-career-section {
	padding: 100px 0 120px;
	background: #ffffff;
}

.cg-career-heading {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 700;
	font-size: 44px;
	color: #000000;
	text-align: center;
	margin: 0 0 60px;
	line-height: 40px;
	letter-spacing: -0.64px;
}

.cg-career-inner {
	border: 1px solid #e5e7eb;
	border-radius: 2px;
	max-width: 1640px;
	margin: 0 auto;
	padding: 42px 41px;
	box-sizing: border-box;
}

.cg-career-intro {
	font-family: Inter, 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 400;
	color: #374151;
	margin: 0 0 16px;
	line-height: 27.75px;
}

.cg-career-list {
	list-style: disc;
	margin: 0 0 16px 30px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.cg-career-list li {
	font-family: Inter, 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 400;
	color: #374151;
	margin: 0;
	line-height: 27.75px;
}

.cg-career-outro {
	font-family: Inter, 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #374151;
	margin: 16px 0 0;
	line-height: 27.75px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1199px) {
	.cg-dist-layout {
		gap: 0 40px;
	}

	.cg-why-panel {
		padding: 48px 32px;
	}

	.cg-career-inner {
		max-width: calc(100% - 48px);
	}
}

@media (max-width: 991px) {
	.cg-dist-layout {
		grid-template-columns: 1fr;
		gap: 36px 0;
	}

	.cg-dist-right {
		padding-top: 0;
	}

	.cg-why-inner {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.cg-why-panel {
		border-right: none;
		border-bottom: 1px solid #1e7b74;
	}

	.cg-why-panel--right {
		padding-top: 48px;
	}
}

@media (max-width: 767px) {
	.cg-hero {
		min-height: 280px;
	}

	.cg-hero-inner {
		padding: 56px 16px 68px;
		gap: 12px;
	}

	.cg-hero-title {
		font-size: 32px;
		line-height: 38px;
	}

	.cg-hero-desc {
		font-size: 15px;
	}

	.cg-about-heading,
	.cg-dist-heading,
	.cg-why-heading,
	.cg-career-heading {
		font-size: 28px;
		line-height: 1.2;
	}

	.cg-dist-list li,
	.cg-why-list li,
	.cg-career-list li,
	.cg-career-intro {
		font-size: 16px;
	}

	.cg-why-section {
		padding: 48px 16px;
	}

	.cg-career-section {
		padding: 60px 0 72px;
	}

	.cg-career-inner {
		max-width: calc(100% - 32px);
		padding: 24px 16px;
	}

	.cg-breadcrumb-shell {
		margin-top: 0;
	}

	.cg-breadcrumb {
		width: 100%;
		height: auto;
		min-height: 50px;
		border-radius: 0;
		flex-wrap: wrap;
		padding: 8px 12px;
	}

	.cg-breadcrumb::before,
	.cg-breadcrumb::after {
		display: none;
	}
}
