.contact-card-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.78);
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
  overflow-y: auto;
  box-sizing: border-box;
}

.contact-card-overlay.is-open {
  display: flex;
}

body.contact-card-open {
  overflow: hidden;
}

.contact-card-dialog {
  position: relative;
  margin: auto;
  flex-shrink: 0;
}

.contact-card-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.contact-card-scroll {
  line-height: 0;
}

.contact-card-img {
  width: auto;
  height: auto;
  max-width: min(440px, 92vw);
  display: block;
}

.link-disabled {
  cursor: default !important;
  pointer-events: none !important;
}
