/* 文章详情页样式 */
#page-articleRead .userHomeContent .segment,
#page-articleRead .userHomeContent .segment * {
    visibility: visible !important;
}
#page-articleRead .userHomeContent .segment {
    max-width: none !important;
    min-width: auto !important;
}
#page-articleRead .userHomeContent {
    left: 0 !important;
    padding-bottom: 20px;
}

/* 文章详情主容器 */
#page-articleRead .articleReadContainer {
    padding: 20px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* 左侧广告栏 */
#page-articleRead .articleSidebar {
    float: left;
    width: 232px;
    min-height: 500px;
    margin-right: 20px;
}

#page-articleRead .articleSidebar .sidebarTitle {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #f0a936;
    padding-bottom: 10px;
}

#page-articleRead .articleSidebar .sidebarContent {
    width: 100%;
    min-height: 600px;
    background: #f9f9f9;
    border-radius: 4px;
    padding: 10px;
    box-sizing: border-box;
}

#page-articleRead .articleSidebar .adPlaceholder {
    text-align: center;
    color: #999;
    padding: 40px 20px;
}

#page-articleRead .articleSidebar .adPlaceholder i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

/* 右侧文章内容 */
#page-articleRead .articleContent {
    overflow: hidden;
    min-height: 600px;
}

#page-articleRead .articleContent .articleThumbnail {
    margin-bottom: 20px;
    text-align: center;
}

#page-articleRead .articleContent .articleThumbnail img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 4px;
}

#page-articleRead .articleContent .articleTitle {
    font-size: 2.0em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
    padding-top: 10px;
}

#page-articleRead .articleContent .articleTitle i {
    margin-right: 10px;
    color: #f0a936;
}

#page-articleRead .articleContent .articleMeta {
    color: #848080;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

#page-articleRead .articleContent .articleMeta span {
    margin-right: 20px;
}

#page-articleRead .articleContent .articleMeta .articleSourceSpan {
    margin-left: 20px;
}

#page-articleRead .articleContent .articleBody {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    width: 900px;
    max-width: 100%;
    overflow: hidden;
}

#page-articleRead .articleContent .articleBody img {
    max-width: 100%;
    height: auto;
}

#page-articleRead .articleContent .articleActions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* 404 未找到 */
#page-articleRead .notFound {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

#page-articleRead .notFound i {
    font-size: 48px;
    margin-bottom: 20px;
}

/* 相关文章推荐 */
#page-articleRead .articleRelated {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

#page-articleRead .articleRelated .relatedTitle {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

#page-articleRead .articleRelated .relatedTitle i {
    color: #f0a936;
    margin-right: 8px;
}

#page-articleRead .articleRelated .relatedList {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#page-articleRead .articleRelated .relatedItem {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    border-left: 3px solid #f0a936;
    transition: all 0.3s ease;
    gap: 15px;
}

#page-articleRead .articleRelated .relatedItem:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

#page-articleRead .articleRelated .relatedItemLeft {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#page-articleRead .articleRelated .relatedItemLeft img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#page-articleRead .articleRelated .relatedItemPlaceholder {
    color: #999;
    font-size: 24px;
}

#page-articleRead .articleRelated .relatedItemRight {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#page-articleRead .articleRelated .relatedItemTitle {
    font-size: 1.1em;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#page-articleRead .articleRelated .relatedItemMeta {
    font-size: 13px;
    color: #848080;
}

#page-articleRead .articleRelated .relatedItemMeta span {
    margin-right: 15px;
}

#page-articleRead .articleRelated .relatedItemMeta .relatedItemSource {
    margin-left: 10px;
}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
    #page-articleRead .articleSidebar {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
        min-height: auto;
    }
    
    #page-articleRead .articleSidebar .sidebarContent {
        min-height: 200px;
    }
    
    #page-articleRead .articleContent .articleBody {
        width: 100%;
    }
}