/* ========== Reset ========== */
    *, *::before, *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif;
      color: #333333;
      background: #f5f5f5;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

    /* ========== Container ========== */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0;
    }

    /* ============================================================
       §4.1 顶部 LOGO 行
       ============================================================ */
    .top-bar {
      background: #ffffff;
      height: 110px;
      display: flex;
      align-items: center;
    }

    .top-bar .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .top-bar__logo {
      display: flex;
      align-items: center;
      gap: 30px;
    }

    /* Logo 图片按原始像素显示，不缩放 */

    .top-bar__search {
      display: flex;
      align-items: center;
      gap: 0;
    }

    .top-bar__search-input {
      width: 220px;
      height: 32px;
      border: 1px solid #e5e5e5;
      border-radius: 4px 0 0 4px;
      padding: 0 10px;
      font-size: 14px;
      color: #333333;
      background: #f9f9f9;
      outline: none;
    }

    .top-bar__search-input::placeholder {
      color: #999999;
    }

    .top-bar__search-btn {
      height: 32px;
      cursor: pointer;
      border: none;
      background: transparent;
      display: inline-flex;
      align-items: center;
    }

    /* 搜索按钮图片按原始像素 82×32 显示 */

    /* ============================================================
       §4.2 蓝色导航条（双层颜色）
       ============================================================ */
    .nav-bar {
      display: flex;
      flex-direction: column;
      position: relative;
      z-index: 100;
    }

    /* 第一行：语言版本切换条 — 整行通体蓝色 #1D77B3 */
    .nav-bar__sub {
      background: #1D77B3;
      display: flex;
      align-items: center;
      height: 55px;
    }

    .nav-bar__sub .container {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      width: 100%;
    }

    .nav-bar__sub a {
      color: #ffffff;
      font-size: 18px;
      font-weight: normal;
      padding: 0 8px;
      line-height: 55px;
      white-space: nowrap;
      transition: color 0.2s;
    }

    .nav-bar__sub a.active {
      color: #cccccc;
    }

    .nav-bar__sub .sep {
      color: #ffffff;
      font-size: 18px;
      padding: 0 2px;
    }

    /* 第二行：主菜单条 — #40A6E3 */
    .nav-bar__main {
      background: #40A6E3;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 48px;
    }

    .nav-bar__menu {
      display: flex;
      gap: 0;
    }

   /* 竖线分隔符 — 白色 #ffffff 1px 贯穿整行 48px */
   .nav-bar__menu-item {
     position: relative;
     width: 150px;          /* 固定宽度 */
     flex: none;            /* 不被 flex 压缩或拉伸, 严格保持 150px */
     border-right: 1px solid #ffffff;
   }

   .nav-bar__menu-item:first-child {
     border-left: 1px solid #ffffff;
   }

   .nav-bar__menu-link {
     display: block;
     width: 100%;            /* 撑满 150px 的父项 */
     box-sizing: border-box;
     color: #ffffff;
     font-size: 18px;
     padding: 0;             /* 去掉左右 padding, 改用居中 */
     text-align: center;     /* 文字水平居中 */
     line-height: 48px;
     white-space: nowrap;    /* 不换行 */
     overflow: hidden;       /* 超出 150px 的部分裁掉, 不撑破布局 */
     text-overflow: ellipsis;/* 超出显示省略号(可选) */
     transition: background 0.2s;
      position: relative;
    }

    .nav-bar__menu-link:hover {
      background: rgba(255, 255, 255, 0.15);
    }

    /* 下拉菜单 — 与主菜单同色系 */
    .nav-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      background: #40A6E3;
      width: 150px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-4px);
      transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
      z-index: 200;
    }

    .nav-bar__menu-item:hover .nav-dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .nav-dropdown__link {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 150px;
      /*height: 48px;*/
      color: #ffffff;
      font-size: 18px;
      white-space: nowrap;
      border-bottom: 1px solid rgba(255, 255, 255, 0.3);
      transition: background 0.2s;
	  padding: 10px;
	  text-align: center;
	  line-height:150%;
    }

    .nav-dropdown__link:last-child {
      border-bottom: none;
    }

    .nav-dropdown__link:hover {
      background: #1D77B3;
    }

    /* ============================================================
       §4.3 大图轮播 Banner（响应式高度）
       ============================================================ */
    .banner {
      position: relative;
      width: 100%;
      /*aspect-ratio: 1400 / 400 */
      overflow: hidden;
      background: #eaf3fc;
    }

    .banner-slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 0.8s ease-in-out;
    }
	
	.banner-slide:first-child {
	  position: relative;   /* 第一张撑高度 */
	}

    .banner-slide.active {
      opacity: 1;
    }

    .banner-slide img {
      width: 100%;
      height: auto;
      display: block;
    }

    /* 圆点指示器 */
    .banner-dots {
      position: absolute;
      bottom: 15px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 10px;
    }

    .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255,255,255,0.5);
      cursor: pointer;
    }

    .dot.active {
      background: #ffffff;
    }

    /* ============================================================
       §4.4 院区切换 + 快捷入口（统一白色卡片）
       ============================================================ */
    .campus-card {
      background: #ffffff;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      padding: 20px;
      margin: 30px auto 0;
      box-sizing: border-box;
      max-width: 1200px;
    }

    .campus-tabs {
      margin-bottom: 20px;
    }

    .campus-tab {
      display: inline-block;
      width: 140px;
      height: 40px;
      border-radius: 999px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.2s, color 0.2s, border-color 0.2s;
      border: 1px solid #1D77B3;
      background: #ffffff;
      color: #1D77B3;
      line-height: 40px;
      text-align: center;
      font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif;
    }

    .campus-tab.active {
      background: #1D77B3;
      color: #ffffff;
      border-color: #1D77B3;
    }

    .campus-tab + .campus-tab {
      margin-left: 15px;
    }

    .quick-links {
      display: flex;
      gap: 0;
      justify-content: center;
    }

    .quick-link {
      display: block;
      overflow: hidden;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      margin-right: -2px;
    }

    .quick-link:last-child {
      margin-right: 0;
    }

    .quick-link img {
      display: block;
      height: 91px;
      width: auto;
    }

    .quick-link:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    /* ============================================================
       §4.5 医院概况 + 健康科普（左 700px / 右 500px）
       ============================================================ */
    .info-row {
      display: flex;
      gap: 20px;
      max-width: 1200px;
      margin: 30px auto;
    }

    .info-row .hospital-intro {
      flex: 0 0 700px;
      box-sizing: border-box;
    }

    .info-row .health-tips {
      flex: 0 0 480px;
      box-sizing: border-box;
    }

    .info-card {
      background: #ffffff;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      padding: 25px;
      box-sizing: border-box;
    }

    /* ==================== 统一区块标题 ==================== */
    .section-title {
      display: flex;
      align-items: center;
      padding-bottom: 10px;
      margin-bottom: 15px;
      position: relative;
    }

    .section-title .title-icon {
      /* 原始 40×40, 不写 width/height */
    }

    .section-title .title-text {
      display: flex;
      flex-direction: column;
      margin-left: 10px;
    }

    .section-title .title-text h3 {
      font-size: 18px;
      font-weight: bold;
      color: #333;
      margin: 0;
      line-height: 1.2;
    }

    .section-title .title-text .title-en {
      font-size: 12px;
      font-weight: bold;
      color: #999;
      margin: 2px 0 0 0;
      line-height: 1;
    }

    .section-title::after {
      content: '';
      position: absolute;
      left: 0px;
      right: 0px;
      bottom: 0;
      height: 1px;
      background: #1D77B3;
    }

    .section-title .more-link {
      margin-left: auto;
      color: #666;
      font-size: 14px;
      text-decoration: none;
      transition: color 0.2s;
    }

    .section-title .more-link:hover {
      color: #1D77B3;
    }

    /* 医院概况内部布局：左图右文 */
    .hospital-intro__body {
      display: flex;
      gap: 20px;
    }

    .hospital-intro__text {
      flex: 1;
      font-size: 14px;
      color: #333;
      line-height: 2.0;
      text-align: justify;
    }

    /* 健康科普列表 */
    .health-tips__list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .health-tips__list li {
      padding: 6px 0 9px 28px;
      border-bottom: 1px solid #cccccc;
      position: relative;
      font-size: 14px;
      line-height: 1.5;
      color: #333;
    }


    .health-tips__list li::before {
	  content: '';
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      width: 5px;
      height: 5px;
      background: #1D77B3;
      border-radius: 50%;
    }

    .health-tips__list a {
      color: #333;
      transition: color 0.2s;
    }

    .health-tips__list a:hover {
      color: #1D77B3;
    }

    /* ============================================================
       §4.6 专家团队（医生轮播）
       ============================================================ */
    .doctor-section {
      background: #ffffff;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      padding: 30px;
      margin: 30px auto;
      box-sizing: border-box;
      max-width: 1200px;
    }

    /* 专家团队使用统一 .section-title 样式 */

    /* 轮播区域：左箭头 | viewport | 右箭头 横向排列 */
    .doctor-stage {
      display: flex;
      align-items: center;
    }

    /* 箭头：按原始尺寸显示（15×100），自身居中对齐 */
    .doctor-stage .arrow-left,
    .doctor-stage .arrow-right {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 10px;
      cursor: pointer;
    }

    /* 视图窗口：overflow:hidden，flex:1 占满剩余空间 */
    .doctor-viewport {
      flex: 1;
      overflow: hidden;
      position: relative;
      isolation: isolate;
    }

    /* 医生轨道：JS 分屏控制，transition 由 JS 按需切换 */
    .doctor-track {
      display: flex;
    }

    /* 每一屏（5张），宽度由 JS 设置为 viewport 宽度 */
    .doctor-page {
      display: flex;
      gap: 20px;
      flex-shrink: 0;
      justify-content: center;
      overflow: hidden;
    }

    /* 医生卡片：固定 190px，图片+下方文字布局 */
.doctor-card {
    flex: 0 0 190px;
    display: flex;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
    /* 新增:卡片内的 <a> 撑满整张卡片高度,纵向排列 图片 + 文字区 */
    .doctor-card > a {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    /* 医生图片：固定尺寸 190×260 */
.doctor-card__img {
    display: block;
    width: 190px;
    height: 260px;
    flex-shrink: 0;
}

    /* 空占位卡片（凑满5的倍数用） */
    .doctor-card--placeholder {
      flex: 0 0 190px;
      visibility: hidden;
    }

    /* 文字区：图片下方 */
.doctor-card__label {
    flex: 1 1 auto;
    padding: 8px 4px 4px;
    background: #f0f6fc;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .doctor-card__title,
    .doctor-card__name {
      display: block;
      font-size: 15px;
      color: #333;
      text-decoration: none;
      transition: color 0.2s;
    }

    .doctor-card__title:hover,
    .doctor-card__name:hover {
      color: #1D77B3;
    }

    /* hover 效果 */
    .doctor-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    /* ==================== §4.7 科室介绍 ==================== */
    .dept-section {
      background: #D2E4F9;
      border-radius: 8px;
      padding: 30px;
      box-sizing: border-box;
      max-width: 1200px;
      margin: 30px auto 0;
    }

    /* Tab 切换容器 */
    .dept-tabs {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 900px;
      padding: 0 20px;
      margin-bottom: 20px;
      position: relative;
      left: 50px;
    }

    .dept-tab {
      display: inline-block;
      padding: 8px 0;
      font-size: 16px;
      color: #666;
      cursor: pointer;
      transition: color 0.3s, font-weight 0.3s;
      text-align: left;
    }

    .dept-tab.active {
      color: #0e4a99;
      font-weight: bold;
    }

    /* Tab 随动线：使用素材图片作为背景 */
    .dept-tab-slider {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 140px;
      height: 4px;
      background-image: url('../images/tab-underline.png');
      background-size: 100% 100%;
      transition: left 0.3s;
    }

    /* 白色卡片容器 */
    .dept-white-card {
      background: #ffffff;
      border-radius: 8px;
      padding: 25px 30px 10px 30px;
      margin-top: 20px;
      margin-bottom: 20px;
    }

    /* 科室胶囊按钮组 */
    .dept-pills {
      display: none;
      flex-wrap: wrap;
      gap: 20px;
      width: 100%;
      margin-bottom: 16px;
    }

    .dept-pills.active {
      display: flex;
    }

    .dept-pill {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center; /* 加回这行，处理多行文字逐行居中 */
        padding: 10px 20px;
        background-color: #1D77B3;
        color: #ffffff;
        font-size: 16px;
        border-radius: 20px;
        text-decoration: none;
        transition: background 0.2s;
        width: 255px;
        box-sizing: border-box;
    }

    .dept-pill:hover {
      background-color: #0e4a99;
    }

    /* 底部文字链接 */
    .dept-links {
      display: flex;
      gap: 24px;
      padding-top: 16px;
      border-top: 1px solid #a8c8e8;
    }

    .dept-link {
      font-size: 16px;
      color: #666;
      text-decoration: none;
      padding: 0px 50px;
    }

    .dept-link:hover {
      color: #1c6dd0;
      text-decoration: underline;
    }

    /* ==================== §4.8 页脚 ==================== */
    .footer-section {
      background: #1D77B3;
      color: #ffffff;
      font-size: 14px;
      margin-top: 30px;
    }

    .footer-main {
      display: flex;
      align-items: center;
      justify-content: space-between;
      max-width: 1200px;
      margin: 0 auto;
      padding: 30px;
      box-sizing: border-box;
    }

    .footer-logo {
      flex-shrink: 0;
    }

    .footer-logo img {
      height: 50px;
      width: auto;
    }

    .footer-info {
      text-align: right;
    }

    .footer-info p {
      font-size: 14px;
      line-height: 2;
      color: #ffffff;
      margin: 0;
    }

    .footer-icon {
      height: 16px;
      width: auto;
      vertical-align: middle;
      margin-right: 6px;
    }

    .footer-copyright {
      background: #1D77B3;
      text-align: center;
      padding: 12px 0;
      font-size: 14px;
      border-top: solid 1px #4991C2;
    }

    /* 响应式：小屏幕页脚 */
    /* 已移除 @media (max-width: 768px) — 手机按 1200px 等比缩放，无需响应式 */

    /* 二级页: 主菜单当前项高亮 */
    .nav-bar__menu-item--active > .nav-bar__menu-link {
      background: #1D77B3;
    }


    /* ============================================================
       ★ 公众宣传版 index_gz.html 专用样式（gz- 命名空间）
       ============================================================ */

    /* —— 导航菜单（复用 hz：每项 150px 居中、带下拉）—— */
    .nav-bar__menu--gz .nav-bar__menu-item--active > .nav-bar__menu-link {
      background: #1D77B3;
    }

    /* —— Banner 二维码浮层 —— */
    .banner-qr {
      position: absolute;
      left: 50%;
      bottom: 60px;
      transform: translateX(-50%);
      display: flex;
      gap: 30px;
      z-index: 5;
    }
    .banner-qr__item {
      width: 96px;
      text-align: center;
      color: #1D77B3;
    }
    .banner-qr__code {
      width: 96px;
      height: 96px;
      background: #ffffff;
      border-radius: 6px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.18);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 30px;
      color: #1D77B3;
    }
    .banner-qr__label {
      display: block;
      margin-top: 8px;
      font-size: 14px;
      color: #1D77B3;
      font-weight: bold;
      text-shadow: 0 1px 2px rgba(255,255,255,0.6);
    }

    /* —— 通用「标题 …… [日期]」列表 —— */
    .list-with-date {
      list-style: none;
      padding: 0;
      margin: 0;
    }
        .list-with-date li {
            display: flex;
            align-items: center;
            padding: 6px 0px 9px 28px;
            border-bottom: solid 1px #ccc;
            position: relative;
            font-size: 14px;
            line-height: 1.5;
            min-width: 0; 
            box-sizing: border-box;
        }
    .list-with-date li:last-child {  }
    .list-with-date li::before {
      content: '';
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      width: 5px;
      height: 5px;
      background: #1D77B3;
      border-radius: 50%;
    }
        .list-with-date .lwd-title {
            flex: 1;
            min-width: 0; /* 关键，允许收缩才会出省略号 */
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: #333;
        }

        .list-with-date .lwd-date {
            flex: none;
            margin-left: 12px;
            color: #999;
        }

    .list-with-date li:hover .lwd-title { color: #1D77B3; }
    .list-with-date .lwd-date {
      flex: none;
      margin-left: 12px;
      color: #999;
      font-size: 13px;
    }

    /* —— 新闻概况 + 院内公告（左 700 / 右 480） —— */
    .news-row {
      display: flex;
      gap: 20px;
      max-width: 1200px;
      margin: 30px auto;
    }
        .news-row .news-card {
            flex: 0 0 790px;
            box-sizing: border-box;
            min-width: 0;
        }
        .news-row .post-card {
            flex: 0 0 390px;
            box-sizing: border-box;
            min-width: 0;
        }
    .news-card__body { display: flex; gap: 20px; }
    .news-card__body .list-with-date { flex: 1; min-width: 0; }

    /* 图片 + 标题行的组合（图片原始尺寸不缩放，标题行淡色背景同整体底色 #f5f5f5） */
    .gz-figure {
      flex: none;
      display: block;
      border-radius: 4px;
      overflow: hidden;
    }
    .gz-figure img {
      display: block;
	  margin-top: 15px;
      /* 不设置 width/height，使用图片原始尺寸 */
    }
    .gz-figure__caption {
      display: block;
      background: #f5f5f5;
      color: #333;
      font-size: 14px;
      line-height: 1.4;
      padding: 8px 6px;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: color 0.2s;
    }
    .gz-figure:hover .gz-figure__caption { color: #1D77B3; }

    /* —— 横幅广告 —— */
    .gz-ad {
      display: block;
      max-width: 1200px;
      margin: 0 auto 30px;
    }
    .gz-ad img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 6px;
    }

    /* —— 党建/医疗/科研 三栏 —— */
    .three-col {
      display: flex;
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto 30px;
    }
    .three-col .col-card { flex: 1 1 0; box-sizing: border-box; min-width: 0; }

    /* —— 人才建设 + 卒中学院（左 / 右两栏） —— */
    .talent-row {
      display: flex;
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto 30px;
    }
        .talent-row .talent-card {
            flex: 0 0 390px;
            box-sizing: border-box;
            min-width: 0;
        }
        .talent-row .college-card {
            flex: 0 0 790px;
            box-sizing: border-box;
            min-width: 0;
        }

    /* 人才建设：背景图 + 文字叠加 */
    .talent-figure {
      position: relative;
      border-radius: 6px;
      background-image: url('../images/gz-talent-bg.jpg');
      background-size: cover;
      background-position: center;
      min-height: 210px;
      display: flex;
      align-items: flex-end;
    }
    .talent-figure__text {
      width: 100%;
      padding: 0px;
      font-size: 14px;
      line-height: 2.0;
      color: #333;
      text-align: justify;
	  transform: translateY(40px);
    }

.gz-figure__text {
    width: 100%;
    padding: 0px;
    font-size: 14px;
    line-height: 2.0;
    color: #333;
    text-align: justify;
}
    /* 卒中学院：左图右列表 */
    .college-card__body { display: flex; gap: 20px; }
    .college-card__body .list-with-date {  }
    .college-card__body .list-with-date li {  }

    /* 响应式：窄屏堆叠 */
    /* 已移除 @media (max-width: 1200px) — 手机按 1200px 等比缩放，无需响应式 */