/* Shared display hierarchy. Loaded last so page templates cannot substitute
   a different heading font, weight or responsive scale. Layout and colour
   remain the responsibility of each section. */
:root {
  --hypr-h1-size: clamp(80px, 8.25vw, 134px);
  --hypr-h2-size: clamp(52px, 5.8vw, 88px);
}
h1, h2 {
  font-family: var(--display) !important;
  font-style: normal !important;
  text-transform: uppercase !important;
  overflow-wrap: anywhere;
  hyphens: manual;
  text-wrap: balance;
}
h1 {
  font-size: var(--hypr-h1-size) !important;
  font-weight: 800 !important;
  line-height: .88 !important;
  letter-spacing: -.025em !important;
}
h2 {
  font-size: var(--hypr-h2-size) !important;
  font-weight: 700 !important;
  line-height: .98 !important;
  letter-spacing: -.02em !important;
  hyphens: auto;
}
/* A consent dialog uses the same display face without becoming a hero. */
.hypr-consent h2 { font-size: 24px !important; line-height: 1.05 !important; }
@media (max-width: 1100px) {
  :root { --hypr-h1-size: clamp(72px, 9vw, 105px); }
}
@media (max-width: 760px) {
  h1, h2 { hyphens: auto; hyphenate-limit-chars: 10 4 4; }
  :root {
    --hypr-h1-size: clamp(48px, 13vw, 90px);
    --hypr-h2-size: clamp(36px, 9vw, 60px);
  }
}

/* Featured and related guide cards share one responsive title treatment. */
.blog-feature h2,.blog-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-family: var(--display) !important;
  font-size: clamp(30px,3vw,44px) !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  letter-spacing: -.02em !important;
  text-transform: uppercase !important;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-wrap: balance;
}

/* Long editorial titles and in-article headings use a reading scale. */
.guide-heading h1{--hypr-h1-size:clamp(44px,5.5vw,80px);line-height:1.02!important}
.guide-body h2{--hypr-h2-size:clamp(30px,3.2vw,44px);line-height:1.08!important}
@media(max-width:760px){
 .guide-heading h1{--hypr-h1-size:clamp(36px,9vw,60px)}
 .guide-body h2{--hypr-h2-size:clamp(28px,7vw,36px)}
}
