/* 文章详情页样式文件 */

/* 面包屑导航样式 */
.breadcrumb {
    height: 50px; 
    font-size: 14px;
    color: #94948B;
}

.breadcrumb a:hover {
    color: #ff6800;
}

.breadcrumb .iconfont {
    font-size: 12px;
}

.breadcrumb .current {
    color: #ff6800;
}

/* 主体内容样式 */
.article-container {
    padding: 30px 0;
    background-color: #fff;
    margin-bottom: 30px;
}

.article-main {
    width: 850px; 
    margin-right: 50px;
}

.article-sidebar {
    width: 300px;   
}

/* 文章标题样式 */
.article-title {
    font-size: 28px;
    color: #151520;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E8E8E8;
}

/* 文章元信息样式 */
.article-meta {
    font-size: 14px;
    color: #94948B;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E8E8E8;
}

.article-meta .source,
.article-meta .date {
    margin-right: 30px;
}

.article-meta .view-count {
    display: inline-flex;
    align-items: center;
}

.article-meta .view-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../imgs/article/view-icon.png') no-repeat center;
    background-size: contain;
    margin-right: 5px;
}

/* 文章内容样式 */
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-content h2 {
    font-size: 22px;
    color: #151520;
    font-weight: 500;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF7F00;
}

.article-content h3 {
    font-size: 20px;
    color: #151520;
    font-weight: 500;
    margin: 25px 0 15px;
}

.article-content h4 {
    font-size: 18px;
    color: #151520;
    font-weight: 500;
    margin: 20px 0 10px;
}

/* 内容中的图片样式 */
.content-image {
    margin: 30px 0;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-caption {
    font-size: 14px;
    color: #94948B;
    margin-top: 10px;
    text-align: center;
}

/* 内容中的列表样式 */
.article-content ul,
.article-content ol {
    margin: 20px 0 20px 20px;
}

.article-content li {
    margin-bottom: 10px;
    text-align: justify;
}

.article-content strong {
    color: #151520;
    font-weight: 500;
}

/* 内容中的特殊框样式 */
.content-box {
    background-color: #FFF8F0;
    border-left: 4px solid #FF7F00;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 5px 5px 0;
}

.content-box h4 {
    color: #FF7F00;
    margin-top: 0;
}

.content-box ul {
    margin: 15px 0 0 20px;
}

.content-tips {
    background-color: #F0F8FF;
    border: 1px solid #D4E3F1;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

.content-tips h4 {
    color: #1E90FF;
    margin-top: 0;
}

/* 常见问题样式 */
.faq-item {
    margin: 20px 0;
    padding: 20px;
    background-color: #FAFAFA;
    border-radius: 5px;
}

.faq-item h4 {
    color: #FF7F00;
    margin-top: 0;
    margin-bottom: 10px;
}

/* 文章标签样式 */
.article-tags {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #E8E8E8;
    border-bottom: 1px solid #E8E8E8;
}

.article-tags span {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.article-tags a {
    display: inline-block;
    padding: 5px 15px;
    margin-right: 10px;
    margin-bottom: 10px;
    background-color: #F5F5F5;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s;
}

.article-tags a:hover {
    background-color: #FF7F00;
    color: #fff;
}

/* 上一篇/下一篇样式 */
.article-nav {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #E8E8E8;
    border-bottom: 1px solid #E8E8E8;
}

.prev-article,
.next-article {
    margin: 10px 0;
}

.article-nav span {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.article-nav a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.article-nav a:hover {
    color: #FF7F00;
}

/* 相关推荐样式 */
.related-articles {
    margin: 30px 0;
}

.related-articles h3 {
    font-size: 18px;
    color: #151520;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF7F00;
}

.related-articles ul {
    list-style: none;
}

.related-articles li {
    margin-bottom: 15px;
    padding-left: 15px;
    position: relative;
}

.related-articles li:before {
    content: "●";
    color: #FF7F00;
    position: absolute;
    left: 0;
    top: 0;
}

.related-articles a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.related-articles a:hover {
    color: #FF7F00;
}

/* 侧边栏样式 */
.sidebar-section {
    margin-bottom: 30px;
    background-color: #FAFAFA;
    padding: 20px;
    border-radius: 5px;
}

.sidebar-section h4 {
    font-size: 16px;
    color: #151520;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF7F00;
}

/* 热门文章样式 */
.hot-articles {
    list-style: none;
}

.hot-articles li {
    margin-bottom: 15px;
    position: relative;
}

.hot-articles a {
    display: block;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    padding-left: 30px;
}

.hot-articles a:hover {
    color: #FF7F00;
}

.hot-rank {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #FF7F00;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.hot-title {
    display: inline-block;
    line-height: 1.4;
}

/* 服务卡片样式 */
.service-cards {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.service-card {
    flex: 1;
    text-align: center;
    padding: 20px 10px;
    background-color: #FAFAFA;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card .iconfont {
    font-size: 40px;
    margin-bottom: 10px;
}

.service-card p {
    color: #333;
    font-size: 14px;
}

/* 安心服务样式 */
.service-info ul {
    list-style: none;
}

.service-info li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: #333;
}

.service-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../imgs/article/service-icon.png') no-repeat center;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* 联系电话样式 */
.contact-phone {
    background-color: #FF7F00;
    color: #fff;
    padding: 30px 20px;
    border-radius: 5px;
    text-align: center;
}

.phone-icon {
    width: 60px;
    height: 60px;
    background: url('../imgs/article/phone-icon.png') no-repeat center;
}

.phone-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.phone-number {
    font-size: 24px;
    font-weight: 600;
}

@media screen and (max-width: 992px) {
    .breadcrumb {padding: 10px;}
    .article-container{padding: 10px;}
    .article-main{width: 100%;margin-right: 0;}
    .article-sidebar{width: 100%;}
}

