/* Graduate programme: the first two years as a road of five stages, photographs either side. */
.gd-road { position: relative; list-style: none; margin: 38px 0 0; padding: 0; }
.gd-road::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: color-mix(in srgb, var(--st) 35%, #fff); }
.gd-road > li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; }
.gd-road > li + li { margin-top: clamp(14px, 2vw, 28px); }
.gd-road figure { grid-column: 1; grid-row: 1; margin: 0; aspect-ratio: 16/10; overflow: hidden; }
.gd-road img { width: 100%; height: 100%; object-fit: cover; }
.gd-num { grid-column: 2; grid-row: 1; justify-self: center; display: grid; place-items: center; position: relative; z-index: 1; width: 56px; height: 56px; background: var(--st); color: #fff; font: 600 1.3rem/1 var(--sans); }
.gd-card { grid-column: 3; grid-row: 1; }
.gd-road > li:nth-child(even) figure { grid-column: 3; }
.gd-road > li:nth-child(even) .gd-card { grid-column: 1; text-align: right; }
.gd-card h3 { margin: 0 0 8px; color: #0B0D1A; font: 600 clamp(1.4rem, 1.15rem + 1vw, 2rem)/1.12 var(--sans); letter-spacing: -.018em; }
.gd-card p { margin: 0; font-size: 1.1rem; line-height: 1.42; color: #33353F; }
.gd-say { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid #D9D6CE; color: var(--st); font: 600 1.08rem/1.32 var(--sans); }

.gd-corner { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.gd-corner figure { margin: 0 0 14px; aspect-ratio: 4/3; overflow: hidden; }
.gd-corner img { width: 100%; height: 100%; object-fit: cover; }
.gd-corner h3 { margin: 0 0 4px; color: #fff; font: 600 1.4rem/1.15 var(--sans); }
.gd-corner p { margin: 0; color: #fff; font-size: 1.08rem; line-height: 1.38; }

.gd-apply { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); margin-top: 30px; align-items: start; }
.gd-elig { padding: clamp(20px, 2.4vw, 32px); background: #fff; }
.gd-elig h3 { margin: 0 0 14px; color: #0B0D1A; font: 600 1.3rem/1.2 var(--sans); }
.gd-elig ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gd-elig li { padding-left: 22px; position: relative; font-size: 1.04rem; line-height: 1.4; color: #33353F; }
.gd-elig li::before { content: ""; position: absolute; left: 0; top: .58em; width: 12px; height: 2px; background: var(--st); }
.gd-elig p { margin: 14px 0 0; font-size: .96rem; color: #5C5F6B; }
.gd-steps { list-style: none; margin: 0; padding: 0; }
.gd-steps li { display: grid; grid-template-columns: 44px minmax(0, 3fr) minmax(0, 5fr); gap: 14px; align-items: baseline; padding-block: 14px; border-top: 1px solid #C7C4BC; }
.gd-steps li:last-child { border-bottom: 1px solid #C7C4BC; }
.gd-steps span { font: 600 1.05rem/1 var(--sans); color: var(--st); }
.gd-steps h3 { margin: 0; color: #0B0D1A; font: 600 1.2rem/1.2 var(--sans); }
.gd-steps p { margin: 0; font-size: 1.04rem; line-height: 1.36; color: #33353F; }

@media (max-width: 900px) {
  .gd-road::before { left: 23px; }
  .gd-road > li { grid-template-columns: 48px minmax(0, 1fr); gap: 0 14px; }
  .gd-road > li + li { margin-top: 30px; }
  .gd-num { grid-column: 1; grid-row: 1; width: 46px; height: 46px; font-size: 1.1rem; align-self: start; justify-self: start; }
  .gd-road figure, .gd-road > li:nth-child(even) figure { grid-column: 2; grid-row: 1; margin-bottom: 12px; }
  .gd-card, .gd-road > li:nth-child(even) .gd-card { grid-column: 2; grid-row: 2; text-align: left; }
  .gd-corner, .gd-apply { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .gd-steps li { grid-template-columns: 36px minmax(0, 1fr); } .gd-steps p { grid-column: 2; } }
