/* Global Reset for Box Sizing */
* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100vw;
    /* overflow-x: hidden;  Removing this to fix sticky positioning */
}

#c_static_001-17362471346730 .e_container-9 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

#c_static_001-17362471346730 .p_breadcrumb {
    padding: 0;
}

#c_static_001-17362471346730 .cbox-9-0 {
    flex: 1;
    min-width: 0;
}

.breadcrumb-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumb-share-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333333;
    margin: 0;
    white-space: nowrap;
}

.breadcrumb-share-title svg {
    width: 18px;
    height: 18px;
}

#c_static_001-1645265747009.article-page {
    background: #f7f7f7;
    padding: 40px 0 60px;
}

#c_static_001-1645265747009 .article-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

#c_static_001-1645265747009 .article-content {
    background: #ffffff;
    border-radius: 10px;
    padding: 40px 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: none;
    margin: 0;
}

#c_static_001-1645265747009 .article-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 96px;
    align-self: start;
    z-index: 100;
}

/* 修复 sticky 失效的问题 */
.main,
.wrapper,
#c_static_001-1645265747009 {
    overflow: visible !important;
}

#c_static_001-1645265747009 .article-sidebar-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 22px 18px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.04);
}

#c_static_001-1645265747009 .article-sidebar-card + .article-sidebar-card {
    margin-top: 18px;
}

#c_static_001-1645265747009 .article-sidebar-title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1a1a1a;
}

#c_static_001-1645265747009 .article-sidebar-desc {
    margin: 0 0 14px;
    color: #555555;
    font-size: 14px;
    line-height: 1.7;
}

#c_static_001-1645265747009 .article-sidebar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 42px;
    border-radius: 999px;
    text-decoration: none;
    background: var(--theme-color, #a72033);
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.02em;
}

#c_static_001-1645265747009 .article-sidebar-btn:hover {
    color: #ffffff;
    opacity: 0.92;
}

#c_static_001-1645265747009 .popular-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#c_static_001-1645265747009 .popular-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

#c_static_001-1645265747009 .popular-thumb {
    width: 78px;
    height: 58px;
    border-radius: 8px;
    overflow: hidden;
    background: #f2f2f2;
    flex: 0 0 auto;
}

#c_static_001-1645265747009 .popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#c_static_001-1645265747009 .popular-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#c_static_001-1645265747009 .popular-title {
    font-size: 14px;
    font-weight: 600;
    color: #222222;
    line-height: 1.4;
}

#c_static_001-1645265747009 .popular-item:hover .popular-title {
    color: var(--theme-color, #a72033);
}

#c_static_001-1645265747009 .popular-date {
    font-size: 12px;
    color: #999999;
}

#c_static_001-1645265747009 .article-header {
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 24px;
    padding-bottom: 16px;
}

#c_static_001-1645265747009 .article-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

#c_static_001-1645265747009 .article-category {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--theme-color, #a72033);
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

#c_static_001-1645265747009 .article-category a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fafafa;
    color: var(--theme-color, #a72033);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.12em;
}

#c_static_001-1645265747009 .article-category a:hover {
    border-color: var(--theme-color, #a72033);
    background: rgba(167, 32, 51, 0.06);
}

#c_static_001-1645265747009 .article-title {
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 12px;
    color: #1a1a1a;
}

#c_static_001-1645265747009 .article-meta {
    font-size: 13px;
    color: #777777;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 8px;
}

#c_static_001-1645265747009 .article-meta-item {
    display: inline-flex;
    align-items: center;
}

#c_static_001-1645265747009 .article-meta-item + .article-meta-item {
    position: relative;
    padding-left: 14px;
}

#c_static_001-1645265747009 .article-meta-item + .article-meta-item:before {
    content: '·';
    position: absolute;
    left: 4px;
    color: #bbbbbb;
}

#c_static_001-1645265747009 .article-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

#c_static_001-1645265747009 .article-share-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #999999;
    white-space: nowrap;
}

#c_static_001-1645265747009 .article-share .p_share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#c_static_001-1645265747009 .article-share .p_share a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    text-decoration: none;
    color: #333333;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

#c_static_001-1645265747009 .article-share .p_share a:hover {
    border-color: var(--theme-color, #a72033);
    color: var(--theme-color, #a72033);
    background: rgba(167, 32, 51, 0.06);
}

#c_static_001-1645265747009 .article-share .p_share svg {
    width: 16px;
    height: 16px;
}

#c_static_001-1645265747009 .article-summary {
    font-size: 16px;
    color: #444444;
    margin-bottom: 24px;
    border-left: 3px solid var(--theme-color, #a72033);
    padding-left: 16px;
}

#c_static_001-1645265747009 .article-body {
    font-size: 16px;
    color: #333333;
    line-height: 1.8;
}

#c_static_001-1645265747009 .article-body h2 {
    font-size: 24px;
    margin: 32px 0 12px;
    color: #1a1a1a;
}

#c_static_001-1645265747009 .article-body h3 {
    font-size: 20px;
    margin: 24px 0 10px;
    color: #1a1a1a;
}

#c_static_001-1645265747009 .article-body p {
    margin-bottom: 16px;
}

#c_static_001-1645265747009 .article-body ul,
#c_static_001-1645265747009 .article-body ol {
    margin: 0 0 16px 22px;
}

#c_static_001-1645265747009 .article-tags {
    margin-top: 28px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
}

#c_static_001-1645265747009 .article-tags-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #999999;
}

#c_static_001-1645265747009 .article-tag-value {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

#c_static_001-1645265747009 .article-tag-chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fafafa;
    color: #555555;
    font-size: 12px;
}

#c_static_001-1645265747009 .article-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eeeeee;
}

#c_static_001-1645265747009 .article-footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
}

#c_static_001-1645265747009 .article-footer-inner > div {
    flex: 1;
    min-width: 180px;
}

#c_static_001-1645265747009 .article-footer .e_text-48,
#c_static_001-1645265747009 .article-footer .e_text-51 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888888;
}

#c_static_001-1645265747009 .article-footer .e_text-46 a,
#c_static_001-1645265747009 .article-footer .e_text-50 a {
    display: inline-block;
    font-size: 15px;
    color: #222222;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 3px;
}

#c_static_001-1645265747009 .article-footer .e_text-46 a:hover,
#c_static_001-1645265747009 .article-footer .e_text-50 a:hover {
    color: var(--theme-color, #a72033);
    border-color: var(--theme-color, #a72033);
}

/* Related Articles Module Styling */
#c_static_001-16583709315231 {
    background: #ffffff;
    border-radius: 10px;
    padding: 32px; /* Match article-content padding on PC */
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    margin-top: 24px;
}

.article-related {
    background: transparent;
    padding: 0; /* Remove default padding as container has it now */
    width: 100%;
    box-sizing: border-box;
}

.article-related .p_list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.article-related .p_loopitem,
.article-related .e_container-79,
.article-related .cbox-79-0 {
    margin: 0 !important;
    padding: 0 !important;
}

.article-related .td-block-title-wrap {
    display: flex;
    align-items: center;
    margin: 0 0 18px;
}

.article-related .td-block-title-wrap::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #d9d9d9;
    margin-left: 12px;
}

.article-related .td-block-title {
    display: inline-flex;
    align-items: center;
    background: #222222;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    line-height: 1;
}

.article-related .td-pulldown-size {
    display: inline-block;
    line-height: 1;
}

.article-related .cbox-69 {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    width: 100%;
}

.article-related .e_image-80 {
    position: relative;
}

.article-related .e_image-80 a {
    display: block;
}

.article-related .e_image-80 img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.article-related .related-tag {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
}

.article-related .e_container-81 {
    padding: 10px 0 0;
}

.article-related .e_text-82 a {
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    text-decoration: none;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.article-related .e_text-82 a:hover {
    color: #d0191d;
}

@media (max-width: 992px) {
    /* 强力重置布局容器，消除 PC 端布局残留 */
    #c_static_001-1645265747009 .article-container,
    #c_static_001-1645265747009 .e_container-7,
    #c_static_001-1645265747009 .cbox-7-0,
    #c_static_001-1645265747009 .e_container-32,
    #c_static_001-1645265747009 .cbox-32-0 {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        float: none !important;
    }

    #c_static_001-1645265747009 .article-container {
        padding: 0 10px !important; /* 移动端保持极小边距，主要由 article-content 提供 padding */
    }

    #c_static_001-1645265747009 .article-sidebar {
        position: static;
        margin-top: 24px;
        width: 100% !important; /* 确保侧边栏也占满宽度 */
    }

    #c_static_001-1645265747009 .article-content {
        padding: 20px 15px;
        margin: 0 !important;
    }

    #c_static_001-1645265747009 .article-title {
        font-size: 22px;
        line-height: 1.4;
    }

    /* 确保分享行不溢出 */
    #c_static_001-1645265747009 .article-share-row,
    #c_static_001-1645265747009 .article-share-row .cbox-49-2.p_item {
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
    }

    .article-related .p_list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

#c_static_001-1645265747009 .td-social-sharing-button {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 12px;
    margin-top: 12px;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    color: #333333;
    cursor: pointer;
    user-select: none;
}

#c_static_001-1645265747009 .article-share-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    margin-left: 0.1rem;
}

#c_static_001-1645265747009 .article-share-row .td-social-sharing-button {
    margin-top: 0;
}

#c_static_001-1645265747009 .article-share-row .cbox-49-2.p_item {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 0;
}

#c_static_001-1645265747009 .td-social-sharing-button:hover {
    background: #f7f7f7;
}

#c_static_001-1645265747009 .td-social-but-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

#c_static_001-1645265747009 .td-social-but-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

#c_static_001-1645265747009 .td-social-but-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

#c_static_001-1645265747009 .td-social-but-caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-left: 10px;
    margin-left: 10px;
    border-left: 1px solid #e6e6e6;
}

#c_static_001-1645265747009 .td-social-but-caret svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

#c_static_001-1645265747009 .article-sidebar-sharebar {
    padding: 10px 0;
    margin-top: 15px;
    margin-bottom: 18px;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

#c_static_001-1645265747009 .article-sidebar-sharebar-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

#c_static_001-1645265747009 .article-sidebar-sharebar-inner .td-social-sharing-button {
    margin: 0;
}

#c_static_001-1645265747009 .article-sidebar-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

#c_static_001-1645265747009 .article-sidebar-social-item {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    color: #ffffff;
    text-decoration: none;
}

#c_static_001-1645265747009 .article-sidebar-social-item svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

#c_static_001-1645265747009 .article-sidebar-social-facebook {
    background: #3b5998;
}

#c_static_001-1645265747009 .article-sidebar-social-x {
    background: #1da1f2;
}

#c_static_001-1645265747009 .article-sidebar-social-pinterest {
    background: #bd081c;
}

#c_static_001-1645265747009 .article-sidebar-social-whatsapp {
    background: #4caf50;
}

@media (max-width: 768px) {
    /* Global Image Reset for Content */
    .article-body img,
    .article-body video,
    .article-body iframe {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Banner Adaptation */
    .subpage_ad .bgimg .pcitem {
        height: 200px !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .subpage_ad .p_info {
        top: 50%;
        transform: translateY(-50%);
    }

    /* Header/Breadcrumb */
    #c_static_001-17362471346730 .e_container-9 {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px;
    }

    .breadcrumb-share {
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
    }

    #c_static_001-1645265747009 .article-share-row {
        margin-left: 0;
    }

    #c_static_001-1645265747009.article-page {
        padding: 24px 0 40px;
    }

    #c_static_001-1645265747009 .article-content {
        padding: 20px 15px;
        border-radius: 0;
        box-shadow: none;
    }

    #c_static_001-1645265747009 .article-title {
        font-size: 22px;
        line-height: 1.4;
    }

    #c_static_001-1645265747009 .article-footer-inner {
        flex-direction: column;
    }

    /* Related Articles & Form */
    .article-related .p_list {
        grid-template-columns: 1fr !important;
    }

    .article-related .e_image-80 img {
        height: 200px;
    }

    .article-sidebar-card {
        padding: 20px 15px;
    }

    .e_form-1 .form-control {
        height: 40px;
        font-size: 14px;
    }

    /* Form Inputs */
    .e_form-1 .input-group {
        width: 100%;
    }
}

/* 提交按钮自定义样式 - Global Scope */
.e_form-1 .cbox-1 {
    text-align: center;
}

#c_static_001-1645265747009 .e_formBtn-6 {
    background-color: #d0191d !important;
    color: #ffffff !important;
    border: none !important;
    width: auto !important;
    min-width: 200px;
    display: inline-block;
    text-align: center;
    padding: 10px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s;
}

#c_static_001-1645265747009 .e_formBtn-6:hover {
    background-color: #a01215 !important;
    opacity: 0.9;
}
