/* =========================================================
   LETI CNBlogs UI v2.0
   GEO > SEO > UX
   轻量企业化 / 实体清晰 / 阅读友好
========================================================= */


/* =========================================================
   正文
========================================================= */

#cnblogs_post_body {
    font-size: 16px;
    line-height: 1.85;
    color: #1f2937;
    word-break: break-word;
}

#cnblogs_post_body p {
    margin: 0 0 1em;
}

#cnblogs_post_body h2 {
    margin-top: 2em;
    margin-bottom: 0.85em;
    padding-bottom: 8px;
    font-size: 1.45em;
    line-height: 1.45;
    color: #0f172a;
    border-bottom: 1px solid #e5e7eb;
}

#cnblogs_post_body h3 {
    margin-top: 1.6em;
    margin-bottom: 0.7em;
    font-size: 1.18em;
    color: #1e293b;
}

#cnblogs_post_body strong {
    color: #0f172a;
}

#cnblogs_post_body a {
    color: #2563eb;
    text-decoration: none;
}

#cnblogs_post_body a:hover {
    text-decoration: underline;
}

#cnblogs_post_body blockquote {
    margin: 1.2em 0;
    padding: 12px 18px;
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    color: #475569;
}

#cnblogs_post_body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.4em auto;
    border-radius: 8px;
}

#cnblogs_post_body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
}

#cnblogs_post_body th,
#cnblogs_post_body td {
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    vertical-align: top;
}

#cnblogs_post_body th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
}


/* =========================================================
   页首企业实体区
========================================================= */

#leti-blog-brandbar {
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 1200px;
    margin: 14px auto 20px;
    padding: 20px 24px;

    background: #f8fafc;
    border: 1px solid #dbe3ed;
    border-radius: 12px;

    color: #475569;
    line-height: 1.7;
}

#leti-blog-brandbar .leti-brand-title {
    margin-bottom: 4px;
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
}

#leti-blog-brandbar .leti-brand-desc {
    font-size: 14px;
    color: #475569;
}

#leti-blog-brandbar .leti-topic-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

#leti-blog-brandbar .leti-topic-chips span {
    display: inline-block;
    padding: 3px 9px;

    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;

    color: #1d4ed8;
    font-size: 12px;
    line-height: 1.6;
}

#leti-blog-brandbar .leti-brand-meta {
    margin-top: 12px;
    font-size: 13px;
    color: #64748b;
}

#leti-blog-brandbar .leti-brand-meta span {
    margin-right: 18px;
}

#leti-blog-brandbar .leti-brand-links {
    margin-top: 8px;
    font-size: 13px;
}

#leti-blog-brandbar .leti-brand-links a {
    display: inline-block;
    margin-right: 16px;
    color: #2563eb;
    text-decoration: none;
}

#leti-blog-brandbar .leti-brand-links a:hover {
    text-decoration: underline;
}


/* =========================================================
   侧栏公告
========================================================= */

#leti-sidebar-notice {
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.75;
    color: #475569;
}

#leti-sidebar-notice .leti-side-title {
    margin-bottom: 10px;
    padding-bottom: 7px;

    font-size: 15px;
    font-weight: 700;
    color: #0f172a;

    border-bottom: 1px solid #e5e7eb;
}

#leti-sidebar-notice p {
    margin: 0 0 10px;
}

#leti-sidebar-notice .leti-side-company {
    font-size: 14px;
    color: #0f172a;
}

#leti-sidebar-notice .leti-side-facts {
    margin: 12px 0;
    padding: 10px 12px;

    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

#leti-sidebar-notice .leti-side-facts p:last-child {
    margin-bottom: 0;
}

#leti-sidebar-notice .leti-side-links {
    margin: 12px 0;
}

#leti-sidebar-notice .leti-side-links a {
    display: block;
    margin: 5px 0;

    color: #2563eb;
    text-decoration: none;
}

#leti-sidebar-notice .leti-side-links a:hover {
    text-decoration: underline;
}

#leti-sidebar-notice .leti-side-note {
    margin-top: 12px;
    padding-top: 10px;

    border-top: 1px solid #e5e7eb;

    font-size: 12px;
    color: #64748b;
}


/* =========================================================
   页脚主体与边界
========================================================= */

#leti-blog-footer {
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 1200px;

    margin: 28px auto 10px;
    padding: 18px 22px;

    background: #f8fafc;
    border-top: 1px solid #dbe3ed;

    color: #64748b;
    font-size: 13px;
    line-height: 1.75;
}

#leti-blog-footer p {
    margin: 4px 0;
}

#leti-blog-footer .leti-footer-entity {
    color: #334155;
}

#leti-blog-footer .leti-footer-links {
    margin-top: 7px;
}

#leti-blog-footer a {
    color: #2563eb;
    text-decoration: none;
}

#leti-blog-footer a:hover {
    text-decoration: underline;
}


/* =========================================================
   移动端
========================================================= */

@media screen and (max-width: 767px) {

    #cnblogs_post_body {
        font-size: 15px;
        line-height: 1.8;
    }

    #cnblogs_post_body h2 {
        font-size: 1.32em;
    }

    #leti-blog-brandbar,
    #leti-blog-footer {
        width: calc(100% - 16px);
        margin-left: 8px;
        margin-right: 8px;
        padding: 15px 16px;
    }

    #leti-blog-brandbar .leti-brand-title {
        font-size: 17px;
    }

    #leti-blog-brandbar .leti-brand-meta span {
        display: block;
        margin: 2px 0;
    }

    #leti-blog-brandbar .leti-brand-links a {
        display: block;
        margin: 4px 0;
    }

    #leti-blog-brandbar .leti-topic-chips {
        gap: 5px;
    }

    #cnblogs_post_body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
