.contact-info:has(.bldr-phone-list) {
  container-type: inline-size;
}

.contact-info:has(.bldr-phone-list) > .text-wrapper {
  width: 100%;
  min-width: 0;
}

.contact-info:has(.bldr-phone-list) > .image-wrapper {
  display: none;
}

.bldr-phone-list {
  display: grid;
  width: fit-content;
  max-width: 100%;
  margin: .375rem 0 0;
  padding: 0;
  list-style: none;
  color: #211d1d;
}

.bldr-phone-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  column-gap: clamp(.25rem, 2cqi, .75rem);
}

.bldr-phone-row + .bldr-phone-row {
  border-top: 1px solid #d5d1ce;
}

.bldr-phone-row .bldr-phone-number {
  display: grid;
  grid-template-columns: clamp(20px, 7cqi, 24px) 4ch 6.55ch 4ch;
  align-items: center;
  gap: .35em;
  min-height: 48px;
  margin: 0;
  color: inherit;
  font-variant-numeric: lining-nums tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}

.bldr-phone-number img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  outline: 1px solid rgb(33 29 29 / 18%);
}

.bldr-phone-code { color: #575150; }
.bldr-phone-prefix { text-align: end; }

.bldr-phone-messengers {
  display: flex;
  flex: none;
  margin-inline-start: auto;
}

.bldr-phone-chat {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 44px;
  border-radius: .25rem;
}

.bldr-phone-chat img { display: block; width: 26px; height: 26px; }
.bldr-phone-chat:hover { background: #f4f4f0; }
.bldr-phone-number:hover span { text-decoration: underline; }
.bldr-phone-list a:focus-visible { outline: 2px solid #b92523; outline-offset: 2px; }

@container (max-width: 18rem) {
  .bldr-phone-row { column-gap: .375rem; }
  .bldr-phone-row .bldr-phone-number { gap: .1875rem; }
}
