/* Contact page: warm stone, deep teal and subtle gold. */
.rmc-contact-page {
  color: #243d40;
  background: #f5f2eb;
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.65;
}
#Content.rmc-contact-page {
  padding: 0;
}
.rmc-contact-container {
  width: min(100%, 72rem);
  margin-inline: auto;
  padding-inline: var(--rmc-page-gutter);
}
.rmc-contact-page h1,
.rmc-contact-page h2,
.rmc-contact-page h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #17383d;
  font-weight: 700;
  line-height: 1.2;
}
.rmc-contact-hero {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 280px;
  margin: 0;
  padding: 36px 0;
  background:
    linear-gradient(90deg, rgba(16, 56, 59, .82) 0%, rgba(16, 56, 59, .55) 35%, rgba(16, 56, 59, 0) 70%),
    #10383b url("../img/rmc-contact-header.png") center / cover no-repeat;
}
.rmc-contact-hero::after { display: none; }
.rmc-contact-page .rmc-contact-eyebrow {
  margin: 0 0 .75rem;
  color: #e5cd93;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .16em;
}
.rmc-contact-hero h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.025em;
}
.rmc-contact-page .rmc-contact-hero p:not(.rmc-contact-eyebrow) {
  max-width: 29rem;
  margin: 1rem 0 0;
  color: #fff;
  font-size: clamp(.975rem, 2vw, 1.075rem);
  font-weight: 600;
  line-height: 1.6;
}
.rmc-contact-details {
  margin-top: 0;
  background: #faf8f3;
  border-top: 1px solid #ded8cb;
  padding-block: clamp(2rem, 5vw, 4rem);
}
.rmc-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}
.rmc-contact-page h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
}
.rmc-contact-page h3 {
  margin: 0 0 .75rem;
  font-size: 1.125rem;
}
.rmc-contact-location {
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid #ded8cb;
}
.rmc-contact-page p {
  color: #5c7072;
  font-size: 1rem;
}
.rmc-contact-location-description {
  margin-top: 2rem;
}
.rmc-contact-email {
  display: inline-block;
  padding-block: .5rem;
  font-weight: 700;
}
.rmc-contact-page #contactForm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.rmc-contact-page #contactForm .column {
  float: none;
  width: auto;
  margin: 0;
}
.rmc-contact-page #contactForm .one {
  grid-column: 1 / -1;
}
.rmc-contact-page #contactForm input:not([type="submit"]),
.rmc-contact-page #contactForm textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: .875rem 1rem;
  border: 1px solid #ded8cb;
  border-radius: .5rem;
  background: #fff;
  color: #243d40;
  font: inherit;
  box-shadow: none;
}
.rmc-contact-page #contactForm textarea {
  min-height: 10rem;
  resize: vertical;
}
.rmc-contact-page #contactForm input::placeholder,
.rmc-contact-page #contactForm textarea::placeholder {
  color: #5c7072;
  opacity: 1;
}
.rmc-contact-page #contactForm input[type="submit"] {
  margin: 0;
  padding: .875rem 1.5rem;
  border: 0;
  border-radius: .5rem;
  background: #10383b;
  color: #fff;
  font: inherit;
  font-weight: 700;
  box-shadow: none;
  cursor: pointer;
}
.rmc-contact-page #contactForm input[type="submit"]:hover {
  background: #0b6e6b;
}
.rmc-contact-page #responseMessage {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 1px solid #ded8cb;
  border-radius: .5rem;
  background: #f5f2eb;
  color: #17383d;
}
.rmc-contact-page #responseMessage.error {
  border-color: #c67b70;
  color: #8b352c;
}
.rmc-contact-map-section {
  padding-block: clamp(2rem, 5vw, 3rem);
  background: #f5f2eb;
  border-top: 1px solid #ded8cb;
}
.rmc-contact-map {
  overflow: hidden;
  border: 1px solid #ded8cb;
  border-radius: .75rem;
}
.rmc-contact-map iframe {
  display: block;
  width: 100%;
  height: clamp(16rem, 35vw, 25rem);
}
@media (max-width: 47.99rem) {
  .rmc-contact-grid,
  .rmc-contact-page #contactForm {
    grid-template-columns: minmax(0, 1fr);
  }
  .rmc-contact-location {
    padding: 2rem 0 0;
    border-left: 0;
    border-top: 1px solid #ded8cb;
  }
}

/* Mobile photo band with a separate dark teal text panel. */
@media (max-width: 47.99rem) {
  .rmc-contact-hero {
    display: block;
    min-height: 0;
    padding: 0;
    background: #10383b;
  }
  .rmc-contact-hero::before {
    content: "";
    display: block;
    height: 200px;
    background: url("../img/rmc-contact-header.png") center / cover no-repeat;
  }
  .rmc-contact-hero .rmc-contact-container { padding-block: 22px 24px; }
  .rmc-contact-hero h1 { font-size: clamp(32px, 8.6vw, 44px); line-height: 1.1; }
  .rmc-contact-page .rmc-contact-hero p:not(.rmc-contact-eyebrow) { font-size: 15px; line-height: 1.5; }
}
.rmc-contact-page #contactForm input:not([type="submit"]):focus-visible,
.rmc-contact-page #contactForm textarea:focus-visible,
.rmc-contact-page #contactForm input[type="submit"]:focus-visible,
.rmc-contact-page a:focus-visible {
  outline: 2px solid #b49553;
  outline-offset: 3px;
}
.rmc-contact-page .rmc-contact-email { color: #10383b; }
.rmc-contact-page .rmc-contact-email:hover { color: #0b6e6b; }
