.heading-underline {
    display: inline-block;
    width: fit-content;
}