@charset "utf-8";

/* 工业电商专题长文：正文复用 global.css 的 mk-article 布局。
   ig 阅读框架保留用于根目录 PALL 兼容页，专题表格与长文补充样式见文件末尾。 */
.ig-main {
    padding: 126px 0 72px;
}

.ig-wrap {
    width: calc(100% - 64px);
    max-width: 1160px;
    margin-inline: auto;
}

.ig-header {
    grid-area: header;
    min-width: 0;
    margin: 0 0 36px;
}

#marketing-main .ig-kicker {
    color: #1263ad;
    font-size: 13px;
    font-weight: 600;
}

#marketing-main .ig-header h1 {
    margin: 14px 0 20px;
    color: #12304e;
    font-size: 38px;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: -.6px;
}

.ig-header h1 span {
    font-size: 30px;
    font-weight: 600;
}

#marketing-main .ig-lead {
    max-width: 870px;
    color: #526579;
    font-size: 17px;
    line-height: 1.95;
}

.ig-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 22px;
    color: #6b7e92;
    font-size: 13px;
    line-height: 1.8;
}

.ig-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: start;
    grid-template-areas:
        "header toc"
        "body toc";
    column-gap: 64px;
    margin-top: 38px;
}

.ig-article {
    grid-area: body;
    min-width: 0;
}

#marketing-main .ig-article > :first-child {
    margin-top: 0;
}

.ig-article section {
    margin-top: 48px;
    scroll-margin-top: 122px;
}

#marketing-main .ig-article h2 {
    margin-bottom: 18px;
    color: #12304e;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.65;
}

#marketing-main .ig-article h3 {
    margin: 26px 0 10px;
    color: #244360;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.65;
}

#marketing-main .ig-article p {
    margin-top: 14px;
    color: #40546a;
    font-size: 16px;
    line-height: 2;
    overflow-wrap: break-word;
}

.ig-abstract {
    padding: 26px 28px;
    border-left: 3px solid #1263ad;
    background: #f5f8fc;
}

#marketing-main .ig-abstract h2 {
    margin-bottom: 10px;
    font-size: 21px;
}

#marketing-main .ig-article ul,
#marketing-main .ig-article ol {
    margin: 18px 0;
    padding-left: 24px;
}

.ig-article ul > li {
    list-style: disc;
}

.ig-article ol > li {
    list-style: decimal;
}

.ig-article li {
    padding-left: 3px;
    color: #40546a;
    font-size: 16px;
    line-height: 1.95;
}

.ig-article li + li {
    margin-top: 10px;
}

.ig-article strong {
    color: #244360;
    font-weight: 600;
}

#marketing-main .ig-callout {
    margin-top: 22px;
    padding: 18px 22px;
    border-left: 3px solid #aacbec;
    background: #f7fafc;
}

.ig-table-wrap {
    max-width: 100%;
    margin: 24px 0;
    overflow-x: auto;
    border: 1px solid #dce5ee;
    border-radius: 6px;
}

.ig-table-wrap table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    text-align: left;
}

.ig-table-wrap th,
.ig-table-wrap td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5ebf2;
    color: #40546a;
    font-size: 14px;
    line-height: 1.85;
    vertical-align: top;
}

.ig-table-wrap thead th {
    background: #f1f6fc;
    color: #12304e;
    font-weight: 600;
}

.ig-table-wrap tbody th {
    min-width: 110px;
    color: #244360;
    font-weight: 600;
}

.ig-table-wrap tr:last-child > * {
    border-bottom: 0;
}

.ig-toc {
    grid-area: toc;
    align-self: start;
    position: sticky;
    top: 122px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    padding-left: 24px;
    border-left: 1px solid #e2e9f1;
}

.ig-toc summary {
    color: #12304e;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.ig-toc nav {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

#marketing-main .ig-toc a {
    color: #62758a;
    font-size: 13px;
    line-height: 1.8;
}

#marketing-main .ig-toc a:hover,
#marketing-main .ig-related a:hover {
    color: #0869d0;
    text-decoration: underline;
}

.ig-next {
    padding: 28px;
    border: 1px solid #dce8f5;
    border-radius: 8px;
    background: #f5f9fe;
}

.ig-next .mk-button {
    margin-top: 22px;
}

.ig-related {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #dce8f5;
}

#marketing-main .ig-related a {
    color: #1263ad;
    font-size: 14px;
    line-height: 1.8;
}

.ig-source {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid #e4eaf1;
}

#marketing-main .ig-source p {
    color: #6b7e92;
    font-size: 13px;
    line-height: 1.9;
}

.ig-main :focus-visible {
    outline: 2px solid #1263ad;
    outline-offset: 4px;
}

@media (max-width: 1439px) {
    .ig-main {
        padding-top: 28px;
    }
}

@media (max-width: 1000px) {
    .ig-layout {
        grid-template-columns: minmax(0, 1fr) 190px;
        column-gap: 32px;
    }

    .ig-toc {
        padding-left: 18px;
    }
}

@media (max-width: 760px) {
    .ig-main {
        padding-top: 28px;
        padding-bottom: 48px;
    }

    .ig-wrap {
        width: calc(100% - 36px);
    }

    .ig-header {
        margin-bottom: 28px;
    }

    #marketing-main .ig-header h1 {
        font-size: 30px;
    }

    .ig-header h1 span {
        font-size: 24px;
    }

    #marketing-main .ig-lead {
        font-size: 16px;
    }

    .ig-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "header" "toc" "body";
        gap: 0;
        margin-top: 26px;
    }

    .ig-toc {
        position: static;
        max-height: none;
        margin-bottom: 28px;
        padding: 18px 20px;
        border: 1px solid #e2e9f1;
        border-radius: 6px;
    }

    .ig-toc nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 16px;
    }

    .ig-abstract,
    .ig-next {
        padding: 22px;
    }

    #marketing-main .ig-article h2 {
        font-size: 22px;
    }

    .ig-article section {
        margin-top: 38px;
    }
}

/* 工业电商指南：与其他营销文章一致的卡片、字体与侧栏。 */
.ig-guide-reader {
    min-width: 0;
}

#marketing-main .ig-guide-reader h1 span {
    font: inherit;
}

#marketing-main .ig-guide-reader h1 {
    text-wrap: balance;
}

#marketing-main .ig-guide-reader h3 {
    margin: 26px 0 10px;
    color: #123a63;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7;
}

#marketing-main .ig-guide-reader :is(section, .ig-abstract) p {
    color: #526579;
    font-size: 15px;
    line-height: 1.95;
    overflow-wrap: break-word;
}

#marketing-main .ig-guide-reader p + p {
    margin-top: 14px;
}

#marketing-main .ig-guide-reader ol {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding-left: 20px;
}

#marketing-main .ig-guide-reader ol > li {
    list-style: decimal;
}

#marketing-main .ig-guide-reader :is(ul, ol) + p {
    margin-top: 18px;
}

.ig-guide-reader .ig-abstract {
    padding: 24px;
    border-left: 0;
    border-radius: 8px;
    background: #f1f7fd;
}

#marketing-main .ig-guide-reader .ig-abstract h2 {
    margin-bottom: 16px;
    font-size: 22px;
}

.ig-guide-main .mk-article-side {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

@media (max-width: 480px) {
    .ig-guide-reader .ig-abstract {
        padding: 20px;
    }

    #marketing-main .ig-guide-reader .ig-abstract h2 {
        font-size: 20px;
    }
}
