/* Scoped to: history-template-contact-form */
[data-component-slug="history-template-contact-form"].contact-wrapper, [data-component-slug="history-template-contact-form"] .contact-wrapper {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: 150px;
  gap: 80px;
}

[data-component-slug="history-template-contact-form"].contact-title, [data-component-slug="history-template-contact-form"] .contact-title {
  font-family: "Albert Sans";
  font-weight: 600;
  font-size: 300px;
  line-height: 100%;
  text-align: center;
  color: #000;
}

[data-component-slug="history-template-contact-form"].contact-lower, [data-component-slug="history-template-contact-form"] .contact-lower {
  max-width: 1920px;
  padding: 0 96px 120px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 160px;
  align-items: flex-start;
}

[data-component-slug="history-template-contact-form"].contact-info, [data-component-slug="history-template-contact-form"] .contact-info {
  font-family: "Albert Sans";
  font-size: 24px;
  line-height: 140%;
  color: #000;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 168px;
}

[data-component-slug="history-template-contact-form"].contact-form, [data-component-slug="history-template-contact-form"] .contact-form {
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

[data-component-slug="history-template-contact-form"].form-row, [data-component-slug="history-template-contact-form"] .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

[data-component-slug="history-template-contact-form"].form-group, [data-component-slug="history-template-contact-form"] .form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: "Albert Sans";
  font-size: 24px;
  color: #000;
}

[data-component-slug="history-template-contact-form"].form-group input, [data-component-slug="history-template-contact-form"] .form-group input, [data-component-slug="history-template-contact-form"].form-group textarea, [data-component-slug="history-template-contact-form"] .form-group textarea {
  border: none;
  border-bottom: 1px solid #9e9e9e;
  background: transparent;
  padding: 10px 0;
  font-size: 20px;
  outline: none;
}

[data-component-slug="history-template-contact-form"].form-group textarea, [data-component-slug="history-template-contact-form"] .form-group textarea {
  resize: none;
  height: 64px;
}

[data-component-slug="history-template-contact-form"].form-group.error input, [data-component-slug="history-template-contact-form"] .form-group.error input, [data-component-slug="history-template-contact-form"].form-group.error textarea, [data-component-slug="history-template-contact-form"] .form-group.error textarea {
  border-bottom-color: #d32f2f;
}

[data-component-slug="history-template-contact-form"].form-error, [data-component-slug="history-template-contact-form"] .form-error {
  font-size: 14px;
  color: #d32f2f;
}

[data-component-slug="history-template-contact-form"].submit-btn, [data-component-slug="history-template-contact-form"] .submit-btn {
  width: fit-content;
  background: #a6401e;
  color: #fff;
  font-family: "Albert Sans";
  font-size: 20px;
  padding: 18px 46px;
  border: none;
  cursor: pointer;
}

[data-component-slug="history-template-contact-form"].form-status, [data-component-slug="history-template-contact-form"] .form-status {
  font-family: "Albert Sans";
  font-size: 20px;
  margin-top: 16px;
  display: none;
}

[data-component-slug="history-template-contact-form"].form-status.success, [data-component-slug="history-template-contact-form"] .form-status.success {
  color: #2e7d32;
}

[data-component-slug="history-template-contact-form"].form-status.error, [data-component-slug="history-template-contact-form"] .form-status.error {
  color: #d32f2f;
}

@media (max-width: 1024px) {
  [data-component-slug="history-template-contact-form"].contact-title, [data-component-slug="history-template-contact-form"] .contact-title {
    font-size: 180px;
  }
  [data-component-slug="history-template-contact-form"].contact-lower, [data-component-slug="history-template-contact-form"] .contact-lower {
    grid-template-columns: 1fr;
    gap: 80px;
    padding: 0 48px 96px;
  }
}
@media (max-width: 640px) {
  [data-component-slug="history-template-contact-form"].contact-title, [data-component-slug="history-template-contact-form"] .contact-title {
    font-size: 56px;
  }
  [data-component-slug="history-template-contact-form"].contact-wrapper, [data-component-slug="history-template-contact-form"] .contact-wrapper {
    padding-top: 72px;
  }
  [data-component-slug="history-template-contact-form"].contact-lower, [data-component-slug="history-template-contact-form"] .contact-lower {
    padding: 0 24px 72px;
    gap: 64px;
  }
  [data-component-slug="history-template-contact-form"].form-row, [data-component-slug="history-template-contact-form"] .form-row {
    grid-template-columns: 1fr;
  }
  [data-component-slug="history-template-contact-form"].contact-info, [data-component-slug="history-template-contact-form"] .contact-info {
    font-size: 20px;
  }
}