.hmr-careers-page,
.hmr-single-page {
  --hmr-accent: #0aa3b5;
  --hmr-text: #16324b;
  --hmr-soft: #f4f8fb;
  --hmr-line: #d9e6ed;
  --hmr-white: #fff;
  color: var(--hmr-text);
  font-family: inherit;
}

.hmr-lang-switch-wrap {
  display: flex;
  justify-content: flex-end;
  margin: 0 auto 18px;
  max-width: 1280px;
  padding: 0 18px;
}

.hmr-single-topbar .hmr-lang-switch-wrap {
  margin: 0;
  padding: 0;
}

.hmr-lang-switch {
  display: inline-flex;
  gap: 4px;
  background: #d7eef1;
  border-radius: 999px;
  padding: 4px;
}

.hmr-lang-switch a {
  text-decoration: none;
  color: #6f8d9d;
  font-weight: 700;
  font-size: 13px;
  min-width: 42px;
  text-align: center;
  padding: 7px 10px;
  border-radius: 999px;
}

.hmr-lang-switch a.is-active {
  background: #fff;
  color: var(--hmr-accent);
  box-shadow: 0 3px 10px rgba(0,0,0,.08);
}

.hmr-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 430px;
  background: linear-gradient(90deg, #eef9fd 0%, #f3f6fa 40%, #dfeef4 100%);
  background-size: cover;
  background-position: center right;
  margin: 0 auto 0;
  max-width: 1280px;
}

.hmr-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 34%, rgba(255,255,255,.35) 58%, rgba(255,255,255,.08) 100%);
}

.hmr-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  min-height: 430px;
  display: flex;
  align-items: center;
  padding: 42px 54px 86px;
}

.hmr-hero-content {
  max-width: 460px;
}

.hmr-hero-content h1 {
  margin: 0 0 14px;
  font-size: 64px;
  line-height: 1.05;
  color: #096b95;
}

.hmr-hero-content p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #4f6a79;
}

.hmr-search-panel {
  max-width: 1280px;
  margin: -46px auto 0;
  position: relative;
  z-index: 4;
  padding: 0 18px 36px;
}

.hmr-search-fields {
  display: grid;
  grid-template-columns: 1.3fr 1fr 220px;
  gap: 24px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(15, 64, 88, .12);
  padding: 26px 28px;
}

.hmr-search-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #547284;
  margin-bottom: 10px;
}

.hmr-search-field input,
.hmr-search-field select,
.hmr-form-field input,
.hmr-form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid #aad8e2;
  border-radius: 0;
  padding: 12px 2px;
  font-size: 16px;
  background: transparent;
  color: var(--hmr-text);
  outline: none;
  box-shadow: none;
}

.hmr-search-field select {
  height: 48px;
}

.hmr-search-submit-wrap {
  display: flex;
  align-items: end;
}

.hmr-btn,
.hmr-search-btn {
  appearance: none;
  border: 0;
  background: var(--hmr-accent);
  color: #000;
  border-radius: 999px;
  padding: 16px 25px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.hmr-search-btn {
  width: 100%;
}

.hmr-btn:hover,
.hmr-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(10,163,181,.22);
  opacity: .95;
}

.hmr-btn-outline {
  background: #eef6f8;
  color: var(--hmr-accent);
}

.hmr-results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 28px 0 18px;
  gap: 14px;
}

.hmr-results-head h2 {
  margin: 0;
  font-size: 22px;
}

.hmr-clear-filters {
  text-decoration: none;
  color: var(--hmr-accent);
  font-weight: 700;
}

.hmr-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
}

.hmr-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hmr-filter-group,
.hmr-job-card,
.hmr-single-card,
.hmr-empty-state {
  background: #fff;
  border: 1px solid var(--hmr-line);
  border-radius: 16px;
}

.hmr-filter-group {
  padding: 18px 18px 14px;
}

.hmr-filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.hmr-filter-head h3 {
  margin: 0;
  font-size: 22px;
}

.hmr-filter-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hmr-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #526879;
}

.hmr-check-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--hmr-accent);
}

.hmr-check-item.is-extra {
  display: none;
}

.hmr-filter-group.is-expanded .hmr-check-item.is-extra {
  display: flex;
}

.hmr-toggle-more {
  border: 0;
  background: transparent;
  color: var(--hmr-accent);
  font-weight: 700;
  padding: 10px 0 0;
  cursor: pointer;
}

.hmr-results {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hmr-job-card {
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 160px minmax(0,1fr) 220px;
  gap: 22px;
  align-items: center;
}

.hmr-job-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hmr-job-brand img,
.hmr-single-brand img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
}

.hmr-job-brand-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d6f0f5, #eef7fb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hmr-accent);
  font-weight: 800;
  font-size: 28px;
}

.hmr-job-brand-name {
  color: #7290a0;
  font-size: 14px;
}

.hmr-job-main h3,
.hmr-related-jobs h2,
.hmr-single-section h2 {
  margin: 0 0 10px;
}

.hmr-job-main h3 a {
  color: #10263b;
  text-decoration: none;
  font-size: 32px;
}

.hmr-job-main p {
  margin: 0 0 14px;
  color: #587080;
}

.hmr-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: #7a8f9f;
  font-size: 15px;
}

.hmr-job-meta span {
  position: relative;
}

.hmr-job-action {
  display: flex;
  justify-content: flex-end;
}

.hmr-pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hmr-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--hmr-line);
  text-decoration: none;
  color: var(--hmr-text);
  background: #fff;
}

.hmr-pagination .current {
  background: var(--hmr-accent);
  color: #fff;
  border-color: var(--hmr-accent);
}

.hmr-empty-state {
  padding: 50px 26px;
  text-align: center;
  font-size: 17px;
  color: #728899;
}

.hmr-single-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 18px 42px;
}

.hmr-single-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.hmr-back-link {
  text-decoration: none;
  color: var(--hmr-accent);
  font-weight: 700;
}

.hmr-single-card {
  padding: 34px;
}

.hmr-single-head {
  display: grid;
  grid-template-columns: 100px minmax(0,1fr) 220px;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.hmr-single-main h1 {
  margin: 0 0 10px;
  font-size: 44px;
  line-height: 1.15;
}

.hmr-single-cta {
  display: flex;
  justify-content: flex-end;
}

.hmr-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  border: 1px solid var(--hmr-line);
  border-radius: 16px;
  padding: 22px;
  background: #fbfdff;
  margin-bottom: 28px;
}

.hmr-detail-item {
  color: #5a7080;
  line-height: 1.7;
}

.hmr-detail-item strong {
  color: var(--hmr-accent);
}

.hmr-single-section {
  margin-bottom: 28px;
}

.hmr-single-section h2 {
  color: #096b95;
  font-size: 28px;
}

.hmr-richtext ul,
.hmr-richtext ol {
  padding-left: 22px;
}

.hmr-richtext li,
.hmr-richtext p {
  line-height: 1.8;
  color: #263c4c;
}

.hmr-bottom-cta {
  margin-top: 16px;
}

.hmr-related-jobs {
  margin-top: 26px;
}

.hmr-related-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.hmr-modal-open {
  overflow: hidden;
}

.hmr-modal {
  display: none;
}

.hmr-modal.is-open {
  display: block;
}

.hmr-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 41, 56, .45);
  z-index: 9998;
}

.hmr-modal-dialog {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(940px, calc(100vw - 30px));
  background: #fff;
  border-radius: 22px;
  z-index: 9999;
  box-shadow: 0 30px 80px rgba(0,0,0,.22);
  padding: 34px 38px;
  max-height: calc(100vh - 40px);
  overflow: auto;
}

.hmr-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: #eff6f9;
  color: var(--hmr-accent);
  font-size: 15px;
  cursor: pointer;
}

.hmr-modal-header {
  margin-bottom: 22px;
}

.hmr-modal-job-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 6px;
}

.hmr-mandatory-note {
  color: #909fb0;
  font-size: 13px;
}

.hmr-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}

.hmr-form-field {
  margin-bottom: 20px;
}

.hmr-form-field-full {
  grid-column: 1 / -1;
}

.hmr-form-field label {
  display: block;
  color: #086b95;
  font-weight: 700;
  margin-bottom: 8px;
}

.hmr-file-dropzone {
  border: 1px dashed #d9e6ed;
  border-radius: 16px;
  padding: 30px 20px;
  position: relative;
  text-align: center;
  background: #fbfdff;
}

.hmr-file-dropzone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.hmr-file-main {
  font-weight: 700;
  margin-bottom: 6px;
}

.hmr-file-sub,
.hmr-file-name,
.hmr-privacy-text {
  color: #7a8f9f;
  font-size: 14px;
}

.hmr-file-name {
  margin-top: 10px;
  font-weight: 700;
}

.hmr-form-message {
  min-height: 28px;
  font-weight: 700;
}

.hmr-form-message.is-success {
  color: #168a52;
}

.hmr-form-message.is-error {
  color: #b82234;
}

.hmr-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

@media (max-width: 1100px) {
  .hmr-layout,
  .hmr-search-fields,
  .hmr-single-head,
  .hmr-detail-grid {
    grid-template-columns: 1fr;
  }

  .hmr-job-card {
    grid-template-columns: 1fr;
  }

  .hmr-job-action,
  .hmr-single-cta {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .hmr-hero-inner {
    padding: 32px 24px 96px;
    min-height: 360px;
  }

  .hmr-hero-content h1 {
    font-size: 46px;
  }

  .hmr-search-panel {
    margin-top: -58px;
  }

  .hmr-search-fields,
  .hmr-single-card,
  .hmr-modal-dialog {
    padding: 20px;
  }

  .hmr-form-grid {
    grid-template-columns: 1fr;
  }

  .hmr-single-main h1,
  .hmr-job-main h3 a,
  .hmr-modal-job-title {
    font-size: 28px;
  }

  .hmr-results-head,
  .hmr-single-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
