.career-section .role:nth-child(1) .role-main,
.career-section .role:nth-child(2) .role-main {
  position: relative;
  min-height: 92px;
  padding-right: 190px;
}

.career-section .role:nth-child(1) .role-main::before,
.career-section .role:nth-child(2) .role-main::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 160px;
  height: 86px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  opacity: .9;
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

.career-section .role:nth-child(1) .role-main::before {
  background-image: url('/logos/almeera.svg');
}

.career-section .role:nth-child(2) .role-main::before {
  width: 112px;
  background-image: url('/logos/aman.webp');
}

.career-section .role:nth-child(1):hover .role-main::before,
.career-section .role:nth-child(2):hover .role-main::before {
  opacity: 1;
}

@media (max-width: 780px) {
  .career-section .role:nth-child(1) .role-main,
  .career-section .role:nth-child(2) .role-main {
    min-height: 0;
    padding-right: 0;
  }

  .career-section .role:nth-child(1) .role-main::before,
  .career-section .role:nth-child(2) .role-main::before {
    position: static;
    display: block;
    width: 118px;
    height: 58px;
    margin: 0 0 14px;
    transform: none;
    background-position: left center;
  }

  .career-section .role:nth-child(2) .role-main::before {
    width: 82px;
    height: 82px;
  }
}
