.com-content-article > .page-header,
.com-content-article__body:empty,
.com-content-article p:empty {
  display: none;
}

#PopupFormSF.active {
  overflow-y: auto;
}

#PopupFormSF.active .premiks-lead-form {
  box-sizing: border-box;
  color: #2a241c;
}

#PopupFormSF.active .premiks-lead-form h2 {
  color: #816c48;
  font-family: Arial, sans-serif;
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 16px;
  text-align: center;
}

#PopupFormSF.active .premiks-lead-form label {
  color: #2a241c;
  display: block;
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.35;
  margin: 0 0 12px;
}

#PopupFormSF.active .premiks-lead-form input[type="tel"],
#PopupFormSF.active .premiks-lead-form input[type="text"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 38px;
  margin-top: 6px;
  border: 2px solid #ababab;
  border-radius: 4px;
  background: #fff;
  color: #2a241c;
  font-family: Arial, sans-serif;
  font-size: 16px;
  padding: 6px 10px;
}

#PopupFormSF.active .premiks-lead-form__trap {
  display: none;
}

#PopupFormSF.active .premiks-lead-form__links {
  display: grid;
  gap: 6px;
  margin: 8px 0 12px;
}

#PopupFormSF.active .premiks-lead-form__links a {
  color: #816c48;
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-decoration: none;
}

#PopupFormSF.active .premiks-lead-form__agreement {
  align-items: flex-start;
  display: flex;
  gap: 8px;
}

#PopupFormSF.active .premiks-lead-form__agreement input {
  flex: 0 0 auto;
  margin-top: 3px;
}

#PopupFormSF.active .premiks-lead-form button[type="submit"] {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: #816c48;
  color: #fff;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
}

#PopupFormSF.active .premiks-lead-form__status {
  margin-top: 12px;
  color: #816c48;
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 480px) {
  #PopupFormSF.active form {
    width: calc(100% - 28px);
    padding: 18px;
  }

  #PopupFormSF.active #modal_close {
    right: calc(-50% + 28px);
  }
}
