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

.result-hero {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(
			90deg,
			#fff5f8 0%,
			#ffffff 50%,
			#f3f5ff 100%
		);
}

.result-container {
	width: min(1310px, calc(100% - 40px));
	margin-inline: auto;
}

.result-hero-grid {
	display: grid;
	grid-template-columns:
		minmax(0, 1.02fr)
		minmax(400px, 0.98fr);
	min-height: 680px;
	padding-block: 70px;
	align-items: center;
	gap: clamp(40px, 5vw, 80px);
}

/* Hero text */

.result-kicker {
	display: inline-flex;
	padding: 8px 15px;
	margin: 0 0 28px;
	align-items: center;
	gap: 8px;
	border: 1px solid #f7c9da;
	border-radius: 30px;
	color: #ed3f7f;
	background: rgba(255, 255, 255, 0.8);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.result-kicker span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: linear-gradient(135deg, #ed4f8b, #6658e9);
}

.result-hero-copy h1 {
	max-width: 700px;
	margin: 0 0 28px;
	color: #12152d;
	font-size: clamp(3.4rem, 5.2vw, 5.4rem);
	font-weight: 700;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.result-hero-copy h1 strong {
	display: block;
	color: #7453df;
	font-weight: inherit;
	background: linear-gradient(90deg, #ef3f81, #5d66ed);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.result-lead {
	max-width: 670px;
	margin: 0 0 32px;
	color: #687493;
	font-size: clamp(1rem, 1.4vw, 1.25rem);
	line-height: 1.75;
}

.result-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* Buttons */

.result-btn {
	display: inline-flex;
	min-height: 50px;
	padding: 1px 22px;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	border-radius: 28px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.result-btn-primary {
	border-color: #ed417f;
	color: #ffffff;
	background: #ed417f;
}

.result-btn-primary:hover {
	border-color: #d92c6b;
	color: #ffffff;
	background: #d92c6b;
}

.result-btn-secondary {
	border-color: #dce1ee;
	color: #24377f;
	background: #ffffff;
}

.result-btn-secondary:hover {
	border-color: #bdc6df;
	color: #24377f;
	background: #f7f8fc;
}

/* Navigator panel */

.result-navigator {
	padding: 24px;
	border: 1px solid #d9dfee;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 25px 60px rgba(33, 44, 103, 0.13);
}

.result-navigator-heading {
	padding: 4px 6px 18px;
	margin-bottom: 18px;
	border-bottom: 1px solid #e4e7f0;
}

.result-navigator-heading > span {
	display: block;
	margin-bottom: 9px;
	color: #eb3f7d;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.result-navigator-heading h2 {
	margin: 0 0 6px;
	color: #171b32;
	font-size: clamp(1.3rem, 2vw, 1.55rem);
	line-height: 1.25;
}

.result-navigator-heading p {
	margin: 0;
	color: #66708e;
	font-size: 14px;
}

/* Route buttons */

.result-route-buttons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 16px;
}

.result-route-btn {
	min-height: 55px;
	padding: 11px 16px;
	border: 1px solid #dfe3f1;
	border-radius: 15px;
	color: #59627e;
	background: #f9faff;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
	transition:
		border-color 0.2s ease,
		background-color 0.2s ease,
		color 0.2s ease;
}

.result-route-btn:hover {
	border-color: #ef8eb4;
	color: #293b82;
	background: #fff8fb;
}

.result-route-btn.is-active {
	border-color: #f28db6;
	color: #24377f;
	background: #fff9fc;
	box-shadow: inset 0 0 0 1px rgba(242, 95, 149, 0.08);
}

/* Selected route output */

.result-route-output {
	padding: 26px;
	border-radius: 20px;
	color: #ffffff;
	background:
		linear-gradient(135deg, #111c55, #304295);
}

.result-route-label {
	display: block;
	margin-bottom: 16px;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.result-route-output h3 {
	margin: 0 0 10px;
	color: #ffffff;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	line-height: 1.2;
}

.result-route-output p {
	margin: 0 0 20px;
	color: #e9ebfa;
	font-size: 14px;
	line-height: 1.65;
}

.result-route-output .result-btn {
	min-height: 45px;
	padding: 1px 18px;
	font-size: 13px;
}

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

@media (max-width: 980px) {
	.result-hero
	{
		padding-top:40px;
	}
	.result-btn {
	
	padding: 1px 0px;
	}
	.result-hero-grid {
		grid-template-columns: 1fr;
		min-height: auto;
		padding-block: 70px;
	}

	.result-hero-copy h1 {
		max-width: 760px;
		font-size: clamp(3rem, 8vw, 4.8rem);
	}

	.result-navigator {
		max-width: 760px;
	}
}

@media (max-width: 650px) {
	.result-container {
		width: calc(100% - 30px);
	}

	.result-hero-grid {
		padding-block: 45px;
		gap: 38px;
	}

	.result-kicker {
		margin-bottom: 20px;
		font-size: 10px;
	}

	.result-hero-copy h1 {
		font-size: clamp(2.55rem, 12vw, 3.5rem);
		line-height: 1;
	}

	.result-lead {
		font-size: 16px;
		line-height: 1.65;
	}

	.result-actions {
		flex-direction: column;
	}

	.result-actions .result-btn {
		width: 100%;
	}

	.result-navigator {
		padding: 17px;
		border-radius: 20px;
	}

	.result-route-buttons {
		grid-template-columns: 1fr;
	}

	.result-route-btn {
		min-height: 50px;
	}

	.result-route-output {
		padding: 21px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.result-btn,
	.result-route-btn {
		transition: none;
	}
}



/* ======================================================
   Result statistics section
====================================================== */

.result-stats {
	width: 100%;
	background: linear-gradient(
		135deg,
		#172764 0%,
		#273883 52%,
		#1c275f 100%
	);
	color: #ffffff;
}

.result-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100%;
	margin: 0 auto;
}

.result-stat-item {
	position: relative;
	min-width: 0;
	padding: 30px 28px 24px;
	border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.result-stat-item:last-child {
	border-right: 0;
}

.result-stat-item strong {
	display: block;
	margin-bottom: 8px;
	color: #ffffff;
	font-size: clamp(2rem, 3vw, 2.8rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
	font-family: "DM Sans", sans-serif;
}

.result-stat-item span {
	display: block;
	color: rgba(255, 255, 255, 0.72);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1.4;
	text-transform: uppercase;
}

.result-stat-item i {
	display: block;
	width: 48px;
	height: 5px;
	margin-top: 14px;
	border-radius: 10px;
	background: linear-gradient(
		90deg,
		#ef4f91,
		#9c5fe7
	);
}

/* Tablet */
@media (max-width: 900px) {
	.result-stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.result-stat-item:nth-child(2) {
		border-right: 0;
	}

	.result-stat-item:nth-child(-n + 2) {
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	}
}

/* Mobile */
@media (max-width: 520px) {
	.result-stats-grid {
		grid-template-columns: 1fr;
		text-align:center;
		place-items: center;
	}

	.result-stat-item {
		padding: 24px 20px;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	}
	.result-stat-item i {
	display: block;
	width: 100%;
	}

	.result-stat-item:last-child {
		border-bottom: 0;
	}

	.result-stat-item strong {
		font-size: 2.15rem;
	}
}
/* ======================================================
   Interactive preparation ecosystem
====================================================== */

.method-section {
	padding: 90px 0;
	background: #ffffff;
}

.method-heading {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: end;
	gap: 60px;
	margin-bottom: 40px;
}

.method-heading h2 {
	max-width: 720px;
	margin: 0;
	color: #13172f;
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 1.08;
	letter-spacing: -0.04em;
}

.method-heading > p {
	max-width: 560px;
	margin: 0;
	color: #4f5d7a;
	font-size: 16px;
	line-height: 1.75;
}

/* ======================================================
   Cards wrapper
====================================================== */

.method-wrapper {
	position: relative;
	min-height: 500px;
	border: 1px solid #dde2ee;
	border-radius: 22px;
	overflow: hidden;
	background: #ffffff;
}

.method-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ======================================================
   Cards
====================================================== */

.method-card {
	position: relative;
	min-width: 0;
	min-height: 270px;
	padding: 34px 28px;
	overflow: hidden;
	border-right: 1px solid #dde2ee;
	border-bottom: 1px solid #dde2ee;
	background: #ffffff;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

/* Decorative corner shape */
.method-card::after {
	position: absolute;
	top: -44px;
	right: -44px;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: rgba(232, 79, 143, 0.07);
	content: "";
	pointer-events: none;
	transition: background-color 0.2s ease;
}

.method-card:nth-child(3n) {
	border-right: 0;
}

.method-card:nth-last-child(-n + 3) {
	border-bottom: 0;
}

/* Simple hover effect */
.method-card:hover,
.method-card:focus-visible {
	z-index: 2;
	background: #fff8fb;
	transform: translateY(-4px);
	outline: none;
}

.method-card:hover::after,
.method-card:focus-visible::after {
	background: rgba(232, 79, 143, 0.12);
}

/* Number badge */
.method-number {
	position: relative;
	z-index: 1;
	display: inline-flex;
	min-width: 44px;
	min-height: 36px;
	margin-bottom: 26px;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	color: #24377f;
	background: #eef1fb;
	font-size: 13px;
	font-weight: 700;
	transition:
		color 0.2s ease,
		background-color 0.2s ease;
}

.method-card:hover .method-number,
.method-card:focus-visible .method-number {
	color: #ffffff;
	background: #ed3f7f;
}

.method-card h3 {
	position: relative;
	z-index: 1;
	margin: 0 0 14px;
	color: #171b32;
	font-size: 23px;
	line-height: 1.25;
}

.method-card p {
	position: relative;
	z-index: 1;
	margin: 0 0 24px;
	color: #56617c;
	font-size: 15px;
	line-height: 1.65;
}

.method-tag {
	position: relative;
	z-index: 1;
	display: inline-block;
	padding: 8px 12px;
	border-radius: 20px;
	color: #24377f;
	background: #eef1ff;
	font-size: 12px;
	font-weight: 700;
}

/* View details text */
.method-more {
	position: absolute;
	z-index: 1;
	right: 28px;
	bottom: 28px;
	color: #24377f;
	font-size: 12px;
	font-weight: 700;
	opacity: 0;
	transform: translateY(4px);
	transition:
		opacity 0.2s ease,
		transform 0.2s ease;
}

.method-card:hover .method-more,
.method-card:focus-visible .method-more {
	opacity: 1;
	transform: translateY(0);
}

/* ======================================================
   Expanded content
====================================================== */

.method-detail {
	position: absolute;
	z-index: 5;
	inset: 0;
	display: grid;
	padding: clamp(30px, 6vw, 80px);
	place-items: center;
	color: #ffffff;
	background: linear-gradient(135deg, #121c52, #304292);
}

.method-detail[hidden] {
	display: none;
}

.method-detail-content {
	width: min(760px, 100%);
}

.method-detail-number {
	display: inline-flex;
	min-width: 48px;
	min-height: 34px;
	margin-bottom: 20px;
	align-items: center;
	justify-content: center;
	border-radius: 20px;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.14);
	font-size: 13px;
	font-weight: 700;
}

.method-detail-label {
	margin: 0 0 12px;
	color: #ffb0ce;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.method-detail h3 {
	max-width: 700px;
	margin: 0 0 18px;
	color: #ffffff;
	font-size: clamp(2rem, 4vw, 3.3rem);
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.method-detail-content > p:not(.method-detail-label) {
	max-width: 700px;
	margin: 0 0 22px;
	color: #edf0ff;
	font-size: 17px;
	line-height: 1.75;
}

/* Expanded content bullet list */
.method-detail-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 28px;
	padding: 0;
	margin: 0 0 30px;
	list-style: none;
}

.method-detail-list li {
	position: relative;
	padding-left: 18px;
	color: #ffffff;
	font-size: 14px;
	line-height: 1.55;
}

.method-detail-list li::before {
	position: absolute;
	top: 0.55em;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #f14d8a;
	content: "";
}

/* Close button */
.method-close {
	position: absolute;
	top: 22px;
	right: 22px;
	display: inline-flex;
	width: 46px;
	height: 46px;
	padding: 0;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.1);
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	transition:
		color 0.2s ease,
		background-color 0.2s ease;
}

.method-close:hover,
.method-close:focus-visible {
	color: #17235f;
	background: #ffffff;
	outline: none;
}

/* ======================================================
   Tablet
====================================================== */

@media (max-width: 900px) {
	.method-section {
		padding: 70px 0;
	}

	.method-heading {
		grid-template-columns: 1fr;
		gap: 20px;
	}

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

	.method-card:nth-child(3n) {
		border-right: 1px solid #dde2ee;
	}

	.method-card:nth-child(2n) {
		border-right: 0;
	}

	.method-card:nth-last-child(-n + 3) {
		border-bottom: 1px solid #dde2ee;
	}

	.method-card:nth-last-child(-n + 2) {
		border-bottom: 0;
	}

	.method-more {
		position: static;
		display: block;
		margin-top: 18px;
		opacity: 1;
		transform: none;
	}
}

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

@media (max-width: 600px) {
	.method-section {
		padding: 55px 0;
	}

	.method-heading {
		text-align: center;
	}

	.method-heading h2,
	.method-heading > p {
		margin-inline: auto;
	}

	.method-wrapper {
		min-height: 0;
		border-radius: 18px;
	}

	.method-grid {
		grid-template-columns: 1fr;
	}

	.method-card,
	.method-card:nth-child(2n),
	.method-card:nth-child(3n) {
		min-height: auto;
		padding: 28px 20px;
		border-right: 0;
		border-bottom: 1px solid #dde2ee;
		text-align: center;
	}

	.method-card:last-child {
		border-bottom: 0;
	}

	/* Disable hover movement on touch screens */
	.method-card:hover,
	.method-card:focus-visible {
		transform: none;
	}

	.method-more {
		position: static;
		display: block;
		margin-top: 18px;
		opacity: 1;
		transform: none;
	}

	.method-detail {
		position: relative;
		min-height: 540px;
		padding: 75px 24px 35px;
		text-align: center;
	}

	.method-detail-list {
		grid-template-columns: 1fr;
		text-align: left;
	}

	.method-detail-content .result-btn {
		width: 100%;
	}

	.method-close {
		top: 18px;
		right: 18px;
	}
}

/* ======================================================
   Reduced motion
====================================================== */

@media (prefers-reduced-motion: reduce) {
	.method-card,
	.method-card::after,
	.method-number,
	.method-more,
	.method-close {
		transition: none;
	}
}


/* ======================================================
   StudyMRCOG student journey
====================================================== */

.journey-section {
	overflow: hidden;
	padding: 90px 0;
	background: #f8f9fd;
}

.journey-heading {
	max-width: 850px;
	margin: 0 auto 46px;
	text-align: center;
}

.journey-heading h2 {
	margin: 0 0 18px;
	color: #12172f;
	font-size: clamp(2.3rem, 4.7vw, 4rem);
	line-height: 1.05;
	letter-spacing: -0.045em;
}

.journey-heading h2 strong {
	color: #e63d7e;
}

.journey-heading > p {
	max-width: 740px;
	margin: 0 auto;
	color: #56627b;
	font-size: 16px;
	line-height: 1.75;
}

.journey-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 9px;
	margin-top: 22px;
}

.journey-chips span {
	padding: 8px 12px;
	border: 1px solid #dfe4ef;
	border-radius: 30px;
	color: #46536f;
	background: #ffffff;
	font-size: 11px;
	font-weight: 700;
}

/* ======================================================
   Desktop journey route
====================================================== */

.journey-route {
	position: relative;
	height: 610px;
	border: 1px solid #e0e4ee;
	border-radius: 30px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 20px 55px rgba(32, 44, 98, 0.08);
}

/* Curved path */

.journey-path {
	position: absolute;
	z-index: 0;
	inset: 35px;
	width: calc(100% - 70px);
	height: calc(100% - 70px);
	pointer-events: none;
}

.journey-path path {
	fill: none;
	stroke: #c7cede;
	stroke-width: 4;
	stroke-linecap: round;
	stroke-dasharray: 10 13;
}

/* Individual steps */

.journey-step {
	position: absolute;
	z-index: 2;
	width: 245px;
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 0.45s ease,
		transform 0.45s ease;
}

.journey-route.is-visible .journey-step {
	opacity: 1;
	transform: translateY(0);
}

/* Exact desktop positioning */

.journey-step-1 {
	top: 55px;
	left: 3%;
}

.journey-step-2 {
	top: 115px;
	left: 25%;
}

.journey-step-3 {
	top: 48px;
	left: 48%;
}

.journey-step-4 {
	top: 105px;
	right: 3%;
}

.journey-step-5 {
	right: 3%;
	bottom: 42px;
}

.journey-step-6 {
	right: 27%;
	bottom: 42px;
}

.journey-step-7 {
	left: 27%;
	bottom: 42px;
}

.journey-step-8 {
	left: 3%;
	bottom: 42px;
}

/* Pins */

.journey-pin {
	position: relative;
	display: grid;
	width: 86px;
	height: 86px;
	margin-bottom: 18px;
	place-items: center;
	border: 8px solid #ffffff;
	border-radius: 50%;
	color: #ffffff;
	background: #293d93;
	box-shadow: 0 12px 28px rgba(41, 61, 147, 0.22);
	font-size: 15px;
	font-weight: 700;
}

/* Map-marker point */

.journey-pin::after {
	position: absolute;
	z-index: -1;
	bottom: -17px;
	left: 50%;
	width: 34px;
	height: 34px;
	border-radius: 0 0 9px 0;
	background: inherit;
	content: "";
	transform: translateX(-50%) rotate(45deg);
}

.journey-pin-pink {
	background: #ed3e7f;
	box-shadow: 0 12px 28px rgba(237, 62, 127, 0.22);
}

/* Step text */

.journey-copy {
	max-width: 235px;
}

.journey-copy small {
	display: block;
	margin-bottom: 9px;
	color: #d82f70;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
}

.journey-copy h3 {
	margin: 0 0 8px;
	color: #192052;
	font-size: 18px;
	line-height: 1.25;
}

.journey-copy p {
	margin: 0;
	color: #5b6781;
	font-size: 13px;
	line-height: 1.6;
}

/* Staggered movement */

.journey-route.is-visible .journey-step-2 {
	transition-delay: 0.06s;
}

.journey-route.is-visible .journey-step-3 {
	transition-delay: 0.12s;
}

.journey-route.is-visible .journey-step-4 {
	transition-delay: 0.18s;
}

.journey-route.is-visible .journey-step-5 {
	transition-delay: 0.24s;
}

.journey-route.is-visible .journey-step-6 {
	transition-delay: 0.3s;
}

.journey-route.is-visible .journey-step-7 {
	transition-delay: 0.36s;
}

.journey-route.is-visible .journey-step-8 {
	transition-delay: 0.42s;
}

/* Small hover motion */

.journey-step:hover {
	transform: translateY(-5px);
}

/* ======================================================
   CTA
====================================================== */

.journey-cta {
	display: flex;
	margin-top: 28px;
	padding: 26px 30px;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	border-radius: 20px;
	color: #ffffff;
	background: linear-gradient(110deg, #13205d, #344ba5);
}

.journey-cta h3 {
	margin: 0 0 5px;
	color: #ffffff;
	font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.journey-cta p {
	margin: 0;
	color: #e3e8ff;
	font-size: 13px;
}

.journey-actions {
	display: flex;
	flex-shrink: 0;
	gap: 12px;
}

.journey-btn-secondary {
	border-color: rgba(255, 255, 255, 0.65);
	color: #ffffff;
	background: transparent;
}

.journey-btn-secondary:hover {
	border-color: #ffffff;
	color: #17245e;
	background: #ffffff;
}

/* ======================================================
   Smaller desktop
====================================================== */

@media (max-width: 1180px) {
	.journey-route {
		height: 660px;
	}

	.journey-step {
		width: 215px;
	}

	.journey-copy {
		max-width: 210px;
	}

	.journey-step-2 {
		left: 24%;
	}

	.journey-step-3 {
		left: 47%;
	}

	.journey-step-6 {
		right: 26%;
	}

	.journey-step-7 {
		left: 26%;
	}
}

/* ======================================================
   Tablet cards
====================================================== */

@media (max-width: 900px) {
	.journey-section {
		padding: 70px 0;
	}

	.journey-route {
		display: grid;
		height: auto;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
		padding: 28px;
	}

	.journey-path {
		display: none;
	}

	.journey-step,
	.journey-step-1,
	.journey-step-2,
	.journey-step-3,
	.journey-step-4,
	.journey-step-5,
	.journey-step-6,
	.journey-step-7,
	.journey-step-8 {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		width: auto;
		min-height: 240px;
		padding: 24px;
		border: 1px solid #e0e4ee;
		border-radius: 18px;
		background: #ffffff;
	}

	.journey-copy,
	.journey-copy p {
		max-width: none;
	}

	.journey-step:hover {
		transform: translateY(-3px);
	}

	.journey-cta {
		align-items: flex-start;
		flex-direction: column;
	}

	.journey-actions {
		flex-wrap: wrap;
	}
}

/* ======================================================
   Mobile vertical journey
====================================================== */

@media (max-width: 600px) {
	.journey-section {
		padding: 55px 0;
	}

	.journey-heading {
		margin-bottom: 34px;
	}

	.journey-route {
		display: block;
		padding: 22px 16px;
		border-radius: 20px;
	}

	.journey-step,
	.journey-step-1,
	.journey-step-2,
	.journey-step-3,
	.journey-step-4,
	.journey-step-5,
	.journey-step-6,
	.journey-step-7,
	.journey-step-8 {
		position: relative;
		min-height: 0;
		padding: 18px 8px 34px 88px;
		border: 0;
		border-radius: 0;
		background: transparent;
	}

	.journey-step:not(:last-child)::after {
		position: absolute;
		top: 87px;
		bottom: 0;
		left: 44px;
		border-left: 2px dashed #c7cede;
		content: "";
	}

	.journey-pin {
		position: absolute;
		top: 15px;
		left: 3px;
		width: 70px;
		height: 70px;
		margin: 0;
		border-width: 6px;
	}

	.journey-pin::after {
		display: none;
	}

	.journey-copy,
	.journey-copy p {
		max-width: none;
	}

	.journey-step:hover {
		transform: none;
	}

	.journey-cta {
		padding: 24px 20px;
		text-align: center;
	}

	.journey-actions {
		width: 100%;
		flex-direction: column;
	}

	.journey-actions .result-btn {
		width: 100%;
	}
}

/* ======================================================
   Reduced motion
====================================================== */

@media (prefers-reduced-motion: reduce) {
	.journey-step {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
/* ======================================================
   Course pathways
====================================================== */

.pathway-section {
	padding: 90px 0;
	overflow: hidden;
	background: #ffffff;
}

.pathway-container {
	width: min(1200px, calc(100% - 40px));
	margin-inline: auto;
}

/* Section heading */

.pathway-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
	align-items: end;
	gap: clamp(40px, 7vw, 90px);
	margin-bottom: 42px;
}

.pathway-kicker {
	display: inline-flex;
	margin: 0 0 24px;
	padding: 8px 14px;
	align-items: center;
	gap: 8px;
	border: 1px solid #f5c7d8;
	border-radius: 30px;
	color: #d82f70;
	background: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.pathway-kicker span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: linear-gradient(135deg, #ee4382, #7559e5);
}

.pathway-intro h2 {
	max-width: 600px;
	margin: 0;
	color: #14182f;
	font-size: clamp(2.5rem, 4.5vw, 4rem);
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 1.02;
}

.pathway-lead {
	max-width: 510px;
	margin: 0 0 4px;
	color: #64708d;
	font-size: 16px;
	line-height: 1.75;
}

/* Cards grid */

.pathway-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}

.pathway-card {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 445px;
	padding: 30px 28px 26px;
	flex-direction: column;
	border: 1px solid #dde2ef;
	border-radius: 22px;
	background: #ffffff;
	box-shadow: 0 12px 32px rgba(31, 42, 91, 0.06);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.pathway-card:hover {
	transform: translateY(-5px);
	border-color: #e7b9ca;
	box-shadow: 0 20px 42px rgba(31, 42, 91, 0.11);
}

/* Featured middle card */

.pathway-card.featured {
	border-color: #f08bb3;
	box-shadow: 0 18px 44px rgba(230, 61, 125, 0.12);
}

.pathway-card.featured:hover {
	border-color: #e74884;
	box-shadow: 0 24px 50px rgba(230, 61, 125, 0.16);
}

/* Most explored ribbon */

.pathway-badge {
	position: absolute;
	top: 0;
	right: 22px;
	padding: 8px 13px;
	border-radius: 0 0 9px 9px;
	color: #ffffff;
	background: #e83f7f;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Part label */

.pathway-part-label {
	display: inline-flex;
	align-self: flex-start;
	padding: 7px 10px;
	border-radius: 8px;
	color: #d92f71;
	background: #fff0f6;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pathway-card h3 {
	margin: 24px 0 13px;
	color: #171b32;
	font-size: clamp(1.45rem, 2vw, 1.9rem);
	line-height: 1.16;
	letter-spacing: -0.025em;
}

.pathway-card > p {
	margin: 0;
	color: #5d6984;
	font-size: 14px;
	line-height: 1.7;
}

/* Feature points */

.pathway-points {
	display: grid;
	gap: 10px;
	margin: 25px 0 28px;
}

.pathway-points span {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	color: #4e5d77;
	font-size: 13px;
	line-height: 1.5;
}

.pathway-points span::before {
	flex: 0 0 auto;
	color: #16b9c7;
	font-weight: 700;
	content: "✓";
}

/* Buttons */

.pathway-button {
	display: inline-flex;
	width: 100%;
	min-height: 48px;
	margin-top: auto;
	padding: 0px 0px;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	border-radius: 28px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.pathway-button-outline {
	border-color: #cfd6e8;
	color: #263a84;
	background: #ffffff;
}

.pathway-button-outline:hover {
	border-color: #9eabd0;
	color: #263a84;
	background: #f7f8fc;
}

.pathway-button-primary {
	border-color: #eb3f80;
	color: #ffffff;
	background: #eb3f80;
	box-shadow: 0 10px 24px rgba(235, 63, 128, 0.2);
}

.pathway-button-primary:hover {
	border-color: #d92e6d;
	color: #ffffff;
	background: #d92e6d;
}

/* ======================================================
   Tablet
====================================================== */

@media (max-width: 950px) {
	.pathway-section {
		padding: 75px 0;
	}

	.pathway-intro {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.pathway-lead {
		max-width: 700px;
	}

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

	.pathway-card:last-child {
		grid-column: 1 / -1;
	}

	.pathway-card {
		min-height: 420px;
	}
}

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

@media (max-width: 650px) {
	.pathway-section {
		padding: 58px 0;
	}

	.pathway-container {
		width: calc(100% - 30px);
	}

	.pathway-intro {
		margin-bottom: 30px;
		text-align: center;
	}

	.pathway-kicker {
		margin-inline: auto;
	}

	.pathway-intro h2,
	.pathway-lead {
		margin-inline: auto;
	}

	.pathway-intro h2 {
		font-size: clamp(2.25rem, 11vw, 3.1rem);
	}

	.pathway-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.pathway-card,
	.pathway-card:last-child {
		grid-column: auto;
		min-height: auto;
		padding: 26px 22px 22px;
	}

	.pathway-card:hover {
		transform: none;
	}

	.pathway-card h3 {
		font-size: 1.65rem;
	}

	.pathway-badge {
		right: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pathway-card,
	.pathway-button {
		transition: none;
	}
}


/* ======================================================
   StudyMRCOG mentor network
====================================================== */

.smmp {
	--smmp-bg: #09122f;
	--smmp-card: #18213f;
	--smmp-card-light: #111c55;
	--smmp-pink: #ef4386;
	--smmp-pink-light: #ff9fc5;
	--smmp-text: #ffffff;
	--smmp-muted: #d0d6e4;
	--smmp-line: rgba(255, 255, 255, 0.22);
	--smmp-green: #6ee0c3;

	position: relative;
	overflow: hidden;
	padding: 90px 0 65px;
	color: var(--smmp-text);
	background:#f8f9fd;
}

.smmp__container {
	width: min(1280px, calc(100% - 48px));
	margin-inline: auto;
}

/* ======================================================
   Header
====================================================== */

.smmp__header {
	display: grid;
	grid-template-columns:
		minmax(0, 1.1fr)
		minmax(360px, 0.9fr);
	align-items: end;
	gap: clamp(45px, 7vw, 90px);
	margin-bottom: 42px;
}


.smmp__eyebrow
{
	    display: inline-flex;
    margin: 0 0 24px;
    padding: 8px 14px;
    align-items: center;
    gap: 8px;
    border: 1px solid #f5c7d8;
    border-radius: 30px;
    color: #d82f70;
    background: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;

}
.smmp__eyebrow span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ee4382, #7559e5);
}

.smmp__heading h2 {
	max-width: 760px;
	margin: 0;
	color: #13172f;
	font-size: clamp(2.8rem, 5vw, 5rem);
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 0.99;
}

.smmp__heading h2 span {
	color: #ef3f81;
}

.smmp__intro {
	max-width: 720px;
	margin: 22px 0 0;
	color: #687493;
	font-size: 15px;
	line-height: 1.75;
}

/* ======================================================
   Proof information
====================================================== */

.smmp__proof {
display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid rgb(0 0 0 / 22%);
    border-radius: 13px;
    overflow: hidden;
    background: rgb(118 118 118 / 5%);
}

.smmp__proof-item {
	display: flex;
	min-width: 0;
	min-height: 110px;
	padding: 20px 16px;
	flex-direction: column;
	justify-content: center;
	border-right: 1px solid rgb(0 0 0 / 22%);
}

.smmp__proof-item:last-child {
	border-right: 0;
}

.smmp__proof-item strong {
	display: block;
	color: #ef3f81;
	font-size: clamp(1.15rem, 2vw, 1.65rem);
	letter-spacing: -0.03em;
	line-height: 1;
}

.smmp__proof-item span {
	display: block;
	margin-top: 8px;
	color: #687493;
	font-size: 11px;
	line-height: 1.45;
}

/* ======================================================
   Moving mentor rows
====================================================== */

.smmp__stage {
	width: 100%;
	overflow: hidden;
}

.smmp__marquee {
	position: relative;
	width: 100%;
	padding: 8px 0;
	overflow: hidden;
}

.smmp__marquee + .smmp__marquee {
	margin-top: 4px;
}

.smmp__marquee::before,
.smmp__marquee::after {
	position: absolute;
	z-index: 3;
	top: 0;
	bottom: 0;
	width: clamp(30px, 7vw, 130px);
	pointer-events: none;
	content: "";
}

.smmp__track {
	display: flex;
	width: max-content;
	animation: smmp-move-left 68s linear infinite;
	will-change: transform;
}

.smmp__marquee--reverse .smmp__track {
	animation-name: smmp-move-right;
	animation-duration: 74s;
}

.smmp__marquee:hover .smmp__track,
.smmp__marquee:focus-within .smmp__track,
.smmp.is-paused .smmp__track {
	animation-play-state: paused;
}

.smmp__group {
	display: flex;
	flex: none;
	gap: 14px;
	padding-right: 14px;
}

@keyframes smmp-move-left {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

@keyframes smmp-move-right {
	from {
		transform: translateX(-50%);
	}

	to {
		transform: translateX(0);
	}
}

/* ======================================================
   Mentor cards
====================================================== */

.smmp__card {
	display: grid;
	flex: 0 0 clamp(320px, 28vw, 410px);
	grid-template-columns: 43% 57%;
	min-height: 178px;
	overflow: hidden;
	border: 1px solid var(--smmp-line);
	border-radius: 13px;
	background: linear-gradient(
		145deg,
		var(--smmp-card-light),
		var(--smmp-card)
	);
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.smmp__card:hover,
.smmp__card:focus-within {
	transform: translateY(-4px);
	border-color: rgba(255, 159, 197, 0.7);
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
}

/* Mentor portrait */

.smmp__portrait {
	position: relative;
	min-width: 0;
	overflow: hidden;
	background: #ffffff;
}

.smmp__portrait img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 178px;
	object-fit: cover;
	object-position: top center;
}

.smmp__portrait-fallback {
	position: absolute;
	inset: 0;
	display: none;
	place-items: center;
	color: #14204a;
	background: linear-gradient(
		145deg,
		#ffffff,
		#dfe4ef
	);
	font-size: 30px;
	font-weight: 700;
}

.smmp__portrait.is-fallback .smmp__portrait-fallback {
	display: grid;
}

/* Card text */

.smmp__card-body {
	display: flex;
	min-width: 0;
	padding: 19px 18px;
	flex-direction: column;
	justify-content: center;
}

.smmp__badge {
	display: inline-flex;
	width: fit-content;
	max-width: 100%;
	padding: 6px 9px;
	border: 1px solid rgba(255, 255, 255, 0.42);
	border-radius: 20px;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.08);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.1;
	text-transform: uppercase;
	white-space: nowrap;
}

.smmp__card h3 {
	margin: 12px 0 0;
	color: #ffffff;
	font-size: 16px;
	letter-spacing: -0.025em;
	line-height: 1.25;
}

.smmp__qualification {
	margin: 14px 0 0;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
}

.smmp__role {
	margin: 6px 0 0;
	color: #d0d6e4;
	font-size: 11px;
	line-height: 1.45;
}

/* Accessible profile touch target */

.smmp__profile-link {
	display: inline-flex;
	width: fit-content;
	min-width: 44px;
	min-height: 44px;
	margin-top: 4px;
	padding: 10px 0;
	align-items: center;
	color: var(--smmp-pink-light);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.smmp__profile-link::after {
	margin-left: 4px;
	content: "→";
}

.smmp__profile-link:hover {
	color: #ffffff;
}

.smmp__profile-link:focus-visible,
.smmp__button:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 3px;
}

/* ======================================================
   Footer
====================================================== */

.smmp__footer {
	display: flex;
	margin-top: 34px;
	padding-top: 22px;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	border-top: 1px solid var(--smmp-line);
}

.smmp__footer-copy {
	display: flex;
	max-width: 680px;
	align-items: flex-start;
	gap: 11px;
}

.smmp__footer-copy p {
	margin: 0;
	color: #cbd2e0;
	font-size: 12px;
	line-height: 1.65;
}

.smmp__footer-copy strong {
	color: #ffffff;
}

.smmp__verified-dot {
	width: 9px;
	height: 9px;
	flex: 0 0 9px;
	margin-top: 5px;
	border-radius: 50%;
	background: var(--smmp-green);
	box-shadow: 0 0 0 5px rgba(110, 224, 195, 0.12);
}

.smmp__actions {
	display: flex;
	flex-shrink: 0;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
}

.smmp__button {
	display: inline-flex;
	min-width: 44px;
	min-height: 44px;
	padding: 10px 15px;
	align-items: center;
	justify-content: center;
	gap: 7px;
	border: 1px solid transparent;
	border-radius: 7px;
	font: inherit;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
	transition:
		transform 0.18s ease,
		background-color 0.18s ease,
		border-color 0.18s ease;
}

.smmp__button:hover {
	transform: translateY(-2px);
}

.smmp__button--ghost {
	border-color: rgba(255, 255, 255, 0.48);
	color: #ffffff;
	background: rgba(255, 255, 255, 0.05);
}

.smmp__button--ghost:hover {
	border-color: #ffffff;
	background: rgba(255, 255, 255, 0.12);
}

.smmp__button--primary {
	border-color: var(--smmp-pink);
	color: #ffffff;
	background: var(--smmp-pink);
}

.smmp__button--primary:hover {
	border-color: #d83373;
	background: #d83373;
}

/* ======================================================
   Tablet
====================================================== */

@media (max-width: 1050px) {
	.smmp__header {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.smmp__proof {
		max-width: 680px;
	}

	.smmp__footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.smmp__actions {
		justify-content: flex-start;
	}
}

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

@media (max-width: 680px) {
	.smmp {
		padding: 65px 0 55px;
	}

	.smmp__container {
		width: calc(100% - 28px);
	}

	.smmp__header {
		margin-bottom: 30px;
	}

	.smmp__heading {
		text-align: center;
	}

	.smmp__eyebrow {
		justify-content: center;
	}

	.smmp__heading h2 {
		font-size: clamp(2.4rem, 12vw, 3.4rem);
	}

	.smmp__intro {
		color: #d4d9e6;
		font-size: 14px;
	}

	.smmp__proof {
		grid-template-columns: 1fr;
	}

	.smmp__proof-item {
		min-height: auto;
		padding: 17px 18px;
		border-right: 0;
		border-bottom: 1px solid var(--smmp-line);
		text-align: center;
	}

	.smmp__proof-item:last-child {
		border-bottom: 0;
	}

	.smmp__card {
		flex-basis: min(88vw, 345px);
		grid-template-columns: 42% 58%;
		min-height: 175px;
	}

	.smmp__portrait img {
		min-height: 175px;
	}

	.smmp__card-body {
		padding: 16px 14px;
	}

	.smmp__marquee::before,
	.smmp__marquee::after {
		width: 25px;
	}

	.smmp__footer {
		text-align: center;
	}

	.smmp__footer-copy {
		text-align: left;
	}

	.smmp__actions {
		display: grid;
		width: 100%;
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.smmp__button {
		width: 100%;
		min-height: 48px;
	}
}

/* ======================================================
   Reduced motion
====================================================== */

@media (prefers-reduced-motion: reduce) {
	.smmp__marquee {
		overflow-x: auto;
	}

	.smmp__track {
		animation: none !important;
		transform: none !important;
		will-change: auto;
	}

	.smmp__group[aria-hidden="true"] {
		display: none;
	}

	.smmp__card,
	.smmp__button,
	.smmp__profile-link {
		transition: none;
	}
}

/* ======================================================
   Learning ecosystem resources
====================================================== */

.resources-section {
	padding: 90px 0;
	overflow: hidden;
	background: #ffffff;
}

.resources-container {
	width: min(1280px, calc(100% - 40px));
	margin-inline: auto;
}

/* Section heading */

.resources-head {
	max-width: 900px;
	margin: 0 auto 42px;
	text-align: center;
}

.resources-kicker {
	display: inline-flex;
	margin: 0 0 22px;
	padding: 8px 14px;
	align-items: center;
	gap: 8px;
	border: 1px solid #f3c7d8;
	border-radius: 30px;
	color: #db3675;
	background: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.resources-kicker span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: linear-gradient(135deg, #ef4584, #7960dc);
}

.resources-head h2 {
	margin: 0;
	color: #171a34;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.8rem, 5.2vw, 5rem);
	font-weight: 500;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.resources-lead {
	max-width: 800px;
	margin: 26px auto 0;
	color: #697692;
	font-size: 17px;
	line-height: 1.85;
}

/* Cards grid */

.resource-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.resource-card {
	display: flex;
	min-width: 0;
	min-height: 335px;
	overflow: hidden;
	flex-direction: column;
	border: 1px solid #e1dfe4;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 12px 30px rgba(52, 38, 66, 0.06);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.resource-card:hover {
	transform: translateY(-5px);
	border-color: #e8b7ca;
	box-shadow: 0 20px 42px rgba(52, 38, 66, 0.12);
}

/* Dark card preview */

.resource-preview {
	display: flex;
	min-height: 125px;
	padding: 18px;
	align-items: flex-end;
	color: #ffffff;
	background: linear-gradient(145deg, #4b1434, #191746);
}

.resource-preview span {
	display: inline-flex;
	padding: 8px 10px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
}

/* Card content */

.resource-copy {
	display: flex;
	padding: 22px 20px 20px;
	flex: 1;
	flex-direction: column;
}

.resource-copy small {
	color: #e03978;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1.4;
	text-transform: uppercase;
}

.resource-copy h3 {
	margin: 15px 0 11px;
	color: #171a34;
	font-size: 17px;
	line-height: 1.3;
}

.resource-copy p {
	margin: 0 0 22px;
	color: #64708a;
	font-size: 13px;
	line-height: 1.7;
}

.resource-link {
	display: inline-flex;
	width: fit-content;
	min-height: 44px;
	margin-top: auto;
	padding: 10px 0;
	align-items: center;
	color: #5367e8;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.resource-link::after {
	margin-left: 9px;
	content: "→";
	transition: transform 0.2s ease;
}

.resource-link:hover::after {
	transform: translateX(4px);
}

.resource-link:focus-visible {
	outline: 3px solid #5367e8;
	outline-offset: 3px;
}

/* ======================================================
   Tablet
====================================================== */

@media (max-width: 1050px) {
	.resources-section {
		padding: 75px 0;
	}

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

	.resource-card {
		min-height: 320px;
	}
}

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

@media (max-width: 620px) {
	.resources-section {
		padding: 58px 0;
	}

	.resources-container {
		width: calc(100% - 28px);
	}

	.resources-head {
		margin-bottom: 32px;
	}

	.resources-head h2 {
		font-size: clamp(2.5rem, 12vw, 3.6rem);
	}

	.resources-lead {
		font-size: 15px;
		line-height: 1.75;
	}

	.resource-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.resource-card {
		min-height: auto;
	}

	.resource-card:hover {
		transform: none;
	}

	.resource-preview {
		min-height: 115px;
	}

	.resource-copy {
		padding: 21px 19px 18px;
	}
}

/* ======================================================
   Reduced motion
====================================================== */

@media (prefers-reduced-motion: reduce) {
	.resource-card,
	.resource-link::after {
		transition: none;
	}
}

/* ======================================================
   MRCOG exam archive tabs
====================================================== */

.exam-section {
	padding: 90px 0;
	overflow: hidden;
	background:
		radial-gradient(
			circle at 8% 12%,
			rgba(239, 67, 132, 0.08),
			transparent 28%
		),
		radial-gradient(
			circle at 92% 88%,
			rgba(82, 103, 232, 0.1),
			transparent 30%
		),
		#f8f9fe;
}

.exam-container {
	width: min(1280px, calc(100% - 40px));
	margin-inline: auto;
}

/* ======================================================
   Section heading
====================================================== */

.exam-heading {
	max-width: 850px;
	margin-bottom: 34px;
}

.exam-kicker {
	display: inline-flex;
	margin: 0 0 18px;
	padding: 8px 13px;
	align-items: center;
	gap: 8px;
	border: 1px solid #f2c6d7;
	border-radius: 30px;
	color: #d93676;
	background: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.exam-kicker span {
	width: 7px;
	height: 7px;
	flex: 0 0 7px;
	border-radius: 50%;
	background: linear-gradient(135deg, #ee4483, #765ce1);
}

.exam-heading h2 {
	max-width: 760px;
	margin: 0;
	color: #171a34;
	font-size: clamp(2.8rem, 5vw, 4.7rem);
	line-height: 0.98;
	letter-spacing: -0.055em;
}

.exam-heading h2 span {
	background:
		linear-gradient(
			transparent 58%,
			rgba(239, 67, 132, 0.18) 58%
		);
}

.exam-heading > p:last-child {
	max-width: 720px;
	margin: 22px 0 0;
	color: #626e89;
	font-size: 16px;
	line-height: 1.75;
}

/* ======================================================
   Exam tabs
====================================================== */

.exam-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 28px;
}

.exam-tab {
	min-width: 72px;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid #d9deeb;
	border-radius: 24px;
	color: #26345f;
	background: #ffffff;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition:
		transform 0.2s ease,
		color 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.exam-tab:hover {
	transform: translateY(-2px);
	border-color: #b9c2dc;
	box-shadow: 0 8px 20px rgba(35, 49, 112, 0.1);
}

.exam-tab.is-active {
	border-color: #273b91;
	color: #ffffff;
	background: #273b91;
	box-shadow: 0 9px 20px rgba(39, 59, 145, 0.2);
}

.exam-tab:focus-visible {
	outline: 3px solid #ed4381;
	outline-offset: 3px;
}

/* ======================================================
   Archive cards
====================================================== */

.exam-archive-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.exam-archive-card {
	display: flex;
	min-width: 0;
	min-height: 255px;
	padding: 26px;
	flex-direction: column;
	border: 1px solid #7657d6;
	border-radius: 18px;
	background: #ffffff;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.exam-archive-card:hover {
	transform: translateY(-5px);
	border-color: #d9a9bc;
	box-shadow: 0 18px 38px rgba(66, 42, 53, 0.1);
}

/* Featured first card */

.exam-archive-card.is-featured {
	    border-color: #c926a1;
    color: #ffffff;
    /* background: #f25f95; */
    background: linear-gradient(90deg, #f25f95, #7657d6);
}

.exam-archive-card.is-featured:hover {
	border-color: #4b1b40;
	box-shadow: 0 20px 42px rgba(53, 20, 45, 0.2);
}

/* Card label */

.exam-archive-card small {
	color: #887980;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1.4;
	text-transform: uppercase;
}

.exam-archive-card.is-featured small {
	color: #ffffff;
}

/* Year */

.exam-archive-card strong {
	display: block;
	margin: 24px 0 28px;
	color: #7657d6;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 36px;
	font-weight: 500;
	line-height: 1;
}

.exam-archive-card.is-featured strong {
	color: #edbd45;
}

/* Card heading */

.exam-archive-card h3 {
	margin: 0 0 10px;
	color: #18202e;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
	line-height: 1.25;
}

.exam-archive-card.is-featured h3 {
	color: #ffffff;
}

/* Card description */

.exam-archive-card p {
	margin: 0 0 16px;
	color: #667286;
	font-size: 13px;
	line-height: 1.6;
}

.exam-archive-card.is-featured p {
	color: #ffffff;
}

/* Card link */

.exam-archive-card a {
	display: inline-flex;
	width: fit-content;
	min-height: 44px;
	margin-top: auto;
	align-items: center;
	color: #f25f95;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.exam-archive-card a::after {
	margin-left: 6px;
	content: "→";
	transition: transform 0.2s ease;
}

.exam-archive-card a:hover::after {
	transform: translateX(4px);
}

.exam-archive-card a:focus-visible {
	outline: 3px solid #273b91;
	outline-offset: 3px;
}

.exam-archive-card.is-featured a {
	color: #f4cd67;
}

.exam-archive-card.is-featured a:focus-visible {
	outline-color: #ffffff;
}

/* ======================================================
   Tablet
====================================================== */

@media (max-width: 1000px) {
	.exam-section {
		padding: 75px 0;
	}

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

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

@media (max-width: 620px) {
	.exam-section {
		padding: 58px 0;
	}

	.exam-container {
		width: calc(100% - 28px);
	}

	.exam-heading {
		margin-bottom: 28px;
		text-align: center;
	}

	.exam-kicker {
		margin-inline: auto;
	}

	.exam-heading h2 {
		font-size: clamp(2.4rem, 11vw, 3.4rem);
	}

	.exam-heading > p:last-child {
		font-size: 15px;
		line-height: 1.7;
	}

	.exam-tabs {
		justify-content: center;
	}

	.exam-tab {
		flex: 1;
		padding-inline: 12px;
	}

	.exam-archive-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.exam-archive-card {
		min-height: auto;
		padding: 24px 22px;
	}

	.exam-archive-card:hover {
		transform: none;
	}
}

/* ======================================================
   Reduced motion
====================================================== */

@media (prefers-reduced-motion: reduce) {
	.exam-tab,
	.exam-archive-card,
	.exam-archive-card a::after {
		transition: none;
	}
}

/* ======================================================
   Video testimonials
====================================================== */

.video-testimonials {
	padding: 90px 0;
	overflow: hidden;
	background:
		radial-gradient(
			circle at 94% 10%,
			rgba(82, 103, 232, 0.07),
			transparent 25%
		),
		#ffffff;
}

/*
 * Match the width used by your other Result page sections.
 */
.video-testimonials__container {
	width: min(1280px, calc(100% - 40px));
	margin-inline: auto;
}

/* ======================================================
   Section heading
====================================================== */

.video-testimonials__head {
	max-width: 1050px;
	margin-bottom: 42px;
}

.video-testimonials__kicker {
	display: inline-flex;
	margin: 0 0 22px;
	padding: 8px 14px;
	align-items: center;
	gap: 9px;
	border: 1px solid #f2c5d7;
	border-radius: 30px;
	color: #dc3676;
	background: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.video-testimonials__kicker span {
	width: 8px;
	height: 8px;
	flex: 0 0 8px;
	border-radius: 50%;
	background: linear-gradient(135deg, #ee4382, #765ce1);
	box-shadow: 0 0 0 5px rgba(238, 67, 130, 0.1);
}

.video-testimonials__head h2 {
	max-width: 1000px;
	margin: 0;
	color: #171a34;
	font-size: clamp(2.7rem, 5vw, 4.8rem);
	line-height: 1.04;
	letter-spacing: -0.055em;
}

.video-testimonials__head h2 span {
	display: block;
}

.video-testimonials__head > p:last-child {
	max-width: 930px;
	margin: 24px 0 0;
	color: #697590;
	font-size: clamp(1rem, 1.55vw, 1.25rem);
	line-height: 1.75;
}

/* ======================================================
   Slider
====================================================== */

.video-slider {
	position: relative;
	width: 100%;
}

.video-slider__viewport {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scrollbar-width: none;
	scroll-snap-type: x mandatory;
	overscroll-behavior-inline: contain;
}

.video-slider__viewport::-webkit-scrollbar {
	display: none;
}

.video-slider__track {
	display: grid;
	grid-auto-flow: column;

	/*
	 * Four smaller cards inside the same 1280px section width.
	 */
	grid-auto-columns: calc((100% - 54px) / 4);

	gap: 18px;
	padding: 5px 0 22px;
}

/* ======================================================
   Video cards
====================================================== */

.video-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid #e2e5ef;
	border-radius: 22px;
	background: #ffffff;
	box-shadow: 0 12px 28px rgba(31, 42, 91, 0.06);
	scroll-snap-align: start;
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.video-card:hover {
	transform: translateY(-4px);
	border-color: #efbfd1;
	box-shadow: 0 18px 38px rgba(31, 42, 91, 0.11);
}

/* Video thumbnail */

.video-card__media {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 21px 21px 12px 12px;
	background: #18204b;
	cursor: pointer;
}

.video-card__media::after {
	position: absolute;
	inset: 0;
	background: rgba(19, 25, 58, 0.2);
	content: "";
	transition: background-color 0.2s ease;
}

.video-card:hover .video-card__media::after {
	background: rgba(19, 25, 58, 0.1);
}

.video-card__media img,
.video-card__media iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

/* Play button */

.video-card__play {
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	display: grid;
	width: 62px;
	height: 62px;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 9px 24px rgba(15, 23, 62, 0.16);
	transform: translate(-50%, -50%);
	transition:
		transform 0.2s ease,
		background-color 0.2s ease;
}

.video-card__play::before {
	width: 0;
	height: 0;
	margin-left: 4px;
	border-top: 9px solid transparent;
	border-bottom: 9px solid transparent;
	border-left: 14px solid #111111;
	content: "";
}

.video-card__media:hover .video-card__play {
	background: #ffffff;
	transform: translate(-50%, -50%) scale(1.05);
}

.video-card__media:focus-visible {
	outline: 4px solid #5367e8;
	outline-offset: -4px;
}

/* Card content */

.video-card__content {
	padding: 20px 20px 22px;
}

.video-card__content h3 {
	margin: 0 0 7px;
	color: #19224c;
	font-size: 18px;
	line-height: 1.3;
}

.video-card__content p {
	margin: 0;
	color: #68758d;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
}

/* ======================================================
   Slider arrows
====================================================== */

.video-slider__arrow {
	position: absolute;
	z-index: 5;
	top: 38%;
	display: grid;
	width: 50px;
	height: 50px;
	padding: 0;
	place-items: center;
	border: 1px solid #dfe3ee;
	border-radius: 50%;
	color: #293d92;
	background: #ffffff;
	box-shadow: 0 9px 24px rgba(31, 42, 91, 0.12);
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition:
		transform 0.2s ease,
		background-color 0.2s ease,
		box-shadow 0.2s ease;
}

.video-slider__arrow:hover {
	background: #f8f9fe;
	box-shadow: 0 12px 28px rgba(31, 42, 91, 0.17);
	transform: translateY(-50%) scale(1.04);
}

.video-slider__arrow:focus-visible {
	outline: 3px solid #ed4381;
	outline-offset: 3px;
}

/*
 * Keep arrows inside the section so they do not cause
 * horizontal overflow or cut cards.
 */
.video-slider__arrow--previous {
	left: -18px;
}

.video-slider__arrow--next {
	right: -18px;
}

/* ======================================================
   Medium desktop
====================================================== */

@media (max-width: 1150px) {
	.video-slider__track {
		grid-auto-columns: calc((100% - 36px) / 3);
	}
}

/* ======================================================
   Tablet
====================================================== */

@media (max-width: 850px) {
	.video-testimonials {
		padding: 75px 0;
	}

	.video-slider__track {
		grid-auto-columns: calc((100% - 18px) / 2);
	}

	.video-slider__arrow--previous {
		left: -10px;
	}

	.video-slider__arrow--next {
		right: -10px;
	}
}

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

@media (max-width: 600px) {
	.video-testimonials {
		padding: 58px 0;
	}

	.video-testimonials__container {
		width: calc(100% - 28px);
	}

	.video-testimonials__head {
		margin-bottom: 30px;
		text-align: center;
	}

	.video-testimonials__kicker {
		margin-inline: auto;
		font-size: 10px;
	}

	.video-testimonials__head h2 {
		font-size: clamp(2.3rem, 11vw, 3.2rem);
	}

	.video-testimonials__head > p:last-child {
		margin-top: 19px;
		font-size: 15px;
		line-height: 1.7;
	}

	.video-slider__track {
		grid-auto-columns: 100%;
		gap: 16px;
		padding-bottom: 18px;
	}

	.video-slider__arrow {
		top: 35%;
		width: 46px;
		height: 46px;
		font-size: 28px;
	}

	.video-slider__arrow--previous {
		left: -8px;
	}

	.video-slider__arrow--next {
		right: -8px;
	}

	.video-card__content {
		padding: 18px;
	}

	.video-card__content h3 {
		font-size: 18px;
	}
}

/* ======================================================
   Reduced motion
====================================================== */

@media (prefers-reduced-motion: reduce) {
	.video-slider__viewport {
		scroll-behavior: auto;
	}

	.video-card,
	.video-card__play,
	.video-slider__arrow {
		transition: none;
	}
}