/* =============================================================
   barrio_npm — typography
   Headings, body sub-titles, hero/featured text sizing.
   ============================================================= */

/* PT Sans self-hosted from ../fonts/pt-sans/. Production has no CDN access.
   Only 400 / 700 are published for PT Sans; font-weight: 100/300 declarations
   elsewhere in this file fall back to 400 as they already did with the
   previous @import. latin + latin-ext are bundled in a single woff2 per
   weight, so no unicode-range split is needed. See fonts/pt-sans/README.md. */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pt-sans/pt-sans-v18-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/pt-sans/pt-sans-v18-latin_latin-ext-700.woff2') format('woff2');
}

/* Heading defaults — light weight, tight line-height, brand dark color */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 0.5rem;
  font-weight: 100 !important;
  line-height: 1 !important;
  color: #1e2022;
}

/* H2 / H3 / sub-title — PT Sans, small light weight. Matches barrio_white
   verbatim including the !important; that exists to override BS5's heading
   weight, removing it lets BS5's defaults re-establish heavier headings. */
h2, h3,
.field--name-field-sub-title {
  font-family: 'PT Sans', sans-serif;
  font-size: 22.666px;
  font-weight: 100 !important;
}

h2,
.featured-bottom h2 {
  font-size: 22px;
}

.container .field--name-body h2 {
  font-family: 'PT Sans', sans-serif;
  font-weight: 300;
  font-size: 22.666px;
}

h2.text-headline {
  font-size: 28px;
}
