.mvd-orientation-page .text-error,
.mvd-registration-page .text-error {
  background: #fff7e9;
  border: 1px solid #f0d69a;
  border-radius: 5px;
  box-sizing: border-box;
  color: #58410d;
  display: block;
  font-style: normal;
  line-height: 1.55;
  margin: 18px 0 25px;
  padding: 14px 16px;
}

.mvd-orientation-page .content {
  max-width: 860px;
}

.mvd-orientation-page .mvd-orientation-modern {
  max-width: 1120px;
  margin: 0 auto;
}

.mvd-orientation-page .mvd-orientation-notice {
  display: block;
  max-width: 780px;
  margin: 0;
}

.mvd-orientation-page .mvd-orientation-step {
  padding: 28px 0 42px;
}

.mvd-orientation-page .mvd-orientation-path {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid #d9e3e9;
  border-radius: 8px;
  background: #f7fafb;
}

.mvd-orientation-page .mvd-orientation-path > span {
  color: #52616c;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.mvd-orientation-page .mvd-orientation-path ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mvd-orientation-page .mvd-orientation-path-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .8fr);
}

.mvd-orientation-page .mvd-orientation-path-question {
  background: #e9f4f8;
  border-radius: 999px;
  color: #17232b;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-self: start;
  padding: 5px 10px;
  text-decoration: none;
}

.mvd-orientation-page .mvd-orientation-path-question:hover,
.mvd-orientation-page .mvd-orientation-path-question:focus {
  background: #d9edf5;
  color: #123f58;
  text-decoration: underline;
}

.mvd-orientation-page .mvd-orientation-path-answer {
  justify-self: stretch;
}

.mvd-orientation-page .mvd-orientation-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: #0072bc;
  font-weight: 800;
  text-decoration: none;
}

.mvd-orientation-page .mvd-orientation-back::before {
  content: "<";
  margin-right: 8px;
}

.mvd-orientation-page .mvd-orientation-back:hover {
  color: #00598e;
  text-decoration: underline;
}

.mvd-orientation-page .mvd-orientation-step-heading span,
.mvd-orientation-page .mvd-orientation-result-heading {
  display: inline-flex;
  margin-bottom: 8px;
  color: #0072bc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mvd-orientation-page .mvd-orientation-step-heading span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #e9f4f8;
}

.mvd-orientation-page .mvd-orientation-step-heading .mvd-orientation-result-badge {
  background: #247a4d;
  color: #ffffff;
  font-weight: 900;
}

.mvd-orientation-page .mvd-orientation-step-heading h3 {
  margin: 0 0 10px;
  color: #17232b;
  font-size: 26px;
  line-height: 1.2;
}

.mvd-orientation-page .mvd-orientation-step-heading p {
  max-width: 760px;
  color: #52616c;
}

.mvd-orientation-page .mvd-orientation-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.mvd-orientation-page .mvd-orientation-choice {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 82px;
  padding: 20px 44px 20px 20px;
  color: #17232b;
  text-decoration: none;
}

.mvd-orientation-page .mvd-orientation-choice::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--mvd-orientation-choice-accent, #0072bc);
}

.mvd-orientation-page .mvd-orientation-choice::after {
  content: ">";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  border-radius: 50%;
  background: #eef4f7;
  color: #0072bc;
  font-weight: 800;
  line-height: 24px;
  text-align: center;
}

.mvd-orientation-page .mvd-orientation-choice:hover {
  border-color: var(--mvd-orientation-choice-accent, #0072bc);
  box-shadow: 0 12px 28px rgba(17, 33, 46, .12);
  color: #17232b;
  text-decoration: none;
}

.mvd-orientation-page .mvd-orientation-choice strong {
  font-size: 18px;
  line-height: 1.25;
}

.mvd-orientation-page .mvd-orientation-results {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.mvd-orientation-page .mvd-orientation-result-group {
  --mvd-orientation-group-accent: #b0e000;
  --mvd-orientation-group-soft: #f5fae6;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.mvd-orientation-page .mvd-orientation-result-group > h4 {
  margin: 0;
  padding: 10px 14px;
  border-left: 5px solid var(--mvd-orientation-group-accent);
  border-radius: 8px;
  background: var(--mvd-orientation-group-soft);
  color: #17232b;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.25;
}

.mvd-orientation-page .mvd-orientation-result-group-complementary {
  --mvd-orientation-group-accent: #0088f8;
  --mvd-orientation-group-soft: #edf7ff;
}

.mvd-orientation-page .mvd-orientation-result-group-specialization {
  --mvd-orientation-group-accent: #303090;
  --mvd-orientation-group-soft: #f1f0fa;
}

.mvd-orientation-page .mvd-orientation-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mvd-orientation-page .mvd-orientation-result-group-primary .mvd-orientation-result-grid {
  grid-template-columns: minmax(0, 1fr);
}

.mvd-orientation-page .mvd-orientation-result-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 245px;
  padding: 20px;
  box-shadow: 0 12px 28px rgba(15, 35, 48, .08);
}

.mvd-orientation-page .mvd-orientation-result-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--mvd-domain-accent, #5d7786);
}

.mvd-orientation-page .mvd-orientation-result-card h5 {
  margin: 0 0 10px;
  color: #17232b;
  font-size: 19px;
  line-height: 1.28;
}

.mvd-orientation-page .mvd-orientation-result-card p {
  color: #52616c;
}

.mvd-orientation-page .mvd-orientation-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  color: #263742;
  font-weight: 700;
}

.mvd-orientation-page .mvd-orientation-result-card .mvd-button {
  align-self: flex-start;
}

.mvd-orientation-page .mvd-button {
  align-items: center;
  border: 1px solid #9db9c4;
  border-radius: 4px;
  box-sizing: border-box;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  line-height: 1.25;
  padding: 10px 14px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, filter .16s ease, transform .16s ease;
}

.mvd-orientation-page .mvd-button-primary {
  background: #087ca7;
  border-color: #087ca7;
  color: #ffffff;
}

.mvd-orientation-page .mvd-button-secondary,
.mvd-orientation-page .mvd-button-light {
  background: #ffffff;
  border-color: #9db9c4;
  color: #123f58;
}

.mvd-orientation-page .mvd-button:hover,
.mvd-orientation-page .mvd-button:focus {
  filter: brightness(1.08);
  transform: var(--mvd-raise-hover);
  text-decoration: none;
}

.mvd-orientation-page .mvd-button-primary:hover,
.mvd-orientation-page .mvd-button-primary:focus {
  background: #1592be;
  border-color: #1592be;
  color: #ffffff;
}

.mvd-orientation-page .mvd-button-secondary:hover,
.mvd-orientation-page .mvd-button-secondary:focus,
.mvd-orientation-page .mvd-button-light:hover,
.mvd-orientation-page .mvd-button-light:focus {
  background: #f5fbfd;
  border-color: #73bed7;
  color: #123f58;
}

.mvd-orientation-page .mvd-orientation-result-meta span {
  align-items: center;
  display: inline-flex;
  font-size: 12px;
}

.mvd-orientation-page .mvd-orientation-result-meta .mvd-level-badge {
  padding: 5px 9px;
}

.mvd-orientation-page .mvd-orientation-session {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f3f8fa;
  color: #263742;
  font-size: 13px;
  line-height: 1.45;
}

.mvd-orientation-page .mvd-orientation-session strong {
  display: block;
  margin-bottom: 6px;
  color: #17232b;
}

.mvd-orientation-page .mvd-orientation-session ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mvd-orientation-page .mvd-orientation-session li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.mvd-orientation-page .mvd-orientation-session span {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.mvd-orientation-page .mvd-orientation-session .is-confirmed {
  background: #e3f4ec;
  color: #17623c;
}

.mvd-orientation-page .mvd-orientation-session .is-full {
  background: #fde9e6;
  color: #9c342b;
}

.mvd-orientation-page .mvd-orientation-result-actions {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.mvd-orientation-page .mvd-orientation-empty {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #f1d59a;
  border-radius: 8px;
  background: #fff8e8;
}

@media (max-width: 760px) {
  .mvd-orientation-page .mvd-orientation-path-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .mvd-orientation-page .mvd-orientation-path-answer {
    justify-self: start;
  }

  .mvd-orientation-page .main-content {
    padding-top: 18px;
  }

  .mvd-orientation-page .content {
    padding-left: 12px;
    padding-right: 12px;
  }

  .mvd-orientation-page .mvd-orientation-step {
    padding-bottom: 30px;
    padding-top: 22px;
  }

  .mvd-orientation-page .mvd-orientation-path {
    padding: 12px;
  }

  .mvd-orientation-page .mvd-orientation-step-heading h3 {
    font-size: 23px;
  }

  .mvd-orientation-page .mvd-orientation-choice-grid,
  .mvd-orientation-page .mvd-orientation-result-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mvd-orientation-page .mvd-orientation-result-group,
  .mvd-orientation-page .mvd-orientation-result-group > h4,
  .mvd-orientation-page .mvd-orientation-result-grid,
  .mvd-orientation-page .mvd-orientation-result-card {
    min-width: 0;
  }

  .mvd-orientation-page .mvd-orientation-result-group > h4 {
    overflow-wrap: anywhere;
  }

  .mvd-orientation-page .mvd-orientation-result-card h5,
  .mvd-orientation-page .mvd-orientation-result-card p {
    overflow-wrap: anywhere;
  }
}

.mvd-error-page .content {
  max-width: 680px;
  padding-bottom: 42px;
  padding-top: 42px;
}

.mvd-error-page .article-content h1 {
  margin-bottom: 12px;
}

.mvd-error-page .article-content .btn {
  margin-top: 16px;
  padding: 9px 16px;
}

