.contacts_wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contacts_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contacts_item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 0px 5px rgba(0, 0, 64, 0.5);
}

.contacts_img_wrap {
  display: none;
}

.contacts_info_wrap {
  padding: 16px;
  background: #ffffff;
}

.contacts_info_title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgb(26, 49, 60);
  text-align: center;
  margin-bottom: 8px;
}

.contacts_info_subtitle {
  font-size: 12px;
  font-weight: 600;
  color: rgb(165, 165, 165);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  margin-bottom: 24px;
}

.contacts_info_item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  gap: 24px;
}

.contacts_info_item:last-child {
  margin-bottom: 0;
}

.contacts_info_item_subtitle_wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 30%;
}

.contacts_info_item_subtitle_img {
  font-size: 14px;
  font-weight: 600;
  color: rgb(165, 165, 165);
}

.contacts_info_item_subtitle_text {
  font-size: 12px;
  font-weight: 600;
  color: rgb(165, 165, 165);
}

.contacts_info_item_subtitle_link {
  font-size: 14px;
  font-weight: 500;
  color: rgb(26, 49, 60);
  transition: ease 0.5s;
}

.contacts_info_item_subtitle_link:hover {
  color: rgb(12, 90, 166);
}

.input_wrapper {
  width: 100%;
  margin-bottom: 8px;
}

.input_label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgb(165, 165, 165);
  margin-bottom: 8px;
}

.input_wrap {
  position: relative;
}

.input_modal {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(0, 0, 64, 0.5);
  padding: 0 16px 0 40px;
  outline: transparent;
  color: rgb(26, 49, 60);
  transition: ease 0.9s;
  border-radius: 16px;
  background-color: #ffffff;
}

.input_modal:hover,
.input_modal:focus {
  border-color: rgb(12, 90, 166);
}

.input_modal_icon {
  height: 15px;
  width: 15px;
  object-fit: contain;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgb(165, 165, 165);
  transition: ease 0.9s;
}

.input_modal:focus + .input_modal_icon {
  color: rgb(12, 90, 166);
}

.input_textarea {
  width: 100%;
  height: 120px;
  border: 1px solid rgba(0, 0, 64, 0.5);
  padding: 8px 16px;
  color: rgb(26, 49, 60);
  font-size: 11px;
  font-weight: 500;
  outline: transparent;
  background-color: transparent;
  resize: none;
  background: #ffffff;
  transition: ease 0.9s;
  border-radius: 16px;
  margin-bottom: 16px;
}

.input_textarea:hover,
.input_textarea:focus {
  border-color: rgb(12, 90, 166);
}

.input_textarea::placeholder {
  font-size: 12px;
  font-weight: 600;
  color: rgb(165, 165, 165);
}

.input_textarea:focus::placeholder {
  opacity: 0;
}

.input_btn {
  background: #0232ff;
  border-radius: 16px;
  border: 1px solid #0232ff;
  box-shadow: 0px 0px 5px rgba(0, 0, 64, 0.5);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin: 0 auto;
  min-width: 140px;
  transition: ease 0.9s;
}

.input_btn:hover {
  box-shadow: 0px 0px 25px rgba(0, 0, 64, 0.5);
}

.contacts_map_link {
  display: flex;
  cursor: grab;
  aspect-ratio: 32/14;
  overflow: hidden;
  border-radius: 16px;
}

@media screen and (min-width: 768px) {
  .contacts_list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .contacts_wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .contacts_wrap {
    width: 60%;
  }

  .contacts_img_wrap {
    aspect-ratio: 16/9;
    display: block;
  }

  .contacts_info_title {
    font-size: 16px;
  }

  .contacts_info_subtitle {
    font-size: 14px;
  }

  .contacts_info_item_subtitle_img {
    font-size: 16px;
  }

  .contacts_info_item_subtitle_text {
    font-size: 14px;
  }

  .contacts_info_item_subtitle_link {
    font-size: 16px;
  }

  .contacts_form_wrap {
    width: 40%;
  }
}

@media screen and (min-width: 1200px) {
  .input_label {
    font-size: 14px;
  }

  .input_textarea::placeholder {
    font-size: 14px;
  }
}

@media screen and (min-width: 1440px) {
  .contacts_info_title {
    font-size: 18px;
  }

  .contacts_info_subtitle {
    font-size: 16px;
  }

  .contacts_info_item_subtitle_img {
    font-size: 18px;
  }

  .contacts_info_item_subtitle_text {
    font-size: 16px;
  }

  .contacts_info_item_subtitle_link {
    font-size: 18px;
  }
}
