/**
 * @file
 * Contacts layout.
 * Used to style the contacts layout based on container size.
 */

.l-contacts {
  display: flex;
  justify-content: space-between;
}

.l-contacts::after,.l-contacts::before {
  display: none;
}

.l-contacts > div:last-child {
  border-left: 1px solid rgb(10, 93, 144);
  padding-left: 50px;
  margin-left: 50px;
  width: 600px;
}

.l-contacts > div:last-child::before,.l-contacts > div:last-child::after {
  display: none;
}

@media (min-width: 1440) {
  .l-contacts > div:last-child {
    width: 390px;
  }
}

@container (width < 1024px) {
  .l-contacts {
    flex-direction: column;
  }

  .l-contacts > div:last-child {
    border-top: 1px solid rgb(10, 93, 144);
    border-left: none;
    padding-left: initial;
    margin-left: initial;
    width: 100%;
  }
}
