.contact-page {
  width: min(calc(100% - 64px), 542px);
}

.contact-heading {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding-left: 0;
}

.contact-heading h1 {
  margin: 0;
  color: #b92f51;
  font: italic 700 32px/1 Georgia, "Times New Roman", serif;
  text-shadow: 0 1px 1px rgba(135, 23, 29, 0.14);
}

.contact-heading-line {
  flex: 1;
  height: 9px;
  background: linear-gradient(
    to bottom,
    #b92f51 0 3px,
    transparent 3px 6px,
    #b92f51 6px 9px
  );
}

.contact-heading img {
  display: block;
  width: 60px;
  height: 72px;
  object-fit: contain;
  transform: translateY(-8px) rotate(5deg);
}

.contact-letter {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 20px;
  color: #9a414b;
  font-family: Georgia, "Times New Roman", serif;
}

.contact-intro {
  width: 100%;
  margin: 0 0 14px;
  padding-bottom: 16px;
  border-bottom: 2px dotted #efc4cb;
  font-size: 14px;
  line-height: 1.55;
}

.form-status {
  width: 100%;
  margin: 0 0 4px;
  padding: 9px 12px;
  border: 0;
  background: #fff7f8;
  font-size: 14px;
}

.form-error {
  color: #87171d;
}

.form-success {
  color: #506f36;
  background: #f8fbf4;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: start;
}

.contact-form > label {
  padding-top: 10px;
  font-size: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #e7b3bb;
  border-radius: 0;
  color: #6d3038;
  background: #fffdfd;
  font: 15px/1.4 Georgia, "Times New Roman", serif;
}

.contact-form input {
  min-height: 36px;
  padding: 7px 9px;
}

.contact-form textarea {
  min-height: 170px;
  padding: 9px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #d54a67;
  outline-offset: 1px;
  border-color: #d54a67;
}

.contact-form input::placeholder {
  color: #c9a7ab;
}

.required-note {
  grid-column: 1;
  margin: -4px 0 0;
  color: #a96a72;
  font-size: 11px;
}

.form-actions {
  grid-column: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}

.form-actions button,
.form-actions a {
  display: grid;
  min-width: 132px;
  min-height: 38px;
  place-items: center;
  border: 3px solid transparent;
  border-radius: 0;
  padding: 4px 12px;
  color: #fff;
  background: #651017 url("/assets/backgrounds/bg-red-02.jpg") center / 230px auto;
  text-align: center;
  text-decoration: none;
  font: italic 700 14px/1.1 Georgia, "Times New Roman", serif;
  text-shadow: 0 1px 2px #39060b;
  filter: drop-shadow(0 4px 4px rgba(190, 190, 190, 0.65));
  cursor: pointer;
}

.form-actions button:hover,
.form-actions button:focus-visible,
.form-actions a:hover,
.form-actions a:focus-visible {
  color: #fff;
  transform: translateY(-4px);
}

.form-actions button:focus-visible,
.form-actions a:focus-visible {
  outline: 2px solid #d54a67;
  outline-offset: 2px;
}

.contact-trap {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-links {
  width: 100%;
  margin-bottom: 14px;
  padding-bottom: 0;
  color: #7d303a;
  font-family: Georgia, "Times New Roman", serif;
}

.contact-links h2,
.contact-form-title {
  margin: 0 0 8px;
  padding: 5px 9px;
  color: #fff;
  background: #651017 url("/assets/backgrounds/bg-red-02.jpg") center / 230px auto;
  font: italic 700 20px/1.1 Georgia, "Times New Roman", serif;
  text-shadow: 0 1px 2px #39060b;
}

.contact-form-title {
  width: 100%;
}

.contact-links ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.contact-links a {
  color: #b92f51;
  font-weight: 700;
  text-underline-offset: 2px;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  color: #ff0000;
}

.contact-links-disclaimer {
  margin: 10px 0 0;
  color: #85535a;
  font-size: 13px;
  line-height: 1.4;
}

.contact-page .site-footer {
  width: 100%;
  margin: 12px 0 0;
  padding-top: 12px;
}

@media (max-width: 560px) {
  .contact-page {
    width: min(calc(100% - 36px), 542px);
  }

  .contact-heading {
    padding-left: 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-form > label {
    padding-top: 8px;
  }

  .required-note,
  .form-actions {
    grid-column: 1;
  }

  .form-actions {
    margin-top: 10px;
    flex-wrap: wrap;
  }
}
