:root {
  --cj-charcoal: #221f1b;
  --cj-ink: #2c2823;
  --cj-red: #9f1d2d;
  --cj-red-dark: #751421;
  --cj-amber: #d69b2d;
  --cj-ivory: #fffaf0;
  --cj-paper: #ffffff;
  --cj-mist: #f7f2e8;
  --cj-line: #e7dccb;
  --cj-muted: #71685d;
  --cj-green: #2f6f4e;
  --cj-shadow: 0 16px 40px rgba(34, 31, 27, 0.1);
}

/* Client logo brand refresh. */
:root {
  --cj-charcoal: #14110f;
  --cj-ink: #211c18;
  --cj-red: #e21b23;
  --cj-red-dark: #aa141b;
  --cj-amber: #c8732f;
  --cj-brown: #7b3f25;
  --cj-ivory: #fff8eb;
  --cj-paper: #ffffff;
  --cj-mist: #fbf4e9;
  --cj-line: #eadcc9;
  --cj-muted: #71665d;
  --cj-green: #2f6f4e;
  --cj-shadow: 0 16px 40px rgba(20, 17, 15, 0.12);
}

#header {
  background: rgba(255, 252, 246, 0.98) !important;
  border-bottom-color: rgba(123, 63, 37, 0.18) !important;
}

#header .logo {
  min-width: 250px;
}

#header .logo h2 a,
#header .logo > a {
  min-height: 54px;
  gap: 0;
}

#header .logo h2 a:before,
#header .logo > a:before {
  display: none !important;
  content: none !important;
}

.cj-header-logo-img {
  display: block;
  width: 248px;
  max-width: 100%;
  height: auto;
}

#header .header-menu > ul > li.current-menu-item > a,
#header .header-menu > ul > li.current_page_item > a {
  color: var(--cj-red) !important;
}

#header .header-menu > ul > li.menu-item-pq > a,
.cj-btn-primary,
.button.color.small,
button.color.button.small {
  background: var(--cj-red) !important;
  border-color: var(--cj-red) !important;
  color: #fff !important;
}

#header .header-menu > ul > li.menu-item-pq > a:hover,
.cj-btn-primary:hover,
.button.color.small:hover,
button.color.button.small:hover {
  background: var(--cj-red-dark) !important;
  border-color: var(--cj-red-dark) !important;
}

a,
.cj-link {
  color: var(--cj-red);
}

.cj-hero {
  background: linear-gradient(135deg, #14110f 0%, #302019 58%, #7b241f 100%) !important;
  box-shadow: 0 18px 44px rgba(20, 17, 15, 0.16);
}

.cj-kicker {
  color: var(--cj-amber);
}

.cj-hero-panel,
.cockroach-job-search,
.cockroach-auth-form,
.cockroach-job-form,
.cockroach-dashboard-shell,
.cockroach-job-card,
.cockroach-empty-state,
.cj-category-tile {
  background-color: var(--cj-mist);
  border-color: var(--cj-line);
}

.cj-hero-stats,
.cj-footer-stats {
  display: none !important;
}

.cj-site-footer {
  background: linear-gradient(135deg, #11100e 0%, #2d1e18 56%, #4b1f1b 100%) !important;
}

.cj-footer-logo {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(255, 248, 235, 0.18);
  border-radius: 8px;
  background: rgba(255, 248, 235, 0.94);
}

.cj-footer-logo-img {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 1199px) {
  #header .logo {
    min-width: 0 !important;
  }

  #header .logo h2 a,
  #header .logo > a {
    min-height: 48px;
  }

  .cj-header-logo-img {
    width: min(236px, calc(100vw - 104px));
  }
}

@media (max-width: 560px) {
  .cj-header-logo-img {
    width: min(218px, calc(100vw - 104px));
  }

  .cj-footer-logo-img {
    width: min(250px, calc(100vw - 68px));
  }
}

body {
  color: var(--cj-ink);
}

a {
  color: var(--cj-red);
}

#header {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid var(--cj-line);
  margin-bottom: 34px !important;
  box-shadow: 0 8px 28px rgba(34, 31, 27, 0.06);
}

#header > .container {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 24px;
}

#header .logo {
  float: none !important;
  display: flex;
  width: auto !important;
  min-width: 270px;
  height: auto !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

#header .logo h2 {
  display: flex;
  align-items: center;
  margin: 0 !important;
  line-height: 1 !important;
}

#header .logo h2 a,
#header .logo > a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--cj-charcoal) !important;
  font-size: 32px !important;
  font-weight: 900;
  line-height: 1.05 !important;
  letter-spacing: 0;
  text-decoration: none;
}

#header .logo h2 a:before,
#header .logo > a:before {
  content: "CJ";
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--cj-charcoal);
  color: var(--cj-amber);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

#header .navigation {
  float: none !important;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  margin: 0 !important;
  line-height: 1 !important;
}

#header .header-menu > ul {
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
}

#header .header-menu > ul > li {
  float: none !important;
  display: flex;
  height: auto !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

#header .header-menu > ul > li:after {
  display: none !important;
}

#header .header-menu > ul > li > a {
  display: inline-flex !important;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 12px !important;
  background: transparent !important;
  color: #403a34 !important;
  font-size: 13px !important;
  font-weight: 850;
  line-height: 1.15 !important;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

#header .header-menu > ul > li > a:hover,
#header .header-menu > ul > li.current-menu-item > a,
#header .header-menu > ul > li.current_page_item > a {
  background: rgba(159, 29, 45, 0.09) !important;
  color: var(--cj-red) !important;
}

#header .header-menu > ul > li#menu-item-31 {
  display: none !important;
}

#header .header-menu > ul > li.menu-item-pq {
  margin-left: 12px !important;
}

#header .header-menu > ul > li.menu-item-pq > a {
  min-height: 44px;
  border-radius: 8px;
  padding: 12px 18px !important;
  background: var(--cj-red) !important;
  box-shadow: 0 10px 22px rgba(159, 29, 45, 0.18);
  color: #fff !important;
  font-family: Arial, sans-serif;
  font-size: 13px !important;
  font-weight: 900;
  text-transform: uppercase;
}

#header .header-menu > ul > li.menu-item-pq > a:hover {
  background: var(--cj-red-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

#header .navigation_mobile {
  width: 100%;
  display: none !important;
}

.cj-hero,
.cj-section,
.cockroach-dashboard-shell,
.cockroach-job-form,
.cockroach-auth-form,
.cockroach-empty-state,
.cockroach-job-card {
  border-radius: 8px;
}

.cj-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  margin-bottom: 24px;
  background:
    linear-gradient(135deg, rgba(34, 31, 27, 0.96), rgba(70, 35, 30, 0.94)),
    radial-gradient(circle at 82% 18%, rgba(214, 155, 45, 0.22), transparent 30%);
  color: var(--cj-ivory);
  box-shadow: var(--cj-shadow);
}

.cj-hero h1 {
  margin: 8px 0 12px;
  max-width: 760px;
  color: #fff;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

.cj-hero p {
  max-width: 720px;
  color: #f0e6d7;
  font-size: 17px;
  line-height: 1.6;
}

.cj-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cj-amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cj-hero-actions,
.cockroach-job-card-actions,
.cockroach-dashboard-actions,
.cj-form-actions,
.cj-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cj-btn,
.button.small,
.button.color.small,
button.button.small,
button.color.button.small {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.cj-btn-primary,
.button.color.small,
button.color.button.small {
  background: var(--cj-red);
  border-color: var(--cj-red);
  color: #fff !important;
}

.cj-btn-primary:hover,
.button.color.small:hover,
button.color.button.small:hover {
  background: var(--cj-red-dark);
  border-color: var(--cj-red-dark);
}

.cj-btn-secondary,
.button.small {
  background: #fff;
  border-color: var(--cj-line);
  color: var(--cj-ink) !important;
}

.cj-link {
  color: var(--cj-red);
  font-weight: 800;
  text-decoration: none;
}

.cj-hero-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: rgba(255, 250, 240, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--cj-ink);
}

.cj-hero-search {
  display: grid;
  gap: 12px;
}

.cj-hero-search label,
.cockroach-job-search label,
.cockroach-auth-form label,
.cockroach-job-form label,
.cockroach-profile-form label,
.cj-status-form label,
.cj-job-switcher label {
  display: grid;
  gap: 6px;
  color: var(--cj-ink);
  font-weight: 800;
}

.cj-hero-search input,
.cockroach-job-search input,
.cockroach-job-search select,
.cockroach-auth-form input,
.cockroach-auth-form select,
.cockroach-job-form input,
.cockroach-job-form textarea,
.cockroach-job-form select,
.cockroach-profile-form input,
.cj-status-form select,
.cj-job-switcher select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--cj-line);
  border-radius: 6px;
  background: #fff;
  color: var(--cj-ink);
  padding: 9px 11px;
  box-shadow: none;
}

.cockroach-job-form textarea {
  min-height: 190px;
  resize: vertical;
}

.cj-hero-stats,
.cockroach-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cockroach-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cj-hero-stats div,
.cockroach-stats div {
  padding: 14px;
  background: var(--cj-mist);
  border: 1px solid var(--cj-line);
  border-radius: 8px;
}

.cj-hero-stats strong,
.cockroach-stats strong {
  display: block;
  color: var(--cj-charcoal);
  font-size: 24px;
  line-height: 1.1;
}

.cj-hero-stats span,
.cockroach-stats span,
.cj-muted,
.cockroach-dashboard-list p {
  color: var(--cj-muted);
}

.cj-section {
  margin: 24px 0;
}

.cj-section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin: 0 0 14px;
}

.cj-section-head.compact {
  align-items: center;
  margin-top: 22px;
}

.cj-section-head h2,
.cj-section-head h3 {
  margin: 4px 0 0;
  color: var(--cj-charcoal);
  letter-spacing: 0;
}

.cj-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cj-category-tile {
  display: grid;
  gap: 6px;
  min-height: 96px;
  align-content: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--cj-line);
  border-radius: 8px;
  color: var(--cj-ink);
  text-decoration: none;
}

.cj-category-tile:hover,
.cockroach-job-card:hover {
  border-color: rgba(159, 29, 45, 0.45);
  box-shadow: var(--cj-shadow);
}

.cj-category-tile span {
  color: var(--cj-muted);
}

.cockroach-job-search {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 12px;
  align-items: end;
  padding: 16px !important;
  margin: 0 0 18px !important;
  background: var(--cj-charcoal) !important;
  border: 1px solid var(--cj-charcoal) !important;
  border-radius: 8px;
}

.cockroach-job-search label {
  color: #fff !important;
}

.cockroach-job-search .cockroach-search-actions {
  margin: 0;
}

.cj-job-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cockroach-job-card {
  margin: 0 0 14px !important;
  padding: 18px !important;
  background: #fff !important;
  border: 1px solid var(--cj-line) !important;
}

.cockroach-job-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.cockroach-job-card h2 {
  margin: 4px 0 0 !important;
  font-size: 20px !important;
  line-height: 1.25;
  letter-spacing: 0;
}

.cockroach-job-category,
.cj-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(159, 29, 45, 0.08);
  color: var(--cj-red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cj-status {
  background: rgba(47, 111, 78, 0.1);
  color: var(--cj-green);
}

.cockroach-job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.cockroach-job-card-meta span {
  border: 1px solid var(--cj-line) !important;
  background: var(--cj-mist) !important;
  border-radius: 999px;
  padding: 5px 9px !important;
  color: var(--cj-ink) !important;
}

.cockroach-job-card-excerpt {
  margin-bottom: 14px;
  color: #4b443c;
  line-height: 1.6;
}

.cj-save-job-form,
.cj-status-form {
  margin: 0;
}

.cockroach-dashboard-shell,
.cockroach-auth-form,
.cockroach-job-form,
.cockroach-empty-state {
  background: #fff !important;
  border: 1px solid var(--cj-line) !important;
  padding: 20px !important;
  box-shadow: 0 10px 28px rgba(34, 31, 27, 0.06);
}

.cj-profile-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(180px, 0.28fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cj-charcoal), #3b2b27);
  color: var(--cj-ivory);
}

.cj-profile-avatar {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: var(--cj-amber);
  color: var(--cj-charcoal);
  font-weight: 900;
}

.cj-profile-avatar.large {
  width: 104px;
  height: 104px;
  margin-bottom: 14px;
  border-color: var(--cj-line);
}

.cj-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cj-profile-identity h2 {
  margin: 4px 0 6px;
  color: #fff;
  letter-spacing: 0;
}

.cj-profile-identity p {
  max-width: 720px;
  margin: 0 0 10px;
  color: #f0e6d7;
}

.cj-profile-chips,
.cj-settings-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cj-profile-chips span,
.cj-settings-toggles label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
}

.cj-profile-score {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.cj-profile-score strong {
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.cj-profile-score span {
  color: #f0e6d7;
}

.cj-profile-score div {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.cj-profile-score i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--cj-amber);
}

.cj-dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px;
  border: 1px solid var(--cj-line);
  border-radius: 8px;
  background: var(--cj-mist);
}

.cj-dashboard-tabs a {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--cj-ink);
  font-weight: 850;
  text-decoration: none;
}

.cj-dashboard-tabs a:hover {
  background: #fff;
  color: var(--cj-red);
}

.cockroach-dashboard-head,
.cockroach-dashboard-list article,
.cj-applicant-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.cockroach-dashboard-head h2 {
  margin: 4px 0 0;
}

.cockroach-profile-form {
  margin: 20px 0;
  padding: 18px 0;
  border-top: 1px solid var(--cj-line);
  border-bottom: 1px solid var(--cj-line);
}

.cockroach-profile-grid,
.cj-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cj-profile-editor {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
}

.cj-profile-card {
  padding: 16px;
  border: 1px solid var(--cj-line);
  border-radius: 8px;
  background: #fff;
}

.cj-profile-card:nth-child(3) {
  grid-column: 1 / -1;
}

.cj-profile-card h4 {
  margin: 0 0 14px;
  color: var(--cj-charcoal);
  font-size: 17px;
  letter-spacing: 0;
}

.cj-profile-media {
  align-self: start;
  background: var(--cj-mist);
}

.cockroach-profile-form input,
.cockroach-profile-form select {
  width: 100%;
}

body input[type="checkbox"],
body input[type="radio"],
.cockroach-profile-form input[type="checkbox"],
.cockroach-profile-form input[type="radio"],
.cockroach-auth-form input[type="checkbox"],
.cockroach-auth-form input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-block !important;
  flex: 0 0 auto;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  margin: 0 8px 0 0 !important;
  padding: 0 !important;
  border: 2px solid #cbbda8 !important;
  border-radius: 5px;
  background-color: #fff !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
  box-shadow: none !important;
  vertical-align: -3px;
  cursor: pointer;
}

body input[type="radio"],
.cockroach-profile-form input[type="radio"],
.cockroach-auth-form input[type="radio"] {
  border-radius: 50%;
}

body input[type="checkbox"]:checked,
.cockroach-profile-form input[type="checkbox"]:checked,
.cockroach-auth-form input[type="checkbox"]:checked {
  border-color: var(--cj-red) !important;
  background-color: var(--cj-red) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3 7.2 5.7 10 11 4'/%3E%3C/svg%3E");
}

body input[type="radio"]:checked,
.cockroach-profile-form input[type="radio"]:checked,
.cockroach-auth-form input[type="radio"]:checked {
  border-color: var(--cj-red) !important;
  background-color: var(--cj-red) !important;
  box-shadow: inset 0 0 0 4px #fff !important;
}

body input[type="checkbox"]:focus,
body input[type="radio"]:focus {
  outline: 2px solid rgba(159, 29, 45, 0.25);
  outline-offset: 2px;
}

.cockroach-profile-form small {
  display: block;
  margin-top: 5px;
  color: var(--cj-muted);
}

.cj-settings-toggles {
  margin-top: 12px;
}

.cj-settings-toggles label {
  min-height: 42px;
  padding: 10px 12px;
  border-color: var(--cj-line);
  border-radius: 6px;
  background: #fff;
  color: var(--cj-ink);
}

.cj-profile-actions {
  margin: 14px 0 0;
}

.cj-form-section {
  margin-top: 18px;
  padding: 16px;
  background: var(--cj-mist);
  border: 1px solid var(--cj-line);
  border-radius: 8px;
}

.cj-form-section h3,
.cj-form-intro h2 {
  margin-top: 0;
}

.cockroach-dashboard-list,
.cj-applicant-table {
  display: grid;
  gap: 0;
  margin: 10px 0 20px;
  border-top: 1px solid var(--cj-line);
}

.cockroach-dashboard-list article,
.cj-applicant-row {
  padding: 15px 0;
  border-bottom: 1px solid var(--cj-line);
}

.cockroach-dashboard-list h3,
.cj-applicant-row h4 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: 0;
}

.cj-applicant-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(170px, 0.6fr) minmax(190px, 0.7fr);
}

.cj-file-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cj-file-list li {
  margin-bottom: 5px;
}

.cj-status-form {
  display: grid;
  gap: 8px;
}

.cj-job-switcher {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}

.cockroach-application-attachments {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  background: var(--cj-mist);
  border: 1px solid var(--cj-line);
  border-radius: 8px;
}

body.single-question .main-content,
body.single-question .post,
body.single-question .question {
  border-color: var(--cj-line) !important;
}

body.single-question .question {
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(34, 31, 27, 0.06);
}

body.single-question .single-question-title h1,
body.single-question .question h2,
body.single-question .question h3 {
  letter-spacing: 0;
}

body.single-question .question-meta,
body.single-question .question-date,
body.single-question .question-view,
body.single-question .question-comment,
body.single-question .question-author-meta {
  color: var(--cj-muted) !important;
}

.cj-application-form {
  padding: 18px !important;
  border: 1px solid var(--cj-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(34, 31, 27, 0.06);
}

.cj-application-form .cj-legacy-upload,
.cj-application-form .fileinputs,
.cj-application-form label[for="attachment"] {
  display: none !important;
}

.cj-application-form label[for="comment"],
.cj-application-form .cockroach-application-files label {
  color: var(--cj-charcoal);
  font-weight: 900;
}

.cj-application-form #comment {
  min-height: 170px;
  border: 1px solid var(--cj-line);
  border-radius: 8px;
  padding: 12px;
  background: var(--cj-mist);
}

.cj-application-form .cockroach-application-files {
  margin: 12px 0 !important;
  padding: 14px;
  border: 1px dashed rgba(159, 29, 45, 0.38);
  border-radius: 8px;
  background: #fffaf7;
}

.cj-application-form .form-allowed-tags {
  display: none;
}

.cj-application-form .form-submit input,
.cj-application-form input[type="submit"] {
  width: auto !important;
  min-width: 180px;
}

.cockroach-notice {
  border-left: 4px solid var(--cj-green) !important;
  border-radius: 6px;
  background: #f2faf5 !important;
  padding: 12px 14px !important;
}

.question-vote,
.single-question-vote,
.question-favorite,
.add_favorite,
.question-bump,
.question-rss,
.answers-tabs,
.tabs-register-for-login,
.widget_ask,
.widget_stats,
.question-report,
.question-tags + .clearfix {
  display: none !important;
}

body.single-question .commentlist li.comment {
  margin-bottom: 18px;
  border: 1px solid var(--cj-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(34, 31, 27, 0.05);
}

body.single-question .comment-body {
  padding: 18px !important;
}

body.single-question .comment-author .date.fnone {
  display: none !important;
}

body.single-question .comment-text {
  color: var(--cj-ink);
}

.comment-respond h3,
#respond h3 {
  font-size: 22px;
  letter-spacing: 0;
}

.comment-respond h3:before,
#respond h3:before {
  content: "Application";
  display: block;
  color: var(--cj-amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  #header > .container {
    min-height: 76px;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  #header .logo {
    min-width: 0;
  }

  #header .logo h2 a,
  #header .logo > a {
    font-size: 26px !important;
  }

  #header .logo h2 a:before,
  #header .logo > a:before {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  #header .navigation {
    width: 100%;
    flex-basis: 100%;
  }

  #header .header-menu > ul {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px !important;
  }

  #header .header-menu > ul > li > a {
    min-height: 36px;
    padding: 8px 11px !important;
    font-size: 12px !important;
  }

  #header .header-menu > ul > li.menu-item-pq {
    margin-left: 0 !important;
  }

  .cj-hero,
  .cj-job-board,
  .cj-profile-hero,
  .cj-profile-editor,
  .cockroach-job-search,
  .cockroach-stats,
  .cj-category-grid,
  .cockroach-profile-grid,
  .cj-form-grid,
  .cj-applicant-row {
    grid-template-columns: 1fr !important;
  }

  .cj-hero {
    padding: 24px;
  }

  .cj-hero h1 {
    font-size: 32px;
  }

  .cj-section-head,
  .cockroach-job-card-head,
  .cockroach-dashboard-head,
  .cockroach-dashboard-list article {
    display: block;
  }

  .cj-job-switcher {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .cj-hero {
    padding: 18px;
  }

  .cj-hero h1 {
    font-size: 28px;
  }

  .cj-btn,
  .button.small,
  .button.color.small {
    width: 100%;
  }
}

/* Final responsive hardening over the ThemeForest layout. */
@media (max-width: 1199px) {
  body .container,
  body .main-content.container,
  body .breadcrumbs .container {
    width: min(100% - 32px, 1120px) !important;
    max-width: calc(100% - 32px) !important;
  }

  #header .logo {
    min-width: 230px;
  }

  #header .header-menu > ul {
    gap: 6px;
  }

  #header .header-menu > ul > li > a {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

@media (max-width: 991px) {
  html,
  body {
    overflow-x: hidden;
  }

  body .container,
  body .main-content.container,
  body .breadcrumbs .container {
    width: min(100% - 24px, 100%) !important;
    max-width: calc(100% - 24px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body .row,
  body .with-sidebar-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body .row > [class*="col-"],
  body .with-sidebar-container > [class*="col-"],
  body .container > .row > [class*="col-"],
  body .main-content > .row > [class*="col-"] {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body .sidebar,
  body .col-md-3.sidebar,
  body .col-md-4.sidebar {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 24px;
  }

  body .sidebar .widget,
  body .sidebar_box {
    width: 100% !important;
  }

  #header {
    margin-bottom: 22px !important;
  }

  #header > .container {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  #header .navigation {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
  }

  #header .header-menu > ul {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
  }

  #header .header-menu > ul > li {
    flex: 0 1 auto;
  }

  #header .header-menu > ul > li.menu-item-pq > a {
    min-height: 38px;
    padding: 10px 14px !important;
  }

  .cj-hero {
    gap: 18px;
  }

  .cj-hero-panel,
  .cj-profile-card,
  .cockroach-dashboard-shell,
  .cockroach-auth-form,
  .cockroach-job-form,
  .cockroach-empty-state,
  .cockroach-job-card,
  .cj-application-form {
    padding: 16px !important;
  }

  .cj-hero-stats,
  .cockroach-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cj-dashboard-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .cj-dashboard-tabs a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .cj-profile-score {
    width: 100%;
  }

  .cj-list-actions,
  .cockroach-job-card-actions,
  .cj-form-actions {
    margin-top: 12px;
  }

  .cj-applicant-row,
  .cockroach-dashboard-list article {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .cj-applicant-files,
  .cj-status-form {
    width: 100%;
  }

  .cj-status-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  body.single-question .comment-body,
  body.single-question .comment-text,
  body.single-question .commentlist li.comment {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  #wpadminbar {
    position: fixed;
  }

  #header {
    margin-bottom: 18px !important;
  }

  #header > .container {
    justify-content: center;
    min-height: auto;
    gap: 12px;
    padding-top: 13px !important;
    padding-bottom: 13px !important;
  }

  #header .logo {
    min-width: 0;
    width: 100% !important;
    justify-content: center;
  }

  #header .logo h2 a,
  #header .logo > a {
    max-width: 100%;
    font-size: 24px !important;
    white-space: nowrap;
  }

  #header .logo h2 a:before,
  #header .logo > a:before {
    flex: 0 0 auto;
  }

  #header .navigation,
  #header .header-menu {
    width: 100%;
  }

  #header .header-menu > ul {
    display: grid !important;
    grid-template-columns: repeat(3, max-content);
    justify-content: center;
    justify-items: center;
    gap: 7px 8px;
  }

  #header .header-menu > ul > li {
    min-width: 0;
  }

  #header .header-menu > ul > li.menu-item-pq {
    grid-column: 1 / -1;
    justify-self: center;
    margin-left: 0 !important;
  }

  #header .navigation_mobile,
  #header select,
  .navigation_mobile,
  .selectnav {
    display: none !important;
  }

  .cj-hero,
  .cj-hero > *,
  .cj-hero-panel,
  .cockroach-job-card,
  .cockroach-dashboard-shell,
  .cockroach-auth-form,
  .cockroach-job-form,
  .cj-application-form {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .cj-hero p,
  .cockroach-job-card,
  .cockroach-dashboard-shell,
  .cockroach-auth-form,
  .cockroach-job-form {
    overflow-wrap: anywhere;
  }

  .cockroach-auth-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  .cockroach-job-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  .cockroach-profile-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  .cj-application-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  .cockroach-auth-form textarea,
  .cockroach-job-form textarea,
  .cockroach-profile-form textarea,
  .cj-application-form textarea,
  .cockroach-auth-form select,
  .cockroach-job-form select,
  .cockroach-profile-form select,
  .cj-application-form select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .cj-hero h1 {
    font-size: 30px;
    line-height: 1.12;
  }

  .cj-hero p {
    font-size: 15px;
  }

  .cj-hero-actions,
  .cj-search-actions,
  .cockroach-search-actions,
  .cockroach-job-card-actions,
  .cockroach-dashboard-actions,
  .cj-form-actions,
  .cj-list-actions,
  .cj-settings-toggles,
  .cj-profile-chips {
    width: 100%;
  }

  .cj-hero-actions,
  .cj-search-actions,
  .cockroach-search-actions,
  .cockroach-job-card-actions,
  .cockroach-dashboard-actions,
  .cj-form-actions,
  .cj-list-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .cj-hero-actions > *,
  .cj-search-actions > *,
  .cockroach-search-actions > *,
  .cockroach-job-card-actions > *,
  .cockroach-dashboard-actions > *,
  .cj-form-actions > *,
  .cj-list-actions > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  .cockroach-job-search {
    padding: 14px !important;
  }

  .cockroach-job-search p,
  .cockroach-auth-form p,
  .cockroach-job-form p,
  .cockroach-profile-form p {
    margin-bottom: 10px;
  }

  .cj-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cj-section-head {
    display: grid !important;
    gap: 8px;
    align-items: start;
  }

  .cj-profile-hero {
    text-align: left;
  }

  .cj-profile-avatar {
    width: 64px;
    height: 64px;
  }

  .cj-profile-avatar.large {
    width: 88px;
    height: 88px;
  }

  .cj-profile-chips span,
  .cj-settings-toggles label {
    width: 100%;
    justify-content: flex-start;
  }

  .cockroach-job-card-head,
  .cockroach-dashboard-head {
    display: grid !important;
    gap: 10px;
  }

  .cockroach-job-card h2 {
    font-size: 18px !important;
  }

  .cockroach-job-card-meta span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .cockroach-job-details {
    padding: 14px !important;
  }

  .cockroach-job-details li {
    display: grid !important;
    gap: 3px;
  }

  .cj-application-form .form-submit input,
  .cj-application-form input[type="submit"],
  .cockroach-profile-form .cj-btn,
  .cj-status-form .cj-btn {
    width: 100% !important;
  }

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

  body.single-question .comment-body {
    display: grid;
    gap: 12px;
  }

  body.single-question .comment-author-img {
    float: none !important;
    margin: 0 !important;
  }

  body.single-question .comment-text {
    float: none !important;
    margin: 0 !important;
  }
}

@media (max-width: 480px) {
  body .container,
  body .main-content.container,
  body .breadcrumbs .container {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
  }

  #header .logo h2 a,
  #header .logo > a {
    font-size: 22px !important;
  }

  #header .header-menu > ul > li > a {
    min-height: 34px;
    padding: 8px 9px !important;
    font-size: 11px !important;
  }

  #header .header-menu > ul > li.menu-item-pq > a {
    min-height: 36px;
    padding: 9px 12px !important;
  }

  .cj-hero-actions,
  .cj-search-actions,
  .cockroach-search-actions,
  .cockroach-job-card-actions,
  .cockroach-dashboard-actions,
  .cj-form-actions,
  .cj-list-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .cj-hero-actions > *,
  .cj-search-actions > *,
  .cockroach-search-actions > *,
  .cockroach-job-card-actions > *,
  .cockroach-dashboard-actions > *,
  .cj-form-actions > *,
  .cj-list-actions > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  .cj-hero,
  .cockroach-dashboard-shell,
  .cockroach-auth-form,
  .cockroach-job-form,
  .cockroach-empty-state,
  .cockroach-job-card,
  .cj-application-form {
    padding: 14px !important;
  }

  .cj-hero h1 {
    font-size: 26px;
  }

  .cj-hero-stats,
  .cockroach-stats,
  .cj-category-grid {
    grid-template-columns: 1fr !important;
  }

  .cj-hero-stats strong,
  .cockroach-stats strong {
    font-size: 21px;
  }

  .cj-profile-hero {
    padding: 16px;
  }

  .cj-profile-identity h2 {
    font-size: 24px;
  }

  .cj-dashboard-tabs {
    padding: 6px;
  }

  .cj-dashboard-tabs a {
    padding: 7px 10px;
    font-size: 13px;
  }

  .cockroach-job-card-actions .cj-save-job-form,
  .cj-save-job-form,
  .cj-save-job-form .cj-btn {
    width: 100%;
  }

  .cj-job-switcher {
    grid-template-columns: 1fr !important;
  }

  .cj-applicant-row h4,
  .cockroach-dashboard-list h3 {
    font-size: 16px;
  }
}

/* Tablet/mobile header menu. */
.cj-mobile-menu-toggle {
  display: inline-flex;
}

@media (max-width: 991px) {
  #header > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }

  #header .logo {
    width: auto !important;
    min-width: 0;
    justify-content: flex-start;
  }

  #header .logo h2 a,
  #header .logo > a {
    white-space: normal;
  }

  .cj-mobile-menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--cj-line);
    border-radius: 8px;
    background: var(--cj-charcoal);
    box-shadow: 0 10px 22px rgba(34, 31, 27, 0.12);
    cursor: pointer;
  }

  .cj-mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--cj-amber);
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  #header.cj-mobile-menu-open .cj-mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  #header.cj-mobile-menu-open .cj-mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  #header.cj-mobile-menu-open .cj-mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  #header .navigation {
    display: none !important;
    grid-column: 1 / -1;
    width: 100%;
    padding-top: 8px;
  }

  #header.cj-mobile-menu-open .navigation {
    display: block !important;
  }

  #header .header-menu {
    width: 100%;
  }

  #header .header-menu > ul {
    display: grid !important;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px !important;
    border: 1px solid var(--cj-line);
    border-radius: 8px;
    background: #fffaf0;
    box-shadow: 0 18px 38px rgba(34, 31, 27, 0.12);
  }

  #header .header-menu > ul > li {
    width: 100%;
  }

  #header .header-menu > ul > li > a {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    border-radius: 8px;
    padding: 12px 13px !important;
    background: #fff !important;
    border: 1px solid rgba(231, 220, 203, 0.82);
    font-size: 13px !important;
  }

  #header .header-menu > ul > li.menu-item-pq {
    grid-column: 1 / -1;
    margin-left: 0 !important;
  }

  #header .header-menu > ul > li.menu-item-pq > a {
    justify-content: center;
    background: var(--cj-red) !important;
    color: #fff !important;
  }

  #header .navigation_mobile,
  #header .navigation_mobile_main,
  #header .infocenter_mobile_click {
    display: none !important;
  }
}

@media (max-width: 560px) {
  #header .logo h2 a,
  #header .logo > a {
    font-size: 24px !important;
  }

  #header .logo h2 a:before,
  #header .logo > a:before {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  #header .header-menu > ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  #header > .container {
    display: flex !important;
    position: relative;
    min-height: 70px;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap;
    padding-right: 58px !important;
  }

  #header .logo {
    flex: 0 1 auto;
    width: auto !important;
    max-width: calc(100vw - 108px) !important;
    justify-content: flex-start !important;
    overflow: hidden;
  }

  #header .logo h2 a,
  #header .logo > a {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap !important;
  }

  .cj-mobile-menu-toggle {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

  #header .navigation {
    flex: 0 0 100%;
    margin-top: 10px !important;
  }
}

@media (max-width: 420px) {
  #header .logo h2 a,
  #header .logo > a {
    gap: 8px;
    font-size: 21px !important;
  }
}

@media (max-width: 991px) {
  #header .navigation_mobile,
  #header .navigation_mobile_main {
    display: block !important;
    position: absolute;
    top: 50%;
    right: 0;
    width: 44px !important;
    height: 44px;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-50%);
    z-index: 20;
  }

  #header .navigation_mobile ul {
    display: none !important;
  }

  #header .infocenter_mobile_click,
  #header .navigation_mobile .infocenter_mobile_click {
    position: relative;
    display: inline-flex !important;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--cj-line);
    border-radius: 8px;
    background: var(--cj-charcoal) !important;
    box-shadow: 0 10px 22px rgba(34, 31, 27, 0.12);
    color: transparent !important;
    cursor: pointer;
    font-size: 0 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
  }

  #header .infocenter_mobile_click:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--cj-amber);
    box-shadow: 0 -6px 0 var(--cj-amber), 0 6px 0 var(--cj-amber);
    text-indent: 0;
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  #header.cj-mobile-menu-open .infocenter_mobile_click:before {
    transform: translate(-50%, -50%) rotate(45deg);
    box-shadow: 0 0 0 var(--cj-amber), 0 0 0 var(--cj-amber);
  }

  #header.cj-mobile-menu-open .infocenter_mobile_click:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--cj-amber);
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}

/* Authoritative mobile/tablet header repair. Keep this at the end. */
@media (max-width: 991px) {
  html,
  body,
  #wrap {
    max-width: 100%;
    overflow-x: hidden;
  }

  #header {
    overflow: visible !important;
  }

  #header > .container {
    display: flex !important;
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    min-height: 72px !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 14px 0 !important;
    position: relative !important;
  }

  #header .logo {
    order: 1 !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 58px) !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
  }

  #header .logo h2,
  #header .logo h2 a,
  #header .logo > a {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  #header .logo h2 a,
  #header .logo > a {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  #header .navigation_mobile,
  #header .navigation_mobile_main {
    order: 2 !important;
    display: flex !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    transform: none !important;
    z-index: 40 !important;
  }

  #header .infocenter_mobile_click,
  #header .navigation_mobile .infocenter_mobile_click {
    position: relative !important;
    display: inline-flex !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--cj-line) !important;
    border-radius: 8px !important;
    background: var(--cj-charcoal) !important;
    box-shadow: 0 10px 22px rgba(34, 31, 27, 0.14) !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;
    cursor: pointer !important;
  }

  #header .infocenter_mobile_click:before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: var(--cj-amber) !important;
    box-shadow: 0 -6px 0 var(--cj-amber), 0 6px 0 var(--cj-amber) !important;
    transform: translate(-50%, -50%) !important;
  }

  #header.cj-mobile-menu-open .infocenter_mobile_click:before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
    box-shadow: none !important;
  }

  #header.cj-mobile-menu-open .infocenter_mobile_click:after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: var(--cj-amber) !important;
    transform: translate(-50%, -50%) rotate(-45deg) !important;
  }

  #header .navigation_mobile ul {
    display: none !important;
  }

  #header .navigation {
    order: 3 !important;
    display: none !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
  }

  #header.cj-mobile-menu-open .navigation {
    display: block !important;
  }

  #header .header-menu,
  #header .header-menu > ul {
    width: 100% !important;
    max-width: 100% !important;
  }

  #header .header-menu > ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 10px !important;
    border: 1px solid var(--cj-line) !important;
    border-radius: 8px !important;
    background: var(--cj-ivory) !important;
    box-shadow: 0 18px 38px rgba(34, 31, 27, 0.12) !important;
    overflow: visible !important;
  }

  #header .header-menu > ul > li,
  #header .header-menu > ul > li > a {
    width: 100% !important;
    max-width: 100% !important;
  }

  #header .header-menu > ul > li > a {
    min-height: 44px !important;
    justify-content: flex-start !important;
    border: 1px solid rgba(231, 220, 203, 0.86) !important;
    border-radius: 8px !important;
    padding: 12px 13px !important;
    background: #fff !important;
    font-size: 13px !important;
    text-align: left !important;
  }

  #header .header-menu > ul > li.menu-item-pq {
    grid-column: 1 / -1 !important;
  }

  #header .header-menu > ul > li.menu-item-pq > a {
    justify-content: center !important;
    background: var(--cj-red) !important;
    color: #fff !important;
    text-align: center !important;
  }

  body .container,
  body .main-content.container,
  body .breadcrumbs .container {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 560px) {
  #header > .container,
  body .container,
  body .main-content.container,
  body .breadcrumbs .container {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
  }

  #header .logo h2 a,
  #header .logo > a {
    font-size: 24px !important;
  }

  #header .header-menu > ul {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 991px) {
  #header > .container > .cj-mobile-menu-toggle {
    order: 2 !important;
    display: inline-flex !important;
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    border: 1px solid var(--cj-line) !important;
    border-radius: 8px !important;
    background: var(--cj-charcoal) !important;
    box-shadow: 0 10px 22px rgba(34, 31, 27, 0.14) !important;
    cursor: pointer !important;
    transform: translateY(-50%) !important;
    z-index: 60 !important;
  }

  #header > .container > .cj-mobile-menu-toggle span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: var(--cj-amber) !important;
    transition: transform 0.18s ease, opacity 0.18s ease !important;
  }

  #header.cj-mobile-menu-open > .container > .cj-mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
  }

  #header.cj-mobile-menu-open > .container > .cj-mobile-menu-toggle span:nth-child(2) {
    opacity: 0 !important;
  }

  #header.cj-mobile-menu-open > .container > .cj-mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
  }

  #header .navigation_mobile,
  #header .navigation_mobile_main {
    display: none !important;
  }
}

@media (min-width: 992px) {
  #header > .container > .cj-mobile-menu-toggle {
    display: none !important;
  }
}

@media (max-width: 1199px) {
  #header > .container {
    display: flex !important;
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    min-height: 72px !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 14px 0 !important;
    position: relative !important;
  }

  #header .logo {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 58px) !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
  }

  #header > .container > .cj-mobile-menu-toggle {
    display: inline-flex !important;
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--cj-line) !important;
    border-radius: 8px !important;
    background: var(--cj-charcoal) !important;
    box-shadow: 0 10px 22px rgba(34, 31, 27, 0.14) !important;
    cursor: pointer !important;
    transform: translateY(-50%) !important;
    z-index: 80 !important;
  }

  #header > .container > .cj-mobile-menu-toggle span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: var(--cj-amber) !important;
  }

  #header .navigation {
    display: none !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    margin-top: 12px !important;
  }

  #header.cj-mobile-menu-open .navigation {
    display: block !important;
  }

  #header .navigation_mobile,
  #header .navigation_mobile_main {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  #header > .container > .cj-mobile-menu-toggle {
    display: none !important;
  }
}

/* Final mobile alignment polish. */
@media (max-width: 1199px) {
  body {
    min-width: 0 !important;
  }

  #wrap,
  .main-content,
  .with-sidebar-container,
  .post-content,
  .post-inner {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  #header > .container,
  body .container,
  body .main-content.container,
  body .breadcrumbs .container {
    width: min(100% - 28px, 1120px) !important;
    max-width: min(100% - 28px, 1120px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  #header > .container {
    display: flex !important;
    min-height: 72px !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    position: relative !important;
    gap: 10px !important;
  }

  #header .logo {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: calc(100% - 58px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  #header .logo h2 {
    width: 100% !important;
  }

  #header .logo h2 a,
  #header .logo > a {
    justify-content: flex-start !important;
    overflow: hidden !important;
    text-align: left !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  #header > .container > .cj-mobile-menu-toggle {
    display: inline-flex !important;
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
  }

  .cj-hero,
  .cj-section,
  .cockroach-job-search,
  .cockroach-job-card,
  .cockroach-dashboard-shell,
  .cockroach-auth-form,
  .cockroach-job-form,
  .cj-application-form {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 560px) {
  #header > .container,
  body .container,
  body .main-content.container,
  body .breadcrumbs .container {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
  }

  #header .logo h2 a,
  #header .logo > a {
    font-size: 24px !important;
  }
}

@media (max-device-width: 1199px), (pointer: coarse) {
  #header > .container,
  body .container,
  body .main-content.container,
  body .breadcrumbs .container {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  #header > .container {
    display: flex !important;
    min-height: 72px !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
  }

  #header .logo {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: calc(100% - 58px) !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  #header .logo h2 a,
  #header .logo > a {
    justify-content: flex-start !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  #header > .container > .cj-mobile-menu-toggle {
    display: inline-flex !important;
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    transform: translateY(-50%) !important;
    z-index: 90 !important;
  }

  #header .navigation {
    display: none !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    margin-top: 12px !important;
  }

  #header.cj-mobile-menu-open .navigation {
    display: block !important;
  }

  .cj-hero,
  .cj-section,
  .cockroach-job-search,
  .cockroach-job-card,
  .cockroach-dashboard-shell,
  .cockroach-auth-form,
  .cockroach-job-form {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Cockroach Jobs footer. */
#footer {
  display: none !important;
}

.cj-site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100vw;
  margin-top: 54px;
  background: linear-gradient(135deg, rgba(34, 31, 27, 0.98), rgba(55, 38, 33, 0.98));
  color: #f6ecdc;
  overflow: hidden;
  box-sizing: border-box;
}

.cj-site-footer *,
.cj-site-footer *:before,
.cj-site-footer *:after {
  box-sizing: border-box;
}

.cj-footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 22px;
}

.cj-footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 30px;
  padding: 24px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.08);
}

.cj-footer-cta h2 {
  max-width: 760px;
  margin: 6px 0 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.cj-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cj-footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(130px, 0.7fr));
  gap: 28px;
  padding: 10px 0 28px;
}

.cj-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff !important;
  text-decoration: none;
}

.cj-footer-logo span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fffaf0;
  color: var(--cj-charcoal);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.cj-footer-logo strong {
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

.cj-footer-brand p,
.cj-footer-contact p {
  margin: 14px 0;
  color: #d9cdbc;
  font-size: 14px;
  line-height: 1.7;
}

.cj-footer-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 420px;
  margin-top: 18px;
}

.cj-footer-stats div {
  padding: 12px;
  border: 1px solid rgba(255, 250, 240, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.cj-footer-stats strong {
  display: block;
  color: var(--cj-amber);
  font-size: 22px;
  line-height: 1;
}

.cj-footer-stats span {
  display: block;
  margin-top: 5px;
  color: #e8ddce;
  font-size: 12px;
  font-weight: 800;
}

.cj-footer-col h3 {
  margin: 5px 0 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cj-footer-col ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cj-footer-col a {
  color: #e8ddce !important;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
}

.cj-footer-col a:hover {
  color: var(--cj-amber) !important;
}

.cj-footer-contact > a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-bottom: 1px solid rgba(214, 155, 45, 0.6);
  color: var(--cj-amber) !important;
}

.cj-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 250, 240, 0.14);
}

.cj-footer-bottom p {
  margin: 0;
  color: #cfc1af;
  font-size: 13px;
}

.cj-footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.cj-footer-bottom a {
  color: #f6ecdc !important;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.cj-footer-bottom a:hover {
  color: var(--cj-amber) !important;
}

@media (max-width: 980px) {
  .cj-footer-cta,
  .cj-footer-main {
    grid-template-columns: 1fr !important;
  }

  .cj-footer-cta-actions {
    justify-content: flex-start;
  }

  .cj-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .cj-footer-bottom div {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .cj-site-footer {
    margin-top: 38px;
  }

  .cj-footer-inner {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    padding-top: 22px;
  }

  .cj-footer-cta {
    padding: 18px;
  }

  .cj-footer-cta h2 {
    font-size: 22px;
  }

  .cj-footer-cta-actions .cj-btn,
  .cj-footer-stats {
    width: 100%;
  }

  .cj-footer-stats {
    grid-template-columns: 1fr;
  }
}

/* Final header and content alignment repair. */
body {
  overflow-x: hidden;
}

@media (min-width: 1200px) {
  #header > .container {
    width: min(1320px, calc(100vw - 56px)) !important;
    max-width: min(1320px, calc(100vw - 56px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #header .logo {
    margin-left: 0 !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 1199px) {
  #header > .container {
    display: grid !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-height: 72px !important;
    grid-template-columns: minmax(0, 1fr) 44px !important;
    column-gap: 14px !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 14px !important;
    box-sizing: border-box !important;
  }

  #header .logo {
    position: static !important;
    left: auto !important;
    right: auto !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    justify-self: start !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  #header .logo h2,
  #header .logo h2 a,
  #header .logo > a {
    width: auto !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    text-align: left !important;
  }

  #header .logo h2 a,
  #header .logo > a {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #header > .container > .cj-mobile-menu-toggle {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    margin: 0 !important;
    transform: none !important;
  }

  #header .navigation {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #header .navigation_mobile,
  #header .navigation_mobile_main {
    display: none !important;
  }

  body > #wrap > .container,
  body .main-content.container,
  body .breadcrumbs .container {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body > #wrap > .container > .row,
  #wrap .container,
  #wrap .row,
  body .with-sidebar-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #wrap > .container {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #wrap .row > [class*="col-"],
  #wrap [class^="col-"],
  #wrap [class*=" col-"] {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  #wrap article.post,
  #wrap .post-inner,
  #wrap .post-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  #wrap .post-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body .with-sidebar-container > .main-content,
  body .with-sidebar-container > aside.sidebar {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .cj-hero,
  .cj-section,
  .cockroach-job-search,
  .cockroach-job-card,
  .cockroach-dashboard-shell,
  .cockroach-auth-form,
  .cockroach-job-form {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
}

/* Final client logo and palette overrides. */
:root {
  --cj-charcoal: #14110f;
  --cj-ink: #211c18;
  --cj-red: #e21b23;
  --cj-red-dark: #aa141b;
  --cj-amber: #c8732f;
  --cj-brown: #7b3f25;
  --cj-ivory: #fff8eb;
  --cj-paper: #ffffff;
  --cj-mist: #fbf4e9;
  --cj-line: #eadcc9;
  --cj-muted: #71665d;
  --cj-green: #2f6f4e;
  --cj-shadow: 0 16px 40px rgba(20, 17, 15, 0.12);
}

#header {
  background: rgba(255, 252, 246, 0.98) !important;
  border-bottom-color: rgba(123, 63, 37, 0.18) !important;
}

#header .logo h2 a:before,
#header .logo > a:before {
  display: none !important;
  content: none !important;
}

#header .logo h2 a,
#header .logo > a {
  min-height: 54px !important;
  gap: 0 !important;
}

.cj-header-logo-img {
  display: block !important;
  width: 188px !important;
  max-width: 100% !important;
  height: 76px !important;
  object-fit: fill !important;
}

#header .header-menu > ul > li.menu-item-pq > a,
.cj-btn-primary,
.button.color.small,
button.color.button.small {
  background: var(--cj-red) !important;
  border-color: var(--cj-red) !important;
  color: #fff !important;
}

#header .header-menu > ul > li.menu-item-pq > a:hover,
.cj-btn-primary:hover,
.button.color.small:hover,
button.color.button.small:hover {
  background: var(--cj-red-dark) !important;
  border-color: var(--cj-red-dark) !important;
}

#header .header-menu > ul > li.current-menu-item > a,
#header .header-menu > ul > li.current_page_item > a,
a,
.cj-link {
  color: var(--cj-red) !important;
}

.cj-hero {
  background: linear-gradient(135deg, #14110f 0%, #302019 58%, #7b241f 100%) !important;
  box-shadow: 0 18px 44px rgba(20, 17, 15, 0.16) !important;
}

.cj-kicker {
  color: var(--cj-amber) !important;
}

.cj-hero-panel,
.cockroach-job-search,
.cockroach-auth-form,
.cockroach-job-form,
.cockroach-dashboard-shell,
.cockroach-job-card,
.cockroach-empty-state,
.cj-category-tile {
  background-color: var(--cj-mist) !important;
  border-color: var(--cj-line) !important;
}

.cj-hero-stats,
.cj-footer-stats {
  display: none !important;
}

.cj-site-footer {
  background: linear-gradient(135deg, #11100e 0%, #2d1e18 56%, #4b1f1b 100%) !important;
}

.cj-footer-logo {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  padding: 8px 10px !important;
  border: 1px solid rgba(255, 248, 235, 0.18) !important;
  border-radius: 8px !important;
  background: rgba(255, 248, 235, 0.94) !important;
}

.cj-footer-logo-img {
  display: block !important;
  width: 260px !important;
  max-width: 100% !important;
  height: auto !important;
}

@media (max-width: 1199px) {
  #header .logo {
    min-width: 0 !important;
  }

  #header .logo h2 a,
  #header .logo > a {
    min-height: 48px !important;
  }

  .cj-header-logo-img {
    width: min(176px, calc(100vw - 104px)) !important;
    height: 72px !important;
  }
}

@media (max-width: 560px) {
  .cj-header-logo-img {
    width: min(164px, calc(100vw - 104px)) !important;
    height: 68px !important;
  }

  .cj-footer-logo-img {
    width: min(250px, calc(100vw - 68px)) !important;
  }
}
