:host { display: block; } .hy-heading__container { display: flex; flex-direction: column-reverse; padding: 1.5rem 0 1rem; width: 100%; @include breakpoint($medium) { flex-direction: row; padding: 2rem 0 1.5rem; } &__subsection { padding: 2.5rem 0 1.375rem; @include breakpoint($medium) { padding: 4rem 0 2.375rem; } } h1 { padding: 0.5rem 0 1.375rem; @include breakpoint($medium) { padding: 1rem 0 2.375rem; } } } .hy-heading { display: flex; flex-grow: 1; flex-shrink: 0; max-width: 100%; width: auto; } .hy-heading__subsection { flex-shrink: 2; overflow: hidden; width: 100%; &:after { background-color: transparent; border-bottom: 1px dashed var(--grayscale-dark); content: ' '; display: flex; height: 2px; width: 100%; margin-left: 0; margin-bottom: 1rem; position: relative; top: 50%; transform: translateY(-50%); @include breakpoint($medium) { margin-left: 2rem; } } } h1, h2, h3, h4, h5, h6 { color: var(--brand-main-nearly-black); font-family: var(--main-font-family); font-weight: 700; padding: 0; margin: 0; width: 100%; &.negative { color: white; } } h1 { font-size: 32px; letter-spacing: -1px; line-height: 40px; @include breakpoint($medium) { font-size: 48px; letter-spacing: -1.5px; line-height: 64px; } } h2 { font-size: 26px; letter-spacing: -0.82px; line-height: 32px; @include breakpoint($medium) { font-size: 32px; letter-spacing: -1px; line-height: 40px; } } h3 { font-size: 22px; letter-spacing: -0.69px; line-height: 28px; @include breakpoint($medium) { font-size: 26px; letter-spacing: -0.82px; line-height: 32px; } } h4 { font-size: 18px; letter-spacing: -0.56px; line-height: 24px; @include breakpoint($medium) { font-size: 22px; letter-spacing: -0.69px; line-height: 28px; } } h5 { font-size: 16px; letter-spacing: -0.5px; line-height: 20px; @include breakpoint($medium) { font-size: 18px; letter-spacing: -0.56px; line-height: 24px; } } h6 { font-size: 14px; letter-spacing: -0.44px; line-height: 16px; @include breakpoint($medium) { font-size: 16px; letter-spacing: -0.5px; line-height: 20px; } }