/* "Refer to a Community Care Hub" tool — output by [refer_hub].
   County <select> + button, then the matching hub card is revealed. */
.refer-hub {
  --rh-teal: var(--gcid-primary-color, #0a7d6e);
  --rh-teal-hover: #0b6c60;
  --rh-navy: var(--deep-blue, #062647);
  --rh-field-border: #cbd2d9;
  --rh-label-ink: #0f172a;

  --cols: 3;
  --gap: 1.5rem;
  --card-bg: #ffffff;
  --card-radius: 14px;
  --card-border: #740000;
  --black: #000;
  --deep-blue: #062647;
  --orange: #f36f4f;
  --accent: #1d4ed8;
  --accent-ink: #ffffff;
  --eyebrow: #64748b;
  --title-ink: #0f172a;
  --body-ink: #475569;

  max-width: 760px;
}

.refer-hub__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 0 2rem;
}

.refer-hub__label {
  font-family: Assistant;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 33px;
  /* font-family: Assistant, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--rh-label-ink); */
}

.refer-hub__select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: Assistant, sans-serif;
  font-size: 1rem;
  color: var(--rh-navy);
  background: #fff;
  border: 1px solid var(--rh-field-border);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23062647' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.refer-hub__select:focus {
  outline: 2px solid var(--rh-teal);
  outline-offset: 1px;
  border-color: var(--rh-teal);
}

.refer-hub__button {
  align-self: flex-start;
  padding: 0.8rem 1.4rem;
  font-family: Assistant, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: var(--rh-teal);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.refer-hub__button:hover {
  background: var(--rh-teal-hover);
}
.refer-hub__button:focus-visible {
  outline: 2px solid var(--rh-navy);
  outline-offset: 2px;
}

.refer-hub__result-heading {
  color: #0e162b;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 29px; /* 80.556% */
}

/* Single hub card, matching the wireframe's left-aligned column width. */
.refer-hub__cards {
  display: grid;
  grid-template-columns: minmax(0, 375px);
  gap: 1.5rem;
}

.refer-hub__empty {
  font-family: Assistant, sans-serif;
  color: #475569;
  font-style: italic;
}
