@charset "UTF-8";
/* ===== 泰康同济(武汉)医院 全站页头 ===== */
.ts-header,
.ts-header * { box-sizing: border-box; }
.ts-header {
    background: #fff;
    border-bottom: 1px solid #e6e8eb;
    font-family: "Microsoft YaHei", "微软雅黑", "Source Han Sans SC", "PingFang SC", Arial, sans-serif;
}
.ts-header .ts-wrap {
    width: 1200px;
    max-width: 96%;
    margin: 0 auto;
}
.ts-header a { text-decoration: none; }

/* 顶部工具条 */
.ts-header .ts-top {
    height: 36px;
    line-height: 36px;
    font-size: 13px;
    color: #666;
}
.ts-header .ts-top .ts-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.ts-header .ts-version {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ts-header .ts-version li { position: relative; }
.ts-header .ts-version li + li::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 12px;
    background: #d5d8dc;
    margin: 0 12px;
    vertical-align: -1px;
}
.ts-header .ts-version a { color: #666; }
.ts-header .ts-version li.on a { color: #1b1f24; font-weight: 700; }
.ts-header .ts-version a:hover { color: #b81d25; }

/* 搜索 */
.ts-header .ts-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.ts-header .ts-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 0;
    background: none;
    cursor: pointer;
    color: #1b1f24;
    padding: 0;
}
.ts-header .ts-search-btn svg { width: 18px; height: 18px; }
.ts-header .ts-search-box {
    display: none;
    position: absolute;
    right: 0;
    top: 34px;
    z-index: 99;
    background: #fff;
    border: 1px solid #dfe2e6;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
    padding: 8px;
}
.ts-header .ts-search-box.open { display: flex; }
.ts-header .ts-search-box input {
    width: 200px;
    height: 32px;
    border: 1px solid #dfe2e6;
    padding: 0 10px;
    font-size: 13px;
    outline: none;
}
.ts-header .ts-search-box button {
    height: 32px;
    padding: 0 16px;
    border: 0;
    background: #b81d25;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

/* 品牌区 */
.ts-header .ts-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0 16px;
}
.ts-header .ts-logo {
    display: inline-flex;
    align-items: center;
}
.ts-header .ts-logo-mark {
    width: 46px;
    height: 46px;
    margin-right: 12px;
    flex: 0 0 auto;
}
.ts-header .ts-logo-img {
    width: 400px;
    height: auto;
    display: block;
}
.ts-header .ts-logo-text {
    font-size: 30px;
    font-weight: 700;
    color: #1f2328;
    letter-spacing: 1px;
    line-height: 1;
}
.ts-header .ts-slogan {
    display: flex;
    align-items: center;
    margin-top: 12px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
}
.ts-header .ts-slogan span { margin-right: 26px; }
.ts-header .ts-slogan span:last-child { margin-right: 0; }
.ts-header .ts-slogan .c1 { color: #b81d25; }
.ts-header .ts-slogan .c2 { color: #8f1418; }

.ts-header .ts-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: right;
    font-size: 13px;
    color: #666;
    line-height: 1.9;
}
.ts-header .ts-contact .ts-hotline { margin: 0; font-size: 19.5px; }
.ts-header .ts-contact .ts-hotline em {
    font-style: normal;
    color: #1f2328;
    font-weight: 700;
}

/* 导航 */
.ts-header .ts-nav {
    float: none;
    margin: 0;
    padding: 0;
    width: 100%;
    background: #f4f5f6;
    border-top: 1px solid #eceef0;
}
.ts-header .ts-nav > ul {
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    min-height: 46px;
}
.ts-header .ts-nav > ul > li {
    position: relative;
    margin: 0;
    padding: 0;
    float: none;
    display: block;
    height: auto;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    list-style: none;
    background: none;
}
.ts-header .ts-nav > ul > li > a {
    display: block;
    padding: 0 17px;
    line-height: 46px;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}
.ts-header .ts-nav > ul > li:hover > a,
.ts-header .ts-nav > ul > li.selected > a {
    color: #b81d25;
    font-weight: 700;
}
.ts-header .ts-nav > ul > li:hover > a { background: #eaecee; }

/* 二级下拉 */
.ts-header .ts-nav .ts-sub {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 90;
    min-width: 148px;
    padding: 6px 0;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e6e8eb;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}
.ts-header .ts-nav > ul > li:hover .ts-sub { display: block; }
.ts-header .ts-nav .ts-sub li { margin: 0; padding: 0; float: none; }
.ts-header .ts-nav .ts-sub a {
    display: block;
    height: auto;
    margin: 0;
    padding: 9px 16px;
    font-size: 13px;
    color: #444;
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
    background: #fff;
    border: 0;
    border-radius: 0;
}
.ts-header .ts-nav .ts-sub a:hover { background: #fdf5f5; color: #b81d25; }

@media (max-width: 1220px) {
    .ts-header .ts-nav > ul > li > a { padding: 0 11px; font-size: 13px; }
    .ts-header .ts-logo-text { font-size: 24px; }
    .ts-header .ts-slogan { font-size: 14px; }
}

/* ===== 科室导航：多列下拉大面板 ===== */
.ts-header .ts-nav .ts-sub-mega {
    width: 760px;
    max-width: calc(100vw - 40px);
    padding: 12px 0;
    flex-wrap: wrap;
    align-content: flex-start;
}
.ts-header .ts-nav > ul > li:hover .ts-sub-mega { display: flex; }
.ts-header .ts-nav .ts-sub-mega li {
    width: 25%;
    margin: 0;
    padding: 0;
    float: none;
    border: 0;
    box-sizing: border-box;
}
.ts-header .ts-nav .ts-sub-mega li a {
    display: block;
    padding: 9px 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    text-align: center;
    white-space: normal;
    word-break: break-all;
    background: transparent;
    border: 0;
    border-radius: 0;
}
.ts-header .ts-nav .ts-sub-mega li a:hover {
    background: #fdf3f3;
    color: #b81d25;
}
@media (max-width: 1220px) {
    .ts-header .ts-nav .ts-sub-mega { width: 660px; }
    .ts-header .ts-nav .ts-sub-mega li a { font-size: 12px; padding: 8px 6px; }
}

/* ===== 主导航滚动置顶 ===== */
.ts-nav-ph { display: none; }
.ts-header .ts-nav.ts-nav-fixed {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 950;
    background: #f4f5f6;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}
.ts-header .ts-nav.ts-nav-fixed > ul { min-height: 46px; }

/* ===== 移动端导航折叠（<=900px） ===== */
.ts-nav-toggle{display:none;width:100%;padding:11px 16px;border:0;background:#b81d25;color:#fff;font-size:15px;line-height:1;text-align:left;cursor:pointer}
.ts-nav-toggle span{display:block;width:22px;height:2px;margin:4px 0;background:#fff;border-radius:2px;transition:transform .2s ease,opacity .2s ease}
.ts-nav-toggle.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.ts-nav-toggle.is-open span:nth-child(2){opacity:0}
.ts-nav-toggle.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
@media (max-width:900px){
	.ts-nav-toggle{display:block}
	.ts-header .ts-nav{display:none}
	.ts-header .ts-nav.ts-nav-open{display:block}
	.ts-header .ts-nav.ts-nav-open > ul{display:flex;flex-direction:column;align-items:stretch;min-height:0}
	.ts-header .ts-nav.ts-nav-open > ul > li{width:100%;border-bottom:1px solid #e2e5e8}
	.ts-header .ts-nav.ts-nav-open > ul > li > a{display:block;padding:12px 16px;white-space:normal;line-height:1.5}
	.ts-header .ts-nav.ts-nav-open .ts-sub{position:static;left:auto;top:auto;display:block;width:100%;padding:4px 0;border:0;box-shadow:none;background:#eceef0}
	.ts-header .ts-nav.ts-nav-open .ts-sub li{float:none;width:auto}
	.ts-header .ts-nav.ts-nav-open .ts-sub a{display:block;padding:9px 28px;white-space:normal;line-height:1.5}
	.ts-header .ts-nav.ts-nav-open .ts-nav-ph{display:none!important}
}
/* ===== 移动端品牌区（<=900px）：logo 与热线自适应宽高，消除页面横向溢出 ===== */
html, body { max-width: 100%; overflow-x: hidden; }
@media (max-width: 900px) {
    .ts-header .ts-brand { flex-wrap: wrap; align-items: center; padding: 10px 0 8px; row-gap: 6px; }
    .ts-header .ts-logo { max-width: 100%; }
    .ts-header .ts-logo-img { width: auto; max-width: 100%; height: 30px; }
    .ts-header .ts-logo-mark { width: 30px; height: 30px; margin-right: 8px; }
    .ts-header .ts-contact { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 8px; text-align: left; font-size: 12px; line-height: 1.5; }
    .ts-header .ts-contact .ts-hotline { font-size: 14px; }
    .ts-header .ts-contact p { margin: 0; }
}
@media (max-width: 640px) {
    .ts-header .ts-logo-img { height: 26px; }
    .ts-header .ts-search-box { right: 0; }
    .ts-header .ts-search-box input { width: 140px; }
    .ts-header .ts-top { height: 30px; line-height: 30px; }
}