.sp {
  display: none;
}

@media (max-width: 640px) {
  .sp {
    display: inline;
  }
}

.lower-hero--courses {
  background: var(--brand-pale);
}

.lower-hero__visual--courses img {
  filter: saturate(0.92) contrast(0.98);
}

.course-choice-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
}

.course-choice-card {
  width: calc((100% - 28px) / 3);
  min-height: 108px;
  padding: 20px 18px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.course-choice-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.course-choice-card__mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  background: var(--brand-pale);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.course-choice-card > div {
  min-width: 0;
  flex: 1 1 auto;
}

.course-choice-card strong, .course-choice-card small {
  display: block;
}

.course-choice-card strong {
  margin-bottom: 5px;
  font-size: var(--font-size-body-small);
  line-height: 1.55;
}

.course-choice-card small {
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
  line-height: 1.6;
}

.course-choice-card > i {
  flex: 0 0 auto;
  color: var(--brand-dark);
  font-size: var(--font-size-body-small);
  font-style: normal;
}

.courses-message-panel {
  margin-top: 34px;
}

.courses-section-heading {
  margin-bottom: 48px;
}

.courses-section-heading > div {
  width: 100%;
}

.courses-section-heading > p {
  width: 46%;
  max-width: none;
}

.courses-overview-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
}

.courses-overview-card {
  width: calc((100% - 24px) / 2);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(57, 39, 28, 0.05);
  scroll-margin-top: 150px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.courses-overview-card:has(a):hover {
  border-color: rgba(241, 122, 34, 0.52);
  box-shadow: 0 20px 42px rgba(57, 39, 28, 0.1);
  transform: translateY(-5px);
}

.courses-overview-card__image {
  position: relative;
  overflow: hidden;
}

.courses-overview-card__image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.courses-overview-card:has(a):hover .courses-overview-card__image img {
  transform: scale(1.025);
}

.courses-overview-card__image > span {
  position: absolute;
  left: 0;
  top: 0;
  min-width: 54px;
  min-height: 54px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  background: var(--brand);
  font-size: var(--font-size-body-small);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.courses-overview-card__body {
  flex: 1 1 auto;
  padding: 30px 30px 32px;
  display: flex;
  flex-direction: column;
}

.courses-overview-card__category {
  margin: 0 0 7px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.courses-overview-card h3 {
  margin: 0 0 14px;
  font-size: var(--font-size-heading-xs);
  line-height: 1.5;
}

.courses-overview-card h3 a {
  transition: color 0.2s ease;
}

.courses-overview-card h3 a:hover {
  color: var(--brand-dark);
}

.courses-overview-card__lead {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
  line-height: 1.8;
}

.courses-overview-card__details {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.courses-overview-card__details > div:first-child {
  width: 58%;
}

.courses-overview-card__details > div:last-child {
  width: 42%;
}

.courses-overview-card__details h4 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: var(--font-size-label);
}

.courses-overview-card__details p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-label);
  line-height: 1.75;
}

.skill-tag-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.skill-tag-list li {
  padding: 4px 8px;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: var(--surface-alt);
  font-size: var(--font-size-caption);
  line-height: 1.5;
}

.courses-overview-card .text-link {
  margin-top: 24px;
  align-self: flex-start;
}

.foundation-course-list {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.foundation-course-card {
  width: calc((100% - 40px) / 3);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: row;
  background: var(--surface);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

a.foundation-course-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.foundation-course-card > img {
  width: 40%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.foundation-course-card__body {
  min-height: 270px;
  position: relative;
  padding: 24px 24px 52px;
}

.foundation-course-card__number {
  display: block;
  margin-bottom: 5px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.foundation-course-card h3 {
  margin: 0 0 12px;
  font-size: var(--font-size-card-title);
  line-height: 1.55;
}

.foundation-course-card p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: var(--font-size-small);
  line-height: 1.75;
}

.foundation-course-card__body > i {
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  font-size: var(--font-size-body-small);
  font-style: normal;
}

.courses-combination {
  overflow: hidden;
}

.course-route-list {
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.course-route-card {
  width: calc((100% - 36px) / 3);
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.course-route-card__type {
  margin: 0 0 8px;
  color: #ffd0ae;
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.course-route-card h3 {
  margin: 0 0 20px;
  color: var(--surface);
  font-size: var(--font-size-body-large);
  line-height: 1.55;
}

.course-route-card__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.course-route-card__flow span, .course-route-card__flow strong {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--surface);
  font-size: var(--font-size-caption);
  line-height: 1.45;
}

.course-route-card__flow strong {
  border-color: var(--brand);
  background: var(--brand);
}

.course-route-card__flow i, .course-route-card__flow b {
  color: #ffd0ae;
  font-size: var(--font-size-small);
  font-style: normal;
}

.course-route-card > p:last-child {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--font-size-small);
  line-height: 1.75;
}

.courses-combination__note {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--font-size-caption);
  text-align: center;
}

.courses-learning-style__layout {
  display: flex;
  align-items: flex-start;
  gap: 64px;
}

.courses-learning-style__content {
  width: 62%;
}

.courses-learning-style__content > h2 {
  margin: 0 0 20px;
  font-size: var(--font-size-content-heading-compact);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.055em;
}

.courses-learning-style__content > p {
  margin: 0;
  color: var(--ink-soft);
}

.courses-learning-style__features {
  margin-top: 32px;
  margin-bottom: 34px;
}

.courses-learning-style__aside {
  width: 38%;
  padding: 34px 30px;
  border-top: 4px solid var(--brand);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.courses-learning-style__aside h3 {
  margin: 0 0 20px;
  font-size: var(--font-size-card-title);
  line-height: 1.65;
}

.courses-learning-style__aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.courses-learning-style__aside li {
  position: relative;
  padding: 14px 0 14px 27px;
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
  line-height: 1.75;
}

.courses-learning-style__aside li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 3px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--brand);
  border-radius: 50%;
}

@media (max-width: 1080px) {
  .course-choice-card {
    width: calc((100% - 14px) / 2);
  }
  .courses-overview-card__details {
    flex-direction: column;
    gap: 18px;
  }
  .courses-overview-card__details > div:first-child, .courses-overview-card__details > div:last-child {
    width: 100%;
  }
  .course-route-list {
    flex-wrap: wrap;
  }
  .course-route-card {
    width: calc((100% - 18px) / 2);
  }
}

@media (max-width: 900px) {
  .lower-hero--courses {
    background: var(--brand-pale);
  }
  .courses-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .courses-section-heading > div, .courses-section-heading > p {
    width: 100%;
  }
  .courses-overview-card {
    width: 100%;
    flex-direction: row;
  }
  .courses-overview-card__image {
    width: 38%;
    flex: 0 0 auto;
  }
  .courses-overview-card__image img {
    height: 100%;
    aspect-ratio: auto;
  }
  .courses-overview-card__body {
    width: 62%;
  }
  .foundation-course-list {
    flex-wrap: wrap;
  }
  .foundation-course-card {
    width: calc((100% - 20px) / 2);
  }
  .courses-learning-style__layout {
    flex-direction: column;
    gap: 42px;
  }
  .courses-learning-style__content, .courses-learning-style__aside {
    width: 100%;
  }
  .courses-learning-style__aside {
    max-width: 720px;
  }
}

@media (max-width: 640px) {
  .course-choice-list, .courses-overview-list, .foundation-course-list, .course-route-list {
    flex-direction: column;
  }
  .course-choice-card, .courses-overview-card, .foundation-course-card, .course-route-card {
    width: 100%;
  }
  .course-choice-card {
    min-height: 0;
    padding: 17px 16px;
  }
  .courses-overview-card {
    flex-direction: column;
  }
  .courses-overview-card__image, .courses-overview-card__body {
    width: 100%;
  }
  .courses-overview-card__image img {
    height: auto;
    aspect-ratio: 16 / 8;
  }
  .courses-overview-card__body {
    padding: 25px 22px 28px;
  }
  .courses-overview-card h3 {
    font-size: var(--font-size-card-title);
  }
  .courses-overview-card__details {
    padding-top: 18px;
  }
  .foundation-course-card {
    flex-direction: row;
  }
  .foundation-course-card > img {
    width: 35%;
    aspect-ratio: auto;
    object-fit: cover;
  }
  .foundation-course-card__body {
    width: 65%;
    min-height: 0;
    padding: 20px 42px 52px 18px;
  }
  .foundation-course-card h3 {
    font-size: var(--font-size-body-medium);
  }
  .foundation-course-card p {
    font-size: var(--font-size-label);
  }
  .foundation-course-card .skill-tag-list {
    display: none;
  }
  .course-route-card {
    padding: 24px 20px;
  }
  .courses-learning-style__content > h2 {
    font-size: var(--font-size-heading-mobile);
  }
  .courses-learning-style__aside {
    padding: 28px 22px;
  }
}

.course-detail-hero {
  overflow: hidden;
  background: #ffffff;
}

.course-detail-hero__inner {
  min-height: 640px;
  display: flex;
  align-items: stretch;
}

.course-detail-hero__copy {
  width: 47%;
  padding: 88px 70px 82px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.course-detail-hero__copy h1 {
  margin: 0 0 26px;
  font-size: var(--font-size-lower-hero-heading);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: 0.055em;
}

.course-detail-hero__lead {
  max-width: 590px;
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-large);
  line-height: 1.95;
}

.course-detail-hero__tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.course-detail-hero__tags span {
  padding: 7px 11px;
  border: 1px solid rgba(241, 122, 34, 0.34);
  color: var(--brand-dark);
  background: var(--brand-pale);
  font-size: var(--font-size-caption);
  font-weight: 700;
  line-height: 1.45;
}

.course-detail-hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.course-detail-hero__visual {
  width: calc(53% + max(24px, (100vw - var(--container)) / 2));
  margin: 0 calc(-1 * max(24px, (100vw - var(--container)) / 2)) 0 0;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.course-detail-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.course-detail-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(42, 63, 74, 0.12), transparent 44%);
  pointer-events: none;
}

.course-detail-hero__visual figcaption {
  position: absolute;
  right: 26px;
  bottom: 22px;
  z-index: 1;
  max-width: 360px;
  margin: 0;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(42, 63, 74, 0.82);
  font-size: var(--font-size-caption);
  line-height: 1.65;
}

.course-detail-section-heading {
  align-items: flex-end;
}

.course-detail-section-heading > div {
  flex: 0 0 auto;
}

.course-detail-section-heading > p {
  max-width: 570px;
}

.course-detail-note {
  max-width: 900px;
  margin: 30px auto 0;
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
  line-height: 1.8;
  text-align: center;
}

.course-summary-list {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.course-summary-card {
  width: calc((100% - 40px) / 3);
  min-height: 270px;
  padding: 32px 28px;
  position: relative;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.course-summary-card__number {
  margin-bottom: 24px;
  display: block;
  color: var(--brand);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.course-summary-card h3 {
  margin: 0 0 14px;
  font-size: var(--font-size-card-title);
  line-height: 1.55;
}

.course-summary-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.85;
}

.course-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.course-skill-card {
  width: calc((100% - 20px) / 2);
  min-height: 320px;
  padding: 32px 30px;
  border: 1px solid rgba(42, 63, 74, 0.12);
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.course-skill-card__icon {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border: 1px solid rgba(241, 122, 34, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  background: var(--brand-pale);
  font-size: var(--font-size-body-small);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.course-skill-card > div:last-child {
  min-width: 0;
}

.course-skill-card__category {
  margin: 0 0 7px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.course-skill-card h3 {
  margin: 0 0 14px;
  font-size: var(--font-size-card-title);
  line-height: 1.55;
}

.course-skill-card p:not(.course-skill-card__category) {
  margin: 0 0 22px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.course-roadmap {
  position: relative;
}

.course-roadmap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 142px;
  width: 1px;
  background: var(--border);
}

.course-roadmap-phase {
  min-height: 250px;
  position: relative;
  display: flex;
  align-items: stretch;
}

.course-roadmap-phase + .course-roadmap-phase {
  margin-top: 18px;
}

.course-roadmap-phase__meta {
  width: 142px;
  padding: 28px 30px 28px 0;
  flex: 0 0 142px;
  position: relative;
  text-align: right;
}

.course-roadmap-phase__meta::after {
  content: "";
  position: absolute;
  top: 36px;
  right: -7px;
  width: 14px;
  height: 14px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.course-roadmap-phase__meta span, .course-roadmap-phase__meta strong {
  display: block;
}

.course-roadmap-phase__meta span {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.course-roadmap-phase__meta strong {
  margin-top: 8px;
  font-size: var(--font-size-body);
}

.course-roadmap-phase__content {
  width: calc(100% - 142px);
  margin-left: 34px;
  padding: 30px 34px;
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  background: #ffffff;
}

.course-roadmap-phase__content h3 {
  width: 34%;
  margin: 0;
  padding-right: 28px;
  font-size: var(--font-size-card-title);
  line-height: 1.55;
}

.course-roadmap-phase__content > p {
  width: 66%;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.85;
}

.course-roadmap-phase__content ul {
  width: 100%;
  margin: 26px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  list-style: none;
}

.course-roadmap-phase__content li {
  width: calc((100% - 28px) / 2);
  padding-left: 20px;
  position: relative;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
  line-height: 1.7;
}

.course-roadmap-phase__content li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.course-roadmap-message {
  margin-top: 46px;
}

.course-work-list {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.course-work-card {
  width: calc((100% - 40px) / 3);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.course-work-card img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.course-work-card > div {
  padding: 26px 24px 28px;
}

.course-work-card__type {
  margin: 0 0 8px;
  color: #ffd0ae;
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.course-work-card h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: var(--font-size-card-title);
  line-height: 1.55;
}

.course-work-card p:not(.course-work-card__type) {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
}

.course-work-card ul {
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.course-work-card li {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--font-size-caption);
  line-height: 1.45;
}

.course-work-note {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: var(--font-size-caption);
  line-height: 1.8;
  text-align: center;
}

.career-route-layout {
  display: flex;
  align-items: stretch;
  gap: 22px;
}

.career-route-block {
  width: calc((100% - 22px) / 2);
  padding: 36px 34px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.career-route-block--primary {
  border-top: 5px solid var(--brand);
}

.career-route-block--secondary {
  border-top: 5px solid var(--navy);
  background: var(--navy-pale);
}

.career-route-block__heading {
  margin-bottom: 24px;
}

.career-route-block__heading span {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.career-route-block__heading h3 {
  margin: 7px 0 0;
  font-size: var(--font-size-heading-sm);
  line-height: 1.45;
}

.career-route-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-route-block li {
  padding: 17px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.career-route-block strong {
  width: 36%;
  flex: 0 0 auto;
  font-size: var(--font-size-body);
  line-height: 1.65;
}

.career-route-block li span {
  color: var(--ink-soft);
  line-height: 1.7;
}

.evaluation-timeline {
  margin-top: 30px;
  border-top: 1px solid var(--border);
}

.evaluation-timeline > div {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.evaluation-timeline span {
  width: 72px;
  flex: 0 0 72px;
  color: var(--brand-dark);
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.evaluation-timeline p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.course-support-checks {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.course-support-checks li {
  padding: 11px 0 11px 30px;
  position: relative;
  color: var(--ink-soft);
  line-height: 1.7;
}

.course-support-checks li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--brand);
  font-weight: 700;
}

.course-detail-faq .accordion {
  max-width: 920px;
  margin: 0 auto;
}

@media (max-width: 1080px) {
  .course-detail-hero__copy {
    width: 49%;
    padding-right: 46px;
  }
  .course-detail-hero__visual {
    width: calc(51% + max(24px, (100vw - var(--container)) / 2));
  }
  .course-skill-card {
    padding: 28px 24px;
  }
  .course-roadmap-phase__content h3 {
    width: 100%;
    padding-right: 0;
  }
  .course-roadmap-phase__content > p {
    width: 100%;
    margin-top: 12px;
  }
}

@media (max-width: 900px) {
  .course-detail-hero__inner {
    min-height: 0;
    flex-direction: column;
  }
  .course-detail-hero__copy {
    width: 100%;
    padding: 68px 0 54px;
  }
  .course-detail-hero__visual {
    width: calc(100% + 48px);
    margin: 0 -24px;
  }
  .course-detail-hero__visual img {
    min-height: 0;
    aspect-ratio: 16 / 8.8;
  }
  .course-detail-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .course-detail-section-heading > div, .course-detail-section-heading > p {
    width: 100%;
  }
  .course-summary-list {
    flex-wrap: wrap;
  }
  .course-summary-card {
    width: calc((100% - 20px) / 2);
  }
  .course-skill-card {
    width: 100%;
    min-height: 0;
  }
  .course-roadmap-phase__content li {
    width: 100%;
  }
  .course-work-list {
    flex-wrap: wrap;
  }
  .course-work-card {
    width: calc((100% - 20px) / 2);
  }
  .career-route-layout {
    flex-direction: column;
  }
  .career-route-block {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .course-detail-hero__copy {
    padding: 52px 0 42px;
  }
  .course-detail-hero__copy h1 {
    font-size: var(--font-size-lower-hero-mobile);
  }
  .course-detail-hero__lead {
    font-size: var(--font-size-body);
  }
  .course-detail-hero__actions {
    flex-direction: column;
  }
  .course-detail-hero__actions .button {
    width: 100%;
  }
  .course-detail-hero__visual {
    width: calc(100% + 32px);
    margin: 0 -16px;
  }
  .course-detail-hero__visual img {
    aspect-ratio: 4 / 3;
  }
  .course-detail-hero__visual figcaption {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }
  .course-summary-list, .course-work-list {
    flex-direction: column;
  }
  .course-summary-card, .course-work-card {
    width: 100%;
  }
  .course-summary-card {
    min-height: 0;
    padding: 27px 22px;
  }
  .course-skill-card {
    padding: 24px 20px;
    flex-direction: column;
  }
  .course-skill-card__icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }
  .course-roadmap::before {
    left: 12px;
  }
  .course-roadmap-phase {
    min-height: 0;
    padding-left: 34px;
    flex-direction: column;
  }
  .course-roadmap-phase__meta {
    width: 100%;
    padding: 0 0 13px;
    flex-basis: auto;
    text-align: left;
  }
  .course-roadmap-phase__meta::after {
    top: 7px;
    right: auto;
    left: -28px;
  }
  .course-roadmap-phase__meta strong {
    margin-top: 3px;
  }
  .course-roadmap-phase__content {
    width: 100%;
    margin-left: 0;
    padding: 24px 20px;
  }
  .course-roadmap-phase__content ul {
    flex-direction: column;
  }
  .course-roadmap-phase__content li {
    width: 100%;
  }
  .career-route-block {
    padding: 30px 22px;
  }
  .career-route-block__heading h3 {
    font-size: var(--font-size-heading-mobile);
  }
  .career-route-block li {
    flex-direction: column;
    gap: 4px;
  }
  .career-route-block strong {
    width: 100%;
  }
  .evaluation-timeline > div {
    gap: 16px;
  }
  .evaluation-timeline span {
    width: 66px;
    flex-basis: 66px;
  }
}
