/**
 * Single Subject detail page styles — Figma node 2090:4149.
 * Sections render inside the 1120px .site-content wrapper; the testimonial
 * breaks full-bleed.
 */

/* Figma stacks full-width bands contiguously; the vertical rhythm comes from
   each section's own spacing, not one uniform gap. So gap is 0 here and every
   section below sets the margin-top that matches its Figma band padding. */
.gh-subject {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* Page base: the subject page sits on the cream colour (Figma #faf2eb); every
   section below the hero/people band shows this through. Scoped to the subject
   body class so only this template is affected. */
body.single-subject {
	background-color: var(--gh-accent);
}

/* Hero + People share one full-bleed background-image band; everything below
   sits on the cream page base. The image URL is set inline on the element (PHP
   builds an environment-correct uploads URL); the rest of the background is set
   here with longhand props so the inline background-image isn't overridden. */
.gh-subject-top {
	position: relative;
	left: 50%;
	width: 100vw;
	margin-left: -50vw;
	margin-top: calc(-1 * var(--gh-header-h, 64px));
	padding-top: var(--gh-header-h, 64px);
	background-color: var(--gh-accent); /* fade target / fallback under the image */
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	padding-bottom: 96px;
}

/* Re-constrain the band's content back to the 1120px grid (the band itself is
   full-bleed only for the background). Mirrors .site-content. */
.gh-subject-top__inner {
	max-width: 1168px;
	margin: 0 auto;
	padding: 0 24px;
}

/* FAQ + CTA share a full-bleed WHITE band (Figma node 3836:4999), distinct from
   the cream page base behind the content rows / trusted band above it. */
.gh-subject-bottom {
	position: relative;
	left: 50%;
	width: 100vw;
	margin-left: -50vw;
	background-color: var(--gh-white);
}

.gh-subject-bottom__inner {
	max-width: 1168px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ===================== Hero ===================== */
.gh-subject-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding-top: 120px;
	text-align: center;
}

.gh-subject-hero__title {
	margin: 0;
	max-width: 1120px;
	font-family: 'schibsted_grotesk_demi', Arial, sans-serif;
	font-weight: normal;
	font-size: 40px;
	line-height: 48px;
	color: var(--gh-text-primary);
}

.gh-subject-hero__em {
	font-family: 'schibsted_grotesk_regular', Arial, sans-serif;
	font-style: italic;
	font-weight: normal;
}

/* Title span wrapped in [[double brackets]] in the ACF field — the subject name
   rendered in the group accent colour (set per page via --gh-hero-accent in
   single-subject.php; default #832DAD). */
.gh-subject-hero__accent {
	color: var(--gh-hero-accent, #832DAD);
}

.gh-subject-hero__subtitle {
	margin: 0;
	max-width: 760px;
	font-family: 'avenir_next_worldmedium', 'Verdana';
	font-weight: normal;
	font-size: 16px;
	line-height: 28px;
	color: var(--gh-text-primary); /* Figma: subtitle is #333 (primary), not the muted secondary */
}

.gh-subject-hero__pills {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	display:none;
}

.gh-subject-hero__pill {
	padding: 8px 12px;
	border-radius: 8px;
	background: #fff;
	font-family: 'avenir_next_worldmedium', 'Verdana';
	font-weight: normal;
	font-size: 14px;
	line-height: 24px;
	color: var(--gh-text-primary);
	white-space: nowrap;
}

/* Numbers wrapped in *asterisks* in the ACF pill text render in demi. */
.gh-subject-hero__pill-num {
	font-family: 'avenir_next_worlddemi', 'Verdana';
}

/* ===================== People ===================== */
/* Now a white rounded card floating on the hero image band (Figma node
   3836:6475): two-column header (title left, description right) + a row of
   person cards. */
.gh-subject-people {
	margin-top: 120px;
	display: flex;
	flex-direction: column;
	gap: 40px;
	background: var(--gh-white);
	border-radius: 16px;
	padding: 56px 48px 48px;
}

/* Figma: the white People card is 1216px wide — 48px wider than the 1120px hero
   text column on each side — so its 48px padding sits OUTSIDE that column and the
   inner content (header + cards) is a full 1120px, matching the hero. Break the
   card out by 48px per side. Only ≥1216px, where there's room for the breakout
   without causing horizontal scroll. */
@media (min-width: 1216px) {
	.gh-subject-people {
		margin-left: -48px;
		margin-right: -48px;
	}
}

/* Header is centred (title + subtitle stacked), Figma nodes 4076:7562 etc. */
.gh-subject-people__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
}

.gh-subject-people__title {
	margin: 0;
	font-family: 'schibsted_grotesk_demi', Arial, sans-serif;
	font-weight: normal;
	font-size: 32px;
	line-height: 40px;
	color: var(--gh-text-primary);
}

.gh-subject-people__subtitle {
	margin: 0;
	/* max-width: 760px; */
	text-align: center;
	font-family: 'avenir_next_worldmedium', 'Verdana';
	font-weight: normal;
	font-size: 16px;
	line-height: 28px;
	color: var(--gh-text-secondary);
}

/* The grid layout depends on how many people there are — see the per-count
   rules below. Column gap 32, row gap 40 (Figma). Cards stack 1-up on mobile;
   the desktop layouts kick in at ≥768px. */
.gh-subject-people__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 32px;
	row-gap: 40px;
}

.gh-subject-people__card {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%; /* mobile: one per row; desktop widths set per count below */
}

.gh-subject-people__photo {
	aspect-ratio: 1 / 1; /* square by default (3-, 4-, 6-up); 2-up overrides to landscape */
	border-radius: 16px;
	overflow: hidden;
	background: #fff8e5; /* flat yellow/950 (Figma) — placeholder no longer gradient */
}

/* ---- People layouts by count (Figma 4076:10387 [2 authors] / 4076:10609 [5
   authors]). Every card is a 352px square photo; column gap 32px, row gap 40px.
   At the 1120px content width the default 3-up width resolves to exactly 352px,
   and flex-wrap + justify-center centres any short final row — so 2 authors
   render as a centred pair and 5 authors as a 3-up row above a centred pair,
   both straight out of the default rule. ---- */
@media (min-width: 768px) {
	/* Default = 3-up square (covers 2, 3, 5, 6 people, plus 1 / 7+ fallbacks). */
	.gh-subject-people__card {
		width: calc((100% - 64px) / 3);
	}

	/* 4 people: 4-up, square photos. */
	.gh-subject-people--4 .gh-subject-people__card {
		width: calc((100% - 96px) / 4);
	}
}

.gh-subject-people__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gh-subject-people__meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.gh-subject-people__name {
	margin: 0;
	font-family: 'schibsted_grotesk_demi', Arial, sans-serif;
	font-weight: normal;
	font-size: 24px;
	line-height: 32px;
	color: var(--gh-text-primary);
}

.gh-subject-people__role {
	margin: 0;
	font-family: 'avenir_next_worldmedium', 'Verdana';
	font-weight: normal;
	font-size: 14px;
	line-height: 24px;
	color: var(--gh-text-secondary);
}

/* ===================== Content + image rows ===================== */
.gh-subject-content {
	position: relative;
	margin-top: 0; /* sits directly below the gradient band; the band already has 96px gradient padding-bottom */
	padding: 144px 0;
	display: flex;
	flex-direction: column;
	gap: 144px;
}

/* Full-bleed white background behind the third section. The rows stay in the
   1120 column; only this band paints edge to edge. */
.gh-subject-content::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background: var(--gh-white);
}

.gh-subject-content__row {
	display: flex;
	align-items: stretch;
	gap: 32px;
}

/* Figma alternates the rows: odd rows are text-left / image-right, even rows
   flip to image-left / text-right. DOM order is always text then media, so
   row-reverse on even rows puts the image first. */
.gh-subject-content__row:nth-of-type(even) {
	flex-direction: row-reverse;
}

.gh-subject-content__text {
	flex: 0 0 375px;
	width: 375px;
	display: flex;
	flex-direction: column;
	/* justify-content: space-between; */
	gap: 20px;
}
.gh-subject-content__tag {
	align-self: flex-start;
	padding: 4px 8px;
	border-radius: 4px;
	font-family: 'avenir_next_worlddemi', 'Verdana';
	font-weight: normal;
	font-size: 11px;
	line-height: 20px;
	white-space: nowrap;
}

.gh-subject-content__tag--1 {
	background: linear-gradient(110.49deg, #ffeebf 13.9%, #ffdb7f 160.3%);
	color: #723500;
}

.gh-subject-content__tag--2 {
	background: linear-gradient(111.45deg, #bffbfb 17.2%, #82e8d3 164.2%);
	color: #004d37;
}

.gh-subject-content__tag--3 {
	background: linear-gradient(101.93deg, #ffdae4 8.9%, #ffb5c9 135.4%);
	color: #8a064c;
}

.gh-subject-content__head {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gh-subject-content__title {
	margin: 0;
	font-family: 'schibsted_grotesk_demi', Arial, sans-serif;
	font-weight: normal;
	font-size: 32px;
	line-height: 40px;
	color: var(--gh-text-primary);
}

.gh-subject-content__subtitle {
	margin: 0;
	font-family: 'avenir_next_worldmedium', 'Verdana';
	font-weight: normal;
	font-size: 14px;
	line-height: 24px;
	color: var(--gh-text-secondary);
}

.gh-subject-content__bullets {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gh-subject-content__bullets li {
	position: relative;
	padding-left: 18px;
	font-family: 'avenir_next_worldmedium', 'Verdana';
	font-weight: normal;
	font-size: 14px;
	line-height: 24px;
	color: var(--gh-text-secondary);
}

.gh-subject-content__bullets li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 9px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--gh-text-secondary);
}

.gh-subject-content__btn {
	align-self: flex-start;
	padding: 13px 16px;
	border: 1px solid var(--gh-text-primary);
	border-radius: 8px;
	background: var(--gh-white);
	font-family: 'avenir_next_worlddemi', 'Verdana';
	font-weight: normal;
	font-size: 16px;
	line-height: 24px;
	color: var(--gh-text-primary);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	display: none;;
}

.gh-subject-content__btn:hover,
.gh-subject-content__btn:focus-visible {
	background: var(--gh-text-primary);
	border-color: var(--gh-text-primary);
	color: var(--gh-white);
}

.gh-subject-content__media {
	flex: 1 1 auto;
	min-width: 0;
	border-radius: 16px;
	overflow: hidden;
}

.gh-subject-content__media img {
	display: block;
	width: 100%;
	height: 100%;
	/* object-fit: cover; */
}

/* ===================== Testimonial (full-bleed dark) ===================== */
/* Section is currently HIDDEN (see the display:none rule below) — the markup
   and styles are kept so it can be re-enabled by removing that one rule. */
.gh-subject-testimonial {
	margin-top: 144px;
	position: relative;
	left: 50%;
	width: 100vw;
	margin-left: -50vw;
	background: var(--gh-green-dark);
	padding: 80px 160px 96px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 64px;
}

.gh-subject-testimonial__title {
	margin: 0;
	font-family: 'schibsted_grotesk_demi', Arial, sans-serif;
	font-weight: normal;
	font-size: 32px;
	line-height: 40px;
	color: var(--gh-white);
	text-align: center;
}

.gh-subject-testimonial__card {
	width: 100%;
	max-width: 1120px;
	box-sizing: border-box;
	background: var(--gh-white);
	border-radius: 24px;
	padding: 48px 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
}

.gh-subject-testimonial__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.gh-subject-testimonial__quote {
	margin: 0;
	font-family: 'schibsted_grotesk_regular', Arial, sans-serif;
	font-weight: normal;
	font-size: 20px;
	line-height: 36px;
	color: var(--gh-text-primary);
}

.gh-subject-testimonial__person {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.gh-subject-testimonial__name {
	margin: 0;
	font-family: 'avenir_next_worldbold', 'Verdana';
	font-weight: normal;
	font-size: 20px;
	line-height: 28px;
	color: var(--gh-text-primary);
}

.gh-subject-testimonial__role {
	margin: 0;
	font-family: 'avenir_next_worldmedium', 'Verdana';
	font-weight: normal;
	font-size: 14px;
	line-height: 24px;
	color: var(--gh-text-secondary);
}

.gh-subject-testimonial__photo {
	flex: 0 0 256px;
	width: 256px;
	height: 320px;
	border-radius: 12px;
	overflow: hidden;
	background: #e6e6e6;
}

.gh-subject-testimonial__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Hide the testimonial for now. Remove this single rule to bring it back. */
.gh-subject-testimonial {
	display: none;
}

/* ===================== FAQ ===================== */
.gh-subject-faq {
	margin-top: 120px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.gh-subject .gh-trusted {
	/* margin-top: 144px; */
	padding-top: 80px;
	padding-bottom: 80px;
	gap: 32px;
}

@media (max-width: 1023px) {
	.gh-subject .gh-trusted {
		margin-top: 64px;
		padding-top: 56px;
		padding-bottom: 56px;
	}
	.gh-subject-people__photo{
		height: auto;
	}
	.gh-subject-hero{
		padding-top: 64px;
	}
}
@media (max-width: 991px) {
	.gh-subject .gh-trusted {
		margin-top: 48px;
		padding-top: 48px;
		padding-bottom: 48px;
	}
	.gh-subject-people__title{
		font-size: 24px;
    	line-height: 32px;
	}
	.gh-subject-content__title{
		font-size: 28px;
		line-height: 36px;
	}
	.gh-subject-people__name{
		font-size: 20px;
		line-height: 28px;
	}
}

.gh-subject .gh-cta {
	margin-top: 80px;
	width: 100%;
}

/* Laptop / small desktop (1024–1439px): tighten the gap above the closing CTA. */
@media (min-width: 1024px) and (max-width: 1439px) {
	.gh-subject .gh-cta {
		margin-top: 40px;
	}
	.gh-subject-content{
		padding: 100px 0;
		gap: 100px;
	}
}

.gh-subject-faq__title {
	margin: 0 0 40px;
	font-family: 'schibsted_grotesk_demi', Arial, sans-serif;
	font-weight: normal;
	font-size: 32px;
	line-height: 40px;
	color: var(--gh-text-primary);
	text-align: center;
}

.gh-subject-faq__item {
	border-bottom: 1px solid #e6e6e6;
}

.gh-subject-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 0;
	cursor: pointer;
	list-style: none;
	/* Kill the blue mobile tap-highlight + accidental text selection on toggle. */
	-webkit-tap-highlight-color: transparent;
	user-select: none;
	-webkit-user-select: none;
	font-family: 'schibsted_grotesk_demi', Arial, sans-serif;
	font-weight: normal;
	font-size: 20px;
	line-height: 28px;
	color: var(--gh-text-primary);
	transition: color 0.2s ease;
}

.gh-subject-faq__q::-webkit-details-marker {
	display: none;
}

.gh-subject-faq__icon {
	flex-shrink: 0;
	color: var(--gh-text-primary);
}

.gh-subject-faq__icon--minus {
	display: none;
}

.gh-subject-faq__item[open] .gh-subject-faq__icon--plus {
	display: none;
}

.gh-subject-faq__item[open] .gh-subject-faq__icon--minus {
	display: block;
}

.gh-subject-faq__a {
	padding: 0 0 24px;
	max-width: 928px;
	animation: gh-subject-faq-reveal 0.28s ease;
}

@keyframes gh-subject-faq-reveal {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Smoothly expand/collapse where the browser supports it. */
@supports (interpolate-size: allow-keywords) {
	:root {
		interpolate-size: allow-keywords;
	}

	.gh-subject-faq__item::details-content {
		height: 0;
		overflow: hidden;
		transition: height 0.28s ease, content-visibility 0.28s allow-discrete;
	}

	.gh-subject-faq__item[open]::details-content {
		height: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gh-subject-faq__icon,
	.gh-subject-faq__a {
		transition: none;
		animation: none;
	}
}

.gh-subject-faq__a p {
	margin: 0;
	font-family: 'avenir_next_worldmedium', 'Verdana';
	font-weight: normal;
	font-size: 16px;
	line-height: 28px;
	color: var(--gh-text-secondary);
}

/* ===================== Responsive (Figma is desktop-only) ===================== */
@media (max-width: 1023px) {
	/* Tighten the per-section spacing on narrow viewports (Figma is desktop-only). */
	.gh-subject-people,
	.gh-subject-content,
	.gh-subject-testimonial,
	.gh-subject-faq {
		margin-top: 64px;
	}

	.gh-subject-content {
		margin-top: 0;
		padding: 64px 0;
		gap: 80px;
	}

	.gh-subject-hero__title {
		font-size: 36px;
		line-height: 44px;
	}

	.gh-subject-people__grid {
		row-gap: 40px;
	}

	/* People stay three-up on tablet (cards shrink to fit); they collapse to a
	   single column only at the ≤767 mobile breakpoint. */

	.gh-subject-content__row,
	.gh-subject-content__row:nth-of-type(even) {
		flex-direction: column;
		gap: 20px;
	}

	.gh-subject-content__text {
		flex-basis: auto;
		width: 100%;
	}

	.gh-subject-content__media {
		min-height: 280px;
	}

	.gh-subject-testimonial {
		padding: 56px 24px 64px;
	}

	.gh-subject-testimonial__card {
		flex-direction: column-reverse;
		align-items: flex-start;
		padding: 32px;
		gap: 32px;
	}

	.gh-subject-testimonial__photo {
		width: 100%;
		flex-basis: auto;
	}
}
@media (max-width: 991px) {
	.gh-subject-content {
        gap: 64px;
    }
	.gh-subject .gh-cta{
		margin-top: 40px;
	}
}
/* Mobile — Figma node 3242:8184: hero + people heads left-align, hero pills
   stack in a single column, one person card per row. */
@media (max-width: 767px) {
	.gh-subject-people__role br{
		display: none;
	}
	.gh-subject-hero {
		padding-top: 48px;
		align-items: flex-start;
		text-align: left;
	}
	.gh-subject-people__role{
		font-size: 14px;
		line-height: 24px;
	}
	.gh-subject-hero__title {
		font-size: 32px;
		line-height: 40px;
	}
	.gh-subject-hero__title br{
		display: none;
	}
	.gh-subject-hero__pills {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	/* The white panel tightens its padding, and the two-column header stacks. */
	.gh-subject-people {
		padding: 24px;
	}

	.gh-subject-people__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		text-align: left;
	}

	.gh-subject-people__subtitle {
		max-width: none;
		text-align: left;
	}

	.gh-subject-people__grid {
		row-gap: 24px;
	}

	.gh-subject-people__card {
		width: 100%;
	}

	.gh-subject-testimonial {
		padding: 48px 16px;
	}

	/* Content rows reflow like the home features section: title/subtitle →
	   image → bullets → button (image moves above the list). */
	.gh-subject-content {
		gap: 64px;
	}

	.gh-subject-content__row {
		gap: 20px;
	}

	.gh-subject-content__text {
		display: contents;
	}

	.gh-subject-content__head { order: 1; }
	.gh-subject-content__media { order: 2; min-height: auto; }
	.gh-subject-content__bullets { order: 3; }
	.gh-subject-content__btn { order: 4; }

	/* FAQ matches the home FAQ on mobile: left-aligned title, tighter questions,
	   full-width answers. */
	.gh-subject-faq__title {
		text-align: left;
	}

	.gh-subject-faq__q {
		gap: 16px;
		font-size: 18px;
	}

	.gh-subject-faq__a {
		max-width: none;
	}
}

/* ===================== CTA ===================== */
/**
 * Home closing CTA section styles — Figma node 2617:3538.
 */

.gh-cta {
	max-width: 1120px;
	margin: 0 auto;
	padding: 80px 0 120px;
}

.gh-cta__card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--gh-accent);
	border-radius: 24px;
	padding-left: 64px;
	overflow: hidden;
}

.gh-cta__body {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 448px;
	flex-shrink: 1;
	min-width: 0;
	/* padding: 48px 0; */
}

.gh-cta__text {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.gh-cta__title {
	margin: 0;
	font-family: 'schibsted_grotesk_demi', Arial, sans-serif;
	font-weight: normal;
	font-size: 32px;
	line-height: 40px;
	color: var(--gh-text-primary);
}

.gh-cta__subtitle {
	margin: 0;
	font-family: 'avenir_next_worldmedium', 'Verdana';
	font-weight: normal;
	font-size: 16px;
	line-height: 28px;
	color: var(--gh-text-secondary);
}

.gh-cta__btn-row .gh-btn--primary,
.gh-cta__body .gh-btn--primary {
	align-self: flex-start;
}

.gh-cta__media {
	width: 544px;
	height: 272px;
	flex-shrink: 1;
	min-width: 0;
	overflow: hidden;
}

.gh-cta__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	padding: 33px 32.4px 0 32.4px;
}
@media (min-width: 1024px) and (max-width: 1300px) {
	.gh-cta {
		padding: 40px 0 100px;
	}
}
/* iPad / tablet (768–1023px) keeps the desktop side-by-side layout — the body
   and media shrink to fit (see flex-shrink/min-width above). Mobile design only
   applies ≤767px. */
@media (max-width: 991px) {
	.gh-cta {
		padding: 48px 0 48px;
	}
	.gh-cta__card {
		padding: 24px 24px 0px;
	}
	.gh-cta__title {
		font-size: 24px;
		line-height: 32px;
	}

	.gh-cta__subtitle {
		font-size: 14px;
		line-height: 24px;
	}
	.gh-cta__media img{
		padding: 12px 0 0px 14px;
		object-fit: cover;
	}
	.gh-cta__body{
		padding: 0 0 24px;
	}
	.gh-cta__media{
		height: 230px;
	}
}
@media (max-width: 767px) {
	/* Mobile — Figma node 3247:13074. Horizontal gutter comes from the global
	   .site-content (16px at this tier); the card supplies its own 24px inset.
	   The card stacks here. */
	.gh-cta {
		padding: 40px 0 56px;
	}

	.gh-cta__card {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
		border-radius: 16px;
		padding: 24px 24px 0;
	}

	.gh-cta__body {
		width: auto;
		gap: 16px;
		padding: 0;
	}

	.gh-cta__title {
		font-size: 24px;
		line-height: 32px;
	}

	.gh-cta__subtitle {
		font-size: 14px;
		line-height: 24px;
	}

	.gh-cta__media {
		width: 100%;
		height: auto;
		margin-top: 0;
		border-radius: 8px;
	}

	.gh-cta__media img {
		width: 100%;
		height: auto;
		padding: 0;
		object-fit: cover;
		object-position: top;
		border-radius: 8px;
	}
}


/* ===================== Popup modal ===================== */
.gh-subject-popup {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gh-subject-popup[aria-hidden="true"] {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.gh-subject-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

/* Iframe popup (HTML previews): large dialog with white background. */
.gh-subject-popup__dialog {
	position: relative;
	width: 90vw;
	max-width: 1100px;
	height: 85vh;
	background: var(--gh-white, #fff);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

/* Video popup: no background, sized by the 16:9 iframe itself. */
.gh-subject-popup--video .gh-subject-popup__dialog {
	background: transparent;
	height: auto;
	max-height: 90vh;
	overflow: visible;
}

.gh-subject-popup__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 50%;
	background: var(--gh-white, #fff);
	color: var(--gh-text-primary, #1a1a1a);
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	transition: background 0.2s ease;
}

.gh-subject-popup__close:hover {
	background: #f0f0f0;
}

/* Video popup: close button overlays the top-right of the video. */
.gh-subject-popup--video .gh-subject-popup__close {
	top: -20px;
	right: -20px;
}

.gh-subject-popup__body {
	flex: 1;
	min-height: 0;
	position: relative;
	overflow: hidden;
}

.gh-subject-popup__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.gh-subject-popup__video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: none;
	border-radius: 12px;
}

@media (max-width: 767px) {
	.gh-subject-popup__close{
		width: 30px;
    	height: 30px;
	}
	.gh-subject-popup__dialog {
		width: 96vw;
		height: 90vh;
		border-radius: 12px;
	}

	.gh-subject-popup--video .gh-subject-popup__dialog {
		width: 96vw;
		height: auto;
	}

	/* Video: close button above the player. */
	.gh-subject-popup--video .gh-subject-popup__close {
		top: -30px;
		right: 0;
	}

	.gh-subject-popup__video {
		border-radius: 8px;
	}
}
@media (min-width: 1025px) {
	.gh-subject-hero__title {
		font-size: 48px;
		line-height: 56px;
	}
}