/*
 * Daeduk landing: a light travel-agency layout in LETCO colours (blue for actions,
 * red as the accent, navy for type). Serif for the hero and section titles; bold
 * sans for sub-headings and sums. Programmes and the journey break the centred
 * rhythm with left-aligned headings, staggered cards and one navy band; costs
 * and conditions stay on a straight grid so they are easy to compare.
 * Loaded on every page after landing.css; it applies wherever the content root carries
 * .jd-page. jd-skin.css extends it to the blocks used only by the other pages.
 */

@font-face {
	font-family: "Lora";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("/wp-content/themes/letco-rebuild/assets/fonts/lora-700-vietnamese.woff2") format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
	font-family: "Lora";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("/wp-content/themes/letco-rebuild/assets/fonts/lora-700-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Lora";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("/wp-content/themes/letco-rebuild/assets/fonts/lora-700-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.is-landing:has(.jd-page) {
	--jd-navy: #0b2a4f;
	--jd-ink: #14213d;
	--jd-text: #5b6478;
	--jd-red: #e31e35;
	--jd-red-deep: #c0152a;
	--jd-red-soft: #fde8ea;
	--jd-blue: #0878c5;
	--jd-blue-deep: #075a9f;
	--jd-blue-soft: #e5f2fb;
	/* Light blue for small accent text on navy, where red would lack contrast. */
	--jd-sky: #9fd3ff;
	/* Supporting colours, used sparingly for icons, numbers and soft fills; actions stay blue. */
	--jd-amber: #f3b51b;
	--jd-amber-deep: #9a6700;
	--jd-amber-soft: #fff4d9;
	--jd-teal: #0f8a7a;
	--jd-teal-soft: #e3f6f3;
	--jd-line: #e8ebf2;
	--jd-soft: #f7f8fc;
	--jd-shadow: 0 24px 60px rgba(11, 42, 79, 0.08);
	--jd-shadow-lift: 0 30px 70px rgba(11, 42, 79, 0.14);
	--jd-serif: "Lora", Georgia, "Times New Roman", serif;
	--jd-sans: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
	/* Tokens the shared dock and fold widgets read. */
	--dk-red: var(--jd-red);
	--dk-gold-deep: var(--jd-blue-deep);
	--lp-bg: #ffffff;
	background: #ffffff;
}

.jd-page {
	position: relative;
	overflow-x: clip;
	background: #ffffff;
	color: var(--jd-text);
	/* Korean words such as 전문학사 wrap as a whole; Vietnamese is unaffected. */
	word-break: keep-all;
	overflow-wrap: anywhere;
}

.jd-page h1,
.jd-page h2,
.jd-page h3,
.jd-page h4 {
	color: var(--jd-ink);
}

.jd-page h1,
.jd-page h2 {
	font-family: var(--jd-serif);
	font-weight: 700;
	letter-spacing: -0.01em;
}

/* ---------- Header: white bar, dark links, blue action ---------- */
.is-landing:has(.jd-page) .lp-header {
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	box-shadow: none;
}

.is-landing:has(.jd-page) .lp-header.is-scrolled,
.is-landing:has(.jd-page) .lp-header {
	border-bottom-color: var(--jd-line);
}

.is-landing:has(.jd-page) .lp-header-nav a,
.is-landing:has(.jd-page) .lp-header-phone {
	color: var(--jd-ink);
}

.is-landing:has(.jd-page) .lp-header-nav a:hover {
	color: var(--jd-red);
}

.is-landing:has(.jd-page) .lp-button,
.jd-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 10px;
	background: var(--jd-blue);
	color: #ffffff;
	box-shadow: 0 16px 30px rgba(8, 120, 197, 0.28);
	font-weight: 700;
	text-decoration: none;
	transition: transform 200ms ease, box-shadow 200ms ease;
}

/* Beats the shared gold primary rule in landing.css for this page's header,
   phone sign-up bar, form and popup buttons. */
.is-landing:has(.jd-page) .lp-button:not(.lp-button--light):not(.lp-button--ghost):not(.lp-button--glass):not(.lp-button--block),
.is-landing:has(.jd-page) .lp-button--block {
	background: var(--jd-blue);
	color: #ffffff;
}

.is-landing:has(.jd-page) .lp-button:not(.lp-button--light):not(.lp-button--ghost):not(.lp-button--glass):not(.lp-button--block):hover,
.is-landing:has(.jd-page) .lp-button--block:hover {
	background: var(--jd-blue-deep);
	color: #ffffff;
}

.is-landing:has(.jd-page) .lp-button--small {
	min-height: 42px;
	padding: 0 20px;
	box-shadow: none;
}

.is-landing:has(.jd-page) .lp-button:hover,
.jd-button:hover {
	transform: translateY(-2px);
	background: var(--jd-blue-deep);
	box-shadow: 0 20px 34px rgba(8, 120, 197, 0.36);
}

.is-landing:has(.jd-page) .lp-button--ghost,
.is-landing:has(.jd-page) .lp-button--light,
.is-landing:has(.jd-page) .lp-button--ghost:hover,
.is-landing:has(.jd-page) .lp-button--light:hover {
	background: #ffffff;
	box-shadow: inset 0 0 0 2px var(--jd-line);
	color: var(--jd-ink);
}

.is-landing:has(.jd-page) .lp-button:focus-visible,
.jd-button:focus-visible,
.jd-play:focus-visible,
.jd-page a:focus-visible,
.jd-page summary:focus-visible,
.jd-page button:focus-visible {
	outline: 3px solid var(--jd-blue);
	outline-offset: 3px;
}

/* ---------- Shared pieces ---------- */
.is-landing .jd-section {
	position: relative;
	padding-block: clamp(64px, 8vw, 112px);
	border-top: 0;
	background: transparent;
}

.is-landing .jd-section + .jd-section {
	padding-top: clamp(32px, 4vw, 56px);
}

.jd-head {
	max-width: 720px;
	margin: 0 auto clamp(32px, 5vw, 56px);
	text-align: center;
}

.jd-head--left {
	margin-inline: 0;
	text-align: left;
}

.jd-eyebrow {
	margin: 0 0 10px;
	color: var(--jd-text);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.jd-head h2 {
	margin: 0;
	font-size: clamp(2rem, 1.4rem + 2.2vw, 3.125rem);
	line-height: 1.15;
	text-wrap: balance;
}

.jd-mark {
	color: var(--jd-red);
}

.jd-intro {
	margin: 16px 0 0;
	color: var(--jd-text);
	font-size: 1.0625rem;
	line-height: 1.7;
}

.jd-head--center .jd-intro {
	margin-inline: auto;
}

.jd-page .jd-subtitle {
	margin: 0 0 8px;
	font-family: var(--jd-serif);
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	line-height: 1.25;
}

.jd-block {
	margin-top: clamp(48px, 6vw, 80px);
}

/* Five Daeduk options: three visa routes plus the K-Tech and degree pathways. */
.jd-pathway-grid {
	display: grid;
	align-items: start;
	gap: 20px;
}

.jd-pathway-card {
	position: relative;
	transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
	padding: clamp(22px, 3vw, 30px);
	border: 1px solid var(--jd-line);
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 16px 42px rgba(11, 42, 79, 0.06);
}

.jd-pathway-card.is-featured {
	border-color: color-mix(in srgb, var(--jd-blue) 42%, var(--jd-line));
	background: linear-gradient(155deg, var(--jd-blue-soft), #ffffff 48%);
}

.jd-pathway-card.is-featured::before {
	content: "Nổi bật";
	position: absolute;
	top: 18px;
	right: 18px;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--jd-blue);
	color: #ffffff;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* Each card is a native disclosure: the summary stays short, the facts drop down on click. */
.jd-pathway-card > summary {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	box-sizing: border-box;
	min-height: var(--jd-row-summary, 0px);
	cursor: pointer;
	list-style: none;
}

.jd-pathway-card > summary::-webkit-details-marker {
	display: none;
}

.jd-pathway-card > summary:focus-visible {
	outline: 3px solid var(--jd-blue);
	outline-offset: 6px;
	border-radius: 12px;
}

.jd-pathway-card:hover {
	border-color: color-mix(in srgb, var(--jd-blue) 42%, var(--jd-line));
	box-shadow: var(--jd-shadow-lift);
}

.jd-pathway-card:not([open]):hover {
	transform: translateY(-4px);
}

.jd-pathway-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 16px;
	color: var(--jd-blue);
	font-size: 0.9375rem;
	font-weight: 700;
}

.jd-pathway-toggle::after {
	content: "+";
	display: grid;
	width: 28px;
	height: 28px;
	place-items: center;
	border-radius: 50%;
	background: var(--jd-blue-soft);
	font-size: 1.125rem;
	line-height: 1;
}

.jd-pathway-card[open] .jd-pathway-toggle::after {
	content: "−";
	background: var(--jd-blue);
	color: #ffffff;
}

/* site.js animates the height; while closing, the icon already shows the closed state. */
.jd-pathway-card.is-closing .jd-pathway-toggle::after {
	content: "+";
	background: var(--jd-blue-soft);
	color: inherit;
}

.jd-pathway-card.is-animating {
	overflow: hidden;
}

.jd-pathway-tag {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	margin: 0 0 14px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--jd-red-soft);
	color: var(--jd-red-deep);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.03em;
}

.jd-pathway-card.is-featured > summary {
	padding-right: 72px;
}

.jd-pathway-card.is-featured .jd-pathway-tag {
	background: #ffffff;
	color: var(--jd-blue-deep);
}

.jd-pathway-card h3 {
	margin: 0;
	text-wrap: pretty;
	font-family: var(--jd-serif);
	font-size: clamp(1.35rem, 1.15rem + 0.45vw, 1.65rem);
	line-height: 1.25;
}

.jd-pathway-summary {
	margin: 10px 0 0;
	color: var(--jd-text);
	line-height: 1.65;
}

.jd-pathway-facts {
	display: grid;
	gap: 0;
	margin: 22px 0 0;
}

.jd-pathway-facts > div {
	display: grid;
	gap: 5px;
	padding: 13px 0;
	border-top: 1px solid var(--jd-line);
}

.jd-pathway-facts dt {
	color: var(--jd-blue-deep);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.jd-pathway-facts dd {
	margin: 0;
	color: var(--jd-ink);
	font-size: 0.9375rem;
	line-height: 1.6;
}

@media (min-width: 640px) {
	.jd-pathway-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.jd-note {
	margin: 16px 0 0;
	color: var(--jd-text);
	font-size: 0.875rem;
	line-height: 1.6;
}

.jd-note--center {
	text-align: center;
}

.jd-note a {
	color: var(--jd-blue);
}

.jd-callout {
	margin: 24px 0 0;
	padding: 16px 20px;
	border-left: 4px solid var(--jd-blue);
	border-radius: 0 12px 12px 0;
	background: var(--jd-blue-soft);
	color: var(--jd-ink);
	line-height: 1.6;
}

.jd-callout p {
	margin: 0;
}

.jd-callout p + p {
	margin-top: 6px;
}

.jd-kicker {
	margin: 0 0 6px;
	color: var(--jd-red);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.jd-src-line {
	display: inline;
}

.jd-src-kind {
	font-weight: 600;
}

.jd-src {
	color: var(--jd-blue);
	font-weight: 600;
	white-space: nowrap;
}

.jd-ticks {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jd-ticks li {
	position: relative;
	padding-left: 28px;
	line-height: 1.6;
}

.jd-ticks li::before {
	content: "";
	position: absolute;
	top: 0.35em;
	left: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--jd-blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230878c5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.jd-numbered {
	display: grid;
	gap: 12px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	counter-reset: jd;
}

.jd-numbered li {
	position: relative;
	padding-left: 40px;
	line-height: 1.6;
	counter-increment: jd;
}

.jd-numbered li::before {
	content: counter(jd);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	width: 28px;
	height: 28px;
	place-items: center;
	border-radius: 8px;
	background: var(--jd-blue);
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 700;
}

.jd-panel {
	padding: clamp(20px, 3vw, 32px);
	border-radius: 24px;
	background: #ffffff;
	box-shadow: var(--jd-shadow);
}

.jd-panel h3,
.jd-panel h4 {
	margin: 0 0 14px;
	font-size: 1.1875rem;
	line-height: 1.35;
}

.jd-panel p {
	margin: 0;
	line-height: 1.65;
}

.jd-panel--soft {
	background: var(--jd-soft);
	box-shadow: none;
}

.jd-panel--tint {
	background: var(--jd-blue-soft);
	box-shadow: none;
}

.jd-split {
	display: grid;
	gap: 24px;
	align-items: start;
	margin-top: 32px;
}

.jd-stack {
	display: grid;
	gap: 20px;
}

/* Native disclosure rows. */
.jd-mini-details {
	margin-top: 14px;
}

.jd-mini-details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	cursor: pointer;
	color: var(--jd-blue);
	font-weight: 700;
	list-style: none;
}

.jd-mini-details summary::-webkit-details-marker {
	display: none;
}

.jd-mini-details summary::after {
	content: "+";
	flex: none;
	display: grid;
	width: 28px;
	height: 28px;
	place-items: center;
	border-radius: 50%;
	background: var(--jd-blue-soft);
	font-size: 1.125rem;
	line-height: 1;
}

.jd-mini-details[open] summary::after {
	content: "−";
	background: var(--jd-blue);
	color: #ffffff;
}

/* site.js animates the height; while closing, the icon already shows the closed state. */
.jd-mini-details.is-closing summary::after {
	content: "+";
	background: var(--jd-blue-soft);
	color: inherit;
}

.jd-mini-details > p,
.jd-mini-details > ul,
.jd-mini-details > dl,
.jd-mini-details > div {
	margin-top: 14px;
}

.jd-mini-details--row {
	padding: 18px 22px;
	border: 1px solid var(--jd-line);
	border-radius: 16px;
	background: #ffffff;
	transition: box-shadow 250ms ease, border-color 250ms ease;
}

.jd-mini-details summary::after {
	transition: background-color 200ms ease, color 200ms ease;
}

.jd-mini-details--row summary {
	color: var(--jd-ink);
}

.jd-mini-details--row[open] {
	border-color: transparent;
	box-shadow: var(--jd-shadow);
}

.jd-mini-details--row.is-closing {
	border-color: var(--jd-line);
	box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
	.jd-mini-details--row,
	.jd-mini-details summary::after {
		transition: none;
	}
}

.jd-terms {
	display: grid;
	gap: 0;
	margin: 0;
}

.jd-terms > div {
	display: grid;
	gap: 4px;
	padding: 14px 0;
	border-top: 1px solid var(--jd-line);
}

.jd-terms > div:first-child {
	border-top: 0;
	padding-top: 0;
}

.jd-terms dt {
	color: var(--jd-ink);
	font-weight: 700;
}

.jd-terms dd {
	margin: 0;
	line-height: 1.6;
}

.jd-terms > .is-key {
	margin-inline: -14px;
	padding-inline: 14px;
	border-radius: 12px;
	background: var(--jd-blue-soft);
}

.jd-terms > .is-key + div {
	border-top-color: transparent;
}

/* Fold widgets keep their shared behaviour; only the look changes here. */
.jd-page .lp-fold-title {
	margin: 0;
}

.jd-page .jd-panel > .lp-fold-body,
.jd-page .jd-fold-block > .lp-fold-body {
	margin-top: 16px;
}

.jd-page .jd-fold-block {
	padding: clamp(20px, 3vw, 32px);
	border-radius: 24px;
	background: var(--jd-soft);
}

.jd-page .jd-fold-block .lp-fold-title {
	font-family: var(--jd-serif);
	font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem);
}

/* ---------- Hero ---------- */
.jd-hero {
	position: relative;
	padding: clamp(16px, 3vw, 40px) 0 clamp(48px, 6vw, 80px);
	overflow: hidden;
}

.jd-hero-blob {
	position: absolute;
	top: -120px;
	right: -160px;
	width: min(62vw, 820px);
	height: min(62vw, 820px);
	border-radius: 50%;
	background: var(--jd-blue-soft);
	pointer-events: none;
}

.jd-hero-grid {
	position: relative;
	display: grid;
	gap: 40px;
	align-items: center;
}

.jd-hero-eyebrow {
	margin: 0 0 18px;
	color: var(--jd-red);
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.jd-hero h1 {
	margin: 0;
	font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.5rem);
	line-height: 1.08;
}

.jd-hero h1 em {
	position: relative;
	z-index: 0;
	font-style: normal;
	white-space: nowrap;
}

.jd-hero h1 em::after {
	content: "";
	position: absolute;
	z-index: -1;
	right: -2%;
	bottom: 0.04em;
	left: 2%;
	height: 0.22em;
	border-radius: 999px;
	background: var(--jd-red);
	opacity: 0.85;
	transform: rotate(-1.2deg);
}

.jd-hero-sub {
	margin: 24px 0 0;
	color: var(--jd-ink);
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1.5;
}

.jd-hero-lede {
	max-width: 520px;
	margin: 12px 0 0;
	font-size: 1.0625rem;
	line-height: 1.75;
}

.jd-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 28px;
	align-items: center;
	margin-top: 32px;
}

.jd-play {
	display: inline-flex;
	gap: 14px;
	align-items: center;
	color: var(--jd-text);
	font-weight: 600;
	text-decoration: none;
}

.jd-play-dot {
	display: grid;
	width: 52px;
	height: 52px;
	place-items: center;
	border-radius: 50%;
	background: var(--jd-red);
	color: #ffffff;
	box-shadow: 0 14px 28px rgba(227, 30, 53, 0.3);
	transition: transform 200ms ease;
}

.jd-play:hover .jd-play-dot {
	transform: translateX(3px);
}

.jd-play:hover {
	color: var(--jd-ink);
}

.jd-hero-media {
	position: relative;
	margin: 0;
	padding: 24px 0 0 24px;
}

.jd-hero-media > img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 4.3;
	object-fit: cover;
	border-radius: 200px 200px 32px 32px;
	box-shadow: var(--jd-shadow-lift);
}

.jd-hero-media figcaption {
	position: relative;
	z-index: 1;
	margin-top: 12px;
	color: var(--jd-text);
	font-size: 0.8125rem;
	text-align: right;
}

.jd-plane {
	position: absolute;
	z-index: 2;
	color: var(--jd-blue);
	opacity: 0.85;
}

.jd-plane--a {
	top: 0;
	right: 14%;
}

.jd-plane--b {
	top: 40%;
	left: -4px;
	color: var(--jd-red);
}

.jd-float-card {
	position: absolute;
	z-index: 2;
	bottom: 18%;
	left: 0;
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 14px 20px 14px 14px;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: var(--jd-shadow-lift);
	color: var(--jd-ink);
	text-decoration: none;
}

.jd-float-card small,
.jd-trip-chip small {
	display: block;
	color: var(--jd-text);
	font-size: 0.8125rem;
}

.jd-float-card strong,
.jd-trip-chip strong {
	display: block;
	font-size: 1rem;
}

.jd-float-icon {
	display: grid;
	flex: none;
	width: 44px;
	height: 44px;
	place-items: center;
	border-radius: 12px;
	background: var(--jd-red-soft);
	color: var(--jd-red);
}

.jd-float-tag {
	position: absolute;
	z-index: 2;
	top: 18%;
	right: -4px;
	max-width: 220px;
	margin: 0;
	padding: 12px 16px;
	border-radius: 14px;
	background: var(--jd-navy);
	color: #ffffff;
	box-shadow: var(--jd-shadow-lift);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.jd-float-tag strong {
	display: block;
	color: var(--jd-sky);
	font-size: 0.9375rem;
}

.jd-facts {
	position: relative;
	display: grid;
	gap: 16px;
	margin: clamp(40px, 5vw, 64px) 0 0;
}

.jd-facts > div {
	padding: 22px 24px;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: var(--jd-shadow);
}

.jd-facts dt {
	color: var(--jd-ink);
	font-weight: 700;
	line-height: 1.4;
}

.jd-facts dt span {
	display: block;
	margin-bottom: 6px;
	color: var(--jd-text);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.jd-facts dd {
	margin: 8px 0 0;
	font-size: 0.9375rem;
	line-height: 1.55;
}

.jd-facts dd a {
	display: inline-block;
	margin-top: 6px;
	color: var(--jd-blue);
	font-weight: 700;
	white-space: nowrap;
}

.jd-facts .is-urgent {
	background: var(--jd-red-deep);
}

.jd-facts .is-urgent dt,
.jd-facts .is-urgent dd {
	color: #ffffff;
}

.jd-facts .is-urgent dt span {
	color: #ffe3e6;
}

.jd-facts .is-urgent dd a {
	color: #ffffff;
	text-decoration: underline;
}

/* ---------- Programmes: left-aligned cards with a colour strip, staggered on desktop ---------- */
.jd-majors {
	position: relative;
	z-index: 0;
	display: grid;
	gap: 24px;
	align-items: start;
}

.jd-major {
	--jd-tone: var(--jd-blue);
	position: relative;
	top: 0;
	display: flex;
	flex-direction: column;
	padding: 28px 26px 26px;
	border-radius: 24px;
	background: #ffffff;
	box-shadow: inset 0 5px 0 var(--jd-tone), var(--jd-shadow);
	transition: box-shadow 250ms ease, top 250ms ease;
}

.jd-major.is-coral,
.jd-major.is-red {
	--jd-tone: var(--jd-red);
}

.jd-major.is-teal {
	--jd-tone: var(--jd-teal);
}

.jd-major.is-gold,
.jd-major.is-amber {
	--jd-tone: var(--jd-amber);
}

.jd-major-top {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

/* The hovered or focused card lifts, with a red corner behind it. */
.jd-major:hover,
.jd-major:focus-within {
	box-shadow: inset 0 5px 0 var(--jd-tone), var(--jd-shadow-lift);
}

.jd-major::before {
	content: "";
	position: absolute;
	z-index: -1;
	bottom: -18px;
	left: -18px;
	width: 80px;
	height: 80px;
	border-radius: 28px 0 10px;
	background: var(--jd-red);
	opacity: 0;
	transform: scale(0.6);
	transform-origin: bottom left;
	transition: opacity 250ms ease, transform 250ms ease;
}

.jd-major:hover::before,
.jd-major:focus-within::before {
	opacity: 1;
	transform: none;
}

.jd-major-icon {
	display: grid;
	flex: none;
	width: 56px;
	height: 56px;
	place-items: center;
	border-radius: 20px 20px 20px 6px;
	background: var(--jd-blue-soft);
	color: var(--jd-blue);
}

.jd-major.is-gold .jd-major-icon,
.jd-major.is-amber .jd-major-icon {
	background: var(--jd-red-soft);
	color: var(--jd-red);
}

.jd-major.is-teal .jd-major-icon {
	background: var(--jd-blue-soft);
	color: var(--jd-navy);
}

.jd-major.is-red .jd-major-icon,
.jd-major.is-coral .jd-major-icon {
	background: var(--jd-red-soft);
	color: var(--jd-red);
}

.jd-major h3 {
	margin: 0;
	font-family: var(--jd-sans);
	font-size: 1.3125rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.jd-major-badge {
	margin: 0;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--jd-soft);
	color: var(--jd-ink);
	font-size: 0.8125rem;
	font-weight: 600;
	white-space: nowrap;
}

.jd-major-summary {
	margin: 10px 0 0;
	line-height: 1.6;
}

/* Internship coverage: teal when the partner list already has this field, amber when it still needs confirming. */
.jd-major-intern {
	margin: 14px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--jd-teal-soft);
	color: var(--jd-ink);
	font-size: 0.875rem;
	line-height: 1.5;
}

.jd-major-intern.is-pending {
	background: var(--jd-amber-soft);
}

.jd-major-intern strong {
	color: var(--jd-teal);
	font-weight: 600;
}

.jd-major-intern.is-pending strong {
	color: var(--jd-amber-deep);
}

/* Alumni quotes: two equal cards, stacked on phones. */
.jd-voices-list {
	display: grid;
	gap: 16px;
}

@media (min-width: 760px) {
	.jd-voices-list {
		grid-template-columns: 1fr 1fr;
	}
}

.jd-voices blockquote {
	margin: 0;
}

.jd-voices blockquote p {
	margin: 0;
	color: var(--jd-ink);
	font-family: var(--jd-serif);
	font-size: 1.0625rem;
	font-style: italic;
	line-height: 1.6;
}

.jd-voices blockquote p::before {
	content: "“";
}

.jd-voices blockquote p::after {
	content: "”";
}

.jd-major .lp-fold {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--jd-line);
}

/* The fold class sits on the wrapper, so only its title is set in a heavier weight. */
.jd-major .jd-major-more .lp-fold-title {
	color: var(--jd-ink);
	font-size: 0.875rem;
	font-weight: 600;
}

.jd-major .lp-fold-body {
	margin-top: 12px;
	font-size: 0.875rem;
	font-weight: 400;
}

.jd-major .jd-ticks {
	gap: 6px;
}

.jd-major .jd-ticks li {
	line-height: 1.5;
}

/* ---------- Destinations: campus cards ---------- */
.jd-cards {
	display: grid;
	gap: 28px;
}

.jd-card {
	margin: 0;
	overflow: hidden;
	border-radius: 24px;
	background: #ffffff;
	box-shadow: var(--jd-shadow);
	transition: transform 250ms ease, box-shadow 250ms ease;
}

.jd-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--jd-shadow-lift);
}

.jd-card img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3.4;
	object-fit: cover;
}

.jd-card figcaption {
	display: grid;
	gap: 6px;
	padding: 18px 22px 22px;
}

.jd-card figcaption strong {
	color: var(--jd-ink);
	font-size: 1.0625rem;
	line-height: 1.4;
}

.jd-card figcaption span {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	color: var(--jd-text);
	font-size: 0.875rem;
}

.jd-page .jd-cards-title {
	margin: clamp(48px, 6vw, 72px) 0 24px;
	text-align: center;
}

.jd-cards--facilities .jd-card img {
	aspect-ratio: 16 / 10;
}

.jd-cards--facilities .jd-card figcaption span {
	align-items: flex-start;
	line-height: 1.5;
}

.jd-cards--facilities .jd-card figcaption svg {
	flex: none;
	margin-top: 3px;
}

.jd-school {
	display: grid;
	gap: 24px;
	margin-top: clamp(40px, 5vw, 64px);
}

.jd-facts-list {
	display: grid;
	gap: 16px;
	margin: 0;
}

.jd-facts-list > div {
	padding: 22px 24px;
	border-radius: 20px;
	background: var(--jd-soft);
}

.jd-facts-list dt {
	margin-bottom: 6px;
	color: var(--jd-ink);
	font-weight: 700;
}

.jd-facts-list dd {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
}

.jd-campus {
	padding: clamp(22px, 3vw, 32px);
	border-radius: 24px;
	background: #ffffff;
	box-shadow: var(--jd-shadow);
}

.jd-campus h3 {
	margin: 0 0 4px;
	font-family: var(--jd-serif);
	font-size: 1.375rem;
}

/* ---------- Three easy steps ---------- */
.jd-steps {
	display: grid;
	gap: 28px;
}

.jd-step {
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 18px;
	align-items: start;
}

.jd-step-icon {
	display: grid;
	width: 52px;
	height: 52px;
	place-items: center;
	border-radius: 14px;
	background: var(--jd-navy);
	color: #ffffff;
}

.jd-steps .is-1 .jd-step-icon {
	background: var(--jd-red);
	color: #ffffff;
}

.jd-steps .is-2 .jd-step-icon {
	background: var(--jd-blue);
	color: #ffffff;
}

.jd-steps h3 {
	margin: 0 0 6px;
	font-size: 1.0625rem;
	line-height: 1.4;
}

.jd-step-tag {
	display: inline-block;
	margin-left: 4px;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--jd-soft);
	color: var(--jd-text);
	font-size: 0.75rem;
	font-weight: 700;
	vertical-align: 2px;
	white-space: nowrap;
}

.jd-steps p {
	margin: 0;
	line-height: 1.65;
}

.jd-trip {
	position: relative;
	padding: 0 0 56px;
}

.jd-trip::before {
	content: "";
	position: absolute;
	top: 12%;
	right: 4%;
	width: 72%;
	height: 72%;
	border-radius: 50%;
	background: var(--jd-blue-soft);
	filter: blur(40px);
}

.jd-trip-card {
	position: relative;
	max-width: 400px;
	margin: 0 auto;
	padding: 18px 18px 22px;
	border-radius: 26px;
	background: #ffffff;
	box-shadow: var(--jd-shadow-lift);
}

.jd-trip-card img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 20px;
}

.jd-trip-card figcaption {
	display: grid;
	gap: 6px;
	padding: 18px 6px 0;
}

.jd-trip-card strong {
	color: var(--jd-ink);
	font-size: 1.125rem;
}

.jd-trip-card span {
	color: var(--jd-text);
	font-size: 0.875rem;
}

.jd-trip-chip {
	position: absolute;
	right: 0;
	bottom: -8px;
	display: flex;
	gap: 12px;
	align-items: center;
	margin: 0;
	padding: 12px 18px 12px 12px;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: var(--jd-shadow-lift);
	color: var(--jd-ink);
}

.jd-dates {
	display: grid;
	gap: 16px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.jd-dates li {
	position: relative;
	padding: 24px 24px 24px 76px;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: var(--jd-shadow);
}

.jd-date-num {
	position: absolute;
	top: 24px;
	left: 24px;
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border-radius: 10px;
	background: var(--jd-blue-soft);
	color: var(--jd-blue-deep);
	font-weight: 700;
}

.jd-dates li:nth-child(2) .jd-date-num {
	background: var(--jd-red);
	color: #ffffff;
}

.jd-dates p {
	margin: 0;
	line-height: 1.55;
}

.jd-date-kind {
	color: var(--jd-text);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.jd-date-main {
	margin: 4px 0 !important;
	color: var(--jd-ink);
	font-size: 1.0625rem;
	font-weight: 700;
}

.jd-photo {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: 22px;
}

.jd-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.jd-photo figcaption {
	position: absolute;
	inset: auto 0 0;
	padding: 40px 18px 14px;
	background: linear-gradient(transparent, rgba(11, 42, 79, 0.82));
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
}

/* ---------- Costs ---------- */
.jd-totals {
	display: grid;
	gap: 16px;
	align-items: stretch;
}

.jd-total {
	padding: clamp(24px, 3vw, 36px);
	border-radius: 28px;
	background: #ffffff;
	box-shadow: var(--jd-shadow-lift);
}

.jd-total.is-vn {
	border-top: 6px solid var(--jd-blue);
}

.jd-total.is-school {
	border-top: 6px solid var(--jd-red);
}

.jd-total p {
	margin: 0;
	line-height: 1.6;
}

.jd-total-label {
	color: var(--jd-text);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.jd-total .jd-total-value {
	margin: 8px 0 10px;
	color: var(--jd-ink);
	font-family: var(--jd-serif);
	font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
}

.jd-totals-plus {
	display: grid;
	width: 52px;
	height: 52px;
	margin: -34px auto;
	z-index: 1;
	place-items: center;
	align-self: center;
	border-radius: 50%;
	background: var(--jd-red);
	color: #ffffff;
	font-size: 1.5rem;
	font-weight: 700;
	position: relative;
}

.jd-payees {
	display: grid;
	gap: 20px;
	margin-top: 32px;
}

.jd-payee {
	padding: 26px;
	border-radius: 24px;
	background: var(--jd-soft);
}

.jd-payee-where {
	display: inline-block;
	margin: 0 0 12px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--jd-blue-soft);
	color: var(--jd-blue);
	font-size: 0.8125rem;
	font-weight: 700;
}

.jd-payee.is-school .jd-payee-where {
	background: var(--jd-red-soft);
	color: var(--jd-red);
}

.jd-payee h3 {
	margin: 0;
	font-size: 1.125rem;
}

.jd-payee-amount {
	margin: 6px 0 0;
	color: var(--jd-ink);
	font-family: var(--jd-serif);
	font-size: 1.5rem;
	font-weight: 700;
}

.jd-payee .lp-fold {
	margin-top: 14px;
}

.jd-payee .jd-payee-fold {
	color: var(--jd-ink);
	font-size: 0.875rem;
	font-weight: 700;
}

.jd-payee ul {
	display: grid;
	gap: 0;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.jd-payee li {
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 10px 0;
	border-top: 1px solid var(--jd-line);
	font-size: 0.9375rem;
}

.jd-payee li small {
	display: block;
	color: var(--jd-text);
	font-size: 0.8125rem;
}

.jd-payee li b {
	color: var(--jd-ink);
	text-align: right;
	white-space: nowrap;
}

.jd-refund {
	display: grid;
	gap: 16px;
	margin-top: 16px;
}

.jd-page .lp-paytrack h4 {
	color: var(--jd-ink);
}

/* ---------- Trust ---------- */
.jd-evidence {
	display: grid;
	gap: 24px;
	align-items: start;
}

.jd-evidence-photo img {
	aspect-ratio: 4 / 3;
}

.jd-evidence-card {
	padding: clamp(22px, 3vw, 32px);
	border-radius: 24px;
	background: #ffffff;
	box-shadow: var(--jd-shadow);
}

.jd-evidence-card h3 {
	margin: 0 0 10px;
	font-family: var(--jd-serif);
	font-size: 1.375rem;
	line-height: 1.3;
}

.jd-evidence-card p {
	margin: 0;
	line-height: 1.65;
}

.jd-evidence-small {
	margin-top: 20px;
}

.jd-moments {
	margin-top: clamp(48px, 6vw, 72px);
}

.jd-moments-head h3 {
	margin: 0;
	font-family: var(--jd-serif);
	font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
}

.jd-moments-head p {
	margin: 6px 0 16px;
}

.jd-page .dk-moments-track figure.jd-card {
	border-radius: 22px;
	box-shadow: none;
}

.jd-page .dk-moments-track .jd-card figcaption {
	display: block;
	padding: 40px 16px 14px;
}

.jd-page .dk-moments-track .jd-card figcaption strong {
	color: #ffffff;
	font-size: 0.875rem;
}

.jd-page .dk-moments-track .jd-card img {
	aspect-ratio: 4 / 5;
}

.jd-moments-nav {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 8px;
}

.jd-round-btn {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: var(--jd-shadow);
	color: var(--jd-ink);
	font-size: 1.125rem;
	cursor: pointer;
}

.jd-round-btn:hover:not(:disabled) {
	background: var(--jd-blue);
	color: #ffffff;
}

.jd-round-btn:disabled {
	opacity: 0.4;
	cursor: default;
}

.jd-trust > .container > .jd-mini-details--row {
	margin-top: 32px;
}

.jd-roles {
	display: grid;
	gap: 20px;
	margin-top: 16px;
}

.jd-role .lp-fold-title {
	font-size: 1.125rem;
}

.jd-role-contact {
	margin-top: 14px !important;
	color: var(--jd-ink);
	font-weight: 600;
}

/* ---------- FAQ, laid out like the testimonial block ---------- */
.jd-faq {
	background: linear-gradient(180deg, #ffffff 0%, var(--jd-soft) 100%);
}

.jd-faq-grid {
	display: grid;
	gap: 32px;
	align-items: start;
}

.jd-faq .jd-head {
	margin-bottom: 0;
}

.jd-faq-stack {
	display: grid;
	gap: 14px;
}

.is-landing .jd-faq-stack details {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: var(--jd-shadow);
}

.is-landing .jd-faq-stack summary {
	padding: 20px 24px;
	color: var(--jd-ink);
	font-weight: 700;
}

.is-landing .jd-faq-stack details > p {
	margin: 0;
	padding: 0 24px 22px;
	line-height: 1.7;
}

.is-landing .jd-faq-stack details[open] {
	box-shadow: var(--jd-shadow-lift);
	outline: 2px solid var(--jd-blue-soft);
}

/* ---------- Sign-up band, like the reference's subscribe block ---------- */
.is-landing:has(.jd-page) .study-lead-section {
	position: relative;
	margin: 0 auto clamp(48px, 6vw, 96px);
	padding: clamp(40px, 6vw, 80px) 0;
	background: transparent;
}

.is-landing:has(.jd-page) .study-lead-section::before {
	content: "";
	position: absolute;
	inset: 0 max(16px, calc(50% - 640px));
	z-index: 0;
	display: block;
	border-radius: 120px 24px 24px 24px;
	background: var(--jd-blue-soft) linear-gradient(135deg, var(--jd-blue-soft) 0%, #f4f8fc 55%, var(--jd-red-soft) 100%);
	opacity: 1;
}

.is-landing:has(.jd-page) .study-lead-section::after {
	display: none;
}

.is-landing:has(.jd-page) .study-lead-layout {
	position: relative;
	z-index: 1;
	padding-inline: clamp(16px, 5vw, 72px);
}

.is-landing:has(.jd-page) .study-lead-section {
	color: var(--jd-text);
}

.is-landing:has(.jd-page) .study-lead-copy h2 {
	font-family: var(--jd-serif);
	color: var(--jd-ink);
}

.is-landing:has(.jd-page) .study-lead-copy p {
	color: var(--jd-text);
}

.is-landing:has(.jd-page) .study-lead-copy ul {
	color: var(--jd-ink);
}

.is-landing:has(.jd-page) .study-lead-copy li::before {
	border-color: var(--jd-red);
}

.is-landing:has(.jd-page) .study-contact {
	border-top-color: var(--jd-line);
}

.is-landing:has(.jd-page) .study-contact strong,
.is-landing:has(.jd-page) .study-contact a {
	color: var(--jd-ink);
}

.jd-page .dk-dock-zalo {
	background: var(--jd-blue);
}

.is-landing:has(.jd-page) .study-lead-form-wrap {
	border: 0;
	border-radius: 24px;
	background: #ffffff;
	box-shadow: var(--jd-shadow-lift);
}

.is-landing:has(.jd-page) .study-lead-form input,
.is-landing:has(.jd-page) .study-lead-form select,
.is-landing:has(.jd-page) .study-lead-form textarea {
	border-radius: 10px;
}

/* ================================================================
 * Wider screens
 * ================================================================ */
@media (min-width: 640px) {
	.jd-facts,
	.jd-majors,
	.jd-payees,
	.jd-refund,
	.jd-roles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

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

/* Two-column grids with an odd number of panels: the last one takes the full
   row instead of sitting alone in a half-empty row. */
@media (min-width: 640px) and (max-width: 899px) {
	.jd-refund > :last-child:nth-child(odd),
	.jd-payees > :last-child:nth-child(odd),
	.jd-cards:not(.jd-cards--facilities) > :last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	/* A full-width photo card would be very tall; keep the photo beside its caption. */
	.jd-cards:not(.jd-cards--facilities) > .jd-card:last-child:nth-child(odd) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
	}

	.jd-cards:not(.jd-cards--facilities) > .jd-card:last-child:nth-child(odd) img {
		height: 100%;
	}
}

@media (min-width: 900px) {
	.jd-hero-grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		gap: 56px;
	}

	.jd-facts,
	.jd-majors {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	/* Even cards sit a little lower; the name and summary rows keep one height so
	   badges, text and folds line up inside every card. */
	.jd-major:nth-child(even) {
		margin-top: 24px;
	}

	.jd-major h3 {
		min-height: 2.5em;
	}

	.jd-major-summary {
		min-height: 4.8em;
	}

	.jd-major:hover,
	.jd-major:focus-within {
		top: -8px;
	}

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

	.jd-cards:not(.jd-cards--facilities) .jd-card:nth-child(2) {
		transform: translateY(32px);
	}

	.jd-cards:not(.jd-cards--facilities) .jd-card:nth-child(2):hover {
		transform: translateY(28px);
	}

	.jd-cards:not(.jd-cards--facilities) + .jd-note {
		margin-top: 56px;
	}



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

	.jd-steps-grid {
		display: grid;
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		gap: 64px;
		align-items: center;
	}

	.jd-split {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
		gap: 32px;
	}

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

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

	.jd-dates li {
		padding: 76px 24px 24px;
	}

	.jd-totals {
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	}

	.jd-totals-plus {
		margin: 0 -34px;
	}

	.jd-payees,
	.jd-refund {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.jd-evidence {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	}

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

	.jd-faq-grid {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
		gap: 64px;
	}

	.jd-faq .jd-head {
		position: sticky;
		top: calc(var(--lp-header-h) + 32px);
	}
}

/* ================================================================
 * Phones
 * ================================================================ */
@media (max-width: 639px) {
	.jd-hero-media {
		padding: 16px 0 0 12px;
	}

	.jd-hero-media > img {
		aspect-ratio: 4 / 4;
		border-radius: 140px 140px 24px 24px;
	}

	.jd-float-card {
		bottom: 14%;
		padding: 10px 14px 10px 10px;
	}

	.jd-float-tag {
		top: 10%;
		max-width: 170px;
		padding: 10px 12px;
	}

	.jd-plane--b {
		display: none;
	}

	.jd-hero-actions .jd-button {
		width: 100%;
	}

	.jd-major::before {
		display: none;
	}

	.jd-trip-chip {
		position: relative;
		margin: -24px 16px 0 auto;
		width: max-content;
		max-width: calc(100% - 16px);
	}

	.jd-trip {
		margin-top: 40px;
		padding-bottom: 0;
	}

	.jd-page .study-lead-layout {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	.jd-page .study-lead-copy {
		display: contents;
	}

	.jd-page .study-lead-copy h2 { order: 1; margin: 0; }
	.jd-page .study-lead-copy > p:not(.study-lead-actions) { order: 2; margin: 0; }
	.jd-page .study-lead-form-wrap { order: 3; }
	.jd-page .study-lead-copy ul { order: 4; margin: 0; }
	.jd-page .study-lead-actions { order: 5; margin: 0; }

	.is-landing:has(.jd-page) .study-lead-section::before {
		inset: 0 8px;
		border-radius: 56px 20px 20px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jd-button,
	.jd-play-dot,
	.jd-card,
	.jd-major,
	.jd-major::before,
	.is-landing:has(.jd-page) .lp-button {
		transition: none;
	}

	.jd-card:hover,
	.jd-button:hover,
	.is-landing:has(.jd-page) .lp-button:hover {
		transform: none;
	}
}

.jd-page .dk-moments-track:focus-visible {
	outline: 3px solid var(--jd-blue);
	outline-offset: 4px;
}

/* Photo strip: images ease in on hover; the drift itself runs from site.js. */
.jd-page .dk-moments-track .jd-card img {
	transition: transform 600ms ease;
}

.jd-page .dk-moments-track li:hover .jd-card img {
	transform: scale(1.06);
}

.jd-page .dk-moments-track li:hover .jd-card {
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.jd-page .dk-moments-track .jd-card img {
		transition: none;
	}

	.jd-page .dk-moments-track li:hover .jd-card img {
		transform: none;
	}
}

/* ================================================================
 * Supporting colours: LETCO gold (amber) for money and scholarships,
 * teal for ticks and one programme, so the page is not all blue and red.
 * ================================================================ */
.jd-ticks li::before {
	background: var(--jd-teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f8a7a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.jd-panel--warm {
	background: var(--jd-amber-soft);
	box-shadow: none;
}

.jd-panel--warm .jd-kicker {
	color: var(--jd-amber-deep);
}

.jd-terms > .is-key {
	background: var(--jd-amber-soft);
}

/* Programmes: blue, red, teal and gold icons. */
.jd-major.is-teal .jd-major-icon {
	background: var(--jd-teal-soft);
	color: var(--jd-teal);
}

.jd-major.is-gold .jd-major-icon,
.jd-major.is-amber .jd-major-icon {
	background: var(--jd-amber-soft);
	color: var(--jd-amber-deep);
}

/* Three ways to start: gold, red, teal. */
.jd-steps .is-0 .jd-step-icon {
	background: var(--jd-amber);
	color: var(--jd-ink);
}

.jd-steps .is-2 .jd-step-icon {
	background: var(--jd-teal);
	color: #ffffff;
}

/* Intake dates: blue, red, gold. */
.jd-dates li:nth-child(3) .jd-date-num {
	background: var(--jd-amber-soft);
	color: var(--jd-amber-deep);
}

/* Who gets paid: LETCO blue, school red, other costs teal. */
.jd-payee.is-other .jd-payee-where {
	background: var(--jd-teal-soft);
	color: var(--jd-teal);
}

/* Hero: a small gold disc beside the photo. */
.jd-hero-media::before {
	content: "";
	position: absolute;
	z-index: 0;
	bottom: 8%;
	right: -28px;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: var(--jd-amber);
	opacity: 0.9;
}

.is-landing:has(.jd-page) .study-lead-section::before {
	background: var(--jd-blue-soft) linear-gradient(135deg, var(--jd-blue-soft) 0%, var(--jd-amber-soft) 55%, var(--jd-red-soft) 100%);
}

/* ---------- Facilities: one row of equal cards with side buttons ---------- */
.jd-carousel {
	position: relative;
}

.jd-page .jd-cards--facilities {
	display: flex;
	gap: 24px;
	/* Room for the card shadows, which the scrolling box would otherwise cut off. */
	margin: 0 0 -16px;
	padding: 8px 4px 48px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 4px;
	scroll-behavior: smooth;
	scrollbar-width: none;
	list-style: none;
}

.jd-page .jd-cards--facilities::-webkit-scrollbar {
	display: none;
}

.jd-page .jd-cards--facilities:focus-visible {
	outline: 3px solid var(--jd-blue);
	outline-offset: 4px;
	border-radius: 24px;
}

/* Four cards in view on wide screens, about two and a half on tablets, one and a bit on phones. */
.jd-cards--facilities > li {
	flex: 0 0 calc((100% - 3 * 24px) / 4);
	scroll-snap-align: start;
}

.jd-cards--facilities .jd-card {
	height: 100%;
	box-shadow: 0 12px 28px rgba(11, 42, 79, 0.08);
}

.jd-cards--facilities .jd-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 30px rgba(11, 42, 79, 0.12);
}

.jd-carousel-btn {
	position: absolute;
	z-index: 2;
	top: calc(50% - 40px);
	display: grid;
	width: 52px;
	height: 52px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: var(--jd-shadow-lift);
	color: var(--jd-ink);
	cursor: pointer;
	transition: background-color 200ms ease, color 200ms ease, opacity 200ms ease;
}

.jd-carousel-btn--prev {
	left: -26px;
}

.jd-carousel-btn--next {
	right: -26px;
}

.jd-carousel-btn--prev svg {
	transform: rotate(180deg);
}

.jd-carousel-btn:hover:not(:disabled) {
	background: var(--jd-blue);
	color: #ffffff;
}

.jd-carousel-btn:disabled {
	opacity: 0;
	pointer-events: none;
}

@media (max-width: 1099px) {
	.jd-cards--facilities > li {
		flex-basis: calc((100% - 2 * 24px) / 2.6);
	}

	.jd-carousel-btn--prev {
		left: -8px;
	}

	.jd-carousel-btn--next {
		right: -8px;
	}
}

@media (max-width: 639px) {
	.jd-page .jd-cards--facilities {
		gap: 14px;
	}

	.jd-cards--facilities > li {
		flex-basis: 78%;
	}

	.jd-carousel-btn {
		width: 44px;
		height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jd-page .jd-cards--facilities {
		scroll-behavior: auto;
	}

	.jd-carousel-btn {
		transition: none;
	}
}

.jd-photo-row {
	display: grid;
	gap: 20px;
}

/* ================================================================
 * Phones: tighter rhythm, compact programme cards, numbers beside the
 * route text, and swipeable rows instead of tall stacks of photos.
 * The container leaves 20px each side; swipe rows run to the screen edge.
 * ================================================================ */
@media (max-width: 639px) {
	.is-landing .jd-section {
		padding-block: 48px;
	}

	.is-landing .jd-section + .jd-section {
		padding-top: 24px;
	}

	.jd-head {
		margin-bottom: 28px;
	}

	.jd-block {
		margin-top: 40px;
	}

	.jd-hero-eyebrow {
		font-size: 0.75rem;
		letter-spacing: 0.04em;
	}

	/* Campus cards and internship photos: swipe sideways, the next card peeking in. */
	.jd-cards:not(.jd-cards--facilities),
	.jd-photo-row {
		display: flex;
		gap: 14px;
		margin-inline: -20px;
		padding: 4px 20px 24px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 20px;
		scrollbar-width: none;
	}

	.jd-cards:not(.jd-cards--facilities)::-webkit-scrollbar,
	.jd-photo-row::-webkit-scrollbar {
		display: none;
	}

	.jd-cards:not(.jd-cards--facilities) > .jd-card,
	.jd-photo-row > .jd-photo {
		flex: 0 0 78%;
		scroll-snap-align: start;
	}

	.jd-cards:not(.jd-cards--facilities) .jd-card img {
		aspect-ratio: 4 / 3;
	}

	.jd-cards:not(.jd-cards--facilities) .jd-card,
	.jd-cards--facilities .jd-card {
		box-shadow: 0 10px 24px rgba(11, 42, 79, 0.08);
	}

	.jd-cards:not(.jd-cards--facilities) + .jd-note {
		margin-top: 4px;
	}

	/* Facilities row also runs to the screen edge. */
	.jd-carousel {
		margin-inline: -20px;
	}

	.jd-page .jd-cards--facilities {
		padding-inline: 20px;
		scroll-padding-inline: 20px;
	}

	.jd-carousel-btn--prev {
		left: 6px;
	}

	.jd-carousel-btn--next {
		right: 6px;
	}

	.jd-panel,
	.jd-campus,
	.jd-evidence-card {
		border-radius: 20px;
	}

	.jd-facts {
		gap: 12px;
		margin-top: 32px;
	}

	.jd-facts > div {
		padding: 18px 20px;
	}
}

/* ================================================================
 * Left-aligned headings for the programme and journey sections:
 * title on the left, context on the right behind a red rule.
 * ================================================================ */
.jd-head--split {
	max-width: none;
	margin-inline: 0;
	text-align: left;
}

.jd-head--split .jd-eyebrow {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	color: var(--jd-red);
}

.jd-head--split .jd-eyebrow::before {
	content: "";
	width: 32px;
	height: 3px;
	border-radius: 3px;
	background: currentColor;
}

.jd-head--split .jd-intro {
	max-width: 560px;
	padding-left: 18px;
	border-left: 3px solid var(--jd-red);
}

@media (min-width: 900px) {
	.jd-head--split {
		display: grid;
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		column-gap: 64px;
		align-items: end;
	}

	.jd-head--split .jd-eyebrow,
	.jd-head--split h2 {
		grid-column: 1;
	}

	.jd-head--split .jd-intro {
		grid-column: 2;
		grid-row: 1 / span 2;
		align-self: end;
		margin: 0;
	}
}

/* ================================================================
 * Type: bold sans for sub-headings and sums, lighter labels.
 * ================================================================ */
.jd-page .jd-subtitle,
.jd-page .jd-fold-block .lp-fold-title,
.jd-campus h3,
.jd-evidence-card h3,
.jd-moments-head h3,
.jd-total .jd-total-value,
.jd-payee-amount {
	font-family: var(--jd-sans);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.jd-page .jd-subtitle {
	font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem);
}

.jd-mini-details summary,
.is-landing .jd-faq-stack summary,
.jd-facts dt span,
.jd-facts dd a,
.jd-total-label,
.jd-date-kind,
.jd-step-tag,
.jd-payee-where,
.jd-payee .jd-payee-fold {
	font-weight: 600;
}

/* ================================================================
 * Journey: a navy band; five numbered stops on one dashed track with
 * arrows between them. Desktop alternates long and short stems; below
 * 900px it becomes a vertical timeline.
 * ================================================================ */
.is-landing .jd-section.jd-route-zone {
	padding-top: 0;
}

.jd-journey {
	position: relative;
	margin-bottom: clamp(48px, 6vw, 80px);
	padding-block: clamp(56px, 7vw, 96px);
	background:
		radial-gradient(circle at 92% 0%, rgba(8, 120, 197, 0.5), transparent 42%),
		radial-gradient(circle at 0% 100%, rgba(227, 30, 53, 0.22), transparent 38%),
		var(--jd-navy);
	color: #c9d6e8;
}

.jd-journey .jd-head h2 {
	color: #ffffff;
}

.jd-journey .jd-head .jd-eyebrow {
	color: var(--jd-amber);
}

.jd-journey .jd-head .jd-intro {
	border-left-color: var(--jd-amber);
	color: #c9d6e8;
}

.jd-route {
	--jd-num: 48px;
	position: relative;
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* The track: each stop draws its piece from its number down to the next one. */
.jd-route li:not(:last-child)::before {
	content: "";
	position: absolute;
	top: calc(var(--jd-num) / 2);
	bottom: -16px;
	left: calc(var(--jd-num) / 2 - 1px);
	width: 2px;
	background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0 8px, transparent 8px 14px);
}

.jd-route li {
	position: relative;
	display: grid;
	grid-template-columns: var(--jd-num) minmax(0, 1fr);
	column-gap: 16px;
	align-items: start;
}

/* Arrow on the track, pointing to the next stop. */
.jd-route li:not(:last-child)::after {
	content: "";
	position: absolute;
	bottom: -14px;
	left: calc(var(--jd-num) / 2 - 5px);
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--jd-amber);
	border-bottom: 2px solid var(--jd-amber);
	transform: rotate(45deg);
}

.jd-route-num {
	position: relative;
	z-index: 1;
	display: grid;
	width: var(--jd-num);
	height: var(--jd-num);
	place-items: center;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0 0 6px var(--jd-navy);
	color: var(--jd-navy);
	font-family: var(--jd-sans);
	font-size: 1.125rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.jd-route-body {
	position: relative;
	padding: 18px 20px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.06);
	transition: background-color 250ms ease;
}

.jd-route li:hover .jd-route-body {
	background: rgba(255, 255, 255, 0.1);
}

.jd-route-when {
	margin: 0 0 6px;
	color: var(--jd-sky);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.jd-route h3 {
	margin: 0 0 6px;
	color: #ffffff;
	font-family: var(--jd-sans);
	font-size: 1.125rem;
	font-weight: 800;
	line-height: 1.3;
}

.jd-route-body p:not(.jd-route-when) {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
}

/* The paid internship: gold card and number, with its conditions link inside. */
.jd-route li.is-key .jd-route-num {
	background: var(--jd-amber);
	box-shadow: 0 0 0 6px var(--jd-navy), 0 0 0 9px rgba(243, 181, 27, 0.4);
	color: var(--jd-ink);
}

.jd-route li.is-key .jd-route-body {
	border-color: var(--jd-amber);
	background: var(--jd-amber);
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
	color: var(--jd-ink);
}

.jd-route li.is-key h3,
.jd-route li.is-key .jd-route-when {
	color: var(--jd-ink);
}

.jd-route li.is-key .jd-route-body p:not(.jd-route-when) {
	font-weight: 500;
}

.jd-route-link {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	min-height: 44px;
	margin-top: 4px;
	color: var(--jd-ink);
	font-size: 0.875rem;
	font-weight: 700;
	text-underline-offset: 3px;
}

.jd-journey .jd-route-link:focus-visible {
	outline-color: var(--jd-ink);
}

@media (min-width: 900px) {
	.jd-route {
		--jd-num: 64px;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 20px;
		margin-top: 8px;
	}

	.jd-route li:not(:last-child)::before {
		display: none;
	}

	/* One horizontal track through the centre of every number. */
	.jd-route::before {
		content: "";
		position: absolute;
		top: calc(var(--jd-num) / 2 - 1px);
		/* Ends at the centre of the last number: one column width minus half a number. */
		right: calc((100% - 4 * 20px) / 5 - var(--jd-num) / 2);
		bottom: auto;
		left: calc(var(--jd-num) / 2);
		height: 2px;
		background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0 8px, transparent 8px 14px);
	}

	.jd-route li {
		display: flex;
		flex-direction: column;
		--jd-stem: 28px;
	}

	/* Long and short stems give the row a high–low rhythm. */
	.jd-route li:nth-child(even) {
		--jd-stem: 72px;
	}

	.jd-route li:not(:last-child)::after {
		top: calc(var(--jd-num) / 2 - 5px);
		right: -11px;
		bottom: auto;
		left: auto;
		border-top: 2px solid var(--jd-amber);
		border-bottom: 0;
	}

	.jd-route-num {
		font-size: 1.375rem;
	}

	.jd-route-body {
		width: 100%;
		margin-top: var(--jd-stem);
		padding: 22px;
	}

	.jd-route-body::before {
		content: "";
		position: absolute;
		bottom: 100%;
		left: calc(var(--jd-num) / 2 - 1px);
		width: 2px;
		height: var(--jd-stem);
		background: rgba(255, 255, 255, 0.3);
	}

	.jd-route li.is-key .jd-route-body::before {
		background: var(--jd-amber);
	}
}

/* ================================================================
 * Internship partners: one card per company.
 * ================================================================ */
.jd-companies {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.jd-companies li {
	padding: 10px 10px 18px;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: var(--jd-shadow);
}

.jd-companies figure {
	margin: 0 0 14px;
}

.jd-companies img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 14px;
}

.jd-page .jd-companies h4 {
	margin: 0 8px;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.35;
}

.jd-companies p {
	margin: 6px 8px 0;
	font-size: 0.875rem;
	line-height: 1.5;
}

.jd-companies .jd-company-where {
	display: flex;
	gap: 6px;
	align-items: center;
	color: var(--jd-red);
	font-size: 0.8125rem;
	font-weight: 600;
}

.jd-companies .jd-company-where svg {
	flex: none;
}

/* ================================================================
 * Student photo strip on a warm full-width band, between white sections.
 * ================================================================ */
.jd-moments {
	position: relative;
	isolation: isolate;
	padding-block: clamp(40px, 5vw, 64px);
}

.jd-moments::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0 calc(50% - 50vw);
	background: var(--jd-amber-soft);
}

/* The static preview replaces forms with a contact note; the sign-up column
   already carries that introduction, so only the note's heading and buttons stay. */
.study-lead-form-wrap .form-fallback > p:nth-child(2) {
	display: none;
}

/* ================================================================
 * Phones and tablets
 * ================================================================ */
@media (max-width: 639px) {
	.jd-majors {
		gap: 14px;
	}

	.jd-major {
		padding: 20px 20px 18px;
		border-radius: 20px;
	}

	.jd-major-top {
		margin-bottom: 14px;
	}

	.jd-major-icon {
		width: 48px;
		height: 48px;
		border-radius: 16px 16px 16px 4px;
	}

	.jd-major-icon svg {
		width: 24px;
		height: 24px;
	}

	.jd-major h3 {
		font-size: 1.1875rem;
	}

	.jd-major-summary {
		font-size: 0.9375rem;
	}

	.jd-major .lp-fold {
		margin-top: 14px;
		padding-top: 4px;
	}

	/* The shared phone fold rule sets a large title and a bottom rule; inside a
	   card the fold stays a quiet secondary row. */
	.has-folds .jd-major .jd-major-more {
		border-bottom: 0;
	}

	.has-folds .jd-major .jd-major-more > .lp-fold-head > .lp-fold-title {
		font-size: 0.875rem;
		font-weight: 600;
	}

	/* One row per company: picture on the left, details on the right. */
	.jd-companies {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.jd-companies li {
		display: grid;
		grid-template-columns: 112px minmax(0, 1fr);
		column-gap: 14px;
		align-content: center;
		padding: 8px;
		border-radius: 16px;
	}

	.jd-companies figure {
		grid-row: 1 / span 3;
		margin: 0;
	}

	.jd-companies img {
		height: 100%;
		min-height: 84px;
		border-radius: 12px;
	}

	.jd-page .jd-companies h4,
	.jd-companies p {
		margin-inline: 0;
	}

	.jd-page .jd-companies h4 {
		margin-top: 4px;
		font-size: 0.9375rem;
	}

	.jd-companies p:last-child {
		margin-bottom: 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jd-route-body {
		transition: none;
	}
}

/* Anchored blocks inside sections land below the fixed header, like sections do. */
.jd-page div[id],
.jd-page details[id] {
	scroll-margin-top: calc(var(--lp-header-h) + 16px);
}

/* Five partners on tablets: three on the first row, two wider ones on the second. */
@media (min-width: 640px) and (max-width: 899px) {
	.jd-companies {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	.jd-companies li {
		grid-column: span 2;
	}

	.jd-companies li:nth-child(n + 4) {
		grid-column: span 3;
	}

	/* Cards in the second row are 1.5 times wider; a 2:1 picture keeps both rows the same height. */
	.jd-companies li:nth-child(n + 4) img {
		aspect-ratio: 2 / 1;
	}
}

/* Landing motion: a staggered hero entrance, a gently floating deadline card and planes, and
   cards that rise in turn when their block scrolls into view. Only when motion is welcome. */
@media (prefers-reduced-motion: no-preference) {
	@keyframes jd-rise {
		from { opacity: 0; transform: translateY(24px); }
		to { opacity: 1; transform: none; }
	}

	@keyframes jd-zoom-in {
		from { opacity: 0; transform: scale(0.94); }
		to { opacity: 1; transform: none; }
	}

	@keyframes jd-float {
		0%, 100% { transform: translateY(0); }
		50% { transform: translateY(-10px); }
	}

	@keyframes jd-drift {
		0%, 100% { transform: translate(0, 0) rotate(0deg); }
		50% { transform: translate(8px, -12px) rotate(6deg); }
	}

	@keyframes jd-blob {
		0%, 100% { transform: scale(1); }
		50% { transform: scale(1.06) translate(-12px, 10px); }
	}

	.jd-hero-copy > * {
		animation: jd-rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.jd-hero-copy > :nth-child(2) { animation-delay: 90ms; }
	.jd-hero-copy > :nth-child(3) { animation-delay: 180ms; }
	.jd-hero-copy > :nth-child(4) { animation-delay: 270ms; }
	.jd-hero-copy > :nth-child(5) { animation-delay: 360ms; }

	.jd-hero-media > img {
		animation: jd-zoom-in 900ms cubic-bezier(0.2, 0.7, 0.2, 1) 120ms both;
	}

	.jd-hero h1 em::after {
		transform-origin: left center;
		animation: jd-underline 700ms cubic-bezier(0.2, 0.7, 0.2, 1) 650ms both;
	}

	@keyframes jd-underline {
		from { transform: rotate(-1.2deg) scaleX(0); }
		to { transform: rotate(-1.2deg) scaleX(1); }
	}

	.jd-float-card {
		animation: jd-rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) 500ms both, jd-float 5s ease-in-out 1.2s infinite;
	}

	.jd-float-tag {
		animation: jd-rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) 650ms both;
	}

	.jd-plane--a {
		animation: jd-drift 7s ease-in-out infinite;
	}

	.jd-plane--b {
		animation: jd-drift 9s ease-in-out 1.5s infinite reverse;
	}

	.jd-hero-blob {
		animation: jd-blob 14s ease-in-out infinite;
	}

	.jd-facts > div {
		animation: jd-rise 600ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
		transition: transform 250ms ease, box-shadow 250ms ease;
	}

	.jd-facts > div:nth-child(1) { animation-delay: 450ms; }
	.jd-facts > div:nth-child(2) { animation-delay: 530ms; }
	.jd-facts > div:nth-child(3) { animation-delay: 610ms; }
	.jd-facts > div:nth-child(4) { animation-delay: 690ms; }

	.jd-facts > div:hover {
		transform: translateY(-4px);
		box-shadow: var(--jd-shadow-lift);
	}

	/* Blocks revealed on scroll (site.js adds .lp-reveal, then .is-in): their cards follow in turn. */
	.lp-reveal :is(.jd-pathway-card, .jd-steps > .jd-step, .jd-card, .jd-panel) {
		opacity: 0;
		transform: translateY(18px);
		transition: opacity 500ms ease, transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 250ms ease, border-color 250ms ease;
	}

	.lp-reveal.is-in :is(.jd-pathway-card, .jd-steps > .jd-step, .jd-card, .jd-panel) {
		opacity: 1;
		transform: none;
	}

	.lp-reveal.is-in :is(.jd-pathway-card, .jd-steps > .jd-step, .jd-card, .jd-panel):nth-child(2) { transition-delay: 80ms, 80ms, 0s, 0s; }
	.lp-reveal.is-in :is(.jd-pathway-card, .jd-steps > .jd-step, .jd-card, .jd-panel):nth-child(3) { transition-delay: 160ms, 160ms, 0s, 0s; }
	.lp-reveal.is-in :is(.jd-pathway-card, .jd-steps > .jd-step, .jd-card, .jd-panel):nth-child(4) { transition-delay: 240ms, 240ms, 0s, 0s; }
	.lp-reveal.is-in :is(.jd-pathway-card, .jd-steps > .jd-step, .jd-card, .jd-panel):nth-child(5) { transition-delay: 320ms, 320ms, 0s, 0s; }

	.lp-reveal.is-in .jd-pathway-card:not([open]):hover,
	.lp-reveal.is-in .jd-card:hover {
		transform: translateY(-4px);
	}
}

/* ================================================================
 * Short page: students skim, so the rhythm is tight, headings are
 * smaller and every section fits in about one screen.
 * ================================================================ */
.is-landing .jd-page .jd-section {
	padding-block: clamp(40px, 5vw, 72px);
}

.is-landing .jd-page .jd-section + .jd-section {
	padding-top: clamp(16px, 2vw, 32px);
}

.jd-page .jd-head {
	margin-bottom: clamp(20px, 3vw, 32px);
}

.jd-page .jd-head h2 {
	font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
}

.jd-page .jd-hero {
	padding-bottom: clamp(8px, 2vw, 24px);
}

.jd-page .jd-hero h1 {
	font-size: clamp(2.25rem, 1.4rem + 2.8vw, 3.75rem);
}

.jd-page .jd-pathway-grid {
	align-items: stretch;
}

/* Steps read as cards, like the hero facts: icon, title, date and one line. */
.jd-page .jd-steps {
	gap: 16px;
}

.jd-page .jd-step {
	grid-template-columns: 44px 1fr;
	align-content: start;
	gap: 14px;
	padding: 22px 24px;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: var(--jd-shadow);
}

.jd-page .jd-step-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
}

.jd-page .jd-steps + .jd-mini-details {
	margin-top: 20px;
}

@media (min-width: 900px) {
	.jd-page .jd-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* Three across, the icon sits above the text like the hero facts. */
	.jd-page .jd-step {
		grid-template-columns: 1fr;
	}
}

/* Sign-up button at the end of a section. */
.jd-cta-row {
	margin: clamp(20px, 3vw, 28px) 0 0;
}

/* Application countdown under the hero: copy, four time boxes and a sign-up button. */
.jd-countdown-inner {
	display: grid;
	gap: 20px;
	align-items: center;
	padding: clamp(22px, 3vw, 32px);
	border-radius: 24px;
	background: linear-gradient(135deg, var(--jd-navy), var(--jd-blue-deep));
	color: #ffffff;
	box-shadow: var(--jd-shadow-lift);
}

.jd-countdown-copy .jd-eyebrow {
	color: var(--jd-sky);
}

.jd-countdown-copy h2 {
	margin: 0;
	color: #ffffff;
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
	line-height: 1.2;
}

.jd-countdown-copy p:last-child {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.82);
}

.jd-countdown-clock {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jd-countdown-clock li {
	display: grid;
	justify-items: center;
	gap: 2px;
	padding: 12px 6px;
	border-radius: 14px;
	background: #ffffff;
	color: var(--jd-ink);
}

.jd-countdown-clock span {
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
}

.jd-countdown-clock small {
	color: var(--jd-text);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.jd-countdown .jd-button {
	background: var(--jd-red);
	box-shadow: 0 16px 30px rgba(227, 30, 53, 0.3);
}

.jd-countdown-closed {
	margin: 0;
	font-weight: 700;
}

@media (min-width: 900px) {
	.jd-countdown-inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto;
		gap: 32px;
	}
}

/* The date sits under the step title, so short titles never wrap around it. */
.jd-page .jd-step-tag {
	display: block;
	width: fit-content;
	margin: 6px 0 0;
}

@media (min-width: 900px) {
	.jd-page .jd-facts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 639px) {
	.jd-page .jd-hero-media > img {
		aspect-ratio: 16 / 11;
		border-radius: 120px 120px 24px 24px;
	}

	.jd-page .jd-facts > div {
		padding: 16px 18px;
	}

	.jd-cta-row .jd-button {
		display: flex;
		width: 100%;
		justify-content: center;
	}
}

/* ================================================================
 * Motion across the short page. Each kind of block has its own entrance,
 * so the page does not repeat one effect. site.js marks blocks below the
 * fold with .lp-reveal and adds .is-in as they arrive; without the script,
 * or with reduced motion, everything is simply shown.
 * ================================================================ */
@media (prefers-reduced-motion: no-preference) {
	@keyframes jd-pop {
		0% { opacity: 0; transform: scale(0.6); }
		60% { opacity: 1; transform: scale(1.06); }
		100% { opacity: 1; transform: none; }
	}

	@keyframes jd-fact-in {
		from { opacity: 0; transform: translateY(26px) scale(0.92); }
		to { opacity: 1; transform: none; }
	}

	/* Hero facts zoom up instead of rising like the hero copy. */
	.jd-page .jd-facts > div {
		animation-name: jd-fact-in;
		animation-timing-function: cubic-bezier(0.34, 1.4, 0.64, 1);
	}

	/* Section heads: eyebrow slides in, the title wipes on, the intro follows. */
	.jd-page .lp-reveal.jd-head .jd-eyebrow {
		opacity: 0;
		transform: translateX(-24px);
		transition: opacity 450ms ease, transform 450ms ease;
	}

	.jd-page .lp-reveal.jd-head h2 {
		clip-path: inset(-0.4em 100% -0.4em -0.1em);
		transition: clip-path 750ms cubic-bezier(0.65, 0, 0.35, 1) 120ms;
	}

	.jd-page .lp-reveal.jd-head .jd-intro {
		opacity: 0;
		transition: opacity 600ms ease 500ms;
	}

	.jd-page .lp-reveal.is-in.jd-head .jd-eyebrow,
	.jd-page .lp-reveal.is-in.jd-head .jd-intro {
		opacity: 1;
		transform: none;
	}

	.jd-page .lp-reveal.is-in.jd-head h2 {
		clip-path: inset(-0.4em -0.1em -0.4em -0.1em);
	}

	/* Programme cards come in from opposite sides. */
	.jd-page .lp-reveal .jd-pathway-card:nth-child(1) {
		transform: translateX(-48px);
	}

	.jd-page .lp-reveal .jd-pathway-card:nth-child(2) {
		transform: translateX(48px);
	}

	.jd-page .lp-reveal.is-in .jd-pathway-card {
		transform: none;
		transition-duration: 700ms;
	}

	/* Step cards pop up with a little overshoot; their icons spin in after. */
	.jd-page .lp-reveal .jd-steps > .jd-step,
	.jd-page .lp-reveal.jd-steps > .jd-step {
		opacity: 0;
		transform: scale(0.85) translateY(12px);
		transition: opacity 400ms ease, transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 250ms ease;
	}

	.jd-page .lp-reveal.jd-steps .jd-step-icon {
		transform: rotate(-120deg) scale(0);
		transition: transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1) 250ms;
	}

	.jd-page .lp-reveal.is-in.jd-steps > .jd-step {
		opacity: 1;
		transform: none;
	}

	.jd-page .lp-reveal.is-in.jd-steps .jd-step-icon {
		transform: none;
	}

	.jd-page .lp-reveal.is-in.jd-steps > .jd-step:nth-child(2),
	.jd-page .lp-reveal.is-in.jd-steps > .jd-step:nth-child(2) .jd-step-icon { transition-delay: 120ms, 120ms, 0s; }
	.jd-page .lp-reveal.is-in.jd-steps > .jd-step:nth-child(3),
	.jd-page .lp-reveal.is-in.jd-steps > .jd-step:nth-child(3) .jd-step-icon { transition-delay: 240ms, 240ms, 0s; }

	/* Countdown: copy slides in, the time boxes flip down one by one, the button bounces. */
	.jd-page .lp-reveal.jd-countdown-copy {
		opacity: 0;
		transform: translateX(-32px);
		transition: opacity 500ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
	}

	.jd-page .lp-reveal.jd-countdown-clock {
		perspective: 600px;
	}

	.jd-page .lp-reveal.jd-countdown-clock li {
		opacity: 0;
		transform: rotateX(-90deg);
		transform-origin: top center;
		transition: opacity 300ms ease, transform 600ms cubic-bezier(0.34, 1.3, 0.64, 1);
	}

	.jd-page .lp-reveal.is-in.jd-countdown-copy,
	.jd-page .lp-reveal.is-in.jd-countdown-clock li {
		opacity: 1;
		transform: none;
	}

	.jd-page .lp-reveal.is-in.jd-countdown-clock li:nth-child(2) { transition-delay: 100ms; }
	.jd-page .lp-reveal.is-in.jd-countdown-clock li:nth-child(3) { transition-delay: 200ms; }
	.jd-page .lp-reveal.is-in.jd-countdown-clock li:nth-child(4) { transition-delay: 300ms; }

	/* Sign-up buttons bounce into place. */
	.jd-page .lp-reveal:is(.jd-cta-row, .jd-countdown-inner > .jd-button) {
		opacity: 0;
	}

	.jd-page .lp-reveal.is-in.jd-cta-row {
		animation: jd-pop 650ms cubic-bezier(0.2, 0.7, 0.2, 1) 150ms both;
	}

	.jd-page .jd-countdown-inner > .lp-reveal.is-in.jd-button {
		animation: jd-pop 650ms cubic-bezier(0.2, 0.7, 0.2, 1) 450ms both, jd-pulse 2.4s ease-in-out 1.2s infinite;
	}

	/* Cost totals slide toward each other; the plus sign spins in between them. */
	.jd-page .lp-reveal.jd-totals .jd-total {
		opacity: 0;
		transition: opacity 500ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 250ms ease;
	}

	.jd-page .lp-reveal.jd-totals .jd-total:first-child {
		transform: translateX(-56px);
	}

	.jd-page .lp-reveal.jd-totals .jd-total:last-child {
		transform: translateX(56px);
	}

	.jd-page .lp-reveal.jd-totals .jd-totals-plus {
		transform: rotate(-180deg) scale(0);
		transition: transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1) 350ms;
	}

	.jd-page .lp-reveal.is-in.jd-totals .jd-total,
	.jd-page .lp-reveal.is-in.jd-totals .jd-totals-plus {
		opacity: 1;
		transform: none;
	}

	/* The note bar wipes open from its coloured edge. */
	.jd-page .lp-reveal.jd-callout {
		clip-path: inset(0 100% 0 0);
		transition: clip-path 800ms cubic-bezier(0.65, 0, 0.35, 1);
	}

	.jd-page .lp-reveal.is-in.jd-callout {
		clip-path: inset(0 0 0 0);
	}

	/* Folds grow open slightly; small notes simply fade. */
	.jd-page .lp-reveal.jd-mini-details {
		opacity: 0;
		transform: scale(0.96);
		transition: opacity 450ms ease, transform 450ms ease;
	}

	.jd-page .lp-reveal.jd-note {
		opacity: 0;
		transition: opacity 700ms ease 200ms;
	}

	.jd-page .lp-reveal.is-in:is(.jd-mini-details, .jd-note) {
		opacity: 1;
		transform: none;
	}

	/* Company cards are dealt in with a small tilt. */
	.jd-page .lp-reveal.jd-companies > li {
		opacity: 0;
		transform: translateY(36px) rotate(-6deg);
		transition: opacity 450ms ease, transform 650ms cubic-bezier(0.34, 1.3, 0.64, 1), box-shadow 250ms ease;
	}

	/* FAQ questions slide in from the right. */
	.jd-page .lp-reveal .jd-faq-stack > details,
	.jd-page .lp-reveal.jd-faq-stack > details {
		opacity: 0;
		transform: translateX(48px);
		transition: opacity 450ms ease, transform 550ms cubic-bezier(0.2, 0.7, 0.2, 1);
	}

	.jd-page .lp-reveal.is-in.jd-companies > li,
	.jd-page .lp-reveal.is-in.jd-faq-stack > details {
		opacity: 1;
		transform: none;
	}

	.jd-page .lp-reveal.is-in:is(.jd-companies, .jd-faq-stack) > :nth-child(2) { transition-delay: 90ms, 90ms, 0s; }
	.jd-page .lp-reveal.is-in:is(.jd-companies, .jd-faq-stack) > :nth-child(3) { transition-delay: 180ms, 180ms, 0s; }
	.jd-page .lp-reveal.is-in:is(.jd-companies, .jd-faq-stack) > :nth-child(4) { transition-delay: 270ms, 270ms, 0s; }
	.jd-page .lp-reveal.is-in:is(.jd-companies, .jd-faq-stack) > :nth-child(5) { transition-delay: 360ms, 360ms, 0s; }

	/* The sign-up block: copy from the left, form from the right. */
	.jd-page .lp-reveal.study-lead-copy,
	.jd-page .lp-reveal.study-lead-form-wrap {
		opacity: 0;
		transition: opacity 550ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
	}

	.jd-page .lp-reveal.study-lead-copy {
		transform: translateX(-40px);
	}

	.jd-page .lp-reveal.study-lead-form-wrap {
		transform: translateX(40px);
		transition-delay: 120ms;
	}

	.jd-page .lp-reveal.is-in:is(.study-lead-copy, .study-lead-form-wrap) {
		opacity: 1;
		transform: none;
	}

	/* Cards lift under the pointer once they have arrived. */
	.jd-page :is(.jd-step, .jd-companies > li, .jd-total):hover,
	.jd-page .lp-reveal.is-in :is(.jd-step, .jd-companies > li, .jd-total):hover,
	.jd-page .lp-reveal.is-in:is(.jd-steps, .jd-companies) > :hover {
		transform: translateY(-4px);
		box-shadow: var(--jd-shadow-lift);
	}

	/* The countdown: each digit drops in as it changes, and the button pulses gently. */
	@keyframes jd-tick {
		from { opacity: 0.2; transform: translateY(-40%); }
		to { opacity: 1; transform: none; }
	}

	.jd-countdown-clock span.is-tick {
		animation: jd-tick 350ms cubic-bezier(0.2, 0.7, 0.2, 1);
	}

	@keyframes jd-pulse {
		0%, 100% { box-shadow: 0 16px 30px rgba(227, 30, 53, 0.3), 0 0 0 0 rgba(227, 30, 53, 0.45); }
		50% { box-shadow: 0 16px 30px rgba(227, 30, 53, 0.3), 0 0 0 12px rgba(227, 30, 53, 0); }
	}

	.jd-countdown .jd-button {
		animation: jd-pulse 2.4s ease-in-out infinite;
	}
}

/* ─── Lộ trình tham gia (Roadmap) ──────────────────────────────────────────── */

.jd-roadmap {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.jd-roadmap-step {
	display: grid;
	grid-template-columns: 3rem 1fr;
	gap: 0 1.25rem;
	position: relative;
}

/* Vertical connecting line between steps */
.jd-roadmap-step:not(:last-child)::before {
	content: '';
	position: absolute;
	left: calc(1.5rem - 1px);
	top: 3rem;
	bottom: 0;
	width: 2px;
	background: linear-gradient(to bottom, var(--jd-blue, #1a3a6e) 0%, transparent 100%);
	opacity: 0.18;
}

.jd-roadmap-num {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--jd-blue, #1a3a6e);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
	box-shadow: 0 4px 12px rgba(26, 58, 110, 0.25);
	margin-top: 0.125rem;
}

.jd-roadmap-body {
	padding: 0 0 2rem;
}

.jd-roadmap-body h3 {
	margin: 0 0 0.625rem;
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--jd-navy, #0e2147);
	line-height: 1.35;
	padding-top: 0.5rem;
}

.jd-roadmap-body .jd-ticks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.jd-roadmap-body .jd-ticks li {
	position: relative;
	padding-left: 1.375rem;
	font-size: 0.9375rem;
	color: var(--jd-body, #3d4a5a);
	line-height: 1.5;
}

.jd-roadmap-body .jd-ticks li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	background: var(--jd-blue, #1a3a6e);
	opacity: 0.25;
}

.jd-roadmap-step:last-child .jd-roadmap-body {
	padding-bottom: 0;
}

@media (min-width: 640px) {
	.jd-roadmap {
		gap: 0;
	}
	.jd-roadmap-step {
		grid-template-columns: 3.5rem 1fr;
		gap: 0 1.5rem;
	}
	.jd-roadmap-num {
		width: 3.5rem;
		height: 3.5rem;
		font-size: 1.125rem;
	}
	.jd-roadmap-step:not(:last-child)::before {
		left: calc(1.75rem - 1px);
		top: 3.5rem;
	}
	.jd-roadmap-body h3 {
		font-size: 1.125rem;
	}
}


/* ---------- Daeduk only: page background ----------
 * Light sakura pink on the left fading to light sky blue on the right; cards stay white. */
.is-landing .study-daeduk.jd-page {
	background: linear-gradient(90deg, #fdeef3 0%, #f4f2f9 50%, #e6f2fc 100%);
}

/* The FAQ's own white-to-grey fill would cut a band across the gradient. */
.study-daeduk .jd-faq {
	background: transparent;
}

/* ---------- Daeduk only: cherry blossom backdrop ----------
 * A branch over the hero, petals drifting down every section to the sign-up
 * form, and the same branch and petals in the corners of three sections.
 * Pure decoration, kept behind the content so text and cards stay on top. */
.study-daeduk .jd-hero > .container {
	position: relative;
	z-index: 1;
}

.study-daeduk .jd-hero::before,
.study-daeduk :is(#he-dao-tao, #chi-phi, #hoi-dap)::before {
	content: "";
	position: absolute;
	pointer-events: none;
	background-repeat: no-repeat;
	background-size: contain;
}

/* The branch grows in from the left edge of the screen at every width, never floating mid-page. */
.study-daeduk .jd-hero::before {
	top: 0;
	left: 0;
	width: clamp(240px, 28vw, 500px);
	aspect-ratio: 680 / 280;
	background-image: url("/wp-content/themes/letco-rebuild/assets/images/daeduk-sakura-branch.svg");
	opacity: 0.85;
}

/* Falling petals: behind the hero's blue disc and behind the content of every section. */
.study-daeduk .jd-hero::after,
.study-daeduk .jd-section::after,
.is-landing:has(.jd-page) .study-daeduk .study-lead-section::after {
	content: "";
	position: absolute;
	inset: 0;
	display: block;
	background: url("/wp-content/themes/letco-rebuild/assets/images/daeduk-sakura-petals.svg") 0 0 / 360px repeat;
	opacity: 0.7;
	pointer-events: none;
}

.study-daeduk :is(.jd-hero, .jd-section) {
	isolation: isolate;
}

.study-daeduk .jd-hero::after {
	z-index: -1;
}

/* Fade the top and bottom edges so petals do not stop at a hard line between sections. */
.study-daeduk .jd-section::after {
	z-index: -1;
	mask-image: linear-gradient(transparent, #000 48px, #000 calc(100% - 48px), transparent);
}

/* Behind the form's gradient card, so petals only drift in the margins around it. */
.study-daeduk .study-lead-section {
	isolation: isolate;
}

.is-landing:has(.jd-page) .study-daeduk .study-lead-section::after {
	z-index: -1;
}

.study-daeduk :is(#he-dao-tao, #chi-phi, #hoi-dap)::before {
	z-index: -1;
	aspect-ratio: 680 / 280;
	background-image: url("/wp-content/themes/letco-rebuild/assets/images/daeduk-sakura-branch.svg");
	opacity: 0.6;
}

/* Branch reaching in from the top right, beside the left-aligned heading. */
.study-daeduk #he-dao-tao::before {
	top: 0;
	right: -40px;
	width: clamp(200px, 32vw, 440px);
	transform: scaleX(-1);
}

/* A loose drift of petals in the lower left of the costs. */
.study-daeduk #chi-phi::before {
	bottom: 0;
	left: 0;
	width: clamp(180px, 24vw, 320px);
	aspect-ratio: 1;
	background-image: url("/wp-content/themes/letco-rebuild/assets/images/daeduk-sakura-petals.svg");
	opacity: 0.8;
}

/* Branch growing up from the bottom left of the FAQ, low enough to clear its intro text. */
.study-daeduk #hoi-dap::before {
	bottom: -48px;
	left: -40px;
	width: clamp(180px, 20vw, 300px);
	transform: scaleY(-1);
}

/* Below desktop width the hero has no free space above its caption; the petals are enough. */
@media (max-width: 1099px) {
	.study-daeduk .jd-hero::before {
		display: none;
	}
}

@media (max-width: 639px) {
	.study-daeduk :is(#he-dao-tao, #hoi-dap)::before {
		opacity: 0.4;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.study-daeduk .jd-hero::after,
	.study-daeduk .jd-section::after,
	.is-landing:has(.jd-page) .study-daeduk .study-lead-section::after {
		animation: jd-petals-fall 40s linear infinite;
	}
}

@keyframes jd-petals-fall {
	to {
		background-position: 360px 360px;
	}
}

/* Roadmap: heading and steps sit on a solid card, styled like the sign-up step cards,
 * so the petals pass behind it, not behind the text. */
.jd-roadmap-panel {
	margin-bottom: 2rem;
	padding: clamp(22px, 3vw, 40px) clamp(24px, 3vw, 40px);
	border-radius: 20px;
	background: #ffffff;
	box-shadow: var(--jd-shadow);
}

.jd-roadmap-panel .jd-roadmap,
.jd-roadmap-panel .jd-roadmap-layout {
	margin-bottom: 0;
}

/* Roadmap: the steps on the left and an illustration of study in Korea filling the right on wide screens. */
.jd-roadmap-art {
	display: none;
	margin: 0;
}

@media (min-width: 900px) {
	.jd-roadmap-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
		gap: clamp(32px, 4vw, 64px);
		align-items: center;
		margin-bottom: 2rem;
	}

	.jd-roadmap-layout .jd-roadmap {
		margin-bottom: 0;
	}

	.jd-roadmap-art {
		display: block;
	}

	.jd-roadmap-art img {
		display: block;
		width: 100%;
		max-width: 460px;
		height: auto;
		margin-inline: auto;
	}
}
