.single-post {
    background-image: url(../../images/render/ca-lines-1.webp), url(../../images/render/ca-dots.svg), url(../../images/render/ca-dots.svg), url(../../images/icons/ca-stars-2-icon.svg);
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: right top, top right -30px, center left, left 32px top 128px;
    background-size: 45%, auto, auto, 64px;
    position: relative;
}

.single-post .section-common-content {
    background: none;
}

.single-post .post-wrapper {
    display: flex;
    align-items: stretch;
    gap: 64px;
}

.single-post .post-wrapper > div {
    flex: 1 1 0;
}

.single-post .post-content {
    border-right: 1px dashed rgba(0, 0, 0, 0.15);
    padding-right: 64px;
}

.single-post .post-content .container {
    padding-left: 0;
    padding-right: 0;
}

.single-post .post-wrapper .section,
.single-post .post-wrapper .section-heading {
    padding-bottom: 0;
}

.single-post .post-wrapper .post-meta {
    font-size: var(--font-size-h6);
    color: var(--primary-color);
    padding: 16px 0;
    opacity: 0.75
}

.single-post .post-wrapper .post-meta a {
    color: var(--primary-color);
}

.single-post .post-wrapper .post-meta ul {
    display: flex;
    align-items: center;
    gap: 16px;
}

.single-post .post-wrapper .post-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-post .post-wrapper .post-meta svg {
    width: 16px;
    height: auto;
}

.single-post .post-wrapper .title {
    font-style: normal;
}

.single-post .post-wrapper .title:after {
    content: "";
    width: 96px;
    height: 4px;
    background: var(--text-color);
    border-radius: 30px;
    display: block;
    margin: 16px 0 0 0;
}

.single-post .section :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):not(.title) {
    font-style: normal;
    color: var(--text-color);
}

.single-post .post-content img {
    border-radius: 20px;
    box-shadow: rgba(50, 50, 93, 0.15) 0px 13px 27px -5px, rgba(0, 0, 0, 0.2) 0px 8px 16px -8px;
}

.single-post .post-content a {
    font-weight: 700;
}

.single-post .section-common-content img {
    margin-top: 32px;
    margin-bottom: 32px;
}

.single-post .post-aside {
    width: 100%;
    max-width: 375px;
}

.single-post .widgets {
    display: flex;
    flex-direction: column;
    gap: 32px;
    height: 100%;
}

.single-post .widget-contact {
    position: sticky;
    top: 128px;
}

.logged-in .single-post .widgets {
    top: 150px;
}

.single-post .widget:not(:last-of-type) {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
}

.single-post .widget-title:after {
    content: "";
    width: 32px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 30px;
    display: block;
    margin: 16px 0 0 0;
}

.single-post .widget-content {
    padding: 16px 0;
}

.single-post .widget-content ol,
.single-post .er_toc_content ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style-type: decimal;
    padding-left: 18px;
}

.single-post .widget-content li:first-of-type,
.single-post .er_toc_content li:first-of-type {
    padding-top: 0;
}

.single-post .widget-content li,
.single-post .er_toc_content li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding: 8px 16px;
}

.single-post .widget-content li::marker,
.single-post .er_toc_content li::marker {
    font-family: "Playfair Display", serif;
    color: var(--secondary-color);
    font-weight: 900;
    font-size: var(--font-size-h4);
}

.single-post .widget-content li:last-of-type {
    border-bottom: 0;
}

.single-post .widget-content li a {
    font-weight: 700;
    color: var(--text-color);
}

.single-post .widget-content li a:hover {
    color: var(--secondary-color);
}

.single-post .widget-contact div {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.single-post .widget-contact img {
    max-width: 250px;
    height: auto;
    margin: 0 auto;
}

.single-post .widget-contact .name {
    font-weight: 700;
}

.single-post .widget-contact ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.single-post .widget-contact li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    padding: 0;
}

.single-post .widget-contact li span {
    width: 30px;
    height: auto;
}

.single-post .widget-contact li a {
    font-size: var(--font-size-h5);
    font-weight: 600;
}

.single-post .post-author {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow-x: hidden;
}

.single-post .post-author .section {
    color: var(--white);
    background: var(--secondary-color);
    margin: 0 -2px;
    padding: 0;
}

.single-post .author-wrapper {
    display: flex;
    align-items: center;
    gap: 64px;
}

.single-post .author-wrapper > div {
    flex: 1 1 0;
}

.single-post .author-wrapper .content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.single-post .author-wrapper .featured {
    width: 100%;
    max-width: 375px;
}

.single-post .author-wrapper .name {
    font-size: var(--font-size-h2);
    font-weight: 900;
    font-style: italic;
    font-family: "Playfair Display", serif;
    color: var(--white);
    line-height: 1.2;
}

.single-post .post-wrapper .section-common-content,
.single-post .post-wrapper .section-common-content-image {
    padding: 64px 0;
}

.single-post .section-common-content img,
.single-post .section-common-content-image img{
    box-shadow: none;
    border-radius: 0;
}

.single-post .section-common-content .section-heading,
.single-post .section-common-content-image .section-heading .title {
    padding-bottom: 32px;
    margin: 0;
}

.single-post .section-common-content .section-heading .title,
.single-post .section-common-content-image .section-heading .title {
    font-size: var(--font-size-h3);
}

.single-post .section-common-content .section-heading .title:after,
.single-post .section-common-content-image .section-heading .title:after,
.single-post .section-common-content-image:before {
    display: none;
}

.single-post .section-common-content-image .section-content {
    max-width: 375px;
}


@media (max-width: 1280px) {
    .single-post .post-wrapper {
        gap: 32px;
    }

    .single-post .post-aside {
        width: 100%;
        max-width: 325px;
    }

    .single-post .post-content {
        padding-right: 32px;
    }
}

@media (max-width: 992px) {
    .single-post {
        background-size: 45%, auto, auto, 75px;
    }

    .single-post .post-wrapper {
        flex-direction: column;
    }

    .single-post .post-content {
        border-right: 0;
        padding: 0;
    }

    .single-post .post-wrapper .section-heading {
        min-height: auto;
        margin-top: 0;
        background: none;
        margin-bottom: 0
    }

    .single-post .post-aside {
        max-width: 100%;
        padding-top: 32px;
    }

    .single-post .widget-contact {
        position: relative;
        top: 0;
    }

    .single-post .author-wrapper {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .widget-toc {
        display: none;
    }
}