.residency-country-hub-page,
.residency-program-detail-page,
.residency-detail-page {
  background: #fff;
  color: #173a60;
}

.residency-detail-hero {
  position: relative;
  height: 350px;
  min-height: 350px;
  overflow: hidden;
  isolation: isolate;
  background-color: #07315f;
  background-image: var(--residency-detail-hero);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.residency-detail-hero::before,
.residency-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.residency-detail-hero::before {
  z-index: -2;
  background: linear-gradient(90deg, rgba(3, 29, 59, .9) 0%, rgba(7, 48, 91, .77) 45%, rgba(7, 48, 91, .28) 74%, rgba(7, 48, 91, .08) 100%);
}

.residency-detail-hero::after {
  z-index: -1;
  opacity: .13;
  background-image:
    linear-gradient(rgba(255, 255, 255, .24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .24) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.residency-detail-hero-inner {
  display: flex;
  height: 350px;
  min-height: 350px;
  padding-top: 24px;
  padding-bottom: 24px;
  flex-direction: column;
  justify-content: flex-start;
}

.residency-detail-breadcrumb {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .76);
}

.residency-detail-breadcrumb a { color: #fff; }

.residency-detail-hero-copy { width: min(850px, 70%); }

.residency-detail-country {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
  gap: 12px;
}

.residency-detail-country img {
  width: 48px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .62);
  object-fit: cover;
}

.residency-detail-country span,
.residency-programme-card-meta span {
  font-family: var(--site-font-sans);
  font-size: var(--site-type-meta);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.residency-detail-country span { color: #f2bd5a; }

.residency-detail-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
}

.residency-detail-hero-copy > p {
  max-width: 760px;
  margin: 12px 0 0;
  color: #e1eaf3;
  font-family: var(--site-font-sans);
  font-size: var(--site-type-lead);
  font-weight: 400;
  line-height: 1.75;
}

.residency-detail-stats {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid #d5e0e8;
  background: #fff;
}

.residency-detail-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.residency-detail-stat-grid article {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid #d5e0e8;
}

.residency-detail-stat-grid article:first-child { border-left: 1px solid #d5e0e8; }

.residency-detail-stat-grid small,
.residency-programme-card-facts small,
.residency-detail-status small {
  display: block;
  color: #806034;
  font-family: var(--site-font-sans);
  font-size: var(--site-type-meta);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.residency-detail-stat-grid small { margin-bottom: 7px; }

.residency-detail-stat-grid strong {
  display: block;
  color: #082f60;
  font-family: var(--site-font-sans);
  font-size: var(--site-type-lead);
  font-weight: 700;
  line-height: 1.45;
}

.residency-detail-section { padding: 56px 0; }
.residency-detail-section-soft { background: #f3f7fa; }

.residency-detail-section-navy {
  background: #062b55;
  color: #fff;
}

.residency-detail-heading {
  max-width: 880px;
  margin-bottom: 24px;
}

.residency-detail-heading .eyebrow {
  margin-bottom: 12px;
  color: #96681f;
  font-family: var(--site-font-sans);
  font-size: var(--site-type-meta) !important;
  font-weight: 900;
  line-height: 1.5;
}

.residency-detail-heading h2 {
  margin: 0;
  color: #082f60;
}

.residency-detail-heading > p:last-child,
.residency-directory-heading > p:last-child {
  margin: 14px 0 0;
  color: #486580;
  font-family: var(--site-font-sans);
  font-size: var(--site-type-body);
  line-height: 1.75;
}

.residency-detail-heading-split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: end;
  gap: 48px;
}

.residency-detail-heading-split > p {
  margin: 0;
  color: #486580;
  font-family: var(--site-font-sans);
  font-size: var(--site-type-body);
  line-height: 1.75;
}

.residency-detail-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .92fr);
  align-items: center;
  gap: 48px;
}

.residency-detail-feature-image {
  height: 320px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d5e0e8;
  background: #e7edf1;
}

.residency-detail-feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.residency-detail-prose { max-width: 900px; }

.residency-detail-prose p {
  margin: 0 0 14px;
  color: #365675;
  font-family: var(--site-font-sans);
  font-size: var(--site-type-body);
  font-weight: 400;
  line-height: 1.75;
}

.residency-detail-prose p:last-child { margin-bottom: 0; }

.residency-detail-status {
  display: inline-flex;
  margin-top: 20px;
  padding: 12px 16px;
  align-items: center;
  gap: 14px;
  border-left: 3px solid #c99335;
  background: #f4f7f9;
}

.residency-detail-status strong {
  color: #082f60;
  font-family: var(--site-font-sans);
  font-size: var(--site-type-body);
  line-height: 1.55;
}

.residency-detail-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.residency-detail-check-grid article {
  position: relative;
  min-width: 0;
  padding: 30px 32px;
  overflow: hidden;
  border: 1px solid #d5e0e8;
  background: #fff;
  box-shadow: 0 12px 30px rgba(5, 37, 70, .05);
}

.residency-detail-check-grid article > span {
  color: rgba(169, 118, 34, .76);
  font-family: var(--site-font-sans);
  font-size: var(--site-type-title);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .03em;
  font-variant-numeric: lining-nums tabular-nums;
}

.residency-detail-check-grid article > span {
  position: absolute;
  top: 26px;
  right: 28px;
}

.residency-detail-check-grid h3 {
  margin: 0 64px 20px 0;
  color: #082f60;
}

.residency-detail-check-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.residency-detail-check-grid li {
  position: relative;
  padding-left: 18px;
  color: #365675;
  font-family: var(--site-font-sans);
  font-size: var(--site-type-body);
  line-height: 1.75;
}

.residency-detail-check-grid li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c99536;
  transform: translateY(-50%);
}

.residency-process-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid #d5e0e8;
  border-bottom: 1px solid #d5e0e8;
  list-style: none;
}

.residency-process-grid li {
  min-width: 0;
  padding: 24px 20px;
  border-left: 1px solid #d5e0e8;
}

.residency-process-grid li:last-child { border-right: 1px solid #d5e0e8; }

.residency-process-grid span {
  display: block;
  margin-bottom: 24px;
  color: #a97622;
  font-family: var(--site-font-sans);
  font-size: var(--site-type-meta);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .1em;
}

.residency-process-grid h3 {
  margin: 0 0 10px;
  color: #082f60;
}

.residency-process-grid p,
.residency-continuity-list p {
  margin: 0;
  font-family: var(--site-font-sans);
  font-size: var(--site-type-body);
  line-height: 1.7;
}

.residency-process-grid p { color: #486580; }

.residency-continuity-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 56px;
}

.residency-detail-heading-light { margin: 0; }
.residency-detail-heading-light .eyebrow { color: #e1b55e; }
.residency-detail-heading-light h2 { color: #fff; }

.residency-continuity-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.residency-continuity-list article {
  display: grid;
  padding: 18px 0;
  grid-template-columns: minmax(150px, .38fr) minmax(0, .62fr);
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.residency-continuity-list h3 { margin: 0; color: #fff; }
.residency-continuity-list p { color: #cdd9e6; }

.residency-programme-directory { padding: 56px 0 64px; background: #f4f7f9; }
.residency-directory-heading {
  max-width: 1060px;
  margin-bottom: 28px;
}

.residency-directory-heading > p:last-child {
  max-width: 1040px;
  margin-top: 16px;
  font-size: var(--site-type-lead);
  line-height: 1.75;
}

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

.residency-programme-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid #cfdae3;
  background: #fff;
  box-shadow: 0 12px 30px rgba(4, 35, 71, .05);
}

.residency-programme-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.residency-programme-card-content {
  display: flex;
  padding: 18px;
  flex: 1;
  flex-direction: column;
}

.residency-programme-card-meta {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  gap: 10px;
}

.residency-programme-card-meta img {
  width: 40px;
  height: 30px;
  border: 1px solid #d5e0e8;
  object-fit: cover;
}

.residency-programme-card-meta span { color: #a16c1e; }

.residency-programme-card h3 {
  margin: 0 0 14px;
  color: #082f60;
}

.residency-programme-card-facts {
  display: grid;
  margin: 0 0 18px;
  padding: 14px 0 0;
  gap: 12px;
  border-top: 1px solid #dce4ea;
  list-style: none;
}

.residency-programme-card-facts strong {
  display: block;
  margin-top: 3px;
  color: #173a60;
  font-family: var(--site-font-sans);
  font-size: var(--site-type-body);
  font-weight: 700;
  line-height: 1.55;
}

.residency-programme-card-link {
  width: fit-content;
  margin-top: auto;
}

.residency-detail-cta { margin-top: 0; }

@media (max-width: 1120px) {
  .residency-programme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .residency-process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .residency-process-grid li { border-bottom: 1px solid #d5e0e8; }
  .residency-process-grid li:nth-child(4) { border-right: 0; }
}

@media (max-width: 980px) {
  .residency-detail-hero,
  .residency-detail-hero-inner { height: auto; min-height: 350px; }
  .residency-detail-hero-copy { width: min(780px, 80%); }
  .residency-detail-overview-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 32px; }
  .residency-continuity-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 820px) {
  .residency-programme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .residency-detail-heading-split { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 760px) {
  .residency-detail-hero {
    height: auto;
    min-height: 420px;
    background-position: 64% center;
  }

  .residency-detail-hero::before { background: linear-gradient(90deg, rgba(3, 29, 59, .92), rgba(7, 48, 91, .72)); }

  .residency-detail-hero-inner {
    height: auto;
    min-height: 420px;
    padding-top: 22px;
    padding-bottom: 30px;
  }

  .residency-detail-breadcrumb { margin-bottom: 28px; }
  .residency-detail-breadcrumb > span:nth-last-child(-n + 2) { display: none; }
  .residency-detail-hero-copy { width: 100%; }
  .residency-detail-country { margin-bottom: 12px; }
  .residency-detail-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .residency-detail-stat-grid article { padding: 20px 16px; border-bottom: 1px solid #d5e0e8; border-left: 0; }
  .residency-detail-stat-grid article:first-child,
  .residency-detail-stat-grid article:nth-child(odd) { border-left: 1px solid #d5e0e8; }
  .residency-detail-section { padding: 44px 0; }
  .residency-programme-directory { padding: 44px 0; }
  .residency-detail-heading { margin-bottom: 20px; }
  .residency-detail-overview-grid { grid-template-columns: 1fr; gap: 24px; }
  .residency-detail-feature-image { height: 240px; }
  .residency-detail-check-grid { grid-template-columns: 1fr; }
  .residency-detail-check-grid article { padding: 26px 22px; }
  .residency-detail-check-grid article > span { top: 23px; right: 22px; }
  .residency-detail-check-grid h3 { margin-right: 54px; margin-bottom: 18px; }
  .residency-process-grid { grid-template-columns: 1fr; }
  .residency-process-grid li { padding: 22px; border-right: 1px solid #d5e0e8; }
  .residency-process-grid span { margin-bottom: 14px; }
  .residency-continuity-list article { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 560px) {
  .residency-programme-grid { grid-template-columns: 1fr; }
  .residency-programme-card-content { padding: 18px; }
  .residency-detail-status { display: flex; align-items: flex-start; flex-direction: column; gap: 5px; }
}

/* Shared residency programme standard, approved on the Canada ICT route. */
.residency-programme-page--standard .residency-detail-hero-copy { width: min(940px, 78%); }
.residency-programme-page--standard .residency-detail-hero-copy > p { max-width: 820px; }

.residency-ict-snapshot {
  padding: 0 0 34px;
  border: 0;
  background: #f4f8fb;
}

.residency-ict-snapshot-grid {
  display: grid;
  position: relative;
  z-index: 3;
  width: min(1100px, calc(100% - 32px));
  margin-right: auto;
  margin-bottom: -18px;
  margin-left: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  transform: translateY(-18px);
}

.residency-ict-snapshot-grid article {
  display: flex;
  min-width: 0;
  min-height: 104px;
  padding: 16px 18px;
  align-items: center;
  gap: 12px;
  border: 1px solid #d5e3ed;
  border-top: 3px solid #c79032;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(5, 42, 78, .08);
}

.residency-ict-snapshot-grid article:nth-child(even) { border-top-color: #1c6aa8; }

.residency-ict-snapshot-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: #fff4dd;
  color: #a66d12;
  place-items: center;
}

.residency-ict-snapshot-grid article:nth-child(even) .residency-ict-snapshot-icon {
  background: #eaf4fc;
  color: #155c96;
}

.residency-ict-snapshot-icon svg,
.residency-ict-check-icon svg,
.residency-ict-continuity-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.residency-ict-snapshot-icon svg { width: 20px; height: 20px; }

.residency-ict-snapshot-grid small {
  display: block;
  margin-bottom: 4px;
  color: #8a6223;
  font-family: var(--site-font-sans);
  font-size: var(--site-type-meta);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.residency-ict-snapshot-grid strong {
  display: block;
  min-width: 0;
  color: #082f60;
  font-family: var(--site-font-sans);
  font-size: var(--site-type-title);
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
  font-variant-numeric: lining-nums tabular-nums;
}

.residency-programme-page--standard .residency-detail-overview { padding-top: 68px; }
.residency-programme-page--standard .residency-detail-overview-grid { align-items: start; gap: 56px; }
.residency-programme-page--standard .residency-detail-heading { max-width: 940px; margin-bottom: 28px; }
.residency-programme-page--standard .residency-detail-overview .residency-detail-prose p:first-child { font-size: var(--site-type-lead); color: #284e72; }
.residency-programme-page--standard .residency-detail-feature-image { height: 390px; border: 0; border-radius: 10px; box-shadow: 0 18px 38px rgba(5, 42, 78, .12); }

.residency-programme-page--standard #programme-requirements {
  background: linear-gradient(135deg, #edf5fa 0%, #f8fbfd 56%, #f4f8fb 100%);
}

.residency-ict-check-grid { align-items: start; gap: 24px; }

.residency-ict-check-grid .residency-ict-check-card {
  padding: 0 34px 32px;
  overflow: visible;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(5, 42, 78, .09);
}

.residency-ict-check-card::before {
  content: "";
  display: block;
  height: 5px;
  margin: 0 -34px 28px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, #155c96, #52a1d0);
}

.residency-ict-check-card--value::before { background: linear-gradient(90deg, #b47b1f, #e0b75e); }

.residency-ict-check-card-head {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  gap: 10px;
}

.residency-ict-check-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 8px;
  background: #eaf4fc;
  color: #155c96;
  place-items: center;
}

.residency-ict-check-icon svg { width: 18px; height: 18px; }

.residency-ict-check-card--value .residency-ict-check-icon { background: #fff4dd; color: #a66d12; }
.residency-ict-check-grid .residency-ict-check-card h3 { margin: 0; }
.residency-ict-check-grid .residency-ict-check-card > ol {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ict-item;
}

.residency-ict-check-grid .residency-ict-check-card > ol > li {
  min-height: 30px;
  padding: 3px 0 0 44px;
  counter-increment: ict-item;
}

.residency-ict-check-grid .residency-ict-check-card > ol > li::before {
  content: counter(ict-item);
  display: grid;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e7f2fa;
  color: #155c96;
  font-family: var(--site-font-sans);
  font-size: var(--site-type-meta);
  font-weight: 700;
  line-height: 1;
  transform: none;
  place-items: center;
}

.residency-ict-check-grid .residency-ict-check-card--value > ol > li::before {
  background: #fff2da;
  color: #a66d12;
}

.residency-ict-sublist {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: ict-subitem;
}

.residency-ict-sublist li {
  min-height: 0;
  padding: 0 0 0 32px;
  counter-increment: ict-subitem;
}

.residency-ict-sublist li::before {
  content: "(" counter(ict-subitem) ")";
  display: block;
  top: 0;
  width: 28px;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #155c96;
  font-family: var(--site-font-sans);
  font-size: var(--site-type-body);
  font-weight: 700;
  line-height: 1.75;
  transform: none;
  white-space: nowrap;
}

.residency-ict-process-heading { max-width: 980px; margin-bottom: 36px; }

.residency-ict-process {
  display: grid;
  position: relative;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.residency-ict-process::before {
  content: "";
  position: absolute;
  top: 27px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: linear-gradient(90deg, #c99536, #5f9fc5);
}

.residency-ict-process li { position: relative; min-width: 0; }

.residency-ict-process-marker {
  display: grid;
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #0b4e85;
  box-shadow: 0 0 0 1px #8fb7d1, 0 8px 20px rgba(5, 42, 78, .14);
  color: #fff;
  font-family: var(--site-font-sans);
  font-size: var(--site-type-meta);
  font-weight: 700;
  line-height: 1;
  place-items: center;
}

.residency-ict-process li:nth-child(even) .residency-ict-process-marker { background: #b47b1f; box-shadow: 0 0 0 1px #d9b870, 0 8px 20px rgba(104, 67, 10, .14); }

.residency-ict-process li > div {
  min-height: 220px;
  padding: 24px 20px;
  border: 1px solid #d8e4ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(5, 42, 78, .06);
}

.residency-ict-process h3 { margin: 0 0 12px; color: #082f60; }
.residency-ict-process p { margin: 0; color: #486580; font-family: var(--site-font-sans); font-size: var(--site-type-body); font-weight: 400; line-height: 1.7; }

.residency-detail-section-navy.residency-ict-continuity {
  background: linear-gradient(135deg, #eaf3f8 0%, #f8fbfd 62%, #eef5f8 100%);
  color: #173a60;
}

.residency-ict-continuity-grid {
  display: block;
}

.residency-ict-continuity-grid .residency-detail-heading { max-width: 980px; margin: 0 0 32px; }
.residency-ict-continuity-grid .residency-detail-heading h2 { color: #082f60; }

.residency-ict-continuity-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: 24px;
}

.residency-ict-continuity-cards { display: grid; gap: 14px; }

.residency-ict-continuity-cards article {
  display: grid;
  padding: 20px 22px;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  border: 1px solid #d7e3eb;
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 26px rgba(5, 42, 78, .07);
}

.residency-ict-continuity-icon {
  display: grid;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #e7f1f8;
  color: #155c96;
  place-items: center;
}

.residency-ict-continuity-cards article:nth-child(2) .residency-ict-continuity-icon { background: #fff3dc; color: #a66d12; }
.residency-ict-continuity-cards h3 { margin: 0 0 6px; color: #082f60; }
.residency-ict-continuity-cards p { margin: 0; color: #486580; font-family: var(--site-font-sans); font-size: var(--site-type-body); font-weight: 400; line-height: 1.7; }

.residency-ict-continuity-image {
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(5, 42, 78, .12);
}

.residency-ict-continuity-image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1120px) {
  .residency-ict-snapshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .residency-ict-snapshot-grid article { min-height: 0; }
  .residency-ict-process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .residency-ict-process::before { display: none; }
  .residency-ict-process-marker { margin-left: 18px; }
}

@media (max-width: 980px) {
  .residency-programme-page--standard .residency-detail-hero-copy { width: min(820px, 88%); }
  .residency-ict-continuity-layout { grid-template-columns: 1fr; }
  .residency-ict-continuity-image { min-height: 300px; }
}

@media (max-width: 760px) {
  .residency-programme-page--standard .residency-detail-hero-copy { width: 100%; }
  .residency-ict-snapshot { padding-bottom: 18px; }
  .residency-ict-snapshot-grid { width: calc(100% - 28px); margin-bottom: -14px; grid-template-columns: 1fr; gap: 10px; transform: translateY(-14px); }
  .residency-ict-snapshot-grid article { min-height: 86px; padding: 14px 16px; }
  .residency-programme-page--standard .residency-detail-overview { padding-top: 48px; }
  .residency-programme-page--standard .residency-detail-overview-grid { gap: 28px; }
  .residency-programme-page--standard .residency-detail-feature-image { height: 250px; }
  .residency-ict-check-grid .residency-ict-check-card { padding: 0 22px 26px; }
  .residency-ict-check-card::before { margin-right: -22px; margin-left: -22px; }
  .residency-ict-process { grid-template-columns: 1fr; gap: 16px; }
  .residency-ict-process::before { display: block; top: 12px; bottom: 12px; left: 27px; width: 2px; height: auto; }
  .residency-ict-process li { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: start; gap: 14px; }
  .residency-ict-process-marker { margin: 0; }
  .residency-ict-process li > div { min-height: 0; padding: 20px 18px; }
  .residency-ict-continuity-cards article { padding: 18px; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .residency-ict-continuity-icon { width: 44px; height: 44px; }
  .residency-ict-continuity-image { min-height: 230px; }
}
