/* ---------------- Страница специальности ---------------- */

.prof-detail {
  display: grid;
  gap: 1.1rem;
}

/* --- двухколоночная раскладка: контент + карьера --- */

.prof-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
  gap: 1.1rem;
  align-items: start;
}

.prof-detail__main {
  display: grid;
  gap: 1.1rem;
  min-width: 0;
}

.prof-detail__aside {
  position: sticky;
  top: 4.6rem;
  display: grid;
  gap: 0.7rem;
  min-width: 0;
}

.prof-side-block {
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  scroll-margin-top: 5rem;
}

.prof-side-block__title {
  margin: 0 0 0.65rem;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.prof-statuses--stack {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem;
}

.prof-places--stack {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
}

.prof-places--stack .prof-place {
  padding: 0.7rem;
}

.prof-places--stack .prof-place__icon {
  width: 26px;
  height: 26px;
  margin-bottom: 0.4rem;
}

.prof-places--stack .prof-place__title {
  font-size: 0.84rem;
}

.prof-places--stack .prof-place__text {
  font-size: 0.78rem;
}

.prof-check-list--wide {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.5rem 1.2rem;
}

.prof-aside-cta {
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--brand-50);
  text-align: center;
}

.prof-aside-cta__text {
  margin: 0;
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.45;
}

.prof-aside-cta .btn {
  justify-content: center;
}

@media (max-width: 1080px) {
  .prof-detail__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .prof-detail__aside {
    position: static;
  }
}

.prof-detail .prof-list {
  margin: 0;
}

/* --- обложка-герой --- */

.prof-hero {
  display: grid;
  grid-template-columns: minmax(15rem, 22rem) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.prof-hero__cover {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 15rem;
  padding: 1.2rem;
  background: linear-gradient(135deg, #e4f6f2 0%, #c9ede5 100%);
  color: #14776b;
}

.prof-hero__art svg {
  width: 96px;
  height: 96px;
  opacity: 0.55;
}

.prof-hero__code {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #14776b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.prof-hero--t2 .prof-hero__cover {
  background: linear-gradient(135deg, #eaf7e6 0%, #d3edcc 100%);
  color: #3f7a34;
}

.prof-hero--t2 .prof-hero__code {
  color: #3f7a34;
}

.prof-hero--t3 .prof-hero__cover {
  background: linear-gradient(135deg, #e8f1fa 0%, #d2e4f6 100%);
  color: #2c5f8a;
}

.prof-hero--t3 .prof-hero__code {
  color: #2c5f8a;
}

.prof-hero--t4 .prof-hero__cover {
  background: linear-gradient(135deg, #faf2e4 0%, #f0e1c6 100%);
  color: #8a6224;
}

.prof-hero--t4 .prof-hero__code {
  color: #8a6224;
}

[data-theme='dark'] .prof-hero__cover {
  background: linear-gradient(135deg, #14302c 0%, #1a3b35 100%);
  color: #7fd8c9;
}

[data-theme='dark'] .prof-hero__code {
  background: rgba(0, 0, 0, 0.32);
  color: #7fd8c9;
}

[data-theme='dark'] .prof-hero--t2 .prof-hero__cover {
  background: linear-gradient(135deg, #1b2d1a 0%, #223a20 100%);
  color: #9bd48d;
}

[data-theme='dark'] .prof-hero--t2 .prof-hero__code {
  color: #9bd48d;
}

[data-theme='dark'] .prof-hero--t3 .prof-hero__cover {
  background: linear-gradient(135deg, #182635 0%, #1d3145 100%);
  color: #8ec2ee;
}

[data-theme='dark'] .prof-hero--t3 .prof-hero__code {
  color: #8ec2ee;
}

[data-theme='dark'] .prof-hero--t4 .prof-hero__cover {
  background: linear-gradient(135deg, #2b2418 0%, #382e1e 100%);
  color: #e2bd7f;
}

[data-theme='dark'] .prof-hero--t4 .prof-hero__code {
  color: #e2bd7f;
}

.prof-hero__body {
  padding: clamp(1.1rem, 2.4vw, 1.8rem);
}

.prof-hero__kind {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prof-hero__title {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
}

.prof-hero__motto {
  margin: 0 0 0.7rem;
  color: var(--brand-700);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.5;
}

.prof-hero__lead {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.prof-hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.7rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.prof-hero__facts li {
  display: grid;
  gap: 0.15rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--surface-2);
}

.prof-hero__facts span {
  color: var(--text-dim);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.prof-hero__facts strong {
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}

.prof-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* --- статусы --- */

.prof-statuses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prof-status {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-600);
  border-radius: var(--radius-xs);
  background: var(--surface);
}

.prof-status__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: var(--radius-xs);
  background: var(--brand-50);
  color: var(--brand-700);
}

.prof-status__icon svg {
  width: 16px;
  height: 16px;
}

.prof-status__text {
  display: grid;
  gap: 0.1rem;
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.35;
}

.prof-status__text strong {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.prof-status__text span {
  color: var(--text-muted);
}

.prof-status--professionalitet {
  border-left-color: #c08a2e;
}

.prof-status--professionalitet .prof-status__icon {
  background: #fdf3e2;
  color: #a06f1c;
}

[data-theme='dark'] .prof-status--professionalitet .prof-status__icon {
  background: #2b2418;
  color: #e2bd7f;
}

/* --- якорная навигация --- */

.prof-anchors {
  position: sticky;
  top: 0.6rem;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.4rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-xs);
}

.prof-anchors__link {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.16s var(--ease),
    color 0.16s var(--ease);
}

.prof-anchors__link:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}

/* --- блоки --- */

.prof-block {
  padding: clamp(1rem, 2.2vw, 1.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  scroll-margin-top: 4.5rem;
}

.prof-block__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.prof-block__title svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--brand-600);
}

.prof-block__title--gap {
  margin-top: 1.6rem;
}

.prof-block__hint {
  margin: -0.5rem 0 1rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.prof-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.prof-text {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.prof-text:first-child {
  color: var(--text);
}

.prof-quote {
  margin: 1rem 0 0;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--brand-600);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  background: var(--brand-50);
  color: var(--text);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
}

.prof-subtitle {
  margin: 1.3rem 0 0.7rem;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.prof-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.prof-column .prof-subtitle {
  margin-top: 0;
}

/* --- сведения --- */

.prof-facts {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.prof-facts__row {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.7rem 0.9rem;
}

.prof-facts__row + .prof-facts__row {
  border-top: 1px solid var(--border);
}

.prof-facts__row:nth-child(odd) {
  background: var(--surface-2);
}

.prof-facts__label {
  color: var(--text-dim);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.prof-facts__value {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- списки --- */

.prof-check-list,
.prof-position-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prof-check,
.prof-position {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.prof-check svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 0.2rem;
  color: var(--brand-600);
}

.prof-position__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--brand-400);
}

/* --- места трудоустройства --- */

.prof-places {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.7rem;
}

.prof-place {
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.prof-place__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 0.55rem;
  border-radius: var(--radius-xs);
  background: var(--brand-100);
  color: var(--brand-700);
}

.prof-place__icon svg {
  width: 16px;
  height: 16px;
}

.prof-place__title {
  margin: 0 0 0.25rem;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.prof-place__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* --- доход --- */

.prof-salary {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.prof-salary__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.prof-salary__note {
  color: var(--text-dim);
  font-size: 0.78rem;
}

.prof-salary__range {
  color: var(--brand-700);
  font-size: 1rem;
  font-weight: 800;
}

.prof-salary__list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prof-salary__row {
  display: grid;
  grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
}

.prof-salary__label {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.prof-salary__bar {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}

.prof-salary__bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-400));
}

.prof-salary__value {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

/* --- учебный план --- */

.prof-plan {
  display: grid;
  gap: 0.55rem;
}

.prof-plan__course {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}

.prof-plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  background: var(--surface-2);
  cursor: pointer;
  list-style: none;
}

.prof-plan__head::-webkit-details-marker {
  display: none;
}

.prof-plan__course-name {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.prof-plan__course-meta {
  color: var(--text-dim);
  font-size: 0.76rem;
}

.prof-plan__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.prof-plan__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
}

.prof-plan__row + .prof-plan__row {
  border-top: 1px solid var(--border);
}

.prof-plan__name {
  color: var(--text-muted);
}

.prof-plan__hours {
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.prof-plan__course[open] .prof-plan__course-name {
  color: var(--brand-700);
}

/* --- образовательные программы --- */

.prof-programs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.8rem;
}

.prof-program {
  display: grid;
  gap: 0.6rem;
  padding: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition:
    border-color 0.16s var(--ease),
    box-shadow 0.18s var(--ease);
}

.prof-program:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-sm);
}

.prof-program__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.prof-program__form {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.prof-program__budget {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.prof-program__meta {
  display: grid;
  gap: 0.3rem;
  margin: 0;
}

.prof-program__meta > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px dashed var(--border);
}

.prof-program__meta dt {
  color: var(--text-dim);
  font-size: 0.76rem;
}

.prof-program__meta dd {
  margin: 0;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
}

.prof-program__qual {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* --- галереи --- */

.prof-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.7rem;
}

.prof-shot {
  position: relative;
  display: grid;
  align-content: end;
  margin: 0;
  min-height: 9rem;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(135deg, #e4f6f2 0%, #c9ede5 100%);
  color: #14776b;
}

.prof-shot--t2 {
  background: linear-gradient(135deg, #eaf7e6 0%, #d3edcc 100%);
  color: #3f7a34;
}

.prof-shot--t3 {
  background: linear-gradient(135deg, #e8f1fa 0%, #d2e4f6 100%);
  color: #2c5f8a;
}

.prof-shot--t4 {
  background: linear-gradient(135deg, #faf2e4 0%, #f0e1c6 100%);
  color: #8a6224;
}

[data-theme='dark'] .prof-shot {
  background: linear-gradient(135deg, #14302c 0%, #1a3b35 100%);
  color: #7fd8c9;
}

[data-theme='dark'] .prof-shot--t2 {
  background: linear-gradient(135deg, #1b2d1a 0%, #223a20 100%);
  color: #9bd48d;
}

[data-theme='dark'] .prof-shot--t3 {
  background: linear-gradient(135deg, #182635 0%, #1d3145 100%);
  color: #8ec2ee;
}

[data-theme='dark'] .prof-shot--t4 {
  background: linear-gradient(135deg, #2b2418 0%, #382e1e 100%);
  color: #e2bd7f;
}

.prof-shot__art {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  opacity: 0.35;
}

.prof-shot__art svg {
  width: 44px;
  height: 44px;
}

.prof-shot__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prof-shot__caption {
  position: relative;
  color: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
}

.prof-shot:has(.prof-shot__img) {
  background: var(--surface-3);
}

.prof-shot:has(.prof-shot__img) .prof-shot__caption {
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  background: rgba(8, 20, 24, 0.62);
  color: #fff;
  font-size: 0.76rem;
}

.prof-video__embed {
  grid-column: 1 / -1;
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.prof-video__embed .article-video__frame {
  border-radius: var(--radius-xs);
}

.prof-video:has(.prof-video__embed) {
  grid-template-columns: minmax(0, 1fr);
}

.prof-videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.8rem;
}

.prof-video {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.prof-video__preview {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: var(--radius-xs);
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-400) 100%);
  color: #fff;
}

.prof-video__preview svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.prof-video__duration {
  position: absolute;
  right: 0.25rem;
  bottom: 0.2rem;
  padding: 0 0.3rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.45);
  font-size: 0.62rem;
  font-weight: 700;
}

.prof-video__title {
  margin: 0 0 0.2rem;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.prof-video__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

/* --- компактные карточки --- */

.prof-list--compact .prof-card__cover {
  height: 96px;
}

.prof-list--compact .prof-card__text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

/* --- CTA профориентации --- */

.prof-test-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  border-radius: var(--radius);
  background-color: var(--brand-700);
  background-image:
    radial-gradient(circle at 95% 5%, rgba(255, 255, 255, 0.2), transparent 55%),
    url('/assets/img/hex-cover.svg'),
    linear-gradient(135deg, var(--brand-700) 0%, var(--brand-400) 100%);
  background-size: auto, 120px 69px, auto;
  background-repeat: no-repeat, repeat, no-repeat;
  color: #fff;
}

.prof-test-cta__kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.prof-test-cta__title {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.prof-test-cta__desc {
  margin: 0;
  max-width: 42rem;
  font-size: 0.86rem;
  line-height: 1.55;
}

.prof-test-cta .btn--primary {
  background: #fff;
  color: #16796d;
  border-color: #fff;
}

.prof-test-cta .btn--primary:hover {
  background: #f1fbf9;
  color: #12685e;
}

[data-theme='dark'] .prof-test-cta {
  background-color: #14302c;
  background-image:
    radial-gradient(circle at 95% 5%, rgba(255, 255, 255, 0.14), transparent 55%),
    url('/assets/img/hex-cover.svg'),
    linear-gradient(135deg, #16302c 0%, #23514a 100%);
}

@media (max-width: 860px) {
  .prof-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .prof-hero__cover {
    min-height: 9rem;
  }

  .prof-anchors {
    position: static;
    border-radius: var(--radius-sm);
  }

  .prof-facts__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.15rem;
  }

  .prof-salary__row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .prof-salary__bar {
    grid-column: 1 / -1;
  }
}
