/**
 * @file
 * Help / call CTA under RCA, Green Card and Health calculators.
 */

.insurance-help-call--block {
  position: relative;
  max-width: 750px;
  width: 100%;
  margin: 1.25rem auto 0;
  box-sizing: border-box;
}

.insurance-help-call--block > .block__title,
.insurance-help-call--block .block__title {
  display: none;
}

.insurance-help-call {
  max-width: 100%;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.insurance-help-call__inner {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 1.75rem;
  text-align: center;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.06);
}

.insurance-help-call__copy {
  max-width: 34rem;
}

.insurance-help-call__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-bold, inherit);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-color, #1a1a1a);
}

.insurance-help-call__subtitle {
  margin: 0;
  font-family: var(--font-regular, inherit);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #4a4a4a;
}

.insurance-help-call__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.insurance-help-call__cta {
  margin: 0;
  font-family: var(--font-bold, inherit);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-color, #0e7a50);
}

.insurance-help-call__phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  /* No column-gap: spacing comes only from the divider margins (keeps them centered). */
  gap: 0.65rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.insurance-help-call__phone-item {
  display: inline-flex;
  align-items: center;
  align-self: center;
  margin: 0;
}

.insurance-help-call__phone-item:not(:last-child)::after {
  content: "";
  display: block;
  flex: 0 0 auto;
  align-self: center;
  width: 1px;
  height: 1.35rem;
  margin: 0 0.9rem;
  background: #d5d5d5;
}

.insurance-help-call__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid #c9e5d8;
  border-radius: 999px;
  background: #f2faf6;
  color: var(--primary-color, #0e7a50) !important;
  font-family: var(--font-bold, inherit);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.insurance-help-call__phone:hover,
.insurance-help-call__phone:focus {
  background: var(--primary-color, #0e7a50);
  border-color: var(--primary-color, #0e7a50);
  color: #fff !important;
  box-shadow: none;
  text-decoration: none !important;
}

@media (max-width: 700px) {
  .insurance-help-call--block {
    margin-top: 1.25rem;
  }

  .insurance-help-call__inner {
    padding: 1.5rem 1.15rem;
    gap: 1.25rem;
  }

  .insurance-help-call__phones {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }

  .insurance-help-call__phone-item {
    width: 100%;
  }

  .insurance-help-call__phone-item:not(:last-child)::after {
    display: none;
  }

  .insurance-help-call__phone {
    width: 100%;
  }
}
