/* Careers mobile refinements. Desktop layout intentionally remains in careers-v2.css. */

@media (max-width: 880px) {
  .cr-life-hardware img {
    right: auto;
    left: 50%;
    object-position: center;
    transform: translateX(-50%);
  }

  .cr-phone-pair {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .cr-hero h1 {
    line-height: 0.98;
  }

  .cr-life-break {
    display: none;
  }

  .cr-life-head {
    margin-bottom: 34px;
  }

  .cr-life-head h2 {
    line-height: 1.03;
  }

  .cr-life-head > p:last-child {
    margin-top: 20px;
  }

  .cr-life-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .cr-life-car,
  .cr-life-code,
  .cr-life-call {
    grid-column: 1 / -1;
  }

  .cr-life-hardware {
    min-height: 270px;
  }

  .cr-life-mobile {
    min-height: 314px;
  }

  .cr-life-car {
    min-height: 390px;
  }

  .cr-life-car > img {
    object-position: 58% center;
  }

  .cr-life-hardware img {
    top: 6px;
    width: 92%;
    height: calc(100% - 84px);
  }

  .cr-phone-pair {
    top: 18px;
    bottom: 72px;
    width: 92%;
    justify-content: center;
    gap: 7px;
  }

  .cr-phone-pair img {
    width: min(calc(33.333% - 5px), 100px);
    height: auto;
    max-height: 100%;
    border-radius: 7px;
  }

  .cr-life-hardware .cr-life-label,
  .cr-life-mobile .cr-life-label {
    right: 12px;
    left: 14px;
    bottom: 15px;
  }

  .cr-life-hardware .cr-life-label strong,
  .cr-life-mobile .cr-life-label strong {
    margin-top: 5px;
    font-size: 15px;
    line-height: 1.12;
  }

  .cr-life-hardware .cr-life-label small,
  .cr-life-mobile .cr-life-label small {
    font-size: 8px;
  }

  .cr-life-code,
  .cr-life-call {
    min-height: 300px;
  }

  .cr-form input::placeholder,
  .cr-form textarea::placeholder {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .cr-life-hardware {
    min-height: 250px;
  }

  .cr-life-car {
    min-height: 360px;
  }
}
