#page.article-detail-shell {
    --article-accent: #ff7544;
    --article-accent-soft: #fff3ee;
    --article-text: #18212f;
    --article-body: #354052;
    --article-muted: #7a8494;
    --article-line: #e9edf2;
    --article-surface: #ffffff;
    --article-page: #f5f7f9;
    background: var(--article-page);
}

#page.article-detail-shell .article-detail-banner {
    margin-bottom: 48px;
}

#page.article-detail-shell .article-detail-page {
    padding-bottom: 72px;
}

#page.article-detail-shell .article-detail-breadcrumb {
    margin-bottom: 20px;
}

#page.article-detail-shell .article-detail-breadcrumb ul {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

#page.article-detail-shell .article-detail-breadcrumb li + li::before {
    content: "/";
    margin: 0 10px;
    color: #c3c9d1;
}

#page.article-detail-shell .article-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

html body #page.article-detail-shell .article-detail-page .article-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

#page.article-detail-shell .article-detail-main,
#page.article-detail-shell .article-hot {
    background: var(--article-surface);
    border: 1px solid rgba(24, 33, 47, 0.05);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(24, 33, 47, 0.05);
}

#page.article-detail-shell .article-detail-main {
    padding: 48px 56px 52px;
}

html body #page.article-detail-shell .article-detail-page .article-detail-main {
    padding: 48px 56px 52px;
}

#page.article-detail-shell .style3-article-detail-header {
    padding-bottom: 26px;
    border-bottom: 1px solid var(--article-line);
}

#page.article-detail-shell .style3-article-detail-header h1 {
    max-width: 880px;
    margin: 0 0 20px;
    color: var(--article-text);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
}

#page.article-detail-shell .style3-article-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    color: var(--article-muted);
    font-size: 14px;
    line-height: 1.6;
}

#page.article-detail-shell .style3-article-detail-meta__item + .style3-article-detail-meta__item {
    position: relative;
    padding-left: 18px;
}

#page.article-detail-shell .style3-article-detail-meta__item + .style3-article-detail-meta__item::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #b8c0ca;
    content: "";
    transform: translateY(-50%);
}

#page.article-detail-shell .article-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#page.article-detail-shell .article-detail-tag {
    padding: 3px 10px;
    border-radius: 4px;
    background: var(--article-accent-soft);
    color: var(--article-accent);
    font-size: 13px;
    line-height: 1.5;
}

#page.article-detail-shell .article-detail-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 38px 0 44px;
    color: var(--article-body);
    font-size: 17px;
    line-height: 2;
}

html body #page.article-detail-shell .article-detail-page .article-detail-content {
    max-width: 860px;
    padding: 38px 0 44px;
    font-size: 17px;
    line-height: 2;
}

#page.article-detail-shell .article-detail-content h2,
#page.article-detail-shell .article-detail-content h3,
#page.article-detail-shell .article-detail-content h4 {
    margin: 1.8em 0 0.7em;
    color: var(--article-text);
    font-weight: 700;
    line-height: 1.45;
}

#page.article-detail-shell .article-detail-content p,
#page.article-detail-shell .article-detail-content ul,
#page.article-detail-shell .article-detail-content ol,
#page.article-detail-shell .article-detail-content blockquote {
    margin: 0 0 1.15em;
}

#page.article-detail-shell .article-detail-content a {
    color: var(--article-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

#page.article-detail-shell .article-detail-content blockquote {
    padding: 14px 18px;
    border-left: 3px solid var(--article-accent);
    background: #fafbfc;
    color: #5d6878;
}

#page.article-detail-shell .article-detail-content img {
    margin: 28px auto;
    border-radius: 6px;
}

#page.article-detail-shell .article-sibling-nav {
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--article-line);
    border-bottom: 1px solid var(--article-line);
}

#page.article-detail-shell .article-sibling {
    display: grid;
    min-height: 84px;
    padding: 16px 18px;
    border: 1px solid var(--article-line);
    border-radius: 6px;
    background: #fafbfc;
    box-sizing: border-box;
}

#page.article-detail-shell .article-sibling > span:first-child {
    margin-bottom: 7px;
    color: var(--article-muted);
    font-size: 12px;
    line-height: 1.4;
}

#page.article-detail-shell .article-sibling a,
#page.article-detail-shell .article-sibling__empty {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    color: var(--article-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#page.article-detail-shell .article-sibling a:hover {
    color: var(--article-accent);
}

#page.article-detail-shell .article-sibling__empty {
    color: #a2aab5;
    font-weight: 400;
}

#page.article-detail-shell .related-article {
    padding-top: 38px;
}

#page.article-detail-shell .article-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

#page.article-detail-shell .article-section-heading h2 {
    margin: 0;
    color: var(--article-text);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

#page.article-detail-shell .article-section-heading > a {
    color: var(--article-muted);
    font-size: 14px;
}

#page.article-detail-shell .article-section-heading > a:hover {
    color: var(--article-accent);
}

#page.article-detail-shell .related-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
}

html body #page.article-detail-shell .article-detail-page .related-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#page.article-detail-shell .related-item {
    border-color: var(--article-line);
    border-radius: 6px;
    box-shadow: none;
}

#page.article-detail-shell .related-item > a {
    display: block;
    height: 100%;
}

#page.article-detail-shell .related-item .pic {
    height: 142px;
    margin: 0;
}

#page.article-detail-shell .related-item .pic img {
    border-radius: 0;
}

#page.article-detail-shell .related-item__body {
    padding: 14px;
}

#page.article-detail-shell .related-item .title {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 8px;
    padding: 0;
    overflow: hidden;
    color: var(--article-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#page.article-detail-shell .related-item__summary {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--article-muted);
    font-size: 13px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#page.article-detail-shell .article-hot {
    position: sticky;
    top: 116px;
    padding: 24px;
}

#page.article-detail-shell .article-hot-list {
    margin: 0;
    padding: 0;
    counter-reset: hot-article;
}

html body #page.article-detail-shell .article-detail-page .article-hot-list {
    display: block;
}

#page.article-detail-shell .article-hot .hot-item {
    counter-increment: hot-article;
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid var(--article-line);
}

#page.article-detail-shell .article-hot .hot-item:first-child {
    padding-top: 0;
}

#page.article-detail-shell .article-hot .hot-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

#page.article-detail-shell .article-hot .hot-item > a {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 58px;
}

html body #page.article-detail-shell .article-detail-page .article-hot .hot-item .pic {
    display: block;
    flex: 0 0 74px;
    width: 74px;
    height: 58px;
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #eef1f4;
}

html body #page.article-detail-shell .article-detail-page .article-hot .hot-item .pic img {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover;
    border-radius: 4px;
}

#page.article-detail-shell .hot-item__body {
    min-width: 0;
}

#page.article-detail-shell .article-hot .hot-item .title {
    display: -webkit-box;
    margin: 0 0 5px;
    overflow: hidden;
    color: var(--article-text);
    font-size: 14px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#page.article-detail-shell .article-hot .hot-item .hot-item__body > p:last-child {
    margin: 0;
    color: var(--article-muted);
    font-size: 12px;
    line-height: 1.4;
}

@media screen and (max-width: 1440px) {
    html.article-detail-html,
    body.article-detail-body {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    #page.article-detail-shell .article-detail-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    html body #page.article-detail-shell .article-detail-page .article-detail-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    #page.article-detail-shell .article-detail-main {
        padding-right: 42px;
        padding-left: 42px;
    }

    html body #page.article-detail-shell .article-detail-page .article-detail-main {
        padding-right: 42px;
        padding-left: 42px;
    }
}

@media screen and (max-width: 991px) {
    #page.article-detail-shell .article-detail-banner {
        min-height: 150px;
        margin-bottom: 18px;
        padding-top: 78px;
    }

    #page.article-detail-shell .article-detail-page {
        padding-bottom: 48px;
    }

    #page.article-detail-shell .article-detail-layout {
        grid-template-columns: 1fr;
    }

    html body #page.article-detail-shell .article-detail-page .article-detail-layout {
        grid-template-columns: 1fr;
    }

    #page.article-detail-shell .article-detail-main,
    #page.article-detail-shell .article-hot {
        padding: 28px;
    }

    html body #page.article-detail-shell .article-detail-page .article-detail-main,
    html body #page.article-detail-shell .article-detail-page .article-hot {
        padding: 28px;
    }

    html body #page.article-detail-shell .article-detail-page .related-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    html body #page.article-detail-shell .article-detail-page .article-hot-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 14px;
    }

    #page.article-detail-shell .article-hot {
        position: static;
    }
}

@media screen and (max-width: 576px) {
    html.article-detail-html,
    body.article-detail-body {
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;
        overflow-x: hidden;
    }

    #page.article-detail-shell {
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;
        padding-top: 135px !important;
        overflow-x: hidden;
        background: var(--article-page);
    }

    #page.article-detail-shell .article-detail-banner {
        display: none;
    }

    #page.article-detail-shell .article-detail-page {
        width: 100% !important;
        max-width: 100%;
        margin: 0;
        padding: 0 16px 32px;
        background: var(--article-surface);
        box-sizing: border-box;
    }

    #page.article-detail-shell .article-detail-breadcrumb {
        margin: 0;
        padding: 16px 0 14px;
        border-bottom: 1px solid var(--article-line);
    }

    #page.article-detail-shell .article-detail-breadcrumb ul {
        flex-wrap: nowrap;
        overflow: hidden;
        font-size: 13px;
        white-space: nowrap;
    }

    #page.article-detail-shell .article-detail-breadcrumb li {
        flex: 0 0 auto;
    }

    #page.article-detail-shell .article-detail-breadcrumb li[aria-current="page"] {
        overflow: hidden;
        color: var(--article-muted);
        text-overflow: ellipsis;
    }

    #page.article-detail-shell .article-detail-layout {
        display: block;
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    html body #page.article-detail-shell .article-detail-page .article-detail-layout {
        display: block;
        grid-template-columns: 1fr;
        width: 100%;
        min-width: 0;
    }

    #page.article-detail-shell .article-detail-main,
    #page.article-detail-shell .article-hot {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    html body #page.article-detail-shell .article-detail-page .article-detail-main,
    html body #page.article-detail-shell .article-detail-page .article-hot {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    #page.article-detail-shell .style3-article-detail-header {
        padding: 22px 0 18px;
    }

    #page.article-detail-shell .style3-article-detail-header h1 {
        margin-bottom: 14px;
        font-size: 24px;
        line-height: 1.45;
    }

    #page.article-detail-shell .style3-article-detail-meta {
        gap: 8px 14px;
        font-size: 12px;
    }

    #page.article-detail-shell .article-detail-tags {
        flex-basis: 100%;
        margin-top: 2px;
    }

    #page.article-detail-shell .article-detail-tag {
        padding: 3px 8px;
        font-size: 12px;
    }

    #page.article-detail-shell .article-detail-content {
        width: 100%;
        padding: 24px 0 28px;
        font-size: 16px;
        line-height: 1.95;
    }

    html body #page.article-detail-shell .article-detail-page .article-detail-content {
        width: 100%;
        max-width: 100%;
        padding: 24px 0 28px;
        font-size: 16px;
        line-height: 1.95;
    }

    #page.article-detail-shell .article-detail-content p,
    #page.article-detail-shell .article-detail-content ul,
    #page.article-detail-shell .article-detail-content ol,
    #page.article-detail-shell .article-detail-content blockquote {
        margin-bottom: 1.05em;
    }

    #page.article-detail-shell .article-detail-content h2,
    #page.article-detail-shell .article-detail-content h3,
    #page.article-detail-shell .article-detail-content h4 {
        margin: 1.7em 0 0.7em;
        font-size: 20px;
        line-height: 1.5;
    }

    #page.article-detail-shell .article-detail-content img {
        width: calc(100% + 32px) !important;
        max-width: calc(100% + 32px) !important;
        margin: 22px -16px;
        border-radius: 0;
    }

    #page.article-detail-shell .article-detail-content table {
        font-size: 14px;
    }

    #page.article-detail-shell .article-sibling-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 24px 0 0;
        border-top: 8px solid var(--article-page);
        border-bottom: 0;
    }

    #page.article-detail-shell .article-sibling {
        min-height: 72px;
        padding: 13px 15px;
        border-radius: 6px;
        background: #fbfcfd;
    }

    #page.article-detail-shell .related-article {
        width: 100%;
        margin-top: 28px;
        padding-top: 28px;
        border-top: 8px solid var(--article-page);
        overflow: visible;
    }

    #page.article-detail-shell .article-section-heading {
        margin: 0 0 16px;
    }

    #page.article-detail-shell .article-section-heading h2 {
        font-size: 19px;
        line-height: 1.45;
    }

    #page.article-detail-shell .article-section-heading > a {
        font-size: 13px;
    }

    #page.article-detail-shell .related-list {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 0;
        overflow: visible;
    }

    html body #page.article-detail-shell .article-detail-page .related-list {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    #page.article-detail-shell .related-item {
        width: 100%;
        min-width: 0;
        overflow: hidden;
        border: 1px solid var(--article-line);
        border-radius: 6px;
        background: var(--article-surface);
    }

    #page.article-detail-shell .related-item > a {
        display: grid;
        grid-template-columns: 108px minmax(0, 1fr);
        min-height: 92px;
    }

    #page.article-detail-shell .related-item .pic {
        height: 92px !important;
        min-height: 92px !important;
        margin: 0;
        border-radius: 0;
        background: #eef1f4;
    }

    html body #page.article-detail-shell .article-detail-page .related-item .pic img {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
        height: 100% !important;
        min-height: 0 !important;
        object-fit: cover;
        border-radius: 0;
    }

    #page.article-detail-shell .related-item__body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
        padding: 12px 13px;
    }

    #page.article-detail-shell .related-item .title {
        min-height: 0;
        margin-bottom: 5px;
        font-size: 15px;
        line-height: 1.45;
    }

    #page.article-detail-shell .related-item__summary {
        font-size: 12px;
        line-height: 1.55;
    }

    #page.article-detail-shell .article-hot {
        margin-top: 28px;
        padding-top: 28px;
        border-top: 8px solid var(--article-page);
    }

    #page.article-detail-shell .article-hot .article-section-heading {
        margin-right: 0;
    }

    #page.article-detail-shell .article-hot-list {
        display: block;
    }

    html body #page.article-detail-shell .article-detail-page .article-hot-list {
        display: block;
    }

    #page.article-detail-shell .article-hot .hot-item {
        padding: 14px 0;
    }

    #page.article-detail-shell .article-hot .hot-item > a {
        position: relative;
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 12px;
        min-height: 58px;
        padding-left: 30px;
    }

    #page.article-detail-shell .article-hot .hot-item > a::before {
        position: absolute;
        left: 0;
        color: #a5adb8;
        content: counter(hot-article, decimal-leading-zero);
        font-size: 13px;
        font-weight: 700;
        line-height: 1;
    }

    #page.article-detail-shell .article-hot .hot-item:nth-child(-n+3) > a::before {
        color: var(--article-accent);
    }

    html body #page.article-detail-shell .article-detail-page .article-hot .hot-item .pic {
        flex-basis: 76px;
        width: 76px;
        height: 58px;
    }

    #page.article-detail-shell .article-hot .hot-item .title {
        margin-bottom: 4px;
        font-size: 15px;
        line-height: 1.45;
    }
}

@media (prefers-reduced-motion: reduce) {
    #page.article-detail-shell *,
    #page.article-detail-shell *::before,
    #page.article-detail-shell *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
