@font-face {
  font-family: 'AGFOR20';
  src: url('../fonts/AGFOR20.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .section-title,
  .listview-title,
  .pageTitle,
  .modal-title,
  .card-title,
  .judges-page-title,
  .country-standings-section-title,
  .country-medals-section-title,
  .table thead th,
  .table thead td,
  .dwc-empty-state-card__title,
  .dwc-welcome-title,
  .header-large-title .title,
  .section h4.title,
  .error-page .title,
  .live-schedule-class-label
) {
  font-family: 'AGFOR20', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/*
 * User-provided names, entries, schools, and countries — system font stack.
 * AGFOR20 lacks glyphs for many international characters.
 */
:is(
  .dwc-user-text,
  .live-schedule-class__name-text,
  .live-schedule-page #entries_modal .modal-title,
  .manage-dancer-card__name,
  .manage-dancer-card__membership,
  .dancer-entry-card__title,
  .dancer-schedule-card__class-title,
  .dancer-schedule-card__piece,
  .dancer-schedule-card__entry-cutout,
  .dancer-entry-card__meta dd,
  .media-glass-card__title,
  .media_card_title,
  .judges_card_title,
  .timeline .content h3.title,
  .timeline .content .text,
  .listview.image-listview .item .in,
  .listview.image-listview .item .in footer,
  .table tbody td,
  .table tbody th,
  #entries .item .in,
  #entries_modal .listview .item .in
) {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-style: normal !important;
}
