.post-type-post .editor-styles-wrapper {
    height: 100%;
    width: 100%;
    max-width: 674px;
    margin-left: auto;
    margin-right: auto;
}

.single-post__grid {
    flex-wrap: wrap;
    row-gap: 0;
}
.single-post__grid::before,
.single-post__grid::after {
    content: '';
    --custom-theme-flex-span: 3;
}
.single-post__grid::before {
    order: 1;
}
.single-post__header {
    --custom-theme-flex-span: 6;
    order: 2;
    margin-bottom: 39px;
}
.single-post__header img {
    max-width: 100%;
    height: auto;
}
.single-post__grid::after {
    order: 3;
}
.single-post__sidebar {
    --custom-theme-flex-span: 3;
    order: 4;
}
.single-post__body {
    --custom-theme-flex-span: 6;
    order: 5;
}

/* apply is-style-standard styles as default block-paragraph/list style */
.post-type-post [data-type="core/paragraph"]:not([class*="is-style"]),
.single-post .block-paragraph:not([class*="is-style"]),
.post-type-post [data-type="core/list"]:not([class*="is-style"]),
.single-post .wp-block-list:not([class*="is-style"]) {
    font-size: 1.125rem;
    line-height: 1.22;
}

.wp-admin .post-type-post h1,
.single-post__header .block-h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 16px;
}

.single-post__body > .block-h3,
.single-post__body > .is-style-like-h3 {
    margin-top: 55px;
    margin-bottom: 30px;
}
.post-type-post .wp-block-image,
.wp-block-image > .wp-block-image {
    margin-top: 24px;
    margin-bottom: 24px;
}
.post-type-post .wp-block-image img,
.single-post__body > .wp-block-image img {
    border-radius: 0;
}
.single-post__reading-time {
    margin-bottom: 16px;
}

.single-post__nav {
    margin-bottom: 80px;
    --custom-theme-flex-span: var(--custom-theme-flex-inner-span);
    margin-left: auto;
    margin-right: auto;
}
.single-post__back-link {
    display: flex;
    align-items: center;
    gap: 11px;
    color: inherit;
    text-decoration: none;
    width: fit-content;
}
.single-post__back-link__icons {
    transform: scaleX(-1);
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    width: 14px;
    height: 14px;
}
.single-post__back-link__icons .icon {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    object-fit: contain;
    transition: 0.3s ease-in-out;
}
.single-post__back-link:focus-visible,
.single-post__back-link:hover {
    color: var(--wp--preset--color--blue-dark);
}
.single-post__back-link:focus-visible .icon,
.single-post__back-link:hover .icon {
    transform: translateX(calc(100% + 6px));
}



.single-post__anchor-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 0 0 16px;
    border-left: 1px solid;
    margin: 0;
    position: sticky;
    top: calc(var(--custom-theme-site-header-height) + 32px);
    --custom-theme-anchor-ratio: 0;
}
.single-post__anchor-nav::before {
    content: '';
    position: absolute;
    border-left: 3px solid var(--wp--preset--color--blue-dark);
    top: 0;
    left: -2px;
    height: calc(100% * var(--custom-theme-anchor-ratio));
    transition: height 0.1s ease-out;
}

.single-post__anchor-nav li {
    list-style-type: none;
}
.single-post__anchor-nav__title {
    margin-bottom: 32px;
    max-width: 261px;
}
.single-post__anchor-nav__link {
    color: inherit;
    text-decoration: none;
    font-size: 1.125rem;
    line-height: 1.22;transition: text-shadow 0.2s ease-out;
}
.single-post__anchor-nav__link.is-current {
    text-shadow: 1px 0 0 rgba(255, 255, 255, 1);
}


.single-post__authors {
    margin-bottom: 64px;
}
.single-post__authors .block-profiles__title {
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.22;
}
.single-post__authors .block-profiles__list {
    row-gap: 25px;
}

@media screen and (max-width: 1279px) {
    .single-post__grid::after {
        display: none;
    }
    .single-post__grid::before,
    .single-post__sidebar {
        --custom-theme-flex-span: 4;
    }

    .single-post__header,
    .single-post__body {
        --custom-theme-flex-span: 8;
    }
}
@media screen and (max-width: 991px) {
    .single-post__grid {
        justify-content: center;
    }
    .single-post__grid::before {
        display: none;
    }

    .single-post__header {
        margin-bottom: 64px;
        --custom-theme-flex-span: var(--custom-theme-flex-inner-span);
    }
    .single-post__header img {
        margin-top: 48px;
    }

    .single-post__sidebar {
        --custom-theme-flex-span: var(--custom-theme-flex-inner-span);
    }
    .single-post__sidebar .block-profiles {
        margin-top: 0;
    }
    .single-post__anchor-nav__title,
    .single-post__anchor-nav {
        display: none;
    }
    .single-post__authors {
        margin-bottom: 48px;
    }
    .single-post__body {
        --custom-theme-flex-span: var(--custom-theme-flex-inner-span);
    }
}

@media screen and (max-width: 767px) {
    .single-post__header .block-h1 {
        font-size: 1.75rem;
        line-height: 1.1;
        margin-bottom: 24px;
    }
    .single-post__reading-time {
        margin-bottom: 0;
    }
}
