/* NIGHOCHEM — CAREERS / JOB OPENINGS — optimized, duplicate rules merged */
.nighochem-careers-section {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 8px 20px 45px !important;
  overflow: hidden;
  background: #fff;
  min-height: 0 !important;
}
.careers-hex-bg {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.careers-hex-bg canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.nighochem-careers-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 950px;
  margin: 0 auto !important;
  padding: 0 !important;
}
.jobs-heading {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 0 22px !important;
  padding: 0 !important;
  text-align: center;
}
.jobs-heading > span {
  display: block;
  margin: 0 0 5px !important;
  padding: 0 !important;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #64748b;
}
.jobs-heading h1 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  color: #111827;
}
.jobs-heading h1 b {
  background: linear-gradient(90deg, #35d42f, #08a9e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.jobs-heading p {
  max-width: 700px;
  margin: 10px auto 0 !important;
  padding: 0 !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
  color: #64748b !important;
  font-weight: 400;
}
.job-card {
  position: relative;
  width: 100%;
  margin: 0 0 14px !important;
  padding: 0 !important;
  overflow: hidden;
  background: linear-gradient(120deg, #ffffff 0%, #ffffff 62%, #f0fbfd 100%);
  border: 1px solid #edf2f5;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  isolation: isolate;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 38px rgba(15, 23, 42, 0.09);
}
.job-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #35d42f, #16c7c4, #078ee8);
  z-index: 3;
}
.job-watermarks {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}
.formula {
  position: absolute;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  color: rgba(8, 169, 232, 0.12);
  white-space: nowrap;
  user-select: none;
}
.f1 {
  top: 20px;
  right: 180px;
}
.f2 {
  bottom: 20px;
  right: 65px;
}
.f3 {
  top: 72px;
  right: 370px;
}
.hex {
  position: absolute;
  display: block;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(8, 169, 232, 0.13);
  border-radius: 7px;
  transform: rotate(30deg);
  pointer-events: none;
}
.h1 {
  top: 22px;
  right: 250px;
  bottom: 22px;
  width: 38px;
  height: 38px;
}
.h3 {
  top: 80px;
  right: 480px;
  width: 18px;
  height: 18px;
}
.job-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 25px;
  width: 100%;
  margin: 0 !important;
  padding: 25px 36px !important;
}
.job-content {
  max-width: 700px;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left;
}
.job-type {
  display: block;
  margin: 0 0 7px !important;
  padding: 0 !important;
  font-size: 11px !important;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 1.7px;
  color: #08a9e8;
}
.job-content h3 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  font-size: 27px !important;
  line-height: 1.25;
  font-weight: 700;
  color: #111827;
  text-align: left;
}
.job-location {
  display: block;
  margin: 0 0 10px !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.4;
  font-weight: 600;
  color: #64748b;
  text-align: left;
}
.job-location i {
  margin-right: 6px;
  font-size: 11px;
  color: #e83e8c;
}
.job-desc {
  max-width: 700px;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: #64748b !important;
  text-align: left;
  margin-bottom: 0 !important;
  font-weight: 400;
}
.job-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0 !important;
  padding: 0 !important;
}
.job-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  margin: 0;
  border-radius: 22px;
  background: linear-gradient(90deg, #35d42f, #16c7c4, #078ee8);
  color: #fff;
  font-size: 12px !important;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 5px 12px rgba(8, 169, 232, 0.16);
  min-height: 34px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.job-action {
  flex-shrink: 0;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
}
.job-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 150px;
  padding: 14px 22px !important;
  margin: 0 !important;
  border: 0;
  border-radius: 30px;
  background: linear-gradient(90deg, #35d42f, #16c7c4, #078ee8);
  color: #fff;
  font-family: inherit;
  font-size: 14px !important;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(8, 169, 232, 0.2);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.job-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(8, 169, 232, 0.27);
}
.job-toggle:focus-visible {
  outline: 2px solid #08a9e8;
  outline-offset: 3px;
}
.job-arrow {
  display: inline-block;
  flex-shrink: 0;
  width: 12px;
  font-size: 10px !important;
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.job-card.is-open .job-arrow {
  transform: rotate(180deg);
}
.job-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.job-card.is-open .job-details {
  grid-template-rows: 1fr;
}
.job-details-inner {
  min-height: 0;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 36px !important;
  border-top: 1px solid transparent;
  transition:
    padding 0.35s ease,
    border-color 0.35s ease;
}
.job-card.is-open .job-details-inner {
  padding-top: 20px !important;
  padding-bottom: 24px !important;
  border-color: rgba(8, 169, 232, 0.1);
}
.job-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
}
.job-detail-grid h4 {
  margin: 0 0 9px !important;
  padding: 0 !important;
  font-size: 16px !important;
  line-height: 1.35;
  font-weight: 700;
  color: #111827;
}
.job-detail-grid p,
.job-detail-grid li {
  margin: 0;
  font-size: 14px !important;
  line-height: 1.75 !important;
  color: #64748b !important;
  font-weight: 400;
}
.job-detail-grid ul {
  margin: 0 !important;
  padding-left: 18px;
}
.job-detail-grid li {
  margin-bottom: 5px;
}
.job-apply {
  margin: 22px 0 0 !important;
  padding: 0 !important;
}
.job-apply a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 21px;
  border-radius: 26px;
  background: linear-gradient(90deg, #35d42f, #16c7c4, #078ee8);
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(8, 169, 232, 0.18);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.job-apply a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(8, 169, 232, 0.2);
}
.job-apply span {
  font-size: 17px;
  line-height: 1;
}
.job-tags span:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(8, 169, 232, 0.23);
}
@media (max-width: 768px) {
  .nighochem-careers-section {
    padding: 8px 15px 40px !important;
  }
  .nighochem-careers-container {
    max-width: 100%;
  }
  .jobs-heading {
    margin-bottom: 20px !important;
  }
  .jobs-heading h1 {
    font-size: 28px;
  }
  .jobs-heading p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
  .job-main {
    display: block;
    padding: 24px !important;
  }
  .job-content {
    width: 100%;
    max-width: none;
  }
  .job-action {
    width: 100%;
    margin: 18px 0 0 !important;
  }
  .job-toggle {
    width: 100%;
    font-size: 14px !important;
    min-width: 0;
    padding: 14px 20px !important;
  }
  .job-details-inner {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .job-detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .f3,
  .h3 {
    display: none;
  }
  .job-type {
    font-size: 10px;
  }
  .job-content h3 {
    font-size: 24px !important;
  }
  .job-location {
    font-size: 13px !important;
  }
  .job-desc {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  .job-tags span {
    font-size: 11px !important;
    padding: 7px 14px;
    min-height: 32px;
  }
  .job-detail-grid h4 {
    font-size: 15px !important;
  }
  .job-detail-grid p,
  .job-detail-grid li {
    font-size: 14px !important;
  }
  .job-tags {
    gap: 9px;
    margin-top: 16px !important;
  }
}
@media (max-width: 480px) {
  .nighochem-careers-section {
    padding: 5px 12px 35px !important;
  }
  .jobs-heading {
    margin-bottom: 18px !important;
  }
  .jobs-heading h1 {
    font-size: 25px;
  }
  .jobs-heading p {
    font-size: 14px !important;
  }
  .job-card {
    border-radius: 17px;
  }
  .job-main {
    padding: 22px 20px !important;
  }
  .job-content h3 {
    font-size: 21px !important;
  }
  .job-desc {
    font-size: 13.5px !important;
  }
  .job-tags {
    gap: 8px;
  }
  .job-tags span {
    padding: 7px 13px;
    font-size: 11px !important;
    min-height: 31px;
  }
  .job-details-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .formula {
    font-size: 10px;
  }
  .h1 {
    right: 40px;
  }
  .job-location {
    font-size: 13px !important;
  }
  .job-toggle {
    font-size: 13px !important;
    padding: 13px 18px !important;
  }
  .job-detail-grid p,
  .job-detail-grid li {
    font-size: 13.5px !important;
  }
}
@media (max-width: 360px) {
  .jobs-heading h1 {
    font-size: 23px;
  }
  .job-main {
    padding: 20px 17px !important;
  }
  .job-content h3 {
    font-size: 18px;
  }
  .job-details-inner {
    padding-left: 17px !important;
    padding-right: 17px !important;
  }
}
/* =========================================================
   NIGHOCHEM — CAREERS CTA
   ========================================================= */
.careers-cta .nighochem-gradient-btn {
  font-size: 18px !important;
}
.careers-cta .nighochem-gradient-btn {
  background: linear-gradient(90deg, #4ade80, #22c7c7, #16a8e8);
}
/* =========================================================
   NIGHOCHEM — CAREER IMAGES
   Four circular images outside the benefits box
   ========================================================= */
.careers-image-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  gap: 30px;
  width: 100%;
  margin: 30px auto 35px;
}
.careers-image-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* =========================================================
   CIRCULAR IMAGE
   ========================================================= */
.career-image {
  position: relative;
  width: 225px;
  height: 225px;
  padding: 4px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #35d42f, #16c7c4, #078ee8);
  box-shadow: 0 8px 25px rgba(8, 169, 232, 0.18);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.career-image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}
/* =========================================================
   HOVER
   ========================================================= */
.careers-image-item:hover .career-image {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(8, 169, 232, 0.28);
}
/* =========================================================
   BENEFITS BOX
   ========================================================= */
.careers-partition {
  position: relative;
  margin-top: 0;
  overflow: hidden;
}
/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 991px) {
  .careers-image-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .career-image {
    width: 115px;
    height: 115px;
  }
}
/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 575px) {
  .careers-image-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 0 10px;
  }
  .career-image {
    width: 100px;
    height: 100px;
  }
}
/* =========================================================
   SMALL MOBILE
   ========================================================= */
@media (max-width: 380px) {
  .career-image {
    width: 88px;
    height: 88px;
  }
}
/* =========================================================
   NIGHOCHEM — CAREERS TITLE
   ========================================================= */
.careers-title {
  margin: 0;
  line-height: 1.2;
}
.careers-title-prefix {
  color: #64748b;
}
.careers-title-brand {
  display: inline-block;
  margin-left: 8px;
  background: linear-gradient(90deg, #35d42f, #16c7c4, #078ee8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: inherit;
}
/* Typewriter cursor */
.careers-title-brand::after {
  content: "|";
  display: inline-block;
  margin-left: 3px;
  -webkit-text-fill-color: #16c7c4;
  color: #16c7c4;
  animation: careersCursor 0.75s step-end infinite;
}
@keyframes careersCursor {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}
/* Mobile */
@media (max-width: 575px) {
  .careers-title-brand {
    margin-left: 5px;
  }
}
/* =========================================================
   NIGHOCHEM — CAREERS TITLE
   ========================================================= */
.careers-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 0;
  line-height: 1.2;
}
.careers-title-prefix {
  color: #64748b;
  white-space: nowrap;
}
/* Fixed-width area for Nighochem */
.careers-title-brand-wrap {
  display: inline-block;
  width: 9.2ch;
  margin-left: 8px;
  text-align: left;
}
/* Gradient Nighochem */
.careers-title-brand {
  display: inline-block;
  white-space: nowrap;
  background: linear-gradient(90deg, #35d42f, #16c7c4, #078ee8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: inherit;
}
/* Cursor */
.careers-title-brand::after {
  content: "|";
  margin-left: 3px;
  -webkit-text-fill-color: #16c7c4;
  color: #16c7c4;
  animation: careersCursor 0.75s step-end infinite;
}
@keyframes careersCursor {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}
/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 575px) {
  .careers-title {
    font-size: 28px;
  }
  .careers-title-brand-wrap {
    width: 9.2ch;
    margin-left: 6px;
  }
}
/* =========================================================
   NIGHOCHEM — CAREERS TYPEWRITER TITLE
   ========================================================= */
.careers-typewriter-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 0;
  line-height: 1.2;
}
/* Static text */
.careers-title-static {
  color: #64748b;
  white-space: nowrap;
}
/* Nighochem */
.careers-title-brand {
  display: inline-block;
  width: 9.2ch;
  margin-left: 8px;
  text-align: left;
  white-space: nowrap;
  font-weight: inherit;
  background: linear-gradient(90deg, #35d42f, #16c7c4, #078ee8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 575px) {
  .careers-typewriter-title {
    font-size: 28px;
  }
  .careers-title-brand {
    margin-left: 6px;
  }
}
.careers-title-brand {
  display: inline-block;
  width: 9.2ch;
  min-width: 9.2ch;
  margin-left: 8px;
  text-align: left;
  white-space: nowrap;
  font-weight: inherit;
  background: linear-gradient(90deg, #35d42f, #16c7c4, #078ee8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
/* =========================================================
   CAREERS PAGE — FLASK WATERMARK
   ========================================================= */
/* =========================================================
   CAREERS PAGE — LARGE FLASK WATERMARK
   ========================================================= */
.nighochem-careers-section {
  position: relative;
  overflow: hidden;
}
.nighochem-careers-section::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: 20px;
  width: 500px;
  height: 500px;
  background-image: url("../images/logo-flask.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}
