.study-path-section {
  --study-path-bg-outer: #f6efdf;
  --study-path-bg-inner: #eee6d4;
  --study-path-primary: #377ee4;
  --study-path-text: #032f70;
  --study-path-divider: rgba(0, 0, 0, 0.2);

  width: 100%;
  overflow: hidden;
  background-color: var(--study-path-bg-outer);
  padding: 32px 24px;
  font-family: 'Inter', sans-serif;
}

.study-path-section__panel {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  min-height: 344px;
  padding: 8px 48px;
  background-color: var(--study-path-bg-inner);
}

/* ── Step (wrapper for stage + optional details) ───── */

.study-path-section__step {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Stages ─────────────────────────────────────────── */

.study-path-section__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 50px;
}

.study-path-section__stage-label {
  margin: 0;
  text-align: center;
  color: var(--study-path-text);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

/* ── Icon (ACF image) ───────────────────────────────── */

.study-path-section__icon {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ── Connector arrow ────────────────────────────────── */

.study-path-section__connector {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--study-path-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Details panel ─────────────────────────────────── */

.study-path-section__details {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.study-path-section__details-divider {
  width: 1px;
  height: 104px;
  background-color: var(--study-path-divider);
  flex-shrink: 0;
}

.study-path-section__details-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 10px;
}

.study-path-section__detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
}

.study-path-section__detail-title {
  margin: 0;
  text-align: center;
  color: var(--study-path-text);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.study-path-section__detail-description {
  margin: 0;
  text-align: center;
  color: var(--study-path-text);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
}

.study-path-section__details-separator {
  width: 140px;
  height: 1px;
  background-color: var(--study-path-divider);
}

/* ── Duration badge ─────────────────────────────────── */

.study-path-section__duration-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  background-color: var(--study-path-primary);
}

.study-path-section__duration-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
  color: #ffffff;
}

/* ══════════════════════════════════════════
   Mobile (≤ 768px)
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  .study-path-section {
    padding: 16px 12px;
  }

  .study-path-section__panel {
    flex-direction: column;
    justify-content: flex-start;
    padding: 12px 16px 20px;
  }

  .study-path-section__step {
    flex-direction: column;
    flex: none;
  }

  .study-path-section__connector {
    width: 44px;
    height: 44px;
    transform: rotate(90deg);
  }

  .study-path-section__connector svg {
    width: 22px;
    height: 15px;
  }

  .study-path-section__stage {
    gap: 12px;
    padding: 24px 12px;
  }

  .study-path-section__stage-label {
    font-size: 16px;
    line-height: 1.2;
  }

  .study-path-section__details {
    flex-direction: column;
    gap: 16px;
    padding: 0;
    width: 100%;
  }

  .study-path-section__details-divider {
    width: 100%;
    height: 1px;
  }

  .study-path-section__details-items {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 4px 0;
    width: 100%;
  }

  .study-path-section__details-separator {
    width: 1px;
    height: 64px;
    flex-shrink: 0;
  }

  .study-path-section__detail-item {
    flex: 1 1 140px;
    gap: 6px;
    padding: 4px 8px;
  }

  .study-path-section__detail-title,
  .study-path-section__detail-description,
  .study-path-section__duration-text {
    font-size: 16px;
  }
}
