/* Small WordPress integration layer, after all approved design styles. */
body.admin-bar .site-header{top:32px}
body.admin-bar .full-menu{top:32px;height:calc(100dvh - 32px)}
@media(max-width:782px){body.admin-bar .site-header{top:46px}body.admin-bar .full-menu{top:46px;height:calc(100dvh - 46px)}}
@media(max-width:600px){body.admin-bar .site-header{top:0}body.admin-bar .full-menu{top:0;height:100dvh}}
.dmpm-standard-page{min-height:55vh;padding-top:clamp(3rem,8vw,7rem);padding-bottom:clamp(3rem,8vw,7rem)}
.dmpm-standard-page article+article{margin-top:3rem}
.source-prose iframe,.source-prose video{max-width:100%}
.source-prose table{max-width:100%;border-collapse:collapse}
.source-prose td,.source-prose th{padding:.65rem;border:1px solid rgba(111,91,56,.25)}
.source-prose figure{margin:1.5rem 0}
.source-prose img{max-width:100%;height:auto}
.dmpm-no-photo{display:grid;place-content:center;background:#e7e2d8;color:#65512f;min-height:14rem;padding:2rem;text-align:center;font-family:Montserrat,sans-serif}
.dmpm-no-photo span{max-width:20rem;font-size:1rem;line-height:1.7}
.dmpm-property-additions{margin:2rem 0}
.dmpm-property-additions img{max-width:100%;height:auto}
.dmpm-property-additions iframe{max-width:100%;min-height:20rem}
.dmpm-contact-context{margin:0 0 1.5rem;line-height:1.7}
.dmpm-contact-context a{overflow-wrap:anywhere}
.dmpm-contact-fallback{border:1px solid rgba(111,91,56,.3);padding:2rem}
.contact-form .wpcf7{width:100%}
.contact-form .wpcf7 form{display:grid;gap:1rem}
.contact-form .wpcf7 form>p{margin:0}
.contact-form .wpcf7 input[type=submit]:hover{opacity:.5}
.contact-form .wpcf7 input:focus-visible,.contact-form .wpcf7 textarea:focus-visible,.contact-form .wpcf7 select:focus-visible{outline:2px solid #806a3e;outline-offset:3px}
.contact-form .wpcf7 .wpcf7-response-output{margin:1rem 0;padding:1rem;font-size:1rem;line-height:1.6;letter-spacing:normal;text-transform:none}
.contact-form .wpcf7-not-valid-tip{font-size:.875rem;line-height:1.5;letter-spacing:normal;text-transform:none}
.contact-form .wpcf7-form-control-wrap{display:block}
.contact-form .wpcf7-spinner{justify-self:start}
.contact-form .screen-reader-response{position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Existing Contact Form 7 markup, presented in the approved contact panel. */
.dmpm-contact-panel { min-width: 0; }
.dmpm-contact-panel .wpcf7,
.dmpm-contact-panel .wpcf7 form { width: 100%; margin: 0; }
.dmpm-contact-panel .wpcf7 form > p { margin: 0 0 28px; }
.dmpm-contact-panel .wpcf7 label {
  display: block;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.7;
}
.dmpm-contact-panel .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.dmpm-contact-panel .wpcf7 label + label { margin-top: 24px; }
.dmpm-contact-panel .wpcf7 input[type="text"],
.dmpm-contact-panel .wpcf7 input[type="email"],
.dmpm-contact-panel .wpcf7 input[type="tel"],
.dmpm-contact-panel .wpcf7 input[type="url"],
.dmpm-contact-panel .wpcf7 input[type="number"],
.dmpm-contact-panel .wpcf7 input[type="date"],
.dmpm-contact-panel .wpcf7 select,
.dmpm-contact-panel .wpcf7 textarea {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 2px 13px;
  color: var(--gold-on-light);
  background: transparent;
  font: 400 16px/1.7 var(--body);
  text-transform: none;
  letter-spacing: .01em;
  outline-offset: 4px;
}
.dmpm-contact-panel .wpcf7 textarea { min-height: 160px; resize: vertical; }
.dmpm-contact-panel .wpcf7 input[type="submit"] {
  display: inline-block;
  width: auto;
  min-height: 48px;
  margin-top: 14px;
  padding: 14px 0 15px;
  border: 0;
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
  background: transparent;
  color: var(--gold-on-light);
  font: 400 14px/1.7 var(--body);
  text-transform: uppercase;
  letter-spacing: .14em;
  cursor: pointer;
}
.dmpm-contact-panel .wpcf7 input[type="submit"]:disabled { cursor: wait; opacity: .6; }
.dmpm-contact-panel .wpcf7-list-item { margin: 0 16px 8px 0; }
.dmpm-contact-panel .wpcf7-list-item label,
.dmpm-contact-panel .wpcf7-acceptance { font-size: 16px; text-transform: none; letter-spacing: .01em; }
.dmpm-contact-panel .wpcf7-not-valid-tip { margin-top: 8px; font-size: 14px; line-height: 1.7; color: #922f25; }
.dmpm-contact-panel .wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 14px 18px; font-size: 16px; line-height: 1.8; }
.dmpm-form-context { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.dmpm-form-context > p:first-child { font-family: var(--head); font-weight: 300; font-size: 28px; line-height: 1.35; margin: 0 0 14px; }
.dmpm-form-note { font-size: 16px; line-height: 1.8; letter-spacing: .01em; text-transform: none; }
.dmpm-contact-actions { margin-top: 24px; }
.dmpm-contact-address { overflow-wrap: anywhere; font-size: 16px; line-height: 2; }
.dmpm-form-admin-note { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.8; }
/* Real listing prices can include a rental period; give them the full phone width. */
@media (max-width: 700px) {
  .page-property .archive-residence .residence-price-block { display: block; }
  .page-property .archive-residence .residence-price { font-size: 40px; overflow-wrap: anywhere; }
  .page-property .archive-residence .residence-price-block .residence-availability {
    max-width: none;
    margin: 12px 0 0;
    text-align: left;
  }
}
