/* The heading between the quick alerts box and a tab's alert list on
   /rapid-alerts, so the reader sees which feed they are on. Drawn by
   views/pages/rapid-alerts.php; its text comes from RapidTabMessage::heading()
   and the page script swaps it on tab changes. The page already has an h1 and
   section h2s, so this is an h3. */
.ra-feed-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0.9rem;
  padding: 0;
  font-size: clamp(1.1rem, 1rem + 1vw, 1.4rem);
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
  scroll-margin-top: var(--ra-jump-offset, 5.5rem);
}

/* A hairline each side, centring the feed name between them. */
.ra-feed-heading::before,
.ra-feed-heading::after {
  content: "";
  flex: 1 1 1.5rem;
  height: 1px;
  background: rgba(148, 163, 184, .35);
}

/* A tab the script cannot match leaves the heading empty: no bare hairlines. */
.ra-feed-heading:empty {
  display: none;
}
