.portal-hub__hero {
  background:
    radial-gradient(ellipse at 18% 0%, rgba(45, 62, 80, 0.05), transparent 52%),
    linear-gradient(180deg, var(--home-bg, #f4f6f8) 0%, var(--home-bg, #f4f6f8) 72%);
  padding: 1.75rem 0 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--home-border, #e2e6ea);
}

@media (max-width: 767px) {
  .portal-hub__hero {
    padding: 1.25rem 0 1rem;
  }

  .jobs-catalog,
  .realty-catalog {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
}

.portal-hub__hero-inner {
  max-width: 48rem;
}

.portal-hub__hero-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.portal-hub__hero-copy {
  flex: 1 1 18rem;
  max-width: 48rem;
}

.portal-hub__subnav {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--home-border, #e2e6ea);
}

.portal-hub__search-btn,
.portal-hub .btn-primary.portal-hub__search-btn,
.portal-hub .btn-primary {
  min-height: var(--home-tap-min, 2.75rem);
  border-radius: 0.75rem;
  padding-inline: 1.25rem;
  font-weight: 600;
  background: var(--home-primary, #2d3e50);
  border: 1px solid var(--home-primary-deep, #1f2d3d);
  color: #fff;
  box-shadow:
    0 1px 2px rgba(33, 37, 41, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.portal-hub__search-btn:hover,
.portal-hub .btn-primary.portal-hub__search-btn:hover,
.portal-hub .btn-primary:hover {
  background: var(--home-primary-deep, #1f2d3d);
  border-color: var(--home-primary-deep, #1f2d3d);
  color: #fff;
  box-shadow: 0 3px 10px rgba(45, 62, 80, 0.22);
}

.portal-hub__search-btn:active,
.portal-hub .btn-primary.portal-hub__search-btn:active,
.portal-hub .btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 1px 1px rgba(33, 37, 41, 0.12);
}

.portal-hub__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--home-text-muted, #8a949b);
  margin: 0 0 0.5rem;
}

.portal-hub__title {
  font-family: var(--font-sans, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: clamp(1.65rem, 3.8vw, 2.25rem);
  font-weight: 700;
  color: var(--home-text, #212529);
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.portal-hub__lead {
  color: var(--home-text-secondary, #5f6b75);
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0 0 1.15rem;
  max-width: 36rem;
}

.portal-hub__search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.portal-hub__search-input {
  flex: 1 1 14rem;
  min-height: var(--home-tap-min, 2.75rem);
  padding: 0.65rem 1rem;
  border: 1px solid var(--home-border, #e2e6ea);
  border-radius: 0.75rem;
  background: var(--home-bg, #f4f6f8);
  color: var(--home-text, #212529);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.portal-hub__search-input:hover {
  background: var(--home-surface, #ffffff);
  border-color: var(--home-primary-soft, #d4dde6);
}

.portal-hub__search-input:focus {
  outline: none;
  background: var(--home-surface, #ffffff);
  border-color: var(--home-primary, #2d3e50);
  box-shadow: var(--home-focus-ring, 0 0 0 3px rgba(45, 62, 80, 0.14));
}

.portal-hub__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.portal-hub__tab {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--home-text-secondary, #5f6b75);
  background: var(--home-surface, #ffffff);
  text-decoration: none;
  border: 1px solid var(--home-border, #e2e6ea);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.portal-hub__tab.is-active,
.portal-hub__tab:hover {
  background: var(--home-primary-light, #e8eef4);
  border-color: var(--home-primary-soft, #d4dde6);
  color: var(--home-primary-deep, #1f2d3d);
}

.portal-hub__tab.is-active {
  box-shadow: 0 1px 2px rgba(45, 62, 80, 0.08);
}

.portal-hub__cta-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  margin-top: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--home-primary-deep, #1f2d3d);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.portal-hub__cta-link:hover {
  color: var(--home-primary, #2d3e50);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.portal-hub__body {
  padding-bottom: 3rem;
}

.portal-hub__empty {
  padding: 2rem;
  text-align: center;
  color: var(--home-text-secondary, #5f6b75);
  background: var(--home-bg, #f4f6f8);
  border: 1px solid var(--home-border, #e2e6ea);
  border-radius: 1rem;
}

.portal-hub__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.portal-hub__chip {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--home-border, #e2e6ea);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--home-text-secondary, #5f6b75);
  text-decoration: none;
  background: var(--home-surface, #ffffff);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.portal-hub__chip:hover {
  border-color: var(--home-primary-soft, #d4dde6);
  color: var(--home-primary-deep, #1f2d3d);
  background: var(--home-primary-light, #e8eef4);
}

.portal-hub__chip.is-active {
  border-color: var(--home-primary-soft, #d4dde6);
  color: var(--home-primary-deep, #1f2d3d);
  background: var(--home-primary-light, #e8eef4);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(45, 62, 80, 0.08);
}

.portal-section-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--home-border, #e2e6ea);
  margin-bottom: 0;
  background: var(--home-surface, #fff);
}

.portal-section-nav--utility {
  padding: 0;
  border-bottom: none;
  background: transparent;
  gap: 0.35rem 0.85rem;
}

.portal-section-nav a,
.portal-section-nav__btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--home-text-secondary, #5f6b75);
  text-decoration: none;
  padding: 0.35rem 0.15rem;
  min-height: 2rem;
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
  line-height: inherit;
  border-radius: 0.25rem;
  transition:
    color var(--motion-fast, 150ms) var(--ease-out, ease),
    box-shadow var(--motion-fast, 150ms) var(--ease-out, ease);
}

.portal-section-nav--utility a,
.portal-section-nav--utility .portal-section-nav__btn {
  font-size: 0.8125rem;
}

.portal-section-nav__btn--secondary {
  font-weight: 500;
  color: var(--home-text-muted, #8a949b);
}

.portal-section-nav a:hover,
.portal-section-nav a.is-active,
.portal-section-nav__btn:hover,
.portal-section-nav__btn.is-active {
  color: var(--home-primary, #2d3e50);
}

.portal-section-nav a:focus-visible,
.portal-section-nav__btn:focus-visible {
  outline: 2px solid var(--home-primary, #2d3e50);
  outline-offset: 2px;
  color: var(--home-primary, #2d3e50);
}

.portal-section-nav a.is-active {
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--home-primary, #2d3e50);
}

.section-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #f5f5f5;
  color: #555;
}

.section-chip.is-on {
  background: var(--home-primary-light, #e8eef4);
  color: var(--home-primary-deep, #1f2d3d);
}

/* ?? ??????: ??????? ???? + ??????? ?? */
.jobs-hub {
  padding: 1rem 1rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.jobs-hub__shell {
  display: contents;
}

.jobs-hub__main {
  min-width: 0;
}

.jobs-topbar {
  padding: 0.55rem 0.65rem;
  background: #fff;
  border: 1px solid var(--home-border, #e2e6ea);
  border-radius: 0.9rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.jobs-topbar__line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex-wrap: wrap;
}

.jobs-topbar__context {
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--home-primary-light, #e8eef4);
  color: var(--home-text, #212529);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.jobs-topbar__tabs {
  display: inline-flex;
  flex-shrink: 0;
  padding: 0.15rem;
  border-radius: 999px;
  background: var(--home-bg, #f4f6f8);
  gap: 0.1rem;
  border: 1px solid var(--home-border, #e2e6ea);
}

.jobs-topbar__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  color: var(--home-text-secondary, #5f6b75);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.jobs-topbar__tab:hover {
  color: var(--home-primary-deep, #1f2d3d);
}

.jobs-topbar__tab.is-active {
  background: var(--home-primary-light, #e8eef4);
  color: var(--home-primary-deep, #1f2d3d);
  box-shadow: 0 1px 2px rgba(45, 62, 80, 0.08);
}

.jobs-topbar__role {
  position: relative;
  flex-shrink: 0;
}

.jobs-topbar__role-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.2rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--home-border, #e2e6ea);
  border-radius: 999px;
  background: #fff;
  color: var(--home-text, #212529);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.jobs-topbar__role-btn:hover,
.jobs-topbar__role.is-open .jobs-topbar__role-btn {
  border-color: var(--home-primary-soft, #d4dde6);
  box-shadow: var(--home-focus-ring, 0 0 0 3px rgba(45, 62, 80, 0.14));
}

.jobs-topbar__role-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--home-primary, #2d3e50);
  flex-shrink: 0;
}

.jobs-topbar__chevron {
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  margin-top: -0.12rem;
  transition: transform 0.2s ease;
}

.jobs-topbar__role.is-open .jobs-topbar__chevron {
  transform: rotate(-135deg);
  margin-top: 0.12rem;
}

.jobs-topbar__role-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 30;
  width: min(15rem, 80vw);
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--home-border, #e2e6ea);
  border-radius: 0.85rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.jobs-topbar__role-panel.is-hidden {
  display: none;
}

.jobs-topbar__role-hint {
  margin: 0 0 0.35rem;
  padding: 0 0.3rem;
  font-size: 0.72rem;
  color: var(--home-text-muted, #8a949b);
}

.jobs-topbar__role-panel form {
  margin: 0;
}

.jobs-topbar__role-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.6rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--home-text, #212529);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.jobs-topbar__role-option:hover {
  background: var(--home-bg, #f4f6f8);
}

.jobs-topbar__role-option.is-active {
  background: var(--home-primary-light, #e8eef4);
  color: var(--home-primary-deep, #1f2d3d);
}

.jobs-topbar__search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1 1 16rem;
  min-width: 12rem;
}

.jobs-topbar__select {
  flex: 0 1 11rem;
  max-width: 14rem;
  min-height: 2.2rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--home-border, #e2e6ea);
  border-radius: 0.65rem;
  background: #fff;
  color: var(--home-text, #212529);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
}

.jobs-topbar__search-field {
  position: relative;
  flex: 1 1 10rem;
  min-width: 8rem;
}

.jobs-topbar__search-icon {
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--home-text-muted, #8a949b);
  pointer-events: none;
}

.jobs-topbar__input {
  width: 100%;
  min-height: 2.2rem;
  padding: 0.35rem 0.7rem 0.35rem 2.15rem;
  border: 1px solid var(--home-border, #e2e6ea);
  border-radius: 0.65rem;
  background: #fff;
  font: inherit;
  font-size: 0.8125rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.jobs-topbar__input:focus,
.jobs-topbar__select:focus {
  outline: none;
  border-color: var(--home-primary, #2d3e50);
  box-shadow: 0 0 0 3px rgba(45, 62, 80, 0.08);
}

.jobs-topbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  margin-left: auto;
}

.jobs-topbar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 2.2rem;
  padding: 0.35rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid var(--home-border, #e2e6ea);
  background: var(--home-surface, #ffffff);
  color: var(--home-text, #212529);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.jobs-topbar__btn--accent {
  background: var(--home-primary, #2d3e50);
  border-color: var(--home-primary-deep, #1f2d3d);
  color: #fff;
  box-shadow:
    0 1px 2px rgba(33, 37, 41, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.jobs-topbar__btn--accent:hover {
  background: var(--home-primary-deep, #1f2d3d);
  border-color: var(--home-primary-deep, #1f2d3d);
  color: #fff;
}

.jobs-topbar__btn--accent:active {
  transform: translateY(1px);
  box-shadow: 0 1px 1px rgba(33, 37, 41, 0.12);
}

.jobs-topbar__btn--ghost:hover {
  border-color: var(--home-primary-soft, #d4dde6);
  color: var(--home-primary-deep, #1f2d3d);
}

.jobs-topbar__text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.2rem;
  padding: 0.35rem 0.7rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  color: var(--home-text-secondary, #5f6b75);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.jobs-topbar__text-link:hover {
  background: var(--home-primary-light, #e8eef4);
  color: var(--home-primary-deep, #1f2d3d);
  border-color: var(--home-primary-soft, #d4dde6);
}

.jobs-topbar__text-link.is-active {
  background: var(--home-primary-light, #e8eef4);
  border-color: var(--home-primary-soft, #d4dde6);
  color: var(--home-primary-deep, #1f2d3d);
}

.jobs-topbar__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--home-primary, #2d3e50);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1;
}

.jobs-topbar__text-link.is-active .jobs-topbar__count {
  background: #fff;
  color: var(--home-primary-deep, #1f2d3d);
}

.jobs-topbar__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  color: var(--home-text-secondary, #5f6b75);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.jobs-topbar__icon:hover {
  background: var(--home-primary-light, #e8eef4);
  color: var(--home-primary-deep, #1f2d3d);
  border-color: var(--home-primary-soft, #d4dde6);
}

.jobs-topbar__icon.is-active {
  background: var(--home-text, #212529);
  border-color: var(--home-text, #212529);
  color: #fff;
}

.jobs-topbar__icon .jobs-topbar__badge {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--home-primary, #2d3e50);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
}

.jobs-topbar__icon.is-active .jobs-topbar__badge {
  background: #fff;
  color: var(--home-primary-deep, #1f2d3d);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .jobs-topbar__search {
    flex: 1 1 100%;
    order: 5;
  }

  .jobs-topbar__actions {
    margin-left: 0;
  }
}

.jobs-catalog,
.realty-catalog {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "head"
    "filters"
    "ads";
  gap: 1rem;
  min-width: 0;
  align-items: start;
}

.jobs-catalog__head,
.realty-catalog__head {
  grid-area: head;
  min-width: 0;
}

.realty-catalog__head.search-page__toolbar {
  margin-bottom: 0;
}

.realty-catalog__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--home-text, #1f2d3d);
}

.realty-catalog__count {
  margin: 0;
  font-size: 0.9rem;
  color: var(--home-text-secondary, #5f6b75);
}

.realty-catalog__reset {
  color: var(--home-primary-deep, #1f2d3d);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.realty-catalog__reset:hover {
  color: var(--home-primary, #2d3e50);
}

.jobs-filters-aside,
.realty-filters-aside {
  grid-area: filters;
  min-width: 0;
}

.jobs-catalog__ads,
.realty-catalog__ads {
  grid-area: ads;
  min-width: 0;
}

.jobs-catalog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 560px) {
  .jobs-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .jobs-catalog__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .jobs-catalog,
  .realty-catalog {
    grid-template-columns: 17rem minmax(0, 1fr);
    grid-template-areas:
      "head head"
      "filters ads";
    column-gap: 1.25rem;
    row-gap: 0.85rem;
  }

  /* Тулбар над объявлениями, верх вровень с сайдбаром фильтров */
  .realty-catalog {
    grid-template-areas:
      "filters head"
      "filters ads";
    row-gap: 0.75rem;
  }

  .jobs-filters-aside,
  .realty-filters-aside {
    position: sticky;
    top: calc(var(--site-sticky-offset, 7.25rem) + 0.35rem);
    z-index: 2;
    max-height: none;
    overflow: visible;
  }
}

/* Компактный скролл панели фильтров в хабах */
.jobs-filters-aside .search-filters-panel,
.jobs-filters-aside .search-filters-panel *,
.realty-filters-aside .search-filters-panel,
.realty-filters-aside .search-filters-panel * {
  scrollbar-width: none;
}

.jobs-filters-aside .search-filters-panel::-webkit-scrollbar,
.jobs-filters-aside .search-filters-panel *::-webkit-scrollbar,
.realty-filters-aside .search-filters-panel::-webkit-scrollbar,
.realty-filters-aside .search-filters-panel *::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.jobs-filters-aside .search-filters-panel {
  position: static;
  max-height: none;
  overflow: visible;
  border: 1px solid var(--home-border, #e2e6ea);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.jobs-filters-aside .search-filters-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.05rem 1.1rem;
}

.jobs-filters-aside .search-filters-form__tools {
  margin: 0;
  order: -1;
}

.jobs-filters-aside .search-filter-section {
  margin: 0;
  padding: 0;
  border: 0;
}

.jobs-filters-aside .search-filter-section + .search-filter-section,
.jobs-filters-aside .search-filter-accord,
.jobs-filters-aside .search-filter-more {
  padding-top: 0.75rem;
  border-top: 1px solid var(--home-border, #e2e6ea);
}

.jobs-filters-aside .search-filter-section__label,
.jobs-filters-aside .search-filter-accord__summary,
.jobs-filters-aside .search-filter-more__summary {
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--home-text-secondary, #5f6b75);
}

.jobs-filters-aside .search-filter-section--check {
  padding-top: 0.25rem;
}

.jobs-filters-aside .search-filter-section + .search-filter-section--check,
.jobs-filters-aside .search-filter-section--check + .search-filter-section--check {
  border-top: none;
  padding-top: 0.15rem;
}

.jobs-filters-aside .search-filter-pill__text {
  min-height: 1.85rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
}

.jobs-filters-aside .search-filter-pill--any .search-filter-pill__input:checked + .search-filter-pill__text {
  background: var(--home-primary-light, #e8eef4);
  border-color: var(--home-border, #e2e6ea);
  color: var(--home-text-secondary, #5f6b75);
}

.jobs-filters-aside .search-filters-form__submit {
  margin-top: 0.25rem;
  width: 100%;
  min-height: 2.6rem;
  border-radius: 0.75rem;
}

.jobs-filters-aside .search-filter-accord__body,
.jobs-filters-aside .search-filter-more__body {
  max-height: none;
  overflow: visible;
}

.jobs-filters-aside .search-filter-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.4rem;
}

.jobs-filters-aside .search-filters-form__select,
.jobs-filters-aside .search-filters-form__input {
  min-height: 2.35rem;
  border-radius: 0.7rem;
}

.jobs-main__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.jobs-main__head--catalog {
  margin-bottom: 0;
}

.jobs-main__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--home-text, #212529);
  line-height: 1.25;
}

.jobs-main__count {
  margin: 0.3rem 0 0;
  font-size: 0.8125rem;
  color: var(--home-text-muted, #8a949b);
}

.jobs-catalog__reset {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--home-primary-deep, #1f2d3d);
  text-decoration: none;
}

.jobs-catalog__reset:hover {
  text-decoration: underline;
}

.jobs-main__list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--home-border, #e2e6ea);
  border-radius: 1rem;
  overflow: hidden;
}

.jobs-main__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--home-border, #e2e6ea);
  font-size: 0.9rem;
}

.jobs-main__list li:last-child {
  border-bottom: 0;
}

.jobs-main__list a {
  color: var(--home-text, #212529);
  font-weight: 700;
  text-decoration: none;
}

.jobs-main__list a:hover {
  color: var(--home-primary-deep, #1f2d3d);
}

.jobs-main__empty {
  color: var(--home-text-muted, #8a949b);
}

.jobs-main__empty a {
  color: var(--home-primary-deep, #1f2d3d);
}

/* create page: topbar above form */
.ad-create-page--jobs .jobs-topbar {
  margin-bottom: 0.25rem;
}

/* Job list cards ? not product grid */
.jobs-role-welcome {
  padding: 1.5rem 1.25rem;
  border-radius: var(--home-radius, 16px);
  border: 1px solid var(--home-border, #e2e6ea);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(45, 62, 80, 0.06), transparent 50%),
    var(--home-surface, #fff);
  margin-bottom: 0.25rem;
}

.jobs-role-welcome__title {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--home-text, #212529);
}

.jobs-role-welcome__lead {
  margin: 0 0 1.1rem;
  color: var(--home-text-secondary, #5f6b75);
  font-size: 0.9375rem;
}

.jobs-role-welcome__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .jobs-role-welcome__actions {
    grid-template-columns: 1fr 1fr;
  }
}

.jobs-role-welcome__form {
  margin: 0;
}

.jobs-role-welcome__btn {
  width: 100%;
  min-height: 5.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--home-radius-sm, 12px);
  border: 2px solid var(--home-border, #e2e6ea);
  background: var(--home-bg, #f4f6f8);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, transform 0.12s ease;
}

.jobs-role-welcome__btn:hover {
  border-color: var(--home-primary, #2d3e50);
}

.jobs-role-welcome__btn:active {
  transform: scale(0.99);
}

.jobs-role-welcome__btn-title {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--home-text, #212529);
  margin-bottom: 0.25rem;
}

.jobs-role-welcome__btn-text {
  display: block;
  font-size: 0.875rem;
  color: var(--home-text-secondary, #5f6b75);
}

.jobs-catalog__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.job-card {
  border: 1px solid var(--home-border, #e2e6ea);
  border-radius: var(--home-radius-sm, 12px);
  background: var(--home-surface, #fff);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.job-card:hover {
  border-color: var(--home-primary-soft, #d4dde6);
  box-shadow: 0 6px 16px -4px rgba(33, 37, 41, 0.08);
  transform: translateY(-2px);
}

.job-card__link {
  display: block;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
}

.job-card__kind {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--home-primary-deep, #1f2d3d);
  background: var(--home-primary-light, #e8eef4);
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  margin-bottom: 0.4rem;
}

.job-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--home-text, #212529);
  line-height: 1.3;
}

.job-card__salary {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--home-primary-deep, #1f2d3d);
  margin-bottom: 0.35rem;
}

.job-card__note {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--home-text-muted, #8a949b);
}

.job-card__meta {
  font-size: 0.8125rem;
  color: var(--home-text-muted, #8a949b);
}

.job-card__verified {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--home-primary-deep, #1f2d3d);
}

@media (prefers-reduced-motion: reduce) {
  .portal-hub__search-btn,
  .portal-hub .btn-primary,
  .portal-hub__search-input,
  .portal-hub__tab,
  .portal-hub__chip,
  .portal-hub__cta-link,
  .jobs-topbar__tab,
  .jobs-topbar__role-btn,
  .jobs-topbar__input,
  .jobs-topbar__text-link,
  .jobs-topbar__icon,
  .jobs-topbar__btn--accent,
  .jobs-topbar__chevron,
  .jobs-role-welcome__btn,
  .job-card {
    transition: none !important;
  }

  .portal-hub__search-btn:active,
  .portal-hub .btn-primary:active,
  .jobs-topbar__btn--accent:active,
  .jobs-role-welcome__btn:active,
  .job-card:hover {
    transform: none !important;
  }
}
