.abn-toc {
position: sticky;
top: 120px;
width: 100%;
padding: 26px;
background: #FDF7F2;
border-radius: 24px;
box-sizing: border-box;
}
.abn-toc[hidden] {
display: none !important;
}
.abn-toc__label {
display: inline-block;
margin: 0 0 14px;
padding: 7px 12px;
background: #BC6728;
color: #fff;
border-radius: 50px;
font-family: inherit;
font-size: 11px;
font-weight: 600;
line-height: 1;
letter-spacing: .08em;
text-transform: uppercase;
}
.abn-toc__title {
margin: 0 0 17px;
color: inherit;
font-family: inherit;
font-size: 22px;
font-weight: 600;
line-height: 1.2;
}
.abn-toc__list {
margin: 0;
padding: 0;
list-style: none;
}
.abn-toc__item {
margin: 0;
padding: 0;
}
.abn-toc__item + .abn-toc__item {
margin-top: 3px;
}
.abn-toc__link {
display: block;
position: relative;
padding: 8px 10px 8px 14px;
color: inherit;
border-left: 2px solid rgba(188, 103, 40, .22);
border-radius: 0 8px 8px 0;
font-family: inherit;
font-size: 14px;
font-weight: 400;
line-height: 1.4;
text-decoration: none !important;
transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.abn-toc__link:hover,
.abn-toc__link:focus-visible {
color: #BC6728;
border-left-color: #BC6728;
background: rgba(255, 255, 255, .55);
outline: none;
}
.abn-toc__link.is-active {
color: #BC6728;
border-left-color: #BC6728;
background: rgba(255, 255, 255, .72);
font-weight: 600;
}
.abn-toc__item--h3 .abn-toc__link {
padding-left: 28px;
font-size: 13px;
}
.abn-toc__item--h4 .abn-toc__link,
.abn-toc__item--h5 .abn-toc__link,
.abn-toc__item--h6 .abn-toc__link {
padding-left: 40px;
font-size: 13px;
}
.abn-anchor-target {
scroll-margin-top: 130px;
}
@media (max-width: 767px) {
.abn-toc {
position: relative;
top: auto;
margin: 0 0 30px;
padding: 22px;
border-radius: 20px;
}
.abn-toc__title {
font-size: 20px;
}
}
@media (prefers-reduced-motion: reduce) {
.abn-toc__link {
transition: none;
}
}