.single-post__wrapper {
    display: flex;
    align-items: stretch;
    gap: 60px
}

.single-post__wrapper > * {
    flex: 1 1 auto;
}

.single-post__aside {
    width: 425px;
}

.single-post__aside .aside-widgets {
    position: sticky;
    top: 250px;
}

.single-post__aside .aside-widget {
    padding-bottom: 30px;
}

.single-post__aside .aside-title {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.single-post__aside .aside-title:after {
    content: "";
    width: 45px;
    height: 2px;
    background: #000;
    display: block;
    margin: 10px 0;
}

.single-post__aside .aside-content li:first-of-type {
    border-top: 0;
}

.single-post__aside .aside-content li {
    border-top: 1px dashed #d2d2d2;
    padding: 10px 0;
}

.single-post__aside .aside-content .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding-top: 10px;
}

.single-post__aside .aside-content .tags a {
    font-size: 12px;
    background: #d2d2d2;
    display: block;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
}

.single-post__aside .aside-content .tags a:hover {
    color: #fff;
    background: #7f7f7f;
}

.single-post__article {
    width: 100%;
    order: 1;
}

.single-post header.post-header {
    border-left: 4px solid #d2d2d2;
    padding-left: 30px;
    margin-bottom: 30px;
}

.single-post header.post-header h1 {
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
    padding: 0;
}

.single-post header.post-header .post-meta {
    margin-top: 10px;
}

.single-post .wp-caption {
    width: 100% !important;
    max-width: 840px;
    background: #f4f4f4;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    padding: 10px;
    margin: 30px auto;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 10px 50px;
}

.single-post .wp-caption img {
    margin: 0;
}

.single-post .wp-caption-text {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin: 10px 0 0 0;
    padding: 0;
}

.single-post article img {
    display: block;
    margin: 30px auto;
    border-radius: 8px;
}

.single-post article ul {
    list-style: disc;
    padding-left: 30px;
    padding-bottom: 30px;
}

.single-post article #toc_container {
    margin: 0 auto 30px auto;
    background: #ffffff;
    border: 1px solid #d8d8d8;
    padding: 30px;
    border-radius: 8px;
}

.single-post article .cat-cont {
    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
    padding: 15px 0;
    max-width: 923px;
}

.single-post article .cat-cont .item-image {
    padding: 15px;
    background: #fff;
    border-radius: 8px;
}

.single-post article .cat-cont ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.single-post article .cat-cont img {
    margin: 0;
}

.single-post article .cat-cont .item-info {
    line-height: 1.2;
    padding-top: 15px;
}

.single-post article .cat-cont .item-info a {
    font-size: 12px;
}

.single-post article .post-author {
    margin-top: 45px;
    padding: 30px;
    border-radius: 8px;
    background: #d2d2d2;
}

.single-post article .post-author__title {
    font-size: 22px;
    font-weight: 500;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.single-post article .post-author__title:after {
    content: "";
    width: 45px;
    height: 2px;
    background: #000;
    display: block;
    margin: 20px 0 20px 0;
}

.single-post article .post-author__wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.single-post article .author-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.single-post article .post-author__avatar {
    min-width: 96px;
}

.single-post article .post-author__avatar img {
    margin: 0;
    padding: 0;
}

.single-post .next-prev {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 60px;
}

.single-post .next-prev a {
    font-weight: 700;
}

@media (max-width: 992px) {
    .single-post__wrapper {
        flex-direction: column;
    }

    .single-post__article {
        order: unset;
    }

    .single-post header.post-header {
        padding-left: 15px;
        margin-bottom: 20px;
    }

    .single-post header.post-header .post-meta {
        font-size: 14px;
    }

    .single-post header.post-header h1 {
        font-size: 24px;
    }

    .single-post__aside {
        width: 100%;
    }

    .single-post__aside .aside-widgets {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .single-post article .post-author__wrapper {
        flex-direction: column;
        text-align: center;
    }

    .single-post article .post-author {
        padding: 30px 20px;
    }

    .single-post article .post-author__avatar {
        margin: 0 auto;
    }

    .single-post article .post-author__title {
        text-align: center;
    }

    .single-post article .post-author__title:after {
        margin-left: auto;
        margin-right: auto;
    }
}
