/* CAREERS — built on the ProvidusUnity Bank design system
   (gold #fdb813 · dark #212529 · Montserrat + Inter) */

/* Core values chips */
.cr-values {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cr-value {
  padding: 14px 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, #fdb813 0%, #f0a90c 100%);
  border: 1px solid rgba(26, 18, 0, 0.1);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #1a1200;
  box-shadow: 0 5px 14px rgba(20, 16, 0, 0.04);
}

/* 3-up val-card grid */
.cr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* LIFE / TESTIMONIAL CARDS (image top, title below) */
.cr-life {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cr-life-card {
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s,
    border-color 0.3s;
}

.cr-life-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.02), 0 5px 14px rgba(0, 0, 0, 0.03);
  border-color: rgba(253, 184, 19, 0.45);
}

.cr-life-img {
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1200 0%, #0d0d0d 100%);
}

.cr-life-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cr-life-body {
  padding: 18px 22px 22px;
}

.cr-life-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 7px;
}

.cr-life-body h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #1a1a1a;
}

/* Diversity & inclusion split card */
.cr-di {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  padding: 48px 52px;
  align-items: center;
}

.cr-di-copy .section-h2 {
  margin-top: 12px;
}

.cr-di-copy p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #5e5e57;
  max-width: 560px;
}

.cr-di-copy h4 {
  margin-top: 22px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1a1a1a;
}

.cr-di-award {
  background: linear-gradient(135deg, #fdb813 0%, #f0a90c 100%);
  border: 1px solid rgba(26, 18, 0, 0.1);
  border-radius: 20px;
  padding: 34px 32px;
}

.cr-di-award-badge {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: #1a1200;
}

.cr-di-award-name {
  margin-top: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #1a1200;
}

.cr-di-award ul {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cr-di-award li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(26, 18, 0, 0.7);
}

.cr-di-award li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1a1200;
}

/* Wellbeing split */
.cr-well {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cr-well-copy .section-h2 {
  margin-top: 12px;
}

.cr-well-copy p {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.8;
  color: #5e5e57;
}

.cr-well-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cr-well-imgs img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 1px rgba(20, 16, 0, 0.02), 0 4px 13px rgba(20, 16, 0, 0.03);
}

.cr-well-imgs img:last-child {
  margin-top: 32px;
}

/* Early careers split card */
.cr-early {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 44px;
  padding: 48px 52px;
  align-items: center;
}

.cr-early-copy .section-h2 {
  margin-top: 12px;
}

.cr-early-copy p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #5e5e57;
}

.cr-early-copy h4 {
  margin-top: 24px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1a1a1a;
}

.cr-early-list {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cr-early-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  line-height: 1.6;
  color: #5e5e57;
}

.cr-early-list li strong {
  color: #1a1a1a;
  font-weight: 700;
}

.cr-early-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffd35c, var(--gold));
  box-shadow: 0 0 0 4px rgba(253, 184, 19, 0.18);
}

.cr-early-close {
  font-weight: 600;
  color: #1a1a1a !important;
}

.cr-early-copy .btn-gold {
  margin-top: 22px;
}

.cr-early-img {
  height: 100%;
  min-height: 380px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(135deg, #1a1200 0%, #0d0d0d 100%);
}

.cr-early-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Our teams */
.cr-teams {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cr-team {
  padding: 34px 36px;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s,
    border-color 0.3s;
}

.cr-team:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.02), 0 5px 14px rgba(0, 0, 0, 0.03);
  border-color: rgba(253, 184, 19, 0.45);
}

.cr-team h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.cr-team p {
  font-size: 14px;
  line-height: 1.7;
  color: #6b6b6b;
}

/* Responsive */
@media (max-width: 1100px) {
  .cr-grid,
  .cr-life {
    grid-template-columns: 1fr 1fr;
  }

  .cr-di,
  .cr-early,
  .cr-well {
    grid-template-columns: 1fr;
  }

  .cr-early-img {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .cr-grid,
  .cr-life,
  .cr-teams,
  .cr-well-imgs {
    grid-template-columns: 1fr;
  }

  .cr-di,
  .cr-early {
    padding: 28px 24px;
  }

  .cr-well-imgs img,
  .cr-well-imgs img:last-child {
    height: 220px;
    margin-top: 0;
  }
}


.video-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.video-modal-overlay.active {
  display: flex;
}

.video-modal-box {
  background: #111;
  width: 90%;
  max-width: 720px;
  border-radius: 8px;
  overflow: hidden;
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.video-modal-header h5 {
  color: #fff;
  margin: 0;
  font-size: 1rem;
}

.video-modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.video-modal-body {
  padding: 0;
}

.video-modal-body video {
  display: block;
  width: 100%;
}
