body.single-post {
    background: #f2f4f7;
    color: #101828;
}

.single-preview {
    --ink: #101828;
    --body: #475467;
    --muted: #667085;
    --line: #eaecf0;
    --soft: #f9fafb;
    --page: #f2f4f7;
    --input: #d0d5dd;
    --navy: #0c111d;
    max-width: 1216px;
    margin: 0 auto;
    padding: 32px 24px 80px;
    color: var(--ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 24px;
}

.single-sheet {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    padding: 40px 48px 56px;
}

.single-sheet > .single-layout { order: 2; }
.single-sheet > #comments { order: 3; }
.single-sheet > .article-nav-box { order: 4; }
.single-sheet > .user-card.author { order: 5; }
.single-sheet > .related,
.single-sheet > .posts-nav-box { order: 6; }

.single-sheet .article-nav-box {
    height: auto !important;
    margin: 48px 0 0;
}

.single-sheet .user-card.author {
    margin-top: 40px;
    padding: 8px 0 0;
    background: #fff;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.single-sheet .user-card.author .card-content,
.single-sheet .user-card.author .user-content {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    width: auto;
    margin: 0;
    padding: 0;
    background: #fff;
}

.single-sheet .user-card.author .card-content > div {
    width: auto;
}

.single-sheet .user-card.author .user-avatar {
    flex: 0 0 112px;
    width: 112px;
    margin: 0;
}

.single-sheet .user-card.author .user-avatar img,
.single-sheet .user-card.author .user-avatar .avatar-img {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
}

.single-sheet .user-card.author .user-info {
    min-width: 0;
    margin: 0;
    text-align: left;
}

.single-sheet .user-card.author .user-name,
.single-sheet .user-card.author .user-name a {
    color: #101828;
    font-size: 30px;
    line-height: 38px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.single-sheet .user-card.author .author-role {
    margin-top: 2px;
    color: #667085;
    font-size: 14px;
    line-height: 20px;
}

.single-sheet .user-card.author .user-desc {
    display: block;
    max-width: 640px;
    margin-top: 16px;
    color: #98a2b3;
    font-size: 16px;
    line-height: 24px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.single-sheet .user-card.author .author-contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 22px;
    margin-top: 16px;
}

.single-sheet .user-card.author .author-contacts a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f25c27;
    font-size: 15px;
    line-height: 22px;
    font-weight: 500;
}

.single-sheet .user-card.author .author-contacts a:hover { color: #d94814; }

.single-sheet .user-card.author .author-contacts svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex: none;
}

.single-article .article-title a,
.single-article .wp-posts-content a,
.single-sheet .crumbs a { color: inherit; text-decoration: none; }

.single-sheet .crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 32px;
    padding: 0;
    background: none;
    color: var(--muted);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    list-style: none;
}

.single-sheet .crumbs a:hover { color: var(--ink); }
.single-sheet .crumbs .sep { color: #d0d5dd; font-weight: 400; }
.single-sheet .crumbs .current {
    color: var(--body);
    max-width: 520px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.single-article .article-header { margin: 0; padding: 0; background: none; box-shadow: none; }
.single-article .article-title,
.single-article .article-title a {
    margin: 0;
    max-width: 820px;
    color: var(--ink);
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.single-article .dek {
    margin: 16px 0 0;
    max-width: 760px;
    color: var(--body);
    font-size: 18px;
    line-height: 28px;
}

.single-article .single-hero {
    margin: 32px 0 0;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 8;
    background: var(--soft);
}

.single-article .single-hero img,
.single-article .wp-posts-content figure img,
.single-article .wp-posts-content .wp-caption img,
.single-article .wp-posts-content p > img {
    width: 100%;
    max-width: 100%;
}

.single-article .single-hero img {
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.single-article .byline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
}

.single-article .byline .author,
.single-article .byline .user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin: 0;
}

.single-article .byline .user-action,
.single-article .byline .line-form-line,
.single-article .article-header .single-metabox { display: none; }

.single-article .byline .avatar-img,
.single-article .byline .avatar,
.single-article .byline .avatar-img img {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.single-article .byline .img-icon { display: none; }

.single-article .byline .user-right { margin-left: 0; }
.single-article .byline name,
.single-article .byline name a {
    display: block;
    color: var(--ink);
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.single-article .byline .muted-2-color {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 20px;
}

.single-article .share,
.single-article .share > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.single-article .share text { display: none; }
.single-article .share a,
.single-article .share .share-btn {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.single-article .share a:hover,
.single-article .share .share-btn:hover {
    background: none;
}

.single-article .share .share-btn icon {
    width: 36px;
    height: 36px;
    margin: 0;
    border-radius: 100%;
    font-size: 22px;
}

.single-article .share svg,
.single-article .share .icon {
    width: 22px;
    height: 22px;
    font-size: 22px;
}

.single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 64px;
    align-items: start;
    margin-top: 40px;
}

.single-layout.no-side { grid-template-columns: minmax(0, 1fr); }
.single-side { position: sticky; top: 24px; }

.single-side .subscribe,
.single-side .sub-form,
.single-side .zib-widget:has(.subscribe),
.single-side .zib-widget:has(.sub-form),
.single-side .widget-container:has(.subscribe),
.single-side .widget-container:has(.sub-form) { display: none !important; }

.single-article .wp-posts-content {
    color: var(--body);
    font-size: 16px;
    line-height: 28px;
}

.single-article .wp-posts-content > h1:before,
.single-article .wp-posts-content > h2:before,
.single-article .wp-posts-content > h3:before,
.single-article .wp-posts-content > h4:before {
    content: none;
    display: none;
}

.single-article .wp-posts-content p { margin: 0 0 20px; }
.single-article .wp-posts-content h2,
.single-article .wp-posts-content h3,
.single-article .wp-posts-content h4 {
    margin: 40px 0 16px;
    padding-bottom: 0;
    color: var(--ink);
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.02em;
    font-weight: 600;
    scroll-margin-top: 24px;
}

.single-article .wp-posts-content h3 { font-size: 20px; line-height: 30px; margin-top: 32px; }
.single-article .wp-posts-content h4 { font-size: 18px; line-height: 28px; margin-top: 28px; }
.single-article .wp-posts-content h2:first-child { margin-top: 0; }
.single-article .wp-posts-content ul,
.single-article .wp-posts-content ol { margin: 0 0 20px; padding: 0 0 0 22px; }
.single-article .wp-posts-content li { margin: 0 0 8px; }
.single-article .wp-posts-content li:last-child { margin-bottom: 0; }
.single-article .wp-posts-content blockquote {
    margin: 28px 0;
    padding: 4px 0 4px 20px;
    border: 0;
    border-left: 2px solid var(--ink);
    color: var(--ink);
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    background: none;
}

.single-article .wp-posts-content blockquote cite,
.single-article .wp-posts-content blockquote footer {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 20px;
    font-style: normal;
    font-weight: 400;
}

.single-article .wp-posts-content figure,
.single-article .wp-posts-content .wp-caption {
    margin: 28px 0;
    border-radius: 16px;
    overflow: hidden;
    background: var(--soft);
}

.single-article .wp-posts-content figure img,
.single-article .wp-posts-content .wp-caption img,
.single-article .wp-posts-content p > img {
    border-radius: 16px;
}

.single-side .posts-nav-box { margin-top: 0; }
.single-side .posts-nav-box .title-theme,
.single-side .posts-nav-box .box-body {
    margin: 0 0 16px;
    padding: 0;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    color: var(--ink);
}

.single-side .posts-nav-box .title-theme { padding-left: 0; }
.single-side .posts-nav-box .title-theme:before { display: none; }
.single-side .posts-nav-lists { max-height: none; padding: 0; }
.single-side .posts-nav-lists .bl {
    border-left: 1px solid var(--line);
    padding: 0;
}

.single-side .posts-nav-lists .bl::before,
.single-side .posts-nav-lists .bl::after,
.single-side .posts-nav-lists li::before { display: none !important; }
.single-side .posts-nav-lists li a {
    display: block;
    margin: 0 0 0 -1px;
    padding: 10px 0 10px 16px;
    border-radius: 0;
    border-left: 2px solid transparent;
    color: #667085;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    background: none;
}

.single-side .posts-nav-lists li a:hover { color: var(--ink); background: none; }
.single-side .posts-nav-lists li.active a {
    border-left-color: #1570ef;
    color: var(--ink);
    font-weight: 600;
    background: none;
}

.single-side .zib-widget,
.single-side .widget-container {
    background: transparent;
    box-shadow: none;
    border: 0;
    padding: 0;
}

.single-sheet #comments {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
    background: none;
    box-shadow: none;
}

.single-sheet #comments .title-theme {
    margin: 0 0 32px;
    padding: 0 0 0 0;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.single-sheet #comments .title-theme:before { display: none; }
.single-sheet #comments .title-theme small { color: var(--muted); font-weight: 500; font-size: 24px; }
.single-sheet #comments .main-bg,
.single-sheet #comments .theme-box,
.single-sheet #comments .box-body {
    background: transparent;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
}

.single-sheet .related { margin-top: 64px; }
.single-sheet .related .rel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}
.single-sheet .related .rel-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.02em;
    font-weight: 600;
}
.single-sheet .related .rel-nav { display: flex; gap: 12px; }
.single-sheet .related .rel-nav button {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: var(--body);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
.single-sheet .related .rel-nav button:hover:not(:disabled) { background: var(--soft); color: var(--ink); }
.single-sheet .related .rel-nav button:disabled { color: #d0d5dd; cursor: default; }
.single-sheet .related .rel-nav svg { width: 20px; height: 20px; }
.single-sheet .related .rel-viewport { overflow: hidden; }
.single-sheet .related .rel-track {
    display: flex;
    gap: 24px;
    transition: transform .35s ease;
}
.single-sheet .related .rel-card {
    flex: 0 0 calc((100% - 72px) / 3.2);
    min-width: 0;
    color: inherit;
    text-decoration: none;
}
.single-sheet .related .rel-card:hover { color: inherit; }
.single-sheet .related .rel-card .media {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    background: var(--soft);
}
.single-sheet .related .rel-card .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}
.single-sheet .related .rel-by {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 20px;
}
.single-sheet .related .rel-by .dot { margin: 0 6px; }
.single-sheet .related .rel-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}
.single-sheet .related .rel-title span:first-child {
    min-width: 0;
    color: var(--ink);
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.single-sheet .related .excerpt {
    margin: 4px 0 0;
    color: var(--body);
    font-size: 14px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.single-sheet .related .rel-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}
.single-sheet .related .rel-tag {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #344054;
    font-size: 12px;
    line-height: 18px;
    font-weight: 500;
}
.single-sheet .related .rel-date { color: var(--muted); font-size: 14px; line-height: 20px; }
.single-sheet .related .arrow {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f2f4f7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    transition: background-color .2s ease, color .2s ease;
}
.single-sheet .related .arrow svg { width: 20px; height: 20px; transform: rotate(-45deg); transition: transform .2s ease; }
.single-sheet .related .rel-card:hover .arrow { background: var(--navy); color: #fff; }
.single-sheet .related .rel-card:hover .arrow svg { transform: rotate(0deg); }
.single-sheet .related .view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    margin-top: 32px;
    padding: 0 16px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
.single-sheet .related .view-all:hover { background: var(--soft); color: var(--ink); }
.single-sheet .related .view-all svg { width: 20px; height: 20px; }

.single-article .separator,
.single-article .article-tags { color: var(--muted); }
.single-article .post-actions .action-share { display: none; }

@media (max-width: 960px) {
    .single-sheet { padding: 24px 20px 32px; }
    .single-layout { grid-template-columns: 1fr; gap: 32px; }
    .single-side { position: static; }
    .single-article .article-title,
    .single-article .article-title a { font-size: 30px; line-height: 38px; }
    .single-article .single-hero { aspect-ratio: 16 / 9; }
    .single-article .byline { align-items: flex-start; flex-direction: column; }
    .single-sheet .related .rel-card { flex-basis: calc((100% - 24px) / 1.2); }
    .single-sheet .user-card.author .card-content { gap: 16px; }
    .single-sheet .user-card.author .user-avatar,
    .single-sheet .user-card.author .user-avatar img,
    .single-sheet .user-card.author .user-avatar .avatar-img {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }
    .single-sheet .user-card.author .user-name,
    .single-sheet .user-card.author .user-name a { font-size: 24px; line-height: 32px; }
}

@media (max-width: 549px) {
    .single-side .posts-nav-box { display: none; }
}
