/* Careers Page Styles */

/* Careers Hero with Background Image */
.careers-hero {
  background-image: url('/assets/images/jobs.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Navy Blue Overlay - Increased opacity for better text contrast */
.careers-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(var(--rgb-black), 0.7);
  z-index: 1;
}

.careers-hero .container {
  position: relative;
  z-index: 2;
}

/* Responsive sizing */
@media (max-width: 768px) {
  .careers-hero {
    min-height: 300px;
    background-attachment: scroll;
  }

  .hero-logo {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .careers-hero {
    min-height: 200px;
  }

  .hero-logo {
    width: 50px;
    height: 50px;
  }

  article section {
    padding: var(--space-4) 0;
  }

  article section h2 {
    font-size: var(--text-xl);
  }

  article section h3 {
    font-size: var(--text-lg);
  }
}

.hero-title-with-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.hero-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

article section {
  padding: var(--space-2) var(--space-6) var(--space-8) var(--space-6);
  border-bottom: 1px solid var(--color-gray-400);
  position: relative;
  border-top: 1px solid var(--color-gray-400);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  max-width: none;
}

@media (max-width: 768px) {
  article section {
    padding: var(--space-2) var(--space-4) var(--space-8) var(--space-4);
  }
}

@media (max-width: 480px) {
  article section {
    padding: var(--space-2) var(--space-4) var(--space-6) var(--space-4);
  }
}

article section .container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
}


article section h3 {
  color: var(--color-white);
  font-size: var(--text-lg);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
  font-weight: 600;
}

article section ul li {
  margin-bottom: var(--space-3);
  color: var(--color-gray-300);
}

article section:last-child {
  border-bottom: none;
}

/* Section layout with images left and right of content */
.section-layout {
  position: relative;
}

.section-content {
  /* Text stays in normal position */
}

.image-left {
  position: absolute;
  left: -400px;
  top: 0;
  width: 300px;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(var(--rgb-gold), 0.15);
}

.image-right {
  position: absolute;
  right: -400px;
  top: 0;
  width: 300px;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(var(--rgb-gold), 0.15);
}

/* Page navigation with images */
.page-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-12);
  position: relative;
  margin-top: var(--space-8);
}

.page-navigation > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  min-width: 400px;
}

.image-nav-left {
  position: absolute;
  left: -400px;
  width: 300px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(var(--rgb-gold), 0.15);
}

.image-nav-right {
  position: absolute;
  right: -400px;
  width: 300px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(var(--rgb-gold), 0.15);
}

@media (max-width: 768px) {
  article {
    padding: var(--space-6) var(--space-4);
  }

  article section {
    padding: var(--space-6) var(--space-4);
  }

  /* Hide decorative images on mobile - they were positioned at -400px making them invisible */
  .image-left,
  .image-right,
  .image-nav-left,
  .image-nav-right {
    display: none;
  }

  /* Remove min-width constraint on page navigation to prevent overflow */
  .page-navigation > div {
    min-width: auto;
    flex-direction: column;
    gap: var(--space-2);
  }

  .page-navigation {
    gap: var(--space-4);
  }
}
