/* =====================================================================
 * qianjin-extra.css —— 仿qianjin 站皮肤的主题补充样式：
 * 1) 自定义标签旧类名适配（hyfeat / hydocs / hymyzz / hypagebar）
 * 2) 模板新增区块（面包屑、列表侧栏、首页新闻列、地图页、预约引导等）
 * 配色沿用qianjin 站米黄/暗红体系（#edd7b6 / #ce0000 / #f8eede）。
 * =================================================================== */

/* ---------- 内页标题条面包屑 ---------- */
.gyban-c {
    color: #fff;
    margin-top: 14px;
    opacity: .85;
}
.gyban-c a {
    color: #fff;
    text-decoration: underline;
}

/* ---------- 首页名医专家（hyfeat 旧类名：a.swiper-slide/info/top/middle/bottom） ---------- */
.about-dsw .swiper-slide {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    color: #3c3c3c;
}
.about-dsw .info .top {
    height: 300px;
    overflow: hidden;
}
.about-dsw .info .top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.about-dsw .info .middle {
    padding: 15px 20px 5px;
}
.about-dsw .info .doctorName {
    font-size: 22px;
    font-weight: bold;
}
.about-dsw .info .position {
    font-size: 14px;
    color: #888;
    margin-top: 6px;
    line-height: 22px;
    min-height: 22px;
}
.about-dsw .info .line {
    width: 36px;
    height: 3px;
    background: #ce0000;
    margin: 12px 0;
}
.about-dsw .info .subject {
    font-size: 14px;
    color: #ce0000;
    line-height: 22px;
    min-height: 22px;
}
.about-dsw .info .bottom {
    padding: 10px 20px 18px;
    font-size: 14px;
    color: #666;
    line-height: 22px;
    height: 94px; /* 上下padding 28px + 3行×22px，保证省略号完整可见 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.about-dsw .ornament {
    display: none;
}

/* ---------- 医生卡网格（hydocs 旧类名：div.item/image/bg_tit/bg_show） ---------- */
.qj-doctor-grid {
    font-size: 0;
    text-align: center;
}
.qj-doctor-grid .item {
    float: none !important;
    display: inline-block !important;
    width: 284px !important;
    margin: 0 13px 26px;
    vertical-align: top;
    text-align: left;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
.qj-doctor-grid .image {
    width: 100% !important;
    height: 360px;
}
.qj-doctor-grid .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
/* 姓名条与 hover 遮罩配色统一为宏韵暗红 */
.qj-doctor-grid .bg_tit {
    background-color: #ce0000 !important;
}
.qj-doctor-grid .bg_show {
    background-color: rgba(206, 0, 0, .92) !important;
}
.qj-doctor-grid .bg_show p {
    color: #fff;
}

/* ---------- 分页条（hypagebar 输出 li，套原站 .page 风格） ---------- */
.page {
    text-align: center;
}
.page ul {
    display: inline-block;
    font-size: 0;
}
.page li {
    display: inline-block;
    list-style: none;
    margin: 0 4px;
}
.page li > a {
    font-size: 14px;
}
.page li.active > a {
    background: #ce0000;
    color: #fff;
}

/* ---------- 名医坐诊（hymyzz 旧类名：chooiser-list / ys-list） ---------- */
.qj-myzz-tabs {
    margin-top: 40px;
    overflow: hidden;
}
.chooise-left {
    float: left;
    font-size: 16px;
    line-height: 40px;
    color: #3c3c3c;
}
.chooiser-list {
    float: left;
    max-width: 1250px;
}
.chooiser-list li {
    float: left;
    list-style: none;
    margin: 0 6px 10px 0;
}
.chooiser-list li a {
    display: inline-block;
    padding: 0 20px;
    font-size: 14px;
    line-height: 35px;
    border-radius: 20px;
    color: #3c3c3c;
    background: #edd7b6;
}
.chooiser-list li a:hover,
.chooiser-list li a.active {
    background: #ce0000;
    color: #fff;
}
.content-nr {
    margin-top: 20px;
}
.content-nr .hide {
    display: none;
}
.ys-list {
    font-size: 0;
}
.ys-list li {
    float: left;
    width: 48%;
    margin: 0 1% 20px 0;
    list-style: none;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    overflow: hidden;
}
.ys-list li a {
    display: block;
    padding: 15px;
    color: #3c3c3c;
}
.ys-list-img {
    float: left;
    width: 90px;
    height: 110px;
    overflow: hidden;
    border-radius: 5px;
}
.ys-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.ys-list-right {
    float: left;
    width: calc(100% - 110px);
    margin-left: 20px;
}
.ys-list-name {
    font-size: 18px;
    font-weight: bold;
    line-height: 28px;
}
.ys-list-p {
    font-size: 14px;
    color: #888;
    line-height: 24px;
}
.ys-list-lind {
    width: 36px;
    height: 2px;
    background: #ce0000;
    margin: 8px 0;
}
.ys-list-txt {
    font-size: 14px;
    color: #666;
    line-height: 22px;
    height: 44px;
    overflow: hidden;
}
.txt-elise {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- 列表页两栏布局（主列表 + 右侧侧栏） ---------- */
.qj-flex {
    overflow: hidden;
    margin-top: 10px;
}
.qj-main {
    float: left;
    width: 72%;
}
.qj-side {
    float: right;
    width: 26%;
}
.qj-side-box {
    background: #f8eede;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}
.qj-side-tit {
    font-size: 18px;
    font-weight: bold;
    color: #3c3c3c;
    border-bottom: 1px solid #e2c291;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.qj-side-box a {
    display: block;
    font-size: 14px;
    line-height: 34px;
    color: #666;
}
.qj-side-box a:hover {
    color: #ce0000;
}
.qj-side-box p {
    font-size: 14px;
    line-height: 24px;
    color: #666;
    margin-bottom: 12px;
}
.qj-side-box a.inew-k {
    display: inline-block;
    width: auto;
    line-height: 40px;
    padding: 0 30px;
    text-align: center;
}

/* ---------- 首页新闻列标题 / 科室图标 / 底部引导 ---------- */
.qj-col-tit {
    font-weight: bold;
    color: #3c3c3c;
    margin-bottom: 8px;
}
.qj-col-more {
    color: #ce0000 !important;
}
.qj-dept-ico {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
}
.department-fa.qj-dept-card {
    font-size: 16px;
}
.qj-more {
    text-align: center;
    margin-top: 30px;
}
.qj-cta {
    padding: 40px 0;
    overflow: hidden;
}
.qj-cta-txt {
    float: left;
    line-height: 50px;
    color: #3c3c3c;
}
.qj-cta .inew-k {
    float: right;
    line-height: 50px;
}

/* ---------- 医生详情 / 地图页 ---------- */
.qj-book {
    text-align: center;
    margin: 30px 0;
}
.qj-book .inew-k {
    display: inline-block;
    line-height: 50px;
    padding: 0 50px;
}
.qj-video-grid {
    overflow: hidden;
}
.qj-video-grid video,
.qj-video-grid iframe {
    width: 100%;
    max-width: 800px;
    min-height: 400px;
    display: block;
    margin: 0 auto 20px;
}
.qj-map-block {
    margin-bottom: 40px;
}
.qj-map-block .gyinfo-b {
    text-align: left;
    margin-bottom: 10px;
}
.qj-map-block .department-g {
    padding: 0 0 10px;
}
.qj-map-block .notice-ul {
    margin-top: 0;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
    .qj-main,
    .qj-side {
        float: none;
        width: 100%;
    }
    .ys-list li {
        width: 98%;
    }
}

/* ---------- 页脚二维码：统一尺寸 + 悬停放大 ---------- */
.footer-cbj {
    display: flex;
    gap: 12px;
    overflow: visible;
}
.footer-rt {
    overflow: visible;
}
.footer-c {
    float: none;
    margin-left: 0;
    position: relative;
}
.footer-c:hover {
    z-index: 10;
}
/* 固定 112x112 方框，非正方形图（如小程序码）等比内嵌，两码视觉统一 */
.footer-c img {
    width: 112px;
    height: 112px;
    object-fit: contain;
    background: #fff;
    transition: transform .25s ease;
    transform-origin: 50% 100%;
}
.footer-c:hover img {
    transform: scale(1.8);
}
@media (max-width: 1000px) {
    .footer-cbj {
        justify-content: center;
    }
    .footer-c {
        display: block;
    }
}

/* ---------- 页脚二维码放大不被裁切 ---------- */
/* .footer 原 overflow:hidden 仅用于清浮动，换成伪元素清除，放开裁切 */
.footer {
    overflow: visible;
    position: relative;
    z-index: 5;
}
.footer::after {
    content: "";
    display: table;
    clear: both;
}
/* 放大时盖住页面上方内容 */
.footer-c:hover {
    z-index: 20;
}

/* ---------- 底部预约引导条按钮：文字居中 ---------- */
.inew-k {
    text-align: center;
}
