/* Accessible equivalents of existing raster text, without changing artwork.
   This stylesheet is installed by apply_raster_accessibility.py only on the
   specifically reviewed pages. It does not change a global heading rule. */
.tci-raster-text-equivalent {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
/* The real mobile flow already contains the same headings, copy and tables.
   Hide the equivalent from accessibility APIs only when that flow is active,
   not merely because a viewport is narrow or JavaScript is unavailable. */
html.m-reflow-page .tci-raster-text-equivalent {
  display: none !important;
}
/* These four existing text overlays already set position, size, font family,
   line height and an inline font size. Preserve the former div's weight and
   margins after promotion to a real heading; its existing strong stays bold. */
h1.tci-visible-raster-heading.ta-text,
h1.tci-visible-raster-heading.cu-text,
h1.tci-visible-raster-heading.app-text,
h1.tci-visible-raster-heading.ct-text {
  display: block;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: 400;
}
