/* ===== 全局重置（限定在 .web-news-detail 内） ===== */
.web-news-detail * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

.web-news-detail a {
    text-decoration: none;
    color: inherit;
}

.web-news-detail ul {
    list-style: none;
}

/* ===== 加载状态 ===== */
.web-news-detail .loading-text {
    text-align: center;
    padding: 50px 0;
    font-size: 16px;
    color: #999;
}

/* ===== 科室导航 ===== */
.web-news-detail .dept-nav {
    width: 100%;
    height: 80px;
    background: #fff;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 2%;
}

.web-news-detail .dept-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.web-news-detail .dept-item.active {
    background: #0072bc;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
}

.web-news-detail .dept-item.active .dept-icon {
    background: #fff;
    color: #0072bc;
}

.web-news-detail .dept-icon {
    width: 40px;
    height: 40px;
    background: #00a0e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

/* ===== 面包屑 ===== */
.web-news-detail .breadcrumb {
    width: 70%;
    margin: 15px auto;
    font-size: 12px;
    color: #666;
}

.web-news-detail .breadcrumb a {
    color: #0072bc;
}

/* ===== 主内容区 ===== */
.web-news-detail .main-container {
    width: 70%;
    margin: 0 auto;
    display: flex;
    gap: 30px;
}

.web-news-detail .content-left {
    flex: 3;
}

.web-news-detail .content-right {
    flex: 1;
}

/* ===== 广告横幅 ===== */
.web-news-detail .ad-banner {
    width: 100%;
    background: linear-gradient(90deg, #d9232e, #ff6a00);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    color: #fff;
    margin-bottom: 20px;
    padding: 1% 0;
}

.web-news-detail .ad-title {
    font-size: 16px;
    font-weight: bold;
}

.web-news-detail .ad-subtitle {
    font-size: 12px;
}

.web-news-detail .ad-tag {
    background: #fff;
    color: #d9232e;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 14px;
}

.web-news-detail .ad-price {
    font-size: 32px;
    font-weight: bold;
}

.web-news-detail .ad-price small {
    font-size: 14px;
}

.web-news-detail .ad-desc {
    font-size: 14px;
    margin-bottom: 10%;
}

.web-news-detail .ad-btn {
    background: #ffd700;
    color: #d9232e;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
}

.web-news-detail .ad-btn:hover {
    opacity: 0.85;
}

/* ===== 文章标题 ===== */
.web-news-detail .article-title {
    font-size: 22px;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dotted #ccc;
}

.web-news-detail .article-meta {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

.web-news-detail .article-meta a {
    color: #d9232e;
}

.web-news-detail .article-meta a:hover {
    text-decoration: underline;
}

/* ===== 文章内容 ===== */
.web-news-detail .article-content {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
    min-height: 425px;
}

.web-news-detail .article-content h3 {
    font-size: 16px;
    margin: 20px 0 10px;
    color: #333;
}

.web-news-detail .article-content p {
    margin-bottom: 15px;
    text-indent: 2em;
}

.web-news-detail .article-content p img {
    width: 800px;
    height: auto;
}

.web-news-detail .article-content .red-tip {
    color: #d9232e;
    font-weight: bold;
}

.web-news-detail .article-content img {
    max-width: 100%;
    height: auto;
}

/* ===== 文章按钮 ===== */
.web-news-detail .article-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.web-news-detail .article-btn {
    background: #b8860b;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.web-news-detail .article-btn.orange {
    background: #d2691e;
}

.web-news-detail .article-btn:hover {
    opacity: 0.85;
}

/* ===== 咨询模块 ===== */
.web-news-detail .consult-box {
    width: 100%;
    background: #7ccd7c;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 30px;
}

.web-news-detail .consult-title {
    text-align: center;
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
}

.web-news-detail .consult-subtitle {
    font-size: 12px;
}

.web-news-detail .consult-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.web-news-detail .consult-item {
    background: #fff;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    display: block;
}

.web-news-detail .consult-item.orange {
    background: #ee9a49;
    color: #fff;
}

.web-news-detail .consult-item.blue {
    background: #6495ed;
    color: #fff;
}

.web-news-detail .consult-item:hover {
    opacity: 0.85;
}

/* ===== 右侧边栏 ===== */
.web-news-detail .sidebar-module {
    margin-bottom: 20px;
}

.web-news-detail .sidebar-title {
    font-size: 16px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.web-news-detail .brand-img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
}

.web-news-detail .brand-tag {
    background: #0072bc;
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    text-align: center;
    border-radius: 4px;
}

/* ===== 搜索框 ===== */
.web-news-detail .search-box {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.web-news-detail .search-input {
    flex: 1;
    height: 28px;
    border: 1px solid #ddd;
    padding: 0 10px;
    border-radius: 4px;
    outline: none;
}

.web-news-detail .search-input:focus {
    border-color: #0072bc;
}

.web-news-detail .search-btn {
    background: #0072bc;
    color: #fff;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    border-radius: 4px;
}

.web-news-detail .search-btn:hover {
    opacity: 0.85;
}

/* ===== 医生卡片 ===== */
.web-news-detail .doctor-card {
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.web-news-detail .doctor-img {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.web-news-detail .doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.web-news-detail .doctor-info {
    padding: 10px;
    background: #696969;
    color: #fff;
}

.web-news-detail .doctor-name {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.web-news-detail .doctor-name div:first-child {
    font-size: 18px;
    font-weight: bold;
}

.web-news-detail .doctor-name div:last-child {
    font-size: 16px;
}

.web-news-detail .doctor-skill {
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
}

.web-news-detail .doctor-btns {
    display: flex;
    gap: 5px;
}

.web-news-detail .doctor-btn {
    flex: 1;
    padding: 5px;
    text-align: center;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
    display: block;
}

.web-news-detail .doctor-btn.blue {
    background: #0072bc;
    color: #fff;
}

.web-news-detail .doctor-btn.orange {
    background: #d2691e;
    color: #fff;
}

.web-news-detail .doctor-btn:hover {
    opacity: 0.85;
}

/* ===== 地图 ===== */
.web-news-detail .map {
    width: 100%;
    height: 400px;
}

/* ===== 服务按钮 ===== */
.web-news-detail .service-btns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    margin-bottom: 15px;
}

.web-news-detail .service-btn {
    background: #0072bc;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    display: block;
}

.web-news-detail .service-btn:hover {
    opacity: 0.85;
}

.web-news-detail .service-desc {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-bottom: 15px;
}

/* ===== 官方热线 ===== */
.web-news-detail .hotline-box {
    background: #fff;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.web-news-detail .hotline-label {
    font-size: 14px;
    color: #666;
}

.web-news-detail .hotline-text {
    font-size: 22px;
    font-weight: bold;
    color: #0072bc;
    display: block;
}

.web-news-detail .hotline-text:hover {
    text-decoration: underline;
}

/* ===== 底部按钮 ===== */
.web-news-detail .bottom-btns {
    display: flex;
    gap: 5px;
}

.web-news-detail .bottom-btn {
    flex: 1;
    padding: 8px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
}

.web-news-detail .bottom-btn.blue {
    background: #0072bc;
}

.web-news-detail .bottom-btn.orange {
    background: #d2691e;
}

.web-news-detail .bottom-btn:hover {
    opacity: 0.85;
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
    .web-news-detail .main-container {
        width: 90%;
        flex-direction: column;
    }
    .web-news-detail .breadcrumb {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .web-news-detail .dept-nav {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 0;
        gap: 15px;
    }
    .web-news-detail .dept-item {
        width: 30%;
    }
    .web-news-detail .ad-banner {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 10px;
    }
    .web-news-detail .consult-grid {
        grid-template-columns: 1fr;
    }
    .web-news-detail .article-btns {
        flex-direction: column;
        align-items: center;
    }
    .web-news-detail .service-btns {
        grid-template-columns: 1fr;
    }
}