/* Careers Page - Hero & Images */

.careers-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a2b5e;
  overflow: hidden;
}

.careers-hero::before {
  content: '';
  position: absolute;
  inset: -5%;
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920');
  background-size: cover;
  background-position: center;
  animation: hero-bg-kenburns 25s ease-in-out infinite alternate;
}

.careers-hero-overlay {
  display: none;
}

.careers-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 4rem 2.5rem;
  text-align: center;
}

.careers-hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-align: center;
}

.careers-hero-description {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

/* What We Look For - background image */
.careers-lookfor-wrapper {
  position: relative;
  border-top: 1px solid rgba(26, 43, 94, 0.12);
  overflow: hidden;
}

.careers-lookfor-wrapper::after {
  content: '';
  position: absolute;
  inset: -5%;
  z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1920');
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  -webkit-filter: blur(8px);
  animation: hero-bg-kenburns 25s ease-in-out infinite alternate;
}

.careers-lookfor-wrapper .careers-lookfor {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 4rem 2.5rem;
  background: transparent;
}

@media (max-width: 768px) {
  .careers-lookfor-wrapper .careers-lookfor {
    min-height: 240px;
    padding: 3rem 1.5rem;
  }
}

.careers-lookfor-wrapper .how-we-engage-title {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.careers-lookfor-wrapper .how-we-engage-line {
  background: #ffffff;
}

.careers-lookfor-wrapper .how-we-engage-text {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Our Work Span - image on right */
.careers-work-span {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.careers-work-span .work-span-content {
  min-width: 0;
}

.careers-work-span .work-span-title {
  text-align: center;
  margin-bottom: 2rem;
}

/* Vertical listings - no accordion */
.careers-work-span .work-span-listings {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 auto;
  max-width: none;
}

.careers-work-span .work-span-listing {
  background: #ffffff;
  border: 1px solid rgba(26, 43, 94, 0.12);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
}

.careers-work-span .work-span-item {
  font-weight: 600;
  font-size: 1.05rem;
  color: #1a2b5e;
  margin: 0 0 0.75rem;
}

.careers-work-span .work-span-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1a2b5e;
}

.work-span-image {
  margin-top: 5rem;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f6f8;
}

.work-span-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

@media (max-width: 960px) {
  .careers-work-span {
    grid-template-columns: 1fr;
  }

  .careers-work-span .work-span-items {
    flex-wrap: wrap;
  }

  .work-span-image {
    position: static;
    margin-top: 0;
    max-width: 500px;
  }

  .work-span-image img {
    height: 240px;
  }
}

@media (max-width: 768px) {
  .careers-hero {
    min-height: 38vh;
  }

  .careers-hero-content {
    padding: 3rem 1.5rem;
  }
}

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

  .careers-hero-content {
    padding: 2rem 1rem;
  }

  .careers-hero-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .careers-hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
  }

  .careers-work-span {
    padding: 2rem 1rem 3rem;
  }

  .work-span-image img {
    height: 200px;
  }
}
