﻿@charset "utf-8";
/* CSS Document */
/* article-recommend.css 详情页底部相关推荐独立样式 */
@media (min-width:769px) {
    body.article-detail .detail-split-line {
        width: 100%;
        height: 1px;
        background: #eee;
        margin: 20px 0;
    }
    body.article-detail .detail-recommend-wrap {
        background: #fff;
        padding: 20px;
        border-radius: 6px;
        box-shadow: 0 1px 8px #eee;
        border: 1px solid #eee;
    }
    body.article-detail .detail-recommend-wrap .box-title-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 12px;
        border-bottom: 2px solid #ec1b24;
        margin-bottom: 15px;
    }
    body.article-detail .detail-two-col {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0 20px;
    }
    body.article-detail .detail-two-col .list-item {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }
    body.article-detail .detail-two-col .list-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
}
@media (max-width:768px) {
    body.article-detail .detail-split-line,
    body.article-detail .detail-recommend-wrap {
        display: none !important;
    }
}

/* 文章中部广告 */
.art-mid-ad-wrap {
    width: 100%;
    margin: 20px 0;
}
.art-mid-ad-box {
    width: 100%;
    margin: 0 0 15px 0;
    background: transparent;
    padding: 0;
    border-radius: 6px;
    box-shadow: none;
    border: none;
    overflow: hidden;
    display: flex;
    justify-content: center;
}
.art-mid-ad-box:last-child {
    margin-bottom: 0;
}
.art-mid-ad-box a {
    display: block;
}
.art-mid-ad-box img {
    max-width: 760px;
    width: 100%;
    height: auto;
    border: 0 !important;
    display: block;
}
/* 手机端适配：限制最大宽度，不会拉伸变形 */
@media (max-width:768px) {
    .art-mid-ad-box {
        padding: 0 10px;
        box-sizing: border-box;
    }
    .art-mid-ad-box img {
        max-width: 100%;
    }
    body.article-detail .article-img img {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        display: block !important;
    }
    body.article-detail .article-img {
        padding: 0 10px;
    }
}