/* Every design's titles: the club's title font (part 1) and the hero's name fitting the page (part 2).

   The club's title font (Settings, Website, Title font; Site\TitleFonts; decision p17_wk3 1).

   While the club picks a font other than its design's own, the core prints that font's faces
   (served from the club's own site, its latin file preloaded), sets --gc-title-font and puts
   gc-has-title-font on the body. These rules draw every title role of every design in it: the
   club's name in the header, the hero and the footer, page titles, section titles, card titles
   (events, news, levels, ranges), small titles, headings typed into a page, the core's public
   pages (ranges, range status, events) and the member page's titles and pop-ups. Each design
   keeps its own sizes, weights, case and colors for each role (its "one convention a role"
   rules); only the family changes (with lining figures, so "Rifle 100" reads level), so
   !important, at the lowest weight (:where), and a design's own exceptions win: Bulletin's and
   Field's small capitals (their small titles) stay theirs (bulletin.css, field.css). The menu,
   buttons, labels, the ticker, prices, dates, the words and the small caps keep the design's own
   font. The sign-in screens draw theirs in login.css (core), the holding page in components.css. */

body.gc-has-title-font :where(
	.gc-site-mark__name,
	.gc-site-menu__club,
	.gc-s-hero__words .gc-s-hero__tagline,
	.gc-s-pagehead__title,
	.gc-s-head__title,
	.gc-s-about__title,
	.gc-site-contact__title,
	.gc-s-news__title,
	.gc-s-join__title,
	.gc-s-info__title,
	.gc-s-callout__title,
	.gc-s-callout__alert-title,
	.gc-site-event__name,
	.gc-site-range__name,
	.gc-site-level__name,
	.gc-rs__card .gc-rs__name,
	.gc-rs-drawer__title,
	.gc-empty__title,
	.wp-block-post-content :is(h1, h2, h3, h4):not([class*="gc-"]),
	.gc-site-content--page :is(h1, h2, h3):not(.gc-portal *),
	.gc-pub__title,
	.gc-pub-range__name,
	.gc-pub-rangecard__name,
	.gc-pub-detail__name,
	.gc-pub-emergency__title,
	.gc-pub-prices__title,
	.gc-pub-board__title,
	.gc-pub-signup__title,
	.gc-pub-today__title,
	.gc-pub-news__name,
	.gc-epage__name,
	.gc-emonth__title,
	.gc-ehelpers__title,
	.gc-emembers__title,
	.gc-edone__title,
	.gc-ewaiver__title,
	.gc-pmain__title,
	.gc-phead,
	.gc-mk-heading,
	.gc-hs__title,
	.gc-hs__hello,
	.gc-hs__name,
	.gc-hs__plantitle,
	.gc-hs__docsub,
	.gc-hs__minetitle,
	.gc-hs__alertstitle,
	.gc-hs__evleadtitle,
	.gc-hs__evsub,
	.gc-hs__evtitle,
	.gc-sheet__title,
	.gc-dialog__title,
	.gc-pcard__title,
	.gc-invite__title,
	.gc-camps__h,
	.gc-clubmsg__title,
	.gc-bylaws__sub,
	.gc-rejoin__title,
	.gc-paylink__title,
	.gc-signcard__title,
	.gc-unsub__title,
	.gc-soon__club
) {
	font-family: var(--gc-title-font) !important;
	font-variant-numeric: lining-nums !important;
}

/* The words inside a title (the two-tone title's bold word, a news title's link) are the title's. */
body.gc-has-title-font :where(.gc-site-mark__first, .gc-s-head__title strong, .gc-s-about__title strong, .gc-site-contact__title strong, .gc-site-range__first) {
	font-family: inherit !important;
}

/* The club's name in the hero, in every design and whatever the font (decision p17_wk3 2): it wraps only where the
   name has spaces, never inside a word; when a word is wider than the room, assets/js/site.js draws the name smaller
   until each word fits, so nothing is cut or runs off the page. */
.gc-s-hero .gc-site-mark__name, .gc-s-hero .gc-site-mark__name *, .gc-s-hero__words .gc-s-hero__tagline {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
	white-space: normal;
}
