/**
 * /career/ — page content only (etalon: medpribor.pro/career/)
 */

.mp-career {
  margin: 0 0 2.5rem;
  color: #526371;
  font-family: "Exo 2", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.mp-career a {
  color: #00bf80;
  text-decoration: none;
}

.mp-career a:hover {
  color: #0055a6;
}

.mp-career__title {
  margin: 0 0 1.25rem;
  font-family: Roboto, "Exo 2", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.25px;
  color: #434955;
}

.mp-career-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: min(100vw, var(--mp-canvas, 1300px));
  max-width: min(100vw, var(--mp-canvas, 1300px));
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 1.25rem 0 1.5rem;
  padding: 1.15rem 1rem;
  font-family: "Exo 2", Roboto, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  background: #00bf80;
}

.mp-career-bar span {
  display: block;
}

.mp-career-tabs {
  margin: 0 0 1.75rem;
}

.mp-career-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 1.25rem;
  border-bottom: 2px solid #e6ebf0;
}

.mp-career-tabs__tab {
  appearance: none;
  margin: 0;
  padding: 0.75rem 1.15rem;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  background: transparent;
  color: #676f7c;
  font-family: Roboto, "Exo 2", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.mp-career-tabs__tab:hover {
  color: #00bf80;
  background: #f7fbf9;
}

.mp-career-tabs__tab.is-active,
.mp-career-tabs__tab[aria-selected="true"] {
  color: #00bf80;
  border-bottom-color: #00bf80;
  background: #fff;
}

.mp-career-tabs__tab:focus-visible {
  outline: 2px solid #00bf80;
  outline-offset: 2px;
}

.mp-career-panel {
  padding: 0.25rem 0 0.5rem;
}

.mp-career-panel[hidden] {
  display: none !important;
}

.mp-career-panel__title {
  margin: 0 0 0.65rem;
  font-family: Roboto, "Exo 2", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: #333;
}

.mp-career-panel__meta {
  margin: 0 0 1.15rem;
  color: #676f7c;
}

.mp-career-panel__section {
  margin: 0 0 1.15rem;
}

.mp-career-panel__heading {
  margin: 0 0 0.5rem;
  font-family: Roboto, "Exo 2", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #434955;
}

.mp-career-panel__list {
  margin: 0;
  padding: 0 0 0 1.2rem;
}

.mp-career-panel__list li {
  margin: 0 0 0.4rem;
}

.mp-career-panel__list li:last-child {
  margin-bottom: 0;
}

.mp-career__apply {
  margin: 1.75rem 0 0;
  padding: 1.25rem 1.35rem;
  background: #f5f7f9;
  border-radius: 4px;
}

.mp-career__apply p {
  margin: 0 0 0.45rem;
}

.mp-career__apply p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .mp-career__title {
    font-size: 26px;
  }

  .mp-career-bar {
    font-size: 1.15rem;
    padding: 1rem 0.85rem;
  }

  .mp-career-tabs__tab {
    flex: 1 1 auto;
    text-align: center;
    padding: 0.7rem 0.75rem;
  }

  .mp-career__apply {
    padding: 1.1rem 1rem;
  }
}
