/* Contact page only: keep each icon in its own grid column so it never overlaps text. */
body.contact-page .contact-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas:
    "icon label"
    "icon title"
    "icon description";
  column-gap: 16px;
  align-items: start;
  min-height: 126px;
  padding: 22px 54px 21px 24px;
}

body.contact-page .contact-card .contact-card-icon {
  position: static !important;
  inset: auto !important;
  grid-area: icon;
  align-self: start;
  width: 43px;
  height: 43px;
  margin: 0;
  transform: none !important;
}

body.contact-page .contact-card small {
  grid-area: label;
  min-width: 0;
}

body.contact-page .contact-card strong {
  grid-area: title;
  min-width: 0;
  overflow-wrap: anywhere;
}

body.contact-page .contact-card p {
  grid-area: description;
  min-width: 0;
  max-width: none;
}

body.contact-page .contact-card .contact-card-arrow {
  right: 17px;
  top: 17px;
}

@media (max-width: 1050px) {
  body.contact-page .contact-card {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 14px;
    min-height: 120px;
    padding: 20px 46px 19px 18px;
  }

  body.contact-page .contact-card .contact-card-icon {
    width: 40px;
    height: 40px;
  }

  body.contact-page .contact-card .contact-card-arrow {
    right: 14px;
    top: 15px;
  }
}

@media (max-width: 600px) {
  body.contact-page .contact-card {
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 12px;
    min-height: 112px;
    padding: 18px 42px 17px 16px;
  }

  body.contact-page .contact-card .contact-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  body.contact-page .contact-card .contact-card-icon svg {
    width: 18px;
    height: 18px;
  }

  body.contact-page .contact-card .contact-card-arrow {
    right: 12px;
    top: 13px;
  }
}
