/* Single course: description layout (ih-*) + shared Funding & FAQ template. */

/* Edumall adds 35px side padding to boxed Elementor sections at >=1200px; the
   shared template sits inside the course column, so align it with the text. */
.tutor-course-content-wrap .elementor .elementor-section.elementor-top-section > .elementor-container,
.tutor-course-content-wrap .elementor .elementor-inner-section > .elementor-container {
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: none;
}
.tutor-course-content-wrap .elementor .elementor-top-section {
	margin-top: 32px;
}

.ih-course {
	--ih-navy: #171e50;
	--ih-blue: #2d5bd7;
	--ih-green: #6fc067;
	--ih-soft: #eaf1fb;
	--ih-line: #dde5f2;
	--ih-text: #4a5068;
	color: var(--ih-text);
	font-size: 16px;
	line-height: 1.7;
}
.ih-course p { margin: 0 0 14px; }

.ih-code {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 24px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--ih-soft);
	color: var(--ih-navy);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .02em;
}
.ih-code b {
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--ih-navy);
	color: #fff;
	font-size: 12px;
}

.ih-course h3.ih-h {
	position: relative;
	margin: 36px 0 16px;
	padding-left: 14px;
	color: var(--ih-navy);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .01em;
}
.ih-course h3.ih-h::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	bottom: 3px;
	width: 4px;
	border-radius: 4px;
	background: var(--ih-green);
}

.ih-course h3.ih-h.ih-h-first { margin-top: 0; }

/* Overview = the course description itself (plain text from the editor). */
.tutor-course-content-content.ih-overview {
	color: #4a5068;
	font-size: 16px;
	line-height: 1.7;
}
.tutor-course-content-content.ih-overview p { margin: 0 0 14px; }

/* Outline */
.ih-course ol.ih-outline {
	counter-reset: ih;
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}
.ih-course ol.ih-outline li {
	counter-increment: ih;
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--ih-line);
	border-radius: 10px;
	background: #fff;
	color: var(--ih-navy);
	font-weight: 600;
}
.ih-course ol.ih-outline li::before {
	content: counter(ih);
	flex: 0 0 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--ih-soft);
	color: var(--ih-blue);
	font-size: 14px;
	font-weight: 700;
	line-height: 30px;
	text-align: center;
}

/* Duration tiles */
.ih-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.ih-fact {
	padding: 14px 16px;
	border-radius: 10px;
	background: var(--ih-soft);
}
.ih-fact span {
	display: block;
	color: #6b7391;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.ih-fact strong {
	display: block;
	color: var(--ih-navy);
	font-size: 17px;
	line-height: 1.4;
}
.ih-fact small {
	display: block;
	color: #6b7391;
	font-size: 13px;
}

/* Fee cards: Full Fee + three after-subsidy rows, same order as the SSG fee table. */
.ih-fees {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}
.ih-fees.is-2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ih-fee {
	display: flex;
	flex-direction: column;
	padding: 16px 14px;
	border: 1px solid var(--ih-line);
	border-radius: 12px;
	background: #fff;
}
.ih-fee.is-full { background: var(--ih-soft); border-color: var(--ih-soft); }
.ih-fee-who {
	min-height: 40px;
	color: var(--ih-navy);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}
.ih-fee-nett {
	margin: 8px 0 0;
	color: var(--ih-navy);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.1;
}
.ih-fee.is-full .ih-fee-nett,
.ih-fee.is-foreign .ih-fee-nett { color: #4a5068; }
.ih-fee-tag {
	align-self: flex-start;
	margin-top: auto;
	padding: 3px 10px;
	border-radius: 999px;
	background: #edf8ec;
	color: #3d8a36;
	font-size: 12px;
	font-weight: 700;
}
.ih-fee-nett + .ih-fee-tag { margin-top: 12px; }
.ih-fee-tag.is-muted {
	background: #fff;
	color: #6b7391;
	box-shadow: inset 0 0 0 1px var(--ih-line);
}
.ih-fee-mode {
	margin: 18px 0 10px !important;
	color: var(--ih-navy);
	font-size: 15px;
	font-weight: 700;
}
.ih-fee-block .ih-fee-mode:first-of-type { margin-top: 0 !important; }
.ih-note {
	margin: 12px 0 0 !important;
	color: #6b7391;
	font-size: 13px;
}

/* Contact */
.ih-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ih-contact a {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border: 1px solid var(--ih-line);
	border-radius: 999px;
	color: var(--ih-navy) !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
}
.ih-contact a:hover {
	border-color: var(--ih-navy);
	background: var(--ih-soft);
}

@media (max-width: 767px) {
	.ih-facts { grid-template-columns: minmax(0, 1fr); }
	.ih-fees,
	.ih-fees.is-2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ih-fee-who { min-height: 0; }
}
