main {
  background-image: linear-gradient(170deg, rgba(0,74,129,0.85) 1%, rgba(8,70,102,0.8) 100%), url('/public/img/contacts-content-bg.webp');
  background-color: #004A81;
  background-position: 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

main > .mainContainer > .mainContent {
  padding: 103px 0;
}

.contacts__intro {
  max-width: 750px;
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: 55px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
}

.contacts__intro_description {
  margin-top: 25px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 500;
}

.contacts__contactBoxes {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
  align-items: stretch;
}

.contacts__contactBox {
  flex: 0 1 456px;
  padding: 30px;
  box-shadow: 0px 2px 18px 0px rgba(0, 0, 0, 0.55);
  background-color: #4e7c97;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}

.contacts__contactBox > *:not(:first-child) {
  margin-top: 10px;
}

.contacts__contactBox:nth-child(2) {
  background-color: #537ca3;
  align-self: flex-start;
}

.contacts__contactBox:nth-child(3) {
  background-color: #ffffff;
  align-self: flex-start;
}

.contacts__contactBox:nth-child(3) .contacts__contactBox_title {
  color: #555555;
}

@media (max-width: 1801px) {
  .contacts__contactBox {
    flex: 0 1 420px;
  }
}

@media (max-width: 1666px) {
  .contacts__contactBox {
    flex: 0 1 360px;
  }
}

@media (max-width: 1441px) {
  .contacts__contactBox {
    /*flex: 0 1 456px;*/
    flex: 1 1 350px;
  }
}

@media (max-width: 912px) {
  .contacts__contactBox {
    flex: 0 1 300px;
  }
}

.contacts__contactBox_title {
  display: block;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 1px;
  color: #ffffff;
  font-family: 'Oswald', Helvetica, Arial ,Lucida, sans-serif;
  text-transform: uppercase;
  border-bottom: 0;
}

.contacts__contactBox_subTitle {
  display: block;
  font-family: 'Oswald', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
  font-size: 22px;
  margin-top: 20px !important;
  letter-spacing: 1px;
}

.contacts__contactBox_detailsList {
  color: #ffffff;
  font-family: 'Oswald', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 500;
  line-height: 1.5;
  font-size: 20px;
  padding-inline-start: 0;
  list-style-type: none;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.contactBtn {
  max-width: 305px;
  text-align: center;
  margin-top: 15px !important;
}

.contacts__contactBox:nth-child(3) .contacts__contactBox_detailsList {
  color: #666666;
}

.contacts__contactBox_detailsListItem:not(:first-child) {
  margin-top: 5px;
}

.contacts__contactBox_detailsListItem::marker {
  font-size: 13px;
}

.inlineLink_light {
  color: #ffffff;
}

@media (max-width: 1199px) {
  .mainContent {
    align-items: center;
  }

  .contacts__intro {
    align-items: center;
  }

  h1 {
    text-align: center;
    font-size: 50px;
  }

  .contacts__intro_description {
    text-align: center;
  }

  .contacts__contactBoxes {
    justify-content: center;
    gap: 30px;
  }

  main > .mainContainer > .mainContent {
    padding: 52px 0;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 28px;
  }

  .contactBtn {
    width: 270px;
  }

  .contacts__intro_description {
    font-size: 14px;
  }

  .contacts__contactBox {
    align-items: center;
    text-align: center;
    flex: 1 1 300px;
  }

  .contacts__contactBox_title {
    text-align: center;
  }

  .contacts__contactBox_detailsList {
    text-align: center;
  }

  .contacts__contactBoxes {
    margin-top: 25px;
  }
}
