/* Карточки вакансий (главная, архив) */
.vac-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .vac-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .vac-list-grid--home {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vac-card {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.vac-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.vac-card--premium {
  border-color: #fbbf24;
  background: linear-gradient(135deg, #fffbeb 0%, #fff 40%);
}

.vac-card--vip {
  border-color: #93c5fd;
  background: linear-gradient(135deg, #eff6ff 0%, #fff 40%);
}

.vac-card__link {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 16px 48px 36px 16px;
  text-decoration: none;
  color: inherit;
}

.vac-card__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  width: 48px;
}

.vac-card__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.vac-card__logo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
}

.vac-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  min-height: 64px;
}

.vac-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  margin-bottom: 6px;
}

.vac-card__badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
}

.vac-card__badge--vip {
  background: #dbeafe;
  color: #1d4ed8;
}

.vac-card__badge--premium {
  background: #fef3c7;
  color: #b45309;
}

.vac-card__city {
  font-size: 12px;
  color: #64748b;
}

.vac-card__footer {
  position: absolute;
  right: 16px;
  bottom: 14px;
  margin: 0;
  padding: 0;
  text-align: right;
  line-height: 1.2;
}

.vac-card__date {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  white-space: nowrap;
}

.vac-card__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
}

.vac-card__salary {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #059669;
}

.vac-card__conditions {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #64748b;
}

.vac-card__employer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  font-size: 13px;
  color: #64748b;
  min-width: 0;
}

.vac-card__verified-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.vac-card__employer-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vac-card__stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  font-size: 11px;
  line-height: 1.2;
  color: #94a3b8;
}

.vac-card__views {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  white-space: nowrap;
}

.vac-card__views .oklad-icon svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.vac-card__rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  white-space: nowrap;
  font-weight: 700;
  color: #64748b;
}

.vac-card__rating-star {
  color: #f59e0b;
  font-size: 11px;
  line-height: 1;
}

/* Страница вакансии */
.vac-page__layout {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .vac-page__layout {
    grid-template-columns: 1fr 320px;
    align-items: start;
    overflow: visible;
  }
}

.page-wrap.vac-page {
  overflow: visible;
}

/* Современная шапка вакансии (макет) */
.vac-page__main--modern {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vac-page__meta-strip {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 18px 18px 0 0;
  padding: 14px 20px;
  color: #fff;
}

.vac-page__meta-strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 32px;
  align-items: end;
}

.vac-page__meta-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.vac-page__meta-col--end {
  align-items: flex-end;
  text-align: right;
}

.vac-page__meta-label {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.2;
}

.vac-page__meta-value {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.35;
  word-break: break-word;
}

.vac-page__hero {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 55%, #172033 100%);
  border-radius: 0 0 20px 20px;
  padding: 20px 20px 24px;
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.vac-page__hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.vac-page__hero .vac-page__badges {
  margin-bottom: 0;
}

.vac-page__hero .vac-fav-btn--page {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
}

.vac-page__hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.vac-page__hero .vac-share-btn--page {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
}

.vac-page__hero .vac-share-btn--page:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.vac-page__hero .vac-fav-btn--page:hover,
.vac-page__hero .vac-fav-btn--page.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #f87171;
}

.vac-page__head {
  margin-bottom: 20px;
}

.vac-page__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.vac-page__badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}

.vac-page__hero .vac-page__badge {
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.vac-page__badge--vip {
  background: #dbeafe;
  color: #1d4ed8;
}

.vac-page__hero .vac-page__badge--vip {
  background: #3b82f6;
  color: #fff;
}

.vac-page__badge--premium {
  background: #fef3c7;
  color: #b45309;
}

.vac-page__hero .vac-page__badge--premium {
  background: #22c55e;
  color: #fff;
}

.vac-page__badge--city {
  background: #f1f5f9;
  color: #475569;
  text-transform: none;
}

.vac-page__hero .vac-page__badge--city {
  background: rgba(148, 163, 184, 0.25);
  color: #e2e8f0;
  text-transform: uppercase;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.vac-page__badge-pin {
  font-size: 12px;
  line-height: 1;
}

.vac-page__hero .vac-page__title {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.vac-page__salary-row {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}

.vac-page__hero .vac-page__salary {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  color: #4ade80;
  letter-spacing: -0.02em;
}

.vac-page__salary-note {
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
}

.vac-page__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

@media (min-width: 640px) {
  .vac-page__stats {
    grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
  }
}

.vac-page__stat {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 10px 11px 9px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  min-width: 0;
}

.vac-page__stat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.vac-page__stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.vac-page__stat-icon svg {
  width: 17px;
  height: 17px;
}

.vac-page__stat-icon--clock {
  background: #eff6ff;
  color: #2563eb;
}

.vac-page__stat-icon--briefcase {
  background: #f0fdf4;
  color: #16a34a;
}

.vac-page__stat-icon--laptop {
  background: #f5f3ff;
  color: #7c3aed;
}

.vac-page__stat-icon--calendar {
  background: #fef2f2;
  color: #dc2626;
}

.vac-page__stat-icon--education {
  background: #fff7ed;
  color: #ea580c;
}

.vac-page__stat-icon--skills {
  background: #fefce8;
  color: #ca8a04;
}

.vac-page__stat-icon--language {
  background: #ecfeff;
  color: #0891b2;
}

.vac-page__stat-icon--schedule,
.vac-page__stat-icon--time {
  background: #f8fafc;
  color: #475569;
}

.vac-page__stat-icon--car {
  background: #f1f5f9;
  color: #334155;
}

.vac-page__stat-icon--users {
  background: #fdf4ff;
  color: #a855f7;
}

.vac-page__stat-icon--money {
  background: #ecfdf5;
  color: #059669;
}

.vac-page__stat-icon--gift {
  background: #fff1f2;
  color: #e11d48;
}

.vac-page__stat-icon--person {
  background: #eff6ff;
  color: #1d4ed8;
}

.vac-page__stat-icon--future {
  background: #f0f9ff;
  color: #0284c7;
}

.vac-page__stat-label {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.25;
}

.vac-page__stat-value {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
}

.vac-page__intro,
.vac-page__body {
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

.vac-page__intro-block,
.vac-page__text-block {
  margin-bottom: 12px;
  padding: 14px 16px 13px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.vac-page__text-block-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.vac-page__section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.vac-page__section-icon .oklad-icon svg {
  width: 20px;
  height: 20px;
}

.vac-page__section-icon--blue {
  background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
}

.vac-page__section-icon--violet {
  background: linear-gradient(145deg, #f5f3ff 0%, #ede9fe 100%);
  color: #7c3aed;
}

.vac-page__section-icon--green {
  background: linear-gradient(145deg, #ecfdf5 0%, #dcfce7 100%);
  color: #16a34a;
}

.vac-page__section-icon--teal {
  background: linear-gradient(145deg, #ecfeff 0%, #cffafe 100%);
  color: #0891b2;
}

.vac-page__section-icon--orange {
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 100%);
  color: #ea580c;
}

.vac-page__text-block-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.vac-page__text-block-body {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

.vac-page__list {
  margin: 0;
  padding: 0 0 0 18px;
  list-style: none;
}

.vac-page__list li {
  position: relative;
  margin: 0 0 7px;
  padding-left: 2px;
  line-height: 1.5;
}

.vac-page__list li:last-child {
  margin-bottom: 0;
}

.vac-page__list li::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p24-primary, #16a34a);
  transform: translateY(-50%);
}

.vac-page__text-block--blue .vac-page__list li::before {
  background: #2563eb;
}

.vac-page__text-block--violet .vac-page__list li::before {
  background: #7c3aed;
}

.vac-page__text-block--green .vac-page__list li::before {
  background: #16a34a;
}

.vac-page__title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

.vac-page__salary {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #059669;
}

.vac-page__category {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

.vac-page__category a {
  color: var(--p24-primary, #2563eb);
}

.vac-page__apply--main {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
}

.vac-page__main--modern .vac-page__apply--main {
  margin-top: 4px;
  border-bottom: none;
  padding-bottom: 0;
}

.vac-page__apply--sidebar {
  display: none;
  margin: 0;
  padding: 0;
  border: none;
}

@media (min-width: 900px) {
  .vac-page__apply--main {
    display: none !important;
  }

  .vac-page__apply--sidebar {
    display: block;
  }
}

@media (max-width: 899px) {
  .vac-page__apply--sidebar {
    display: none !important;
  }
}

.vac-page__teaser {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #f0fdf4;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: #166534;
}

.vac-page__map-block {
  margin-top: 4px;
  padding: 14px 16px 13px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.vac-page__map-block .vac-page__text-block-head {
  margin-bottom: 8px;
}

.vac-page__section-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.vac-page__address {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #475569;
}

.vac-page__map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--p24-border, #e2e8f0);
  background: #f8fafc;
}

.vac-page__map-iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.vac-page__map-link-wrap {
  margin: 10px 0 0;
  font-size: 14px;
}

.vac-page__map-link {
  color: var(--p24-primary, #16a34a);
  font-weight: 600;
}

/* Сайдбар: липкая карточка контактов + отклик */
.vac-page__aside {
  min-width: 0;
}

.vac-page__aside-sticky {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 900px) {
  .vac-page__aside {
    position: sticky;
    top: var(--vac-aside-sticky-top, 20px);
    align-self: start;
    height: fit-content;
    max-height: none;
    z-index: 5;
  }
}

@media (min-width: 992px) {
  .vac-page__aside {
    top: var(--vac-aside-sticky-top, 96px);
  }
}

.vac-page__aside-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: #f1f5f9;
  border: 1px solid var(--p24-border, #e2e8f0);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

@media (min-width: 900px) {
  .vac-page__aside-card {
    max-height: calc(100vh - var(--vac-aside-sticky-top, 20px) - 88px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
  }

  .vac-page__aside-card::-webkit-scrollbar {
    width: 6px;
  }

  .vac-page__aside-card::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
  }
}

@media (min-width: 992px) {
  .vac-page__aside-card {
    max-height: calc(100vh - var(--vac-aside-sticky-top, 96px) - 88px);
  }
}

.vac-page__aside-section {
  padding: 16px 15px 15px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.vac-page__aside-section--employer {
  padding: 18px 15px 16px;
}

.vac-page__aside-section--phone .vac-page__contact {
  margin: 0;
  padding: 0;
  border: none;
}

.vac-page__aside-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.vac-page__aside-head-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(145deg, #ecfdf5 0%, #dcfce7 100%);
  color: var(--p24-primary, #16a34a);
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.12);
}

.vac-page__aside-head-icon .oklad-icon svg {
  width: 17px;
  height: 17px;
}

.vac-page__aside-head-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.vac-page__aside-apply {
  padding: 14px 15px 15px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.vac-page__aside-section--contact .vac-page__aside-head {
  margin-bottom: 14px;
}

.vac-page__aside-section--contact .vac-page__messengers {
  margin-top: 2px;
  margin-bottom: 12px;
  gap: 12px;
}

.vac-page__aside-card .vac-page__site {
  margin: 4px 0 0;
}

.vac-page__aside-card .vac-page__note {
  margin-top: 12px;
}

.vac-page__aside-card .vac-page__employer,
.vac-page__aside-card .vac-page__contact {
  margin-bottom: 0;
}

.vac-page__employer {
  padding-bottom: 0;
  border-bottom: none;
}

.vac-page__employer-linkcard {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  transition: opacity 0.15s ease;
}

.vac-page__employer-linkcard:hover {
  opacity: 0.92;
}

.vac-page__employer-linkcard:hover .vac-page__employer-more {
  text-decoration: underline;
}

.vac-page__employer-linkcard:focus-visible {
  outline: 2px solid var(--p24-primary, #10b981);
  outline-offset: 4px;
}

.vac-page__employer-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  padding-top: 2px;
}

.vac-page__aside-card .vac-page__logo {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.vac-page__logo {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.vac-page__logo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  color: #94a3b8;
}

.vac-page__employer-name {
  margin: 0;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #1e293b;
}

.vac-page__aside-card .company-verified {
  font-size: 12px;
  font-weight: 500;
  gap: 5px;
}

.vac-page__aside-card .company-verified__text {
  color: #64748b;
}

.vac-page__verified {
  margin: 0;
  font-size: 13px;
  color: #059669;
  display: flex;
  align-items: center;
  gap: 4px;
}

.vac-page__employer-more {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--p24-primary, #10b981);
}

.vac-page__contact {
  margin-bottom: 16px;
}

.vac-page__contact--extra {
  padding: 20px 0;
  border-bottom: 1px solid #e2e8f0;
}

.vac-page__aside-card .vac-page__aside-section.vac-page__contact--extra {
  padding: 16px 15px 15px;
  border: 1px solid #e2e8f0;
}

.vac-page__aside-card .vac-page__contact--phone.vac-page__contact--aside {
  padding: 0;
  border: none;
}

.vac-page__contact--phone {
  padding-top: 20px;
  border-top: none;
}

.vac-page__aside-card .vac-page__contact-title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.25;
}

.vac-page__contact-title {
  margin: 0 0 12px;
  font-size: 1rem;
}

.vac-page__messengers {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.vac-page__messengers > li {
  margin: 0;
  padding: 0;
}

.vac-page__messenger-icon {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  text-decoration: none;
  line-height: 0;
  background: transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.vac-page__aside-card .vac-page__messenger-icon {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.vac-page__messenger-icon:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}

.vac-page__messenger-icon:focus-visible {
  outline: 2px solid var(--p24-primary, #00ba77);
  outline-offset: 3px;
}

.vac-page__messenger-img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
}

.vac-page__site {
  margin: 0 0 10px;
  font-size: 14px;
}

.vac-page__aside-card .vac-page__site {
  margin: 0 0 12px;
}

.vac-page__site a {
  font-weight: 600;
}

.vac-page__aside-card .vac-page__site a {
  color: var(--p24-primary, #10b981);
  text-decoration: none;
  font-weight: 700;
}

.vac-page__aside-card .vac-page__site a:hover {
  text-decoration: underline;
}

.vac-page__note {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

.vac-page__aside-card .vac-page__note {
  padding: 10px 12px;
  color: #475569;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.vac-page__aside-card .vac-page__phone-btn {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.vac-page__aside-card .vac-page__phone-btn:hover {
  border-color: #94a3b8;
  background: #f8fafc;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

/* Форма отклика */
.vac-apply__toggle {
  width: 100%;
  margin: 0;
}

.vac-apply--sidebar .vac-apply__toggle {
  padding: 16px 20px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 186, 119, 0.35);
}

.vac-apply--sidebar.is-open .vac-apply__toggle {
  margin-bottom: 0;
  border-radius: 14px 14px 0 0;
}

.vac-apply--sidebar.is-open .vac-apply__panel {
  border-radius: 0 0 14px 14px;
  margin-top: 0;
  border-top: none;
}

.vac-apply.is-open .vac-apply__toggle {
  margin-bottom: 16px;
}

.vac-apply--sidebar.is-open .vac-apply__toggle {
  margin-bottom: 0;
}

.vac-apply__panel {
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.vac-apply__panel[hidden] {
  display: none !important;
}

.vac-apply__lead {
  margin: 0 0 14px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
}

.vac-apply__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin: 0 0 6px;
}

.vac-apply__input {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
}

.vac-apply__input:focus {
  outline: none;
  border-color: var(--p24-primary, #16a34a);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.vac-apply__textarea {
  resize: vertical;
  min-height: 88px;
}

.vac-apply__input--code {
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  text-align: center;
  font-weight: 700;
}

.vac-apply__btn {
  width: 100%;
  margin-bottom: 8px;
}

.vac-apply__btn--secondary {
  margin-top: 4px;
}

.vac-apply__code-hint {
  margin: 0 0 12px;
  font-size: 14px;
  color: #475569;
}

.vac-apply__resend {
  display: block;
  width: 100%;
  margin-top: 4px;
  font-size: 13px;
  color: var(--p24-primary, #16a34a);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.vac-apply__resend:disabled {
  color: #94a3b8;
  cursor: not-allowed;
}

.vac-apply__alert {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.vac-apply__alert--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.vac-apply__alert--ok {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.vac-apply__req {
  color: #ef4444;
}

.vac-apply__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.vac-apply-modal[hidden] {
  display: none !important;
}

.vac-apply-modal {
  position: fixed;
  inset: 0;
  z-index: 9200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.vac-apply-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.vac-apply-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  margin: 0;
  padding: 24px 22px 22px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2);
}

.vac-apply-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 17px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.vac-apply-modal__close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.vac-apply-modal__title {
  margin: 0 0 8px;
  padding-right: 36px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.vac-apply-modal__lead {
  margin: 0 0 18px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.45;
}

.vac-apply-modal__form .vac-apply__btn {
  margin-bottom: 0;
}

.vac-apply-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.vac-apply-modal__cancel,
.vac-apply-modal__submit {
  flex: 1;
  width: auto;
  margin: 0;
}

.vac-apply-modal__submit {
  box-shadow: 0 4px 16px rgba(0, 186, 119, 0.35);
}

body.vac-apply-modal-open {
  overflow: hidden;
}

.vac-page__phone-btn {
  width: 100%;
  margin-bottom: 8px;
}

.vac-page__phone-btn[hidden],
[data-vac-phone-reveal][hidden],
.vac-contact-modal__phone-btn[hidden] {
  display: none !important;
}

[data-vac-phone-link] {
  text-decoration: none;
  text-align: center;
}

.vac-page__phone-revealed {
  margin-top: 4px;
}

.vac-page__phone-revealed[hidden],
[data-vac-phone-revealed][hidden] {
  display: none !important;
}

[data-vac-phone-revealed]:not([hidden]) {
  display: block;
}

.vac-page__phone-num {
  margin: 0 0 10px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--p24-text, #0f172a);
  letter-spacing: 0.02em;
}

.vac-page__phone-call {
  width: 100%;
}

.vac-page__phone-loading,
.vac-page__phone-error {
  margin: 8px 0 0;
  text-align: center;
  font-size: 13px;
}

.vac-page__phone-loading {
  color: #64748b;
}

.vac-page__phone-error {
  color: #b91c1c;
}

.vac-page__phone-loading[hidden],
.vac-page__phone-error[hidden] {
  display: none !important;
}

/* Кнопка связи + модальное окно (страница вакансии) */
.vac-contact-fab {
  display: none;
}

.vac-contact-modal[hidden] {
  display: none !important;
}

.vac-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.vac-contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.vac-contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  margin: 0;
  padding: 0 0 20px;
  text-align: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
}

.vac-contact-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.92);
  color: #64748b;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.vac-contact-modal__hero {
  padding: 28px 20px 20px;
  background: linear-gradient(180deg, #ecfdf5 0%, #fff 100%);
  border-radius: 20px 20px 0 0;
}

.vac-contact-modal__logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.vac-contact-modal__logo-link {
  display: block;
  line-height: 0;
}

.vac-contact-modal__logo img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.vac-contact-modal__logo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  color: #94a3b8;
}

.vac-contact-modal__logo--placeholder .oklad-icon {
  width: 36px;
  height: 36px;
}

.vac-contact-modal__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--p24-primary, #00ba77);
}

.vac-contact-modal__company-name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}

.vac-contact-modal__verified {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.vac-contact-modal__verified .company-verified {
  justify-content: center;
}

.vac-contact-modal__person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 16px 16px;
  padding: 12px 14px;
  text-align: left;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
}

.vac-contact-modal__person-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.vac-contact-modal__person-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.vac-contact-modal__person-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.vac-contact-modal__person-name {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.vac-contact-modal__channels {
  padding: 0 20px;
  margin-bottom: 16px;
}

.vac-contact-modal__messengers {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.vac-contact-modal__messengers > li {
  margin: 0;
  padding: 0;
}

.vac-contact-modal__messenger {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  line-height: 0;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.vac-contact-modal__messenger:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.vac-contact-modal__messenger img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: cover;
}

.vac-contact-modal__site {
  margin: 0 0 10px;
  font-size: 14px;
}

.vac-contact-modal__site a {
  color: var(--p24-primary, #00ba77);
  font-weight: 600;
  text-decoration: none;
}

.vac-contact-modal__site a:hover {
  text-decoration: underline;
}

.vac-contact-modal__note {
  margin: 0 auto;
  max-width: 280px;
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
}

.vac-contact-modal__phone {
  margin: 0;
  padding: 4px 20px 0;
  border-top: 1px solid #f1f5f9;
}

.vac-contact-modal__phone-btn {
  width: 100%;
  margin-top: 16px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
}

.vac-contact-modal__phone-revealed {
  margin-top: 0;
}

.vac-contact-modal__phone-revealed:not([hidden]) {
  display: block;
}

.vac-contact-modal__phone-revealed .vac-page__phone-num {
  margin: 0 0 10px;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.02em;
}

.vac-contact-modal__phone.is-revealed [data-vac-phone-reveal] {
  display: none !important;
}

.vac-contact-modal__phone-call {
  width: 100%;
  margin-top: 8px;
}

body.vac-contact-modal-open {
  overflow: hidden;
}

@media (max-width: 899px) {
  .vac-contact-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 14px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 470;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 16px;
    background: var(--p24-primary, #00ba77);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 186, 119, 0.4);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .vac-contact-fab:hover,
  .vac-contact-fab:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 186, 119, 0.45);
  }

  body.has-mobile-tabbar .vac-contact-fab {
    bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  }

  .vac-page__aside .vac-page__contact,
  .vac-page__aside .vac-page__contact--aside {
    display: none;
  }
}

.vac-page__facts {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.vac-page__facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}

.vac-page__facts li span {
  color: #64748b;
}

.city-cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 640px) {
  .city-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.city-cat-grid__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f8fafc;
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  transition: background 0.15s;
}

.city-cat-grid__item:hover {
  background: #e2e8f0;
}

.city-cat-grid__arrow {
  color: var(--p24-primary, #2563eb);
}

/* Полоска выбора города — на всю ширину экрана */
.vac-city-strip-zone {
  --vac-strip-pad: max(20px, calc((100vw - var(--p24-container, 1200px)) / 2 + 20px));
  width: 100%;
  margin: 0 0 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-block: 1px solid var(--p24-border, #e2e8f0);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.vac-city-strip {
  width: 100%;
}

.vac-city-strip__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  padding-block: 14px;
}

.vac-city-strip__lead {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: var(--vac-strip-pad);
  padding-right: 16px;
  border-right: 1px solid #e2e8f0;
  background: #fff;
  z-index: 1;
}

.vac-city-strip__label {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--p24-muted, #64748b);
}

.vac-city-strip__scroll {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-left: 12px;
  padding-right: var(--vac-strip-pad);
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
}

.vac-city-strip__scroll::-webkit-scrollbar {
  display: none;
}

.vac-city-strip__scroll.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.vac-city-strip__scroll.is-dragging .vac-city-strip__chip {
  pointer-events: none;
}

.vac-city-strip__chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  cursor: pointer;
  font-family: inherit;
  scroll-snap-align: start;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.vac-city-strip__chip:hover {
  border-color: var(--p24-primary, #00ba77);
  color: var(--p24-primary-deep, #007a52);
  background: var(--p24-primary-bg, #ecfdf5);
}

.vac-city-strip__chip.is-active {
  background: var(--p24-primary, #00ba77);
  border-color: var(--p24-primary, #00ba77);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 186, 119, 0.35);
}

.vac-city-strip__chip--more {
  background: #f8fafc;
  border-style: dashed;
}

@media (max-width: 639px) {
  .vac-city-strip__inner {
    flex-direction: column;
    align-items: stretch;
    padding-block: 12px;
  }

  .vac-city-strip__lead {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 var(--vac-strip-pad) 10px;
  }

  .vac-city-strip__scroll {
    padding-top: 10px;
    padding-left: var(--vac-strip-pad);
  }
}

/* Переключатель города в сайдбаре каталога */
.catalog-city-switch {
  margin-bottom: 10px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--p24-border, #e2e8f0);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.catalog-city-switch__label {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--p24-muted, #64748b);
}

.catalog-city-switch__current {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--p24-text, #0f172a);
  line-height: 1.25;
}

.catalog-city-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: var(--p24-primary-deep, #007a52);
  background: var(--p24-primary-bg, #ecfdf5);
  border: 1px solid rgba(0, 186, 119, 0.35);
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.catalog-city-switch__btn:hover {
  background: #d1fae5;
  border-color: var(--p24-primary, #00ba77);
}

.catalog-city-switch__btn svg {
  flex-shrink: 0;
  color: var(--p24-primary, #00ba77);
}

.city-page__sidebar-card {
  margin: 0;
}

.city-page__sidebar .city-page__sidebar-card + .city-page__sidebar-card {
  margin-top: 0;
}

/* Страница города + сайдбар */
.city-page__layout {
  display: grid;
  gap: 24px;
  align-items: start;
}

.city-page__primary {
  min-width: 0;
}

.city-page__layout--catalog .archive-head--catalog {
  margin-bottom: 20px;
}

.city-page__layout--catalog .city-page__main {
  margin-top: 0;
  padding-bottom: 28px;
}

.city-page.page-wrap {
  padding-bottom: 20px;
}

@media (min-width: 960px) {
  .city-page__layout {
    grid-template-columns: 1fr 300px;
  }
  .city-page__layout--catalog {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px 28px;
    align-items: start;
  }
  .city-page__layout--catalog .city-page__sidebar {
    align-self: start;
  }
  .city-page__sidebar {
    position: sticky;
    top: 16px;
  }

  .city-filters-toggle {
    display: none;
  }
}

@media (max-width: 959px) {
  .city-page__layout--catalog .city-page__sidebar {
    order: -1;
    position: fixed;
    inset: 0;
    z-index: 9000;
    padding: 0 0 0 56px;
    background: rgba(15, 23, 42, 0.45);
    display: none;
  }
  .city-page__sidebar.city-filters-panel--open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .city-page__layout--catalog .city-page__main {
    margin-top: 16px;
  }
  .archive-head--catalog {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .archive-head--catalog .city-filters-toggle {
    align-self: flex-end;
    margin-top: 12px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
  }
  .city-filters-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    background: var(--p24-primary, #00ba77);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 186, 119, 0.25);
    transition: background 0.15s ease, box-shadow 0.15s ease;
  }
  .city-filters-toggle:hover {
    background: var(--p24-primary-hover, #009e65);
    box-shadow: 0 4px 12px rgba(0, 186, 119, 0.3);
  }
  .city-filters-toggle svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .city-page__sidebar-card {
    height: 100%;
    width: 100%;
    max-width: min(320px, 100%);
    margin-left: auto;
    margin-right: 0;
    border-radius: 0;
    border-left: 1px solid #e2e8f0;
    box-shadow: -12px 0 32px rgba(15, 23, 42, 0.25);
    overflow-y: auto;
  }

  .catalog-city-switch {
    display: none;
  }
}

.city-filters__title {
  margin: 0;
  font-size: 1.1rem;
}

.city-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.city-filters__close {
  border: none;
  background: #f1f5f9;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}
.city-filters__close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.city-filters__block {
  margin-bottom: 14px;
}

.city-filters__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #475569;
}

.city-filters__input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
  background: #fff;
  color: var(--p24-text, #0f172a);
}

.city-filters__input:focus {
  outline: none;
  border-color: var(--p24-primary, #16a34a);
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.15);
}

.city-filters__inline-check {
  margin-top: 10px;
}

.city-filters__salary-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.city-filters__salary-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.city-filters__salary-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.city-filters__salary-field-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.city-filters__salary-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  box-sizing: border-box;
  background: #fff;
}

.city-filters__salary-input:focus {
  outline: none;
  border-color: var(--p24-primary, #16a34a);
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.15);
}

.city-filters__range-track {
  position: relative;
  width: 100%;
  height: 28px;
  display: flex;
  align-items: center;
}

.city-filters__range-fill {
  position: absolute;
  left: 0;
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: var(--p24-primary, #16a34a);
  opacity: 0.35;
  pointer-events: none;
  top: 50%;
  transform: translateY(-50%);
}

.city-filters__range {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  height: 28px;
  pointer-events: none;
}

.city-filters__range--min,
.city-filters__range--max {
  pointer-events: auto;
}

.city-filters__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--p24-primary, #16a34a);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.city-filters__range--max {
  z-index: 2;
}

.city-filters__range--min {
  z-index: 3;
}

.city-filters input[type='number']:not(.city-filters__salary-input) {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 15px;
}

.city-filters__groups {
  margin-top: 8px;
}

.city-filters__group {
  border-bottom: 1px solid #f1f5f9;
}

.city-filters__group:last-child {
  border-bottom: none;
}

.city-filters__group-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 4px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
}

.city-filters__group-summary::-webkit-details-marker {
  display: none;
}

.city-filters__group-summary::before {
  content: '▸';
  margin-right: 6px;
  color: var(--p24-primary, #16a34a);
  transition: transform 0.15s;
}

.city-filters__group[open] .city-filters__group-summary::before {
  transform: rotate(90deg);
}

.city-filters__group-list {
  list-style: none;
  margin: 0 0 8px 0;
  padding: 0 0 0 14px;
}

.city-filters__group-list .city-filters__cat-link {
  padding: 7px 8px;
  font-size: 13px;
  font-weight: 500;
}

.city-filters__checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.city-filters__check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.city-filters__submit {
  width: 100%;
  margin-top: 8px;
}

.city-filters__reset {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
}

.city-filters__cats {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.city-filters__cats-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.city-filters__cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.city-filters__cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: #334155;
  font-size: 14px;
}

.city-filters__cat-link:hover {
  background: #f1f5f9;
}

.city-filters__cat-link.is-active {
  background: #eff6ff;
  color: var(--p24-primary, #2563eb);
  font-weight: 600;
}

.city-filters__cat-count {
  font-size: 12px;
  color: #94a3b8;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 999px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Telegram — подписка на канал города */
.telegram-promo {
  margin: 0 0 24px;
}

.telegram-promo__inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 24px;
  background: linear-gradient(135deg, #e8f4fc 0%, #f0f9ff 50%, #fff 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--p24-radius, 12px);
  box-shadow: var(--p24-shadow, 0 8px 30px rgba(15, 23, 42, 0.06));
}

.telegram-promo__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #229ed9;
  color: #fff;
  border-radius: 14px;
}

.telegram-promo__title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
}

.telegram-promo__text {
  margin: 0 0 14px;
  color: var(--p24-muted, #64748b);
  font-size: 14px;
  line-height: 1.5;
  max-width: 640px;
}

.telegram-promo__btn {
  display: inline-flex;
}

.telegram-promo__channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.telegram-promo__channels a {
  display: inline-block;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--p24-border, #e2e8f0);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #229ed9;
  text-decoration: none;
}

.telegram-promo__channels a:hover {
  border-color: #229ed9;
  background: #f0f9ff;
}

.telegram-promo__more {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--p24-muted, #64748b);
}

@media (max-width: 640px) {
  .telegram-promo__inner {
    flex-direction: column;
    padding: 16px;
  }
}

/* Каталог профессий /professions/ */
.vac-directions__head {
  margin-bottom: 20px;
}

.vac-directions__back {
  margin: 12px 0 0;
  font-size: 14px;
}

.vac-directions__nav {
  margin-bottom: 24px;
  padding: 16px 20px;
}

.vac-directions__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.vac-directions__nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.vac-directions__nav-list a:hover {
  background: #dcfce7;
  color: #166534;
}

.vac-directions__nav-count {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  background: #fff;
  padding: 2px 7px;
  border-radius: 999px;
}

.vac-directions__section {
  margin-bottom: 20px;
  padding: 20px 24px 24px;
  scroll-margin-top: 80px;
}

.vac-directions__section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ecfdf5;
}

.vac-directions__section-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.vac-directions__section-meta {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.vac-directions__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 16px;
}

@media (max-width: 900px) {
  .vac-directions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .vac-directions__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.vac-directions__item {
  min-width: 0;
}

.vac-directions__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #334155;
  font-size: 14px;
  text-decoration: none;
  line-height: 1.35;
  transition: background 0.12s, color 0.12s;
}

.vac-directions__link:hover {
  background: #f0fdf4;
  color: #166534;
}

.vac-directions__link-label {
  min-width: 0;
  word-break: break-word;
}

.vac-directions__link-count {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #166534;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: 999px;
}

.archive-head__extra {
  margin: 10px 0 0;
  font-size: 14px;
}

.archive-head__extra a {
  font-weight: 600;
}

.city-filters__group-title-link {
  color: inherit;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}

.city-filters__group-title-link:hover {
  color: var(--p24-primary, #16a34a);
}

.city-filters__cat-link--catalog {
  font-weight: 700;
  color: var(--p24-primary, #16a34a);
}

.city-filters__group-empty {
  margin: 0 0 10px 14px;
  padding: 0;
  font-size: 12px;
}

.city-filters__group-empty a {
  color: var(--p24-primary, #16a34a);
  font-weight: 600;
}

/* Каталог профессий /professions/ */
.vac-professions-catalog__search {
  margin-bottom: 20px;
  padding: 18px 20px;
  position: sticky;
  top: 72px;
  z-index: 5;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.vac-professions-catalog__search-label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.vac-professions-catalog__search-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 16px;
}

.vac-professions-catalog__search-input:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.vac-professions-catalog__search-meta {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #166534;
}

.vac-professions-catalog__search-empty {
  margin: 10px 0 0;
  font-size: 13px;
  color: #64748b;
}

.vac-professions-catalog__search-meta[hidden],
.vac-professions-catalog__search-empty[hidden] {
  display: none !important;
}

.vac-professions-catalog.is-searching .vac-directions__section {
  scroll-margin-top: 140px;
}

.vac-professions-catalog.is-searching .vac-directions__grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vac-professions-catalog.is-searching .vac-directions__item:not([hidden]) .vac-directions__link {
  border-color: transparent;
}

.vac-professions-catalog.is-searching .vac-directions__item:not([hidden]):first-child .vac-directions__link {
  background: #f0fdf4;
  border-color: #86efac;
}

.vac-professions-catalog [data-profession-item][hidden] {
  display: none !important;
}

.vac-professions-catalog [data-profession-group][hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  .vac-professions-catalog__search {
    top: 56px;
  }
}

/* Избранные вакансии */
.vac-fav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.vac-fav-btn:hover {
  color: #ef4444;
  transform: scale(1.05);
}

.vac-fav-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.vac-fav-btn--card {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.vac-fav-btn--page {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #f8fafc;
  box-shadow: none;
  border: 1px solid #e2e8f0;
}

.vac-fav-btn__icon {
  display: block;
}

.vac-fav-btn__icon--filled {
  display: none;
}

.vac-fav-btn.is-active {
  color: #ef4444;
}

.vac-fav-btn.is-active .vac-fav-btn__icon--outline {
  display: none;
}

.vac-fav-btn.is-active .vac-fav-btn__icon--filled {
  display: block;
}

.vac-fav-btn--pulse {
  animation: vac-fav-pulse 0.32s ease;
}

@keyframes vac-fav-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.vac-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #64748b;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.vac-share-btn:hover {
  color: #16a34a;
  transform: scale(1.05);
}

.vac-share-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.vac-share-btn--page {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #f8fafc;
  box-shadow: none;
  border: 1px solid #e2e8f0;
}

.vac-share-btn__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.vac-share-toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 9999;
  transform: translateX(-50%) translateY(12px);
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.vac-share-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.vac-page__head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.vac-page__head-main {
  min-width: 0;
  flex: 1;
}

.vac-favorites-page__loading,
.vac-favorites-page__stale {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 0.95rem;
}

.vac-favorites-page__empty {
  text-align: center;
  padding: 48px 20px;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
}

.vac-favorites-page__empty-text {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
}

.vac-favorites-page__empty-hint {
  margin: 0 0 20px;
  color: #64748b;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.vac-favorites-page__heart {
  color: #ef4444;
}
