button.contact-button {
  box-sizing: border-box;
  min-width: 9.875rem;
  border: 0;
  font: inherit;
  cursor: pointer;
}

#article-contact-dialog {
  width: min(100% - 2rem, 42rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 1.25rem;
  color: #14232d;
  background: #fff;
  box-shadow: 0 30px 90px rgba(8, 20, 28, .35);
}

#article-contact-dialog::backdrop {
  background: rgba(8, 20, 28, .72);
  backdrop-filter: blur(6px);
}

.article-contact-panel {
  position: relative;
  padding: clamp(1.4rem, 5vw, 2.5rem);
}

.article-contact-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  cursor: pointer;
  place-items: center;
  border: 1px solid #d9e2e6;
  border-radius: 50%;
  background: #fff;
  color: #14232d;
  font: inherit;
  font-size: 1.45rem;
}

.article-contact-heading {
  padding-right: 3rem;
}

.article-contact-heading h2 {
  margin: .7rem 0;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.1;
}

.article-contact-heading p {
  margin: 0 0 1.5rem;
  color: #536975;
  line-height: 1.6;
}

#article-contact-form,
#article-contact-form label {
  display: grid;
  gap: .45rem;
}

#article-contact-form { gap: 1rem; }

.article-contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

#article-contact-form label > span {
  font-size: .84rem;
  font-weight: 750;
}

#article-contact-form input,
#article-contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: .78rem .9rem;
  border: 1px solid #cbd8dd;
  border-radius: .7rem;
  background: #fbfcfc;
  color: #14232d;
  font: inherit;
}

#article-contact-form textarea { resize: vertical; }

#article-contact-form .article-contact-consent {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  color: #536975;
  font-size: .8rem;
  line-height: 1.5;
}

#article-contact-form .article-contact-consent input {
  width: 1rem;
  margin-top: .15rem;
}

.article-contact-submit {
  width: 100%;
  padding: .85rem 1rem;
  border: 0;
  border-radius: .75rem;
  background: #ad4935;
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.article-contact-submit:disabled {
  cursor: wait;
  opacity: .65;
}

.article-contact-status {
  min-height: 1.25rem;
  margin: 0;
  color: #536975;
  font-size: .84rem;
}

.article-contact-status[data-state="success"] { color: #0b6b55; }
.article-contact-status[data-state="error"] { color: #a22a2a; }

.article-contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 34rem) {
  .article-contact-row { grid-template-columns: 1fr; }
}
