.career-hero {
  padding: 40px 24px;
}

.career-hero-inner {
  max-width: 1400px;
  margin: auto;
  background: #1e3163;
  border-radius: 28px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
}

.career-hero-inner h1 {
  font-size: 42px;
  font-family: "Playfair Display", serif;
  margin-bottom: 12px;
}

.career-hero-inner p {
  color: #dbe2ff;
  margin-bottom: 32px;
}

.job-search {
  display: flex;
  gap: 12px;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  width: 100%;
  max-width: 720px;
}

.job-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 14px;
}

.job-search .search-btn {
  background: #1e3163;
  color: #fff;
  border: none;
  padding: 0 18px;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .career-hero-inner h1 {
    font-size: 28px;
  }

  .job-search {
    flex-direction: column;
  }
}
.jobs-section {
  padding: 40px 24px;
  max-width: 1200px;
  margin: auto;
}

.jobs-header {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.jobs-header .tab {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #1e3163;
  background: #fff;
  color: #1e3163;
  cursor: pointer;
  font-size: 13px;
}

.jobs-header .tab.active {
  background: #1e3163;
  color: #fff;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.job-card {
  background: #f3f3f3;
  border-radius: 18px;
  padding: 22px;
  text-align: center;
  position: relative;
}

.job-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  color: #fff;
}

.job-tag.full { background: #4b1b7a; }
.job-tag.intern { background: #6b2fa1; }
.job-tag.contract { background: #3a0f5c; }

.job-card h3 {
  margin-top: 50px;
  font-size: 16px;
  color: #1e3163;
}

.job-card .dept {
  font-size: 13px;
  color: #666;
  margin: 6px 0;
}

.job-card .loc {
  font-size: 12px;
  color: #444;
  margin-bottom: 14px;
}

.job-link {
  display: inline-block;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #1e3163;
}

@media (max-width: 900px) {
  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .jobs-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   LIFE SECTION – EXACT MATCH
========================= */

.life-section-exact {
  padding: 40px 24px 110px;
  background: #ffffff;
}

.life-container-exact {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* TOP */
.life-tag-exact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f172a;
}

.life-tag-exact .dot {
  width: 6px;
  height: 6px;
  background: #1f2a5a;
  border-radius: 50%;
}

.life-title-exact {
  margin: 10px 0 0;
  font-family: "Hedvig Letters Serif", serif;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 600;
  color: #0b1220;
}

.life-desc-exact {
  max-width: 520px;
  margin: 18px auto 50px;
  font-size: 13px;
  line-height: 1.75;
  color: #475569;
}

/* GRID – EXACT STRUCTURE */
.life-grid-exact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  gap: 18px;
}

/* COMMON BOX */
.life-grid-exact .box {
  border-radius: 14px;
  overflow: hidden;
  background: #e0e0e0;
}

.life-grid-exact img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* EXACT SHAPES */
.life-grid-exact .tall {
  grid-row: span 2;
}

.life-grid-exact .wide {
  grid-column: span 2;
}

.life-grid-exact .medium {
  grid-column: span 1;
}

.life-grid-exact .small {
  grid-column: span 1;
}

/* MOBILE – STACK CLEAN */
@media (max-width: 900px) {
  .life-grid-exact {
    grid-template-columns: repeat(2, 1fr);
  }

  .life-grid-exact .tall,
  .life-grid-exact .wide {
    grid-column: span 2;
  }
}
