/* Course detail page (single-courses.php). Colours are the site's own Astra globals:
   cyan #00c8ff / #00b1e1, navy #0f172a, text #364151, light blue #e7f6ff, border #d1dae5. */

/* Variables also on the mobile bar: it sits outside .cs-course (fixed to the viewport). */
.cs-course,
.cs-mobilebar {
	--cs-cyan: #00c8ff;
	--cs-cyan-dark: #00b1e1;
	--cs-blue: #0071e5; /* logo secondary */
	--cs-link: var(--cs-blue);
	--cs-icon: var(--cs-blue);
	--cs-navy: #0f172a;
	--cs-text: #364151;
	--cs-muted: #5b6676;
	--cs-border: #d1dae5;
	--cs-line: #e3eaf2;
	--cs-tint: #e7f6ff;
	--cs-tint-2: #f3fafe;
	--cs-soft: #f6f9fc;
	--cs-green: #25d366;
	--cs-radius: 14px;
	--cs-sticky-top: 0px;
}

.cs-course {
	width: 100%;
	flex: 1 1 100%;
	color: var(--cs-text);
	font-size: 17px;
	line-height: 1.7;
}

.cs-course *,
.cs-course *::before,
.cs-course *::after {
	box-sizing: border-box;
}

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

.cs-course h1,
.cs-course h2,
.cs-course h3 {
	color: var(--cs-navy);
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
}

.cs-course p {
	margin: 0 0 1em;
	max-width: 72ch;
}

.cs-course a {
	color: var(--cs-link);
}

.cs-course :focus-visible,
.cs-mobilebar :focus-visible {
	outline: 3px solid var(--cs-cyan-dark);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
	html:has(.cs-course) {
		scroll-behavior: smooth;
	}
}

/* ============ Buttons ============ */

.cs-course .cs-btn,
.cs-mobilebar .cs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 26px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, border-color .15s;
}

.cs-course .cs-btn--primary,
.cs-mobilebar .cs-btn--primary {
	background: var(--cs-cyan);
	color: var(--cs-navy);
}

.cs-course .cs-btn--primary:hover,
.cs-mobilebar .cs-btn--primary:hover {
	background: var(--cs-blue);
	color: #fff;
}

.cs-course .cs-btn--primary .fa-arrow-right {
	font-size: .85em;
	transition: transform .15s;
}

.cs-course .cs-btn--primary:hover .fa-arrow-right {
	transform: translateX(3px);
}

.cs-course .cs-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, .4);
	color: #fff;
}

.cs-course .cs-btn--ghost:hover {
	background: rgba(255, 255, 255, .08);
	border-color: #fff;
	color: #fff;
}

.cs-course .fa-whatsapp,
.cs-mobilebar .fa-whatsapp {
	color: var(--cs-green);
	font-size: 1.2em;
}

.cs-course .cs-btn--quiet,
.cs-mobilebar .cs-btn--quiet {
	background: #fff;
	border-color: var(--cs-border);
	color: var(--cs-navy);
}

.cs-course .cs-btn--small {
	min-height: 36px;
	padding: 6px 16px;
	font-size: 14px;
	background: #fff;
	border-color: var(--cs-cyan);
	color: var(--cs-navy);
	white-space: nowrap;
	flex: 0 0 auto;
}

.cs-course .cs-btn--small:hover {
	background: var(--cs-blue);
	border-color: var(--cs-blue);
	color: #fff;
}

.cs-course .cs-btn--block {
	width: 100%;
}

.cs-course .cs-linkbtn {
	background: none;
	border: 0;
	padding: 4px 0;
	color: var(--cs-link);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	box-shadow: none;
}

.cs-course .cs-linkbtn:hover {
	background: none;
	color: var(--cs-navy);
}

/* ============ Hero ============ */

.cs-hero {
	background: url("img/cloudsewa-mark-white-faint.png") no-repeat right 3% bottom -60px / 320px auto, var(--cs-navy);
	color: #cbd5e1;
	padding: 48px 0 56px;
	border-bottom: 4px solid transparent;
	border-image: linear-gradient(90deg, #00cefc, #0071e5) 1;
}

.cs-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
}

.cs-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 14px;
	color: rgba(255, 255, 255, .5);
	margin-bottom: 18px;
}

.cs-course .cs-crumbs a {
	color: rgba(255, 255, 255, .72);
	text-decoration: none;
}

.cs-course .cs-crumbs a:hover {
	color: #fff;
	text-decoration: underline;
}

.cs-course .cs-hero__title {
	color: #fff;
	font-size: clamp(30px, 3.6vw, 46px);
	letter-spacing: -.01em;
	margin-bottom: 16px;
}

.cs-course .cs-hero__lead {
	color: #cbd5e1;
	font-size: 18.5px;
	line-height: 1.6;
	margin-bottom: 28px;
}

.cs-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
	gap: 10px;
	margin: 0 0 28px;
}

.cs-facts__item {
	padding: 12px 16px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 12px;
}

.cs-facts dt {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	color: #8fd8f2;
	margin: 0;
}

.cs-facts dd {
	margin: 4px 0 0;
	font-weight: 700;
	color: #fff;
	font-size: 16px;
	line-height: 1.35;
}

.cs-facts__note {
	display: block;
	margin-top: 2px;
	font-size: 13.5px;
	font-weight: 500;
	color: #cbd5e1;
}

.cs-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.cs-hero__media {
	position: relative;
	padding: 0 14px 14px 0;
}

.cs-hero__media::before {
	content: '';
	position: absolute;
	inset: 14px 0 0 14px;
	border: 2px solid var(--cs-cyan);
	border-radius: 18px;
}

.cs-hero__media img {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 11;
	object-fit: cover;
	border-radius: 18px;
}

/* ============ In-page tabs ============ */

.cs-tabs {
	position: sticky;
	top: var(--cs-sticky-top);
	z-index: 20;
	background: #fff;
	border-bottom: 1px solid var(--cs-line);
	box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
}

.cs-tabs ul {
	display: flex;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.cs-course .cs-tabs a {
	display: block;
	padding: 16px 0 13px;
	border-bottom: 3px solid transparent;
	color: var(--cs-muted);
	font-family: 'Nunito Sans', sans-serif;
	font-size: 15.5px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.cs-course .cs-tabs a:hover,
.cs-course .cs-tabs a.is-active {
	color: var(--cs-navy);
	border-bottom-color: var(--cs-cyan);
}

/* ============ Layout ============ */

.cs-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 56px;
	align-items: start;
	padding-top: 12px;
	padding-bottom: 72px;
}

.cs-main {
	grid-column: 1;
	grid-row: 1;
}

.cs-side {
	grid-column: 2;
	grid-row: 1;
	position: sticky;
	top: calc(var(--cs-sticky-top) + 76px);
	margin-top: 36px;
}

.cs-section {
	padding: 40px 0;
	border-top: 1px solid var(--cs-line);
	scroll-margin-top: calc(var(--cs-sticky-top) + 64px);
}

.cs-main > .cs-section:first-child {
	border-top: 0;
}

.cs-course .cs-h2 {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 26px;
	margin-bottom: 20px;
}

.cs-h2__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--cs-tint);
	color: var(--cs-icon);
	font-size: 18px;
}

.cs-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.cs-course .cs-section__head .cs-h2 {
	margin-bottom: 4px;
}

.cs-course .cs-section__note {
	color: var(--cs-muted);
	font-size: 15px;
	margin: 0 0 16px 58px;
}

.cs-course .cs-lede {
	font-size: 17px;
	line-height: 1.75;
}

/* ============ What you'll learn ============ */

.cs-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cs-tiles li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 18px;
	background: var(--cs-tint-2);
	border: 1px solid #d6edf9;
	border-radius: 12px;
	line-height: 1.55;
	color: var(--cs-navy);
}

.cs-tiles .fa-check {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--cs-cyan);
	color: var(--cs-navy);
	font-size: 12px;
}

/* ============ Lists ============ */

.cs-checks,
.cs-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cs-checks li,
.cs-list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 10px;
	max-width: 70ch;
	line-height: 1.6;
}

.cs-checks li::before {
	content: '';
	position: absolute;
	left: 4px;
	top: .35em;
	width: 7px;
	height: 12px;
	border: solid var(--cs-cyan-dark);
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}

.cs-list li::before {
	content: '';
	position: absolute;
	left: 8px;
	top: .62em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cs-cyan-dark);
}

/* ============ Syllabus ============ */

.cs-modules {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--cs-border);
	border-radius: var(--cs-radius);
	overflow: hidden;
	background: #fff;
}

.cs-module + .cs-module {
	border-top: 1px solid var(--cs-line);
}

.cs-module summary,
.cs-module__row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 20px;
}

.cs-module summary {
	position: relative;
	padding-right: 56px;
	cursor: pointer;
	list-style: none;
	transition: background-color .15s;
}

.cs-module summary::-webkit-details-marker,
.cs-faq summary::-webkit-details-marker {
	display: none;
}

.cs-module summary::after {
	content: '';
	position: absolute;
	right: 24px;
	top: 50%;
	width: 9px;
	height: 9px;
	border: solid var(--cs-muted);
	border-width: 0 2px 2px 0;
	transform: translateY(-70%) rotate(45deg);
	transition: transform .15s;
}

.cs-module details[open] > summary::after {
	transform: translateY(-30%) rotate(-135deg);
}

.cs-module summary:hover {
	background: var(--cs-soft);
}

.cs-module details[open] > summary {
	background: var(--cs-tint-2);
	box-shadow: inset 3px 0 0 var(--cs-cyan);
}

.cs-module__num {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--cs-tint);
	color: var(--cs-link);
	font-size: 14px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.cs-module__title {
	font-weight: 600;
	color: var(--cs-navy);
	line-height: 1.45;
}

.cs-module__body {
	padding: 6px 24px 22px 68px;
	font-size: 15.5px;
	background: var(--cs-tint-2);
}

.cs-course .cs-module__sub {
	font-size: 15.5px;
	margin: 14px 0 6px;
}

.cs-module__body ul {
	margin: 0 0 0 18px;
	padding: 0;
}

.cs-module__body li {
	margin-bottom: 4px;
}

.cs-module__body li::marker {
	color: var(--cs-cyan-dark);
}

/* ============ Who it's for ============ */

.cs-who {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-top: 8px;
}

.cs-who__card {
	padding: 20px 22px;
	border: 1px solid var(--cs-border);
	border-radius: var(--cs-radius);
	background: #fff;
}

.cs-course .cs-who__card h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 17px;
	margin-bottom: 14px;
}

.cs-who__card h3 i {
	color: var(--cs-icon);
}

.cs-who__card .cs-list li {
	font-size: 15.5px;
}

.cs-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cs-chips li {
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--cs-tint);
	color: var(--cs-navy);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
}

/* ============ Certificate (text + sample certificate) ============ */

.cs-cert {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 26px 28px 28px;
	border-radius: var(--cs-radius);
	background: var(--cs-tint-2);
	border: 1px solid #cfe9f7;
}

.cs-course .cs-cert__intro {
	font-weight: 400;
	color: var(--cs-text);
	margin-bottom: 10px;
}

.cs-course .cs-cert .cs-section__note {
	margin-left: 0;
	margin-bottom: 8px;
}

.cs-cert .cs-checks li:last-child {
	margin-bottom: 0;
}

/* Change list #5: credential lead, perks and the "verify it here" link */
.cs-course .cs-cert__lead {
	margin: 0 0 12px;
	color: var(--cs-navy);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
}

.cs-h2__icon img {
	display: block;
	width: 22px !important;
	height: 22px !important;
}

/* "On your LinkedIn profile": the certificate as a Licenses & certifications entry, with this course's title */
.cs-cert__li {
	margin: 18px 0 0;
}

.cs-cert__li figcaption {
	margin-bottom: 8px;
	color: var(--cs-muted);
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.cs-cert__li-entry {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid var(--cs-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}

.cs-cert__li-logo {
	flex: 0 0 48px;
	width: 48px !important;
	height: 48px !important;
	padding: 6px;
	border: 1px solid var(--cs-line);
	border-radius: 8px;
	background: #fff;
	object-fit: contain;
}

.cs-cert__li-text {
	display: grid;
	gap: 2px;
	min-width: 0;
	color: var(--cs-text);
	font-size: 14.5px;
	line-height: 1.4;
}

.cs-cert__li-text strong {
	color: var(--cs-navy);
	font-size: 16px;
}

.cs-cert__li-meta {
	color: var(--cs-muted);
	font-size: 13.5px;
}

.cs-cert__li-btn {
	justify-self: start;
	margin-top: 8px;
	padding: 5px 14px;
	border: 1px solid #5b6676;
	border-radius: 999px;
	color: var(--cs-text);
	font-size: 13.5px;
	font-weight: 700;
}

.cs-cert__li-btn i {
	margin-left: 4px;
	font-size: 11px;
}

.cs-course .cs-cert__li-note {
	margin: 8px 0 0;
	color: var(--cs-muted);
	font-size: 13.5px;
	line-height: 1.5;
}

.cs-course .cs-cert__verify {
	margin: 16px 0 0;
	padding-top: 14px;
	border-top: 1px solid #cfe9f7;
	color: var(--cs-text);
}

.cs-cert__verify a {
	color: var(--cs-link);
	font-weight: 700;
	text-decoration: none;
}

.cs-cert__verify a:hover,
.cs-cert__verify a:focus-visible {
	text-decoration: underline;
}

.cs-cert__verify i {
	margin-left: 4px;
	font-size: 12px;
}

.cs-certprev {
	margin: 0;
	width: 100%;
	max-width: 640px;
	align-self: center;
}

.cs-certprev figcaption {
	margin-top: 12px;
	font-size: 13.5px;
	color: var(--cs-muted);
	text-align: center;
}

/* ============ FAQ ============ */

.cs-faqs {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cs-faq {
	border: 1px solid var(--cs-border);
	border-radius: 12px;
	background: #fff;
}

.cs-faq[open] {
	border-color: var(--cs-cyan-dark);
}

.cs-faq summary {
	position: relative;
	padding: 16px 60px 16px 20px;
	font-weight: 600;
	color: var(--cs-navy);
	cursor: pointer;
	list-style: none;
	line-height: 1.5;
}

.cs-faq summary::after {
	content: '+';
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--cs-tint);
	color: var(--cs-link);
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
}

.cs-faq[open] summary::after {
	content: '–';
	background: var(--cs-cyan);
	color: var(--cs-navy);
}

.cs-course .cs-faq p {
	padding: 0 20px 18px;
	margin: 0;
	font-size: 16px;
}

/* ============ Batches card ============ */

.cs-card {
	background: #fff;
	border: 1px solid var(--cs-border);
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
	overflow: hidden;
}

.cs-batches__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 24px;
	background: var(--cs-navy);
	border-bottom: 3px solid transparent;
	border-image: linear-gradient(90deg, #00cefc, #0071e5) 1;
}

.cs-course .cs-card__title {
	color: #fff;
	font-size: 19px;
}

.cs-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--cs-cyan);
	color: var(--cs-navy);
	font-weight: 700;
	font-size: 14px;
}

.cs-batches__body {
	padding: 8px 24px 22px;
}

.cs-batches__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cs-batch {
	padding: 14px 0;
	border-bottom: 1px solid var(--cs-line);
}

.cs-batch__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.cs-cal {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	width: 48px;
	border: 1px solid var(--cs-border);
	border-radius: 10px;
	overflow: hidden;
	text-align: center;
	background: #fff;
}

.cs-cal__m {
	background: var(--cs-cyan);
	color: var(--cs-navy);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.6;
	text-transform: uppercase;
}

.cs-cal__d {
	color: var(--cs-navy);
	font-family: 'Nunito Sans', sans-serif;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.5;
}

.cs-batch__when {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
}

.cs-batch__date {
	font-weight: 700;
	color: var(--cs-navy);
	font-size: 15.5px;
	line-height: 1.35;
}

.cs-batch__meta {
	font-size: 13.5px;
	color: var(--cs-muted);
	line-height: 1.45;
}

.cs-slots {
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.cs-slot {
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 6px 6px 6px 12px;
	margin-bottom: 6px;
	border-radius: 10px;
	background: var(--cs-soft);
	border: 1px solid var(--cs-line);
}

.cs-slot__time {
	white-space: nowrap;
	font-size: 14px;
	font-weight: 600;
	color: var(--cs-navy);
	font-variant-numeric: tabular-nums;
}

.cs-slot__time .fa-clock {
	color: var(--cs-icon);
	margin-right: 4px;
}

.cs-batches__more summary {
	padding: 12px 0 4px;
	color: var(--cs-link);
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
}

.cs-batches__empty {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 0 6px;
}

.cs-batches__empty-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--cs-tint);
	color: var(--cs-icon);
	font-size: 18px;
}

.cs-course .cs-batches__empty p {
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}

.cs-course .cs-batches__last {
	font-size: 13.5px;
	color: var(--cs-muted);
	margin: 10px 0 16px 58px;
}

.cs-batches__help {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--cs-line);
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	font-size: 15px;
}

.cs-course .cs-batches__help p {
	flex-basis: 100%;
	margin: 0;
	color: var(--cs-muted);
	font-size: 14px;
}

.cs-course .cs-batches__help a {
	color: var(--cs-navy);
	font-weight: 700;
	text-decoration: none;
}

.cs-course .cs-batches__help a:hover {
	text-decoration: underline;
}

.cs-batches__help .fa-phone {
	color: var(--cs-icon);
}

/* ============ Enquiry band ============ */

.cs-enquire {
	background: var(--cs-tint);
	padding: 72px 0;
	scroll-margin-top: calc(var(--cs-sticky-top) + 56px);
}

.cs-enquire__box {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(15, 23, 42, .1);
}

.cs-enquire__aside {
	padding: 40px 36px;
	background: var(--cs-navy);
	color: #cbd5e1;
}

.cs-course .cs-enquire__aside h2 {
	color: #fff;
	font-size: 28px;
	margin-bottom: 14px;
}

.cs-course .cs-enquire__aside p {
	color: #cbd5e1;
	font-size: 16px;
	line-height: 1.65;
}

.cs-course .cs-enquire__course {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 6px 0 26px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(0, 200, 255, .12);
	border: 1px solid rgba(0, 200, 255, .35);
	color: #fff;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.35;
}

.cs-enquire__course i {
	color: var(--cs-cyan);
}

.cs-contact {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.cs-contact li,
.cs-course .cs-contact a {
	display: flex;
	align-items: center;
	gap: 14px;
	color: #fff;
	font-size: 15.5px;
	line-height: 1.4;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.cs-course .cs-contact a:hover {
	color: var(--cs-cyan);
}

.cs-contact__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: var(--cs-cyan);
	font-size: 16px;
}

.cs-contact__icon .fa-whatsapp {
	font-size: 19px;
}

.cs-enquire__form {
	padding: 40px 40px 36px;
}

/* ---- Form fields (Contact Form 7 markup) ---- */

.cs-batchpick,
.cs-form .cs-field {
	margin-bottom: 16px;
}

.cs-batchpick label,
.cs-form .cs-flabel {
	display: block;
	margin-bottom: 6px;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--cs-navy);
}

.cs-batchpick select,
.cs-form input[type="text"],
.cs-form input[type="email"],
.cs-form input[type="tel"],
.cs-form select,
.cs-form textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid #b9c6d6;
	border-radius: 10px;
	background: #fff;
	color: var(--cs-navy);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	box-shadow: none;
}

.cs-form textarea {
	min-height: 110px;
	height: 110px;
	resize: vertical;
}

.cs-batchpick select:focus,
.cs-form input:focus,
.cs-form select:focus,
.cs-form textarea:focus {
	border-color: var(--cs-cyan-dark);
	outline: 3px solid rgba(0, 177, 225, .25);
	outline-offset: 0;
}

.cs-form ::placeholder {
	color: #7b8594;
}

.cs-form .in-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
	margin: 0;
}

.cs-form .in-grid:has([data-name="message"]) {
	grid-template-columns: 1fr;
}

.cs-form .wpcf7-form-control-wrap {
	display: block;
}

.cs-form .in-grid > .wpcf7-form-control-wrap {
	margin-bottom: 16px;
}

.cs-form .cs-field .wpcf7-form-control-wrap {
	margin: 0;
}

.cs-form .wpcf7-not-valid-tip {
	font-size: 14px;
	margin-top: 4px;
	color: #b42318;
}

.cs-form input[type="submit"] {
	width: 100%;
	min-height: 52px;
	padding: 12px 32px;
	border: 0;
	border-radius: 999px;
	background: var(--cs-cyan);
	color: var(--cs-navy);
	font-family: 'Nunito Sans', sans-serif;
	font-size: 16.5px;
	font-weight: 700;
	cursor: pointer;
}

.cs-form input[type="submit"]:hover {
	background: var(--cs-blue);
	color: #fff;
}

.cs-form .wpcf7-response-output {
	margin: 16px 0 0 !important;
	border-radius: 8px;
	font-size: 15px;
}

.cs-form .wpcf7-spinner {
	vertical-align: middle;
}

/* JS swaps the two "Course Schedule" selects for the single Preferred batch picker. */
.cs-form .in-grid.cs-hidden {
	display: none;
}

/* ============ Related ============ */

.cs-related {
	background: #fff;
	padding: 64px 0 72px;
}

.cs-course .cs-related h2 {
	font-size: 26px;
	margin-bottom: 24px;
}

.cs-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cs-course .cs-rcard__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--cs-border);
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	transition: border-color .15s, box-shadow .15s;
}

.cs-course .cs-rcard__link:hover {
	border-color: var(--cs-cyan-dark);
	box-shadow: 0 12px 28px rgba(15, 23, 42, .1);
}

.cs-rcard__img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.cs-rcard__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 20px;
	flex: 1;
}

.cs-rcard__cat {
	align-self: flex-start;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--cs-tint);
	color: var(--cs-link);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.5;
}

.cs-rcard__title {
	font-family: 'Nunito Sans', sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: var(--cs-navy);
	line-height: 1.35;
}

.cs-rcard__text {
	font-size: 14.5px;
	color: var(--cs-text);
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cs-rcard__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--cs-line);
	font-size: 13.5px;
	color: var(--cs-muted);
}

.cs-rcard__meta .fa-calendar {
	color: var(--cs-icon);
}

.cs-rcard__go {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--cs-tint);
	color: var(--cs-link);
	font-size: 13px;
	transition: background-color .15s;
}

.cs-rcard__link:hover .cs-rcard__go {
	background: var(--cs-cyan);
	color: var(--cs-navy);
}

/* ============ Mobile bar ============ */

.cs-mobilebar {
	display: none;
}

/* The Chaty WhatsApp widget auto-opens over the schedule and content, and its button sits on top of the
   mobile action bar. Course pages already offer WhatsApp in the hero, the batches card, the enquiry panel and
   the mobile bar, so the widget is hidden here only (it stays on every other page). Delete to bring it back. */
body.single-courses .chaty,
body.single-courses .chaty-outer-forms {
	display: none !important;
}

/* ============ Responsive ============ */

@media (max-width: 1024px) {
	.cs-layout {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 36px;
	}

	.cs-hero__grid {
		gap: 36px;
	}

	.cs-enquire__box {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	}

	.cs-enquire__aside,
	.cs-enquire__form {
		padding: 32px 28px;
	}

}

@media (max-width: 900px) {
	.cs-tabs {
		display: none;
	}

	.cs-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		padding-bottom: 40px;
	}

	.cs-main,
	.cs-side {
		grid-column: 1;
		grid-row: auto;
	}

	.cs-side {
		position: static;
		margin-top: 28px;
	}

	.cs-hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Decorative stock photos: skip them on small screens so the facts and buttons stay in view. */
	.cs-hero__media {
		display: none;
	}

	.cs-enquire {
		padding: 48px 0;
	}

	.cs-enquire__box {
		grid-template-columns: minmax(0, 1fr);
	}

	.cs-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cs-mobilebar {
		display: flex;
		gap: 10px;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: #fff;
		border-top: 1px solid #d1dae5;
		box-shadow: 0 -4px 14px rgba(15, 23, 42, .08);
		transition: transform .2s;
	}

	.cs-mobilebar.is-hidden {
		transform: translateY(110%);
	}

	.cs-mobilebar .cs-btn--primary {
		flex: 1;
	}

	.cs-mobilebar .cs-btn--quiet {
		flex: 0 0 48px;
		padding: 0;
		font-size: 22px;
	}

	body.single-courses {
		padding-bottom: 72px;
	}
}

@media (max-width: 600px) {
	.cs-wrap {
		padding: 0 16px;
	}

	.cs-hero {
		padding: 26px 0 32px;
	}

	.cs-course .cs-hero__lead {
		font-size: 17px;
		margin-bottom: 22px;
	}

	.cs-facts {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		margin-bottom: 22px;
	}

	.cs-facts__item {
		padding: 10px 12px;
	}

	.cs-hero__actions .cs-btn {
		flex: 1 1 100%;
	}

	.cs-batches__top {
		padding: 16px 20px;
	}

	.cs-batches__body {
		padding: 6px 20px 20px;
	}

	.cs-section {
		padding: 32px 0;
	}

	.cs-course .cs-h2,
	.cs-course .cs-related h2 {
		font-size: 22px;
	}

	.cs-h2__icon {
		width: 38px;
		height: 38px;
		font-size: 16px;
	}

	.cs-course .cs-section__note {
		margin-left: 0;
	}

	.cs-tiles {
		grid-template-columns: 1fr;
	}

	.cs-cert {
		padding: 22px 16px;
		gap: 18px;
	}

	.cs-enquire__aside,
	.cs-enquire__form {
		padding: 26px 20px;
	}

	.cs-course .cs-enquire__aside h2 {
		font-size: 24px;
	}

	.cs-form .in-grid,
	.cs-related__grid {
		grid-template-columns: 1fr;
	}

	.cs-module summary,
	.cs-module__row {
		padding: 12px 14px;
		gap: 12px;
	}

	.cs-module summary {
		padding-right: 44px;
	}

	.cs-module summary::after {
		right: 18px;
	}

	.cs-module__body {
		padding: 4px 16px 18px 16px;
	}

	.cs-faq summary {
		padding: 14px 54px 14px 16px;
	}

	.cs-course .cs-faq p {
		padding: 0 16px 16px;
	}
}
