.footer_line {
  padding: 32px 0px 16px 0px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-social-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
}

.footer-social-item {
  display: inline-flex;
}

.footer-social-item img {
  display: block;
  height: 35px;
  width: 35px;
}

.social-desk {
  display: none;
}

.email-with-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info {
  font-size: 12px;
}

.info a {
  color: #fff !important;
}

.email input {
  border-radius: 4px;
  height: 40px;  
}

.email input::placeholder {
    color: #fff !important;
    opacity: 1;
  }

.footer-button {
  width: 100%;
  height: 40px;
  border-radius: 4px;
  font-size: 14px;
  background-color: #FD7D3B;
  outline: none;
  border: none;
  border-radius: 4px;
  padding-top: 13px;
  padding-bottom: 13px;
  color: #fff;
  font-family: "PT Sans";
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  text-align: center;
  vertical-align: middle;
}

.callbackPopupButton {
  background-color: #FD7D3B;
  border-radius: 4px;
  height: 40px;
  margin-top: 8px;
  margin-bottom: 22px;
  width: 142px;
}

.footerLinkPadding {
  padding: 0 7px;
}

.rights-info-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.date {
  min-width: fit-content;
  font-size: 14px;
  line-height: 20px;
  color: #ffffff80;
}

.policy {
  font-size: 12px;
}

.policy a {
  font-size: 12px;
  color: #fff !important;
}

.left-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news {
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

.phoneButtons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.phoneButton {
  display: flex;
  flex-direction: row;
  align-items: center;   /* вертикальное выравнивание */
  justify-content: center;
  height: 40px;
  padding: 13px 12px;
  background-color: #5E2787;
  padding-right: 8px;
  width: fit-content;
}

.phoneButton img {
  display: block;
}

.phoneButton a, .callbackPopupButton {
  font-family: "PT Sans";
  font-weight: 700;
  font-size: 14.4px;
  vertical-align: middle;
  padding-left: 8px;
  color: #fff !important;
}

.phone-or {
  font-family: "PT Sans";
  font-weight: 400;
  font-size: 12px;
  vertical-align: middle;
  padding-left: 8px;
  color: #fff;
}

@media (min-width: 768px) {
  .phoneButtons {
    flex-direction: row;
    align-items: center;
  }

  .callbackPopupButton {
    margin-left: auto;   /* прижимает кнопку вправо */
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .email-with-btn {
    display: flex;
    flex-direction: row;
    gap: 12px;
  }

  .email-with-btn > div {
    flex: 1;
  }

  .email input {
    width: 100%;
  }

  .footer-button {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .footer-social-item img {
    height: 40px;
    width: 40px !important;
  }

  .social-mob {
    display: none;
  }

  .email-btn-icons {
    display: flex;
    justify-content: space-between;
  }

  .email-with-btn {
    flex-direction: row;
    gap: 12px;
  }

  .email input {
    width: 280px;
  }

  .footer-button {
    width: 280px;
  }

  .rights-info-block {
    flex-direction: row;
    justify-content: space-between;
  }

  .info {
    max-width: 700px;
  }

  .social-desk {
    display: inline;
    width: 160px;
  }

  .left-block {
    gap: 12px;
  }

  .policy {
    font-size: 10px;
  }

  .policy a {
    font-size: 10px;
    color: #fff !important;
  }
}
