h1, .h1, h2, h3, h4, h5, h6 {
    font-size: var(--header-font-size);
    font-family: inherit;
    font-weight: bold;
    line-height: 20px;
    margin: var(--txt2-block-space) 0;
    color: inherit;
    text-rendering: optimizelegibility;
}
h1 small, .h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
    font-size: var(--header-small-font-size);
    font-weight: normal;
    line-height: 1;
    color: var(--text-muted-color);
}
h1.txt2-header, .h1.txt2-header, h2.txt2-header, h3.txt2-header, h4.txt2-header, h5.txt2-header, h6.txt2-header {
    text-align: center;
}

h3.txt2-header, h4.txt2-header, h5.txt2-header, h6.txt2-header {
    text-align: left;
}

h1.txt2-header, .h1.txt2-header {
    position: relative;
    clear: both;
    margin-top: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}
h1.txt2-header:after, .h1.txt2-header:after {
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--h1-bottom-gradient);
}
h1.txt2-header:target:after, .h1.txt2-header:target:after {
    background: var(--h1-bottom-gradient-target);
}

h1 {
    --header-font-size: 150%;
    --header-small-font-size: 24.5px;
    --header-link-icon-width: 34px;
}

h2 {
    --header-font-size: 125%;
    --header-small-font-size: 17.5px;
    --header-link-icon-width: 30px;
}

h3 {
    --header-font-size: 110%;
    --header-small-font-size: 14px;
    --header-link-icon-width: 26px;
}

h4 {
    --header-font-size: 18;
    --header-small-font-size: 14px;
}

h5 {
    --header-font-size: 16px;
}

h6 {
    --header-font-size: var(--font-size);
}

.txt2-header:target {
    border-bottom: 2px solid var(--caption-color);
}
.txt2-header:target:after {
    display: none;
}

.linked-header {
    cursor: pointer;
}
.linked-header:hover {
    --header-link-icon-opacity: 1;
}

.linked-header-icon {
    position: absolute;
    text-align: right;
    pointer-events: none;
    user-select: none;
    opacity: var(--header-link-icon-opacity, 0);
    width: var(--header-link-icon-width);
}