/* HS Heading & Text — size presets only. Everything else comes from the theme
   or from Elementor's per-element rules, so this file stays cacheable. */

.hsg-h {
    /* Margin is Elementor's job (Advanced → Layout); zeroing it here means an
       unset control produces no spacing surprise from the theme's h1-h6 rules. */
    margin: 0;
    scroll-margin-top: var(--hsg-anchor-offset, 80px);
}

.hsg-h a {
    color: inherit;
    text-decoration: inherit;
}

.hsg-h--display {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.03;
    letter-spacing: -0.02em;
}

.hsg-h--xl {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
}

.hsg-h--l {
    font-size: clamp(1.5rem, 3vw, 2.125rem);
    line-height: 1.2;
}

.hsg-h--m {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 1.3;
}

.hsg-h--s {
    font-size: 1.125rem;
    line-height: 1.4;
}

.hsg-h--eyebrow {
    font-size: 0.8125rem;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hsg-text > *:first-child {
    margin-top: 0;
}

.hsg-text > *:last-child {
    margin-bottom: 0;
}

.hsg-text h3,
.hsg-text h4,
.hsg-text h5,
.hsg-text h6 {
    scroll-margin-top: var(--hsg-anchor-offset, 80px);
}

.hsg-answer {
    font-weight: 600;
}
