#post-detail  {
    display: grid;
    -webkit-box-pack: justify;
    justify-content: space-between;
    align-items: flex-start;
    scrollbar-width: none;
    position: relative;
    grid-template-columns: clamp(320px, 20%, 400px) minmax(0, 1fr) clamp(360px, 25vw, 450px);
    color: #221b52;
}
#post-detail .post-content {
    padding: 10px 15px 20px 15px;
}
#post-detail .breadcrumbs li {
    font-size: 16px;
}
#post-detail p, #post-detail li {
    font-size: 18px;
    color: #333333;
    line-height: 180%;
}
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6, .post-content strong {
    font-weight: 500;
    margin-bottom: 15px;
}
.post-content h1 {
    font-size: 32px;
}
.post-content h2 {
    font-size: 26px;
    scroll-margin-top: 60px;
}
.post-content h3 {
    font-size: 24px;
    scroll-margin-top: 60px
}
.post-content h4 {
    font-size: 22px;
}
.post-content h5 {
    font-size: 20px;
}
.post-content h6 {
    font-size: 18px;
}
.table-of-content {
    padding: 20px 15px 60px 15px;
}
.table-of-content h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    margin: 0px;
}
.table-of-content ul {
    padding-top: 15px;
    padding-left: 0;
    list-style: none;
}
.table-of-content li {
    margin-bottom: 5px;
}
.table-of-content li.level-3 {
    margin-left: 20px;
}
.table-of-content li a {
    font-size: 16px;
    color: #666;
    text-decoration: none;
}
.table-of-content .title .triangle {
    display: none;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ceddff;
    transform: rotate(180deg);
    transition: all ease-in-out 0.3s;
}
.table-of-content .title.collapsed .triangle {
    transform: rotate(0deg);
}
.related-posts {
    padding: 20px 15px;
}
.related-posts .post {
    display: flex;
    background-color: #f0f6ff;
    padding: 6px 10px;
    border-radius: 6px;
    align-items: center;
    gap: 10px;
}
.related-posts .post a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 17px;
    color: #001f3f;
    text-decoration: none;
    transition: all ease-in-out 0.3s;
}
.related-posts .post a:hover {
    color: #f5a504;
}
.related-posts .post img {
    width: 120px;
    border-radius: 6px;
}
@media (min-width: 1280px) {
    #post-detail .related-posts {
        grid-area: 1 / 3 / 999 / 4;
        height: 100vh;
        position: sticky;
        top: 60px;
        scrollbar-width: none;
        overflow: scroll;
        border-left: 1px solid #eff2f5;
    }
}
@media (min-width: 768.1px) {
    #post-detail .table-of-content {
        height: 100vh;
        grid-row: 1 / 999;
        z-index: 1;
        scrollbar-width: none;
        overflow: scroll;
        position: sticky;
        top: 60px;
        border-right: 1px solid #eff2f5;
    }
}
@media (max-width: 1279.98px) {
    #post-detail .post-content {
        padding-bottom: 0 !important;
    }
    #post-detail {
        grid-template-columns: clamp(320px, 20%, 400px) minmax(0, 1fr);
    }
}
@media (max-width: 992px) {
    #post-detail {
        grid-template-columns: clamp(280px, 20%, 360px) minmax(0, 1fr);
    }
}
@media (max-width: 768px) {
    #post-detail {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 768px) {
    .table-of-content {
        padding-bottom: 0px;
    }
    .table-of-content .title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: #f0f6ff;
        padding: 8px 15px;
        border-radius: 6px;
        cursor: pointer;
    }
    .table-of-content .title .triangle {
        display: block;
    }
    .post-content h1 {
        font-size: 28px;
        text-align: left;
    }
    .post-content h2 {
        font-size: 24px;
    }
    .post-content h3 {
        font-size: 22px;
    }
    .post-content h4, .table-of-content h2 {
        font-size: 20px;
    }
    .post-content h5 {
        font-size: 18px;
    }
    .post-content h6, #post-detail p, #post-detail li, .related-posts .post a {
        font-size: 17px;
    }
}