/* Shared hierarchy for editorial tags across the site.
   Page-hero display type, body copy, navigation and button labels stay independent. */
:root {
  --editorial-chapter-tag-size: 16px;
  --editorial-item-tag-size: 15px;
  --editorial-tag-weight: 600;
}

:is(
  .home-page .challenge-kicker,
  .home-page .story-overview-label,
  .home-page .story-index > span:last-child,
  .home-page .news-kicker,
  .home-page .home-next-intro > p,
  .origin-kicker,
  .origin-person-label,
  .about-name-story-label,
  .company-heading > p,
  .subpage-next > div > p,
  .business-page .business-hero-diagram > p:first-child,
  .business-page .business-section-heading > p,
  .business-page .business-methods-grid > div:first-child > p:first-child,
  .business-page .business-next .business-shell > p:first-child,
  .contact-form-index,
  .privacy-kicker
) {
  font-size: var(--editorial-chapter-tag-size);
  font-weight: var(--editorial-tag-weight);
}

:is(
  .home-page .story-label,
  .home-page .story-followup-title > .story-followup-label,
  .home-page .field-event-kicker,
  .home-page .home-next-links a > span:first-child,
  .origin-label,
  .business-page .business-hero-diagram li > span,
  .business-page .business-question-type,
  .business-page .business-build-grid article > span
) {
  font-size: var(--editorial-item-tag-size);
  font-weight: var(--editorial-tag-weight);
}

/* These two captions have more specific layout rules on TOP. */
.home-page .story-act .field-photo .field-event-name .field-event-kicker,
.home-page .story-continue .story-followup .story-followup-title > .story-followup-label {
  font-size: var(--editorial-item-tag-size);
  font-weight: var(--editorial-tag-weight);
}

@media (max-width: 767px) {
  :root { --editorial-item-tag-size: 14px; }
}
