/* LFG QA round 2026-09-29: fonts for bokka-data-structures blocks. Loaded site-wide after the child style.css.

   Platypi for headings, Montserrat for everything else (body copy, labels,
   buttons, forms, map info windows). Both are the LFG site fonts; the full
   weight ranges are loaded in functions.php (Salient only loads a few).

   The plugin reaches its fonts three ways, so each is covered:
   1. --font-primary / --font-secondary (font-primary-*, font-label, ...).
   2. Hardcoded families in utilities and component rules ("Oxygen" via
      font-figtree / font-opensans / button-*, "Crimson Text" via
      font-crimson / font-playfair / title2 ...). Remapped below with a
      leading `body` so each beats the plugin's own selector.
   3. Heading tags, which carry whatever utility the template picked
      (font-primary-bold, font-figtree, ...). The heading rule sets both
      the family and the --font-primary it resolves, at 0,2,2 so it beats
      any plugin utility (0,2,0). Eyebrows, subtitles and labels that the
      plugin marks up as headings stay Montserrat (the :not() list: hero
      eyebrow and subtitle, heading-transition description, map-with-info
      labels, plan "Filter available homes by:"), plus the plan/home/model
   type line under the H1 below.
   Heading weight is 500, the weight LFG's own Salient headings use. */

:root {
	--font-primary: "Montserrat";
	--font-secondary: "Platypi";
}

/* 2. Hardcoded sans families -> Montserrat. */
body .bokka-plugin :is(.font-figtree, .font-inter, .font-opensans, .font-sans, .font-oxygen, .font-arial, .font-ubuntu, .pagination-button),
body :is(.button-accent, .button-blue, .button-gray, .button-neutral, .button-orange, .button-primary, .button-quaternary, .button-secondary, .button-teal, .button-tertiary, .button-white, .button-yellow),
body .bw-text-overlay :is(.buttons, .buttons-component) a,
body .community-detail-block :is(.bw-text-overlay .content, .description, .feature-title),
body :is(.theme-text-base, .theme-text-base-bold, .theme-text-base-grey, .theme-text-base-menu, .theme-text-body, .theme-text-eyebrow, .theme-text-lg, .theme-text-sm, .theme-text-sm-bold, .theme-text-sm-wide, .theme-text-xl),
body .tabbed-content .heading-transition .heading-description,
body .bokka-plugin .tab,
body .wp-block-group.standard-text p,
body .event-archive .split-content .text .title-3,
body .bokka-plugin form,
body .bokka-plugin form input[type="submit"],
body .infowindow-content :is(.title, .subtitle, .plan, .directions-link, .explore-button, .details div span) {
	font-family: "Montserrat", sans-serif;
}

body .bokka-plugin .\!font-figtree {
	font-family: "Montserrat", sans-serif !important;
}

/* 2. Hardcoded serif families -> Platypi. */
body .bokka-plugin :is(.font-crimson, .font-playfair, .font-serif, .font-cg, .font-archer),
body .community-detail-block :is(.bw-text-overlay .title2, .community-collection-btn span, .accordion-header h2),
body .community-tab-content :is(h2, .collection-header h3),
body .tabbed-content .heading-transition > h2,
body :is(.theme-text-2xl, .theme-text-3xl, .theme-text-6xl, .theme-text-xl-serif),
body :is(h1, h2, h3, h4, h5, h6).wp-block-heading {
	font-family: "Platypi", serif;
}

/* 3. Headings. */
body .bokka-plugin :is(h1, h2, h3, h4, h5, h6):not(.title3, .title4, .heading-description, .text-paragraph, .lfg-plan-homes-filters__title) {
	--font-primary: "Platypi";
	font-family: "Platypi", serif;
	font-weight: 500;
}

body .bokka-plugin #product-detail-brand-window-subtitle {
	--font-primary: "Montserrat";
	font-family: "Montserrat", sans-serif;
}

/* Plan single "Filter available homes by:" label (inc/bokka-lfg-plan-filters.php). */
body .bokka-plugin .lfg-plan-homes-filters__title {
	font-family: "Montserrat", sans-serif;
	letter-spacing: 1px;
}
