:root {
  --hmg-cp-primary: #332A86;
  --hmg-cp-primary-dark: #0052a3;
  --hmg-cp-radius: 12px;
  --hmg-cp-border: #e2e8f0;
  --hmg-cp-text: #0f172a;
  --hmg-cp-muted: #64748b;
  --hmg-cp-bg: #ffffff;
  --hmg-cp-surface: #f8fafc;
  --hmg-cp-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 8px 24px rgba(15, 23, 42, 0.06);
}

.hmg-cp,
.hmg-cp-page {
  color: var(--hmg-cp-text);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
}

/* Theme / page-builder isolation — keep portal typography and controls consistent */
.hmg-cp :where(h1, h2, h3, h4, h5, h6) {
  font-family: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.hmg-cp :where(button, input, select, textarea, a) {
  font-family: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.hmg-cp :where(button, input[type="button"], input[type="submit"], input[type="reset"]) {
  appearance: none;
  box-shadow: none;
  float: none;
  margin: 0;
  text-shadow: none;
  width: auto;
}

.hmg-cp-prose :where(a) {
  text-decoration: underline;
}

/* Center portal content in the viewport */
.hmg-cp-container {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: 1280px;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem);
  width: 100%;
}

/* Classic theme-compat header (themes without header.php) */
body.hmg-career-portal #page {
  margin: 0 auto;
  width: 100%;
}

body.hmg-career-portal #header,
body.hmg-career-portal #headerimg {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: 1280px;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
  width: 100%;
}

body.hmg-career-portal .site-main.hmg-cp-page {
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

/* Block theme shortcode embed: use wide column instead of ~645px content width */
.hmg-career-portal .is-layout-constrained > .hmg-cp-container,
.hmg-career-portal .wp-block-post-content > .hmg-cp-container {
  max-width: var(--wp--style--global--wide-size, 1280px);
}

.hmg-cp-listing,
.hmg-cp-detail-wrap {
  max-width: 100%;
  overflow-x: clip;
  width: 100%;
}

.hmg-cp-listing-search-group:has(.hmg-cp-account-chrome),
.hmg-cp-detail-chrome-bar:has(.hmg-cp-account-chrome) {
  overflow: visible;
}

.hmg-cp-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.hmg-cp-results,
.hmg-cp-sidebar-column {
  min-width: 0;
}

@media (min-width: 960px) {
  .hmg-cp-layout--with-sidebar {
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .hmg-cp-layout--with-sidebar .hmg-cp-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
  }
}

.hmg-cp-listing-search-group {
  display: flex;
  flex-direction: column;
  gap: var(--hmg-cp-auth-search-gap, 1rem);
  margin-bottom: 1.5rem;
  width: 100%;
}

.hmg-cp-listing-auth-bar {
  --hmg-cp-auth-inner-radius: var(--hmg-cp-auth-radius, var(--hmg-cp-radius, 8px));
  --hmg-cp-nav-header-font-size: 0.875rem;
  --hmg-cp-nav-header-line-height: 1.25;
  background: var(--hmg-cp-bg);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-auth-radius, var(--hmg-cp-radius));
  box-sizing: border-box;
  margin: 0;
  padding: 0.65rem 1.25rem;
  width: 100%;
}

.hmg-cp-auth-bar-shadow--none {
  box-shadow: none;
}

.hmg-cp-auth-bar-shadow--subtle {
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.hmg-cp-auth-bar-shadow--elevated {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.hmg-cp-listing-auth-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
  justify-content: flex-end;
  margin: 0 0 0 auto;
  width: 100%;
}

/* Ghost links — anchors only so Elementor kit button styles cannot bleed in */
.hmg-cp .hmg-cp-listing-auth-bar a.hmg-cp-listing-auth-action {
  align-items: center;
  appearance: none;
  background: transparent !important;
  border: 0 !important;
  border-radius: var(--hmg-cp-auth-inner-radius);
  box-shadow: none !important;
  color: var(--hmg-cp-text) !important;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: var(--hmg-cp-nav-header-font-size, 0.875rem);
  font-weight: 500;
  gap: 0.4rem;
  letter-spacing: normal;
  line-height: var(--hmg-cp-nav-header-line-height, 1.25);
  margin: 0;
  min-height: 0;
  min-width: 0;
  outline: none;
  padding: 0.4rem 0.65rem;
  text-decoration: none !important;
  text-shadow: none;
  text-transform: none;
  transition: background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  width: auto;
}

.hmg-cp .hmg-cp-listing-auth-bar a.hmg-cp-listing-auth-action::before,
.hmg-cp .hmg-cp-listing-auth-bar a.hmg-cp-listing-auth-action::after {
  content: none !important;
  display: none !important;
}

.hmg-cp .hmg-cp-listing-auth-bar a.hmg-cp-listing-auth-action:hover,
.hmg-cp .hmg-cp-listing-auth-bar a.hmg-cp-listing-auth-action:focus-visible {
  background: color-mix(in srgb, var(--hmg-cp-border) 28%, transparent) !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--hmg-cp-text) !important;
  text-decoration: none !important;
}

.hmg-cp-listing-auth-icon {
  flex-shrink: 0;
}

.hmg-cp-listing-auth-bar .hmg-cp-listing-auth-signup {
  font-size: var(--hmg-cp-nav-header-font-size, 0.875rem);
  font-weight: 600;
  gap: 0.35rem;
  line-height: var(--hmg-cp-nav-header-line-height, 1.25);
  min-height: 0;
  padding: 0.4rem 0.75rem;
}

body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-listing-auth-bar .hmg-cp-listing-auth-signup,
body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-listing-auth-bar button.hmg-cp-listing-auth-signup {
  font-size: var(--hmg-cp-nav-header-font-size, 0.875rem) !important;
  line-height: var(--hmg-cp-nav-header-line-height, 1.25) !important;
  min-height: 0 !important;
  padding: 0.25rem 0.65rem !important;
  width: auto !important;
}

.hmg-cp-listing-tools-bar {
  margin: 0 0 1rem;
}

.hmg-cp-listing-tools-bar .hmg-cp-listing-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

/* Search */
.hmg-cp-search,
.hmg-cp-card,
.hmg-cp-detail,
.hmg-cp-portal,
.hmg-cp-modal-dialog,
.hmg-cp-sidebar {
  background: var(--hmg-cp-bg);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  box-shadow: var(--hmg-cp-shadow);
}

.hmg-cp-card {
  --hmg-cp-card-inner-radius: var(--hmg-cp-radius, 8px);
}

.hmg-cp-skip-search-card {
  --hmg-cp-card-inner-radius: var(--hmg-cp-radius, 12px);
  background: color-mix(in srgb, var(--hmg-cp-primary) 6%, #fff);
  border: 1px solid color-mix(in srgb, var(--hmg-cp-primary) 22%, #fff);
  border-radius: var(--hmg-cp-radius, 12px);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hmg-cp-skip-search-card:hover {
  border-color: color-mix(in srgb, var(--hmg-cp-primary) 32%, #fff);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08);
}

.hmg-cp-skip-search-card.hmg-cp-card-shadow--none,
.hmg-cp-skip-search-card.hmg-cp-card-shadow--subtle,
.hmg-cp-skip-search-card.hmg-cp-card-shadow--elevated {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.hmg-cp-skip-search-card__inner {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  height: 100%;
  min-height: 10rem;
  padding: 1.5rem;
}

.hmg-cp-skip-search-card__icon {
  align-items: center;
  align-self: flex-start;
  background: color-mix(in srgb, var(--hmg-cp-primary) 12%, #fff);
  border-radius: var(--hmg-cp-card-inner-radius, var(--hmg-cp-radius, 12px));
  color: var(--hmg-cp-primary);
  display: flex;
  flex-shrink: 0;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.hmg-cp-skip-search-card__icon svg {
  height: 1.5rem;
  width: 1.5rem;
}

.hmg-cp-skip-search-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0;
  justify-content: space-between;
  min-height: 100%;
  min-width: 0;
}

.hmg-cp-skip-search-card__title {
  color: var(--hmg-cp-text);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

.hmg-cp-skip-search-card__text {
  color: #374151;
  flex: 1;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

.hmg-cp-skip-search-card__actions {
  margin-top: 1.25rem;
}

.hmg-cp-skip-search-card__actions .hmg-cp-button {
  border-radius: var(--hmg-cp-card-inner-radius, var(--hmg-cp-radius, 8px));
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.65rem 1rem;
  width: auto;
}

.hmg-cp-skip-search-card .hmg-cp-talent-community-form {
  display: grid;
  gap: 0.75rem;
}

.hmg-cp-skip-search-card .hmg-cp-talent-community-form .hmg-cp-button {
  width: auto;
}

.hmg-cp-skip-search-card .hmg-cp-form-message {
  color: var(--hmg-cp-text);
  font-size: 0.8125rem;
  margin: 0.5rem 0 0;
}

body[class*="elementor-kit-"] .hmg-cp .hmg-cp-skip-search-card :is(.hmg-cp-button, button.hmg-cp-button, a.hmg-cp-button):not(.hmg-cp-button-secondary):not(.hmg-cp-button-ghost),
body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-skip-search-card :is(.hmg-cp-button, button.hmg-cp-button, a.hmg-cp-button):not(.hmg-cp-button-secondary):not(.hmg-cp-button-ghost) {
  width: auto !important;
}

.hmg-cp-search {
  --hmg-cp-search-field-border: var(--hmg-cp-border);
  --hmg-cp-search-field-placeholder: #94a3b8;
  --hmg-cp-search-inner-radius: var(--hmg-cp-search-radius, var(--hmg-cp-radius, 8px));
  --hmg-cp-search-select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2364748b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --hmg-cp-search-select-chevron-offset: 0.65rem;
  --hmg-cp-search-select-chevron-size: 0.875rem;
  --hmg-cp-search-select-padding-right: 1.85rem;
  border-radius: var(--hmg-cp-search-radius, var(--hmg-cp-radius));
  margin-bottom: 1.5rem;
  overflow: visible;
  padding: 0;
}

.hmg-cp-listing-search-group .hmg-cp-search {
  margin-bottom: 0;
}

.hmg-cp-search.hmg-cp-search-shadow--none {
  box-shadow: none;
}

.hmg-cp-search.hmg-cp-search-shadow--subtle {
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.hmg-cp-search.hmg-cp-search-shadow--elevated {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.hmg-cp-search-primary {
  display: grid;
  gap: 1rem 1.25rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(180px, 220px);
  padding: 1.25rem 1.25rem 1rem;
  position: relative;
  z-index: 2;
}

.hmg-cp-search-field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  min-width: 0;
  position: relative;
}

.hmg-cp-search-label {
  align-items: center;
  color: var(--hmg-cp-text);
  display: inline-flex;
  font-size: 0.9375rem;
  font-weight: 700;
  gap: 0.45rem;
  line-height: 1.3;
}

.hmg-cp-search-label-icon {
  flex-shrink: 0;
}

.hmg-cp-search-input {
  appearance: none;
  background: var(--hmg-cp-bg);
  border: 1px solid var(--hmg-cp-search-field-border);
  border-radius: var(--hmg-cp-search-inner-radius);
  box-sizing: border-box;
  color: var(--hmg-cp-text);
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  margin: 0;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  width: 100%;
}

.hmg-cp-search-input::placeholder {
  color: var(--hmg-cp-search-field-placeholder);
  opacity: 1;
}

.hmg-cp-search-input:focus {
  border-color: var(--hmg-cp-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
  outline: none;
}

.hmg-cp-radius-control {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  justify-content: center;
  min-height: 2.75rem;
  padding-top: 0.15rem;
}

.hmg-cp-radius-slider {
  accent-color: var(--hmg-cp-primary);
  cursor: pointer;
  margin: 0;
  width: 100%;
}

.hmg-cp-radius-value {
  color: var(--hmg-cp-text);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
}

.hmg-cp-search-field-location .hmg-cp-typeahead {
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 30;
}

.hmg-cp-search-filters {
  align-items: end;
  border-top: 1px solid var(--hmg-cp-border);
  display: grid;
  gap: 0.85rem 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr) auto;
  padding: 1rem 1.25rem 1.25rem;
}

.hmg-cp-search-select {
  display: block;
  margin: 0;
  min-width: 0;
}

.hmg-cp-search-text-filter input[type="text"] {
  appearance: none;
  background: var(--hmg-cp-bg);
  border: 1px solid var(--hmg-cp-search-field-border);
  border-radius: var(--hmg-cp-search-inner-radius);
  box-sizing: border-box;
  color: var(--hmg-cp-text);
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  margin: 0;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  width: 100%;
}

.hmg-cp-search-text-filter input[type="text"]::placeholder {
  color: var(--hmg-cp-search-field-placeholder);
  opacity: 1;
}

.hmg-cp-search-text-filter input[type="text"]:focus {
  border-color: var(--hmg-cp-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
  outline: none;
}

.hmg-cp-search .hmg-cp-search-select select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--hmg-cp-bg);
  background-image: var(--hmg-cp-search-select-chevron);
  background-position: right var(--hmg-cp-search-select-chevron-offset) center;
  background-repeat: no-repeat;
  background-size: var(--hmg-cp-search-select-chevron-size);
  border: 1px solid var(--hmg-cp-search-field-border);
  border-radius: var(--hmg-cp-search-inner-radius);
  box-sizing: border-box;
  color: var(--hmg-cp-text);
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  margin: 0;
  min-height: 2.75rem;
  padding: 0.65rem var(--hmg-cp-search-select-padding-right) 0.65rem 0.85rem;
  width: 100%;
}

.hmg-cp-search .hmg-cp-search-select select:has(option[value=""]:checked) {
  color: var(--hmg-cp-search-field-placeholder);
}

.hmg-cp-search .hmg-cp-search-select select option {
  color: var(--hmg-cp-text);
}

.hmg-cp-search .hmg-cp-typeahead {
  border-radius: var(--hmg-cp-search-inner-radius);
}

.hmg-cp-search .hmg-cp-search-select select:focus {
  border-color: var(--hmg-cp-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
  color: var(--hmg-cp-text);
  outline: none;
}

.hmg-cp-search .hmg-cp-search-select select:focus:has(option[value=""]:checked) {
  color: var(--hmg-cp-search-field-placeholder);
}

.hmg-cp-apply-filters {
  font-size: 0.9375rem;
  font-weight: 700;
  min-height: 2.75rem;
  min-width: 9.5rem;
  padding: 0.65rem 1.35rem;
  white-space: nowrap;
}

.hmg-cp-search-footer {
  align-items: flex-end;
  border-top: 1px solid var(--hmg-cp-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: space-between;
  padding: 0.85rem 1.25rem 1rem;
}

.hmg-cp-search-primary + .hmg-cp-search-footer {
  padding-top: 0.85rem;
}

.hmg-cp-search-footer[hidden],
.hmg-cp-search-footer-clear[hidden] {
  display: none;
}

.hmg-cp-search-footer-tools {
  align-items: flex-start;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.hmg-cp-search-footer-clear {
  flex: 0 0 auto;
  margin-left: auto;
}

.hmg-cp-search-footer-tool,
.hmg-cp-search-footer-tools .hmg-cp-listing-tools-action {
  appearance: none;
  background: none;
  border: 0;
  box-shadow: none;
  color: var(--hmg-cp-muted);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
  max-width: 100%;
  padding: 0;
  text-align: left;
  text-decoration: none;
  width: auto;
}

.hmg-cp-search-footer-tool--featured,
.hmg-cp-search-footer-tools .hmg-cp-listing-tools-action--featured {
  background: var(--hmg-cp-surface);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-search-inner-radius, var(--hmg-cp-search-radius, var(--hmg-cp-radius, 8px)));
  color: var(--hmg-cp-text);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hmg-cp-search-footer-tool--featured:hover,
.hmg-cp-search-footer-tool--featured:focus-visible,
.hmg-cp-search-footer-tools .hmg-cp-listing-tools-action--featured:hover,
.hmg-cp-search-footer-tools .hmg-cp-listing-tools-action--featured:focus-visible {
  background: var(--hmg-cp-bg);
  border-color: color-mix(in srgb, var(--hmg-cp-primary) 35%, var(--hmg-cp-border));
  color: var(--hmg-cp-primary);
  text-decoration: none;
}

.hmg-cp-search-footer-tool--rss,
.hmg-cp-search-footer-tools .hmg-cp-listing-tools-action--rss {
  color: var(--hmg-cp-primary);
  font-weight: 600;
  padding-top: 0.1rem;
}

.hmg-cp-search-footer-tool--rss:hover,
.hmg-cp-search-footer-tool--rss:focus-visible,
.hmg-cp-search-footer-tools .hmg-cp-listing-tools-action--rss:hover,
.hmg-cp-search-footer-tools .hmg-cp-listing-tools-action--rss:focus-visible {
  color: var(--hmg-cp-primary-dark);
  text-decoration: underline;
}

.hmg-cp-clear-filters {
  color: var(--hmg-cp-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.hmg-cp-clear-filters:hover {
  text-decoration: underline;
}

.hmg-cp-search.is-compact .hmg-cp-search-primary {
  grid-template-columns: 1fr;
}

/* Job search v4 (Haley jb_search_v4 / Bolt parity) */
.hmg-cp-search--v4 {
  background: var(--hmg-cp-bg, #fff);
  border: 1px solid var(--hmg-cp-border);
  box-shadow: none;
  padding: 0;
}

.hmg-cp-search--v4 .hmg-cp-search-primary--v4 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 1.25rem 1.25rem 0.5rem;
}

.hmg-cp-search--v4.hmg-cp-search--radius-after-location .hmg-cp-search-field-radius {
  grid-column: 2;
}

.hmg-cp-search--v4.hmg-cp-search--radius-after-keywords .hmg-cp-search-field-radius {
  grid-column: 1;
}

.hmg-cp-search--v4.hmg-cp-search--radius-after-location .hmg-cp-search-field-location,
.hmg-cp-search--v4.hmg-cp-search--radius-after-keywords .hmg-cp-search-field-keywords {
  align-self: start;
}

.hmg-cp-search--v4 .hmg-cp-search-label {
  color: var(--hmg-cp-text, #1f2937);
  font-size: 0.875rem;
  font-weight: 600;
}

.hmg-cp-search--v4 .hmg-cp-search-label-icon {
  color: #94a3b8;
}

.hmg-cp-search--v4 .hmg-cp-search-field-location {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hmg-cp-search-radius-inline {
  margin-top: 0.5rem;
}

.hmg-cp-search-radius-inline-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.hmg-cp-search-radius-inline-label {
  color: var(--hmg-cp-muted, #64748b);
  font-size: 0.8125rem;
  font-weight: 500;
  margin: 0;
}

.hmg-cp-search--v4 .hmg-cp-radius-value {
  color: var(--hmg-cp-text);
  font-size: 0.8125rem;
  font-weight: 500;
}

.hmg-cp-search--v4 .hmg-cp-radius-slider {
  accent-color: var(--hmg-cp-primary, #1e3a5f);
}

.hmg-cp-search-v4-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  margin-top: 0.25rem;
  padding: 0.75rem 1.25rem 1.25rem;
}

.hmg-cp-search-v4-actions--toggle-only {
  justify-content: flex-start;
  padding-bottom: 0.85rem;
}

.hmg-cp-search-v4-advanced-toggle {
  appearance: none;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--hmg-cp-primary, #1e3a5f);
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  min-height: 0;
  padding: 0;
  text-decoration: underline;
  width: auto;
}

.hmg-cp-search-v4-advanced-toggle:hover,
.hmg-cp-search-v4-advanced-toggle:focus-visible {
  color: var(--hmg-cp-primary-dark, color-mix(in srgb, var(--hmg-cp-primary) 82%, #000));
  text-decoration: underline;
}

.hmg-cp-search-v4-actions-primary {
  align-items: flex-end;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 0.5rem;
  margin-left: auto;
}

.hmg-cp-search-v4-submit {
  align-items: center;
  display: inline-flex;
  font-size: 0.9375rem;
  font-weight: 700;
  gap: 0.45rem;
  justify-content: center;
  min-height: 2.75rem;
  min-width: 10.5rem;
  padding: 0.65rem 1.5rem;
  white-space: nowrap;
  width: auto;
}

.hmg-cp-search-v4-view-all {
  color: var(--hmg-cp-primary, #1e3a5f);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: underline;
}

.hmg-cp-search--v4 .hmg-cp-search-advanced {
  border-top: 0;
  margin: 0 1.25rem 1.25rem;
  padding: 0;
}

.hmg-cp-search--v4 .hmg-cp-search-advanced:not([hidden]) {
  background: var(--hmg-cp-bg, #fff);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-search-inner-radius, var(--hmg-cp-radius, 8px));
}

.hmg-cp-search-advanced[hidden] {
  display: none !important;
}

.hmg-cp-search-advanced-grid {
  display: grid;
  gap: 1rem 1.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 1.25rem;
}

.hmg-cp-search--v4 .hmg-cp-search-advanced-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.hmg-cp-search--v4 .hmg-cp-search-advanced-label {
  align-items: center;
  color: var(--hmg-cp-text, #374151);
  display: inline-flex;
  font-size: 0.8125rem;
  font-weight: 500;
  gap: 0.4rem;
}

.hmg-cp-search--v4 .hmg-cp-search-advanced-icon {
  color: #94a3b8;
  flex-shrink: 0;
}

.hmg-cp-search--v4 .hmg-cp-search-select--v4 select,
.hmg-cp-search--v4 .hmg-cp-search-advanced-field .hmg-cp-search-input {
  margin: 0;
}

.hmg-cp-search-advanced-footer {
  border-top: 1px solid var(--hmg-cp-border);
  padding: 0.85rem 1.25rem 1rem;
}

.hmg-cp-search-advanced-reset {
  color: var(--hmg-cp-primary, #1e3a5f);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.hmg-cp-search-advanced-reset:hover {
  text-decoration: underline;
}

.hmg-cp-search-advanced-reset[hidden] {
  display: none !important;
}

body[class*="elementor-kit-"] .hmg-cp .hmg-cp-search--v4 .hmg-cp-search-v4-advanced-toggle,
body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-search--v4 .hmg-cp-search-v4-advanced-toggle {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--hmg-cp-primary) !important;
  min-height: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  text-transform: none !important;
  width: auto !important;
}

body[class*="elementor-kit-"] .hmg-cp .hmg-cp-search--v4 .hmg-cp-search-v4-submit,
body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-search--v4 .hmg-cp-search-v4-submit {
  min-height: 2.75rem !important;
  min-width: 10.5rem !important;
  width: auto !important;
}

@media (max-width: 768px) {
  .hmg-cp-search--v4 .hmg-cp-search-primary--v4,
  .hmg-cp-search-advanced-grid {
    grid-template-columns: 1fr;
  }

  .hmg-cp-search-v4-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hmg-cp-search-v4-actions-primary {
    align-items: stretch;
    margin-left: 0;
    width: 100%;
  }

  .hmg-cp-search-v4-submit {
    width: 100%;
  }
}

/* Embeddable job search widget (shortcode / blocks / page builders) */
.hmg-cp-search-widget {
  margin: 0 0 1.5rem;
  max-width: 100%;
}

.hmg-cp-search-widget-title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.35rem;
}

.hmg-cp .hmg-cp-search-widget-title {
  font-size: clamp(1.25rem, 2vw, 1.75rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 0 0.35rem !important;
}

.hmg-cp-search-widget-subtitle {
  color: var(--hmg-cp-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.hmg-cp-search-widget .hmg-cp-search {
  margin-bottom: 0;
}

.hmg-cp-search.is-standalone .hmg-cp-search-field-submit {
  align-self: end;
}

.hmg-cp-search.is-standalone .hmg-cp-search-submit {
  min-height: 2.75rem;
  min-width: 9.5rem;
  width: 100%;
}

.hmg-cp-search.is-inline .hmg-cp-search-primary {
  align-items: end;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(180px, 220px) auto;
}

.hmg-cp-search.is-inline.is-hide-radius .hmg-cp-search-primary {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
}

.hmg-cp-search.is-inline.is-compact .hmg-cp-search-primary {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.hmg-cp-search-widget--inline .hmg-cp-search {
  border: 0;
  box-shadow: none;
}

@media (max-width: 960px) {
  .hmg-cp-search.is-inline .hmg-cp-search-primary {
    grid-template-columns: 1fr 1fr;
  }

  .hmg-cp-search.is-inline .hmg-cp-search-field-submit,
  .hmg-cp-search.is-inline .hmg-cp-search-field-radius {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hmg-cp-search.is-inline .hmg-cp-search-primary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .hmg-cp-search-primary {
    grid-template-columns: 1fr 1fr;
  }

  .hmg-cp-search-field-radius {
    grid-column: 1 / -1;
  }

  .hmg-cp-search-filters {
    grid-template-columns: 1fr 1fr;
  }

  .hmg-cp-search-filters .hmg-cp-search-select:last-of-type {
    grid-column: 1 / -1;
  }

  .hmg-cp-apply-filters {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hmg-cp-search-primary,
  .hmg-cp-search-filters {
    grid-template-columns: 1fr;
  }

  .hmg-cp-search-field-radius,
  .hmg-cp-search-filters .hmg-cp-search-select:last-of-type,
  .hmg-cp-apply-filters {
    grid-column: auto;
  }
}

/* Form fields */
.hmg-cp-form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 1rem;
}

.hmg-cp-form-grid--stack {
  grid-template-columns: 1fr;
}

.hmg-cp-form-grid .hmg-cp-full {
  grid-column: 1 / -1;
}

.hmg-cp-form-grid label:not(.hmg-cp-checkbox) > span,
.hmg-cp-auth label:not(.hmg-cp-checkbox) > span {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.hmg-cp-form-grid input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.hmg-cp-form-grid textarea,
.hmg-cp-auth input[type="email"],
.hmg-cp-auth input[type="password"],
.hmg-cp-auth input[type="text"],
.hmg-cp-auth input[type="tel"] {
  appearance: none;
  background: #fff;
  border: 1px solid var(--hmg-cp-border);
  border-radius: calc(var(--hmg-cp-radius) - 4px);
  box-sizing: border-box;
  color: var(--hmg-cp-text);
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  width: 100%;
}

.hmg-cp-form-grid select {
  background: #fff;
  border: 1px solid var(--hmg-cp-border);
  border-radius: calc(var(--hmg-cp-radius) - 4px);
  box-sizing: border-box;
  color: var(--hmg-cp-text);
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  width: 100%;
}

.hmg-cp-form-grid textarea {
  min-height: 7rem;
  resize: vertical;
}

/* Formatting toolbar + editing surface that replaces the raw textarea */
.hmg-cp-editor {
  background: #fff;
  border: 1px solid var(--hmg-cp-border);
  border-radius: calc(var(--hmg-cp-radius) - 4px);
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
}

.hmg-cp-editor:focus-within {
  border-color: var(--hmg-cp-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.14);
}

.hmg-cp-editor-toolbar {
  align-items: center;
  background: var(--hmg-cp-surface);
  border-bottom: 1px solid var(--hmg-cp-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.35rem 0.4rem;
}

/* Specific enough to beat theme and page-builder button styling */
.hmg-cp-editor .hmg-cp-editor-button {
  appearance: none;
  background: #fff;
  border: 1px solid var(--hmg-cp-border);
  border-radius: 6px;
  box-shadow: none;
  color: var(--hmg-cp-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  height: 1.85rem;
  letter-spacing: normal;
  line-height: 1;
  margin: 0;
  min-height: 0;
  min-width: 1.85rem;
  padding: 0 0.5rem;
  text-transform: none;
  width: auto;
}

/* Each control previews the formatting it applies */
.hmg-cp-editor .hmg-cp-editor-button--bold {
  font-weight: 800;
}

.hmg-cp-editor .hmg-cp-editor-button--italic {
  font-style: italic;
}

.hmg-cp-editor .hmg-cp-editor-button--underline {
  text-decoration: underline;
}

.hmg-cp-editor .hmg-cp-editor-button--heading {
  font-size: 0.9375rem;
  font-weight: 700;
}

.hmg-cp-editor .hmg-cp-editor-button:hover,
.hmg-cp-editor .hmg-cp-editor-button:focus-visible {
  border-color: var(--hmg-cp-primary);
  color: var(--hmg-cp-text);
}

.hmg-cp-editor .hmg-cp-editor-button[aria-pressed="true"] {
  background: rgba(51, 42, 134, 0.1);
  background: color-mix(in srgb, var(--hmg-cp-primary) 12%, #fff);
  border-color: rgba(51, 42, 134, 0.35);
  border-color: color-mix(in srgb, var(--hmg-cp-primary) 40%, #fff);
  color: var(--hmg-cp-primary);
}

.hmg-cp-editor .hmg-cp-editor-input {
  box-sizing: border-box;
  color: var(--hmg-cp-text);
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.5;
  min-height: 7rem;
  outline: none;
  overflow-y: auto;
  padding: 0.65rem 0.85rem;
}

.hmg-cp-editor.is-empty .hmg-cp-editor-input::before {
  color: var(--hmg-cp-muted);
  content: attr(data-placeholder);
  pointer-events: none;
}

.hmg-cp-editor .hmg-cp-editor-input > :first-child {
  margin-top: 0;
}

.hmg-cp-editor .hmg-cp-editor-input > :last-child {
  margin-bottom: 0;
}

.hmg-cp-editor .hmg-cp-editor-input p {
  margin: 0 0 0.6rem;
}

.hmg-cp-editor .hmg-cp-editor-input h3 {
  color: var(--hmg-cp-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.4rem;
}

.hmg-cp-editor .hmg-cp-editor-input a {
  color: var(--hmg-cp-primary);
  text-decoration: underline;
}

.hmg-cp-editor .hmg-cp-editor-input ul {
  list-style: disc outside;
  margin: 0 0 0.6rem;
  padding-left: 1.35rem;
}

.hmg-cp-editor .hmg-cp-editor-input ol {
  list-style: decimal outside;
  margin: 0 0 0.6rem;
  padding-left: 1.6rem;
}

.hmg-cp-editor .hmg-cp-editor-input li {
  background: none;
  border: 0;
  display: list-item;
  margin: 0 0 0.2rem;
  padding: 0;
}

.hmg-cp-autofill-entry .hmg-cp-editor .hmg-cp-editor-input {
  min-height: 4.5rem;
}

.hmg-cp-editor-source {
  display: none;
}

.hmg-cp-editor-notice {
  background: var(--hmg-cp-surface);
  border-top: 1px solid var(--hmg-cp-border);
  color: var(--hmg-cp-muted);
  font-size: 0.8125rem;
  line-height: 1.4;
  margin: 0;
  padding: 0.45rem 0.85rem;
}

.hmg-cp-form-grid--apply {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hmg-cp-form-grid .hmg-cp-field-span {
  grid-column: 1 / -1;
}

.hmg-cp-apply-address {
  display: grid;
  gap: 0.85rem;
  grid-column: 1 / -1;
  width: 100%;
}

.hmg-cp-apply-address__search {
  display: grid;
  gap: 0.5rem;
}

.hmg-cp-apply-address-autocomplete-wrap {
  position: relative;
}

.hmg-cp-apply-address-autocomplete-input {
  width: 100%;
}

.hmg-cp-apply-address-typeahead {
  left: 0;
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
}

.hmg-cp-apply-address-manual-row {
  margin: 0;
  text-align: right;
}

.hmg-cp-apply-address-error {
  margin: 0;
}

.hmg-cp-apply-address__manual {
  display: none;
  gap: 0.85rem;
}

.hmg-cp-apply-address__manual.is-visible {
  display: grid;
}

.hmg-cp-apply-address__manual[hidden] {
  display: none !important;
}

.hmg-cp-apply-address__search[hidden] {
  display: none !important;
}

.hmg-cp-apply .hmg-cp-link-button,
.hmg-cp-apply-page .hmg-cp-link-button,
.hmg-cp-apply-page .hmg-cp-apply-address-manual-toggle {
  appearance: none;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--hmg-cp-primary) !important;
  cursor: pointer;
  display: inline;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  min-height: 0 !important;
  padding: 0 !important;
  text-decoration: underline;
  text-transform: none !important;
  width: auto !important;
}

.hmg-cp-apply-address-typeahead {
  background: #fff;
  border: 1px solid var(--hmg-cp-border);
  border-radius: 0;
  box-shadow: none;
  color: var(--hmg-cp-text);
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  margin-top: 0;
  max-height: 12rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  z-index: 30;
}

.hmg-cp-apply-address-typeahead-option {
  appearance: none;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--hmg-cp-text) !important;
  cursor: pointer;
  display: block;
  font-family: inherit !important;
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  line-height: 1.4;
  margin: 0;
  min-height: 0;
  padding: 0.45rem 0.65rem;
  text-align: left;
  text-decoration: none;
  text-shadow: none !important;
  text-transform: none !important;
  white-space: normal;
  width: 100%;
}

.hmg-cp-apply-address-typeahead-option:hover,
.hmg-cp-apply-address-typeahead-option:focus-visible {
  background: var(--hmg-cp-surface) !important;
  color: var(--hmg-cp-text) !important;
  outline: none;
}

.hmg-cp-apply-address__legend {
  color: var(--hmg-cp-text);
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0;
}

.hmg-cp-apply-address__line {
  width: 100%;
}

.hmg-cp-apply-address__row {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
}

.hmg-cp-apply-section {
  border: 1px solid var(--hmg-cp-border);
  border-radius: calc(var(--hmg-cp-radius) - 2px);
  grid-column: 1 / -1;
  padding: 0.75rem 1rem;
}

.hmg-cp-apply-section__summary {
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 600;
  list-style: none;
}

.hmg-cp-apply-section__summary::-webkit-details-marker {
  display: none;
}

.hmg-cp-apply-section__body {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.hmg-cp-apply-section__hint {
  color: var(--hmg-cp-muted, #64748b);
  font-size: 0.875rem;
  margin: 0;
}

.hmg-cp-apply-date-group {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.hmg-cp-apply-date-group > legend {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  padding: 0;
}

.hmg-cp-apply-date-row {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hmg-cp-apply-section .hmg-cp-field-hint {
  color: var(--hmg-cp-muted, #64748b);
  display: block;
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

.hmg-cp-apply-section textarea {
  min-height: 5.5rem;
  resize: vertical;
  width: 100%;
}

.hmg-cp-apply-reference-check {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.hmg-cp-apply-reference-check > legend {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  padding: 0;
}

.hmg-cp-apply-reference-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hmg-cp-apply-employer {
  border: 0;
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0.85rem 0 0;
}

.hmg-cp-apply-employer + .hmg-cp-apply-employer {
  border-top: 1px solid var(--hmg-cp-border);
}

.hmg-cp-apply-employer legend {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  padding: 0;
}

.hmg-cp-apply-job-alerts .hmg-cp-apply-consent-help,
.hmg-cp-apply-sms-consent .hmg-cp-apply-consent-help {
  color: var(--hmg-cp-muted, #64748b);
  font-size: 0.8125rem;
  font-style: italic;
  line-height: 1.45;
  margin: 0.35rem 0 0 1.65rem;
}

.hmg-cp-multiselect {
  position: relative;
}

.hmg-cp-multiselect.is-invalid .hmg-cp-multiselect-trigger {
  border-color: #b91c1c !important;
}

.hmg-cp-apply-position-categories-error {
  margin: 0.35rem 0 0;
}

.hmg-cp-multiselect-native {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.hmg-cp-form-grid .hmg-cp-multiselect-trigger,
.hmg-cp-apply .hmg-cp-multiselect-trigger {
  align-items: center;
  appearance: none;
  background: #fff !important;
  border: 1px solid var(--hmg-cp-border) !important;
  border-radius: calc(var(--hmg-cp-radius) - 4px);
  box-shadow: none !important;
  box-sizing: border-box;
  color: var(--hmg-cp-text) !important;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 0.9375rem;
  justify-content: space-between;
  line-height: 1.4;
  margin: 0;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  text-align: left;
  text-transform: none;
  width: 100%;
}

.hmg-cp-form-grid .hmg-cp-multiselect-trigger::after,
.hmg-cp-apply .hmg-cp-multiselect-trigger::after {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--hmg-cp-muted);
  content: "";
  flex-shrink: 0;
  margin-left: 0.75rem;
}

.hmg-cp-form-grid .hmg-cp-multiselect-trigger[aria-expanded="true"]::after,
.hmg-cp-apply .hmg-cp-multiselect-trigger[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.hmg-cp-form-grid .hmg-cp-multiselect-trigger:disabled,
.hmg-cp-apply .hmg-cp-multiselect-trigger:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.hmg-cp-multiselect-trigger-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hmg-cp-multiselect-trigger-text.is-placeholder {
  color: var(--hmg-cp-muted);
}

.hmg-cp-multiselect-panel {
  background: #fff;
  border: 1px solid var(--hmg-cp-border);
  border-radius: calc(var(--hmg-cp-radius) - 4px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
  left: 0;
  margin-top: 0.35rem;
  max-height: 16rem;
  overflow: auto;
  position: absolute;
  right: 0;
  z-index: 30;
}

.hmg-cp-multiselect-filter-wrap {
  background: #fff;
  border-bottom: 1px solid var(--hmg-cp-border);
  padding: 0.5rem;
  position: sticky;
  top: 0;
  z-index: 1;
}

.hmg-cp-multiselect-filter {
  width: 100%;
}

.hmg-cp-multiselect-options {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
}

.hmg-cp-multiselect-option-label {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  gap: 0.65rem;
  padding: 0.45rem 0.85rem;
}

.hmg-cp-multiselect-option-label:hover {
  background: var(--hmg-cp-surface);
}

.hmg-cp-multiselect-option.is-hidden {
  display: none;
}

.hmg-cp-multiselect-empty {
  color: var(--hmg-cp-muted);
  font-size: 0.875rem;
  margin: 0;
  padding: 0.85rem;
}

.hmg-cp-checkbox {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  gap: 0.65rem;
}

.hmg-cp-checkbox input[type="checkbox"] {
  appearance: auto;
  flex-shrink: 0;
  margin: 0.2rem 0 0;
  min-height: 0;
  padding: 0;
  width: auto;
}

.hmg-cp-radio {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  gap: 0.45rem;
}

.hmg-cp-radio input[type="radio"] {
  appearance: auto;
  flex-shrink: 0;
  margin: 0;
  min-height: 0;
  padding: 0;
  width: auto;
}

.hmg-cp-compliance-notices {
  display: block;
  margin: 1.25rem 0;
}

.hmg-cp-compliance-notices .hmg-cp-compliance-item {
  display: block;
  margin: 0;
  padding: 0;
}

.hmg-cp-compliance-notices .hmg-cp-compliance-gdpr + .hmg-cp-compliance-ccpa {
  border-top: 1px solid var(--hmg-cp-border, #dbe1ea);
  margin-top: 1rem;
  padding-top: 1rem;
}

.hmg-cp-compliance-notices .hmg-cp-checkbox {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
}

.hmg-cp-compliance-notices .hmg-cp-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.hmg-cp-compliance-notices .hmg-cp-compliance-copy,
.hmg-cp-compliance-notices .hmg-cp-compliance-copy p {
  color: var(--hmg-cp-muted);
  display: block;
  flex: 1;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
  min-width: 0;
}

.hmg-cp-compliance-notices .hmg-cp-compliance-copy p + p {
  margin-top: 0.65rem;
}

.hmg-cp-apply-consent {
  line-height: 1.45;
}

.hmg-cp-apply-consent span {
  color: var(--hmg-cp-muted);
  display: inline;
  font-size: 0.875rem;
  font-weight: 400;
  margin: 0;
}

.hmg-cp-apply-consent input[type="checkbox"] {
  margin-top: 0.25rem;
}

.hmg-cp-compliance-gdpr-error,
.hmg-cp-compliance-ccpa-error {
  color: var(--hmg-cp-danger, #b32d2e);
  margin: 0.75rem 0 0 1.85rem;
}

.hmg-cp-field-file .hmg-cp-file-field {
  align-items: center;
  background: var(--hmg-cp-surface);
  border: 1px dashed var(--hmg-cp-border);
  border-radius: calc(var(--hmg-cp-radius) - 4px);
  display: flex;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hmg-cp-field-file:focus-within .hmg-cp-file-field {
  border-color: var(--hmg-cp-primary);
  border-style: solid;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.14);
}

.hmg-cp-field-file input[type="file"] {
  border: 0;
  box-shadow: none;
  flex-shrink: 0;
  font-size: 0.8125rem;
  margin: 0;
  max-width: 11rem;
  min-height: 0;
  padding: 0;
  width: auto;
}

.hmg-cp-field-file input[type="file"]::file-selector-button {
  appearance: none;
  background: #fff;
  border: 1px solid var(--hmg-cp-border);
  border-radius: 6px;
  color: var(--hmg-cp-text);
  cursor: pointer;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-right: 0.75rem;
  padding: 0.45rem 0.85rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hmg-cp-field-file input[type="file"]::file-selector-button:hover {
  background: var(--hmg-cp-surface);
  border-color: #cbd5e1;
}

.hmg-cp-file-name {
  color: var(--hmg-cp-muted);
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.4;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hmg-cp-field-file:has(input[type="file"]:valid) .hmg-cp-file-name {
  color: var(--hmg-cp-text);
}

.hmg-cp-form-grid input:not([type="file"]):focus,
.hmg-cp-form-grid select:focus,
.hmg-cp-form-grid textarea:focus,
.hmg-cp-auth input:focus {
  border-color: var(--hmg-cp-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.14);
  outline: none;
}

.hmg-cp-form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.hmg-cp-form-actions .hmg-cp-button {
  min-width: 9rem;
}

/* Buttons — scoped to avoid theme link/button bleed */
.hmg-cp .hmg-cp-button,
.hmg-cp-modal .hmg-cp-button,
.hmg-cp-apply-page .hmg-cp-button {
  appearance: none;
  background: var(--hmg-cp-primary);
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 0.35rem;
  line-height: 1.25;
  margin: 0;
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  text-decoration: none;
  text-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  vertical-align: middle;
  white-space: nowrap;
}

.hmg-cp .hmg-cp-button::before,
.hmg-cp .hmg-cp-button::after,
.hmg-cp-modal .hmg-cp-button::before,
.hmg-cp-modal .hmg-cp-button::after,
.hmg-cp-apply-page .hmg-cp-button::before,
.hmg-cp-apply-page .hmg-cp-button::after,
.hmg-cp-modal .hmg-cp-modal-close::before,
.hmg-cp-modal .hmg-cp-modal-close::after,
.hmg-cp-auth-tabs .hmg-cp-auth-tab::before,
.hmg-cp-auth-tabs .hmg-cp-auth-tab::after {
  background: none !important;
  content: none !important;
  display: none !important;
}

.hmg-cp .hmg-cp-button:hover,
.hmg-cp .hmg-cp-button:focus,
.hmg-cp-modal .hmg-cp-button:hover,
.hmg-cp-modal .hmg-cp-button:focus,
.hmg-cp-apply-page .hmg-cp-button:hover,
.hmg-cp-apply-page .hmg-cp-button:focus {
  background: var(--hmg-cp-primary-dark);
  color: #fff;
  text-decoration: none;
}

.hmg-cp .hmg-cp-button-primary,
.hmg-cp-modal .hmg-cp-button-primary,
.hmg-cp-apply-page .hmg-cp-button-primary {
  background: var(--hmg-cp-primary);
  border-color: var(--hmg-cp-primary);
  color: #fff;
}

.hmg-cp .hmg-cp-button-secondary,
.hmg-cp-modal .hmg-cp-button-secondary,
.hmg-cp-apply-page .hmg-cp-button-secondary {
  background: var(--hmg-cp-bg);
  border-color: var(--hmg-cp-border);
  color: var(--hmg-cp-text);
}

.hmg-cp .hmg-cp-button-secondary:hover,
.hmg-cp .hmg-cp-button-secondary:focus,
.hmg-cp-modal .hmg-cp-button-secondary:hover,
.hmg-cp-modal .hmg-cp-button-secondary:focus,
.hmg-cp-apply-page .hmg-cp-button-secondary:hover,
.hmg-cp-apply-page .hmg-cp-button-secondary:focus {
  background: var(--hmg-cp-surface);
  border-color: #cbd5e1;
  color: var(--hmg-cp-text);
}

.hmg-cp .hmg-cp-button-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--hmg-cp-muted);
}

.hmg-cp .hmg-cp-button-ghost:hover,
.hmg-cp .hmg-cp-button-ghost:focus {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #e11d48;
}

/* Container corner radius — inner controls (after global .hmg-cp-button) */
.hmg-cp .hmg-cp-card :is(.hmg-cp-button, a.hmg-cp-button, button.hmg-cp-button),
.hmg-cp .hmg-cp-card .hmg-cp-save-job--icon-only {
  border-radius: var(--hmg-cp-card-inner-radius, var(--hmg-cp-radius, 8px));
}

.hmg-cp .hmg-cp-search .hmg-cp-search-input,
.hmg-cp .hmg-cp-search .hmg-cp-search-text-filter input[type="text"],
.hmg-cp .hmg-cp-search .hmg-cp-search-select select,
.hmg-cp .hmg-cp-search .hmg-cp-button,
.hmg-cp .hmg-cp-search .hmg-cp-apply-filters,
.hmg-cp .hmg-cp-search .hmg-cp-typeahead {
  border-radius: var(--hmg-cp-search-inner-radius, var(--hmg-cp-search-radius, var(--hmg-cp-radius, 8px)));
}

.hmg-cp .hmg-cp-listing-auth-bar .hmg-cp-button,
.hmg-cp .hmg-cp-listing-auth-bar a.hmg-cp-listing-auth-action {
  border-radius: var(--hmg-cp-auth-inner-radius, var(--hmg-cp-auth-radius, var(--hmg-cp-radius, 8px)));
}

body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-card :is(.hmg-cp-button, a.hmg-cp-button, button.hmg-cp-button),
body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-card .hmg-cp-save-job--icon-only {
  border-radius: var(--hmg-cp-card-inner-radius, var(--hmg-cp-radius, 8px)) !important;
}

body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-search :is(.hmg-cp-search-input, .hmg-cp-search-text-filter input[type="text"], .hmg-cp-search-select select, .hmg-cp-button, .hmg-cp-apply-filters, .hmg-cp-typeahead) {
  border-radius: var(--hmg-cp-search-inner-radius, var(--hmg-cp-search-radius, var(--hmg-cp-radius, 8px))) !important;
}

body[class*="elementor-kit-"] .hmg-cp .hmg-cp-search .hmg-cp-search-select select,
body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-search .hmg-cp-search-select select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-color: var(--hmg-cp-bg) !important;
  background-image: var(--hmg-cp-search-select-chevron) !important;
  background-position: right var(--hmg-cp-search-select-chevron-offset) center !important;
  background-repeat: no-repeat !important;
  background-size: var(--hmg-cp-search-select-chevron-size) !important;
  border: 1px solid var(--hmg-cp-search-field-border) !important;
  padding-right: var(--hmg-cp-search-select-padding-right) !important;
}

body[class*="elementor-kit-"] .hmg-cp .hmg-cp-search :is(.hmg-cp-search-input, .hmg-cp-search-text-filter input[type="text"]),
body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-search :is(.hmg-cp-search-input, .hmg-cp-search-text-filter input[type="text"]) {
  border-color: var(--hmg-cp-search-field-border) !important;
}

body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-listing-auth-bar :is(.hmg-cp-button, a.hmg-cp-listing-auth-action) {
  border-radius: var(--hmg-cp-auth-inner-radius, var(--hmg-cp-auth-radius, var(--hmg-cp-radius, 8px))) !important;
}

/* Talent card corner radius — inner bordered controls (matches job card --hmg-cp-card-inner-radius) */
.hmg-cp .hmg-cp-talent-card :is(.hmg-cp-button, a.hmg-cp-button, button.hmg-cp-button, span.hmg-cp-button),
.hmg-cp .hmg-cp-talent-card .hmg-cp-talent-card-badge,
.hmg-cp .hmg-cp-talent-card .hmg-cp-talent-card-skills li,
.hmg-cp .hmg-cp-talent-card .hmg-cp-talent-card-view {
  border-radius: var(--hmg-cp-talent-inner-radius, var(--hmg-cp-talent-radius, var(--hmg-cp-radius, 8px)));
}

body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-talent-card :is(.hmg-cp-button, a.hmg-cp-button, button.hmg-cp-button, span.hmg-cp-button),
body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-talent-card .hmg-cp-talent-card-badge,
body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-talent-card .hmg-cp-talent-card-skills li,
body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-talent-card .hmg-cp-talent-card-view {
  border-radius: var(--hmg-cp-talent-inner-radius, var(--hmg-cp-talent-radius, var(--hmg-cp-radius, 8px))) !important;
}

body.elementor-page .elementor-widget-container .hmg-cp.hmg-cp-talent-layout--grid .hmg-cp-talent-card-metrics .hmg-cp-talent-card-metric,
body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-talent-layout--grid .hmg-cp-talent-card-metrics .hmg-cp-talent-card-metric {
  align-items: center !important;
  text-align: center !important;
}

/* Elementor kit styles all buttons with fixed theme colors — re-bind portal buttons to CSS vars */
body[class*="elementor-kit-"] .hmg-cp :is(.hmg-cp-button, button.hmg-cp-button, a.hmg-cp-button):not(.hmg-cp-button-secondary):not(.hmg-cp-button-ghost),
body.elementor-page .elementor-widget-container .hmg-cp :is(.hmg-cp-button, button.hmg-cp-button, a.hmg-cp-button):not(.hmg-cp-button-secondary):not(.hmg-cp-button-ghost) {
  background: var(--hmg-cp-primary) !important;
  background-color: var(--hmg-cp-primary) !important;
  background-image: none !important;
  border-color: var(--hmg-cp-primary) !important;
  color: #fff !important;
}

body[class*="elementor-kit-"] .hmg-cp :is(.hmg-cp-button, button.hmg-cp-button, a.hmg-cp-button):not(.hmg-cp-button-secondary):not(.hmg-cp-button-ghost):hover,
body[class*="elementor-kit-"] .hmg-cp :is(.hmg-cp-button, button.hmg-cp-button, a.hmg-cp-button):not(.hmg-cp-button-secondary):not(.hmg-cp-button-ghost):focus,
body[class*="elementor-kit-"] .hmg-cp :is(.hmg-cp-button, button.hmg-cp-button, a.hmg-cp-button):not(.hmg-cp-button-secondary):not(.hmg-cp-button-ghost):focus-visible,
body.elementor-page .elementor-widget-container .hmg-cp :is(.hmg-cp-button, button.hmg-cp-button, a.hmg-cp-button):not(.hmg-cp-button-secondary):not(.hmg-cp-button-ghost):hover,
body.elementor-page .elementor-widget-container .hmg-cp :is(.hmg-cp-button, button.hmg-cp-button, a.hmg-cp-button):not(.hmg-cp-button-secondary):not(.hmg-cp-button-ghost):focus,
body.elementor-page .elementor-widget-container .hmg-cp :is(.hmg-cp-button, button.hmg-cp-button, a.hmg-cp-button):not(.hmg-cp-button-secondary):not(.hmg-cp-button-ghost):focus-visible {
  background: var(--hmg-cp-primary-dark, color-mix(in srgb, var(--hmg-cp-primary) 82%, #000)) !important;
  background-color: var(--hmg-cp-primary-dark, color-mix(in srgb, var(--hmg-cp-primary) 82%, #000)) !important;
  border-color: var(--hmg-cp-primary-dark, color-mix(in srgb, var(--hmg-cp-primary) 82%, #000)) !important;
  color: #fff !important;
}

.hmg-cp .hmg-cp-save-icon {
  font-size: 0.95rem;
  line-height: 1;
}

/* Listing header */
.hmg-cp-listing-header {
  margin-bottom: 1rem;
}

/* Theme / Elementor embed — avoid duplicate titles and header overlap */
body.hmg-cp-embed-theme .hmg-cp-container {
  padding-top: 0;
}

body.hmg-cp-hide-listing-header:not(.hmg-cp-archive) .hmg-cp-listing-header {
  display: none;
}

body.hmg-cp-embed-theme .hmg-cp-listing,
body.elementor-page .elementor-widget-hmg-career-portal-job-board .hmg-cp-listing,
body.elementor-page .elementor-widget-hmg-career-portal-talent-showcase .hmg-cp-talent-showcase-embed,
body.elementor-page .elementor-widget-shortcode .hmg-cp-listing,
body.fl-builder .fl-builder-content .hmg-cp-listing,
body.fl-builder .fl-module-hmg-cp-bb-job-board-module .hmg-cp-listing,
body.fl-builder .fl-module-hmg-cp-bb-talent-showcase-module .hmg-cp-talent-showcase-embed {
  position: relative;
  z-index: 1;
}

body.hmg-cp-embed-theme .hmg-cp-listing-title {
  position: relative;
  z-index: auto;
}

body.hmg-cp-embed-theme.hmg-cp-hide-listing-header .hmg-cp-search {
  margin-top: 0;
}

body.hmg-cp-hide-detail-title .hmg-cp-detail-header .hmg-cp-detail-title {
  display: none;
}

body.fl-builder .fl-builder-content .hmg-cp-container,
body.fl-builder .fl-module-hmg-cp-bb-job-board-module .hmg-cp-container,
body.fl-builder .fl-module-hmg-cp-bb-talent-showcase-module .hmg-cp-container {
  padding-top: 0;
}

/* Page builders often style nested headings/buttons with theme defaults */
body.hmg-cp-embed-theme .elementor-widget-container .hmg-cp :is(h1, h2, h3, h4, h5, h6),
body.hmg-cp-embed-theme .fl-builder-content .hmg-cp :is(h1, h2, h3, h4, h5, h6),
.elementor-widget-container .hmg-cp-seo-strip button,
.fl-builder-content .hmg-cp-seo-strip button {
  font-family: inherit;
}

.hmg-cp-listing-title {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  line-height: 1.2;
  margin: 0 0 0.25rem;
}

.hmg-cp-listing-count {
  color: var(--hmg-cp-muted);
  font-size: 0.9375rem;
  margin: 0;
}

.hmg-cp-listing-count-wrap {
  min-height: 1.35rem;
  position: relative;
}

.hmg-cp-listing-count-skeleton {
  background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 45%, #e2e8f0 90%);
  background-size: 200% 100%;
  border-radius: 999px;
  height: 0.85rem;
  margin: 0.15rem 0 0;
  width: 7.5rem;
}

.hmg-cp-listing:not(.is-ready) .hmg-cp-listing-count {
  opacity: 0;
  visibility: hidden;
}

.hmg-cp-listing.is-ready .hmg-cp-listing-count-skeleton {
  display: none;
}

.hmg-cp-listing.is-ready .hmg-cp-listing-count {
  opacity: 1;
  visibility: visible;
}

.hmg-cp-notice-info {
  background: #f0f9ff;
  border-color: #bae6fd;
}

/* Job cards */
.hmg-cp-job-list {
  display: block;
}

.hmg-cp-job-list-stage {
  min-height: 18rem;
  position: relative;
}

.hmg-cp-job-list-skeleton,
.hmg-cp-job-list-content {
  display: grid;
  gap: 0.875rem;
}

.hmg-cp-loading-surface:not(.is-ready) .hmg-cp-job-list-content {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  visibility: hidden;
  z-index: 1;
}

.hmg-cp-loading-surface.is-ready .hmg-cp-job-list-skeleton {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  visibility: hidden;
  z-index: 1;
}

.hmg-cp-loading-surface.is-ready .hmg-cp-job-list-content {
  opacity: 1;
  position: relative;
  transition: opacity 0.24s ease;
  visibility: visible;
  z-index: 2;
}

.hmg-cp-loading-surface.is-loading .hmg-cp-job-list-skeleton {
  opacity: 1;
  position: relative;
  visibility: visible;
}

.hmg-cp-loading-surface.is-loading .hmg-cp-job-list-content {
  opacity: 0;
  position: absolute;
  visibility: hidden;
}

.hmg-cp-loading-surface:not(.is-ready) .hmg-cp-sidebar:not(.hmg-cp-sidebar-skeleton) {
  display: none;
}

.hmg-cp-loading-surface.is-ready .hmg-cp-sidebar-skeleton {
  display: none;
}

.hmg-cp-skeleton-card {
  background: var(--hmg-cp-bg);
  border: 1px solid var(--hmg-cp-border);
  border-radius: calc(var(--hmg-cp-radius) - 2px);
  box-shadow: var(--hmg-cp-shadow);
  overflow: hidden;
}

.hmg-cp-skeleton-line,
.hmg-cp-skeleton-pill,
.hmg-cp-skeleton-button {
  animation: hmg-cp-skeleton-shimmer 1.35s ease-in-out infinite;
  background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 45%, #e2e8f0 90%);
  background-size: 200% 100%;
  border-radius: 999px;
  display: block;
}

.hmg-cp-skeleton-line--title {
  height: 1.1rem;
  margin-bottom: 0.75rem;
  width: 72%;
}

.hmg-cp-skeleton-line--meta {
  height: 0.75rem;
  margin-bottom: 0.45rem;
  width: 54%;
}

.hmg-cp-skeleton-line--short {
  width: 38%;
}

.hmg-cp-skeleton-line--heading {
  height: 0.95rem;
  margin-bottom: 0.85rem;
  width: 55%;
}

.hmg-cp-skeleton-line--list {
  height: 0.72rem;
  width: 100%;
}

.hmg-cp-skeleton-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.hmg-cp-skeleton-pill {
  height: 1.35rem;
  width: 4.75rem;
}

.hmg-cp-skeleton-button {
  border-radius: calc(var(--hmg-cp-radius) - 4px);
  height: 2.25rem;
  width: 6.5rem;
}

.hmg-cp-skeleton-list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hmg-cp-skeleton-card .hmg-cp-card-body {
  padding: 1rem 1.1rem 0.85rem;
}

.hmg-cp-skeleton-card .hmg-cp-card-footer {
  border-top: 1px solid var(--hmg-cp-border);
  padding: 0.85rem 1.1rem;
}

.hmg-cp-sidebar-skeleton .hmg-cp-sidebar-section + .hmg-cp-sidebar-section {
  margin-top: 1.25rem;
}

@keyframes hmg-cp-skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hmg-cp-skeleton-line,
  .hmg-cp-skeleton-pill,
  .hmg-cp-skeleton-button,
  .hmg-cp-listing-count-skeleton {
    animation: none;
  }

  .hmg-cp-loading-surface.is-ready .hmg-cp-job-list-content,
  .hmg-cp-loading-surface.is-ready .hmg-cp-detail-content {
    transition: none;
  }
}

.hmg-cp-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hmg-cp-card-shadow--none {
  box-shadow: none;
}

.hmg-cp-card-shadow--none:hover {
  box-shadow: none;
}

.hmg-cp-card-shadow--subtle {
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.hmg-cp-card-shadow--subtle:hover {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.hmg-cp-card-shadow--elevated {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.hmg-cp-card-shadow--elevated:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
}

.hmg-cp-card:hover {
  border-color: #cbd5e1;
}

.hmg-cp-card-body {
  padding: 1.15rem 1.25rem 1rem;
}

.hmg-cp-card-heading {
  align-items: start;
  display: grid;
  gap: 0.5rem 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 0.35rem;
}

.hmg-cp-card--has-heading-aside .hmg-cp-card-heading {
  gap: 0.2rem 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
}

.hmg-cp-card-title {
  font-size: 1.125rem;
  grid-column: 1;
  grid-row: 1;
  line-height: 1.35;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hmg-cp-card--has-heading-aside .hmg-cp-card-title {
  grid-column: 1;
  grid-row: 2;
}

.hmg-cp-card-title a {
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration: none;
  word-break: break-word;
}

.hmg-cp-card-title a:hover {
  color: var(--hmg-cp-primary);
}

.hmg-cp-card-date {
  color: var(--hmg-cp-muted);
  font-size: 0.8125rem;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  white-space: nowrap;
}

.hmg-cp-card-heading .hmg-cp-card-field-block--date {
  flex: none;
  grid-column: auto;
  grid-row: auto;
  justify-self: auto;
  margin: 0;
  max-width: none;
  width: auto;
}

.hmg-cp-card-heading-aside {
  align-items: center;
  display: flex;
  flex: none;
  gap: 0.45rem;
  grid-column: 2;
  grid-row: 1;
  justify-content: flex-end;
  justify-self: end;
  max-width: 100%;
}

.hmg-cp-card--has-heading-aside .hmg-cp-card-heading-aside {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  margin: 0 0 0.05rem;
}

.hmg-cp-card-heading-aside .hmg-cp-card-date,
.hmg-cp-card-heading-aside .hmg-cp-card-field-block--date {
  margin: 0;
}

.hmg-cp-card-heading-aside .hmg-cp-card-save-slot {
  flex: none;
  position: static;
  right: auto;
  top: auto;
}

.hmg-cp-card-save-slot {
  position: absolute;
  right: 0.65rem;
  top: 0.65rem;
  z-index: 2;
}

.hmg-cp-card--has-heading-aside .hmg-cp-card-heading-aside .hmg-cp-card-save-slot {
  position: static;
}

.hmg-cp-card .hmg-cp-save-job--icon-only {
  align-items: center;
  border-radius: var(--hmg-cp-card-inner-radius);
  display: inline-flex;
  height: 2.25rem;
  justify-content: center;
  min-height: 0;
  min-width: 2.25rem;
  padding: 0;
  width: 2.25rem;
}

.hmg-cp-card-heading-aside .hmg-cp-save-job--icon-only {
  height: 1.85rem;
  min-width: 1.85rem;
  width: 1.85rem;
}

.hmg-cp-card-heading-aside .hmg-cp-save-job--icon-only .hmg-cp-save-icon {
  font-size: 1rem;
}

.hmg-cp-card .hmg-cp-save-job--icon-only .hmg-cp-save-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.hmg-cp-card-fields {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.hmg-cp-card-field-block {
  margin: 0;
  padding: 0;
}

.hmg-cp-card-fields .hmg-cp-card-field-block:not(.hmg-cp-card-field-block--badge):not(.hmg-cp-card-field-block--meta) {
  flex: 1 1 100%;
}

.hmg-cp-card-custom-text {
  margin: 0;
}

.hmg-cp-card-custom-meta {
  color: var(--hmg-cp-muted);
  font-size: 0.9375rem;
}

.hmg-cp-card-custom-label {
  font-weight: 600;
}

.hmg-cp-card-badge--custom {
  background: #f8fafc;
}

.hmg-cp-card-field-block--meta {
  flex: 0 1 auto;
  max-width: 100%;
}

.hmg-cp-card-field-block--company {
  flex: 1 1 100%;
  width: 100%;
}

.hmg-cp-card-field-block--recruiter .hmg-cp-card-recruiter {
  display: inline;
  margin-top: 0;
}

.hmg-cp-card-field-block--badge {
  flex: 0 0 auto;
}

.hmg-cp-card-field-block--meta .hmg-cp-card-field-content {
  color: var(--hmg-cp-muted);
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hmg-cp-card-field-block--meta + .hmg-cp-card-field-block--meta .hmg-cp-card-location::before {
  color: #cbd5e1;
  content: "•";
  margin-right: 0.35rem;
}

.hmg-cp-card-badge,
.hmg-cp-card-badges span,
.hmg-cp-detail-badges li {
  background: var(--hmg-cp-surface);
  border: 1px solid var(--hmg-cp-border);
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.2rem 0.55rem;
}

.hmg-cp-card-badge,
.hmg-cp-card-badges span {
  border-radius: var(--hmg-cp-card-inner-radius);
}

.hmg-cp-detail-badges li {
  border-radius: max(0px, calc(var(--hmg-cp-radius, 8px) - 4px));
}

.hmg-cp-card-excerpt {
  margin: 0;
}

.hmg-cp-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
}

.hmg-cp-badge-salary,
.hmg-cp-detail-badges .hmg-cp-badge--salary {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.hmg-cp-badge-remote,
.hmg-cp-detail-badges .hmg-cp-badge--remote {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.hmg-cp-detail-badges .hmg-cp-badge--type {
  background: color-mix(in srgb, var(--hmg-cp-primary) 10%, var(--hmg-cp-surface));
  border-color: color-mix(in srgb, var(--hmg-cp-primary) 28%, var(--hmg-cp-border));
  color: var(--hmg-cp-primary);
  font-weight: 700;
}

.hmg-cp-detail-badges .hmg-cp-badge--date,
.hmg-cp-detail-badges .hmg-cp-badge--job-number {
  background: transparent;
  border-color: transparent;
  color: var(--hmg-cp-muted);
  font-weight: 500;
  letter-spacing: 0;
  padding-left: 0.15rem;
  padding-right: 0.15rem;
}

.hmg-cp-card-excerpt {
  color: var(--hmg-cp-muted);
  display: -webkit-box;
  font-size: 0.875rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 1.55;
  margin: 0;
  overflow: hidden;
}

.hmg-cp-card:not(.hmg-cp-card--compact) .hmg-cp-card-footer {
  margin-top: auto;
}

.hmg-cp-card-footer {
  background: var(--hmg-cp-surface);
  border-top: 1px solid var(--hmg-cp-border);
  padding: 0.75rem 1.25rem;
}

.hmg-cp-card-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-width: 0;
}

.hmg-cp-card:not(.hmg-cp-card--compact) .hmg-cp-card-actions {
  flex-wrap: wrap;
}

.hmg-cp-card-action-block {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  max-width: 100%;
  min-width: 0;
  position: relative;
}

.hmg-cp-card:not(.hmg-cp-card--designer) .hmg-cp-card-action-block {
  display: contents;
}

.hmg-cp-card-action-block--view {
  margin-right: auto;
}

.hmg-cp-card:not(.hmg-cp-card--designer) .hmg-cp-card-action-block--view > .hmg-cp-button {
  margin-right: auto;
}

.hmg-cp-card-action-block .hmg-cp-button,
.hmg-cp-card:not(.hmg-cp-card--designer) .hmg-cp-card-actions > .hmg-cp-button {
  max-width: 100%;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.hmg-cp-tmpl-grid .hmg-cp-card-actions {
  gap: 0.35rem;
}

.hmg-cp-tmpl-grid .hmg-cp-card-actions .hmg-cp-button {
  min-height: 2.25rem;
  padding: 0.45rem 0.7rem;
}

@media (max-width: 520px) {
  .hmg-cp-card-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  /* display:contents removes the action wrapper box — span via the button. */
  .hmg-cp-card-action-block--view,
  .hmg-cp-card:not(.hmg-cp-card--designer) .hmg-cp-card-action-block--view > .hmg-cp-button,
  .hmg-cp-card-action-block--view .hmg-cp-button,
  .hmg-cp-card-action-block .hmg-cp-button,
  .hmg-cp-card:not(.hmg-cp-card--designer) .hmg-cp-card-actions > .hmg-cp-button {
    grid-column: 1 / -1;
    margin-right: 0;
    white-space: normal;
    width: 100%;
  }
}

.hmg-cp-detail-actions:not(.hmg-cp-detail-actions--header) .hmg-cp-button {
  justify-content: center;
  width: 100%;
}

.hmg-cp-detail-actions--header .hmg-cp-button,
.hmg-cp-detail-actions--header .hmg-cp-external-apply,
.hmg-cp-detail-actions--header .hmg-cp-applied-label,
.hmg-cp-detail-actions--header .hmg-cp-share-toggle,
.hmg-cp-detail-actions--header .hmg-cp-job-reminder-toggle {
  width: auto;
}

/* Job detail */
.hmg-cp-detail {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .hmg-cp-detail {
    padding: 2rem;
  }
}

.hmg-cp-breadcrumb {
  color: var(--hmg-cp-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.hmg-cp-breadcrumb a {
  color: var(--hmg-cp-primary);
  text-decoration: none;
}

.hmg-cp-breadcrumb a:hover {
  text-decoration: underline;
}

.hmg-cp-breadcrumb-sep {
  margin: 0 0.35rem;
}

.hmg-cp-breadcrumb-current {
  color: var(--hmg-cp-text);
}

.hmg-cp-detail-header {
  border-bottom: 1px solid var(--hmg-cp-border);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

.hmg-cp-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hmg-cp-detail-actions--header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

.hmg-cp-detail-actions--apply-menu {
  align-items: center;
  gap: 0.45rem;
}

.hmg-cp-apply-menu {
  position: relative;
}

.hmg-cp-apply-menu-toggle {
  align-items: center;
  display: inline-flex;
  gap: 0.4rem;
  min-width: 8.5rem;
}

.hmg-cp-apply-menu-chevron {
  flex: 0 0 auto;
  opacity: 0.9;
  transition: transform 0.15s ease;
}

.hmg-cp-apply-menu-toggle[aria-expanded="true"] .hmg-cp-apply-menu-chevron {
  transform: rotate(180deg);
}

.hmg-cp-apply-menu-panel {
  background: #fff;
  border: 1px solid var(--hmg-cp-border);
  border-radius: 0.75rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  left: 0;
  margin-top: 0.4rem;
  min-width: min(100vw - 2rem, 18.5rem);
  padding: 0.5rem;
  position: absolute;
  top: 100%;
  z-index: 40;
}

.hmg-cp-apply-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hmg-cp-apply-menu-list > li {
  margin: 0;
  width: 100%;
}

/*
 * Stacked action buttons — same affordance as Indeed, not pale menu rows.
 * Apply = solid primary; Email = outlined primary; partner widgets stay branded.
 */
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item,
.hmg-cp .hmg-cp-apply-menu-panel a.hmg-cp-apply-menu-item,
.hmg-cp .hmg-cp-apply-menu-panel button.hmg-cp-apply-menu-item,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-button,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-button-secondary,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-apply-trigger,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-external-apply,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-apply-page-link,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item--email .hmg-cp-job-reminder-toggle,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item--email .hmg-cp-job-reminder-toggle.hmg-cp-button {
  align-items: center;
  appearance: none !important;
  background: var(--hmg-cp-primary) !important;
  background-image: none !important;
  border: 1px solid var(--hmg-cp-primary) !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08) !important;
  color: #fff !important;
  cursor: pointer;
  display: flex !important;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 0.9375rem !important;
  font-style: normal !important;
  font-weight: 700 !important;
  gap: 0.5rem;
  justify-content: center !important;
  letter-spacing: 0.01em;
  line-height: 1.25 !important;
  min-height: 2.75rem !important;
  padding: 0.7rem 1rem !important;
  text-align: center;
  text-decoration: none !important;
  text-shadow: none !important;
  text-transform: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  width: 100% !important;
}

/* Email / secondary options: outlined primary so they still read as buttons. */
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item--email .hmg-cp-job-reminder-toggle,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item--email .hmg-cp-job-reminder-toggle.hmg-cp-button,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-button-secondary {
  background: #fff !important;
  border: 2px solid var(--hmg-cp-primary) !important;
  box-shadow: none !important;
  color: var(--hmg-cp-primary) !important;
}

.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item::after,
.hmg-cp .hmg-cp-apply-menu-panel a.hmg-cp-apply-menu-item::after,
.hmg-cp .hmg-cp-apply-menu-panel button.hmg-cp-apply-menu-item::after,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-button::after,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-button-secondary::after,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-apply-trigger::after,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-external-apply::after,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-apply-page-link::after,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item--email .hmg-cp-job-reminder-toggle::after,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item--email .hmg-cp-job-reminder-toggle.hmg-cp-button::after {
  content: none !important;
  display: none !important;
}

.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item:hover,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item:focus,
.hmg-cp .hmg-cp-apply-menu-panel a.hmg-cp-apply-menu-item:hover,
.hmg-cp .hmg-cp-apply-menu-panel a.hmg-cp-apply-menu-item:focus,
.hmg-cp .hmg-cp-apply-menu-panel button.hmg-cp-apply-menu-item:hover,
.hmg-cp .hmg-cp-apply-menu-panel button.hmg-cp-apply-menu-item:focus,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-button:hover,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-button:focus,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-apply-trigger:hover,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-apply-trigger:focus,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-external-apply:hover,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-external-apply:focus,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-apply-page-link:hover,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-apply-page-link:focus {
  background: var(--hmg-cp-primary-dark, color-mix(in srgb, var(--hmg-cp-primary) 82%, #000)) !important;
  border-color: var(--hmg-cp-primary-dark, color-mix(in srgb, var(--hmg-cp-primary) 82%, #000)) !important;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--hmg-cp-primary) 28%, transparent) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item--email .hmg-cp-job-reminder-toggle:hover,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item--email .hmg-cp-job-reminder-toggle:focus,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-button-secondary:hover,
.hmg-cp .hmg-cp-apply-menu-panel .hmg-cp-apply-menu-item.hmg-cp-button-secondary:focus {
  background: color-mix(in srgb, var(--hmg-cp-primary) 8%, #fff) !important;
  border-color: var(--hmg-cp-primary) !important;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--hmg-cp-primary) 18%, transparent) !important;
  color: var(--hmg-cp-primary) !important;
  transform: translateY(-1px);
}

.hmg-cp-apply-menu-item--email .hmg-cp-job-reminder,
.hmg-cp-apply-menu-item--widgets .hmg-cp-apply-widgets {
  width: 100%;
}

.hmg-cp-apply-menu-item--email .hmg-cp-job-reminder-form {
  margin: 0.35rem 0 0;
}

.hmg-cp-apply-menu-item--widgets {
  border-top: 1px solid var(--hmg-cp-border);
  margin-top: 0.15rem;
  padding-top: 0.55rem;
}

.hmg-cp-apply-menu-item--widgets .hmg-cp-apply-widgets {
  align-items: stretch;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  width: 100%;
}

.hmg-cp-apply-menu-item--widgets .hmg-cp-indeed-apply,
.hmg-cp-apply-menu-item--widgets .hmg-cp-linkedin-apply,
.hmg-cp-apply-menu-item--widgets .hmg-cp-partner-apply,
.hmg-cp-apply-menu-item--widgets .hmg-cp-indeed-apply .indeed-apply-widget,
.hmg-cp-apply-menu-item--widgets .hmg-cp-indeed-apply iframe,
.hmg-cp-apply-menu-item--widgets .hmg-cp-indeed-apply button,
.hmg-cp-apply-menu-item--widgets .hmg-cp-indeed-apply a {
  box-sizing: border-box !important;
  display: block !important;
  max-width: none !important;
  min-height: 2.75rem;
  width: 100% !important;
}

.hmg-cp-apply-menu-item--widgets .indeed-apply-button,
.hmg-cp-apply-menu-item--widgets .indeed-apply-widget > * {
  box-sizing: border-box !important;
  max-width: none !important;
  width: 100% !important;
}

.hmg-cp-detail-actions--apply-menu > .hmg-cp-share-menu .hmg-cp-share-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--hmg-cp-border);
  border-radius: 0.5rem;
  color: var(--hmg-cp-muted);
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: 0;
  width: 2.5rem;
}

.hmg-cp-detail-actions--apply-menu > .hmg-cp-save-job--icon-only {
  align-items: center;
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: 0;
  width: 2.5rem;
}

.hmg-cp-detail-actions--apply-menu > .hmg-cp-share-menu .hmg-cp-share-toggle:hover,
.hmg-cp-detail-actions--apply-menu > .hmg-cp-share-menu .hmg-cp-share-toggle:focus,
.hmg-cp-detail-actions--apply-menu > .hmg-cp-share-menu .hmg-cp-share-toggle[aria-expanded="true"] {
  border-color: color-mix(in srgb, var(--hmg-cp-primary) 35%, var(--hmg-cp-border));
  color: var(--hmg-cp-primary);
}


.hmg-cp-detail-actions--header > .hmg-cp-button-primary,
.hmg-cp-detail-actions--header > .hmg-cp-external-apply,
.hmg-cp-detail-actions--header > .hmg-cp-applied-label {
  flex: 0 0 auto;
  justify-content: center;
  min-height: 2.5rem;
  min-width: 8.5rem;
  padding-inline: 1.15rem;
}

.hmg-cp-detail-actions--header > .hmg-cp-save-job,
.hmg-cp-detail-actions--header > .hmg-cp-share-menu,
.hmg-cp-detail-actions--header > .hmg-cp-job-reminder {
  flex: 0 0 auto;
}

.hmg-cp-detail-actions--header .hmg-cp-save-job.hmg-cp-button-secondary,
.hmg-cp-detail-actions--header .hmg-cp-job-reminder-toggle {
  background: var(--hmg-cp-surface);
  border-color: var(--hmg-cp-border);
  color: var(--hmg-cp-text);
  font-weight: 600;
  min-height: 2.5rem;
}

.hmg-cp-detail-actions--header .hmg-cp-save-job.hmg-cp-button-secondary:hover,
.hmg-cp-detail-actions--header .hmg-cp-save-job.hmg-cp-button-secondary:focus,
.hmg-cp-detail-actions--header .hmg-cp-job-reminder-toggle:hover,
.hmg-cp-detail-actions--header .hmg-cp-job-reminder-toggle:focus {
  background: #fff;
  border-color: color-mix(in srgb, var(--hmg-cp-primary) 35%, var(--hmg-cp-border));
  color: var(--hmg-cp-primary);
}

.hmg-cp-detail-actions--header .hmg-cp-share-toggle {
  align-items: center;
  background: var(--hmg-cp-surface);
  border: 1px solid var(--hmg-cp-border);
  border-radius: 0.5rem;
  color: var(--hmg-cp-text);
  display: inline-flex;
  justify-content: center;
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: 0.45rem;
}

.hmg-cp-detail-actions--header .hmg-cp-share-toggle:hover,
.hmg-cp-detail-actions--header .hmg-cp-share-toggle:focus,
.hmg-cp-detail-actions--header .hmg-cp-share-toggle[aria-expanded="true"] {
  background: #fff;
  border-color: color-mix(in srgb, var(--hmg-cp-primary) 35%, var(--hmg-cp-border));
  color: var(--hmg-cp-primary);
}

.hmg-cp-detail-header-aside {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: none;
  width: 100%;
}

.hmg-cp-detail-header-aside > .hmg-cp-apply-widgets {
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0;
  width: auto;
}

.hmg-cp-detail-header-aside .hmg-cp-indeed-apply,
.hmg-cp-detail-header-aside .hmg-cp-indeed-apply .indeed-apply-widget,
.hmg-cp-detail-header-aside .hmg-cp-linkedin-apply {
  max-width: 100%;
  width: auto;
}

.hmg-cp-detail-actions--header .hmg-cp-job-reminder {
  align-items: stretch;
  min-width: 0;
}

.hmg-cp-detail-header h1,
.hmg-cp-detail-header .hmg-cp-detail-title,
.hmg-cp-detail-header .hmg-cp-primary-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.hmg-cp .hmg-cp-detail-header h1,
.hmg-cp .hmg-cp-detail-header .hmg-cp-detail-title,
.hmg-cp .hmg-cp-detail-header .hmg-cp-primary-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin: 0 0 0.5rem !important;
}

.hmg-cp-detail-meta {
  color: var(--hmg-cp-muted);
  font-size: 1rem;
  margin: 0 0 0.85rem;
}

.hmg-cp-job-reminder {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  min-width: 0;
}

.hmg-cp-job-reminder.is-unavailable {
  display: none;
}

.hmg-cp-job-reminder-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hmg-cp-job-reminder-form[hidden] {
  display: none;
}

.hmg-cp-job-reminder-form input[type="email"] {
  flex: 1 1 10rem;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--hmg-cp-border, #d0d5dd);
  border-radius: 0.375rem;
}

.hmg-cp-job-reminder-form input[type="email"]:focus {
  border-color: var(--hmg-cp-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.14);
  outline: none;
}

.hmg-cp-job-reminder-status {
  margin: 0;
  font-size: 0.875rem;
}

.hmg-cp-job-reminder-status.is-error {
  color: #b42318;
}

.hmg-cp-job-reminder-status.is-success {
  color: #067647;
}

.hmg-cp-location-pseo-banner {
  margin: 0 0 1rem;
}

.hmg-cp-location-pseo-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.hmg-cp-apply-widgets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.hmg-cp-detail-header-aside > .hmg-cp-apply-widgets {
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0;
  width: auto;
}

.hmg-cp-detail-header-aside .hmg-cp-indeed-apply,
.hmg-cp-detail-header-aside .hmg-cp-indeed-apply .indeed-apply-widget,
.hmg-cp-detail-header-aside .hmg-cp-linkedin-apply {
  max-width: 100%;
  width: auto;
}

.hmg-cp-apply-step .hmg-cp-apply-widgets {
  margin: 0 0 1.25rem;
}

.hmg-cp-indeed-apply {
  min-height: 2.5rem;
}

.hmg-cp-linkedin-apply,
.hmg-cp-button.hmg-cp-linkedin-apply,
.hmg-cp .hmg-cp-apply-widgets .hmg-cp-button.hmg-cp-linkedin-apply,
.hmg-cp .hmg-cp-apply-widgets a.hmg-cp-linkedin-apply {
  background: #0a66c2 !important;
  background-color: #0a66c2 !important;
  border-color: #0a66c2 !important;
  color: #fff !important;
}

.hmg-cp-linkedin-apply:hover,
.hmg-cp-button.hmg-cp-linkedin-apply:hover,
.hmg-cp .hmg-cp-apply-widgets .hmg-cp-button.hmg-cp-linkedin-apply:hover,
.hmg-cp .hmg-cp-apply-widgets a.hmg-cp-linkedin-apply:hover {
  background: #004182 !important;
  background-color: #004182 !important;
  border-color: #004182 !important;
  color: #fff !important;
}

.hmg-cp-detail-body > section {
  margin: 0;
}

.hmg-cp-detail-body section + section {
  margin-top: 1.25rem;
}

.hmg-cp-detail-body h2,
.hmg-cp-detail-body h3 {
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.75rem;
}

.hmg-cp .hmg-cp-detail-body :where(h2, h3),
.hmg-cp .hmg-cp-detail-block > :where(h2, h3, h4) {
  font-family: inherit !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 0 0.75rem !important;
}

body[class*="elementor-kit-"] .elementor-widget-container .hmg-cp .hmg-cp-detail-body > section > :where(h2, h3),
body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-detail-body > section > :where(h2, h3) {
  margin-top: 0 !important;
}

.hmg-cp .hmg-cp-related-sidebar-title {
  font-family: inherit !important;
}

.hmg-cp-prose {
  color: var(--hmg-cp-text);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.hmg-cp-prose :where(img, iframe, video) {
  height: auto;
  max-width: 100%;
}

.hmg-cp-prose :where(table, pre) {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.hmg-cp-prose :where(p, ul, ol) {
  margin-bottom: 1rem;
}

.hmg-cp-detail-body .hmg-cp-prose > :last-child {
  margin-bottom: 0;
}

.hmg-cp-detail-body .hmg-cp-prose :where(h1, h2, h3, h4, h5, h6) {
  font-family: inherit !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 1rem 0 0.5rem !important;
}

.hmg-cp-detail-body .hmg-cp-prose :where(h1, h2, h3, h4, h5, h6):first-child {
  margin-top: 0 !important;
}

.hmg-cp-detail-body .hmg-cp-prose :where(p, div):empty {
  display: none;
  margin: 0;
  padding: 0;
}

.hmg-cp-detail-body .hmg-cp-prose p:has(> br:only-child) {
  display: none;
  margin: 0;
}

.hmg-cp-detail-body .hmg-cp-prose br + br + br {
  display: none;
}

.hmg-cp-detail-layout.has-related-sidebar {
  align-items: start;
  display: grid;
  gap: 1.75rem;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
}

.hmg-cp-detail-stage {
  min-height: 28rem;
  position: relative;
}

.hmg-cp-loading-surface:not(.is-ready) .hmg-cp-detail-content {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  visibility: hidden;
  z-index: 1;
}

.hmg-cp-loading-surface.is-ready .hmg-cp-detail-skeleton {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  visibility: hidden;
  z-index: 1;
}

.hmg-cp-loading-surface.is-ready .hmg-cp-detail-content {
  opacity: 1;
  position: relative;
  transition: opacity 0.24s ease;
  visibility: visible;
  z-index: 2;
}

.hmg-cp-loading-surface:not(.is-ready) .hmg-cp-related-sidebar:not(.hmg-cp-related-sidebar-skeleton) {
  display: none;
}

.hmg-cp-loading-surface.is-ready .hmg-cp-related-sidebar-skeleton {
  display: none;
}

.hmg-cp-loading-surface.is-ready .hmg-cp-related-sidebar-host.is-loading-related > .hmg-cp-related-sidebar-skeleton {
  display: block;
  opacity: 1;
  visibility: visible;
}

.hmg-cp-related-sidebar-host.is-loading-related {
  min-height: 18rem;
  position: relative;
}

.hmg-cp-related-sidebar-host.is-loading-related > .hmg-cp-related-sidebar-skeleton {
  inset: 0;
  position: sticky;
  top: 1.5rem;
}

.hmg-cp-related-sidebar-skeleton {
  background: var(--hmg-cp-surface, #fff);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  box-shadow: var(--hmg-cp-shadow);
  padding: 1rem;
}

.hmg-cp-related-sidebar-skeleton.is-hiding {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.hmg-cp-related-sidebar--enter {
  animation: hmg-cp-related-sidebar-enter 0.28s ease;
}

@keyframes hmg-cp-related-sidebar-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hmg-cp-related-sidebar--enter {
    animation: none;
  }

  .hmg-cp-related-sidebar-skeleton.is-hiding {
    transition: none;
  }
}

.hmg-cp-detail-skeleton {
  background: var(--hmg-cp-bg);
  border: 1px solid var(--hmg-cp-border);
  border-radius: calc(var(--hmg-cp-radius) - 2px);
  box-shadow: var(--hmg-cp-shadow);
  padding: 1.5rem;
}

.hmg-cp-detail-skeleton-breadcrumb {
  margin-bottom: 1rem;
}

.hmg-cp-skeleton-line--breadcrumb {
  height: 0.75rem;
  width: 42%;
}

.hmg-cp-detail-skeleton-header {
  border-bottom: 1px solid var(--hmg-cp-border);
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hmg-cp-detail-skeleton-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.hmg-cp-skeleton-line--detail-title {
  height: 1.75rem;
  margin-bottom: 0.85rem;
  width: min(100%, 28rem);
}

.hmg-cp-skeleton-line--section-title {
  height: 1rem;
  margin-bottom: 0.85rem;
  width: 8rem;
}

.hmg-cp-skeleton-line--prose {
  height: 0.72rem;
  margin-bottom: 0.55rem;
  width: 100%;
}

.hmg-cp-detail-skeleton-section + .hmg-cp-detail-skeleton-section {
  margin-top: 1.5rem;
}

.hmg-cp-detail-skeleton-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hmg-cp-skeleton-button--primary {
  width: 7.5rem;
}

.hmg-cp-skeleton-button--compact {
  height: 1.85rem;
  margin-top: 0.85rem;
  width: 5rem;
}

.hmg-cp-skeleton-pill--wide {
  width: 6.5rem;
}

.hmg-cp-skeleton-related-card {
  background: #f8fafc;
  border: 1px solid var(--hmg-cp-border);
  border-radius: 10px;
  padding: 1rem;
}

.hmg-cp-related-sidebar {
  position: sticky;
  top: 1.5rem;
}

.hmg-cp-related-sidebar-title {
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  margin: 0 0 0.85rem;
  text-transform: none;
}

.hmg-cp .hmg-cp-related-sidebar-title,
.hmg-cp h2.hmg-cp-related-sidebar-title {
  font-family: inherit !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 0 0.85rem !important;
}

.hmg-cp-related-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hmg-cp-related-card {
  background: var(--hmg-cp-surface);
  border: 1px solid var(--hmg-cp-border);
  border-radius: 8px;
  padding: 0.85rem 0.9rem 0.8rem;
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hmg-cp-related-card:hover,
.hmg-cp-related-card:focus-within {
  border-color: color-mix(in srgb, var(--hmg-cp-primary) 28%, var(--hmg-cp-border));
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.hmg-cp-related-card-header {
  align-items: flex-start;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.hmg-cp-related-card-title {
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.45rem;
}

.hmg-cp .hmg-cp-related-card-title,
.hmg-cp h3.hmg-cp-related-card-title {
  font-family: inherit !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 0 0.45rem !important;
}

.hmg-cp-related-card-title a {
  color: var(--hmg-cp-text);
  font-size: inherit;
  text-decoration: none;
}

.hmg-cp .hmg-cp-related-card-title a {
  color: var(--hmg-cp-text) !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

.hmg-cp-related-card-title a:hover {
  color: var(--hmg-cp-primary);
}

.hmg-cp-related-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hmg-cp-related-card-location,
.hmg-cp-related-card-pay,
.hmg-cp-related-card-date {
  color: var(--hmg-cp-muted);
  font-size: 0.8125rem;
  line-height: 1.4;
  margin: 0;
}

.hmg-cp-related-card-pay {
  color: var(--hmg-cp-text);
  font-weight: 600;
}

.hmg-cp-related-card-footer {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  margin-top: 0.65rem;
}

.hmg-cp-related-view {
  color: var(--hmg-cp-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.hmg-cp-related-view:hover,
.hmg-cp-related-view:focus {
  text-decoration: underline;
}

.hmg-cp-related-card .hmg-cp-save-job {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--hmg-cp-muted);
  flex: 0 0 auto;
  min-height: 0;
  min-width: 0;
  padding: 0.15rem;
}

.hmg-cp .hmg-cp-related-card .hmg-cp-save-job {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--hmg-cp-muted) !important;
  min-height: 0 !important;
  min-width: 0 !important;
  padding: 0.15rem !important;
  width: auto;
}

.hmg-cp-related-card .hmg-cp-save-job:hover,
.hmg-cp-related-card .hmg-cp-save-job.is-saved {
  color: var(--hmg-cp-primary);
}

.hmg-cp-related-card .hmg-cp-save-icon {
  font-size: 1rem;
  height: 1rem;
  line-height: 1;
  width: 1rem;
}

.hmg-cp-related-icon {
  flex-shrink: 0;
}

/* Legacy circular/solid Apply control (kept for cached HTML) */
.hmg-cp-related-card-apply {
  flex-shrink: 0;
  margin-left: auto;
}

.hmg-cp-related-apply {
  align-items: center;
  appearance: none;
  background: transparent;
  background-image: none;
  border: 1px solid var(--hmg-cp-border);
  border-radius: 6px;
  box-shadow: none;
  color: var(--hmg-cp-primary);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  gap: 0.35rem;
  line-height: 1;
  min-height: 0;
  padding: 0.45rem 0.7rem;
  text-decoration: none;
  text-shadow: none;
  white-space: nowrap;
}

.hmg-cp .hmg-cp-related-apply,
.hmg-cp .hmg-cp-related-card .hmg-cp-related-apply {
  background: transparent !important;
  color: var(--hmg-cp-primary) !important;
  font-size: 0.8125rem !important;
  line-height: 1 !important;
  min-height: 0 !important;
  padding: 0.45rem 0.7rem !important;
}

.hmg-cp-related-apply:hover {
  border-color: var(--hmg-cp-primary);
  color: var(--hmg-cp-primary);
}

.hmg-cp-related-apply .hmg-cp-related-icon {
  stroke: currentColor;
}

.hmg-cp-related {
  border-top: 1px solid var(--hmg-cp-border);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.hmg-cp-related h2 {
  font-size: 1.125rem;
  margin: 0 0 1rem;
}

@media (max-width: 959px) {
  .hmg-cp-detail-layout.has-related-sidebar {
    grid-template-columns: 1fr;
  }

  .hmg-cp-detail-stage {
    order: 1;
  }

  .hmg-cp-related-sidebar,
  .hmg-cp-related-sidebar-host {
    order: 2;
    position: static;
  }

  .hmg-cp-detail-header-aside {
    max-width: none;
  }
}

.hmg-cp-detail-block {
  background: var(--hmg-cp-surface);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  margin-top: 1.75rem;
  padding: 1.15rem 1.25rem;
}

.hmg-cp-detail-block h2 {
  font-size: 1.125rem;
  margin: 0 0 0.85rem;
}

/* Section headings render as h2 or h3 depending on the theme's heading level.
   Scoped to .hmg-cp and limited to direct children so theme `.entry-content h2`
   rules lose without touching nested headings like the recruiter name. */
.hmg-cp .hmg-cp-detail-block > :where(h2, h3, h4) {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.85rem;
}

.hmg-cp-location-pseo-title a {
  color: inherit;
  text-decoration: none;
}

.hmg-cp-location-pseo-title a:hover {
  color: var(--hmg-cp-primary);
}

.hmg-cp-location-pseo-body {
  color: var(--hmg-cp-muted);
  font-size: 0.9375rem;
}

.hmg-cp-recruiter-section-card {
  align-items: flex-start;
  display: flex;
  gap: 1.25rem;
}

.hmg-cp-recruiter-section-photo {
  border-radius: 999px;
  flex-shrink: 0;
  height: 72px;
  object-fit: cover;
  width: 72px;
}

.hmg-cp-recruiter-photo--placeholder.hmg-cp-recruiter-section-photo {
  align-items: center;
  background: var(--hmg-cp-primary);
  color: #fff;
  display: flex;
  font-size: 1.375rem;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 0.02em;
  line-height: 1;
}

.hmg-cp-recruiter-section-body {
  flex: 1 1 auto;
  min-width: 0;
}

/* Themes size headings via `.entry-content h2/h3`, which outranks a single
   class — scope to .hmg-cp so portal heading scale survives. */
.hmg-cp .hmg-cp-recruiter-section-name {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.2rem;
}

.hmg-cp-recruiter-section-name a {
  color: inherit;
  text-decoration: none;
}

.hmg-cp-recruiter-section-name a:hover {
  color: var(--hmg-cp-primary);
}

.hmg-cp-recruiter-section-subtitle {
  color: var(--hmg-cp-muted);
  font-size: 0.875rem;
  line-height: 1.45;
  margin: 0;
}

.hmg-cp-recruiter-section-bio {
  color: var(--hmg-cp-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0.65rem 0 0;
}

.hmg-cp-recruiter-section-bio p {
  margin: 0;
}

.hmg-cp-recruiter-section-bio p + p {
  margin-top: 0.5rem;
}

.hmg-cp-recruiter-section-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
}

.hmg-cp-recruiter-section-contact a {
  color: var(--hmg-cp-primary);
  font-size: 0.875rem;
  text-decoration: none;
  word-break: break-word;
}

.hmg-cp-recruiter-section-contact a:hover {
  text-decoration: underline;
}

.hmg-cp-recruiter-section-more {
  margin: 1rem 0 0;
}

.hmg-cp-share-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hmg-cp-share-menu {
  flex-shrink: 0;
  position: relative;
}

.hmg-cp-share-toggle {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid var(--hmg-cp-border);
  border-radius: 8px;
  box-sizing: border-box;
  color: var(--hmg-cp-text);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  justify-content: center;
  margin: 0;
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: 0;
  transition: border-color 0.15s ease, color 0.15s ease;
  vertical-align: middle;
}

.hmg-cp-share-toggle:hover,
.hmg-cp-share-toggle:focus,
.hmg-cp-share-toggle[aria-expanded="true"] {
  border-color: var(--hmg-cp-primary);
  color: var(--hmg-cp-primary);
  outline: none;
}

.hmg-cp-share-icon {
  display: block;
}

.hmg-cp-share-dropdown {
  background: #fff;
  border: 1px solid var(--hmg-cp-border);
  border-radius: 8px;
  box-shadow: var(--hmg-cp-shadow);
  min-width: 11.5rem;
  padding: 0.35rem 0;
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  z-index: 20;
}

.hmg-cp-share-dropdown .hmg-cp-share-list {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
}

.hmg-cp-share-dropdown .hmg-cp-share-button {
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 500;
  justify-content: flex-start;
  padding: 0.55rem 1rem;
  width: 100%;
}

.hmg-cp-share-dropdown .hmg-cp-share-button:hover,
.hmg-cp-share-dropdown .hmg-cp-share-button:focus {
  background: var(--hmg-cp-surface);
  color: var(--hmg-cp-primary);
}

.hmg-cp-share-button {
  background: #fff;
  border: 1px solid var(--hmg-cp-border);
  border-radius: 999px;
  color: var(--hmg-cp-text);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.45rem 0.85rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.hmg-cp-share-button-content {
  align-items: center;
  display: inline-flex;
  gap: 0.5rem;
}

.hmg-cp-share-platform-icon {
  display: block;
  flex-shrink: 0;
  height: 1.125rem;
  width: 1.125rem;
}

.hmg-cp-share-platform-icon--linkedin {
  color: #0a66c2;
}

.hmg-cp-share-platform-icon--facebook {
  color: #1877f2;
}

.hmg-cp-share-platform-icon--x {
  color: #000;
}

.hmg-cp-share-platform-icon--email,
.hmg-cp-share-platform-icon--copy {
  color: var(--hmg-cp-muted);
}

.hmg-cp-share-button:hover {
  border-color: var(--hmg-cp-primary);
  color: var(--hmg-cp-primary);
}

/* Copy link is the only share action rendered as a <button>, so theme rules such as
   Elementor kits' `.elementor-kit-x button` outrank the single-class colors above. */
.hmg-cp-share-section button.hmg-cp-share-button {
  color: var(--hmg-cp-text);
}

.hmg-cp-share-section button.hmg-cp-share-button:hover,
.hmg-cp-share-section button.hmg-cp-share-button:focus {
  color: var(--hmg-cp-primary);
}

.hmg-cp-share-section button.hmg-cp-share-button--copy.is-copied,
.hmg-cp-share-button--copy.is-copied {
  border-color: #047857;
  color: #047857;
}

/* Job unavailable (404 / expired) */
.hmg-cp-unavailable-hero {
  background: var(--hmg-cp-surface);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  box-shadow: var(--hmg-cp-shadow);
  margin-bottom: 2rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}

.hmg-cp-unavailable-code {
  color: var(--hmg-cp-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.hmg-cp-unavailable-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.hmg-cp-unavailable-message {
  color: var(--hmg-cp-muted);
  margin: 0 auto 1.25rem;
  max-width: 38rem;
}

.hmg-cp-unavailable-alternative {
  margin: 0 auto 1.25rem;
  max-width: 38rem;
}

.hmg-cp-unavailable-alternative a {
  color: var(--hmg-cp-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hmg-cp-archive-not-found .hmg-cp-search {
  margin-bottom: 2rem;
}

.hmg-cp-unavailable-suggestions {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

/* Sidebar */
.hmg-cp-sidebar {
  align-self: start;
  padding: 1.1rem 1.25rem;
  position: sticky;
  top: 1.5rem;
}

.hmg-cp-sidebar h2 {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.hmg-cp-listing-tools,
.hmg-cp-listing-tools .hmg-cp-sidebar {
  background: var(--hmg-cp-bg);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  box-shadow: var(--hmg-cp-shadow);
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  padding: 1.15rem 1.2rem 1.2rem;
}

/* Listing sidebar — isolate from Elementor kit button/link typography */
.hmg-cp .hmg-cp-listing-tools :where(button, input, select) {
  font-family: inherit;
  letter-spacing: normal;
  line-height: inherit;
  text-shadow: none;
  text-transform: none;
}

.hmg-cp .hmg-cp-listing-tools-nav {
  align-items: center;
  border-bottom: 1px solid var(--hmg-cp-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  justify-content: space-between;
  margin-bottom: 0;
  padding-bottom: 0.875rem;
}

.hmg-cp .hmg-cp-listing-tools-auth-row {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
}

.hmg-cp .hmg-cp-listing-tools-auth-row > .hmg-cp-listing-tools-link:not(:first-child)::before {
  color: var(--hmg-cp-muted);
  content: '·';
  font-weight: 400;
  margin-inline: 0.5rem;
  pointer-events: none;
  text-decoration: none;
}

.hmg-cp .hmg-cp-listing-tools-link,
.hmg-cp .hmg-cp-listing-tools-link.hmg-cp-listing-tools-link--button {
  appearance: none;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--hmg-cp-primary);
  cursor: pointer;
  display: inline;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.35;
  margin: 0;
  max-width: 100%;
  min-height: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  -webkit-text-fill-color: currentColor;
  width: auto;
}

.hmg-cp .hmg-cp-listing-tools-link--account {
  margin-left: auto;
}

.hmg-cp .hmg-cp-listing-tools-link:hover,
.hmg-cp .hmg-cp-listing-tools-link:focus-visible {
  background: none;
  color: var(--hmg-cp-primary-dark);
  text-decoration: underline;
}

.hmg-cp .hmg-cp-listing-tools-actions {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0;
  padding-top: 0.875rem;
}

.hmg-cp .hmg-cp-listing-tools-action,
.hmg-cp .hmg-cp-listing-tools-action.hmg-cp-listing-tools-action--featured {
  appearance: none;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  color: var(--hmg-cp-muted);
  cursor: pointer;
  display: block;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.45;
  margin: 0;
  max-width: 100%;
  min-height: 0;
  overflow-wrap: anywhere;
  padding: 0;
  text-align: left;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  -webkit-text-fill-color: currentColor;
  width: 100%;
  word-break: break-word;
}

.hmg-cp .hmg-cp-listing-tools-action--featured {
  background: var(--hmg-cp-surface);
  border: 1px solid var(--hmg-cp-border);
  border-radius: 8px;
  color: var(--hmg-cp-text);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 0.75rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hmg-cp .hmg-cp-listing-tools-action--featured:hover,
.hmg-cp .hmg-cp-listing-tools-action--featured:focus-visible {
  background: var(--hmg-cp-bg);
  border-color: color-mix(in srgb, var(--hmg-cp-primary) 35%, var(--hmg-cp-border));
  color: var(--hmg-cp-primary);
  text-decoration: none;
}

.hmg-cp .hmg-cp-listing-tools-action--rss {
  color: var(--hmg-cp-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding-top: 0.15rem;
}

.hmg-cp .hmg-cp-listing-tools-action--rss:hover,
.hmg-cp .hmg-cp-listing-tools-action--rss:focus-visible {
  color: var(--hmg-cp-primary-dark);
  text-decoration: underline;
}

.hmg-cp .hmg-cp-listing-tools-sort {
  align-items: center;
  background: var(--hmg-cp-surface);
  border-radius: 8px;
  display: grid;
  gap: 0.45rem 0.65rem;
  grid-template-columns: auto minmax(0, 1fr);
  margin-bottom: 0;
  margin-top: 0.875rem;
  padding: 0.65rem 0.75rem;
}

.hmg-cp .hmg-cp-listing-tools-sort label {
  color: var(--hmg-cp-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.hmg-cp .hmg-cp-listing-tools-sort .hmg-cp-listing-sort {
  margin: 0;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.hmg-cp .hmg-cp-listing-sort {
  appearance: none;
  background: var(--hmg-cp-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 0.55rem center;
  background-size: 0.65rem;
  border: 1px solid var(--hmg-cp-border);
  border-radius: 6px;
  box-shadow: none;
  color: var(--hmg-cp-text);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  min-height: 0;
  min-width: 0;
  padding: 0.4rem 1.75rem 0.4rem 0.55rem;
}

.hmg-cp .hmg-cp-listing-widget {
  border-radius: 8px;
  color: #fff;
  margin-top: 0.875rem;
  overflow: hidden;
  padding: 1rem 1.05rem;
}

.hmg-cp .hmg-cp-listing-widget--alert,
.hmg-cp .hmg-cp-listing-widget--resume {
  background: var(--hmg-cp-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hmg-cp .hmg-cp-listing-widget-title {
  color: inherit;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.3;
  margin: 0 0 0.4rem;
  text-transform: none;
}

.hmg-cp .hmg-cp-listing-widget-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0 0 0.85rem;
  opacity: 0.95;
}

.hmg-cp .hmg-cp-listing-alert-input-wrap {
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
}

.hmg-cp .hmg-cp-listing-alert-email {
  appearance: none;
  background: #fff;
  border: 0;
  border-radius: 0;
  color: var(--hmg-cp-text);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.35;
  min-height: 0;
  min-width: 0;
  padding: 0.55rem 0.65rem;
}

.hmg-cp .hmg-cp-listing-alert-email::placeholder {
  color: var(--hmg-cp-muted);
  opacity: 1;
}

.hmg-cp .hmg-cp-listing-alert-submit {
  appearance: none;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-left: 1px solid var(--hmg-cp-border);
  border-radius: 0;
  color: var(--hmg-cp-primary);
  cursor: pointer;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  min-height: 0;
  min-width: 2.5rem;
  padding: 0.45rem 0.65rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.hmg-cp .hmg-cp-listing-alert-submit:hover,
.hmg-cp .hmg-cp-listing-alert-submit:focus-visible {
  background: #fff;
  color: var(--hmg-cp-primary-dark);
}

.hmg-cp-listing-widget .hmg-cp-form-message {
  color: #fff;
  font-size: 0.8125rem;
  margin: 0.5rem 0 0;
}

.hmg-cp-listing-widget .hmg-cp-form-message.is-error {
  color: #ffe4e6;
}

.hmg-cp .hmg-cp-listing-widget .hmg-cp-button-light,
.hmg-cp .hmg-cp-listing-widget .hmg-cp-listing-resume-cta {
  background: #fff;
  border: 0;
  border-radius: 6px;
  box-sizing: border-box !important;
  color: var(--hmg-cp-primary);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  justify-content: center;
  max-width: 100% !important;
  min-height: 2.5rem;
  min-width: 0 !important;
  /* Beat Elementor kit `padding: 12px 50px` that overflows the narrow sidebar. */
  padding: 0.65rem 0.85rem !important;
  text-decoration: none;
  white-space: normal;
  width: 100% !important;
  word-break: break-word;
}

.hmg-cp .hmg-cp-listing-tools,
.hmg-cp .hmg-cp-listing-widget--resume {
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.hmg-cp .hmg-cp-listing-widget .hmg-cp-talent-community-form {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr);
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.hmg-cp .hmg-cp-listing-widget .hmg-cp-talent-community-form > * {
  max-width: 100% !important;
  min-width: 0 !important;
}

.hmg-cp .hmg-cp-listing-widget .hmg-cp-field-file,
.hmg-cp .hmg-cp-listing-widget .hmg-cp-resume-text-field {
  color: #fff;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

/*
 * Native file inputs have a large intrinsic min-width that blows out the 260px sidebar.
 * Keep the control full-size but visually overlay it so layout width stays with the card.
 */
.hmg-cp .hmg-cp-listing-widget .hmg-cp-field-file .hmg-cp-file-field {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  box-sizing: border-box;
  display: block;
  max-width: 100%;
  min-height: 2.75rem;
  min-width: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hmg-cp .hmg-cp-listing-widget .hmg-cp-field-file input[type="file"] {
  cursor: pointer;
  font-size: 0;
  height: 100%;
  left: 0;
  margin: 0;
  max-width: none;
  min-width: 0;
  opacity: 0;
  padding: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 2;
}

.hmg-cp .hmg-cp-listing-widget .hmg-cp-file-name {
  color: var(--hmg-cp-muted);
  display: block;
  font-size: 0.875rem;
  line-height: 1.4;
  max-width: 100%;
  overflow: hidden;
  padding: 0.15rem 0;
  pointer-events: none;
  position: relative;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 1;
}

.hmg-cp .hmg-cp-listing-widget .hmg-cp-field-file:has(input[type="file"]:valid) .hmg-cp-file-name {
  color: var(--hmg-cp-text);
}

.hmg-cp .hmg-cp-listing-widget .hmg-cp-resume-text-field textarea {
  background: #fff;
  border: 0;
  border-radius: 6px;
  box-sizing: border-box !important;
  color: var(--hmg-cp-text);
  display: block;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 0.55rem 0.65rem;
  width: 100% !important;
}

.hmg-cp .hmg-cp-listing-widget .hmg-cp-button-secondary {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  color: #fff;
  font-size: 0.875rem;
  min-height: 2.5rem;
  width: 100%;
}

.hmg-cp-state-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hmg-cp-state-list li + li {
  border-top: 1px solid var(--hmg-cp-border);
}

.hmg-cp-state-list a {
  align-items: center;
  color: inherit;
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  text-decoration: none;
}

.hmg-cp-state-list a:hover {
  color: var(--hmg-cp-primary);
}

.hmg-cp-state-list span {
  color: var(--hmg-cp-muted);
  font-size: 0.875rem;
}

/* Results meta & pagination */
.hmg-cp-results-meta {
  color: var(--hmg-cp-muted);
  font-size: 0.9375rem;
  margin: 0 0 1rem;
}

.hmg-cp-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.hmg-cp-pagination-pages {
  align-items: center;
  display: flex;
  gap: 0.25rem;
}

.hmg-cp-pagination .hmg-cp-page {
  align-items: center;
  background: var(--hmg-cp-bg);
  border: 1px solid var(--hmg-cp-border);
  border-radius: 6px;
  box-sizing: border-box;
  color: inherit;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 0.35rem;
  justify-content: center;
  line-height: 1;
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: 0.4rem 0.55rem;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hmg-cp-pagination a.hmg-cp-page:hover,
.hmg-cp-pagination a.hmg-cp-page:focus-visible {
  background: var(--hmg-cp-surface);
  border-color: var(--hmg-cp-primary);
  color: var(--hmg-cp-primary);
}

.hmg-cp-pagination .hmg-cp-page.is-current {
  background: var(--hmg-cp-primary);
  border-color: var(--hmg-cp-primary);
  color: #fff;
}

.hmg-cp-pagination .hmg-cp-page.is-disabled {
  color: var(--hmg-cp-muted);
  opacity: 1;
}

.hmg-cp-pagination .hmg-cp-page--prev,
.hmg-cp-pagination .hmg-cp-page--next {
  min-width: auto;
  padding-inline: 0.85rem;
}

.hmg-cp-pagination .hmg-cp-page-gap {
  color: var(--hmg-cp-muted);
  padding-inline: 0.15rem;
  user-select: none;
}

.hmg-cp-pagination-status {
  color: var(--hmg-cp-muted);
  font-size: 0.8125rem;
  margin: 0.65rem 0 0;
  text-align: center;
}

@media (max-width: 480px) {
  .hmg-cp-pagination .hmg-cp-page--far,
  .hmg-cp-pagination .hmg-cp-page-gap,
  .hmg-cp-pagination .hmg-cp-page-text {
    display: none;
  }

  .hmg-cp-pagination .hmg-cp-page--prev,
  .hmg-cp-pagination .hmg-cp-page--next {
    min-width: 2.5rem;
    padding-inline: 0.55rem;
  }
}

.hmg-cp-featured-grid,
.hmg-cp-featured-talent-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(var(--hmg-cp-columns, 2), minmax(0, 1fr));
}

.hmg-cp-talent-widget-grid {
  display: grid;
  gap: 1rem;
}

.hmg-cp-talent-widget-grid.hmg-cp-talent-layout--grid {
  grid-template-columns: repeat(var(--hmg-cp-columns, 3), minmax(0, 1fr));
}

.hmg-cp-talent-search-widget--inline .hmg-cp-talent-search-toolbar {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hmg-cp-talent-search-widget--compact .hmg-cp-talent-search-primary {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

/* Notices */
.hmg-cp-notice {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: calc(var(--hmg-cp-radius) - 4px);
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
}

.hmg-cp-notice-warning {
  background: #fff7ed;
  border-color: #fdba74;
}

.hmg-cp-notice-success {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.hmg-cp-empty {
  background: var(--hmg-cp-surface);
  border: 1px dashed var(--hmg-cp-border);
  border-radius: calc(var(--hmg-cp-radius) - 4px);
  color: var(--hmg-cp-muted);
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
}

/* Modal */
.hmg-cp-modal {
  align-items: center;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 100000;
}

.hmg-cp-modal[hidden] {
  display: none;
}

.hmg-cp-modal-dialog {
  color: var(--hmg-cp-text);
  isolation: isolate;
  max-height: 90vh;
  max-width: 640px;
  overflow: auto;
  padding: 1.5rem;
  position: relative;
  width: 100%;
}

.hmg-cp-modal-dialog > h2 {
  font-family: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.hmg-cp-modal .hmg-cp-modal-close {
  appearance: none !important;
  align-items: center;
  align-self: auto !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  clear: none !important;
  color: var(--hmg-cp-muted) !important;
  cursor: pointer;
  display: inline-flex !important;
  float: none !important;
  font-family: inherit;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  height: 2rem !important;
  inset-inline-end: 0.85rem !important;
  inset-inline-start: auto !important;
  justify-content: center;
  left: auto !important;
  letter-spacing: normal;
  line-height: 1;
  margin: 0 !important;
  max-height: 2rem !important;
  max-width: 2rem !important;
  min-height: 2rem !important;
  min-width: 2rem !important;
  padding: 0 !important;
  position: absolute !important;
  right: 0.85rem !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  text-shadow: none !important;
  text-transform: none !important;
  top: 0.75rem !important;
  transform: none !important;
  width: 2rem !important;
  z-index: 3;
}

.hmg-cp-modal .hmg-cp-modal-close:hover,
.hmg-cp-modal .hmg-cp-modal-close:focus {
  background: var(--hmg-cp-surface) !important;
  color: var(--hmg-cp-text) !important;
  outline: none;
}

.hmg-cp-modal .hmg-cp-modal-close:focus-visible {
  outline: 2px solid var(--hmg-cp-primary) !important;
  outline-offset: 2px;
}

.hmg-cp-honeypot {
  display: none !important;
}

/* Portal */
.hmg-cp-portal-header,
.hmg-cp-portal-tabs:not(.hmg-cp-account-nav) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hmg-cp-portal-tabs:not(.hmg-cp-account-nav) button,
.hmg-cp-portal-tabs:not(.hmg-cp-account-nav) [role="tab"] {
  background: var(--hmg-cp-surface);
  border: 1px solid var(--hmg-cp-border);
  border-radius: 999px;
  color: var(--hmg-cp-text);
  cursor: pointer;
  padding: 0.45rem 0.9rem;
}

.hmg-cp-portal-tabs:not(.hmg-cp-account-nav) button.is-active,
.hmg-cp-portal-tabs:not(.hmg-cp-account-nav) [role="tab"][aria-selected="true"],
.hmg-cp-portal-tabs:not(.hmg-cp-account-nav) [role="tab"].is-active {
  background: var(--hmg-cp-primary);
  border-color: var(--hmg-cp-primary);
  color: #fff;
}

.hmg-cp-portal-tabs:not(.hmg-cp-account-nav) button:focus-visible,
.hmg-cp-portal-tabs:not(.hmg-cp-account-nav) [role="tab"]:focus-visible {
  outline: 2px solid var(--hmg-cp-primary);
  outline-offset: 2px;
}

.hmg-cp-portal,
.hmg-cp-apply-page {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: 1280px;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem);
  width: 100%;
}

.hmg-cp-apply-page {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hmg-cp-apply-page > .hmg-cp-modal-dialog {
  flex: 0 1 720px;
  margin-inline: auto !important;
  max-width: 720px;
  width: 100%;
}

.hmg-cp-dashboard-welcome {
  align-items: center;
  background: linear-gradient(135deg, var(--hmg-cp-surface), var(--hmg-cp-bg));
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 1.25rem;
}

.hmg-cp-dashboard-welcome h2,
.hmg-cp-dashboard-welcome p {
  margin: 0;
}

.hmg-cp-dashboard-welcome p {
  color: var(--hmg-cp-muted);
  margin-top: 0.25rem;
}

.hmg-cp-dashboard-welcome .hmg-cp-button {
  align-items: center;
  background: var(--hmg-cp-primary);
  border: 1px solid var(--hmg-cp-primary);
  border-radius: calc(var(--hmg-cp-radius) - 4px);
  color: #fff;
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.625rem 1rem;
  text-decoration: none;
}

.hmg-cp-dashboard-welcome .hmg-cp-button:hover,
.hmg-cp-dashboard-welcome .hmg-cp-button:focus-visible {
  background: var(--hmg-cp-primary-dark);
  border-color: var(--hmg-cp-primary-dark);
  color: #fff;
}

.hmg-cp-dashboard-stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.hmg-cp-dashboard-stat {
  background: var(--hmg-cp-bg);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  color: var(--hmg-cp-text);
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.hmg-cp-dashboard-stat:hover,
.hmg-cp-dashboard-stat:focus-visible {
  border-color: var(--hmg-cp-primary);
  box-shadow: var(--hmg-cp-shadow);
  transform: translateY(-1px);
}

.hmg-cp-dashboard-stat strong {
  color: var(--hmg-cp-primary);
  font-size: 1.75rem;
  line-height: 1.1;
}

.hmg-cp-dashboard-stat span {
  color: var(--hmg-cp-muted);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.hmg-cp-dashboard-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 2fr) minmax(14rem, 1fr);
  margin-bottom: 1.5rem;
}

.hmg-cp-dashboard-card {
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  padding: 1.25rem;
}

.hmg-cp-dashboard-card-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}

.hmg-cp-dashboard-card-header h2,
.hmg-cp-dashboard-card-header h3 {
  font-size: 1.125rem;
  margin: 0;
}

.hmg-cp-dashboard-card-header > a {
  color: var(--hmg-cp-primary);
  font-size: 0.8125rem;
  font-weight: 600;
}

.hmg-cp-dashboard-empty {
  color: var(--hmg-cp-muted);
  margin: 0;
}

.hmg-cp-dashboard-activity {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hmg-cp-dashboard-activity li {
  align-items: center;
  border-top: 1px solid var(--hmg-cp-border);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.hmg-cp-dashboard-activity li:first-child {
  border-top: 0;
  padding-top: 0;
}

.hmg-cp-dashboard-activity li:last-child {
  padding-bottom: 0;
}

.hmg-cp-dashboard-activity li > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hmg-cp-dashboard-activity li > div > span {
  color: var(--hmg-cp-muted);
  font-size: 0.8125rem;
}

.hmg-cp-dashboard-actions {
  display: flex;
  flex-direction: column;
}

.hmg-cp-dashboard-actions a {
  align-items: center;
  border-top: 1px solid var(--hmg-cp-border);
  color: var(--hmg-cp-text);
  display: flex;
  font-weight: 600;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.65rem 0;
  text-decoration: none;
}

.hmg-cp-dashboard-actions a:first-child {
  border-top: 0;
  padding-top: 0;
}

.hmg-cp-dashboard-actions a:last-child {
  padding-bottom: 0;
}

.hmg-cp-dashboard-actions a:hover,
.hmg-cp-dashboard-actions a:focus-visible {
  color: var(--hmg-cp-primary);
}

.hmg-cp-profile-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(16rem, 17.5rem) minmax(0, 1fr);
}

.hmg-cp-profile-summary,
.hmg-cp-profile-card {
  background: var(--hmg-cp-bg);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  padding: 1.25rem;
}

.hmg-cp-profile-summary {
  align-self: start;
  position: sticky;
  top: 1rem;
}

.hmg-cp-profile-identity {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hmg-cp-profile-avatar {
  align-items: center;
  background: var(--hmg-cp-primary);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.125rem;
  font-weight: 700;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.hmg-cp-profile-name,
.hmg-cp-profile-email {
  margin: 0;
  overflow-wrap: anywhere;
}

.hmg-cp-profile-name {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
}

.hmg-cp-profile-email {
  color: var(--hmg-cp-muted);
  font-size: 0.8125rem;
  margin-top: 0.15rem;
}

.hmg-cp-profile-progress-label {
  align-items: center;
  display: flex;
  font-size: 0.8125rem;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.hmg-cp-profile-progress-track {
  background: var(--hmg-cp-surface);
  border-radius: 999px;
  height: 0.5rem;
  overflow: hidden;
}

.hmg-cp-profile-progress-track > span {
  background: var(--hmg-cp-primary);
  display: block;
  height: 100%;
}

.hmg-cp-profile-checklist {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.hmg-cp-profile-checklist li {
  color: var(--hmg-cp-muted);
  font-size: 0.875rem;
  padding: 0.25rem 0 0.25rem 1.35rem;
  position: relative;
}

.hmg-cp-profile-checklist li::before {
  color: var(--hmg-cp-border);
  content: '○';
  left: 0;
  position: absolute;
}

.hmg-cp-profile-checklist li.is-complete {
  color: var(--hmg-cp-text);
}

.hmg-cp-profile-checklist li.is-complete::before {
  color: var(--hmg-cp-primary);
  content: '●';
}

.hmg-cp-profile-summary-hint {
  color: var(--hmg-cp-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
  margin: 1rem 0 0;
}

.hmg-cp-profile-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.hmg-cp-profile-card-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hmg-cp-profile-card h2,
.hmg-cp-profile-security summary h2 {
  color: var(--hmg-cp-text);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.hmg-cp-profile-card-header p,
.hmg-cp-profile-security summary p {
  color: var(--hmg-cp-muted);
  font-size: 0.875rem;
  line-height: 1.45;
  margin: 0.25rem 0 0;
}

.hmg-cp-profile-resume-status,
.hmg-cp-profile-empty {
  color: var(--hmg-cp-muted);
  font-size: 0.9375rem;
  margin: 0 0 0.875rem;
}

.hmg-cp-profile-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.hmg-cp-profile input[readonly] {
  background: var(--hmg-cp-surface);
  color: var(--hmg-cp-muted);
}

.hmg-cp-profile-timeline {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.hmg-cp-profile-timeline li {
  align-items: flex-start;
  border: 1px solid var(--hmg-cp-border);
  border-radius: calc(var(--hmg-cp-radius) - 4px);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding: 0.85rem 1rem;
}

.hmg-cp-profile-timeline li:last-child {
  margin-bottom: 0;
}

.hmg-cp-profile-security summary {
  cursor: pointer;
  list-style: none;
}

.hmg-cp-profile-security summary::-webkit-details-marker {
  display: none;
}

.hmg-cp-profile-security[open] summary {
  margin-bottom: 1rem;
}

.hmg-cp-profile .hmg-cp-resume-form,
.hmg-cp-profile .hmg-cp-work-form,
.hmg-cp-profile .hmg-cp-education-form,
.hmg-cp-profile .hmg-cp-profile-form,
.hmg-cp-profile .hmg-cp-change-password-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hmg-cp-profile .hmg-cp-work-form[hidden],
.hmg-cp-profile .hmg-cp-education-form[hidden] {
  display: none;
}

.hmg-cp-profile .hmg-cp-button-primary {
  align-items: center;
  background: var(--hmg-cp-primary);
  border: 1px solid var(--hmg-cp-primary);
  border-radius: calc(var(--hmg-cp-radius) - 4px);
  color: #fff;
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.625rem 1rem;
  text-decoration: none;
  width: fit-content;
}

.hmg-cp-profile .hmg-cp-button-secondary {
  align-items: center;
  background: var(--hmg-cp-bg);
  border: 1px solid var(--hmg-cp-border);
  border-radius: calc(var(--hmg-cp-radius) - 4px);
  color: var(--hmg-cp-text);
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 0.9rem;
  width: fit-content;
}

.hmg-cp-apply-modal .hmg-cp-modal-dialog {
  max-height: min(90vh, 100%);
  max-width: 34rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1.75rem;
  position: relative;
  width: min(34rem, calc(100vw - 2rem));
}

.hmg-cp-apply-modal .hmg-cp-apply-address-typeahead.is-fixed-overlay,
.hmg-cp-apply-modal .hmg-cp-multiselect-panel.is-fixed-overlay {
  margin-top: 0;
  right: auto;
}

.hmg-cp-apply-modal.hmg-cp-modal .hmg-cp-modal-dialog > .hmg-cp-modal-close {
  appearance: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--hmg-cp-muted) !important;
  display: inline-flex !important;
  float: none !important;
  height: 2rem !important;
  inset-inline-end: 0.85rem !important;
  inset-inline-start: auto !important;
  left: auto !important;
  margin: 0 !important;
  max-height: 2rem !important;
  max-width: 2rem !important;
  min-height: 2rem !important;
  min-width: 2rem !important;
  padding: 0 !important;
  position: absolute !important;
  right: 0.85rem !important;
  top: 0.75rem !important;
  width: 2rem !important;
}

.hmg-cp-apply-modal.hmg-cp-modal .hmg-cp-modal-dialog > .hmg-cp-modal-close:hover,
.hmg-cp-apply-modal.hmg-cp-modal .hmg-cp-modal-dialog > .hmg-cp-modal-close:focus-visible {
  background: var(--hmg-cp-surface) !important;
  background-color: var(--hmg-cp-surface) !important;
  color: var(--hmg-cp-text) !important;
}

.hmg-cp-apply-modal .hmg-cp-apply--modal {
  min-width: 0;
}

.hmg-cp-apply-modal .hmg-cp-apply-wizard-progress {
  margin-top: 0;
}

.hmg-cp-apply-title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.35rem;
  padding-right: 2rem;
}

.hmg-cp-apply-intro {
  color: var(--hmg-cp-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

.hmg-cp-apply-eeo {
  color: var(--hmg-cp-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0.75rem 0 0;
}

.hmg-cp-apply-eeo p:last-child {
  margin-bottom: 0;
}

.hmg-cp-apply-privacy {
  color: var(--hmg-cp-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0.5rem 0 0;
}

.hmg-cp-captcha {
  margin: 0.75rem 0 0.25rem;
  min-height: 65px;
}

.hmg-cp-talent-inquire-modal .hmg-cp-captcha {
  margin: 1rem 0 0.5rem;
}

.hmg-cp-captcha-frame {
  display: block;
  width: 100%;
  max-width: 400px;
  height: 80px;
  border: 0;
  overflow: hidden;
}

.hmg-cp-apply-modal .hmg-cp-apply--modal .hmg-cp-form-actions {
  align-items: stretch;
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: stretch;
  margin-top: 0.5rem;
  width: 100%;
}

.hmg-cp-apply-modal .hmg-cp-apply--modal .hmg-cp-form-actions .hmg-cp-button-primary {
  flex: 1 1 12rem;
  min-height: 2.75rem;
  min-width: 0;
  width: auto;
}

.hmg-cp-apply-modal .hmg-cp-apply--modal .hmg-cp-form-actions .hmg-cp-button-primary:only-child {
  flex: 1 1 100%;
  width: 100%;
}

.hmg-cp-apply-modal .hmg-cp-apply--modal .hmg-cp-form-actions .hmg-cp-button-secondary {
  flex: 0 0 auto;
  min-height: 2.75rem;
}

.hmg-cp-apply .hmg-cp-form-message {
  font-size: 0.875rem;
  margin: 0 0 0.85rem;
}

.hmg-cp-apply .hmg-cp-apply-form-message:not([hidden]) {
  font-weight: 600;
}

.hmg-cp-apply .hmg-cp-button.is-loading,
.hmg-cp-apply button[type="submit"].is-loading {
  align-items: center;
  cursor: wait;
  display: inline-flex;
  gap: 0.55rem;
  justify-content: center;
  opacity: 0.92;
  pointer-events: none;
}

.hmg-cp-apply--page {
  background: var(--hmg-cp-bg);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  box-shadow: var(--hmg-cp-shadow);
  padding: 1.75rem;
}

.hmg-cp-auth-modal .hmg-cp-modal-dialog {
  max-width: 28rem;
  padding: 1.75rem;
}

.hmg-cp-auth-modal .hmg-cp-modal-dialog > h2 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.25rem;
  padding-right: 2rem;
}

.hmg-cp-auth:not(.hmg-cp-auth--modal) {
  background: var(--hmg-cp-bg);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  box-shadow: var(--hmg-cp-shadow);
  margin-inline: auto;
  max-width: 32rem;
  padding: 1.75rem;
}

.hmg-cp-auth--modal {
  padding: 0;
}

.hmg-cp-auth > h2 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1rem;
}

.hmg-cp-auth-intro {
  color: var(--hmg-cp-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

.hmg-cp-auth-tabs {
  background: var(--hmg-cp-surface);
  border: 1px solid var(--hmg-cp-border);
  border-radius: calc(var(--hmg-cp-radius) - 2px);
  display: grid;
  gap: 0.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  isolation: isolate;
  margin-bottom: 1.25rem;
  overflow: hidden;
  padding: 0.25rem;
  position: relative;
  z-index: 1;
}

.hmg-cp-auth-tabs .hmg-cp-auth-tab {
  appearance: none !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: calc(var(--hmg-cp-radius) - 4px) !important;
  box-shadow: none !important;
  box-sizing: border-box;
  color: var(--hmg-cp-muted) !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  float: none !important;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  height: auto !important;
  inset: auto !important;
  letter-spacing: normal;
  line-height: 1.25;
  margin: 0 !important;
  max-width: none !important;
  min-height: 2.25rem;
  min-width: 0 !important;
  overflow: hidden;
  padding: 0.45rem 0.4rem !important;
  position: relative !important;
  text-align: center;
  text-decoration: none !important;
  text-indent: 0 !important;
  text-overflow: ellipsis;
  text-shadow: none !important;
  text-transform: none !important;
  transform: none !important;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  width: 100% !important;
  z-index: 1;
}

.hmg-cp-auth-tabs .hmg-cp-auth-tab:hover {
  color: var(--hmg-cp-text) !important;
}

.hmg-cp-auth-tabs .hmg-cp-auth-tab:focus-visible {
  outline: 2px solid var(--hmg-cp-primary) !important;
  outline-offset: 2px;
  z-index: 2;
}

.hmg-cp-auth-tabs .hmg-cp-auth-tab.is-active {
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08) !important;
  color: var(--hmg-cp-primary) !important;
}

.hmg-cp-auth-panel-help {
  color: var(--hmg-cp-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.hmg-cp-auth-sso {
  margin: 0 0 1rem;
}

.hmg-cp-social-login-options {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hmg-cp-social-login {
  align-items: center;
  display: inline-flex;
  gap: 0.55rem;
  justify-content: center;
  text-align: center;
}

.hmg-cp .hmg-cp-social-login--linkedin {
  background: #0a66c2;
  border-color: #0a66c2;
}

.hmg-cp .hmg-cp-social-login--facebook {
  background: #1877f2;
  border-color: #1877f2;
}

.hmg-cp .hmg-cp-social-login--github,
.hmg-cp .hmg-cp-social-login--x {
  background: #111827;
  border-color: #111827;
}

.hmg-cp .hmg-cp-social-login--linkedin:hover,
.hmg-cp .hmg-cp-social-login--linkedin:focus {
  background: #004182;
  border-color: #004182;
}

.hmg-cp .hmg-cp-social-login--facebook:hover,
.hmg-cp .hmg-cp-social-login--facebook:focus {
  background: #0c63d4;
  border-color: #0c63d4;
}

.hmg-cp .hmg-cp-social-login--github:hover,
.hmg-cp .hmg-cp-social-login--github:focus,
.hmg-cp .hmg-cp-social-login--x:hover,
.hmg-cp .hmg-cp-social-login--x:focus {
  background: #000;
  border-color: #000;
}

.hmg-cp-social-login.is-loading {
  cursor: wait;
  opacity: 0.88;
  pointer-events: none;
}

.hmg-cp-auth .hmg-cp-social-login {
  width: 100%;
}

.hmg-cp-social-login-icon {
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 0;
}

.hmg-cp-social-login-spinner {
  animation: hmg-cp-linkedin-spin 0.7s linear infinite;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  border-top-color: currentColor;
  box-sizing: border-box;
  display: inline-block;
  height: 1rem;
  width: 1rem;
}

@media (max-width: 520px) {
  .hmg-cp-social-login-options {
    grid-template-columns: 1fr;
  }
}

.hmg-cp-auth .hmg-cp-button.is-loading,
.hmg-cp-auth button[type="submit"].is-loading {
  align-items: center;
  cursor: wait;
  display: inline-flex;
  gap: 0.55rem;
  justify-content: center;
  opacity: 0.92;
  pointer-events: none;
}

.hmg-cp-button-spinner {
  animation: hmg-cp-linkedin-spin 0.7s linear infinite;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  border-top-color: currentColor;
  box-sizing: border-box;
  display: inline-block;
  flex: 0 0 auto;
  height: 1rem;
  width: 1rem;
}

@keyframes hmg-cp-linkedin-spin {
  to {
    transform: rotate(360deg);
  }
}

.hmg-cp-auth-sso-divider {
  align-items: center;
  color: var(--hmg-cp-muted);
  display: flex;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 0.75rem;
  letter-spacing: 0.04em;
  margin: 0.85rem 0 0;
  text-transform: uppercase;
}

.hmg-cp-auth-sso-divider::before,
.hmg-cp-auth-sso-divider::after {
  background: var(--hmg-cp-border);
  content: "";
  flex: 1 1 auto;
  height: 1px;
}

.hmg-cp-auth--modal .hmg-cp-form-actions .hmg-cp-button {
  width: 100%;
}

.hmg-cp-auth .hmg-cp-form-message {
  font-size: 0.875rem;
  margin-top: 1rem;
}

.hmg-cp-save-job.is-saved,
.hmg-cp-save-job.is-saved .hmg-cp-save-icon {
  color: #e11d48;
}

.hmg-cp-save-job.is-saved.hmg-cp-button-ghost:not(.hmg-cp-save-job--icon-only) {
  background: #fff1f2;
  border-color: #fecdd3;
}

/* Icon-only save (list/split cards + detail): muted heart; red on hover; saved stays red */
.hmg-cp-save-job.hmg-cp-save-job--icon-only {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--hmg-cp-muted, #6b7280);
  overflow: visible;
  position: relative;
}

.hmg-cp-save-job.hmg-cp-save-job--icon-only.is-saved {
  color: #e11d48;
}

.hmg-cp-save-job.hmg-cp-save-job--icon-only.is-saved:hover,
.hmg-cp-save-job.hmg-cp-save-job--icon-only.is-saved:focus-visible {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #e11d48;
}

.hmg-cp-save-job.hmg-cp-save-job--icon-only:not(.is-saved):hover,
.hmg-cp-save-job.hmg-cp-save-job--icon-only:not(.is-saved):focus-visible {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #e11d48;
}

.hmg-cp-save-job--icon-only .hmg-cp-save-hover-label {
  background: #111827;
  border-radius: 999px;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0;
  padding: 0.4rem 0.7rem;
  pointer-events: none;
  position: absolute;
  right: calc(100% + 0.4rem);
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.15s ease;
  white-space: nowrap;
  z-index: 5;
}

.hmg-cp-save-job--icon-only:hover .hmg-cp-save-hover-label,
.hmg-cp-save-job--icon-only:focus-visible .hmg-cp-save-hover-label {
  opacity: 1;
}

.hmg-cp-save-icon--svg {
  display: block;
  flex-shrink: 0;
  height: 1.35rem;
  width: 1.35rem;
}

.hmg-cp-card-heading-aside .hmg-cp-save-job--icon-only .hmg-cp-save-icon--svg {
  height: 1.15rem;
  width: 1.15rem;
}

.hmg-cp-save-job:not(.is-saved) .hmg-cp-save-icon--svg path {
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hmg-cp-save-job.is-saved .hmg-cp-save-icon--svg path {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0;
}

.hmg-cp-card-save-slot,
.hmg-cp-card-heading-aside .hmg-cp-card-save-slot {
  overflow: visible;
}

.hmg-cp-save-toast {
  background: #111827;
  border-radius: 999px;
  bottom: 1.25rem;
  box-shadow: var(--hmg-cp-shadow);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  left: 50%;
  max-width: min(90vw, 24rem);
  padding: 0.65rem 1rem;
  position: fixed;
  text-align: center;
  transform: translateX(-50%);
  z-index: 100001;
}

.hmg-cp-save-toast.is-success {
  background: #047857;
}

.hmg-cp-save-toast.is-error {
  background: #b91c1c;
}

.hmg-cp-save-toast[hidden] {
  display: none;
}

.hmg-cp-portal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hmg-cp-portal-list li {
  align-items: center;
  border-bottom: 1px solid var(--hmg-cp-border);
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.hmg-cp-portal-list-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.hmg-cp-portal-list-actions {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
}

.hmg-cp-portal-status,
.hmg-cp-portal-dates {
  color: var(--hmg-cp-muted);
  font-size: 0.8125rem;
  text-transform: capitalize;
}

.hmg-cp-portal-list-notes {
  color: var(--hmg-cp-text);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 0.4rem;
}

.hmg-cp-portal-list-notes > :first-child {
  margin-top: 0;
}

.hmg-cp-portal-list-notes > :last-child {
  margin-bottom: 0;
}

.hmg-cp-portal-list-notes p {
  margin: 0 0 0.5rem;
}

.hmg-cp-portal-list-notes ul,
.hmg-cp-portal-list-notes ol {
  margin: 0 0 0.5rem;
  padding-left: 1.25rem;
}

.hmg-cp-portal-list-notes ul {
  list-style: disc outside;
}

.hmg-cp-portal-list-notes .hmg-cp-notes-heading {
  color: var(--hmg-cp-text);
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.hmg-cp-portal-list-notes a {
  color: var(--hmg-cp-primary);
  text-decoration: underline;
}

.hmg-cp-portal-list-notes .hmg-cp-notes-underline {
  text-decoration: underline;
}

.hmg-cp-portal-list-notes ol {
  list-style: decimal outside;
}

/* The timeline styles its own list items; nested notes lists opt back out */
.hmg-cp-profile-timeline .hmg-cp-portal-list-notes li,
.hmg-cp-portal-list-notes li {
  background: none;
  border: 0;
  border-radius: 0;
  display: list-item;
  gap: 0;
  margin: 0 0 0.15rem;
  padding: 0;
}

.hmg-cp-portal-help {
  color: var(--hmg-cp-muted);
  font-size: 0.9375rem;
  margin: 0 0 1rem;
}

.hmg-cp-portal-recommended {
  margin-bottom: 1.5rem;
}

.hmg-cp-portal-recommended h2 {
  font-size: 1.125rem;
  margin: 0 0 0.75rem;
}

.hmg-cp-autofill-modal .hmg-cp-modal-dialog {
  max-width: 40rem;
  max-height: min(90vh, 52rem);
  overflow: auto;
}

.hmg-cp-autofill-intro,
.hmg-cp-autofill-meta {
  color: var(--hmg-cp-muted);
  font-size: 0.9375rem;
  margin: 0 0 1rem;
}

.hmg-cp-autofill-fieldset {
  border: 0;
  margin: 0 0 1.25rem;
  padding: 0;
}

.hmg-cp-autofill-fieldset legend {
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding: 0;
}

.hmg-cp-autofill-entry {
  border: 1px solid var(--hmg-cp-border);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem;
}

.hmg-cp-autofill-span {
  grid-column: 1 / -1;
}

.hmg-cp-autofill-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.hmg-cp-cover-letter-ai {
  display: grid;
  gap: 0.5rem;
}

.hmg-cp-ai-consent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--hmg-cp-text-muted, inherit);
}

.hmg-cp-ai-consent input {
  margin-top: 0.2rem;
}

.hmg-cp-ai-match,
.hmg-cp-seo-strip-ai {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.hmg-cp-seo-ai-result,
.hmg-cp-ai-match-result,
.hmg-cp-ai-admin-result {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--hmg-cp-border, #d0d5dd);
  border-radius: 8px;
  background: var(--hmg-cp-surface, #fff);
  max-height: 24rem;
  overflow: auto;
}

.hmg-cp-ai-draft-modal .hmg-cp-modal-dialog {
  display: flex;
  flex-direction: column;
  max-width: min(40rem, 100%);
  padding: 1.25rem 1.35rem 1.1rem;
}

.hmg-cp-ai-draft-modal .hmg-cp-modal-dialog > h2 {
  margin: 0 2rem 0.5rem 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.hmg-cp-ai-draft-modal__note {
  color: var(--hmg-cp-muted, #64748b);
  font-size: 0.8125rem;
  line-height: 1.45;
  margin: 0 0 0.85rem;
}

.hmg-cp-ai-draft-modal__note[hidden] {
  display: none;
}

.hmg-cp-ai-draft-modal__body {
  border: 1px solid var(--hmg-cp-border, #e2e8f0);
  border-radius: 0.65rem;
  flex: 1 1 auto;
  max-height: min(58vh, 28rem);
  overflow: auto;
  padding: 0.9rem 1rem;
  background: var(--hmg-cp-surface, #fff);
}

.hmg-cp-ai-draft-modal__body .hmg-cp-ai-draft-section + .hmg-cp-ai-draft-section {
  border-top: 1px solid var(--hmg-cp-border, #e2e8f0);
  margin-top: 0.9rem;
  padding-top: 0.9rem;
}

.hmg-cp-ai-draft-modal__body .hmg-cp-ai-draft-section > strong {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.hmg-cp-ai-draft-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.hmg-cp-seo-ai-result-head {
  color: var(--hmg-cp-text, #0f172a);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.hmg-cp-seo-ai-note {
  color: var(--hmg-cp-muted, #64748b);
  font-size: 0.8125rem;
  margin: 0 0 0.85rem;
}

.hmg-cp-seo-ai-block {
  border-top: 1px solid var(--hmg-cp-border, #e2e8f0);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

.hmg-cp-seo-ai-block:first-of-type {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.hmg-cp-seo-ai-block-bar {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.hmg-cp-seo-ai-copy {
  appearance: none;
  background: #fff;
  border: 1px solid var(--hmg-cp-border, #cbd5e1);
  border-radius: 0.4rem;
  color: var(--hmg-cp-primary, #8f2c3c);
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
}

.hmg-cp-seo-ai-copy:hover,
.hmg-cp-seo-ai-copy:focus {
  border-color: var(--hmg-cp-primary, #8f2c3c);
}

.hmg-cp-ai-json {
  white-space: pre-wrap;
  font-size: 0.8rem;
}

.hmg-cp-job-faq {
  margin-top: 1.5rem;
}

.hmg-cp-job-faq-list,
.hmg-cp-job-faq-preview {
  display: grid;
  gap: 0.5rem;
}

.hmg-cp-job-faq-item {
  border: 1px solid var(--hmg-cp-border, #d0d5dd);
  border-radius: 8px;
  background: var(--hmg-cp-surface, #fff);
  padding: 0.65rem 0.85rem;
}

.hmg-cp-job-faq-question,
.hmg-cp-job-faq-item > summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.hmg-cp-job-faq-question::-webkit-details-marker,
.hmg-cp-job-faq-item > summary::-webkit-details-marker {
  display: none;
}

.hmg-cp-job-faq-answer,
.hmg-cp-job-faq-item p {
  margin: 0.55rem 0 0;
  color: var(--hmg-cp-muted, #475467);
  line-height: 1.5;
}

.hmg-cp-job-list--recommended {
  display: grid;
  gap: 1rem;
}

.hmg-cp-toggle-alert,
.hmg-cp-delete-search,
.hmg-cp-delete-work,
.hmg-cp-delete-education {
  background: transparent;
  border: 1px solid var(--hmg-cp-border);
  border-radius: 999px;
  color: var(--hmg-cp-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
}

.hmg-cp-toggle-alert.is-on {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: #166534;
}

.hmg-cp-applied-label {
  cursor: default;
  opacity: 0.85;
  pointer-events: none;
}

.hmg-cp-resume-form .hmg-cp-resume-upload,
.hmg-cp-notifications-form .hmg-cp-checkbox {
  margin-bottom: 0.75rem;
}

/* Typeahead */
.hmg-cp-field {
  position: relative;
}

.hmg-cp-typeahead {
  background: #fff;
  border: 1px solid var(--hmg-cp-border);
  border-radius: calc(var(--hmg-cp-radius) - 4px);
  box-shadow: var(--hmg-cp-shadow);
  left: 0;
  margin-top: 0.25rem;
  max-height: 200px;
  overflow: auto;
  position: absolute;
  right: 0;
  z-index: 20;
}

.hmg-cp-typeahead button {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: block;
  padding: 0.5rem 0.75rem;
  text-align: left;
  width: 100%;
}

.hmg-cp-typeahead button:hover {
  background: var(--hmg-cp-surface);
}

.hmg-cp-form-message {
  margin-top: 0.75rem;
}

.hmg-cp-form-message.is-error {
  color: #b91c1c;
}

.hmg-cp-form-message.is-success {
  color: #047857;
}

.hmg-cp-form-message.is-pending {
  color: var(--hmg-cp-muted);
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* Listing templates */
.hmg-cp-job-embed-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.hmg-cp-embed-job {
  margin: 0;
}

.hmg-cp-embed-job__title {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.hmg-cp-embed-job__title:hover,
.hmg-cp-embed-job__title:focus-visible {
  text-decoration: underline;
}

.hmg-cp-job-embed-list--title-location .hmg-cp-embed-job__row {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.hmg-cp-job-embed-list--title-location .hmg-cp-embed-job__location {
  color: inherit;
  opacity: 0.85;
}

.hmg-cp-listing.hmg-cp-tmpl-grid.hmg-cp-container {
  max-width: none;
  width: 100%;
}

.hmg-cp-tmpl-grid .hmg-cp-job-list-skeleton,
.hmg-cp-tmpl-grid .hmg-cp-job-list-content {
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
}

@media (max-width: 1024px) {
  .hmg-cp-tmpl-grid .hmg-cp-job-list-skeleton,
  .hmg-cp-tmpl-grid .hmg-cp-job-list-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Grid layout: Skip the Search is hidden (no inline card, no tools bar strip). */
.hmg-cp-tmpl-grid .hmg-cp-job-list-content > .hmg-cp-skip-search-card {
  display: none;
}

.hmg-cp-tmpl-grid .hmg-cp-listing-tools-bar {
  display: none;
}

.hmg-cp-tmpl-grid .hmg-cp-card {
  height: 100%;
}

.hmg-cp-tmpl-grid .hmg-cp-card-excerpt {
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hmg-cp-tmpl-grid .hmg-cp-results {
  min-width: 0;
}

/* Grid listing cards — Haley / Bolt reference parity */
.hmg-cp-card-hot-badge,
.hmg-cp-card-subtitle,
.hmg-cp-card-grid-divider,
.hmg-cp-card-grid-meta,
.hmg-cp-card-inline-badges {
  display: none;
}

.hmg-cp-tmpl-grid .hmg-cp-card:not(.hmg-cp-card--compact) {
  background: var(--hmg-cp-bg, #fff);
  border: 1px solid var(--hmg-cp-border);
}

.hmg-cp-tmpl-grid .hmg-cp-card--hot:not(.hmg-cp-card--compact) {
  overflow: visible;
}

.hmg-cp-tmpl-grid .hmg-cp-card:not(.hmg-cp-card--compact) .hmg-cp-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.15rem 1.15rem 0.85rem;
}

.hmg-cp-tmpl-grid .hmg-cp-card--hot:not(.hmg-cp-card--compact) .hmg-cp-card-body {
  padding-top: 1.55rem;
}

.hmg-cp-tmpl-grid .hmg-cp-card:not(.hmg-cp-card--compact) .hmg-cp-card-heading {
  display: grid;
  gap: 0.35rem 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto auto;
  margin-bottom: 0;
}

.hmg-cp-tmpl-grid .hmg-cp-card--hot .hmg-cp-card-hot-badge {
  align-items: center;
  background: #eef2f6;
  border: 1px solid #1e293b;
  border-radius: 999px;
  box-sizing: border-box;
  color: #1e293b;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 0.35rem;
  left: 1.15rem;
  letter-spacing: 0;
  line-height: 1.2;
  padding: 0.22rem 0.65rem 0.22rem 0.5rem;
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  width: fit-content;
  z-index: 3;
}

.hmg-cp-tmpl-grid .hmg-cp-card-hot-badge__icon {
  display: block;
  flex-shrink: 0;
  height: 0.9375rem;
  width: 0.9375rem;
}

.hmg-cp-tmpl-grid .hmg-cp-card-hot-badge__label {
  color: #1e293b;
  line-height: 1.2;
}

.hmg-cp-tmpl-grid .hmg-cp-card-title {
  color: #1e293b;
  font-size: 1.0625rem;
  font-weight: 700;
  grid-column: 1 / -1;
  grid-row: 1;
  line-height: 1.35;
  margin: 0;
}

.hmg-cp-tmpl-grid .hmg-cp-card-title a {
  color: inherit;
}

.hmg-cp-tmpl-grid .hmg-cp-card-title a:hover {
  color: var(--hmg-cp-primary);
}

.hmg-cp-tmpl-grid .hmg-cp-card-subtitle {
  color: #1e293b;
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  grid-column: 1 / -1;
  grid-row: 2;
  line-height: 1.35;
  margin: 0;
}

.hmg-cp-tmpl-grid .hmg-cp-card-grid-divider {
  background: none;
  border: 0;
  border-top: 1px solid var(--hmg-cp-border);
  display: block;
  grid-column: 1 / -1;
  height: 0;
  margin: 0.55rem 0 0;
  padding: 0;
}

.hmg-cp-tmpl-grid .hmg-cp-card-grid-divider {
  grid-row: 3;
}

.hmg-cp-tmpl-grid .hmg-cp-card-heading-aside {
  align-self: start;
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}

.hmg-cp-tmpl-grid .hmg-cp-card--has-heading-aside .hmg-cp-card-heading-aside {
  grid-row: 1 / span 2;
}

.hmg-cp-tmpl-grid .hmg-cp-card-heading-aside .hmg-cp-card-date,
.hmg-cp-tmpl-grid .hmg-cp-card-heading .hmg-cp-card-field-block--date {
  display: none;
}

.hmg-cp-tmpl-grid .hmg-cp-card-grid-meta--quadrant {
  display: grid;
  gap: 0.5rem 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0.85rem 0 0.65rem;
}

.hmg-cp-tmpl-grid .hmg-cp-card-inline-badges {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
  max-width: 100%;
  overflow-x: auto;
}

.hmg-cp-tmpl-grid .hmg-cp-card-inline-badges .hmg-cp-card-field-block {
  display: block !important;
  flex: 0 0 auto;
  margin: 0;
  max-width: none;
}

.hmg-cp-tmpl-grid .hmg-cp-card-inline-badges .hmg-cp-card-field-drag,
.hmg-cp-tmpl-grid .hmg-cp-card-inline-badges .hmg-cp-card-field-remove {
  display: none;
}

.hmg-cp-tmpl-grid .hmg-cp-card-grid-meta-item {
  align-items: center;
  color: #64748b;
  display: inline-flex;
  font-size: 0.8125rem;
  gap: 0.35rem;
  line-height: 1.35;
  min-width: 0;
}

.hmg-cp-tmpl-grid .hmg-cp-card-grid-meta-item--location::before,
.hmg-cp-tmpl-grid .hmg-cp-card-grid-meta-item--salary::before,
.hmg-cp-tmpl-grid .hmg-cp-card-grid-meta-item--date::before,
.hmg-cp-tmpl-grid .hmg-cp-card-grid-meta-item--experience::before {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  flex-shrink: 0;
  height: 0.875rem;
  opacity: 0.85;
  width: 0.875rem;
}

.hmg-cp-tmpl-grid .hmg-cp-card-grid-meta-item--location::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M10 10.625a2.188 2.188 0 1 0 0-4.375 2.188 2.188 0 0 0 0 4.375Z' stroke='%2364748b' stroke-width='1.5'/%3E%3Cpath d='M10 18.125s5.625-4.219 5.625-8.438a5.625 5.625 0 1 0-11.25 0c0 4.219 5.625 8.438 5.625 8.438Z' stroke='%2364748b' stroke-width='1.5'/%3E%3C/svg%3E");
}

.hmg-cp-tmpl-grid .hmg-cp-card-grid-meta-item--salary::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Crect x='2.5' y='5' width='15' height='10' rx='1.5' stroke='%2364748b' stroke-width='1.5'/%3E%3Ccircle cx='10' cy='10' r='2.25' stroke='%2364748b' stroke-width='1.5'/%3E%3C/svg%3E");
}

.hmg-cp-tmpl-grid .hmg-cp-card-grid-meta-item--date::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Crect x='3' y='4.5' width='14' height='12.5' rx='1.5' stroke='%2364748b' stroke-width='1.5'/%3E%3Cpath d='M6.5 3v3M13.5 3v3M3 8.5h14' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.hmg-cp-tmpl-grid .hmg-cp-card-grid-meta-item--experience::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='6.5' r='2.75' stroke='%2364748b' stroke-width='1.5'/%3E%3Cpath d='M4.5 16.25c0-3.038 2.462-5.5 5.5-5.5s5.5 2.462 5.5 5.5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.hmg-cp-tmpl-grid .hmg-cp-card-fields {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.45rem;
  margin-top: 0;
}

.hmg-cp-tmpl-grid .hmg-cp-card-fields .hmg-cp-card-field-block--location,
.hmg-cp-tmpl-grid .hmg-cp-card-fields .hmg-cp-card-field-block--salary,
.hmg-cp-tmpl-grid .hmg-cp-card-fields .hmg-cp-card-field-block--date,
.hmg-cp-tmpl-grid .hmg-cp-card-fields .hmg-cp-card-field-block--experience_level,
.hmg-cp-tmpl-grid .hmg-cp-card-fields .hmg-cp-card-field-block--employment_type,
.hmg-cp-tmpl-grid .hmg-cp-card-fields .hmg-cp-card-field-block--remote,
.hmg-cp-tmpl-grid .hmg-cp-card-field-block--company,
.hmg-cp-tmpl-grid .hmg-cp-card-field-block--recruiter {
  display: none !important;
}

.hmg-cp-tmpl-grid .hmg-cp-card-inline-badges .hmg-cp-card-field-block--employment_type .hmg-cp-card-badge {
  background: #eef2ff;
  border-color: #c7d2fe;
  border-radius: 999px;
  color: #4338ca;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
}

.hmg-cp-tmpl-grid .hmg-cp-card-inline-badges .hmg-cp-card-field-block--remote .hmg-cp-badge-remote {
  background: #ecfdf5;
  border-color: #a7f3d0;
  border-radius: 999px;
  color: #047857;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
}

.hmg-cp-tmpl-grid .hmg-cp-card-excerpt {
  -webkit-line-clamp: 4;
  color: #334155;
  font-size: 0.8125rem;
  line-clamp: 4;
  line-height: 1.55;
  margin: 0.15rem 0 0;
}

.hmg-cp-tmpl-grid .hmg-cp-card:not(.hmg-cp-card--compact) .hmg-cp-card-footer {
  background: transparent;
  border-top: 0;
  margin-top: auto;
  padding: 0 1.15rem 1.15rem;
}

.hmg-cp-tmpl-grid .hmg-cp-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.hmg-cp-tmpl-grid .hmg-cp-card-action-block--view {
  display: none !important;
}

.hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply {
  display: flex !important;
  flex: 1 1 auto;
  width: 100%;
}

.hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply .hmg-cp-button,
.hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply .hmg-cp-button-secondary,
.hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply .hmg-cp-external-apply,
.hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply .hmg-cp-apply-page-link,
.hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply .hmg-cp-apply-trigger,
.hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply .hmg-cp-applied-label {
  background: #1e293b;
  border-color: #1e293b;
  border-radius: var(--hmg-cp-card-inner-radius, 8px);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.55rem 2.85rem 0.55rem 1rem;
  position: relative;
  width: 100%;
}

.hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply .hmg-cp-button::before,
.hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply .hmg-cp-button-secondary::before,
.hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply .hmg-cp-external-apply::before,
.hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply .hmg-cp-apply-page-link::before,
.hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply .hmg-cp-apply-trigger::before {
  background: rgba(255, 255, 255, 0.28);
  bottom: 0.45rem;
  content: "";
  position: absolute;
  right: 2.35rem;
  top: 0.45rem;
  width: 1px;
}

.hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply .hmg-cp-button::after,
.hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply .hmg-cp-button-secondary::after,
.hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply .hmg-cp-external-apply::after,
.hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply .hmg-cp-apply-page-link::after,
.hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply .hmg-cp-apply-trigger::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23ffffff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0.875rem;
  content: "";
  height: 1.25rem;
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
}

body[class*="elementor-kit-"] .hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply :is(.hmg-cp-button, .hmg-cp-button-secondary, .hmg-cp-external-apply, .hmg-cp-apply-page-link, .hmg-cp-apply-trigger),
body.elementor-page .elementor-widget-container .hmg-cp-tmpl-grid .hmg-cp-card-action-block--apply :is(.hmg-cp-button, .hmg-cp-button-secondary, .hmg-cp-external-apply, .hmg-cp-apply-page-link, .hmg-cp-apply-trigger) {
  background: #1e293b !important;
  background-color: #1e293b !important;
  background-image: none !important;
  border-color: #1e293b !important;
  color: #fff !important;
}

.hmg-cp-card--compact {
  align-items: stretch;
  flex-direction: row;
  gap: 0;
}

.hmg-cp-card--compact .hmg-cp-card-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.85rem 1rem;
}

.hmg-cp-card--compact .hmg-cp-card-heading {
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.2rem;
}

.hmg-cp-card--compact .hmg-cp-card-title {
  font-size: 1rem;
}

.hmg-cp-card--compact .hmg-cp-card-fields {
  gap: 0.45rem;
}

.hmg-cp-card--compact .hmg-cp-card-field-block--meta .hmg-cp-card-field-content {
  font-size: 0.875rem;
}

.hmg-cp-card--compact .hmg-cp-card-footer {
  align-self: stretch;
  background: transparent;
  border-left: 1px solid var(--hmg-cp-border);
  border-top: 0;
  flex: 0 0 auto;
  padding: 0.65rem 0.85rem;
}

.hmg-cp-card--compact .hmg-cp-card-actions {
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.45rem;
  height: 100%;
  justify-content: flex-end;
}

.hmg-cp-card--compact .hmg-cp-button {
  min-height: 2rem;
  max-width: 100%;
  padding: 0.45rem 0.85rem;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .hmg-cp-card--compact {
    flex-direction: column;
  }

  .hmg-cp-card--compact .hmg-cp-card-footer {
    border-left: 0;
    border-top: 1px solid var(--hmg-cp-border);
  }

  .hmg-cp-card--compact .hmg-cp-card-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
  }

  .hmg-cp-card--compact .hmg-cp-button {
    white-space: normal;
  }
}

/* Editor-only job SEO strip */
.hmg-cp-seo-widget {
  margin-bottom: 1rem;
  max-width: 100%;
}

.hmg-cp-seo-strip {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--hmg-cp-border);
  border-radius: 999px;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.75rem;
  gap: 0.45rem 0.65rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 100%;
  padding: 0.4rem 0.75rem;
}

.hmg-cp .hmg-cp-seo-strip {
  font-size: 0.75rem !important;
  line-height: 1.2 !important;
}

.hmg-cp .hmg-cp-seo-strip > * {
  margin: 0;
}

.hmg-cp-seo-strip--pass {
  border-color: #86efac;
}

.hmg-cp-seo-strip--warn {
  border-color: #fcd34d;
}

.hmg-cp-seo-strip--fail {
  border-color: #fca5a5;
}

.hmg-cp-seo-strip-badge {
  background: #1e293b;
  border-radius: 999px;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  padding: 0.15rem 0.45rem;
  text-transform: uppercase;
}

.hmg-cp .hmg-cp-seo-strip-badge {
  font-size: 0.625rem !important;
  line-height: 1.2 !important;
}

.hmg-cp-seo-strip-title {
  color: var(--hmg-cp-muted);
  font-weight: 600;
}

.hmg-cp-seo-strip-score {
  font-weight: 700;
}

.hmg-cp-seo-strip-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hmg-cp-seo-chip {
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: help;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.15rem 0.5rem;
}

.hmg-cp .hmg-cp-seo-chip {
  font-size: 0.6875rem !important;
  line-height: 1.2 !important;
}

.hmg-cp-seo-chip--pass {
  background: #ecfdf5;
  border-color: #86efac;
  color: #047857;
}

.hmg-cp-seo-chip--warn {
  background: #fffbeb;
  border-color: #fcd34d;
  color: #b45309;
}

.hmg-cp-seo-chip--fail {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #b91c1c;
}

.hmg-cp-seo-strip-note {
  color: #b45309;
  font-size: 0.6875rem;
  font-weight: 600;
}

.hmg-cp-seo-strip-note--muted {
  color: var(--hmg-cp-muted);
  font-weight: 500;
}

.hmg-cp-seo-toggle,
.hmg-cp-seo-fix-all,
.hmg-cp-seo-fix-one {
  appearance: none;
  background: #fff;
  background-image: none;
  border: 1px solid var(--hmg-cp-border);
  border-radius: 999px;
  box-shadow: none;
  color: #1e293b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  min-height: 0;
  padding: 0.2rem 0.6rem;
  text-shadow: none;
  width: auto;
}

.hmg-cp .hmg-cp-seo-strip .hmg-cp-seo-toggle,
.hmg-cp .hmg-cp-seo-strip .hmg-cp-seo-fix-all,
.hmg-cp .hmg-cp-seo-strip .hmg-cp-seo-fix-one {
  font-size: 0.6875rem !important;
  line-height: 1.2 !important;
  min-height: 0 !important;
  padding: 0.2rem 0.6rem !important;
}

.hmg-cp .hmg-cp-seo-strip .hmg-cp-seo-toggle {
  background: #fff !important;
  border-color: var(--hmg-cp-border) !important;
  color: #1e293b !important;
}

.hmg-cp-seo-fix-all {
  background: #1e293b;
  border-color: #1e293b;
  color: #fff;
}

.hmg-cp .hmg-cp-seo-strip .hmg-cp-seo-fix-all {
  background: #1e293b !important;
  border-color: #1e293b !important;
  color: #fff !important;
}

.hmg-cp-seo-fix-all:disabled,
.hmg-cp-seo-fix-one:disabled {
  cursor: wait;
  opacity: 0.7;
}

.hmg-cp-seo-panel {
  background: #fff;
  border: 1px solid var(--hmg-cp-border);
  border-radius: 12px;
  margin-top: 0.5rem;
  padding: 1rem;
}

.hmg-cp-seo-panel-intro {
  color: var(--hmg-cp-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
  margin: 0 0 1rem;
}

.hmg-cp-seo-channel {
  border-top: 1px solid var(--hmg-cp-border);
  padding-top: 0.85rem;
}

.hmg-cp-seo-channel + .hmg-cp-seo-channel {
  margin-top: 0.85rem;
}

.hmg-cp-seo-channel-header {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  margin-bottom: 0.65rem;
}

.hmg-cp-seo-channel-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0;
}

.hmg-cp-seo-channel-score {
  font-size: 0.75rem;
  font-weight: 700;
}

.hmg-cp-seo-channel-status {
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.1rem 0.45rem;
  text-transform: uppercase;
}

.hmg-cp-seo-channel--pass .hmg-cp-seo-channel-status {
  background: #ecfdf5;
  color: #047857;
}

.hmg-cp-seo-channel--warn .hmg-cp-seo-channel-status {
  background: #fffbeb;
  color: #b45309;
}

.hmg-cp-seo-channel--fail .hmg-cp-seo-channel-status {
  background: #fef2f2;
  color: #b91c1c;
}

.hmg-cp-seo-checks {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hmg-cp-seo-check {
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: auto 1fr auto;
  padding: 0.65rem 0.75rem;
}

.hmg-cp-seo-check--pass {
  border-color: #bbf7d0;
}

.hmg-cp-seo-check--warn {
  border-color: #fde68a;
}

.hmg-cp-seo-check--fail {
  border-color: #fecaca;
}

.hmg-cp-seo-check-icon {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  height: 1.35rem;
  justify-content: center;
  width: 1.35rem;
}

.hmg-cp-seo-check--pass .hmg-cp-seo-check-icon {
  background: #dcfce7;
  color: #15803d;
}

.hmg-cp-seo-check--warn .hmg-cp-seo-check-icon {
  background: #fef3c7;
  color: #b45309;
}

.hmg-cp-seo-check--fail .hmg-cp-seo-check-icon {
  background: #fee2e2;
  color: #b91c1c;
}

.hmg-cp-seo-check-label {
  display: block;
  font-size: 0.8125rem;
  margin-bottom: 0.2rem;
}

.hmg-cp-seo-check-help {
  color: #334155;
  font-size: 0.75rem;
  line-height: 1.45;
  margin: 0 0 0.35rem;
}

.hmg-cp-seo-check-verdict {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
}

.hmg-cp-seo-check-verdict--pass {
  color: #047857;
}

.hmg-cp-seo-check-verdict--warn {
  color: #b45309;
}

.hmg-cp-seo-check-verdict--fail {
  color: #b91c1c;
}

.hmg-cp-seo-check-admin-only {
  color: var(--hmg-cp-muted);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hmg-cp-seo-panel-footer {
  border-top: 1px solid var(--hmg-cp-border);
  margin-top: 1rem;
  padding-top: 0.85rem;
}

.hmg-cp-seo-settings-link {
  font-size: 0.75rem;
  font-weight: 600;
}

.hmg-cp-seo-panel-note {
  color: var(--hmg-cp-muted);
  font-size: 0.6875rem;
  line-height: 1.45;
  margin: 0.5rem 0 0;
}

.hmg-cp-seo-panel-help-links {
  font-size: 0.6875rem;
  line-height: 1.45;
  margin: 0.5rem 0 0;
}

.hmg-cp-seo-panel-help-links a {
  color: var(--hmg-cp-primary, #2271b1);
  text-decoration: none;
}

.hmg-cp-seo-panel-help-links a:hover,
.hmg-cp-seo-panel-help-links a:focus {
  text-decoration: underline;
}

.hmg-cp-seo-message {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.hmg-cp-seo-message.is-success {
  color: #047857;
}

.hmg-cp-seo-message.is-error {
  color: #b91c1c;
}

@media (max-width: 640px) {
  .hmg-cp-seo-strip {
    align-items: flex-start;
    border-radius: 12px;
    flex-direction: column;
    padding: 0.65rem 0.85rem;
  }

  .hmg-cp-seo-strip-chips {
    width: 100%;
  }

  .hmg-cp-seo-check {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .hmg-cp-seo-fix-one,
  .hmg-cp-seo-check-admin-only {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* Taxonomy archive + recruiter pages */
.hmg-cp-archive-kicker {
  color: var(--hmg-cp-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 0.25rem;
  text-transform: uppercase;
}

.hmg-cp-archive-description {
  color: var(--hmg-cp-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0.35rem 0 0;
  max-width: 60ch;
}

.hmg-cp-location-tree,
.hmg-cp-location-tree > .hmg-cp-location-tree-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hmg-cp-location-tree-item + .hmg-cp-location-tree-item {
  margin-top: 0.5rem;
}

.hmg-cp-location-tree-link {
  align-items: center;
  color: inherit;
  display: flex;
  font-size: 0.9375rem;
  font-weight: 700;
  gap: 0.75rem;
  justify-content: space-between;
  line-height: 1.4;
  text-decoration: none;
}

.hmg-cp-location-tree-link:hover,
.hmg-cp-location-tree-child a:hover {
  color: var(--hmg-cp-primary);
}

.hmg-cp-location-tree-link span,
.hmg-cp-location-tree-child a span {
  color: var(--hmg-cp-muted);
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  min-width: 1.75rem;
  text-align: right;
}

ul.hmg-cp-location-tree-children {
  border-left: 1px solid #cbd5e1;
  list-style: none;
  margin: 0.45rem 0 0 1.25rem;
  padding: 0.2rem 0 0.2rem 1.35rem;
}

.hmg-cp-location-tree-child {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hmg-cp-location-tree-child + .hmg-cp-location-tree-child {
  margin-top: 0.35rem;
}

.hmg-cp-location-tree-child a {
  align-items: center;
  color: var(--hmg-cp-muted);
  display: flex;
  font-size: 0.875rem;
  font-weight: 500;
  gap: 0.5rem;
  justify-content: space-between;
  line-height: 1.4;
  text-decoration: none;
}

.hmg-cp-location-tree-item.is-active > .hmg-cp-location-tree-link,
.hmg-cp-location-tree-child.is-active > a {
  color: var(--hmg-cp-primary);
  font-weight: 700;
}

.hmg-cp-location-tree-item.is-active .hmg-cp-location-tree-children,
.hmg-cp-location-tree-item:has(.hmg-cp-location-tree-child.is-active) .hmg-cp-location-tree-children {
  border-left-color: var(--hmg-cp-primary);
}

.hmg-cp-taxonomy-list,
.hmg-cp-sidebar-section + .hmg-cp-sidebar-section {
  margin-top: 1.25rem;
}

.hmg-cp-taxonomy-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hmg-cp-taxonomy-list li + li {
  margin-top: 0.35rem;
}

.hmg-cp-taxonomy-list a {
  align-items: center;
  color: inherit;
  display: flex;
  font-size: 0.875rem;
  justify-content: space-between;
  text-decoration: none;
}

.hmg-cp-taxonomy-list a:hover {
  color: var(--hmg-cp-primary);
}

.hmg-cp-taxonomy-list span {
  color: var(--hmg-cp-muted);
  font-size: 0.8125rem;
}

.hmg-cp-detail-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 0.75rem;
}

.hmg-cp-chip {
  background: #f1f5f9;
  border-radius: 999px;
  color: inherit;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  text-decoration: none;
}

.hmg-cp-chip:hover {
  background: #e2e8f0;
  color: var(--hmg-cp-primary);
}

.hmg-cp-recruiter-header {
  background: #f8fafc;
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  margin-bottom: 1.5rem;
  padding: 1.25rem;
}

.hmg-cp-recruiter-profile {
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr;
}

.hmg-cp-recruiter-photo {
  border-radius: 999px;
  height: 120px;
  object-fit: cover;
  width: 120px;
}

.hmg-cp-recruiter-photo--placeholder {
  align-items: center;
  background: var(--hmg-cp-primary);
  color: #fff;
  display: flex;
  font-size: 2rem;
  font-weight: 700;
  justify-content: center;
}

.hmg-cp-recruiter-kicker {
  color: var(--hmg-cp-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 0.25rem;
  text-transform: uppercase;
}

.hmg-cp-recruiter-name {
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0;
}

.hmg-cp-recruiter-title,
.hmg-cp-recruiter-location {
  color: var(--hmg-cp-muted);
  margin: 0.25rem 0 0;
}

.hmg-cp-recruiter-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.hmg-cp-recruiter-bio {
  border-top: 1px solid var(--hmg-cp-border);
  margin-top: 1rem;
  padding-top: 1rem;
}

.hmg-cp-recruiter-link {
  color: var(--hmg-cp-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.hmg-cp-recruiter-link:hover {
  text-decoration: underline;
}

.hmg-cp-card-recruiter {
  display: block;
  margin-top: 0.2rem;
}

.hmg-cp-card-recruiter:empty {
  display: none;
}

.hmg-cp-detail-recruiter {
  margin: 0.35rem 0 0;
}

.hmg-cp-recruiter-back {
  color: var(--hmg-cp-muted);
  font-size: 0.875rem;
  margin-top: 1.5rem;
}

.hmg-cp-recruiter-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.hmg-cp-recruiter-card {
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  overflow: hidden;
}

.hmg-cp-recruiter-card-link {
  color: inherit;
  display: block;
  padding: 1rem;
  text-decoration: none;
}

.hmg-cp-recruiter-card-link:hover {
  background: #f8fafc;
}

.hmg-cp-recruiter-card-photo {
  border-radius: 999px;
  height: 72px;
  margin-bottom: 0.75rem;
  object-fit: cover;
  width: 72px;
}

.hmg-cp-recruiter-card-name {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}

.hmg-cp-recruiter-card-title,
.hmg-cp-recruiter-card-location,
.hmg-cp-recruiter-card-count {
  color: var(--hmg-cp-muted);
  font-size: 0.8125rem;
  margin: 0.15rem 0 0;
}

@media (max-width: 640px) {
  .hmg-cp-recruiter-profile {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

/* Responsive — consolidated breakpoints */
@media (max-width: 959px) {
  .hmg-cp-sidebar {
    order: -1;
    position: static;
  }

  .hmg-cp-clear-filters {
    margin-left: 0;
  }
}

@media (max-width: 639px) {
  .hmg-cp-container {
    padding-block: 1.25rem;
  }

  .hmg-cp-results,
  .hmg-cp-job-list {
    min-width: 0;
  }

  .hmg-cp-featured-grid {
    grid-template-columns: 1fr;
  }

  .hmg-cp-tmpl-grid .hmg-cp-job-list-skeleton,
  .hmg-cp-tmpl-grid .hmg-cp-job-list-content {
    grid-template-columns: 1fr;
  }

  .hmg-cp-card-heading {
    gap: 0.25rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .hmg-cp-card--has-heading-aside .hmg-cp-card-heading {
    gap: 0.15rem;
  }

  .hmg-cp-card-title {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .hmg-cp-card--has-heading-aside .hmg-cp-card-title {
    grid-row: 2;
  }

  .hmg-cp-card-heading-aside {
    flex-wrap: wrap;
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-end;
    justify-self: stretch;
    width: 100%;
  }

  .hmg-cp-card--has-heading-aside .hmg-cp-card-heading-aside {
    grid-row: 1;
    margin-bottom: 0.05rem;
  }

  .hmg-cp-card-heading .hmg-cp-card-date,
  .hmg-cp-card-heading .hmg-cp-card-field-block--date {
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
  }

  .hmg-cp-card-date {
    white-space: normal;
  }

  .hmg-cp-card-body,
  .hmg-cp-card-footer {
    padding-inline: 1rem;
  }

  .hmg-cp-detail {
    padding: 1rem;
  }

  .hmg-cp-breadcrumb {
    overflow-wrap: anywhere;
  }

  .hmg-cp-modal {
    padding: 0.75rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  }

  .hmg-cp-modal-dialog {
    padding: 1.25rem 1rem;
  }

  .hmg-cp-modal-dialog h2 {
    font-size: 1.125rem;
    line-height: 1.35;
    padding-right: 1.75rem;
  }

  .hmg-cp-form-grid,
  .hmg-cp-form-grid--apply {
    grid-template-columns: 1fr;
  }

  .hmg-cp-apply-address__row {
    grid-template-columns: 1fr;
  }

  .hmg-cp-apply-modal .hmg-cp-apply--modal .hmg-cp-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hmg-cp-apply-modal .hmg-cp-apply--modal .hmg-cp-form-actions .hmg-cp-button-primary,
  .hmg-cp-apply-modal .hmg-cp-apply--modal .hmg-cp-form-actions .hmg-cp-button-secondary {
    flex: 0 0 auto;
    min-height: 2.75rem;
    width: 100%;
  }

  .hmg-cp-form-actions .hmg-cp-button {
    min-width: 0;
  }

  .hmg-cp-field-file .hmg-cp-file-field {
    align-items: flex-start;
    flex-direction: column;
  }

  .hmg-cp-field-file input[type="file"] {
    max-width: 100%;
    width: 100%;
  }

  .hmg-cp-portal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hmg-cp-dashboard-welcome {
    align-items: flex-start;
    flex-direction: column;
  }

  .hmg-cp-dashboard-welcome .hmg-cp-button {
    width: 100%;
  }

  .hmg-cp-dashboard-stats,
  .hmg-cp-dashboard-grid,
  .hmg-cp-profile-layout {
    grid-template-columns: 1fr;
  }

  .hmg-cp-profile-summary {
    position: static;
  }

  .hmg-cp-profile-card-header {
    flex-direction: column;
  }

  .hmg-cp-profile .hmg-cp-button-primary,
  .hmg-cp-profile .hmg-cp-button-secondary {
    width: 100%;
  }

  .hmg-cp-dashboard-stats {
    gap: 0.75rem;
  }

  .hmg-cp-portal-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .hmg-cp-portal,
  .hmg-cp-auth:not(.hmg-cp-auth--modal),
  .hmg-cp-apply-page {
    padding: 1rem;
  }

  .hmg-cp-auth:not(.hmg-cp-auth--modal) {
    margin-inline: 0;
    max-width: none;
  }

  .hmg-cp-auth-tabs .hmg-cp-auth-tab {
    font-size: 0.75rem;
    padding-inline: 0.3rem !important;
  }

  .hmg-cp-recruiter-header {
    padding: 1rem;
  }

  .hmg-cp-recruiter-name {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }

  .hmg-cp-recruiter-section-card {
    flex-direction: column;
  }

  .hmg-cp-share-list {
    gap: 0.4rem;
  }

  .hmg-cp-location-tree-link,
  .hmg-cp-location-tree-child a {
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
  }

  ul.hmg-cp-location-tree-children {
    margin-left: 0.85rem;
    padding-left: 1rem;
  }
}

/* Apply wizard */
.hmg-cp-apply-wizard-progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  color: var(--hmg-cp-muted);
}

.hmg-cp-apply-progress-item.is-active {
  color: var(--hmg-cp-primary);
  font-weight: 600;
}

.hmg-cp-apply-progress-sep {
  opacity: 0.5;
}

.hmg-cp-apply-step[hidden] {
  display: none !important;
}

.hmg-cp-apply-step-label {
  font-size: 0.8125rem;
  color: var(--hmg-cp-muted);
  margin: 0 0 0.35rem;
}

.hmg-cp-qual-question {
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  margin: 0 0 1rem;
  padding: 1rem;
}

.hmg-cp-qual-question legend {
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding: 0;
}

.hmg-cp-qual-answer {
  align-items: center;
  display: inline-flex;
  gap: 0.4rem;
  margin-right: 1rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.75rem;
}

.hmg-cp-qual-text-input {
  margin-top: 0.5rem;
  width: 100%;
}

.hmg-cp-resume-upload.is-hidden {
  display: none;
}

.hmg-cp-resume-text-wrap {
  margin-top: 0.75rem;
}

.hmg-cp-resume-text-toggle .hmg-cp-link-button {
  background: none;
  border: 0;
  color: var(--hmg-cp-primary, #1a5f7a);
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
}

.hmg-cp-resume-text-field.is-hidden {
  display: none;
}

.hmg-cp-resume-text-field textarea {
  width: 100%;
  margin-top: 0.5rem;
}

/* Candidate account (jb_user_account v4 parity) */
.hmg-cp .hmg-cp-account-chrome {
  margin-bottom: 0;
  overflow: visible;
  position: relative;
  width: 100%;
  z-index: auto;
}

.hmg-cp-listing-search-group > .hmg-cp-account-chrome,
.hmg-cp-detail-chrome-bar > .hmg-cp-account-chrome {
  margin-bottom: 0.35rem;
}

.hmg-cp-detail-chrome-bar {
  margin-bottom: 1rem;
  width: 100%;
}

.hmg-cp-account-top {
  margin-bottom: 1.25rem;
  position: relative;
  width: 100%;
  z-index: auto;
}

.hmg-cp .hmg-cp-account-toolbar,
.hmg-cp-account-v4 .hmg-cp-account-toolbar {
  --hmg-cp-nav-header-font-size: 0.875rem;
  --hmg-cp-nav-header-line-height: 1.25;
  background: var(--hmg-cp-surface, #fff);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  box-sizing: border-box;
  font-size: var(--hmg-cp-nav-header-font-size);
  line-height: var(--hmg-cp-nav-header-line-height);
  margin-bottom: 0;
  overflow: visible;
  padding: 0.65rem 1.25rem;
  position: relative;
  width: 100%;
  z-index: auto;
}

.hmg-cp-account-top .hmg-cp-account-toolbar,
.hmg-cp-listing-search-group .hmg-cp-account-toolbar,
.hmg-cp-detail-chrome-bar .hmg-cp-account-toolbar {
  margin-bottom: 0;
}

.hmg-cp .hmg-cp-account-toolbar-nav,
.hmg-cp-account-v4 .hmg-cp-account-toolbar-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  justify-content: flex-end;
  overflow: visible;
}

.hmg-cp .hmg-cp-account-toolbar-link,
.hmg-cp-account-v4 .hmg-cp-account-toolbar-link {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--hmg-cp-text);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: var(--hmg-cp-nav-header-font-size, 0.875rem);
  font-weight: 500;
  gap: 0.4rem;
  letter-spacing: normal;
  line-height: var(--hmg-cp-nav-header-line-height, 1.25);
  padding: 0.4rem 0.65rem;
  text-decoration: none;
  text-transform: none;
}

.hmg-cp .hmg-cp-account-toolbar-link.is-current,
.hmg-cp-account-v4 .hmg-cp-account-toolbar-link.is-current {
  font-weight: 600;
}

.hmg-cp .hmg-cp-account-toolbar-signup,
.hmg-cp-account-v4 .hmg-cp-account-toolbar-signup {
  font-size: var(--hmg-cp-nav-header-font-size, 0.875rem);
  line-height: var(--hmg-cp-nav-header-line-height, 1.25);
  margin-left: 0.25rem;
  min-height: 0;
  padding: 0.4rem 0.75rem;
}

.hmg-cp .hmg-cp-account-toolbar-profile,
.hmg-cp-account-v4 .hmg-cp-account-toolbar-profile {
  margin-left: 0.15rem;
  position: relative;
}

.hmg-cp .hmg-cp-account-toolbar-profile-toggle,
.hmg-cp-account-v4 .hmg-cp-account-toolbar-profile-toggle {
  align-items: center;
  appearance: none;
  background: var(--hmg-cp-surface, #fff);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  box-shadow: none;
  color: var(--hmg-cp-text);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: var(--hmg-cp-nav-header-font-size, 0.875rem);
  font-weight: 500;
  gap: 0.4rem;
  line-height: var(--hmg-cp-nav-header-line-height, 1.25);
  padding: 0.4rem 0.65rem;
  text-transform: none;
}

.hmg-cp .hmg-cp-account-toolbar-profile-toggle.is-open,
.hmg-cp-account-v4 .hmg-cp-account-toolbar-profile-toggle.is-open {
  border-color: var(--hmg-cp-primary, #1e3a5f);
}

.hmg-cp .hmg-cp-account-toolbar-icon,
.hmg-cp-account-v4 .hmg-cp-account-toolbar-icon {
  flex-shrink: 0;
}

.hmg-cp .hmg-cp-account-toolbar-chevron,
.hmg-cp-account-v4 .hmg-cp-account-toolbar-chevron {
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.hmg-cp .hmg-cp-account-toolbar-profile.is-open .hmg-cp-account-toolbar-chevron,
.hmg-cp-account-v4 .hmg-cp-account-toolbar-profile.is-open .hmg-cp-account-toolbar-chevron {
  transform: rotate(180deg);
}

.hmg-cp .hmg-cp-account-toolbar-profile-menu,
.hmg-cp-account-v4 .hmg-cp-account-toolbar-profile-menu {
  background: var(--hmg-cp-surface, #fff);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 12rem;
  padding: 0.35rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 30;
}

.hmg-cp .hmg-cp-account-toolbar-profile-menu[hidden],
.hmg-cp-account-v4 .hmg-cp-account-toolbar-profile-menu[hidden] {
  display: none !important;
  visibility: hidden !important;
}

.hmg-cp .hmg-cp-account-toolbar-profile.is-open .hmg-cp-account-toolbar-profile-menu:not([hidden]),
.hmg-cp-account-v4 .hmg-cp-account-toolbar-profile.is-open .hmg-cp-account-toolbar-profile-menu:not([hidden]) {
  display: flex !important;
  visibility: visible;
}

.hmg-cp .hmg-cp-account-toolbar-profile-item,
.hmg-cp-account-v4 .hmg-cp-account-toolbar-profile-item {
  align-items: center;
  background: var(--hmg-cp-surface, #fff);
  border-radius: calc(var(--hmg-cp-radius) - 2px);
  color: var(--hmg-cp-text);
  display: flex;
  font: inherit;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  text-decoration: none;
  white-space: nowrap;
}

.hmg-cp .hmg-cp-account-toolbar-profile-item:hover,
.hmg-cp .hmg-cp-account-toolbar-profile-item:focus-visible,
.hmg-cp-account-v4 .hmg-cp-account-toolbar-profile-item:hover,
.hmg-cp-account-v4 .hmg-cp-account-toolbar-profile-item:focus-visible {
  background: #f3f4f6;
}

body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-account-toolbar :is(
  .hmg-cp-account-toolbar-link,
  .hmg-cp-account-toolbar-link--button,
  .hmg-cp-account-toolbar-profile-toggle,
  .hmg-cp-account-toolbar-signup
) {
  font-size: var(--hmg-cp-nav-header-font-size, 0.875rem) !important;
  line-height: var(--hmg-cp-nav-header-line-height, 1.25) !important;
}

.hmg-cp-account-v4 .hmg-cp-account-page-header {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hmg-cp-account-v4 .hmg-cp-account-page-title {
  margin: 0;
}

.hmg-cp-account-v4 .hmg-cp-account-signout {
  color: var(--hmg-cp-muted);
  font-size: 0.9375rem;
}

.hmg-cp-account-v4 .hmg-cp-account-layout {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
}

.hmg-cp-account-v4 .hmg-cp-account-layout--guest {
  grid-template-columns: minmax(0, 1fr);
  max-width: 640px;
}

.hmg-cp-account-v4 .hmg-cp-account-nav {
  background: var(--hmg-cp-surface, #fff);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0;
  padding: 0.5rem;
}

.hmg-cp-account-v4 .hmg-cp-account-nav [role="tab"] {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: calc(var(--hmg-cp-radius) - 2px);
  box-shadow: none;
  color: var(--hmg-cp-text);
  cursor: pointer;
  display: flex;
  float: none;
  font: inherit;
  gap: 0.5rem;
  justify-content: flex-start;
  margin: 0;
  min-height: 0;
  padding: 0.65rem 0.75rem;
  text-align: left;
  text-transform: none;
  width: 100%;
}

.hmg-cp-account-v4 .hmg-cp-account-nav [role="tab"].is-active,
.hmg-cp-account-v4 .hmg-cp-account-nav [role="tab"][aria-selected="true"] {
  background: #f3f4f6;
  border: 1px solid var(--hmg-cp-border);
  box-shadow: none;
  color: var(--hmg-cp-text);
  font-weight: 600;
}

.hmg-cp-account-v4 .hmg-cp-account-nav [role="tab"]:not(.is-active):not([aria-selected="true"]) {
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  color: var(--hmg-cp-text);
}

.hmg-cp-account-v4 .hmg-cp-account-panel-card .hmg-cp-form-grid {
  gap: 1rem 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hmg-cp-account-v4 .hmg-cp-account-panel-card .hmg-cp-field-span {
  grid-column: 1 / -1;
}

body.hmg-cp-route-account {
  background: #fff;
}

body.hmg-cp-route-account .site-main.hmg-cp-page--account {
  background: #fff;
  max-width: none;
  padding-block: 1.25rem;
  position: relative;
  z-index: auto;
}

body.hmg-cp-route-account .hmg-cp-account-v4 {
  background: transparent;
  clear: both;
  isolation: isolate;
  position: relative;
  z-index: auto;
}

body.hmg-cp-embed-theme.hmg-cp-route-account .hmg-cp-account-v4 {
  margin-top: 0;
  padding-top: 0;
}

body.hmg-cp-embed-theme.hmg-cp-route-account .hmg-cp-account-top {
  margin-top: 0;
}

body.hmg-cp-embed-theme.hmg-cp-route-account .hmg-cp-account-page-header {
  clear: both;
}

body.hmg-cp-embed-theme .hmg-cp-listing-search-group > .hmg-cp-account-chrome:first-child {
  margin-top: 0;
}

body.hmg-cp-embed-theme .hmg-cp-listing-search-group:has(.hmg-cp-account-chrome) {
  margin-top: 0;
}

.hmg-cp-account-v4 .hmg-cp-account-page-header {
  margin-bottom: 1rem;
}

.hmg-cp-account-v4 .hmg-cp-account-page-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.hmg-cp-account-v4 .hmg-cp-account-signout {
  color: var(--hmg-cp-muted);
  font-size: 0.9375rem;
  text-decoration: underline;
}

.hmg-cp-account-v4 .hmg-cp-account-signout-wrap {
  margin: 0;
}

.hmg-cp-account-v4 .hmg-cp-account-nav-icon {
  flex-shrink: 0;
  opacity: 0.85;
}

.hmg-cp-account-v4 .hmg-cp-account-panel-card {
  background: var(--hmg-cp-surface, #fff);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  padding: 1.25rem 1.5rem;
}

.hmg-cp-account-v4 .hmg-cp-account-panel-header {
  margin-bottom: 1.25rem;
}

.hmg-cp-account-v4 .hmg-cp-account-panel-title {
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
}

.hmg-cp-account-v4 .hmg-cp-account-panel-subtitle {
  color: var(--hmg-cp-muted);
  margin: 0;
}

.hmg-cp-account-v4 .hmg-cp-account-panel-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.hmg-cp-account-v4 .hmg-cp-account-subsection {
  border-top: 1px solid var(--hmg-cp-border);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
}

.hmg-cp-account-v4 .hmg-cp-account-subsection-title {
  font-size: 1.0625rem;
  margin: 0 0 0.75rem;
}

.hmg-cp-account-v4 .hmg-cp-profile-card--nested {
  border-top: 1px solid var(--hmg-cp-border);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
}

.hmg-cp-account-v4 .hmg-cp-account-table-wrap {
  overflow-x: auto;
}

.hmg-cp-account-v4 .hmg-cp-account-table {
  border-collapse: collapse;
  font-size: 0.875rem;
  width: 100%;
}

.hmg-cp-account-v4 .hmg-cp-account-table th,
.hmg-cp-account-v4 .hmg-cp-account-table td {
  border-bottom: 1px solid var(--hmg-cp-border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: middle;
}

.hmg-cp-account-v4 .hmg-cp-account-table th {
  background: var(--hmg-cp-bg);
  font-weight: 600;
}

.hmg-cp-account-v4 .hmg-cp-account-table-actions {
  text-align: right;
  white-space: nowrap;
}

.hmg-cp-account-v4 .hmg-cp-button--compact {
  font-size: 0.8125rem;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
}

.hmg-cp-account-v4 .hmg-cp-account-resume-current {
  align-items: center;
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
}

.hmg-cp-account-v4 .hmg-cp-account-resume-upload {
  border: 2px dashed var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  padding: 1.25rem;
}

.hmg-cp-account-v4 .hmg-cp-account-panel--aux {
  margin-top: 1.25rem;
}

.hmg-cp-account-v4--saved-jobs .hmg-cp-account-page-header,
.hmg-cp-account-v4--saved-jobs .hmg-cp-account-layout {
  display: none !important;
}

.hmg-cp-account-v4--saved-jobs .hmg-cp-saved-jobs-page {
  margin-top: 0;
}

.hmg-cp-account-v4--saved-jobs .hmg-cp-saved-jobs-page[hidden] {
  display: none !important;
}

.hmg-cp-account-v4--saved-jobs .hmg-cp-saved-jobs-page:not([hidden]) {
  display: block;
}

.hmg-cp-saved-jobs-page-header {
  margin-bottom: 1.25rem;
}

.hmg-cp-saved-jobs-page-title {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.hmg-cp-saved-jobs-empty {
  align-items: center;
  background: var(--hmg-cp-surface, #fff);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-inline: auto;
  max-width: 42rem;
  padding: 2.75rem 1.5rem;
  text-align: center;
}

.hmg-cp-saved-jobs-empty-icon {
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.hmg-cp-saved-jobs-empty-title {
  color: var(--hmg-cp-primary, #1e3a5f);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}

.hmg-cp-saved-jobs-empty-text {
  color: var(--hmg-cp-muted, #6b7280);
  line-height: 1.5;
  margin: 0;
  max-width: 28rem;
}

.hmg-cp-saved-jobs-empty-cta {
  margin-top: 0.75rem;
}

.hmg-cp-saved-jobs-list {
  display: grid;
  gap: 1rem;
}

@media (max-width: 768px) {
  .hmg-cp-account-v4 .hmg-cp-account-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hmg-cp-account-v4 .hmg-cp-account-panel-card .hmg-cp-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hmg-cp-portal-divider {
  border: 0;
  border-top: 1px solid var(--hmg-cp-border);
  margin: 2rem 0 1.5rem;
}

.hmg-cp-use-profile-resume {
  margin-bottom: 0.5rem;
}

.hmg-cp-pwa-install {
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  z-index: 100000;
  padding: 0.75rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.hmg-cp-pwa-install.is-visible {
  pointer-events: auto;
  transform: translateY(0);
}

.hmg-cp-pwa-install__inner {
  align-items: center;
  background: #fff;
  border: 1px solid var(--hmg-cp-border, #dcdcde);
  border-radius: calc(var(--hmg-cp-radius, 8px) + 4px);
  box-shadow: var(--hmg-cp-card-shadow, 0 8px 24px rgba(0, 0, 0, 0.12));
  display: flex;
  gap: 0.75rem;
  margin: 0 auto;
  max-width: 36rem;
  padding: 0.875rem 1rem;
}

.hmg-cp-pwa-install__icon {
  border-radius: 22%;
  flex: 0 0 auto;
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.hmg-cp-pwa-install__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.hmg-cp-pwa-install__title {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  overflow-wrap: anywhere;
}

.hmg-cp-pwa-install__message {
  color: var(--hmg-cp-muted, #646970);
  font-size: 0.8125rem;
  line-height: 1.45;
  margin: 0.25rem 0 0;
  overflow-wrap: anywhere;
}

.hmg-cp-pwa-install__actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
}

.hmg-cp-pwa-install__action {
  appearance: none;
  border-radius: 999px;
  box-sizing: border-box;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  min-height: 2.25rem;
  padding: 0.45rem 0.9rem;
  white-space: nowrap;
}

.hmg-cp-pwa-install__action[hidden],
.hmg-cp-pwa-install__action.is-hidden {
  display: none !important;
}

.hmg-cp-pwa-install__action--install {
  background: var(--hmg-cp-primary, #2271b1);
  border: 1px solid var(--hmg-cp-primary, #2271b1);
  color: #fff;
}

.hmg-cp-pwa-install__action--install:hover,
.hmg-cp-pwa-install__action--install:focus-visible {
  background: var(--hmg-cp-primary-dark, #135e96);
  border-color: var(--hmg-cp-primary-dark, #135e96);
  color: #fff;
}

.hmg-cp-pwa-install__dismiss {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--hmg-cp-muted, #646970);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.5rem;
  height: 2.25rem;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 2.25rem;
}

.hmg-cp-pwa-install__dismiss:hover,
.hmg-cp-pwa-install__dismiss:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
}

html.hmg-cp-pwa-install-visible .hmg-cp {
  padding-bottom: 5.5rem;
}

@media (max-width: 480px) {
  .hmg-cp-pwa-install__inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .hmg-cp-pwa-install__actions {
    flex: 1 1 100%;
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hmg-cp-pwa-install {
    transition: none;
  }
}

.hmg-cp .hmg-cp-account-bar {
  align-items: center;
  background: var(--hmg-cp-surface);
  border: 1px solid var(--hmg-cp-border);
  border-radius: calc(var(--hmg-cp-radius) - 4px);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0.625rem 0.875rem;
}

.hmg-cp .hmg-cp-account-bar-identity {
  align-items: center;
  color: var(--hmg-cp-text);
  display: flex;
  font-size: 0.8125rem;
  gap: 0.5rem;
  line-height: 1.35;
  margin: 0;
}

.hmg-cp .hmg-cp-account-bar-avatar {
  align-items: center;
  background: var(--hmg-cp-primary);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 700;
  height: 1.5rem;
  justify-content: center;
  line-height: 1;
  width: 1.5rem;
}

.hmg-cp .hmg-cp-account-bar-nav {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
}

.hmg-cp .hmg-cp-account-bar-nav > .hmg-cp-account-bar-link:not(:first-child)::before {
  color: var(--hmg-cp-muted);
  content: '·';
  font-weight: 400;
  margin-inline: 0.5rem;
  pointer-events: none;
  text-decoration: none;
}

.hmg-cp .hmg-cp-account-bar-link {
  background: none;
  border: 0;
  box-shadow: none;
  color: var(--hmg-cp-primary);
  display: inline;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0;
  text-decoration: none;
}

.hmg-cp .hmg-cp-account-bar-link:hover,
.hmg-cp .hmg-cp-account-bar-link:focus-visible {
  text-decoration: underline;
}

.hmg-cp .hmg-cp-account-bar-link--signout {
  color: var(--hmg-cp-muted);
  font-weight: 500;
}

@media (max-width: 480px) {
  .hmg-cp .hmg-cp-account-bar {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Category banners */
.hmg-cp-category-banner {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.5rem;
}
.hmg-cp-category-banner__media img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}
.hmg-cp-category-banner__blurb {
  font-size: 1rem;
  line-height: 1.5;
}

/* Split list + detail */
.hmg-cp-layout--split {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 901px) {
  .hmg-cp-layout--split {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    align-items: start;
  }
  .hmg-cp-layout--split .hmg-cp-sidebar-column {
    grid-column: 1 / -1;
  }
  .hmg-cp-listing--split .hmg-cp-card.is-selected {
    outline: 2px solid var(--hmg-cp-primary, #1a5f7a);
    outline-offset: 2px;
  }
}
.hmg-cp-split-detail {
  position: sticky;
  top: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem;
  background: #fff;
  max-height: calc(100vh - 2rem);
  min-height: 12rem;
  min-width: 0;
  overflow: auto;
}
.hmg-cp-split-detail__empty.is-hidden,
.hmg-cp-split-detail__body.is-hidden {
  display: none;
}
.hmg-cp-split-detail__loading {
  color: var(--hmg-cp-muted, #64748b);
  margin: 0;
}
.hmg-cp-split-preview__title {
  margin: 0 0 0.35rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hmg-cp-split-preview__company,
.hmg-cp-split-preview__location,
.hmg-cp-split-preview__salary {
  margin: 0.15rem 0 0;
  overflow-wrap: anywhere;
}
.hmg-cp-split-preview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.hmg-cp-split-preview__actions .hmg-cp-button {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
}
.hmg-cp-talent-community-form {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
  width: 100%;
}

/* Exit popup */
.hmg-cp-exit-popup[hidden] {
  display: none !important;
}
.hmg-cp-exit-popup {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.hmg-cp-exit-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.hmg-cp-exit-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(28rem, 100%);
  max-height: min(90vh, 32rem);
  overflow: auto;
  background: #fff;
  border-radius: var(--hmg-cp-radius, 8px);
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.hmg-cp-exit-popup__close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  border-radius: 6px;
  color: var(--hmg-cp-muted, #64748b);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.hmg-cp-exit-popup__close:hover,
.hmg-cp-exit-popup__close:focus-visible {
  background: var(--hmg-cp-surface, #f8fafc);
  color: var(--hmg-cp-text, #0f172a);
}
.hmg-cp-exit-popup__close:focus-visible {
  outline: 2px solid var(--hmg-cp-primary, #2271b1);
  outline-offset: 2px;
}
.hmg-cp-exit-popup__title {
  margin: 0 1.75rem 0.5rem 0;
  overflow-wrap: anywhere;
}
.hmg-cp-exit-popup__message {
  margin: 0;
  overflow-wrap: anywhere;
}
.hmg-cp-exit-popup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.hmg-cp-exit-popup__actions .hmg-cp-button {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
}
@media (prefers-reduced-motion: reduce) {
  .hmg-cp-exit-popup {
    display: none !important;
  }
}

.hmg-cp-job-video {
  margin-top: 1rem;
  aspect-ratio: 16 / 9;
}
.hmg-cp-job-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.hmg-cp-job-referral {
  margin-top: 0.75rem;
  font-weight: 600;
}
.hmg-cp-card-app-count {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  opacity: 0.8;
}

.hmg-cp-jobsbot {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 99990;
}
.hmg-cp-jobsbot__launcher {
  border: 0;
  border-radius: 999px;
  background: var(--hmg-cp-primary, #1a5f7a);
  color: #fff;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.hmg-cp-jobsbot__panel {
  width: min(22rem, calc(100vw - 2rem));
  margin-bottom: 0.75rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  padding: 1rem;
}
.hmg-cp-jobsbot__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.hmg-cp-jobsbot__close {
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  cursor: pointer;
}
.hmg-cp-jobsbot__form {
  display: grid;
  gap: 0.65rem;
}
.hmg-cp-jobsbot__embed {
  width: 100%;
  min-height: 22rem;
  border: 0;
}
.hmg-cp-partner-apply {
  margin-top: 0.5rem;
}

.hmg-cp-talent-listing {
  -webkit-font-smoothing: antialiased;
  font-family: inherit;
}

.hmg-cp-talent-listing.is-talent-search-loading [data-talent-results-root] {
  min-height: 8rem;
  pointer-events: none;
  position: relative;
}

.hmg-cp-talent-listing.is-talent-search-loading [data-talent-results-root]::before {
  background: rgba(255, 255, 255, 0.88);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 2;
}

.hmg-cp-talent-listing.is-talent-search-loading [data-talent-results-root]::after {
  animation: hmg-cp-talent-search-spin 0.65s linear infinite;
  border: 3px solid var(--hmg-cp-primary, #8f2c3c);
  border-radius: 50%;
  border-right-color: transparent;
  content: "";
  height: 2rem;
  left: 50%;
  margin: -1rem 0 0 -1rem;
  position: absolute;
  top: 50%;
  width: 2rem;
  z-index: 3;
}

@keyframes hmg-cp-talent-search-spin {
  to {
    transform: rotate(360deg);
  }
}

.hmg-cp-talent-listing .hmg-cp-listing-header {
  margin-bottom: 1.25rem;
}

.hmg-cp-talent-jobs-link {
  font-size: 0.9375rem;
  margin: 0.65rem 0 0;
}

.hmg-cp-talent-jobs-link a {
  color: var(--hmg-cp-primary);
  font-weight: 600;
  text-decoration: none;
}

.hmg-cp-talent-jobs-link a:hover,
.hmg-cp-talent-jobs-link a:focus-visible {
  text-decoration: underline;
}

.hmg-cp-talent-access-form {
  max-width: 28rem;
  margin-top: 1.25rem;
}

.hmg-cp-talent-search {
  background: var(--hmg-cp-bg);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  box-shadow: var(--hmg-cp-shadow);
  margin: 0 0 0.25rem;
  padding: 1.15rem 1.25rem;
}

.hmg-cp-search.hmg-cp-talent-search {
  margin-bottom: 1.25rem;
  overflow: visible;
  padding: 0;
}

.hmg-cp-talent-search--results {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* Parity: hmg-admin/products/talent-showcase/.../ts_search_results.comp (.hmg-ts-search-section) */
.hmg-cp-talent-search-section {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 2rem;
  padding: 1.5rem 0;
}

.hmg-cp-talent-search-wrapper {
  margin: 0 auto;
  max-width: 80rem;
}

.hmg-cp-talent-search-card {
  background: var(--hmg-cp-bg);
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.hmg-cp-talent-search--results .hmg-cp-talent-search-card {
  background: var(--hmg-cp-bg);
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.hmg-cp-talent-search--results .hmg-cp-talent-search-card > .hmg-cp-talent-filters-panel {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  max-width: none;
}

.hmg-cp-talent-search--results .hmg-cp-talent-search-card > .hmg-cp-talent-search-panel--location.is-open,
.hmg-cp-talent-search--results .hmg-cp-talent-search-card > .hmg-cp-talent-search-panel--location.is-sliding,
.hmg-cp-talent-search--results .hmg-cp-talent-search-card > .hmg-cp-talent-search-panel--filters.is-open,
.hmg-cp-talent-search--results .hmg-cp-talent-search-card > .hmg-cp-talent-search-panel--filters.is-sliding {
  border-top: 1px solid #e5e7eb;
}

.hmg-cp-talent-search--results .hmg-cp-talent-search-card > .hmg-cp-talent-search-panel.is-sliding {
  box-sizing: border-box;
}

.hmg-cp-talent-filters-panel {
  background: var(--hmg-cp-bg);
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  margin: 1rem auto 1.5rem;
  max-width: 80rem;
  padding: 1.5rem;
}

.hmg-cp-talent-filters-panel[hidden] {
  display: none;
}

.hmg-cp-talent-category-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.hmg-cp-talent-category-quick-filters .hmg-cp-talent-search-filters--quick {
  display: flex;
  flex: 1 1 20rem;
  flex-wrap: wrap;
  gap: 2rem;
  grid-template-columns: none;
  margin-bottom: 0;
}

.hmg-cp-talent-category-quick-filters .hmg-cp-talent-search-filter-block {
  flex: 1 1 14rem;
  min-width: 0;
}

.hmg-cp-talent-detail-label {
  color: #111827;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.3;
  margin: 0 0 0.75rem;
  text-transform: none;
}

.hmg-cp-talent-search--results .hmg-cp-talent-search-panel-label {
  color: #111827;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* vaktest: category-quick-filters row + full-width skills — one grid for label alignment */
.hmg-cp-talent-search--results .hmg-cp-talent-filters-grid {
  align-items: start;
  column-gap: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 1.5rem;
  width: 100%;
}

.hmg-cp-talent-search--results .hmg-cp-talent-filters-grid > .hmg-cp-talent-search-filter-block {
  margin: 0;
  min-width: 0;
  padding: 0;
}

.hmg-cp-talent-search--results .hmg-cp-talent-filters-grid > .hmg-cp-talent-search-filter-block--skills {
  grid-column: 1 / -1;
}

.hmg-cp-talent-search--results .hmg-cp-talent-filters-grid .hmg-cp-talent-detail-label {
  margin: 0 0 0.75rem;
  padding: 0;
}

@media (max-width: 720px) {
  .hmg-cp-talent-search--results .hmg-cp-talent-filters-grid {
    grid-template-columns: 1fr;
  }
}

.hmg-cp-talent-search--results .hmg-cp-talent-filter-btn {
  align-items: center;
  appearance: none;
  background: var(--hmg-cp-primary);
  border: 1px solid #fff;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  gap: 0.35rem;
  letter-spacing: 0.05em;
  line-height: 1.2;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  text-transform: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.hmg-cp-talent-search-bar .hmg-cp-talent-filter-btn {
  background: var(--hmg-cp-primary);
  border-color: var(--hmg-cp-primary);
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem;
}

.hmg-cp-talent-search--results .hmg-cp-talent-filter-btn:hover,
.hmg-cp-talent-search--results .hmg-cp-talent-filter-btn:focus-visible {
  opacity: 0.92;
  outline: none;
}

.hmg-cp-talent-search--results .hmg-cp-talent-filter-btn.selected,
.hmg-cp-talent-search--results .hmg-cp-talent-filter-btn.is-active {
  background: var(--hmg-cp-primary);
  border-color: #fff;
  color: #fff;
}

.hmg-cp-talent-search--results .hmg-cp-talent-skill-filter-btn .hmg-cp-talent-filter-check {
  display: none;
}

.hmg-cp-talent-search--results .hmg-cp-talent-skill-filter-btn.selected .hmg-cp-talent-filter-check {
  display: inline;
}

.hmg-cp-talent-employment-label {
  text-transform: capitalize;
}

.hmg-cp-talent-skills-filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hmg-cp-talent-skills-filter-container .hmg-cp-talent-skill-filter-btn:nth-child(n+11) {
  display: none;
}

.hmg-cp-talent-skills-filter-container.is-expanded .hmg-cp-talent-skill-filter-btn:nth-child(n+11) {
  display: inline-flex;
}

.hmg-cp-talent-search-bar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.85rem 1rem;
  position: relative;
}

.hmg-cp-talent-search-query {
  align-items: center;
  background: #fff;
  border: 1px solid #cecfd1;
  border-radius: 0;
  box-sizing: border-box;
  display: flex;
  flex: 1 1 18.75rem;
  gap: 0.5rem;
  min-height: 2.75rem;
  min-width: 18.75rem;
  padding: 0 0.85rem 0 0.75rem;
  position: relative;
}

.hmg-cp-talent-search-query-icon {
  color: #9ca3af;
  flex-shrink: 0;
  pointer-events: none;
}

.hmg-cp-talent-search-query-input {
  background: transparent;
  border: 0;
  box-shadow: none;
  flex: 1;
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
  min-height: 2.5rem;
  min-width: 0;
  padding: 0.5rem 0;
  width: 100%;
}

.hmg-cp-talent-search-query:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.hmg-cp-talent-search-query-input:focus {
  border-color: transparent;
  box-shadow: none;
  outline: none;
}

.hmg-cp-talent-search--results .hmg-cp-talent-search-query-input.hmg-cp-search-input {
  padding: 0.5rem 0 !important;
}

.hmg-cp-talent-search-bar-actions {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hmg-cp-talent-search-bar-btn {
  align-items: center;
  appearance: none;
  background: var(--hmg-cp-primary);
  border: 1px solid var(--hmg-cp-primary);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 0.45rem;
  line-height: 1.2;
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.hmg-cp-talent-search-bar-btn:hover,
.hmg-cp-talent-search-bar-btn:focus-visible {
  background: color-mix(in srgb, var(--hmg-cp-primary) 88%, #000);
  border-color: color-mix(in srgb, var(--hmg-cp-primary) 88%, #000);
  color: #fff;
  outline: none;
}

.hmg-cp-talent-search-location-toggle.is-active {
  background: color-mix(in srgb, var(--hmg-cp-primary) 88%, #000);
  border-color: color-mix(in srgb, var(--hmg-cp-primary) 88%, #000);
}

.hmg-cp-talent-search-filters-toggle.is-active {
  background: color-mix(in srgb, var(--hmg-cp-primary) 88%, #000);
  border-color: color-mix(in srgb, var(--hmg-cp-primary) 88%, #000);
}

.hmg-cp-talent-search-filters-toggle.is-active:hover,
.hmg-cp-talent-search-filters-toggle.is-active:focus-visible {
  background: color-mix(in srgb, var(--hmg-cp-primary) 80%, #000);
  border-color: color-mix(in srgb, var(--hmg-cp-primary) 80%, #000);
}

.hmg-cp-talent-search-bar-btn svg {
  flex-shrink: 0;
}

.hmg-cp-talent-search-bar-chevron {
  margin-left: 0.1rem;
  opacity: 0.95;
}

.hmg-cp-talent-search-panel--location.hmg-cp-talent-filters-panel,
.hmg-cp-talent-search-panel--filters.hmg-cp-talent-filters-panel {
  padding: 1.5rem;
}

.hmg-cp-talent-search-mode-toggle-shell {
  margin-bottom: 1rem;
}

.hmg-cp-talent-search-mode-toggle {
  background: #f5f5f5;
  border-radius: 0.375rem;
  display: inline-flex;
  gap: 0.5rem;
  padding: 0.25rem;
  width: fit-content;
}

.hmg-cp-talent-search-mode-btn {
  appearance: none;
  background: transparent;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color: #6b7280;
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.2;
  min-height: 0;
  padding: 0.5rem 1rem;
  text-transform: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  width: auto;
}

.hmg-cp-talent-search-mode-btn:hover:not(.is-active) {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #6b7280;
}

.hmg-cp-talent-search-mode-btn.is-active {
  background: var(--hmg-cp-primary);
  border-color: var(--hmg-cp-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  color: #fff;
}

.hmg-cp-talent-search-mode-btn.is-active:hover {
  opacity: 0.92;
}

.hmg-cp-talent-search-location-section {
  position: relative;
}

.hmg-cp-talent-search-panel-label {
  color: #64748b;
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.hmg-cp-talent-search--results .hmg-cp-talent-location-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.hmg-cp-talent-search--results .hmg-cp-talent-location-chips:not(:empty) + .hmg-cp-talent-search-field-location {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.hmg-cp-talent-proximity-control {
  display: block;
  margin: 0;
  max-width: 25rem;
  padding: 0;
  width: 100%;
}

.hmg-cp-talent-search--results .hmg-cp-talent-proximity-slider {
  -webkit-appearance: none;
  appearance: none;
  background: #d1d5db;
  border-radius: 20px;
  display: block;
  height: 8px;
  margin: 1.25rem 0;
  outline: none;
  position: relative;
  width: min(100%, 25rem);
}

.hmg-cp-talent-search--results .hmg-cp-talent-proximity-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: var(--hmg-cp-primary);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: grab;
  height: 24px;
  width: 24px;
}

.hmg-cp-talent-search--results .hmg-cp-talent-proximity-slider::-webkit-slider-thumb:active {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: grabbing;
  transform: scale(1.05);
}

.hmg-cp-talent-search--results .hmg-cp-talent-proximity-slider::-moz-range-thumb {
  background: var(--hmg-cp-primary);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: grab;
  height: 24px;
  width: 24px;
}

.hmg-cp-talent-search--results .hmg-cp-talent-proximity-slider::-moz-range-track {
  background: #d1d5db;
  border: 0;
  border-radius: 20px;
  height: 8px;
}

.hmg-cp-talent-proximity-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.hmg-cp-talent-proximity-caption {
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
  text-transform: none;
}

.hmg-cp-talent-proximity-miles {
  font-weight: 700;
}

.hmg-cp-talent-search--results .hmg-cp-talent-zip-input {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  box-sizing: border-box;
  flex: 0 0 auto;
  font-size: 0.875rem;
  margin: 0;
  max-width: 9.375rem;
  min-height: 2.25rem;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  width: 9.375rem;
}


.hmg-cp-talent-search-advanced-actions--hidden {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 720px) {
  .hmg-cp-talent-search-bar {
    flex-direction: column;
  }

  .hmg-cp-talent-search-bar-actions {
    width: 100%;
  }

  .hmg-cp-talent-search-bar-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

.hmg-cp-talent-search-toolbar {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 1.15rem 1.25rem 1rem;
}

.hmg-cp-talent-search-primary {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  padding: 0;
}

.hmg-cp-talent-search-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hmg-cp-talent-search-advanced {
  border-top: 1px solid var(--hmg-cp-border);
  padding: 1rem 1.25rem 1.15rem;
}

.hmg-cp-talent-search-advanced[hidden] {
  display: none;
}

.hmg-cp-talent-search-filters {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin-bottom: 1rem;
}

.hmg-cp-talent-search-filter-label {
  color: var(--hmg-cp-text);
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.hmg-cp-talent-search-select {
  appearance: none;
  background: var(--hmg-cp-bg);
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-sizing: border-box;
  color: var(--hmg-cp-text);
  font-family: inherit;
  font-size: 0.9375rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  width: 100%;
}

.hmg-cp-talent-category-combo {
  position: relative;
  width: 100%;
}

.hmg-cp-talent-category-combo-input {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  box-sizing: border-box;
  color: var(--hmg-cp-text);
  cursor: pointer;
  font: inherit;
  font-size: 0.9375rem;
  min-height: 2.75rem;
  padding: 0.65rem 2.25rem 0.65rem 0.85rem;
  width: 100%;
}

.hmg-cp-talent-category-combo-input::placeholder {
  color: #6b7280;
}

.hmg-cp-talent-category-combo-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}

.hmg-cp-talent-category-combo-caret {
  color: #6b7280;
  cursor: pointer;
  line-height: 0;
  pointer-events: auto;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.hmg-cp-talent-category-combo-input {
  cursor: pointer;
}

.hmg-cp-talent-category-combo-list {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  left: 0;
  list-style: none;
  margin: 0.35rem 0 0;
  max-height: 16rem;
  overflow: auto;
  padding: 0.35rem 0;
  position: absolute;
  right: 0;
  z-index: 20;
}

.hmg-cp-talent-category-combo-list[hidden] {
  display: none;
}

.hmg-cp-talent-category-combo-option {
  color: var(--hmg-cp-text);
  cursor: pointer;
  font-size: 0.9375rem;
  padding: 0.5rem 0.85rem;
}

.hmg-cp-talent-category-combo-option:hover,
.hmg-cp-talent-category-combo-option[aria-selected="true"] {
  background: #f3f4f6;
}

.hmg-cp-talent-search--results .hmg-cp-talent-chip.hmg-cp-talent-filter-btn {
  background: var(--hmg-cp-primary);
  border: 1px solid #fff;
  border-radius: 8px;
  color: #fff;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

.hmg-cp-talent-search--results .hmg-cp-talent-chip.hmg-cp-talent-filter-btn.is-active,
.hmg-cp-talent-search--results .hmg-cp-talent-chip.hmg-cp-talent-filter-btn:hover,
.hmg-cp-talent-search--results .hmg-cp-talent-chip.hmg-cp-talent-filter-btn:focus-visible {
  background: var(--hmg-cp-primary);
  border-color: #fff;
  color: #fff;
  opacity: 0.92;
  outline: none;
}

/* TS search vaktest parity — beat Elementor/theme heading + button styles */
body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-talent-search-section :is(.hmg-cp-talent-detail-label, [role="heading"][aria-level="3"]) {
  color: #111827 !important;
  font-family: inherit !important;
  font-size: 0.875rem !important;
  font-style: normal !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  line-height: 1.3 !important;
  margin: 0 0 0.75rem !important;
  text-transform: none !important;
}

body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-talent-search-section .hmg-cp-talent-search-bar-btn,
body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-talent-search-section .hmg-cp-talent-filter-btn,
body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-talent-search-section .hmg-cp-talent-skills-more {
  border-radius: 8px !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  line-height: 1.2 !important;
  min-height: 2.75rem !important;
  text-transform: none !important;
  width: auto !important;
}

body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-talent-search-section .hmg-cp-talent-search-bar-btn,
body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-talent-search-section .hmg-cp-talent-search-bar .hmg-cp-talent-filter-btn {
  font-weight: 600 !important;
  padding: 0.55rem 0.85rem !important;
}

body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-talent-search-section .hmg-cp-talent-skills-more {
  background: none !important;
  border: 0 !important;
  color: var(--hmg-cp-primary) !important;
  min-height: 0 !important;
  padding: 0.5rem 0.75rem !important;
  text-decoration: none !important;
}

body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-talent-search-section .hmg-cp-talent-category-combo-input {
  border-radius: 0.375rem !important;
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
}

body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-talent-search-section .hmg-cp-talent-search-query-input,
body[class*="elementor-kit-"] .hmg-cp .hmg-cp-talent-search-section .hmg-cp-talent-search-query-input {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0.5rem 0 !important;
}

body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-talent-search-section .hmg-cp-talent-search-mode-btn {
  background: transparent !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0.25rem !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  color: #6b7280 !important;
  font-family: inherit !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  line-height: 1.2 !important;
  min-height: 0 !important;
  padding: 0.5rem 1rem !important;
  text-transform: none !important;
  width: auto !important;
}

body.elementor-page .elementor-widget-container .hmg-cp .hmg-cp-talent-search-section .hmg-cp-talent-search-mode-btn.is-active {
  background: var(--hmg-cp-primary) !important;
  border-color: var(--hmg-cp-primary) !important;
  color: #fff !important;
}

body[class*="elementor-kit-"] .hmg-cp .hmg-cp-talent-search-section .hmg-cp-talent-search-mode-btn:not(.is-active) {
  background: transparent !important;
  border-color: #d1d5db !important;
  color: #6b7280 !important;
}

body[class*="elementor-kit-"] .hmg-cp .hmg-cp-talent-search-section .hmg-cp-talent-search-mode-btn.is-active {
  background: var(--hmg-cp-primary) !important;
  border-color: var(--hmg-cp-primary) !important;
  color: #fff !important;
}

.hmg-cp-talent-search--results .hmg-cp-talent-location-filter-btn .hmg-cp-talent-filter-check {
  display: none;
}

.hmg-cp-talent-search--results .hmg-cp-talent-location-filter-btn.selected .hmg-cp-talent-filter-check,
.hmg-cp-talent-search--results .hmg-cp-talent-location-filter-btn.is-active .hmg-cp-talent-filter-check {
  display: inline;
}

.hmg-cp-talent-search--results .hmg-cp-talent-employment-filter-btn,
.hmg-cp-talent-search--results .hmg-cp-talent-location-filter-btn {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
}

.hmg-cp-talent-search--results .hmg-cp-talent-employment-filter-btn .hmg-cp-talent-filter-check {
  display: none;
  flex-shrink: 0;
}

.hmg-cp-talent-search--results .hmg-cp-talent-employment-filter-btn.selected .hmg-cp-talent-filter-check,
.hmg-cp-talent-search--results .hmg-cp-talent-employment-filter-btn.is-active .hmg-cp-talent-filter-check {
  display: inline;
}

body[class*="elementor-kit-"] .hmg-cp .hmg-cp-talent-search-section :is(.hmg-cp-talent-detail-label, [role="heading"][aria-level="3"]) {
  color: #111827 !important;
  font-family: inherit !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
}

.hmg-cp-talent-employment-chips,
.hmg-cp-talent-skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hmg-cp-talent-chip {
  appearance: none;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: var(--hmg-cp-text);
  cursor: pointer;
  font: inherit;
  font-size: 0.8125rem;
  line-height: 1.2;
  padding: 0.45rem 0.85rem;
}

.hmg-cp-talent-chip.is-active,
.hmg-cp-talent-chip:hover,
.hmg-cp-talent-chip:focus-visible {
  background: color-mix(in srgb, var(--hmg-cp-primary) 12%, #fff);
  border-color: var(--hmg-cp-primary);
  color: var(--hmg-cp-primary);
  outline: none;
}

.hmg-cp-talent-skills-more {
  align-items: center;
  appearance: none;
  background: none;
  border: 0;
  border-radius: 8px;
  color: var(--hmg-cp-primary);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  gap: 0.35rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
}

.hmg-cp-talent-search-advanced-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
}

.hmg-cp-talent-search-clear {
  color: var(--hmg-cp-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.hmg-cp-talent-search-field .hmg-cp-typeahead {
  left: 0;
  right: 0;
  top: calc(100% + 0.25rem);
}

.hmg-cp-talent-search-preview-stage {
  padding: 0.5rem 0;
}

@media (max-width: 720px) {
  .hmg-cp-talent-search-toolbar {
    grid-template-columns: 1fr;
  }

  .hmg-cp-talent-search-toolbar-actions {
    width: 100%;
  }

  .hmg-cp-talent-search-toolbar-actions .hmg-cp-button {
    flex: 1 1 auto;
  }
}

.hmg-cp-talent-search-inner {
  align-items: end;
  display: grid;
  gap: 0.85rem 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.hmg-cp-talent-search-field {
  margin: 0;
  min-width: 0;
}

.hmg-cp-talent-search-input {
  appearance: none;
  background: var(--hmg-cp-bg);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-sizing: border-box;
  color: var(--hmg-cp-text);
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  margin: 0;
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  width: 100%;
}

.hmg-cp-talent-search-input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.hmg-cp-talent-search-input:focus {
  border-color: var(--hmg-cp-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hmg-cp-primary) 18%, transparent);
  outline: none;
}

.hmg-cp-talent-search-submit {
  min-height: 2.75rem;
  min-width: 7.5rem;
}

.hmg-cp-talent-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(auto-fill, minmax(17.5rem, 22.5rem));
  justify-content: start;
  margin-top: 1.75rem;
}

@media (min-width: 960px) {
  .hmg-cp-talent-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
  }
}

.hmg-cp-talent-card {
  --hmg-cp-talent-inner-radius: var(--hmg-cp-talent-radius, var(--hmg-cp-radius));
  background: var(--hmg-cp-bg);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-talent-radius, var(--hmg-cp-radius));
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: visible;
  padding: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.hmg-cp-talent-card-link {
  color: inherit;
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.hmg-cp-talent-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.hmg-cp-talent-card-shadow--none {
  box-shadow: none;
}

.hmg-cp-talent-card-shadow--none:hover {
  box-shadow: none;
  transform: none;
}

.hmg-cp-talent-card-shadow--subtle {
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.hmg-cp-talent-card-shadow--subtle:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.hmg-cp-talent-card-shadow--elevated {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.hmg-cp-talent-card-shadow--elevated:hover {
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
}

.hmg-cp-talent-card-body {
  align-content: start;
  border-radius: var(--hmg-cp-talent-radius, var(--hmg-cp-radius)) var(--hmg-cp-talent-radius, var(--hmg-cp-radius)) 0 0;
  display: grid;
  flex: 0 1 auto;
  gap: 0.35rem 1rem;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  overflow: hidden;
  padding: 1.15rem 1.25rem 0.85rem;
}

.hmg-cp-talent-card-body:not(:has(.hmg-cp-talent-card-field-block--photo)) {
  grid-template-columns: minmax(0, 1fr);
}

.hmg-cp-talent-card-body:not(:has(.hmg-cp-talent-card-field-block--photo)) .hmg-cp-talent-card-name,
.hmg-cp-talent-card-body:not(:has(.hmg-cp-talent-card-field-block--photo)) .hmg-cp-talent-card-field-block {
  grid-column: 1;
}

.hmg-cp-talent-card-field-block {
  margin: 0;
  min-width: 0;
  padding: 0;
}

.hmg-cp-talent-card-body .hmg-cp-talent-card-field-block--photo {
  align-self: center;
  grid-column: 1;
  grid-row: 1;
}

.hmg-cp-talent-card-body .hmg-cp-talent-card-name {
  align-self: center;
  grid-column: 2;
  grid-row: 1;
}

.hmg-cp-talent-card-body .hmg-cp-talent-card-field-block:not(.hmg-cp-talent-card-field-block--photo) {
  grid-column: 2;
}

.hmg-cp-talent-card-body .hmg-cp-talent-card-field-block--skills,
.hmg-cp-talent-card-body .hmg-cp-talent-card-field-block--bio_excerpt,
.hmg-cp-talent-card-body .hmg-cp-talent-card-field-block--categories,
.hmg-cp-talent-card-body .hmg-cp-talent-card-field-block--date_added {
  grid-column: 1 / -1;
  margin-top: 0.15rem;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  grid-template-columns: none;
  padding: 1.35rem 1.25rem 0.65rem;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-identity {
  align-items: center;
  border-bottom: 1px solid var(--hmg-cp-border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-bottom: 1rem;
  text-align: center;
}

.hmg-cp-talent-card-name-row {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  max-width: 100%;
  width: 100%;
}

.hmg-cp-talent-card-name-row .hmg-cp-talent-card-field-block--first_name,
.hmg-cp-talent-card-name-row .hmg-cp-talent-card-field-block--last_name {
  display: block;
  flex: 0 1 auto;
  width: auto;
}

.hmg-cp-talent-card-name-row .hmg-cp-talent-card-first-name,
.hmg-cp-talent-card-name-row .hmg-cp-talent-card-last-name {
  display: inline;
}

.hmg-cp-talent-card-name-row .hmg-cp-talent-card-last-name::before {
  content: " ";
}

.hmg-cp-talent-card-identity-fields {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-identity .hmg-cp-talent-card-field-block:not(.hmg-cp-talent-card-field-block--photo):not(.hmg-cp-talent-card-field-block--first_name):not(.hmg-cp-talent-card-field-block--last_name),
.hmg-cp-talent-layout--grid .hmg-cp-talent-card-identity .hmg-cp-talent-card-name {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-identity .hmg-cp-talent-card-name-row .hmg-cp-talent-card-field-block--first_name,
.hmg-cp-talent-layout--grid .hmg-cp-talent-card-identity .hmg-cp-talent-card-name-row .hmg-cp-talent-card-field-block--last_name {
  width: auto;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-identity .hmg-cp-talent-card-field-block--availability {
  margin-top: 0;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-identity .hmg-cp-talent-card-field-block--availability .hmg-cp-talent-card-field-content {
  justify-content: center;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-identity .hmg-cp-talent-card-field-block--photo {
  align-self: center;
  grid-column: auto;
  grid-row: auto;
  max-width: 100%;
  width: auto;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-identity .hmg-cp-talent-card-field-block--photo .hmg-cp-talent-card-field-content {
  display: flex;
  justify-content: center;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-identity .hmg-cp-talent-card-location {
  justify-content: center;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-identity img.hmg-cp-talent-card-photo {
  display: block;
  flex: none;
  height: 6rem;
  margin-inline: auto;
  width: 6rem;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card--photo-round .hmg-cp-talent-card-identity img.hmg-cp-talent-card-photo,
.hmg-cp-talent-layout--grid .hmg-cp-talent-card--photo-round .hmg-cp-talent-card-identity .hmg-cp-talent-photo--placeholder {
  border-radius: 50%;
  overflow: hidden;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-identity .hmg-cp-talent-photo--placeholder {
  display: grid;
  flex: none;
  height: 6rem;
  line-height: 1;
  margin-inline: auto;
  place-items: center;
  width: 6rem;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-metrics {
  border-bottom: 1px solid var(--hmg-cp-border);
  display: grid;
  gap: 0.75rem 1rem;
  grid-template-columns: repeat(var(--hmg-cp-talent-metrics-cols, 4), minmax(0, 1fr));
  justify-items: center;
  padding: 1rem 0;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-metrics .hmg-cp-talent-card-field-block {
  grid-column: auto;
  margin: 0;
  min-width: 0;
  text-align: center;
  width: 100%;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-metrics .hmg-cp-talent-card-field-block--rating,
.hmg-cp-talent-layout--grid .hmg-cp-talent-card-metrics .hmg-cp-talent-card-field-block--experience,
.hmg-cp-talent-layout--grid .hmg-cp-talent-card-metrics .hmg-cp-talent-card-field-block--rate,
.hmg-cp-talent-layout--grid .hmg-cp-talent-card-metrics .hmg-cp-talent-card-field-block--date_added {
  grid-column: auto;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-metrics .hmg-cp-talent-card-field-content {
  display: flex;
  justify-content: center;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-metric {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  text-align: center;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-metric__label {
  color: var(--hmg-cp-muted);
  font-size: 0.8125rem;
  line-height: 1.3;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-metric__value {
  color: var(--hmg-cp-text);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-metric--experience .hmg-cp-talent-card-metric__value {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
  justify-content: center;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-metric--experience .hmg-cp-talent-card-metric__value::before {
  background: currentColor;
  content: "";
  flex: none;
  height: 1rem;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.72;
  width: 1rem;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-skills-group,
.hmg-cp-talent-layout--grid .hmg-cp-talent-card-bio-group,
.hmg-cp-talent-layout--grid .hmg-cp-talent-card-stack {
  padding: 1rem 0 0.35rem;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-skills-group .hmg-cp-talent-card-field-block,
.hmg-cp-talent-layout--grid .hmg-cp-talent-card-bio-group .hmg-cp-talent-card-field-block,
.hmg-cp-talent-layout--grid .hmg-cp-talent-card-stack .hmg-cp-talent-card-field-block {
  grid-column: auto;
  margin-top: 0;
  width: 100%;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-skills-group .hmg-cp-talent-card-field-block + .hmg-cp-talent-card-field-block,
.hmg-cp-talent-layout--grid .hmg-cp-talent-card-bio-group .hmg-cp-talent-card-field-block + .hmg-cp-talent-card-field-block,
.hmg-cp-talent-layout--grid .hmg-cp-talent-card-stack .hmg-cp-talent-card-field-block + .hmg-cp-talent-card-field-block {
  margin-top: 0.65rem;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-skills li {
  padding: 0.28rem 0.65rem;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-skills-more {
  font-weight: 600;
}

.hmg-cp-talent-layout--grid .hmg-cp-talent-card-footer {
  background: transparent;
  border-top: 0;
  padding: 0.85rem 1.25rem 1.15rem;
}

.hmg-cp-talent-card-name {
  color: var(--hmg-cp-text);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.hmg-cp-talent-card-link:hover .hmg-cp-talent-card-name,
.hmg-cp-talent-card-link:focus-visible .hmg-cp-talent-card-name {
  color: var(--hmg-cp-primary);
}

.hmg-cp-talent-card-title {
  color: var(--hmg-cp-text);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.hmg-cp-talent-card-location {
  align-items: center;
  color: var(--hmg-cp-muted);
  display: flex;
  font-size: 0.875rem;
  gap: 0.35rem;
  line-height: 1.4;
  margin: 0;
}

.hmg-cp-talent-card-location::before {
  content: "";
  background: currentColor;
  flex: none;
  height: 1rem;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 21s7-4.35 7-10a7 7 0 1 0-14 0c0 5.65 7 10 7 10z'/%3E%3Ccircle cx='12' cy='11' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.75;
  width: 1rem;
}

.hmg-cp-talent-card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.15rem 0 0;
}

.hmg-cp-talent-card-skills li {
  background: var(--hmg-cp-surface);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-talent-inner-radius, var(--hmg-cp-talent-radius, var(--hmg-cp-radius, 8px)));
  font-size: 0.8125rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hmg-cp-talent-card-bio-excerpt {
  color: var(--hmg-cp-muted);
  display: -webkit-box;
  font-size: 0.875rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 1.5;
  margin: 0.15rem 0 0;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.hmg-cp-talent-card-badge {
  background: var(--hmg-cp-surface);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-talent-inner-radius, var(--hmg-cp-talent-radius, var(--hmg-cp-radius, 8px)));
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
}

.hmg-cp-talent-card-date {
  color: var(--hmg-cp-muted);
  font-size: 0.8125rem;
}

.hmg-cp-talent-card-footer {
  background: var(--hmg-cp-surface);
  border-top: 1px solid var(--hmg-cp-border);
  border-radius: 0 0 var(--hmg-cp-talent-radius, var(--hmg-cp-radius)) var(--hmg-cp-talent-radius, var(--hmg-cp-radius));
  margin-top: auto;
  overflow: visible;
  padding: 0.85rem 1.25rem 1rem;
}

.hmg-cp-talent-card-view {
  align-items: center;
  background: color-mix(in srgb, var(--hmg-cp-primary, #1a5f7a) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--hmg-cp-primary, #1a5f7a) 18%, var(--hmg-cp-border));
  border-radius: var(--hmg-cp-talent-inner-radius, var(--hmg-cp-talent-radius, var(--hmg-cp-radius, 8px)));
  color: var(--hmg-cp-primary, #1a5f7a);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 0.35rem;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hmg-cp-talent-card-link:hover .hmg-cp-talent-card-view,
.hmg-cp-talent-card-link:focus-visible .hmg-cp-talent-card-view {
  background: var(--hmg-cp-primary, #1a5f7a);
  border-color: var(--hmg-cp-primary, #1a5f7a);
  color: #fff;
}

.hmg-cp-talent-card-photo,
.hmg-cp-talent-profile-photo,
.hmg-cp-talent-photo--placeholder,
.hmg-cp-talent-card-photo.hmg-cp-talent-photo--fallback {
  border: none;
  border-radius: 999px;
  box-shadow: none;
  flex: none;
  height: 4.75rem;
  margin: 0;
  object-fit: cover;
  outline: none;
  overflow: hidden;
  width: 4.75rem;
}

.hmg-cp-talent-photo--fallback {
  background: transparent;
  object-fit: cover;
  padding: 0;
}

.hmg-cp-talent-card--photo-round .hmg-cp-talent-card-photo,
.hmg-cp-talent-card--photo-round .hmg-cp-talent-card-photo.hmg-cp-talent-photo--fallback,
.hmg-cp-talent-card--photo-round .hmg-cp-talent-photo--placeholder {
  border-radius: 50%;
  overflow: hidden;
}

.hmg-cp-talent-card-photo--square,
.hmg-cp-talent-card--photo-square .hmg-cp-talent-card-photo,
.hmg-cp-talent-card--photo-square .hmg-cp-talent-photo--placeholder,
.hmg-cp-talent-card--photo-square .hmg-cp-talent-card-photo.hmg-cp-talent-photo--fallback,
.hmg-cp-talent-card-photo--square.hmg-cp-talent-photo--fallback {
  border-radius: var(--hmg-cp-talent-inner-radius, var(--hmg-cp-talent-radius, 0.35rem));
  overflow: hidden;
}

body.elementor-page .elementor-widget-container .hmg-cp-talent-card--photo-round .hmg-cp-talent-card-photo,
body.elementor-page .elementor-widget-container .hmg-cp-talent-card--photo-round .hmg-cp-talent-card-photo.hmg-cp-talent-photo--fallback {
  border-radius: 50% !important;
  overflow: hidden;
}

.hmg-cp-talent-card-view::after {
  content: "→";
  font-size: 0.95em;
  line-height: 1;
  transition: transform 0.15s ease;
}

.hmg-cp-talent-card-link:hover .hmg-cp-talent-card-view::after,
.hmg-cp-talent-card-link:focus-visible .hmg-cp-talent-card-view::after {
  transform: translateX(2px);
}

.hmg-cp-talent-profile {
  -webkit-font-smoothing: antialiased;
  font-family: inherit;
}

.hmg-cp-talent-profile .hmg-cp-back-link {
  margin: 0 0 1rem;
}

.hmg-cp-talent-profile .hmg-cp-back-link a {
  align-items: center;
  color: var(--hmg-cp-primary);
  display: inline-flex;
  font-size: 0.9375rem;
  font-weight: 600;
  gap: 0.35rem;
  text-decoration: none;
}

.hmg-cp-talent-profile .hmg-cp-back-link a:hover,
.hmg-cp-talent-profile .hmg-cp-back-link a:focus-visible {
  text-decoration: underline;
}

.hmg-cp-talent-profile-hero {
  background: var(--hmg-cp-bg);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  box-shadow: var(--hmg-cp-shadow);
  margin-bottom: 1.25rem;
  padding: 1.5rem;
}

.hmg-cp-talent-profile-header {
  align-items: start;
  display: grid;
  gap: 0.45rem 1.5rem;
  grid-template-columns: 7rem minmax(0, 1fr);
  margin: 0;
}

.hmg-cp-talent-profile-header:not(:has(.hmg-cp-talent-profile-header-field--photo)) {
  grid-template-columns: minmax(0, 1fr);
}

.hmg-cp-talent-profile-header-field--photo {
  grid-column: 1;
  grid-row: 1;
}

.hmg-cp-talent-profile-name {
  align-self: end;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

.hmg-cp-talent-profile-header:not(:has(.hmg-cp-talent-profile-header-field--photo)) .hmg-cp-talent-profile-name,
.hmg-cp-talent-profile-header:not(:has(.hmg-cp-talent-profile-header-field--photo)) .hmg-cp-talent-profile-header-field {
  grid-column: 1;
}

.hmg-cp-talent-profile-header-field:not(.hmg-cp-talent-profile-header-field--photo) {
  grid-column: 2;
}

.hmg-cp-talent-profile-photo,
.hmg-cp-talent-profile .hmg-cp-talent-photo--placeholder {
  height: 7rem;
  width: 7rem;
}

.hmg-cp-talent-profile .hmg-cp-talent-photo--placeholder {
  font-size: 1.75rem;
}

.hmg-cp-talent-profile-name.hmg-cp-primary-heading {
  font-size: clamp(1.625rem, 2.5vw, 2.125rem);
  font-weight: 700;
  line-height: 1.15;
}

.hmg-cp-talent-profile-title {
  color: var(--hmg-cp-text);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.hmg-cp-talent-profile-location {
  align-items: center;
  color: var(--hmg-cp-muted);
  display: flex;
  font-size: 0.9375rem;
  gap: 0.35rem;
  margin: 0;
}

.hmg-cp-talent-profile-location::before {
  background: currentColor;
  content: "";
  flex: none;
  height: 1rem;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 21s7-4.35 7-10a7 7 0 1 0-14 0c0 5.65 7 10 7 10z'/%3E%3Ccircle cx='12' cy='11' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.75;
  width: 1rem;
}

.hmg-cp-talent-profile-employment {
  display: inline-block;
  margin: 0;
}

.hmg-cp-talent-profile-employment:not(:empty) {
  background: var(--hmg-cp-surface);
  border: 1px solid var(--hmg-cp-border);
  border-radius: 6px;
  color: var(--hmg-cp-text);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
}

.hmg-cp-talent-profile-sections {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.hmg-cp-talent-section {
  background: var(--hmg-cp-bg);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-radius);
  box-shadow: var(--hmg-cp-shadow);
  min-width: 0;
  padding: 1.25rem 1.5rem;
}

.hmg-cp-talent-section-heading {
  border-bottom: 1px solid var(--hmg-cp-border);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.85rem;
  padding-bottom: 0.65rem;
}

.hmg-cp-talent-contact p {
  margin: 0 0 0.55rem;
  overflow-wrap: anywhere;
}

.hmg-cp-talent-contact p:last-child {
  margin-bottom: 0;
}

.hmg-cp-talent-contact a {
  color: var(--hmg-cp-primary);
  font-weight: 600;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.hmg-cp-talent-contact a:hover,
.hmg-cp-talent-contact a:focus-visible {
  text-decoration: underline;
}

.hmg-cp-talent-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hmg-cp-talent-skills li {
  background: var(--hmg-cp-surface);
  border: 1px solid var(--hmg-cp-border);
  border-radius: 999px;
  color: var(--hmg-cp-text);
  font-size: 0.875rem;
  font-weight: 500;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 0.3rem 0.75rem;
}

.hmg-cp-talent-bio-content,
.hmg-cp-talent-bio .hmg-cp-prose {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.hmg-cp-talent-card-custom-text,
.hmg-cp-talent-card-custom-meta,
.hmg-cp-talent-card-custom-value,
.hmg-cp-talent-card-badge {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hmg-cp-talent-card-title,
.hmg-cp-talent-card-name,
.hmg-cp-talent-profile-name,
.hmg-cp-talent-profile-title {
  overflow-wrap: anywhere;
}

/* Admin live preview list (does not use .hmg-cp-talent-grid — see admin.css for panel sizing) */
.hmg-cp-talent-card-preview-list {
  margin-top: 0;
}

.hmg-cp-talent-card-preview-stage .hmg-cp-talent-card-preview-item--context {
  opacity: 0.55;
  pointer-events: none;
}

.hmg-cp-talent-card-preview-item--editable .hmg-cp-talent-card-link {
  pointer-events: none;
}

.hmg-cp-talent-photo--placeholder {
  background: linear-gradient(145deg, var(--hmg-cp-primary, #1a5f7a), var(--hmg-cp-primary-dark, #134e63));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #fff;
  display: grid;
  font-size: 1.35rem;
  font-weight: 700;
  place-items: center;
}

.hmg-cp-talent-inquire-intro {
  color: var(--hmg-cp-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: -0.15rem 0 1rem;
}

.hmg-cp-talent-inquire-notice {
  margin: 0 0 1rem;
}

.hmg-cp-talent-inquire-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.hmg-cp-talent-inquire-form input[type="email"],
.hmg-cp-talent-inquire-form input[type="text"],
.hmg-cp-talent-inquire-form textarea {
  appearance: none;
  background: var(--hmg-cp-bg);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-sizing: border-box;
  color: var(--hmg-cp-text);
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  padding: 0.65rem 0.85rem;
  width: 100%;
}

.hmg-cp-talent-inquire-form input:focus,
.hmg-cp-talent-inquire-form textarea:focus {
  border-color: var(--hmg-cp-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hmg-cp-primary) 18%, transparent);
  outline: none;
}

.hmg-cp-talent-inquire-actions {
  margin-top: 0.5rem;
}

.hmg-cp-talent-inquire-form .hmg-cp-form-row {
  margin-bottom: 0.85rem;
}

.hmg-cp-talent-inquire-form .hmg-cp-form-row--split {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .hmg-cp-talent-search-inner {
    grid-template-columns: 1fr;
  }

  .hmg-cp-talent-search-submit {
    width: 100%;
  }

  .hmg-cp-talent-card-body {
    gap: 0.65rem;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hmg-cp-talent-card-field-block--photo,
  .hmg-cp-talent-card-name,
  .hmg-cp-talent-card-field-block:not(.hmg-cp-talent-card-field-block--photo) {
    grid-column: 1;
    grid-row: auto;
  }

  .hmg-cp-talent-card-field-block--photo {
    justify-self: center;
  }

  .hmg-cp-talent-card-field-block--skills,
  .hmg-cp-talent-card-field-block--bio_excerpt {
    text-align: left;
  }

  .hmg-cp-talent-card-skills {
    justify-content: center;
  }

  .hmg-cp-talent-profile-hero {
    padding: 1.15rem;
  }

  .hmg-cp-talent-profile-header {
    gap: 0.85rem 1rem;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hmg-cp-talent-profile-header-field--photo,
  .hmg-cp-talent-profile-name,
  .hmg-cp-talent-profile-header-field:not(.hmg-cp-talent-profile-header-field--photo) {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
  }

  .hmg-cp-talent-inquire-form .hmg-cp-form-row--split {
    grid-template-columns: 1fr;
  }
}

.hmg-cp-talent-results-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1.75rem;
}

.hmg-cp-talent-results-count {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}

.hmg-cp-talent-listing {
  --hmg-cp-talent-toolbar-btn-size: 2.25rem;
  --hmg-cp-talent-toolbar-icon-size: calc(var(--hmg-cp-talent-toolbar-btn-size) * 0.72);
}

.hmg-cp-talent-results-toolbar__actions {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
  gap: 0.35rem;
}

.hmg-cp-talent-toolbar-icon-btn {
  align-items: center;
  appearance: none;
  background: var(--hmg-cp-primary, #1a5f7a);
  border: 1px solid var(--hmg-cp-primary, #1a5f7a);
  border-radius: var(--hmg-cp-talent-radius, var(--hmg-cp-radius, 8px));
  box-shadow: none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  flex-shrink: 0;
  font-family: inherit;
  height: var(--hmg-cp-talent-toolbar-btn-size, 2.25rem);
  justify-content: center;
  line-height: 0;
  margin: 0;
  max-height: var(--hmg-cp-talent-toolbar-btn-size, 2.25rem);
  max-width: var(--hmg-cp-talent-toolbar-btn-size, 2.25rem);
  min-height: 0;
  min-width: 0;
  overflow: visible;
  padding: 0;
  text-decoration: none;
  text-shadow: none;
  width: var(--hmg-cp-talent-toolbar-btn-size, 2.25rem);
}

.hmg-cp-talent-toolbar-icon-btn::before,
.hmg-cp-talent-toolbar-icon-btn::after {
  content: none !important;
  display: none !important;
}

.hmg-cp-talent-toolbar-icon-btn:hover,
.hmg-cp-talent-toolbar-icon-btn:focus-visible {
  background: var(--hmg-cp-primary-dark, #0052a3);
  border-color: var(--hmg-cp-primary-dark, #0052a3);
  color: #fff;
  outline: 2px solid color-mix(in srgb, var(--hmg-cp-primary) 45%, #fff);
  outline-offset: 2px;
}

.hmg-cp-talent-listing .hmg-cp-talent-toolbar-icon-btn {
  border-radius: var(--hmg-cp-talent-radius, var(--hmg-cp-radius, 8px)) !important;
  height: var(--hmg-cp-talent-toolbar-btn-size, 2.25rem) !important;
  max-width: var(--hmg-cp-talent-toolbar-btn-size, 2.25rem) !important;
  min-height: var(--hmg-cp-talent-toolbar-btn-size, 2.25rem) !important;
  min-width: var(--hmg-cp-talent-toolbar-btn-size, 2.25rem) !important;
  padding: 0 !important;
  width: var(--hmg-cp-talent-toolbar-btn-size, 2.25rem) !important;
}

.hmg-cp-talent-layout-toggle__btn {
  /* Extends .hmg-cp-talent-toolbar-icon-btn */
}

.hmg-cp-talent-layout-toggle__icon {
  display: block;
  flex-shrink: 0;
  height: var(--hmg-cp-talent-toolbar-icon-size, 1.625rem);
  position: relative;
  width: var(--hmg-cp-talent-toolbar-icon-size, 1.625rem);
}

.hmg-cp-talent-layout-toggle__icon--grid {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.45'%3E%3Crect x='3' y='3' width='7.5' height='7.5' rx='1.1'/%3E%3Crect x='13.5' y='3' width='7.5' height='7.5' rx='1.1'/%3E%3Crect x='3' y='13.5' width='7.5' height='7.5' rx='1.1'/%3E%3Crect x='13.5' y='13.5' width='7.5' height='7.5' rx='1.1'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.hmg-cp-talent-layout-toggle__icon--list {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='5.35' width='18' height='2.2' rx='0.35' fill='%23ffffff'/%3E%3Crect x='3' y='10.9' width='18' height='2.2' rx='0.35' fill='%23ffffff'/%3E%3Crect x='3' y='16.45' width='18' height='2.2' rx='0.35' fill='%23ffffff'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.hmg-cp-talent-layout-toggle__icon--rss {
  /* Same crop as grid artwork (3–21); arcs inset to ~75% of crop like the 2×2 grid */
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='3 3 18 18' fill='none'%3E%3Ccircle cx='5' cy='19' r='1.45' fill='%23ffffff'/%3E%3Cpath stroke='%23ffffff' stroke-width='1.45' stroke-linecap='round' d='M12.5 19A7.5 7.5 0 0 0 5 11.5'/%3E%3Cpath stroke='%23ffffff' stroke-width='1.45' stroke-linecap='round' d='M18.5 19A13.5 13.5 0 0 0 5 5.5'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin: 0;
}

.hmg-cp-talent-layout-toggle__icon--rss::before,
.hmg-cp-talent-layout-toggle__icon--rss::after {
  content: none !important;
  display: none !important;
}

.hmg-cp-talent-results.hmg-cp-talent-grid {
  margin-top: 1rem;
}

.hmg-cp-talent-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
}

.hmg-cp-talent-card-actions .hmg-cp-button {
  border-radius: var(--hmg-cp-talent-inner-radius, var(--hmg-cp-talent-radius, var(--hmg-cp-radius, 8px)));
  flex: none;
  justify-content: center;
  line-height: 1.25;
  max-width: 100%;
  min-height: 2.65rem;
  min-width: 0;
  overflow: visible;
  text-align: center;
  white-space: normal;
  width: 100%;
}

.hmg-cp-talent-layout--list .hmg-cp-talent-card-actions {
  flex-direction: column;
}

.hmg-cp-talent-layout--list .hmg-cp-talent-card-actions .hmg-cp-button {
  width: 100%;
}

.hmg-cp-talent-card-inquire,
.hmg-cp-talent-card-view.hmg-cp-button {
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 2.5rem;
  text-decoration: none;
}

.hmg-cp-talent-listing .hmg-cp-talent-card-footer .hmg-cp-button-primary {
  color: #fff;
}

.hmg-cp-talent-listing .hmg-cp-talent-card-footer .hmg-cp-button-secondary {
  color: var(--hmg-cp-text);
}

.hmg-cp-talent-card-view.hmg-cp-button::after {
  content: none;
}

.hmg-cp-talent-layout--list.hmg-cp-talent-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  grid-template-columns: none;
  justify-content: stretch;
}

.hmg-cp-talent-list-row {
  background: var(--hmg-cp-bg);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-talent-radius, var(--hmg-cp-radius));
  display: block;
  height: auto;
  overflow: hidden;
  padding: 0;
}

.hmg-cp-talent-list-row__body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1.25rem 1.35rem 1.35rem;
}

.hmg-cp-talent-list-row__header {
  align-items: start;
  display: grid;
  gap: 0.75rem 1rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.hmg-cp-talent-list-row__photo .hmg-cp-talent-card-field-block {
  margin: 0;
  padding: 0;
}

.hmg-cp-talent-list-row__photo .hmg-cp-talent-card-field-content {
  display: flex;
  justify-content: center;
}

.hmg-cp-talent-list-row__photo .hmg-cp-talent-card-photo,
.hmg-cp-talent-list-row__photo .hmg-cp-talent-photo--placeholder {
  display: grid;
  flex: none;
  height: 4.5rem;
  place-items: center;
  width: 4.5rem;
}

.hmg-cp-talent-list-row__intro {
  align-self: center;
  min-width: 0;
}

.hmg-cp-talent-list-row__intro .hmg-cp-talent-card-name-row {
  justify-content: flex-start;
  width: auto;
}

.hmg-cp-talent-list-row__intro .hmg-cp-talent-card-identity-fields {
  align-items: flex-start;
  gap: 0.2rem;
}

.hmg-cp-talent-list-row__intro .hmg-cp-talent-card-field-block--title,
.hmg-cp-talent-list-row__intro .hmg-cp-talent-card-field-block--location {
  width: 100%;
}

.hmg-cp-talent-list-row__name-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin-bottom: 0.2rem;
}

.hmg-cp-talent-list-row__name-row .hmg-cp-talent-card-name {
  font-size: 1.125rem;
  line-height: 1.25;
  margin: 0;
}

.hmg-cp-talent-card-availability {
  background: none;
  border: 0;
  color: #15803d;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  padding: 0;
  white-space: nowrap;
}

.hmg-cp-talent-list-row__name-row .hmg-cp-talent-card-availability {
  align-self: center;
}

.hmg-cp-talent-list-row__intro .hmg-cp-talent-card-title {
  color: var(--hmg-cp-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  margin: 0;
}

.hmg-cp-talent-list-row__header-action {
  align-self: start;
}

.hmg-cp-talent-list-row__view.hmg-cp-button {
  align-items: center;
  display: inline-flex;
  font-size: 0.8125rem;
  gap: 0.35rem;
  min-height: 2.35rem;
  padding: 0.45rem 0.85rem;
  white-space: nowrap;
  width: auto;
}

.hmg-cp-talent-list-row__view.hmg-cp-button::before {
  background: currentColor;
  content: "";
  flex: none;
  height: 1rem;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.85;
  width: 1rem;
}

.hmg-cp-talent-list-row__metrics {
  border-top: 1px solid var(--hmg-cp-border);
  display: grid;
  gap: 0.85rem 1.25rem;
  grid-template-columns: repeat(var(--hmg-cp-talent-metrics-cols, 4), minmax(0, 1fr));
  padding-top: 1.1rem;
}

.hmg-cp-talent-list-row__metrics .hmg-cp-talent-card-field-block {
  grid-column: auto;
  grid-row: auto;
  margin: 0;
  min-width: 0;
  padding: 0;
  width: auto;
}

.hmg-cp-talent-list-row__metrics .hmg-cp-talent-card-field-content {
  display: block;
}

.hmg-cp-talent-list-row__metrics .hmg-cp-talent-list-row__metric-label,
.hmg-cp-talent-list-row__metrics .hmg-cp-talent-list-row__metric-value {
  display: block;
}

.hmg-cp-talent-list-row__skills .hmg-cp-talent-card-field-block {
  margin: 0;
  padding: 0;
}

.hmg-cp-talent-list-row__location .hmg-cp-talent-card-field-block {
  margin: 0;
  padding: 0;
}

.hmg-cp-talent-list-row__intro .hmg-cp-talent-card-field-block--first_name .hmg-cp-talent-card-name,
.hmg-cp-talent-list-row__intro .hmg-cp-talent-card-field-block--last_name .hmg-cp-talent-card-name {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
}

.hmg-cp-talent-rating-stars {
  display: inline-flex;
  gap: 0.15rem;
  line-height: 1;
}

.hmg-cp-talent-rating-star {
  background: #d1d5db;
  flex: none;
  height: 1rem;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 22 12 18.56 5.82 22 7 14.14l-5-4.87 6.91-1.01L12 2z'/%3E%3C/svg%3E") center / contain no-repeat;
  width: 1rem;
}

.hmg-cp-talent-rating-star.is-filled {
  background: #dc2626;
}

.hmg-cp-talent-list-row__metric--rating .hmg-cp-talent-list-row__metric-value,
.hmg-cp-talent-card-metric--rating .hmg-cp-talent-card-metric__value {
  font-weight: 400;
}

@media (max-width: 720px) {
  .hmg-cp-talent-list-row__metrics {
    grid-template-columns: repeat(min(var(--hmg-cp-talent-metrics-cols, 4), 2), minmax(0, 1fr));
  }
}

.hmg-cp-talent-list-row__metric-label {
  color: var(--hmg-cp-muted);
  display: block;
  font-size: 0.8125rem;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.hmg-cp-talent-list-row__metric-value {
  align-items: center;
  color: var(--hmg-cp-text);
  display: inline-flex;
  font-size: 0.9375rem;
  font-weight: 700;
  gap: 0.35rem;
  line-height: 1.35;
}

.hmg-cp-talent-list-row__metric--added .hmg-cp-talent-list-row__metric-value::before {
  background: currentColor;
  content: "";
  flex: none;
  height: 1rem;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.72;
  width: 1rem;
}

.hmg-cp-talent-list-row__metric--experience .hmg-cp-talent-list-row__metric-value::before {
  background: currentColor;
  content: "";
  flex: none;
  height: 1rem;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.72;
  width: 1rem;
}

.hmg-cp-talent-list-row__skills {
  padding-top: 0;
}

.hmg-cp-talent-list-row__skills-label {
  color: var(--hmg-cp-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 0.55rem;
  text-transform: uppercase;
}

.hmg-cp-talent-list-row__skills .hmg-cp-talent-card-skills {
  margin: 0;
}

.hmg-cp-talent-list-row__skills .hmg-cp-talent-card-skills li {
  padding: 0.3rem 0.7rem;
}

.hmg-cp-talent-list-row__bio {
  padding-top: 0;
}

.hmg-cp-talent-list-row__bio-label {
  color: var(--hmg-cp-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 0.55rem;
  text-transform: uppercase;
}

.hmg-cp-talent-list-row__bio .hmg-cp-talent-card-field-block {
  margin: 0;
  padding: 0;
}

.hmg-cp-talent-bio-text {
  max-width: 100%;
}

.hmg-cp-talent-bio-text.is-expanded .hmg-cp-talent-card-bio-excerpt {
  -webkit-line-clamp: unset;
  display: block;
  line-clamp: unset;
  overflow: visible;
}

.hmg-cp-talent-bio-see-more {
  color: var(--hmg-cp-primary);
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0.35rem 0 0;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.hmg-cp-talent-bio-see-more[hidden] {
  display: none !important;
}

.hmg-cp-talent-bio-see-more:hover,
.hmg-cp-talent-bio-see-more:focus-visible {
  color: var(--hmg-cp-primary-dark);
}

.hmg-cp-talent-list-row__bio-text {
  max-width: 100%;
}

.hmg-cp-talent-list-row__bio .hmg-cp-talent-card-bio-excerpt {
  color: #607185;
  display: -webkit-box;
  font-size: 0.9375rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 1.5;
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.hmg-cp-talent-list-row__bio-see-more {
  font-size: 0.9375rem;
}

.hmg-cp-talent-list-row__footer {
  align-items: end;
  border-top: 1px solid var(--hmg-cp-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  justify-content: space-between;
  padding-top: 1.1rem;
}

.hmg-cp-talent-list-row__location {
  min-width: 0;
}

.hmg-cp-talent-list-row__location-value {
  background: var(--hmg-cp-surface);
  border: 1px solid var(--hmg-cp-border);
  border-radius: var(--hmg-cp-talent-inner-radius, var(--hmg-cp-talent-radius, var(--hmg-cp-radius, 8px)));
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0.35rem 0 0;
  padding: 0.35rem 0.75rem;
}

.hmg-cp-talent-list-row__footer-action .hmg-cp-button {
  min-height: 2.65rem;
  min-width: 11.5rem;
  width: auto;
}

@media (max-width: 720px) {
  .hmg-cp-talent-list-row__header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .hmg-cp-talent-list-row__header-action {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .hmg-cp-talent-list-row__view.hmg-cp-button {
    justify-content: center;
    width: 100%;
  }

  .hmg-cp-talent-list-row__footer-action {
    flex: 1 1 100%;
  }

  .hmg-cp-talent-list-row__footer-action .hmg-cp-button {
    width: 100%;
  }
}

.hmg-cp-talent-layout--list .hmg-cp-talent-card {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  height: auto;
}

.hmg-cp-talent-layout--list .hmg-cp-talent-card-body {
  grid-template-columns: 4.25rem minmax(0, 1fr);
  padding: 1rem 1rem 0.85rem;
}

.hmg-cp-talent-layout--list .hmg-cp-talent-card-footer {
  align-self: stretch;
  background: transparent;
  border-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 11rem;
  padding: 1rem;
}

.hmg-cp-talent-layout--list .hmg-cp-talent-card-actions {
  min-width: 10.5rem;
}

.hmg-cp-talent-listing--split .hmg-cp-talent-card.is-selected {
  outline: 2px solid var(--hmg-cp-primary, #1a5f7a);
  outline-offset: 2px;
}

.hmg-cp-talent-drawer {
  inset: 0;
  position: fixed;
  z-index: 100000;
}

.hmg-cp-talent-drawer[hidden] {
  display: none !important;
}

.hmg-cp-talent-drawer__backdrop {
  background: rgba(15, 23, 42, 0.45);
  inset: 0;
  position: absolute;
}

.hmg-cp-talent-drawer__panel {
  background: #fff;
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-left: auto;
  max-width: 100%;
  overflow: auto;
  padding: 1rem 1.25rem 1.5rem;
  position: relative;
  width: min(34rem, 100%);
}

.hmg-cp-talent-drawer__body {
  flex: 1;
  min-width: 0;
}

.hmg-cp-talent-drawer-open {
  overflow: hidden;
}

.hmg-cp-talent-drawer[aria-busy="true"] .hmg-cp-talent-drawer__panel,
.hmg-cp-split-detail[aria-busy="true"],
.hmg-cp-talent-inquire-modal[aria-busy="true"] .hmg-cp-modal-dialog {
  cursor: progress;
}

.hmg-cp-talent-drawer[aria-busy="true"] .hmg-cp-talent-drawer__body,
.hmg-cp-split-detail[aria-busy="true"] .hmg-cp-split-detail__body,
.hmg-cp-talent-inquire-modal[aria-busy="true"] .hmg-cp-talent-inquire-modal__body {
  opacity: 0.9;
}

.hmg-cp-talent-drawer__panel > .hmg-cp-modal-close {
  appearance: none;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--hmg-cp-muted);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 1.5rem;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0.85rem;
  top: 0.75rem;
  width: 2rem;
  z-index: 2;
}

.hmg-cp-talent-drawer__panel > .hmg-cp-modal-close:hover,
.hmg-cp-talent-drawer__panel > .hmg-cp-modal-close:focus-visible {
  background: var(--hmg-cp-surface);
  color: var(--hmg-cp-text);
  outline: 2px solid var(--hmg-cp-primary);
  outline-offset: 2px;
}

.hmg-cp-talent-profile-preview__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hmg-cp-talent-inquire-modal .hmg-cp-modal-dialog {
  max-width: 34rem;
  width: min(34rem, calc(100vw - 2rem));
}

.hmg-cp-talent-inquire-modal-content > h2 {
  margin: 0 2rem 0.75rem 0;
}

.hmg-cp-talent-inquire-modal-form {
  margin-top: 0.5rem;
}

/*
 * Elementor kits style headings as `.elementor-kit-* h2` (one class plus an element).
 * A single class such as `.hmg-cp-card-title` cannot beat that, so titles render at the
 * kit size (about 3.2rem) and wrap one word per line.
 */
.hmg-cp :is(h1, h2, h3, h4, h5, h6),
.hmg-cp-modal :is(h1, h2, h3, h4, h5, h6),
.hmg-cp-page :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1.125rem;
  line-height: 1.35;
}

.hmg-cp :is(h1, h2, h3).hmg-cp-listing-title,
.hmg-cp-page :is(h1, h2, h3).hmg-cp-listing-title {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  line-height: 1.2;
}

.hmg-cp h2.hmg-cp-card-title,
.hmg-cp h2.hmg-cp-card-title a {
  font-size: 1.125rem;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: normal;
}

.hmg-cp .hmg-cp-card--compact h2.hmg-cp-card-title,
.hmg-cp .hmg-cp-card--compact h2.hmg-cp-card-title a {
  font-size: 1rem;
}

.hmg-cp h2.hmg-cp-skip-search-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.hmg-cp h2.hmg-cp-apply-title,
.hmg-cp-modal h2.hmg-cp-apply-title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
}

.hmg-cp-page-intro {
  margin-bottom: var(--hmg-cp-intro-margin, 112px);
  margin-top: var(--hmg-cp-intro-margin, 112px);
  max-width: 46rem;
  padding: var(--hmg-cp-intro-padding, 0px);
}

.hmg-cp-page-intro__title,
.hmg-cp h1.hmg-cp-page-intro__title {
  font-size: var(--hmg-cp-intro-size, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

.hmg-cp-page-intro--job {
  max-width: none;
}

.hmg-cp-page-intro--job .hmg-cp-page-intro__title,
.hmg-cp .hmg-cp-page-intro--job h1.hmg-cp-page-intro__title {
  line-height: 1.15;
  max-width: 22em;
  text-wrap: balance;
}

.hmg-cp-page-intro__subtitle {
  color: var(--hmg-cp-text);
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.45;
  margin: 0.85rem 0 0;
  max-width: 40rem;
}

.hmg-cp .hmg-cp-page-intro__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.45;
}

.hmg-cp-page-intro--band {
  background: var(--hmg-cp-surface);
  border-radius: var(--hmg-cp-radius);
  margin-bottom: var(--hmg-cp-intro-margin, 112px);
  max-width: none;
  padding: max(2rem, var(--hmg-cp-intro-padding, 0px));
}

body.hmg-career-portal:not(.hmg-cp-board-full) .hmg-cp-listing.hmg-cp-container,
body.hmg-career-portal:not(.hmg-cp-board-full) .hmg-cp-detail-wrap.hmg-cp-container,
body.hmg-career-portal:not(.hmg-cp-board-full) .hmg-cp-unavailable.hmg-cp-container,
body.hmg-career-portal:not(.hmg-cp-board-full) .hmg-cp-archive-not-found.hmg-cp-container {
  margin-inline: auto;
  max-width: min(1280px, 100%);
}

body.hmg-cp-board-full .hmg-cp-listing.hmg-cp-container,
body.hmg-cp-board-full .hmg-cp-detail-wrap.hmg-cp-container,
body.hmg-cp-board-full .hmg-cp-unavailable.hmg-cp-container,
body.hmg-cp-board-full .hmg-cp-archive-not-found.hmg-cp-container {
  max-width: none;
}

.hmg-cp-page-intro--image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: var(--hmg-cp-radius);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: none;
  min-height: clamp(14rem, 32vw, 22rem);
  overflow: hidden;
  padding: max(2.5rem, var(--hmg-cp-intro-padding, 0px));
  position: relative;
}

.hmg-cp-page-intro--image::before {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.72));
  border-radius: inherit;
  content: "";
  inset: 0;
  position: absolute;
}

.hmg-cp .hmg-cp-page-intro--image .hmg-cp-page-intro__title,
.hmg-cp .hmg-cp-page-intro--image .hmg-cp-page-intro__subtitle {
  color: var(--hmg-cp-intro-color, #fff);
  position: relative;
  z-index: 1;
}

.hmg-cp .hmg-cp-page-intro__title,
.hmg-cp .hmg-cp-page-intro__subtitle {
  color: var(--hmg-cp-intro-color, currentColor);
}

/* Elementor mobile headers are often position:fixed and sit on top of the
   first block of page content. Keep the intro below that bar. */
@media (max-width: 1024px) {
  body.hmg-cp-embed-theme .hmg-cp-page-intro {
    margin-top: max(6.75rem, var(--hmg-cp-intro-margin, 112px));
  }
}

@media (max-width: 768px) {
  .hmg-cp-talent-layout--list .hmg-cp-talent-card {
    grid-template-columns: 1fr;
  }

  .hmg-cp-talent-layout--list .hmg-cp-talent-card-footer {
    min-width: 0;
    padding-top: 0;
  }

  .hmg-cp-talent-drawer__panel {
    width: 100%;
  }
}
