/*
  EDITING GUIDE — contact-mobile-map-r48.css
  ------------------------------------------------------------------
  PURPOSE: This stylesheet is part of EMBR's layered styling system.
  QUICK EDIT: Use the section notes below to locate the relevant block.
  SAFETY: Keep selectors and declarations intact when only changing a value.
  CSS LOAD ORDER matters: later stylesheets may override earlier ones.
  ------------------------------------------------------------------
*/
/* R48 — mobile contact composition and responsive embedded map. Page scoped to contact.html. */
/* EDIT: Contact page composition, contact details, or embedded map presentation. */
.contact-map-r48 {
  width: 100%;
  margin: 0;
  background: var(--embr-page, #e9e1d6);
}
/* EDIT: Contact page composition, contact details, or embedded map presentation. */
.contact-map-frame-r48 {
  position: relative;
  width: 100%;
  height: clamp(250px, 38vw, 430px);
  overflow: hidden;
  background: #d8d0c4;
}
/* EDIT: Contact page composition, contact details, or embedded map presentation. */
.contact-map-frame-r48 iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.78) contrast(.96);
}
/* EDIT: Contact page composition, contact details, or embedded map presentation. */
.contact-map-open-r48 {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: #e9e1d6;
  color: #87432f;
  text-decoration: none;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(52,45,38,.12);
}
/* EDIT: Contact page composition, contact details, or embedded map presentation. */
.contact-map-open-r48 span { font-size: 14px; line-height: 1; }
/* EDIT: Contact page composition, contact details, or embedded map presentation. */
.contact-map-caption-r48 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px clamp(18px, 5vw, 56px);
  border-bottom: 1px solid rgba(135,67,47,.16);
  color: var(--embr-accent, #87432f);
  font-size: 9px;
  letter-spacing: .14em;
}
/* EDIT: Responsive rules below: adjust the breakpoint or the mobile/tablet layout inside this block. */
@media (max-width: 600px) {
  /* Compose mobile contact as three intentional editorial panels, not a long plain stack. */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 16px 24px;
  }
  .contact-grid > div {
    border: 1px solid rgba(135,67,47,.16);
    border-left: 1px solid rgba(135,67,47,.16) !important;
    padding: 23px 21px !important;
    background: rgba(255,255,255,.13);
  }
  .contact-grid > div + div,
  .contact-grid > div:nth-child(3) {
    border-top: 1px solid rgba(135,67,47,.16) !important;
    padding-top: 23px !important;
  }
  .contact-grid > div:first-child {
    position: relative;
    padding-bottom: 25px !important;
  }
  .contact-grid > div:first-child h2,
  .contact-grid > div:nth-child(2) h2,
  .contact-grid > div:nth-child(3) h2 {
    font-size: clamp(30px, 9vw, 36px);
    line-height: 1.08;
    margin-bottom: 12px;
  }
  .contact-grid > div:first-child p:not(.eyebrow) { max-width: 31ch; }
  .contact-grid > div:nth-child(2) {
    background: #87432f;
    border-color: #87432f !important;
    color: #f1e8dc;
  }
  .contact-grid > div:nth-child(2) .eyebrow,
  .contact-grid > div:nth-child(2) h2,
  .contact-grid > div:nth-child(2) p:not(.eyebrow) { color: #f1e8dc !important; }
  .contact-grid > div:nth-child(2) .text-link {
    color: #f1e8dc !important;
    border-bottom-color: rgba(241,232,220,.48);
    padding-bottom: 7px;
  }
  .contact-grid > div:nth-child(3) { background: rgba(255,255,255,.2); }
  .contact-grid .eyebrow { font-size: 9px; letter-spacing: .18em; margin-bottom: 13px; }
  .contact-grid p:not(.eyebrow) { font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
  .contact-grid .text-link { margin-top: 8px; }
  .v5-social-links { display: flex; flex-direction: row; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
  .v5-social-link { width: auto; min-width: 132px; padding: 10px 13px; border: 1px solid rgba(135,67,47,.18); background: transparent; }
  .v5-social-link .v5-social-icon { width: 34px; height: 34px; }
  .contact-map-frame-r48 { height: 260px; }
  .contact-map-open-r48 { top: 12px; left: 12px; padding: 11px 13px; font-size: 8px; }
  .contact-map-caption-r48 { padding: 12px 16px; font-size: 8px; }
}
/* EDIT: Responsive rules below: adjust the breakpoint or the mobile/tablet layout inside this block. */
@media (min-width: 601px) and (max-width: 900px) {
  .contact-map-frame-r48 { height: 320px; }
}
