/* Confirmed India course sessions and shared upcoming-course cards. */
.gha-upcoming-courses {
	box-sizing: border-box;
	width: 100%;
	max-width: 1440px !important;
	margin: clamp(42px, 6vw, 80px) auto !important;
	padding: clamp(24px, 4vw, 52px);
	border: 1px solid #e5dcc9;
	border-radius: 24px;
	background: #faf7f0;
}

.gha-page-india .gha-upcoming-courses {
	width: calc(100% - 48px);
}

.gha-upcoming-heading {
	margin-bottom: 32px;
	text-align: center;
}

.gha-upcoming-heading h2 {
	margin: .4rem 0 1rem;
	font-size: clamp(2rem, 3.5vw, 3.2rem);
	letter-spacing: -.035em;
}

.gha-upcoming-heading > p:last-child {
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
	text-align: left;
}

.gha-upcoming-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(22px, 3vw, 36px);
}

.gha-upcoming-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid #e5dcc9;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(21,39,53,.07);
	text-align: left;
}

.gha-upcoming-card figure {
	height: clamp(170px, 18vw, 235px);
	margin: 0;
	overflow: hidden;
}

.gha-upcoming-card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gha-upcoming-copy {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(22px, 2.5vw, 32px);
}

.gha-upcoming-copy h3 {
	margin: 0 0 1rem;
	font-size: clamp(1.35rem, 2vw, 1.8rem);
	line-height: 1.2;
}

.gha-upcoming-copy h3 a {
	color: #152735;
}

.gha-upcoming-copy > p {
	margin: 0 0 1rem;
	color: #46555e;
	line-height: 1.65;
}

.gha-course-date {
	margin: 0 0 1.1rem;
	color: #785313 !important;
	font-weight: 750;
}

.gha-course-date time {
	display: block;
}

.gha-course-date span {
	display: inline-block;
	margin-top: .35rem;
	padding: .2rem .6rem;
	border-radius: 5px;
	background: #f5ebd5;
	font-size: .8rem;
}

.gha-upcoming-copy .gha-upcoming-faculty {
	font-size: .9rem;
}

.gha-upcoming-link {
	margin-top: auto;
	padding-top: .65rem;
	color: #785313;
	font-weight: 750;
}

.gha-upcoming-note {
	margin: 26px 0 0;
	color: #52616a;
	font-size: .9rem;
	text-align: left;
}

.gha-course-session {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px;
	margin: 0 0 2rem;
	padding: clamp(24px, 4vw, 40px);
	border-top: 4px solid #b1842f;
	border-radius: 14px;
	background: #152735;
	color: #fff;
	text-align: left;
}

.gha-course-session .gha-eyebrow {
	color: #d7b875;
}

.gha-course-session h2 {
	margin: .5rem 0 1rem;
	color: #fff;
	font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.gha-course-session h2 span {
	display: block;
	margin-top: .5rem;
	color: #e7cc94;
	font-size: 1.1rem;
}

.gha-course-session p {
	margin: .7rem 0 0;
	color: #fff;
}

.gha-course-session .gha-session-note {
	color: #c7d4dc;
	font-size: .9rem;
}

.gha-session-action {
	display: inline-flex;
	justify-content: center;
	padding: 14px 22px;
	border-radius: 8px;
	background: #e7cc94;
	color: #152735 !important;
	font-weight: 750;
	text-decoration: none;
}

#gha-interest-heading {
	scroll-margin-top: 30px;
}

@media (max-width: 700px) {
	.gha-upcoming-grid,
	.gha-course-session {
		grid-template-columns: 1fr;
	}
	.gha-upcoming-courses {
		padding: 22px 18px;
		border-radius: 16px;
	}
	.gha-page-india .gha-upcoming-courses {
		width: calc(100% - 32px);
	}
	.gha-upcoming-card figure {
		height: auto;
		aspect-ratio: 11 / 6;
	}
}

.gha-course-facts {
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 0 2.5rem;
	background: #ded8ca;
	border: 1px solid #ded8ca;
	border-radius: 12px;
	overflow: hidden;
}

.gha-course-visual {
	align-items: flex-end;
	background-position: center;
	background-size: cover;
	border-radius: 16px;
	display: flex;
	height: clamp(300px, 40vw, 500px);
	margin-bottom: 1.5rem;
	overflow: hidden;
	position: relative;
}

.gha-course-visual::after {
	background: linear-gradient(transparent 48%, rgba(10, 27, 40, .84));
	content: "";
	inset: 0;
	position: absolute;
}

.gha-course-visual span {
	color: #fff;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .1em;
	padding: 28px 32px;
	position: relative;
	text-transform: uppercase;
	z-index: 1;
}

.gha-course-visual-healthcare-professionals,
.gha-course-card-healthcare-professionals .gha-record-card-image { background-image: url("../../../themes/gha-international/assets/images/programme-healthcare-professionals.png"); }
.gha-course-visual-life-support,
.gha-course-card-life-support .gha-record-card-image { background-image: url("../../../themes/gha-international/assets/images/programme-life-support.png"); }
.gha-course-visual-public-health,
.gha-course-card-public-health .gha-record-card-image { background-image: url("../../../themes/gha-international/assets/images/programme-public-health.png"); }

.gha-register-interest-course main .wp-block-columns > .wp-block-column:last-child:has(.llms-syllabus-wrapper) {
	display: none;
}

.gha-register-interest-course .llms-syllabus-wrapper,
.gha-register-interest-course .llms-instructor-info,
.gha-register-interest-course .llms-meta-info {
	display: none !important;
}

.gha-register-interest-course main .wp-block-columns > .wp-block-column:first-child {
	flex-basis: 100% !important;
	max-width: none;
	width: 100%;
}

.single-course .entry-content > .gha-course-visual,
.single-course .entry-content > .gha-course-facts,
.single-course .entry-content > .gha-course-faculty,
.single-course .entry-content > .gha-interest {
	box-sizing: border-box;
	max-width: none !important;
	width: 100%;
}

.single-course .entry-content > .gha-breadcrumbs,
.single-course .entry-content > p,
.single-course .entry-content > h2,
.single-course .entry-content > h3,
.single-course .entry-content > ul,
.single-course .entry-content > ol {
	max-width: 900px;
}

.gha-course-facts > div {
	background: #faf7f0;
	padding: 1rem 1.25rem;
}

.gha-course-facts dt {
	color: #785313;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gha-course-facts dd {
	margin: 0.3rem 0 0;
}

.gha-interest {
	margin-top: 3rem;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: #f3f0e9;
	border-left: 6px solid #b1842f;
	border-radius: 14px;
}

.gha-form-grid {
	display: grid;
	gap: 0 1.25rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gha-interest label:not(.gha-consent label) {
	display: block;
	font-weight: 700;
}

.gha-interest input[type="text"],
.gha-interest input[type="email"],
.gha-interest input[type="tel"],
.gha-interest textarea {
	box-sizing: border-box;
	width: 100%;
	margin-top: 0.35rem;
	padding: 0.75rem;
	border: 1px solid #777;
	border-radius: 6px;
	font: inherit;
}

.gha-form-note {
	font-size: 0.875rem;
}

.gha-form-notice {
	margin: 1rem 0;
	padding: 1rem;
	border-left: 5px solid;
}

.gha-form-success { background: #edf7f1; border-color: #287a51; }
.gha-form-error { background: #fff0ee; border-color: #b42318; }
.gha-honeypot { position: absolute; left: -10000px; }

.gha-record-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 2rem;
}

.gha-directory-group + .gha-directory-group {
	border-top: 1px solid #d8cfbd;
	margin-top: clamp(3.5rem, 7vw, 6rem);
	padding-top: clamp(3rem, 6vw, 5rem);
}

.gha-directory-intro {
	color: #596168;
	max-width: 760px;
}

.gha-record-card {
	background: #fff;
	border: 1px solid #e4ded1;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(21, 39, 53, 0.1);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}

.gha-record-card:hover { box-shadow: 0 18px 40px rgba(21, 39, 53, 0.16); transform: translateY(-4px); }
.gha-record-card-copy { padding: 1.5rem; }
.gha-record-card-image { background-position: center; background-size: cover; display: block; height: 220px; }

.gha-record-card h3 { margin-top: 0.35rem; }
.gha-record-meta { color: #785313; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

.gha-course-filters {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	justify-content: space-between;
	margin: 2.5rem 0 1rem;
}

.gha-course-filter-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: .65rem;
}

.gha-course-filter-buttons button {
	background: #fff;
	border: 2px solid #9a6e1f;
	border-radius: 999px;
	color: #553a0c;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: .7rem 1.15rem;
}

.gha-course-filter-buttons button:hover,
.gha-course-filter-buttons button.is-active {
	background: #9a6e1f;
	color: #fff;
}

.gha-course-filter-buttons button:focus-visible {
	outline: 3px solid #d7b875;
	outline-offset: 3px;
}

.gha-course-filter-status {
	color: #596168;
	font-size: .9rem;
	margin: 0;
}

.gha-course-audience-badge {
	border-radius: 999px;
	display: inline-block;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .05em;
	margin: 0 0 .8rem;
	padding: .4rem .7rem;
	text-transform: uppercase;
}

.gha-course-audience-hcp {
	background: #e4edf2;
	color: #15394f;
}

.gha-course-audience-other {
	background: #f5ebd5;
	color: #664609;
}

.gha-filterable-course-grid > [hidden] {
	display: none;
}

.gha-record-card:not(.gha-course-card) { border-top: 6px solid #b1842f; padding: 1.5rem; position: relative; }
.gha-record-card:not(.gha-course-card)::before { color: rgba(177,132,47,.18); content: "GHA"; float: right; font-size: 2rem; font-weight: 800; letter-spacing: -.08em; }

.gha-record-card.gha-faculty-card { padding: 0; }
.gha-record-card.gha-faculty-card::before { display: none; }

.gha-faculty-card.has-profile-link {
	position: relative;
	transition: transform .2s ease, box-shadow .2s ease;
}

.gha-faculty-card.has-profile-link:hover,
.gha-faculty-card.has-profile-link:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 18px 38px rgba(20, 48, 45, .14);
}

.gha-faculty-card.has-profile-link h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}

.gha-faculty-profile-link {
	display: flex;
	align-items: center;
	gap: .45rem;
	margin-top: auto !important;
	padding-top: .7rem;
	color: #0f4c46;
	font-weight: 750;
}

.gha-faculty-profile-link span {
	transition: transform .2s ease;
}

.gha-faculty-card.has-profile-link:hover .gha-faculty-profile-link span {
	transform: translateX(4px);
}

.gha-faculty-photo {
	background: #e9e2d4;
	display: block;
	height: clamp(230px, 28vw, 330px);
	overflow: hidden;
}

.gha-faculty-photo-image {
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

/* Retain the natural headroom in Dr Narain's square portrait. */
.gha-faculty-photo-image[src*="Dr-Rajay-Narain.webp"] {
	object-position: center top;
}

.gha-faculty-photo-placeholder {
	align-items: center;
	background: linear-gradient(145deg, #203f53, #152735);
	color: #d7b875;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.gha-faculty-photo-placeholder span {
	font-size: 3rem;
	font-weight: 800;
	letter-spacing: -.08em;
}

.gha-faculty-photo-placeholder small {
	color: #fff;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.gha-faculty-profile-placeholder {
	border-radius: 15px;
	height: min(58vw, 520px);
	margin-inline: auto;
	max-width: 920px;
}

.gha-course-faculty {
	margin-top: clamp(3.5rem, 7vw, 6rem);
}

.gha-course-faculty > h2 {
	margin-top: .35rem;
}

.gha-course-faculty-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(0, 1fr);
	margin-top: 1.75rem;
	max-width: 900px;
}

.gha-course-faculty-grid.is-single {
	grid-template-columns: minmax(0, 1fr);
}

.gha-course-faculty-card {
	background: #f3f0e9;
	border: 1px solid #dfd6c5;
	border-radius: 16px;
	display: grid;
	grid-template-columns: minmax(150px, 32%) minmax(0, 1fr);
	overflow: hidden;
}

.gha-course-faculty-photo {
	background: #e9e2d4;
	min-height: 230px;
}

.gha-course-faculty-image {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.gha-course-faculty-placeholder {
	align-items: center;
	background: linear-gradient(145deg, #203f53, #152735);
	color: #d7b875;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	text-align: center;
}

.gha-course-faculty-placeholder span {
	font-size: 2.5rem;
	font-weight: 800;
	letter-spacing: -.08em;
}

.gha-course-faculty-placeholder small {
	color: #fff;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.gha-course-faculty-copy {
	padding: clamp(1.35rem, 3vw, 2rem);
}

.gha-course-faculty-copy h3 {
	font-size: clamp(1.3rem, 2.4vw, 1.75rem);
	margin: .35rem 0 .75rem;
}

@media (max-width: 1050px) and (min-width: 701px) {
	.gha-record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
	.gha-course-facts,
	.gha-form-grid,
	.gha-record-grid { grid-template-columns: 1fr; }
	.gha-course-visual { height: 290px; }
	.gha-course-visual span { padding: 20px; }
	.gha-course-faculty-grid { grid-template-columns: 1fr; }
	.gha-course-faculty-card { grid-template-columns: 1fr; }
	.gha-course-faculty-photo { height: 280px; }
	.gha-course-filters { align-items: flex-start; flex-direction: column; }
	.gha-course-filter-buttons { width: 100%; }
	.gha-course-filter-buttons button { flex: 1 1 100%; }
}

/* Course overview: keep the session, image and primary action together. */
.single-course .entry-content > .gha-course-overview,
.single-course .entry-content > .gha-course-jump-links {
 max-width: none !important; width: 100%; box-sizing: border-box;
}
.gha-course-jump-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 24px; }
.gha-course-jump-links a { padding: 10px 18px; border: 1px solid #d8cfbd; border-radius: 8px; color: #152735; background: #faf7f0; font-weight: 700; text-decoration: none; }
.gha-course-jump-links a:last-child { background: #152735; color: #fff; }
.gha-course-jump-links a:focus-visible, .gha-session-action:focus-visible { outline: 3px solid #b1842f; outline-offset: 4px; }
.gha-course-overview { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); background: #152735; border-radius: 16px; overflow: hidden; margin-bottom: 28px; }
.gha-course-overview .gha-course-visual { height: auto; min-height: 340px; margin: 0; border-radius: 0; }
.gha-course-overview .gha-course-session { display: flex; flex-direction: column; align-items: stretch; gap: 20px; margin: 0; padding: clamp(24px,3vw,40px); border-radius: 0; }
.gha-course-overview .gha-course-session h2 { font-size: clamp(1.6rem,2.4vw,2.2rem); }
.gha-course-overview .gha-course-session p { line-height: 1.55; }
.gha-course-overview .gha-session-action { align-self: flex-start; }
.single-course .entry-content > .gha-course-visual { height: clamp(220px,25vw,340px); }
.single-course .gha-course-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 32px; }
.single-course .gha-course-facts > div { border-radius: 10px; border: 1px solid #e4ded1; }
#gha-course-details, #gha-course-faculty-heading { scroll-margin-top: 50px; }
@media(max-width:900px) {
 .gha-course-overview { grid-template-columns: 1fr; }
 .gha-course-overview .gha-course-visual { height: 240px; min-height: 0; }
 .gha-course-overview .gha-course-session { order: -1; }
 .single-course .gha-course-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
 .gha-course-jump-links { gap: 8px; }
 .gha-course-jump-links a { flex: 1 1 auto; text-align: center; padding: 10px 12px; }
 .gha-course-overview .gha-course-visual { height: 180px; }
 .gha-course-overview .gha-session-action { align-self: stretch; }
 .single-course .gha-course-facts { grid-template-columns: 1fr; }
}
.single-course .entry-content > .gha-breadcrumbs { max-width: none !important; width: 100%; }
.single-course .gha-breadcrumbs ol { justify-content: flex-start; }
.single-course .gha-course-facts { background: transparent; border: 0; }
