.ast-desktop .sub-menu .sub-menu .menu-link {
text-transform: none !important;
}
.ast-primary-header-bar .ast-container {
max-width: 1400px;
}
.custom-toc {
padding: 20px;
border: 1px solid #e5e5e5;
border-radius: 12px;
background: #fff;
}
.custom-toc h3 {
margin-top: 0;
font-size: 18px;
}
.custom-toc ul {
margin: 0;
padding-left: 18px;
}
.custom-toc li {
margin-bottom: 8px;
}
.custom-toc a {
text-decoration: none;
}
.single-post #secondary .sidebar-main {
position: sticky;
top: 110px;
align-self: flex-start;
max-height: calc(100vh - 130px);
overflow-y: auto;
}
.single-post #secondary .sidebar-main::-webkit-scrollbar {
width: 6px;
}
.single-post #secondary .sidebar-main::-webkit-scrollbar-thumb {
background: #c7c7c7;
border-radius: 10px;
}
.single-post #secondary .sidebar-main::-webkit-scrollbar-track {
background: transparent;
}
html {
scroll-behavior: smooth;
}
h2 {
scroll-margin-top: 120px;
}
@media (max-width: 480px) {
.single-post .site-content > .ast-container {
display: flex !important;
flex-direction: column !important;
}
.single-post #secondary {
order: 1 !important;
}
.single-post #primary {
order: 2 !important;
}
.single-post #secondary .sidebar-main {
position: static;
top: auto;
max-height: none;
overflow-y: visible;
}
}