/* Contact actions use the editorial grid rather than a collection of cards. */
.nd-page--contact-us .nd-main-hero .nd-body { max-width: 58ch; }
.nd-page--contact-us .nd-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .38fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.nd-page--contact-us .nd-contact-direct {
  margin: 0;
  min-width: 0;
}
.nd-page--contact-us .nd-contact-action {
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--nd-line, #e0e2e5);
  margin: 0;
  min-width: 0;
}
.nd-page--contact-us .nd-contact-action:first-child { padding-top: 0; }
.nd-page--contact-us .nd-contact-label {
  font-size: .8rem;
  color: var(--wp--preset--color--muted, #565d68);
  margin: 0 0 .5rem;
}
.nd-page--contact-us .nd-contact-action .nd-body {
  margin: 0;
  font-size: clamp(1.2rem, 2.7vw, 2.15rem);
  line-height: 1.35;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.nd-page--contact-us .nd-contact-action a {
  color: var(--wp--preset--color--ink, #171a21);
  text-decoration-color: var(--wp--preset--color--primary, #f84e45);
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
}
.nd-page--contact-us .nd-contact-action a:hover {
  color: var(--wp--preset--color--brand-text, #b72c25);
}
.nd-page--contact-us .nd-contact-action a:focus-visible {
  outline: 2px solid var(--wp--preset--color--brand-text, #b72c25);
  outline-offset: 6px;
}
.nd-page--contact-us .nd-contact-messaging {
  justify-self: end;
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin: 0;
}
.nd-page--contact-us figure.nd-contact-qr {
  width: 160px;
  max-width: 100%;
  margin: 0;
}
.nd-page--contact-us figure.nd-contact-qr img {
  width: 160px !important;
  height: 160px !important;
  max-height: 160px !important;
  object-fit: contain;
}
.nd-page--contact-us figure.nd-contact-qr figcaption {
  margin-top: .5rem;
  text-align: center;
  font-size: .8rem;
}
.nd-page--contact-us .nd-contact-messaging > .wp-block-buttons { margin: 0; }
.nd-page--contact-us .nd-contact-whatsapp .wp-block-button__link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--nd-line, #e0e2e5);
  border-radius: 999px;
  padding: .65rem 1.25rem;
  background: #fff;
  color: var(--wp--preset--color--ink, #171a21);
}
.nd-page--contact-us .nd-contact-whatsapp .wp-block-button__link:hover {
  border-color: var(--wp--preset--color--brand-text, #b72c25);
  color: var(--wp--preset--color--brand-text, #b72c25);
}
.nd-page--contact-us .nd-contact-location {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.nd-page--contact-us .nd-contact-address .nd-product-title { margin-top: 0; }
.nd-page--contact-us .nd-contact-address .nd-body { max-width: 28ch; }
.nd-page--contact-us .nd-contact-map { margin: 0; min-width: 0; }
.nd-page--contact-us .nd-contact-map .nd-location-map iframe {
  display: block;
  width: 100%;
  height: min(320px, 42svh);
  min-height: 0;
  border: 1px solid var(--nd-line, #e0e2e5);
  border-radius: var(--nd-radius, 16px);
  background: #f3f4f5;
}
.nd-page--contact-us .nd-contact-map .nd-location-map {
  width: auto;
  height: auto;
  margin: 1rem 0 0;
  background: transparent;
  padding: 0;
}
@media (max-width: 767px) {
  .nd-page--contact-us .nd-contact-layout,
  .nd-page--contact-us .nd-contact-location { grid-template-columns: minmax(0, 1fr); }
  .nd-page--contact-us .nd-contact-messaging {
    justify-self: start;
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    width: 100%;
    gap: 1rem;
  }
  .nd-page--contact-us .nd-contact-action .nd-body {
    font-size: clamp(1.15rem, 5.3vw, 1.65rem);
  }
}
@media (max-width: 374px) {
  .nd-page--contact-us .nd-contact-messaging { grid-template-columns: minmax(0, 1fr); }
}
