﻿.news-detail {
    max-width:1200px;
    margin:30px auto;
    background: #fff;
    border-radius: 8px;
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif;
    color: #333;
}
/* 第一行：标题 — 18px 居中 上下 12px */
.news-detail__title {
    font-size: 18px;
    text-align: center;
    padding: 16px;
    font-weight: bold; /* 图里是加粗，按需去掉 */
    line-height: 1.6;
}
/* 第二行：来源条 — 灰底 右对齐 14px 距两边 20px */
.news-detail__meta {
    background: #efefef;
    text-align: right;
    font-size: 14px;
    padding: 12px 20px; /* 上下 8px 撑出条高，左右按你要求 20px */
    color: #666;
}
/* 第三行：正文 — 左对齐 默认 16px */
.news-detail__content {
    text-align: left;
    font-size: 16px;
    line-height: 2;
    padding: 24px 20px; /* 左右 20px 与上方灰条对齐，可调 */
}

    .news-detail__content p {
        margin: 0 0 16px;
    }

/* 第四行：关闭窗口 — 居中 */
.news-detail__footer {
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}

    .news-detail__footer a {
        color: #333;
        text-decoration: none;
    }


/* ============================================================
   专家介绍页 expert-*
   ============================================================ */
.expert-page {
    padding-bottom: 30px;
}

/* ② 头部 banner */
.expert-hero {
    max-width: 1400px; /* 外层最大宽 */
    margin: 0 auto;
    height: 400px; /* 背景大图高度 */
    overflow: hidden;
    background: #eaf3fc url('/static/tnsi/images/doctor_bananer_bj.jpg') no-repeat right center;
    background-size: cover;
}

.expert-hero__inner {
    max-width: 1200px; /* 中间内容 1200 */
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center; /* 照片在 400 高内垂直居中 */
    gap: 40px;
}
/* 医生照片：固定 270×360，不缩放 */
.expert-hero__photo {
    flex: 0 0 270px;
    width: 270px;
    height: 360px;
    object-fit: cover;
    display: block;
    background: #fff;
    border: 1px solid #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.expert-hero__info {
    flex: 1;
}

.expert-hero__name {
    font-size: 34px;
    font-weight: bold;
    color: #1D77B3;
    vertical-align: middle;
}

.expert-hero__rank {
    font-size: 16px;
    color: #555;
    margin-left: 16px;
    vertical-align: middle;
}

.expert-hero__subtitle {
    font-size: 15px;
    color: #333;
    margin-top: 16px;
}

.expert-hero__schedule {
    display: inline-block;
    margin-top: 24px;
    padding: 10px 28px;
    background: #40A6E3;
    color: #fff;
    border-radius: 20px;
}

.expert-hero__qr {
    margin-top: 24px;
}

    .expert-hero__qr img {
        width: 110px;
        height: 110px;
        display: block;
    }

.expert-hero__qr-cap {
    margin-top: 8px;
    font-size: 13px;
    color: #555;
}

/* ③④ 内容区块通用 */
.expert-block {
    max-width: 1200px;
    margin: 30px auto 0;
}

.expert-block__title {
    display: inline-block;
    padding: 9px 55px; /* 原来 9px 30px，左右各 +25px → 整体加长 50px */
    background: #1D77B3;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 999px; /* 原来 6px，改成全圆角，与出诊时间胶囊一致 */
}

.expert-block__body {
    margin-top: 12px;
    border: 1px solid #dbe6f0;
    border-radius: 8px;
    padding: 22px 30px;
}

.expert-block__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .expert-block__list li {
        font-size: 15px;
        color: #333;
        line-height: 2.4;
        padding-left: 12px;
    }

.expert-block__text {
    font-size: 15px;
    color: #333;
    line-height: 2;
    text-align: justify;
}

    .expert-block__text p {
        margin: 0 0 12px;
    }

        .expert-block__text p:last-child {
            margin-bottom: 0;
        }

/* 面包屑：白底，上下各留 10px */
.breadcrumb_nav {
    background: #fff;
    padding: 10px 0;
    margin:0 auto;
    max-width:1250px;
}

.expert-block_nav {
    background: #fff;
    margin: 0 auto;
}
/* 窄屏左右留白 —— 该页在弹窗 iframe 内按真实宽度渲染，viewport 被忽略，padding 直接生效 */
.top-bar .container,
.breadcrumb_nav,
.expert-hero__inner,
.expert-block {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}