/* Shared by the Astro preview and the live PHP form. */
.bw-inquiry-intro {
  padding: 20px 0 16px;
  background: #fff;
}
:is(.bw-redesign, .bw-form-design) .bw-inquiry-intro h1 {
  margin: 0 0 8px;
  color: #003367;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
}
:is(.bw-redesign, .bw-form-design) .bw-inquiry-intro .bw-inquiry-intro-lead {
  margin: 0 0 16px;
}
.bw-inquiry-contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.bw-inquiry-phone,
.bw-line-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 12px;
  border: 1px solid #c5cdd5;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  line-height: 1.5;
}
.bw-inquiry-phone {
  flex-direction: column;
  color: #003367;
}
.bw-inquiry-phone span {
  font-size: .8125rem;
}
.bw-inquiry-phone strong {
  font-size: clamp(1rem, 2vw, 1.375rem);
  white-space: nowrap;
}
.bw-line-button {
  gap: 12px;
  border-color: #06c755;
  color: #17492c !important;
  font-weight: 700;
}
:is(.bw-redesign, .bw-form-design) .bw-line-button img {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 40px;
  /* Keep the official icon intact with at least 1/4-height clear space. */
  margin: 0;
}
.bw-inquiry-phone:hover {
  background: #f5f6f7;
  text-decoration: none;
}
.bw-line-button span {
  font-size: .9375rem;
  white-space: nowrap;
}
.bw-line-button-copy {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.bw-line-button-copy small {
  color: #586675;
  font-size: .8125rem;
  font-weight: 400;
  white-space: normal;
}
.bw-line-button:hover {
  background: #f3fcf6;
  text-decoration: none;
}
:is(.bw-redesign, .bw-form-design) .bw-inquiry-intro .bw-inquiry-contact-note {
  margin: 4px 0 0;
  color: #586675;
  font-size: .8125rem;
}
@media (max-width: 374.98px) {
  .bw-inquiry-contact-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
