:root {
  --bg: #f3f6f9;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: #ffffff;
  --panel-soft: rgba(245, 248, 252, 0.92);
  --text: #122146;
  --muted: #5b6984;
  --line: rgba(18, 33, 70, 0.1);
  --line-strong: rgba(18, 33, 70, 0.18);
  --brand: #162a70;
  --brand-dark: #0b1435;
  --brand-teal: #1cc6c6;
  --brand-gold: #e1b740;
  --success: #0f8f71;
  --danger: #b84a4a;
  --shadow-sm: 0 16px 40px rgba(12, 22, 49, 0.06);
  --shadow-md: 0 24px 60px rgba(12, 22, 49, 0.1);
  --radius-sm: 18px;
  --radius: 26px;
  --radius-lg: 34px;
  --header-height: 84px;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(225, 183, 64, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(28, 198, 198, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 246, 249, 1));
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-4,
.display-5,
.display-6 {
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.03em;
  color: var(--brand-dark);
}

.site-main {
  flex: 1 0 auto;
  padding-bottom: 3rem;
}

.flash-stack {
  padding-top: 1rem;
}

.flash-stack .alert {
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.site-header {
  padding: 0.9rem 0 0;
}

.site-header .navbar {
  min-height: var(--header-height);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(11, 20, 53, 0.96), rgba(22, 42, 112, 0.92));
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.site-header .navbar-brand,
.site-header .nav-link,
.site-header .navbar-text {
  color: #fff;
}

.site-header .nav-link {
  opacity: 0.86;
  font-weight: 600;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  opacity: 1;
  color: #fff;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 0.5rem 0.65rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(28, 198, 198, 0.18);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.brand-logo {
  width: 56px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 22px rgba(11, 20, 53, 0.24));
}

.brand-wording {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-wording strong {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.brand-wording small {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.68);
}

.header-actions {
  align-items: center;
}

.header-note {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.84rem;
}

.section-shell {
  padding: 4.5rem 0;
}

.section-shell.section-soft {
  padding-top: 0;
}

.hero-shell {
  padding: 2rem 0 5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.15rem;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  background: rgba(28, 198, 198, 0.13);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.surface-card,
.card-lite,
.feature-tile,
.job-card,
.employer-hero {
  border: 1px solid rgba(18, 33, 70, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 253, 0.94));
  box-shadow: var(--shadow-sm);
}

.card-lite,
.feature-tile,
.surface-card {
  padding: 1.5rem;
}

.surface-card.compact {
  padding: 1.2rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.section-head p,
.text-secondary {
  color: var(--muted) !important;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.75rem;
  align-items: stretch;
}

.hero-copy {
  padding: 1rem 0;
}

.hero-copy .display-4 {
  max-width: 12ch;
}

.hero-search {
  margin-top: 1.75rem;
}

.hero-search-panel {
  padding: 1.1rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.hero-pill,
.filter-chip,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-pill,
.filter-chip {
  background: rgba(22, 42, 112, 0.08);
  color: var(--brand);
}

.status-pill {
  background: rgba(28, 198, 198, 0.14);
  color: var(--success);
}

.status-pill.is-muted {
  background: rgba(18, 33, 70, 0.08);
  color: var(--muted);
}

.brand-panel {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 1.7rem;
  background:
    linear-gradient(150deg, rgba(11, 20, 53, 0.98), rgba(22, 42, 112, 0.94)),
    linear-gradient(180deg, rgba(28, 198, 198, 0.22), transparent);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.brand-panel::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 183, 64, 0.32), rgba(225, 183, 64, 0));
}

.hero-logo {
  max-width: 260px;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.brand-panel-copy {
  max-width: 32rem;
}

.metric-stack,
.info-stack {
  display: grid;
  gap: 0.85rem;
}

.metric-card {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-card small,
.metric-card span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
}

.metric-card strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.05rem;
}

.feature-tile {
  min-height: 100%;
}

.feature-tile p:last-child,
.card-lite p:last-child {
  margin-bottom: 0;
}

.platform-band {
  margin-top: 1.75rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.platform-band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.platform-band strong {
  display: block;
  font-size: 1.35rem;
  color: var(--brand-dark);
}

.platform-band span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.jobs-shell {
  padding: 1.2rem 0 0;
}

.jobs-layout {
  align-items: stretch;
}

.jobs-sidebar {
  background: rgba(255, 255, 255, 0.26);
}

.jobs-sidebar-inner {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  max-height: calc(100vh - var(--header-height) - 1.5rem);
  overflow: auto;
  padding: 0 1rem 1.25rem;
}

.jobs-sidebar-inner::-webkit-scrollbar {
  width: 10px;
}

.jobs-sidebar-inner::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(18, 33, 70, 0.16);
}

.jobs-detail {
  padding: 0 1rem 1.5rem;
}

.jobs-detail-inner {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.jobs-panel,
.search-form,
.filter-summary,
.save-search-card {
  margin-bottom: 1rem;
}

.jobs-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0;
}

.result-count-badge {
  min-width: 58px;
  padding: 0.5rem 0.85rem;
  border-radius: 18px;
  background: rgba(22, 42, 112, 0.08);
  text-align: center;
  font-weight: 800;
  color: var(--brand);
}

.jobs-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 0.9rem;
}

.jobs-list-head h2 {
  margin: 0;
  font-size: 1rem;
}

.job-list {
  display: grid;
  gap: 0.9rem;
}

.job-card {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 1rem 1rem 1.05rem;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.job-card:hover,
.job-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(28, 198, 198, 0.4);
  box-shadow: 0 22px 48px rgba(12, 22, 49, 0.12);
}

.job-card.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(244, 249, 252, 0.98)),
    linear-gradient(90deg, rgba(28, 198, 198, 0.1), transparent);
}

.job-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.job-card-title {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
  line-height: 1.35;
}

.job-card-meta {
  margin-bottom: 0.85rem;
  color: var(--muted);
}

.job-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  color: var(--brand-dark);
  font-weight: 800;
}

.empty-state,
.empty-card {
  padding: 2rem;
  text-align: center;
  border: 1px dashed rgba(18, 33, 70, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.detail-pane {
  display: grid;
  gap: 1rem;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 1rem;
  align-items: start;
}

.detail-hero-copy,
.detail-cta-card {
  min-height: 100%;
}

.detail-subtitle {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--muted);
}

.detail-summary {
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.detail-cta-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(11, 20, 53, 0.98), rgba(22, 42, 112, 0.94)),
    linear-gradient(180deg, rgba(28, 198, 198, 0.18), transparent);
  color: #fff;
}

.detail-cta-card h3,
.detail-cta-card p,
.detail-cta-card strong {
  color: #fff;
}

.detail-contact {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.82);
}

.detail-section {
  padding: 1.45rem 1.5rem;
}

.detail-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.detail-facts-grid > div {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(243, 246, 249, 0.72);
}

.detail-facts-grid dt {
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.detail-facts-grid dd {
  margin: 0;
  font-weight: 700;
  color: var(--brand-dark);
}

.detail-list {
  margin: 0;
  padding-left: 1.1rem;
}

.detail-list li + li {
  margin-top: 0.45rem;
}

.detail-page-shell {
  max-width: 1140px;
}

.detail-back {
  margin-bottom: 1rem;
}

.dashboard-head,
.dashboard-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.dashboard-metric {
  min-height: 100%;
}

.dashboard-metric strong {
  display: block;
  margin-top: 0.5rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--brand-dark);
}

.dashboard-list {
  display: grid;
  gap: 0.85rem;
}

.dashboard-list-item {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(243, 246, 249, 0.72);
}

.dashboard-list-item strong {
  display: block;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.meta-tile {
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(243, 246, 249, 0.86);
  border: 1px solid var(--line);
}

.meta-tile small {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
}

.meta-tile strong {
  color: var(--brand-dark);
}

.search-list {
  display: grid;
  gap: 1rem;
}

.search-item {
  padding: 1.2rem 1.25rem;
}

.search-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.auth-shell .row {
  align-items: stretch;
}

.auth-intro,
.auth-card {
  height: 100%;
}

.auth-benefits {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.auth-benefit {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(243, 246, 249, 0.72);
}

.auth-card .form-control,
.auth-card .form-select,
.search-form .form-control,
.search-form .form-select {
  min-height: 52px;
  border-radius: 16px;
  border-color: rgba(18, 33, 70, 0.14);
}

.auth-card .form-control:focus,
.auth-card .form-select:focus,
.search-form .form-control:focus,
.search-form .form-select:focus {
  border-color: rgba(28, 198, 198, 0.48);
  box-shadow: 0 0 0 0.2rem rgba(28, 198, 198, 0.12);
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 1rem;
}

.profile-copy {
  min-height: 100%;
}

.profile-side {
  display: grid;
  gap: 0.9rem;
}

.profile-panel {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(243, 246, 249, 0.72);
}

.profile-panel strong {
  display: block;
  color: var(--brand-dark);
}

.site-footer {
  width: 100%;
  margin-top: auto;
  padding: 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer-inner {
  width: 100%;
  padding: 1.25rem 0;
}

.site-footer-content {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(180px, 0.6fr));
  gap: 1.5rem;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.footer-copy {
  color: var(--muted);
}

.btn {
  border-radius: 16px;
  font-weight: 700;
}

.btn-sm {
  border-radius: 14px;
}

.btn-primary {
  border-color: var(--brand);
  background: linear-gradient(135deg, var(--brand), #243d92);
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: var(--brand-dark);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.btn-dark {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.btn-outline-dark,
.btn-outline-secondary,
.btn-outline-primary {
  border-color: rgba(22, 42, 112, 0.18);
  color: var(--brand);
}

.btn-outline-dark:hover,
.btn-outline-secondary:hover,
.btn-outline-primary:hover {
  border-color: rgba(225, 183, 64, 0.5);
  background: rgba(225, 183, 64, 0.12);
  color: var(--brand-dark);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-ghost-light:hover,
.btn-ghost-light:focus {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.offcanvas {
  border-left: 0;
  border-radius: 24px 0 0 24px;
}

.error-shell {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 1199px) {
  .hero-grid,
  .detail-hero,
  .profile-hero,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .platform-band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .site-header .navbar {
    border-radius: 22px;
  }

  .header-note {
    display: none;
  }

  .jobs-sidebar-inner,
  .jobs-detail-inner {
    position: static;
    max-height: none;
  }

  .jobs-sidebar,
  .jobs-detail {
    padding: 0 0.75rem 1rem;
  }

  .jobs-shell {
    padding-top: 0.75rem;
  }

  .meta-grid,
  .detail-facts-grid,
  .platform-band-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 74px;
    --radius: 22px;
  }

  .hero-shell,
  .section-shell {
    padding: 3rem 0;
  }

  .site-header {
    padding-top: 0.6rem;
  }

  .site-header .navbar {
    border-radius: 18px;
  }

  .brand-logo {
    width: 46px;
  }

  .jobs-sidebar,
  .jobs-detail {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .empty-state,
  .empty-card,
  .surface-card,
  .card-lite,
  .feature-tile,
  .job-card {
    border-radius: 22px;
  }
}

/* Compact angular UI */

:root {
  --radius-sm: 0;
  --radius: 0;
  --radius-lg: 0;
  --shadow-sm: none;
  --shadow-md: none;
}

body {
  background: #f5f7fa;
}

.site-main {
  flex: 1 0 auto;
  padding-bottom: 1rem;
}

.site-header {
  padding-top: 0;
}

.site-header .navbar,
.site-footer-inner,
.surface-card,
.card-lite,
.feature-tile,
.job-card,
.employer-hero,
.metric-card,
.platform-band,
.detail-cta-card,
.profile-panel,
.dashboard-list-item,
.meta-tile,
.auth-benefit,
.empty-state,
.empty-card,
.flash-stack .alert,
.result-count-badge,
.filter-chip,
.hero-pill,
.status-pill,
.btn,
.btn-sm,
.form-control,
.form-select,
.navbar-toggler,
.offcanvas {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.site-header .navbar {
  min-height: 72px;
  border-left: 0;
  border-right: 0;
}

.header-note,
.eyebrow,
.hero-pill,
.filter-chip,
.status-pill,
.result-count-badge {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--brand-dark);
}

.eyebrow {
  margin-bottom: 0.7rem;
  padding: 0.18rem 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.section-shell {
  padding: 2rem 0;
}

.hero-shell {
  padding: 1rem 0 2rem;
}

.surface-card,
.card-lite,
.feature-tile,
.platform-band,
.site-footer-inner {
  padding: 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer-inner {
  width: 100%;
  padding: 0.85rem 0;
  border: 0;
}

.site-footer-content {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.jobs-shell {
  padding-top: 0.4rem;
}

.jobs-sidebar {
  background: transparent;
}

.jobs-sidebar-inner {
  top: calc(var(--header-height) + 0.25rem);
  max-height: calc(100vh - var(--header-height) - 0.5rem);
  padding: 0 0.5rem 0.75rem;
}

.jobs-detail {
  padding: 0 0.5rem 0.75rem;
}

.jobs-detail-inner {
  top: calc(var(--header-height) + 0.25rem);
}

.jobs-panel,
.search-form,
.filter-summary,
.save-search-card {
  margin-bottom: 0.5rem;
}

.jobs-toolbar,
.jobs-list-head,
.section-head,
.dashboard-hero,
.dashboard-head {
  gap: 0.5rem;
}

.jobs-list-head {
  margin: 0.5rem 0;
}

.job-list {
  gap: 0.5rem;
}

.job-card {
  padding: 0.7rem;
  background: #fff;
  border: 1px solid var(--line);
}

.job-card:hover,
.job-card.is-active {
  transform: none;
  border-color: var(--brand-teal);
}

.job-card.is-active {
  background: #fff;
}

.job-card-top {
  margin-bottom: 0.35rem;
}

.job-card-title {
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.job-card-meta {
  margin-bottom: 0.4rem;
}

.job-card-link {
  margin-top: 0.45rem;
  font-size: 0.85rem;
}

.detail-pane {
  gap: 0.5rem;
}

.detail-hero,
.profile-hero,
.hero-grid,
.footer-grid {
  gap: 0.6rem;
}

.detail-cta-card {
  padding: 0.85rem;
}

.detail-section {
  padding: 0.8rem 0.9rem;
}

.detail-summary {
  margin-top: 0.55rem;
  line-height: 1.45;
}

.detail-facts-grid {
  gap: 0.2rem 1rem;
}

.detail-facts-grid > div {
  padding: 0;
  border: 0;
  background: transparent;
}

.detail-facts-grid dt {
  margin-bottom: 0.1rem;
  font-size: 0.7rem;
}

.detail-facts-grid dd {
  font-weight: 600;
}

.dashboard-list,
.search-list,
.auth-benefits,
.meta-grid {
  gap: 0.5rem;
}

.dashboard-list-item,
.meta-tile,
.profile-panel,
.auth-benefit {
  padding: 0.7rem;
  background: transparent;
}

.platform-band {
  margin-top: 0.75rem;
}

.platform-band-grid {
  gap: 0.6rem;
}

.btn {
  padding: 0.45rem 0.7rem;
  font-weight: 600;
}

.form-control,
.form-select {
  min-height: 38px;
  padding: 0.35rem 0.5rem;
}

.auth-card .form-control,
.auth-card .form-select,
.search-form .form-control,
.search-form .form-select {
  min-height: 38px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.filter-field {
  min-width: 0;
}

.filter-field-wide {
  grid-column: span 2;
}

.filter-section {
  margin-top: 0.55rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--line);
}

.filter-title {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.filter-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 0.75rem;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--text);
}

.filter-check input {
  margin: 0;
}

.search-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.search-actions .btn {
  flex: 1 1 auto;
}

.offcanvas {
  border-left: 1px solid var(--line);
}

@media (max-width: 991px) {
  .jobs-sidebar-inner,
  .jobs-detail-inner {
    max-height: none;
    padding-left: 0;
    padding-right: 0;
  }

  .filter-grid,
  .filter-checks {
    grid-template-columns: 1fr;
  }
}

/* Header filter rail layout */

.site-nav-shell {
  width: 100%;
  max-width: none;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.site-header .navbar {
  width: 100%;
}

.site-header .navbar-collapse {
  flex: 1 1 auto;
}

.jobs-header-toolbar {
  width: 100%;
  border-top: 1px solid var(--line);
  background: #fff;
}

.jobs-header-toolbar-inner {
  width: 100%;
  padding: 0.55rem 0.75rem 0.65rem;
}

.jobs-filter-rail {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: thin;
}

.jobs-filter-rail.is-dragging {
  cursor: grabbing;
}

.jobs-filter-track {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  width: max-content;
  padding-bottom: 0.2rem;
}

.jobs-filter-rail::-webkit-scrollbar {
  height: 8px;
}

.jobs-filter-rail::-webkit-scrollbar-thumb {
  background: rgba(18, 33, 70, 0.18);
}

.jobs-inline-search,
.jobs-filter-button {
  flex: 0 0 auto;
}

.jobs-inline-search {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
  min-width: 340px;
}

.jobs-inline-search .form-control {
  min-width: 220px;
}

.jobs-filter-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 220px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  text-align: left;
}

.jobs-filter-button:hover {
  border-color: var(--brand-teal);
  color: var(--brand-dark);
}

.jobs-filter-button-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.jobs-filter-button-value {
  margin-top: 0.1rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--brand-dark);
  white-space: nowrap;
}

.jobs-filter-button-reset {
  border-style: dashed;
}

.jobs-shell-has-header-filters .jobs-sidebar-inner,
.jobs-shell-has-header-filters .jobs-detail-inner {
  top: calc(var(--header-height) + 4.7rem);
}

.jobs-shell-has-header-filters .jobs-sidebar-inner {
  max-height: calc(100vh - var(--header-height) - 5rem);
}

.jobs-list-head-solo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.jobs-save-search-inline {
  margin-bottom: 0.65rem;
}

.jobs-save-search-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.jobs-save-search-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.jobs-save-search-actions .form-control {
  min-width: 200px;
}

.jobs-save-search-actions .form-select {
  min-width: 140px;
}

.jobs-filter-modal .modal-content {
  border: 1px solid var(--line);
  background: #fff;
}

.jobs-filter-modal {
  z-index: 1065;
}

.jobs-filter-modal .modal-header,
.jobs-filter-modal .modal-footer {
  border-color: var(--line);
}

.filter-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.filter-modal-stack {
  display: grid;
  gap: 1rem;
}

.filter-modal-subtitle {
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.filter-modal-checks {
  display: grid;
  gap: 0.45rem;
}

.filter-modal-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--line);
  background: #fff;
}

.filter-modal-check input {
  margin: 0;
}

body.modal-open .site-header.has-jobs-toolbar {
  z-index: 1020;
}

@media (max-width: 991px) {
  .site-nav-shell {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .jobs-header-toolbar-inner {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .jobs-shell-has-header-filters .jobs-sidebar-inner,
  .jobs-shell-has-header-filters .jobs-detail-inner {
    top: auto;
    max-height: none;
  }

  .jobs-save-search-head {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .jobs-inline-search {
    min-width: 300px;
  }

  .jobs-filter-button {
    min-width: 200px;
  }

  .filter-modal-grid {
    grid-template-columns: 1fr;
  }
}

/* Simplified header navigation */

.site-header .navbar {
  padding: 0.55rem 0;
}

.site-nav-shell {
  display: grid;
  grid-template-columns: auto minmax(360px, 820px) auto;
  align-items: center;
  gap: 0.75rem;
}

.brand-lockup {
  gap: 0;
}

.brand-logo {
  width: 52px;
}

.header-primary-search {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) minmax(180px, 1fr) 44px;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  width: 100%;
  max-width: 820px;
  margin-left: 0;
  justify-self: start;
}

.header-primary-search .form-control {
  min-height: 40px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.98);
}

.header-primary-search-form {
  width: 100%;
}

.header-search-submit,
.header-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.header-search-submit:hover,
.header-search-submit:focus,
.header-icon-link:hover,
.header-icon-link:focus {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.header-search-submit svg,
.header-icon-link svg {
  width: 20px;
  height: 20px;
  display: block;
}

.header-icon-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.25rem;
}

.header-user-dropdown {
  min-width: 220px;
  border: 1px solid var(--line);
  padding: 0.35rem 0;
}

.header-user-dropdown .dropdown-header {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

.header-user-dropdown .dropdown-item {
  font-size: 0.92rem;
}

@media (max-width: 991px) {
  .site-header .navbar {
    min-height: auto;
  }

  .site-nav-shell {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .header-primary-search {
    grid-template-columns: minmax(140px, 1fr) minmax(110px, 0.7fr) 40px;
    max-width: none;
  }
}

@media (max-width: 767px) {
  .site-nav-shell {
    grid-template-columns: auto 1fr auto;
    gap: 0.5rem;
  }

  .brand-logo {
    width: 44px;
  }

  .header-primary-search {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px;
    margin-left: 0;
    margin-top: 0.2rem;
    max-width: none;
  }

  .header-icon-actions {
    margin-left: 0;
  }
}

/* Minimal home */

.home-minimal-shell {
  padding: 4.5rem 0 2rem;
}

.home-minimal-hero {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.home-minimal-title {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.home-minimal-copy {
  max-width: 740px;
  margin: 0 auto 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-minimal-search {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
  gap: 0.6rem;
  max-width: 860px;
  margin: 0 auto;
}

.home-minimal-search .form-control,
.home-minimal-search .btn {
  min-height: 52px;
}

.home-minimal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.home-minimal-links a {
  padding: 0.38rem 0.7rem;
  border: 1px solid var(--line);
  color: var(--brand-dark);
}

.home-minimal-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
  text-align: left;
}

.home-minimal-stats > div {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: #fff;
}

.home-minimal-stats strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--brand-dark);
}

.home-minimal-stats span {
  color: var(--muted);
}

.home-featured-section {
  padding-top: 1rem;
}

.home-minimal-tile {
  min-height: 100%;
}

@media (max-width: 767px) {
  .home-minimal-shell {
    padding-top: 2.4rem;
  }

  .home-minimal-search {
    grid-template-columns: 1fr;
  }

  .home-minimal-stats {
    grid-template-columns: 1fr;
  }
}

/* Home clean layout */

.home-clean-shell {
  padding: 1.1rem 0 1.8rem;
}

.home-clean-container {
  max-width: 1280px;
}

.home-clean-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(18, 33, 70, 0.08);
  background: linear-gradient(90deg, #102055 0%, #213a86 48%, #e8eefc 74%, #ffffff 84%, #ffffff 100%);
}

.home-clean-mark {
  display: inline-flex;
  align-items: center;
}

.home-clean-mark img {
  width: 76px;
  height: auto;
}

.home-clean-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.home-clean-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-dark);
}

.home-clean-action:hover,
.home-clean-action:focus {
  border-color: var(--brand-teal);
  color: var(--brand);
}

.home-clean-action svg {
  width: 20px;
  height: 20px;
  display: block;
}

.home-clean-search {
  margin-top: 1.1rem;
}

.home-clean-search-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) 1px minmax(0, 1fr) auto;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  background: #fff;
}

.home-clean-field {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 1rem 0.75rem;
}

.home-clean-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-clean-input {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--brand-dark);
  font-size: 1rem;
}

.home-clean-input::placeholder {
  color: #7a879f;
}

.home-clean-divider {
  width: 1px;
  height: 100%;
  background: var(--line);
}

.home-clean-submit {
  min-width: 170px;
  padding: 0 1.15rem;
  border: 0;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.home-clean-submit:hover,
.home-clean-submit:focus {
  background: var(--brand-dark);
}

.home-clean-brand-stage {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.8rem 0 0;
}

.home-clean-brand-logo {
  width: min(100%, 760px);
  height: auto;
}

.home-clean-slogan {
  max-width: 720px;
  margin: 0;
  text-align: center;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  line-height: 1.2;
  color: var(--brand-dark);
}

.home-clean-featured {
  padding-top: 1rem;
}

.home-mobile-bottom-nav {
  display: none;
}

.home-mobile-bottom-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.home-mobile-bottom-link svg {
  width: 20px;
  height: 20px;
  display: block;
}

.home-mobile-bottom-link.is-active,
.home-mobile-bottom-link:hover,
.home-mobile-bottom-link:focus {
  color: var(--brand);
}

@media (max-width: 767px) {
  .home-clean-shell {
    padding-top: 0.8rem;
  }

  .home-clean-mark img {
    width: 62px;
  }

  .home-clean-search-shell {
    grid-template-columns: 1fr;
  }

  .home-clean-divider {
    width: 100%;
    height: 1px;
  }

  .home-clean-field {
    padding: 0.8rem 0.85rem 0.7rem;
  }

  .home-clean-submit {
    min-width: 0;
    min-height: 46px;
  }

  .home-clean-brand-stage {
    margin-top: 1.25rem;
    padding-top: 1rem;
  }

  .home-clean-slogan {
    font-size: 1.1rem;
  }

  .home-clean-featured {
    padding-bottom: 5.75rem;
  }

  .home-mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1035;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
  }

  .home-mobile-bottom-link {
    min-height: 62px;
  }
}

/* Mobile stability fixes */

body.page-home .site-main {
  padding-bottom: 1rem;
}

body.page-jobs .jobs-container {
  max-width: none;
}

@media (max-width: 991px) {
  body.page-jobs .site-header .navbar {
    border-left: 0;
    border-right: 0;
    border-top: 0;
  }

  body.page-jobs .site-nav-shell {
    grid-template-columns: auto 1fr auto;
    align-items: start;
  }

  body.page-jobs .header-primary-search {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px;
    width: 100%;
    max-width: none;
    margin-top: 0.45rem;
  }

  body.page-jobs .header-primary-search .form-control {
    min-width: 0;
    width: 100%;
  }

  body.page-jobs .jobs-layout {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  body.page-jobs .jobs-sidebar,
  body.page-jobs .jobs-detail {
    width: 100%;
    max-width: none;
    flex: none;
    padding: 0 0.5rem 0.5rem;
  }

  body.page-jobs .jobs-sidebar-inner,
  body.page-jobs .jobs-detail-inner,
  body.page-jobs .jobs-shell-has-header-filters .jobs-sidebar-inner,
  body.page-jobs .jobs-shell-has-header-filters .jobs-detail-inner {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
  }

  body.page-jobs .jobs-list-head-solo {
    align-items: flex-start;
  }

  body.page-jobs .jobs-save-search-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  body.page-jobs .jobs-save-search-actions .form-control,
  body.page-jobs .jobs-save-search-actions .form-select {
    min-width: 0;
    width: 100%;
  }

  body.page-jobs .jobs-filter-button {
    min-width: 160px;
    max-width: 78vw;
    padding: 0.5rem 0.55rem;
  }

  body.page-jobs .jobs-filter-button-value {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.page-jobs .detail-hero,
  body.page-jobs .detail-facts-grid {
    grid-template-columns: 1fr;
  }

  body.page-jobs .jobs-detail .empty-state {
    display: none;
  }
}

@media (max-width: 767px) {
  body.page-home .site-main {
    padding-bottom: 5.75rem;
  }

  body.page-home .site-footer {
    display: none;
  }

  .home-clean-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .home-clean-top {
    align-items: center;
    padding: 0.7rem 0.8rem;
    background: linear-gradient(135deg, #102055 0%, #23408f 50%, #ffffff 100%);
  }

  .home-clean-actions {
    gap: 0.35rem;
  }

  .home-clean-action {
    width: 40px;
    height: 40px;
  }

  .home-clean-search {
    margin-top: 0.75rem;
  }

  .home-clean-search-shell {
    overflow: hidden;
  }

  .home-clean-input {
    font-size: 16px;
  }

  .home-clean-brand-logo {
    width: min(100%, 320px);
  }

  .home-clean-featured .section-head {
    align-items: flex-start;
  }

  .home-clean-featured .section-head .btn {
    width: 100%;
  }

  body.page-jobs .site-main {
    padding-bottom: 1rem;
  }

  body.page-jobs .site-nav-shell {
    gap: 0.45rem;
  }

  body.page-jobs .brand-logo {
    width: 40px;
  }

  body.page-jobs .header-primary-search {
    gap: 0.35rem;
  }

  body.page-jobs .header-search-submit,
  body.page-jobs .header-icon-link {
    width: 38px;
    height: 38px;
  }

  body.page-jobs .jobs-container {
    padding-left: 0;
    padding-right: 0;
  }

  body.page-jobs .jobs-shell {
    padding-top: 0.25rem;
  }

  body.page-jobs .jobs-list-head-solo {
    flex-direction: column;
  }

  body.page-jobs .result-count-badge {
    min-width: 0;
    padding: 0.3rem 0.55rem;
  }

  body.page-jobs .jobs-filter-button {
    min-width: 148px;
    max-width: 82vw;
  }

  body.page-jobs .job-card,
  body.page-jobs .detail-section,
  body.page-jobs .detail-cta-card {
    padding: 0.75rem;
  }
}

/* Final responsive stabilization */

.site-header .navbar {
  background: #fff !important;
  border: 1px solid var(--line) !important;
}

.site-header .navbar-brand,
.site-header .nav-link,
.site-header .navbar-text {
  color: var(--brand-dark) !important;
}

.brand-logo {
  filter: none;
}

.header-primary-search .form-control {
  border: 1px solid var(--line);
  background: #fff;
}

.header-search-submit,
.header-icon-link {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-dark);
}

.header-search-submit:hover,
.header-search-submit:focus,
.header-icon-link:hover,
.header-icon-link:focus {
  border-color: var(--brand-teal);
  background: #f7fafc;
  color: var(--brand-dark);
}

.jobs-header-toolbar {
  border-top: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.jobs-header-toolbar-inner {
  padding-top: 0.5rem;
  padding-bottom: 0.55rem;
}

.jobs-filter-rail {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.jobs-filter-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
  width: max-content;
  min-width: 100%;
}

.jobs-filter-button {
  min-width: 212px;
  max-width: 280px;
}

.jobs-filter-button-label,
.jobs-filter-button-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jobs-filter-modal {
  z-index: 2000;
}

.jobs-filter-modal .modal-dialog {
  z-index: 2001;
}

.modal-backdrop {
  z-index: 1990;
}

body.page-home .home-clean-top {
  background: #fff;
  border: 1px solid var(--line);
}

body.page-home .home-clean-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
}

body.page-home .home-clean-action {
  width: 42px;
  height: 42px;
}

body.page-home .home-clean-action svg,
body.page-home .home-mobile-bottom-link svg {
  width: 18px;
  height: 18px;
}

body.page-home .home-clean-brand-stage {
  margin-top: 1.15rem;
  padding-top: 0.7rem;
}

@media (max-width: 991px) {
  body.page-jobs .site-header {
    position: sticky;
    top: 0;
    z-index: 1020;
  }

  body.page-jobs .site-nav-shell {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.45rem;
  }

  body.page-jobs .header-primary-search {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 38px;
    margin-top: 0.35rem;
  }

  body.page-jobs .jobs-filter-button {
    min-width: 176px;
    max-width: 76vw;
  }
}

@media (max-width: 767px) {
  body.page-home .site-main {
    padding-bottom: 5.4rem;
  }

  body.page-home .site-footer {
    display: none;
  }

  body.page-home .home-clean-container {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  body.page-home .home-clean-top {
    padding: 0.6rem 0.65rem;
  }

  body.page-home .home-clean-search-shell {
    grid-template-columns: 1fr;
  }

  body.page-home .home-clean-divider {
    width: 100%;
    height: 1px;
  }

  body.page-home .home-clean-submit {
    min-height: 44px;
  }

  body.page-home .home-clean-brand-logo {
    width: min(100%, 280px);
  }

  body.page-home .home-mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1055;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
  }

  body.page-home .home-mobile-bottom-link {
    min-height: 58px;
    font-size: 0.68rem;
  }

  body.page-jobs .jobs-header-toolbar-inner {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }

  body.page-jobs .jobs-filter-button {
    min-width: 162px;
    max-width: 82vw;
    padding: 0.45rem 0.5rem;
  }

  body.page-jobs .jobs-filter-button-label {
    font-size: 0.68rem;
  }

  body.page-jobs .jobs-filter-button-value {
    font-size: 0.84rem;
  }
}

@media (min-width: 768px) {
  body.page-home .home-mobile-bottom-nav {
    display: none !important;
  }
}

/* Emergency mobile hardening */

@media (max-width: 767px) {
  body.page-home .home-clean-shell svg,
  body.page-jobs .site-header svg,
  body.page-jobs .jobs-header-toolbar svg,
  body.page-jobs .jobs-filter-modal svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex: 0 0 18px !important;
  }

  body.page-home .home-clean-top {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #fff !important;
  }

  body.page-home .home-clean-actions {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }

  body.page-home .home-clean-action {
    width: 38px !important;
    height: 38px !important;
  }

  body.page-jobs .jobs-filter-rail {
    display: block !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    touch-action: pan-x !important;
    -webkit-overflow-scrolling: touch;
  }

  body.page-jobs .jobs-filter-track {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    min-width: max-content !important;
  }

  body.page-jobs .jobs-filter-button {
    flex: 0 0 auto !important;
    min-width: 164px !important;
    max-width: 78vw !important;
  }

  body.page-jobs .jobs-filter-modal .modal-dialog {
    margin: 0 !important;
  }

  body.page-jobs .jobs-filter-modal .modal-content {
    min-height: 100dvh;
  }
}

/* Home top row without frame/background */

body.page-home .home-clean-top {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  body.page-home .home-clean-top {
    padding: 0 !important;
  }
}

/* Home mobile final sizing */

@media (max-width: 767px) {
  body.page-home .home-clean-container {
    max-width: 100% !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  body.page-home .home-clean-top {
    margin-bottom: 0.65rem;
    align-items: center !important;
  }

  body.page-home .home-clean-mark img {
    width: 44px !important;
    height: auto !important;
  }

  body.page-home .home-clean-actions {
    gap: 0.3rem !important;
  }

  body.page-home .home-clean-action {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
  }

  body.page-home .home-clean-action svg,
  body.page-home .home-mobile-bottom-link svg {
    width: 15px !important;
    height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
  }

  body.page-home .home-clean-search {
    margin-top: 0 !important;
  }

  body.page-home .home-clean-search-shell {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    border: 1px solid var(--line) !important;
    background: #fff !important;
  }

  body.page-home .home-clean-field {
    padding: 0.75rem 0.8rem !important;
  }

  body.page-home .home-clean-label {
    font-size: 0.68rem !important;
  }

  body.page-home .home-clean-input {
    font-size: 15px !important;
    line-height: 1.3 !important;
  }

  body.page-home .home-clean-submit {
    width: 100% !important;
    min-height: 46px !important;
    font-size: 0.92rem !important;
  }

  body.page-home .home-clean-brand-stage {
    margin-top: 0.65rem !important;
    padding-top: 0.35rem !important;
    gap: 0.5rem !important;
  }

  body.page-home .home-clean-brand-logo {
    width: min(100%, 140px) !important;
    height: auto !important;
  }

  body.page-home .home-clean-slogan {
    font-size: 0.95rem !important;
    line-height: 1.25 !important;
  }

  body.page-home .home-mobile-bottom-link {
    min-height: 54px !important;
    font-size: 0.66rem !important;
  }
}

/* Home header full width */

body.page-home .home-clean-container {
  width: 100% !important;
  max-width: none !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

@media (max-width: 767px) {
  body.page-home .home-clean-container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
}

/* Jobs filter rail without background */

body.page-jobs .jobs-header-toolbar,
body.page-jobs .jobs-header-toolbar-inner,
body.page-jobs .jobs-filter-rail,
body.page-jobs .jobs-filter-track,
body.page-jobs .jobs-filter-button {
  background: transparent !important;
}

/* Larger logos */

.brand-logo {
  width: 64px !important;
  height: auto !important;
}

body.page-home .home-clean-mark img {
  width: 64px !important;
  height: auto !important;
}

@media (max-width: 767px) {
  .brand-logo {
    width: 52px !important;
  }

  body.page-home .home-clean-mark img {
    width: 52px !important;
  }
}

body.page-jobs .jobs-sidebar,
body.page-jobs .jobs-sidebar-inner {
  background: #fff !important;
  border: 0 !important;
}

.job-list-sentinel {
  display: block;
  width: 100%;
  height: 1px;
}

.job-list.is-loading::after {
  content: "Weitere Treffer werden geladen...";
  display: block;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* Final layout override (jobs + mobile nav) */

body.page-jobs .site-header {
  padding-top: 0 !important;
  z-index: 1030;
}

body.page-jobs .site-header .navbar {
  min-height: auto;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  background: #fff !important;
}

body.page-jobs .site-nav-shell {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  max-width: none;
  padding: 0.55rem 1rem;
}

body.page-jobs .site-nav-shell .header-primary-search {
  display: none !important;
}

body.page-jobs .jobs-header-search {
  border-bottom: 0;
  background: transparent !important;
}

body.page-jobs .jobs-header-search-container {
  max-width: 1240px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border: 0 !important;
  background: transparent !important;
}

body.page-jobs .header-primary-search-jobs {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) 44px;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

body.page-jobs .header-primary-search-jobs .form-control {
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.page-jobs .jobs-header-toolbar {
  border: 0;
  background: transparent !important;
}

body.page-jobs .jobs-header-toolbar-inner {
  max-width: 1240px;
  padding-top: 0.42rem;
  padding-bottom: 0.52rem;
}

body.page-jobs .jobs-filter-rail {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

body.page-jobs .jobs-filter-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.48rem;
  width: max-content;
  min-width: 100%;
}

body.page-jobs .jobs-filter-button {
  min-width: 188px;
  max-width: 260px;
  background: transparent !important;
}

body.page-jobs .jobs-filter-button-label,
body.page-jobs .jobs-filter-button-value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.page-jobs .jobs-shell {
  padding-top: 0.4rem;
}

body.page-jobs .jobs-container {
  max-width: 1240px;
}

body.page-jobs .jobs-layout {
  align-items: stretch;
}

body.page-jobs .jobs-detail {
  padding: 0 0.7rem 1rem 0;
}

body.page-jobs .jobs-sidebar {
  padding: 0 0 1rem 0.7rem;
}

body.page-jobs .jobs-sidebar-inner,
body.page-jobs .jobs-detail-inner {
  top: calc(var(--header-height) + 5.2rem);
}

body.page-jobs .jobs-shell-has-header-filters .jobs-sidebar-inner {
  max-height: calc(100vh - var(--header-height) - 5.4rem);
}

body.page-jobs .jobs-filter-modal {
  z-index: 2100;
}

body.page-jobs .jobs-filter-modal .modal-dialog {
  z-index: 2101;
}

body.page-jobs .modal-backdrop {
  z-index: 2090;
}

.home-mobile-bottom-nav {
  display: none !important;
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 991px) {
  body.page-jobs .jobs-container {
    max-width: 100%;
  }

  body.page-jobs .jobs-layout {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
  }

  body.page-jobs .jobs-detail,
  body.page-jobs .jobs-sidebar {
    width: 100%;
    max-width: none;
    padding: 0 0.5rem 0.6rem;
  }

  body.page-jobs .jobs-sidebar-inner,
  body.page-jobs .jobs-detail-inner,
  body.page-jobs .jobs-shell-has-header-filters .jobs-sidebar-inner,
  body.page-jobs .jobs-shell-has-header-filters .jobs-detail-inner {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
  }
}

@media (max-width: 767px) {
  body.page-jobs .site-nav-shell {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  body.page-jobs .brand-logo {
    width: 48px !important;
  }

  body.page-jobs .jobs-header-search-container {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  body.page-jobs .header-primary-search-jobs {
    grid-template-columns: 1fr 1fr 38px;
    gap: 0.35rem;
    max-width: none;
  }

  body.page-jobs .header-primary-search-jobs .form-control {
    font-size: 15px;
  }

  body.page-jobs .header-search-submit,
  body.page-jobs .header-icon-link {
    width: 38px;
    height: 38px;
  }

  body.page-jobs .header-search-submit svg,
  body.page-jobs .header-icon-link svg {
    width: 16px !important;
    height: 16px !important;
  }

  body.page-jobs .jobs-header-toolbar-inner {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }

  body.page-jobs .jobs-filter-track {
    min-width: max-content;
  }

  body.page-jobs .jobs-filter-button {
    flex: 0 0 auto;
    min-width: 152px;
    max-width: 168px;
    padding: 0.42rem 0.46rem;
  }

  body.page-jobs .jobs-filter-button-label {
    font-size: 0.66rem;
    line-height: 1.04;
  }

  body.page-jobs .jobs-filter-button-value {
    margin-top: 0.12rem;
    font-size: 0.77rem;
    line-height: 1.08;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  body.page-jobs .jobs-filter-modal .modal-dialog {
    margin: 0;
    max-width: 100%;
  }

  body.page-jobs .jobs-filter-modal .modal-content {
    min-height: 100dvh;
  }

  body.page-home .site-main,
  body.page-jobs .site-main {
    padding-bottom: 5.35rem;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1060;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
  }

  .mobile-bottom-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    min-height: 54px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 700;
  }

  .mobile-bottom-link svg {
    width: 16px;
    height: 16px;
    display: block;
  }

  .mobile-bottom-link:hover,
  .mobile-bottom-link:focus {
    color: var(--brand);
  }

  .mobile-bottom-link-button {
    cursor: pointer;
  }
}

@media (min-width: 768px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* Search inputs: icon left, no right icon button */

.search-input-with-icon {
  padding-left: 2rem !important;
  background-repeat: no-repeat !important;
  background-position: 0.62rem 50% !important;
  background-size: 14px 14px !important;
}

.search-input-q {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%235b6984' d='M10.5 4a6.5 6.5 0 1 0 4.03 11.6l4.43 4.43 1.06-1.06-4.43-4.43A6.5 6.5 0 0 0 10.5 4Zm0 1.5a5 5 0 1 1 0 10 5 5 0 0 1 0-10Z'/%3E%3C/svg%3E") !important;
}

.search-input-location {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%235b6984' d='M12 3.5A6.5 6.5 0 0 0 5.5 10c0 4.36 6.5 10.5 6.5 10.5s6.5-6.14 6.5-10.5A6.5 6.5 0 0 0 12 3.5Zm0 8.5A2 2 0 1 1 12 8a2 2 0 0 1 0 4Z'/%3E%3C/svg%3E") !important;
}

.header-primary-search,
body.page-jobs .header-primary-search-jobs {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) !important;
}

.header-primary-search .header-search-submit,
body.page-jobs .header-primary-search-jobs .header-search-submit {
  display: none !important;
}

@media (max-width: 767px) {
  .header-primary-search,
  body.page-jobs .header-primary-search-jobs {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 0.35rem !important;
  }

  .search-input-with-icon {
    padding-left: 1.85rem !important;
    background-position: 0.56rem 50% !important;
    background-size: 13px 13px !important;
  }
}

/* Search fields white background + focus effect */

.header-primary-search .form-control,
.home-clean-input.search-input-with-icon {
  background-color: #fff !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
}

.header-primary-search .form-control:focus,
.home-clean-input.search-input-with-icon:focus {
  border-color: rgba(28, 198, 198, 0.72) !important;
  box-shadow: 0 0 0 0.18rem rgba(28, 198, 198, 0.18) !important;
  outline: 0 !important;
}

/* Trefferliste: no background, cards with light shadow */

body.page-jobs .jobs-sidebar,
body.page-jobs .jobs-sidebar-inner,
body.page-jobs .job-list {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.page-jobs .job-card {
  background: #fff !important;
  border: 1px solid rgba(18, 33, 70, 0.12) !important;
  box-shadow: 0 6px 16px rgba(12, 22, 49, 0.08) !important;
}

body.page-jobs .job-card:hover,
body.page-jobs .job-card.is-active {
  box-shadow: 0 10px 24px rgba(12, 22, 49, 0.12) !important;
}

/* Mobile detail as overlay modal */

body.page-jobs .jobs-mobile-detail-modal .modal-dialog {
  margin: 0;
  z-index: 2201;
}

body.page-jobs .jobs-mobile-detail-modal .modal-content {
  border: 0;
  border-radius: 0;
  min-height: 100dvh;
}

body.page-jobs .jobs-mobile-detail-modal {
  z-index: 2200 !important;
}

body.page-jobs .jobs-mobile-detail-modal .modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

body.page-jobs .jobs-mobile-detail-modal .modal-body {
  padding: 0.75rem;
  background: #f9fbfd;
}

@media (max-width: 991px) {
  body.page-jobs .jobs-detail {
    display: none !important;
  }
}

@media (min-width: 992px) {
  body.page-jobs .jobs-mobile-detail-modal {
    display: none !important;
  }
}

/* Desktop topbar actions with text labels */

.header-action-label {
  display: none;
  margin-left: 0.18rem;
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .header-icon-link {
    width: auto !important;
    min-width: 0 !important;
    height: 38px !important;
    padding: 0 0.7rem !important;
    gap: 0.34rem;
    border-radius: 999px !important;
  }

  .header-icon-link svg {
    width: 16px !important;
    height: 16px !important;
  }

  .header-action-label {
    display: inline-block;
  }
}

/* Final topbar size override */

body:not(.page-home) .site-header {
  padding-top: 0 !important;
}

body:not(.page-home) .site-header .navbar {
  padding-top: 0.2rem !important;
  padding-bottom: 0.2rem !important;
}

body:not(.page-home) .site-nav-shell {
  padding-top: 0.2rem !important;
  padding-bottom: 0.2rem !important;
}

body:not(.page-home) .site-header .brand-logo {
  width: 108px !important;
  height: auto !important;
}

@media (max-width: 767px) {
  body:not(.page-home) .site-nav-shell {
    padding-top: 0.12rem !important;
    padding-bottom: 0.12rem !important;
  }

  body:not(.page-home) .site-header .brand-logo {
    width: 88px !important;
  }
}

/* Final search field depth tuning */

/* Startseite: kein Focus-Highlight */
body.page-home .home-clean-search-shell:focus-within {
  border-color: rgba(18, 33, 70, 0.18) !important;
  box-shadow: 0 8px 20px rgba(12, 22, 49, 0.08) !important;
}

body.page-home .home-clean-input:focus,
body.page-home .home-clean-input:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
}

/* Alle anderen Seiten: Input-Look statt Button-Look */
body:not(.page-home) .header-primary-search .form-control {
  background: #f7f9fc !important;
  border: 1px solid rgba(18, 33, 70, 0.14) !important;
  border-radius: 10px !important;
  box-shadow: inset 0 1px 2px rgba(10, 20, 45, 0.06) !important;
}

body:not(.page-home) .header-primary-search .form-control:focus,
body:not(.page-home) .header-primary-search .form-control:focus-visible {
  background: #fff !important;
  border-color: rgba(22, 42, 112, 0.32) !important;
  box-shadow:
    0 0 0 0.12rem rgba(28, 198, 198, 0.14),
    inset 0 1px 2px rgba(10, 20, 45, 0.03) !important;
  outline: 0 !important;
}

/* Final brand size alignment (same topbar logo size across pages) */

.site-header .brand-logo {
  width: 108px !important;
  height: auto !important;
}

@media (max-width: 767px) {
  .site-header .brand-logo {
    width: 88px !important;
  }
}

/* Auth pages: topbar layout aligned with jobs search page */

body.page-auth .site-header {
  padding-top: 0 !important;
  z-index: 1030;
}

body.page-auth .site-header .navbar {
  min-height: auto;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.page-auth .site-nav-shell {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 0.6rem !important;
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0.55rem 0 !important;
}

body.page-auth .site-nav-shell .header-primary-search {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0.5rem !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.page-auth .header-primary-search .header-search-submit {
  display: none !important;
}

body.page-auth .header-icon-link,
body.page-auth .header-search-submit {
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--brand-dark) !important;
}

@media (max-width: 767px) {
  body.page-auth .site-nav-shell {
    grid-template-columns: auto minmax(0, 1fr) !important;
    grid-template-areas:
      "brand search";
    gap: 0.4rem !important;
    padding: 0.45rem 0.75rem !important;
  }

  body.page-auth .site-nav-shell .brand-lockup {
    grid-area: brand;
  }

  body.page-auth .site-nav-shell .header-icon-actions {
    display: none !important;
  }

  body.page-auth .site-nav-shell .header-primary-search {
    grid-area: search;
    grid-template-columns: minmax(0, 1fr) !important;
    margin-top: 0 !important;
  }

  body.page-auth .site-nav-shell .header-primary-search .search-input-location {
    display: none !important;
  }
}

@media (min-width: 992px) {
  body.page-jobs .site-nav-shell {
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.page-jobs .site-nav-shell .header-primary-search {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Dark blue search placeholder icons */

.search-input-q {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23162a70' d='M10.5 4a6.5 6.5 0 1 0 4.03 11.6l4.43 4.43 1.06-1.06-4.43-4.43A6.5 6.5 0 0 0 10.5 4Zm0 1.5a5 5 0 1 1 0 10 5 5 0 0 1 0-10Z'/%3E%3C/svg%3E") !important;
}

.search-input-location {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23162a70' d='M12 3.5A6.5 6.5 0 0 0 5.5 10c0 4.36 6.5 10.5 6.5 10.5s6.5-6.14 6.5-10.5A6.5 6.5 0 0 0 12 3.5Zm0 8.5A2 2 0 1 1 12 8a2 2 0 0 1 0 4Z'/%3E%3C/svg%3E") !important;
}

/* Larger topbar logo only */

.site-header .brand-logo {
  width: 108px !important;
  height: auto !important;
}

@media (max-width: 767px) {
  .site-header .brand-logo {
    width: 88px !important;
  }
}

/* Jobs searchbar in topbar */

body.page-jobs .site-nav-shell {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 0.6rem !important;
}

body.page-jobs .site-nav-shell .header-primary-search {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0.5rem !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.page-jobs .header-primary-search-jobs .form-control {
  min-width: 0 !important;
}

body.page-jobs .jobs-header-search {
  display: none !important;
}

@media (max-width: 767px) {
  body.page-jobs .site-nav-shell {
    grid-template-columns: auto minmax(0, 1fr) !important;
    grid-template-areas:
      "brand search";
    gap: 0.4rem !important;
  }

  body.page-jobs .site-nav-shell .brand-lockup {
    grid-area: brand;
  }

  body.page-jobs .site-nav-shell .header-icon-actions {
    display: none !important;
  }

  body.page-jobs .site-nav-shell .header-primary-search {
    grid-area: search;
    grid-template-columns: minmax(0, 1fr) !important;
    margin-top: 0 !important;
  }

  body.page-jobs .header-primary-search-jobs .jobs-search-location {
    display: none !important;
  }

  .site-header .header-icon-actions {
    display: none !important;
  }

  body.page-home .home-clean-actions {
    display: none !important;
  }
}

/* Jobs sticky header clipping while content scrolls underneath */

body.page-jobs .site-header.has-jobs-toolbar {
  overflow: hidden;
  isolation: isolate;
}

body.page-jobs .site-header.has-jobs-toolbar .navbar {
  position: relative;
  z-index: 2;
  background: #fff !important;
}

body.page-jobs .site-header.has-jobs-toolbar .jobs-header-toolbar {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

body.page-jobs .site-header.has-jobs-toolbar .jobs-header-toolbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #f5f7fa;
}

body.page-jobs .site-header.has-jobs-toolbar .jobs-header-toolbar-inner {
  position: relative;
  z-index: 1;
}

/* Jobs filter buttons: visible colored surfaces */

body.page-jobs .jobs-filter-button {
  background: linear-gradient(180deg, #ffffff, #eef3ff) !important;
  border: 1px solid rgba(22, 42, 112, 0.18) !important;
  color: #162a70 !important;
  box-shadow: 0 4px 12px rgba(12, 22, 49, 0.08) !important;
}

body.page-jobs .jobs-filter-button:hover,
body.page-jobs .jobs-filter-button:focus-visible {
  background: linear-gradient(180deg, #f7faff, #e7eeff) !important;
  border-color: rgba(22, 42, 112, 0.32) !important;
}

body.page-jobs .jobs-filter-button-value {
  color: #2f416f !important;
}

/* Desktop jobs page: lock outer page scroll, keep split panes scrollable */

@media (min-width: 992px) {
  :root {
    --jobs-fixed-offset: 186px;
  }

  body.page-jobs {
    overflow: hidden !important;
  }

  body.page-jobs .site-main {
    height: calc(100dvh - var(--jobs-fixed-offset, 186px)) !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding-bottom: 0 !important;
  }

  body.page-jobs .jobs-shell {
    height: 100% !important;
    min-height: 0 !important;
  }

  body.page-jobs .jobs-container,
  body.page-jobs .jobs-layout,
  body.page-jobs .jobs-detail,
  body.page-jobs .jobs-sidebar {
    height: 100% !important;
    min-height: 0 !important;
  }

  body.page-jobs .jobs-sidebar-inner,
  body.page-jobs .jobs-detail-inner,
  body.page-jobs .jobs-shell-has-header-filters .jobs-sidebar-inner,
  body.page-jobs .jobs-shell-has-header-filters .jobs-detail-inner {
    position: static !important;
    top: auto !important;
    max-height: none !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}
