.site-content .post-inner {
    padding: 172px 20px 0;
}

.post-content-heading {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
    padding-inline-end: 166px;
}

.post-content-heading-title {
    font-size: clamp(1.75rem, 0.125rem + 5.4167vw, 5rem);
    line-height: 1;
}

.post-content-heading-subtitle {
    font-size: clamp(1.125rem, 0.6875rem + 1.4583vw, 2rem);
    font-weight: 500;
    line-height: 1.125;
}

.post-content-meta-description-wrapper {
    display: flex;
    gap: 190px;
    margin-bottom: 40px;
}

.post-content-meta-description {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.01em;
    opacity: 0.8;
}

.post-content-meta-description p:not(:last-child) {
    margin-bottom: 16px;
}

.post-content-meta {
    width: 100%;
    max-width: 261px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 24px;
    border-left: 1px solid rgba(168, 179, 191, 0.3);
}

.post-content-meta-item {
    display: flex;
    flex-direction: column;
}

.post-content-meta-item-heading {
    font-size: 14px;
    opacity: .5;
}

.post-content-meta-item-text {
    font-size: 16px;
    opacity: .9;
}

.post-content-meta-share {
    display: flex;
    gap: 8px;
}

.post-content-meta-share .post-content-meta-share-item {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    padding: 8px;
    background-color: #A8B3BF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-content-meta-share .post-content-meta-share-item svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.post-content-featured-image {
    width: 100%;
    height: 440px;
    border-radius: 12px;
    margin-bottom: 72px;
    position: relative;
    overflow: hidden;
}

.post-content-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.post-content-body {
    display: flex;
    gap: 95px;
}

.post-content-body-aside {
    border-right: 1px solid rgba(168, 179, 191, 0.3);
    min-width: 344px;
}

.post-content-body-aside nav {
    padding-right: 24px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.post-content-body-main {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
}

.post-content-body-main table * {
    border-color: #f0f2f4;
}

.post-content-body-main table thead {
    background-color: var(--orange);
    color: #fff;
}

.post-content-body-main h2:first-child {
    margin-top: 0;
}

.post-content-body-main h2:last-child {
    margin-bottom: 0;
}

.post-content-body-main h2 {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 500;
    margin: 32px 0;
}

.post-content-body-main h3 {
    margin: 12px 0;
}

.post-content-body-main ol.wp-block-list li {
    list-style-position: inside;
}

.post-content-body-main ol.wp-block-list li:not(:last-child) {
    margin-bottom: 32px;
}

.post-content-body-main ol.wp-block-list li b,
.post-content-body-main ol.wp-block-list li strong {
    font-size: 20px;
    font-weight: 500;
}

.post-content-body-main ol.wp-block-list li {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.post-content-body-main ul.wp-block-list {
    margin: 12px 0;
    padding: 16px 24px;
    background: linear-gradient(180deg, rgba(168, 179, 191, 0.1) 0%, rgba(168, 179, 191, 0.2) 100%);
    border-radius: 20px;
}

.post-content-body-main p + p {
    margin-top: 27px;
}

.toc {
    position: sticky;
    top: 100px;
    max-width: 360px;
}

.toc-title {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 500;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toc-item {}

.toc-link {
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    background: rgba(168, 179, 191, 0.13);
    color: #223F61;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.toc-link:hover {
    background: #E3E9F0;
}

.toc-link.active {
    background: #F07A48;
    color: #fff;
}

.related-posts {
    padding: 72px 0;
}

.related-posts-title {
    margin: 0 0 20px;
    font-size: clamp(2rem, 1.5rem + 1.6667vw, 3rem);
    line-height: 1.1667;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.related-posts-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px
}

.related-post-item {
    display: flex;
    flex-direction: column;
    gap: 24px
}

.related-post-item-image {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    overflow: hidden;
}

.related-post-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-item-info {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.related-post-item-category {
    display: inline-block;
    padding: 4px 6px;
    font-size: 14px;
    font-weight: 400;
    color: #223F61;
    background: rgba(168, 179, 191, .13);
    border-radius: 8px;
    width: fit-content;
}

.related-post-item-title a {
    display: block;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 400;
    letter-spacing: -0.01em;
    text-decoration: none;
    color: inherit
}

.related-post-item-title a:hover {
    text-decoration: underline
}

.related-post-item-date {
    font-size: 12px;
    font-weight: 400;
    color: #A8B3BF
}

@media (max-width:1024px) {
    .related-posts-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width:640px) {
    .related-posts {
        padding: 30px 0;
    }

    .related-posts-wrapper {
        grid-template-columns: 1fr
    }

    .related-post-item-image {
        height: 240px;
    }
}

@media (max-width: 960px) {
    .toc {
        position: static;
        max-width: none;
        margin-bottom: 16px;
    }

    .toc-list {
        gap: 10px;
    }

    .post-content-meta-description-wrapper,
    .post-content-body {
        flex-direction: column;
        gap: 30px;
    }

    .post-content-heading {
        padding-inline-end: 0;
    }

    .post-content-meta {
        border-left: none;
        border-top: 1px solid rgba(168, 179, 191, 0.3);
        padding: 24px 0;
    }

    .post-content-featured-image {
        height: 280px;
        margin-bottom: 30px;
    }

    .post-content-body-aside {
        min-width: 100%;
        border-right: none;
        /* position: sticky; */
        /* top: 90px; */
        /* z-index: 10; */
    }

    .post-content-body-aside .toc-list {
        display: none;
    }

    .toc-title {
        text-align: center;
        padding: 10px;
        font-size: 18px;
        background-color: #d2d2d2;
        border-radius: 4px;
    }

    .post-content-body-aside nav {
        padding-right: 0;
        margin: 0;
    }

    .site-content .post-inner {
        padding: 120px 20px 0;
    }
}