.single-page {
    display: flex;
    gap: 40px;
    .conten-right {
        height: max-content;
        position: sticky;
        top: 112px;
        margin-left: 0;
        border: none;
        border-radius: 28px;
        background: rgba(250, 250, 250, 0.96);
        box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);
    }
    .content-heading {
        color: #3f3f3f;
        font-size: 32px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin-bottom: 24px;
    }
    .wapper-content {
        flex: 1 0 0;
        .post-toc {
            position: sticky;
            top: 112px;
            background: white;
            transition: all 0.3s;
            width: 100%;
            height: 57px;
            overflow: hidden;
            border-radius: 8px;
            border: 1px solid rgba(0, 0, 0, 0.2);
            .post-toc-heading {
                display: flex;
                align-items: center;
                gap: 13px;
                padding: 16px;
                cursor: pointer;
                position: relative;
                svg {
                    width: 21px;
                    height: 21px;
                    flex-shrink: 0;
                    aspect-ratio: 1/1;
                }
                strong {
                    color: #0080e9;
                    font-size: 20px;
                    font-style: normal;
                    font-weight: 500;
                    line-height: normal;
                }
                .post-toc-heading-drop {
                    position: absolute;
                    width: 8px;
                    height: 14px;
                    flex-shrink: 0;
                    right: 20px;
                    top: 50%;
                    transform: translateY(-50%);
                }
            }
            ul {
                padding: 16px;
                margin-bottom: 0;
                list-style: none;
            }
        }
    }
    .detail-content {
        margin-top: 32px;
        color: #393939;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.5;
        h5,
        h4,
        h3,
        h2 {
            margin-top: 28px;
            margin-bottom: 24px;
            color: #393939;
            font-size: 24px;
            font-weight: 600;
            line-height: 1.5; /* 150% */
        }
        img {
            display: block;
            margin: 40px auto;
        }
        ol,
        ul {
            padding-left: 20px;
        }
        ol ul,
        ol ol,
        ul ol,
        ul ul {
            margin: 12px 0 12px 16px;
        }
    }
    .portfolio {
        border-radius: 13px;
        border: 1px solid rgba(37, 146, 235, 0.2);
        background: #fff;
        box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.13);
        width: 100%;
        min-height: 241px;
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 20px;
        margin-top: 50px;
        .portfolio_thumbnail {
            width: 209px;
            height: 197px;
            border-radius: 10px;
            object-fit: cover;
        }
        .portfolio-name {
            color: #333;
            text-align: justify;
            font-size: 20px;
            font-style: normal;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 12px;
        }
        .portfolio-infor {
            color: #333;
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 1.68;
            margin-bottom: 20px;
            strong {
                font-weight: 700;
            }
        }
        .portfolio-book {
            width: max-content;
        }
    }
}
.related-single {
    margin-top: 40px;
    .related-heading {
        color: #333;
        text-align: justify;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: 1.08; /* 108.333% */
        margin-bottom: 28px;
    }
    .related-list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}
@media screen and (max-width: 849px) {
    .single-page {
        padding-top: 16px;
        flex-direction: column-reverse;
        .conten-right {
            position: unset;
            width: 100%;
        }
        .wapper-content {
            .post-toc {
                top: 80px;
            }
        }
        .portfolio {
            flex-direction: column;
            .portfolio_thumbnail {
                width: 100%;
            }
        }
    }
    .related-single {
        .related-list {
            grid-template-columns: repeat(1, 1fr);
        }
    }
}
