h3 {
    font-size: 1.4em;
}

h4 {
    font-size: 1.2em;
}

h5 {
    font-size: 1.1em;
}

h6 {
    font-size: 1em;
}

.single-body.has-toc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
    align-items: start;
}

.single-body.has-toc .toc {
    position: sticky;
    top: 2rem;
    margin: 0;
    justify-self: end;
}

@media screen and (max-width: 900px) {
    .single-body.has-toc {
        grid-template-columns: 1fr;
    }

    .single-body.has-toc .toc {
        position: static;
        order: -1;
    }
}

@media screen and (min-width: 1100px) {
    body {
        --main-width: 1120px;
    }
}

.single-body.has-toc .img-full img {
    width: 100% !important;
    max-width: 100% !important;
}
