/* Qalam's consumer adapter for AVDS profile editorial-source. */
:root[data-avds-typography="editorial-source"] {
  font-synthesis: none;
}

:root[data-avds-typography="editorial-source"] :is(
  .hero-title,
  .not-found-title,
  [data-qalam-fallback-title]
) {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  letter-spacing: -0.04em;
}

:root[data-avds-typography="editorial-source"] :is(
  .hero-description,
  .not-found-description,
  [data-qalam-fallback-description],
  .qalam-editorial-copy
) {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
}

:root[data-avds-typography="editorial-source"] :is(
  button,
  input,
  textarea,
  select,
  .site-nav,
  .site-footer,
  .av-label,
  .av-metric,
  table
) {
  font-family: var(--font-sans);
}

:root[data-avds-typography="editorial-source"] :is(.av-metric, table) {
  font-variant-numeric: tabular-nums;
}
