/* ===========================================================================
   Career Page Styles (Mobile-First High Fidelity)
   =========================================================================== */

/* ---- Hero / Intro Section ---- */
.career-hero {
  padding-block: 40px;
  background: #FFFFFF;
  width: 100%;
}
.career-hero__title {
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  font-weight: 800;
  color: #0B192C;
  letter-spacing: -0.025em;
  line-height: 1.16;
  margin-bottom: 1rem;
}
.career-hero__text {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  color: #526071;
  max-width: 65ch;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.career-hero__btn {
  background: #F5B82E;
  color: #0B192C;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.85rem 1.85rem;
  box-shadow: 0 4px 14px rgba(245, 184, 46, 0.35);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.career-hero__btn:hover, .career-hero__btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 184, 46, 0.45);
}

/* ---- Eyebrow & Headings ---- */
.career-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #00A896;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.career-eyebrow .badge-dot {
  width: 5.5px;
  height: 5.5px;
  border-radius: 50%;
  background: #00B4A0;
  display: inline-block;
  margin-right: 0;
  box-shadow: 0 0 3px rgba(0, 180, 160, 0.45);
  animation: dot-pulse-subtle 3s ease-in-out infinite;
}
.career-section-heading {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #0B192C;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  max-width: 28ch;
}

/* ---- Benefits Grid (Why Work With Us) ---- */
.career-benefits {
  padding-block: 40px;
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
  width: 100%;
}
.career-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (min-width: 576px) {
  .career-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .career-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.career-benefit-card {
  position: relative;
  text-align: left;
  border-radius: 20px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid #EEF2F6;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(11, 25, 44, 0.03);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.career-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(11, 25, 44, 0.08);
}
.career-benefit-card .icon-tile {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  background: #F0F7FF;
  color: #0284C7;
  border: 1px solid #E0F2FE;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.career-benefit-card .icon-tile .icon {
  width: 20px;
  height: 20px;
}
.career-benefit-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0B192C;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}
.career-benefit-card p {
  font-size: 0.9rem;
  color: #526071;
  line-height: 1.6;
}

/* ---- Open Positions Section ---- */
.career-positions {
  padding-block: 40px;
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
  width: 100%;
}
.career-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 28px;
}
.career-filter-btn {
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #526071;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-base);
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  cursor: pointer;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}
.career-filter-btn:hover {
  border-color: #CBD5E1;
  color: #0B192C;
  background: #F8FAFC;
}
.career-filter-btn.is-active {
  background: #0B192C;
  color: #FFFFFF;
  border-color: #0B192C;
  box-shadow: 0 2px 8px rgba(11, 25, 44, 0.15);
}

.career-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.career-job-card {
  border: 1px solid #EEF2F6;
  border-radius: 16px;
  background: #FFFFFF;
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: 0 2px 8px rgba(11, 25, 44, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  width: 100%;
}
.career-job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 25, 44, 0.06);
  border-color: #CBD5E1;
}

@media (min-width: 768px) {
  .career-job-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.career-job-card__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
.career-category-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-base);
  color: #64748B;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.career-job-card__title {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  font-weight: 700;
  color: #0B192C;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}
.career-job-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: #64748B;
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.meta-icon {
  width: 15px;
  height: 15px;
  color: #94A3B8;
  flex-shrink: 0;
}

.career-job-card__action {
  width: 100%;
}
@media (min-width: 768px) {
  .career-job-card__action {
    width: auto;
    flex-shrink: 0;
  }
}

.btn-apply {
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #0B192C;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.65rem 1.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  width: 100%;
  min-height: 42px;
  transition: all 0.2s ease;
}
@media (min-width: 768px) {
  .btn-apply {
    width: auto;
  }
}
.btn-apply:hover, .btn-apply:focus-visible {
  background: #0B192C;
  color: #FFFFFF;
  border-color: #0B192C;
  gap: 0.65rem;
}
.btn-apply .arrow {
  transition: transform 0.2s ease;
}
.btn-apply:hover .arrow {
  transform: translateX(3px);
}

/* ---- Job Detail Page ---- */
.career-job {
  padding-block: 48px;
  background: #FFFFFF;
  width: 100%;
}
.career-job__layout {
  display: flex;
  flex-direction: column-reverse;
  gap: 32px;
  align-items: flex-start;
}
@media (min-width: 900px) {
  .career-job__layout {
    flex-direction: row;
  }
}

.career-job__main {
  flex: 1;
  min-width: 0;
}
.career-job__meta {
  margin: 1rem 0 1.75rem;
}
.career-job__description {
  color: #344054;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 70ch;
}
.career-job__description p {
  margin-bottom: 1.1rem;
}
.career-job__description p:last-child {
  margin-bottom: 0;
}
.career-job__back {
  display: inline-block;
  margin-top: 2rem;
  color: #0B192C;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.career-job__back:hover, .career-job__back:focus-visible {
  text-decoration: underline;
}

.career-job__apply {
  width: 100%;
  border-radius: 20px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid #EEF2F6;
  background: #F8FAFC;
}
@media (min-width: 900px) {
  .career-job__apply {
    width: 340px;
    flex-shrink: 0;
    position: sticky;
    top: 24px;
  }
}
.career-job__apply-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0B192C;
  margin-bottom: 0.75rem;
}
.career-job__apply-text {
  font-size: 0.9rem;
  color: #526071;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.career-job__apply-btn {
  width: 100%;
  word-break: break-word;
  text-align: center;
}
