/* ==========================================
   西安弘德康复医院官网 - 样式表 (React MUI 还原版)
   ========================================== */

:root {
    --primary: #1EB5C2;
    --primary-dark: #159aa6;
    --text-dark: #333;
    --text-gray: #666;
    --text-light: #999;
    --bg-light: #fafafa;
    --bg-white: #fff;
    --border-color: #e8e8e8;
    --divider-color: #c0c0c0;
    --container-max-width: 1200px;
    --md-breakpoint: 900px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* 容器 */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================
   导航栏 (Navbar)
   ========================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
}

/* 1. 顶部信息栏 */
.navbar-top {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 16px 0;
}

@media (max-width: 900px) {
    .navbar-top {
        padding: 8px 0;
    }
}

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

/* Logo 区域 */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* 蓝色圆形图标 */
.brand-icon {
    width: 130px;
    //height: 40px;
    //border-radius: 50%;
    //background: #1a6fa0;
    //border: 2px solid #e0e0e0;
    //color: #fff;
    //font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.brand-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    padding-top:20px;
}

.brand-text {
    color: #333;
    font-weight: 700;
    font-size: 22px;
}

.brand-subtext {
    color: #666;
    font-size: 10px;
    letter-spacing: 0.5px;
}

/* 右侧电话 */
.navbar-contact {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-label {
    color: #999;
    font-size: 13px;
    margin-bottom: 4px;
}

.contact-phone {
    color: var(--primary);
    font-weight: 700;
    font-size: 22px;
    font-family: Arial, sans-serif;
}

/* 2. 主导航栏 (绿色背景) */
.navbar-main {
    background: var(--primary);
    box-shadow: none;
    padding: 0;
    min-height: 56px;
}

@media (min-width: 900px) {
    .navbar-main {
        min-height: 64px;
    }
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    min-height: 56px;
}

@media (min-width: 900px) {
    .nav-menu {
        min-height: 64px;
    }
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item a {
    display: block;
    color: #fff;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    text-transform: none;
}

.nav-item a:hover {
    background: rgba(255,255,255,0.15);
}

/* 激活状态 */
.nav-item.active a {
    font-weight: 700;
    background: rgba(0,0,0,0.15);
}

/* 激活状态下划线 */
.nav-item.active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: #fff;
}

/* 汉堡菜单按钮 */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s;
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 16px; /* MUI mr: { xs: 1, sm: 2 } */
    width: 140px; /* Mobile small */
    background: var(--primary);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1200;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    border-top: none;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul li a {
    display: block;
    color: #fff;
    padding: 12px 8px;
    font-size: 15px;
    text-align: center;
    transition: background 0.3s;
}

.mobile-menu ul li a:hover,
.mobile-menu ul li.active a {
    background: rgba(0,0,0,0.15);
    font-weight: 700;
}

/* ==========================================
   Banner 轮播
   ========================================== */

.banner {
    position: relative;
    margin-top: 60px; /* 移动端避开导航 */
    height: 260px; /* MUI xs: 260 */
    overflow: hidden;
    background: linear-gradient(135deg, #1EB5C2 0%, #159aa6 50%, #0d7a85 100%);
}

/* 装饰元素 */
.banner::before {
    content: '';
    position: absolute;
    right: -5%;
    top: -20%;
    width: 40%;
    height: 140%;
    background: rgba(255,255,255,0.06);
    clip-path: ellipse(50% 60% at 70% 40%);
}

.banner::after {
    content: '';
    position: absolute;
    left: 10%;
    bottom: -10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

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

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    z-index: 1;
}

.banner-title {
    color: white;
    font-weight: 300;
    font-size: 2rem;
    letter-spacing: 4px;
    margin-bottom: 8px;
}

.banner-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    letter-spacing: 3px;
    font-weight: 300;
    margin-bottom: 16px;
}

/* 指示器 */
.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px; /* MUI gap: 1.5 -> 12px */
    z-index: 2;
}

.indicator {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.4);
    transition: all 0.4s ease;
    cursor: pointer;
}

.indicator.active {
    width: 32px; /* MUI 32 */
    background: white;
}

/* 左右箭头 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 2;
}

.banner-arrow:hover {
    background: rgba(255,255,255,0.25);
}

.banner-arrow-left { left: 16px; }
.banner-arrow-right { right: 16px; }

/* ==========================================
   首页主要内容 (医院概况 + 科室介绍)
   ========================================== */

.home-main {
    padding: 48px 0 64px;
    background: #fff;
}

.home-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 900px) {
    .home-grid {
        grid-template-columns: 7fr 5fr;
        gap: 48px;
    }
}

/* 标题行 */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #c0c0c0;
}

.section-title-inline {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-dark);
    margin: 0;
}

.btn-learn-more {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 8px 24px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 0;
    transition: background 0.3s;
    letter-spacing: 0.5px;
}

.btn-learn-more:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* 医院概况 */
.home-overview {
    padding-right: 0;
}

@media (min-width: 900px) {
    .home-overview {
        padding-right: 32px;
    }
}

.overview-heading {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.overview-accent-line {
    width: 45px;
    height: 3px;
    background: var(--primary);
    margin-bottom: 20px;
}

.overview-text {
    color: var(--text-gray);
    line-height: 2.2;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* 图片轮播 */
.overview-carousel {
    position: relative;
    background: #f8f8f8;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 280px;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 60px;
    background: rgba(0,0,0,0.25);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 2;
    text-decoration: none;
}

.carousel-arrow:hover {
    background: rgba(0,0,0,0.5);
    color: white;
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dots .dot.active {
    width: 28px;
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(30,181,194,0.4);
}

/* 科室介绍侧栏 */
.home-departments {
    background: #f5f5f5;
    padding: 24px;
    border: 1px solid #e8e8e8;
}

.dept-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.dept-sidebar-item {
    margin-bottom: 0;
}

.dept-sidebar-title {
    background: var(--primary);
    color: #fff;
    padding: 12px 0;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.dept-sidebar-desc {
    color: #888;
    line-height: 2;
    font-size: 0.9rem;
    margin-bottom: 16px;
    padding: 0 8px;
}

.dept-sidebar-link {
    display: block;
    text-align: center;
    color: #aaa;
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.dept-sidebar-link:hover {
    color: var(--primary);
}

/* ==========================================
   列表页通用样式
   ========================================== */

.list-section {
    padding: 48px 0 64px;
    background: var(--bg-light);
}

.list-page-title {
    margin-bottom: 48px;
}

.list-page-title-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 12px;
}

.list-page-title-text {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-right: 4px;
}

.list-page-title-accent {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
}

.list-page-title-divider {
    height: 1px;
    border-bottom: 1px dashed #d0d0d0;
}

/* ==========================================
   科室介绍页面
   ========================================== */

/* 顶部图标导航 */
.dept-icon-nav {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0px 0 32px;
}

@media (max-width: 600px) {
    .dept-icon-nav {
        gap: 4px;
    }
}

.dept-icon-item {
    flex: 1;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    min-width: 60px;
}

.dept-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    transition: all 0.3s;
    overflow: hidden;
}

@media (min-width: 900px) {
    .dept-icon-circle {
        width: 100px;
        height: 100px;
    }
}

.dept-icon-item:hover .dept-icon-circle {
    background: var(--primary);
    color: white;
}

.dept-icon-item:hover .dept-icon-name {
    color: var(--primary);
    font-weight: 600;
}

.dept-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dept-icon-placeholder {
    font-size: 1.5rem;
}

.dept-icon-name {
    display: block;
    font-size: 12px;
    color: #666;
    font-weight: 400;
    transition: all 0.3s;
}

/* 科室设置简介 */
.dept-intro {
    margin-bottom: 48px;
}

.dept-intro-title-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
}

.dept-intro-title-text {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-right: 4px;
}

.dept-intro-title-accent {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
}

.dept-intro-divider {
    height: 1px;
    border-bottom: 1px dashed #d0d0d0;
    margin: 8px 0 16px;
}

.dept-intro-text {
    color: var(--text-gray);
    line-height: 2;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* 科室详情列表 */
.dept-detail-list {
    margin-top: 0;
}

.dept-detail-item {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px dashed #e0e0e0;
    scroll-margin-top: 200px;
}

.dept-detail-item:last-child {
    border-bottom: none;
}

.dept-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 900px) {
    .dept-detail-grid {
        grid-template-columns: 5fr 7fr;
        gap: 32px;
        align-items: stretch;
    }
}

.dept-detail-image {
    background: #f5f5f5;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dept-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dept-detail-placeholder {
    font-size: 4rem;
    opacity: 0.3;
}

.dept-detail-content {
    min-height: 400px;
    max-height: 400px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.dept-detail-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    flex-shrink: 0;
}

.dept-detail-text {
    flex: 1;
    overflow-y: auto;
}

.dept-detail-text p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.9rem;
    margin-bottom: 4px;
    text-align: justify;
}

/* ==========================================
   专家列表
   ========================================== */

.experts-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 600px) {
    .experts-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .experts-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.expert-item {
    height: 100%;
}

.expert-card {
    display: block;
    height: 100%;
    text-align: center;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.expert-card:hover {
    box-shadow: 0 12px 32px rgba(30,181,194,0.15);
    transform: translateY(-6px);
    border-color: var(--primary);
}

.expert-avatar {
    background: #f0f8f8;
    padding: 40px 0 24px;
}

.expert-avatar-inner {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 3px solid var(--primary);
    overflow: hidden;
}

.expert-avatar-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-placeholder {
    font-size: 3rem;
}

.expert-info {
    padding: 24px 32px 32px;
}

.expert-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.expert-title {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 4px;
}

.expert-specialty {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.expert-experience {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 24px;
}

.expert-tags-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 8px;
    text-align: left;
}

.expert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.expert-tag {
    display: inline-block;
    background: #e8f5f5;
    color: var(--primary);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 0;
    height: 22px;
    line-height: 14px;
}

/* ==========================================
   新闻列表
   ========================================== */

.news-list-page {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 900px) {
    .news-list-page {
        grid-template-columns: 2fr 1fr;
        gap: 48px;
    }
}

.news-content {
    min-width: 0;
}

.news-card {
    margin-bottom: 32px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0;
    transition: all 0.3s;
}

.news-card:hover {
    box-shadow: 0 8px 24px rgba(30,181,194,0.12);
    border-color: var(--primary);
}

.news-card a {
    display: block;
    padding: 40px;
    text-decoration: none;
    color: inherit;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.news-tag {
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 0;
}

.news-time {
    font-size: 13px;
    color: #bbb;
}

.news-heading {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-summary {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.8;
    margin-bottom: 24px;
}

.read-more {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    display: inline-block;
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    padding: 0 12px;
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: 0;
    margin: 0 4px;
    transition: all 0.3s;
}

.pagination a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination .page-num-current {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* 新闻侧边栏 */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 32px;
}

.sidebar-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary);
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    border-bottom: 1px solid #f5f5f5;
}

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

.sidebar-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-link:hover {
    color: var(--primary);
}

.sidebar-link.active {
    color: var(--primary);
}

.sidebar-count {
    color: #ccc;
    font-weight: 400;
}

.sidebar-hotline {
    background: linear-gradient(135deg, #1EB5C2 0%, #0d7a85 100%);
    color: white;
    text-align: center;
    box-shadow: 0 8px 24px rgba(30,181,194,0.25);
    border: none;
}

.sidebar-hotline .sidebar-heading {
    color: white;
    border-bottom-color: rgba(255,255,255,0.3);
}

.hotline-number {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 24px 0;
}

.hotline-hint {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* ==========================================
   治疗环境页面
   ========================================== */

/* 住院环境 - 滚动区域 */
.env-scroll-section {
    position: relative;
    margin-bottom: 64px;
}

.env-scroll-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 16px 0;
    cursor: grab;
    user-select: none;
}

.env-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.env-scroll-card {
    flex: 0 0 auto;
    width: 200px;
    height: 150px;
    background: #f0f8f8;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 600px) {
    .env-scroll-card {
        width: 280px;
        height: 200px;
    }
}

@media (min-width: 900px) {
    .env-scroll-card {
        width: 340px;
        height: 240px;
    }
}

.env-scroll-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30,181,194,0.15);
}

.env-scroll-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.env-scroll-placeholder {
    font-size: 4rem;
    opacity: 0.3;
}

.env-scroll-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    color: white;
}

.env-scroll-title {
    font-size: 14px;
    font-weight: 500;
}

.env-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(30,181,194,0.8);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.3s;
}

.env-scroll-arrow:hover {
    background: var(--primary);
}

@media (min-width: 600px) {
    .env-scroll-arrow {
        display: flex;
    }
}

.env-scroll-prev {
    left: -18px;
}

.env-scroll-next {
    right: -18px;
}

/* 治疗仪器 */
.instruments-section {
    padding-bottom: 16px;
}

.instruments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
}

@media (min-width: 600px) {
    .instruments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .instruments-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.instrument-item {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px dashed #e0e0e0;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.instrument-image {
    width: 100%;
    height: 180px;
    background: #f8f8f8;
    border-radius: 4px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.instrument-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instrument-placeholder {
    font-size: 4rem;
    opacity: 0.3;
}

.instrument-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.instrument-divider {
    width: 30px;
    height: 1px;
    background: #ddd;
    margin: 0 auto 16px;
}

.instrument-desc {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 24px;
    padding: 0 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.instrument-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 32px;
    font-size: 12px;
    text-decoration: none;
    border-radius: 0;
    transition: background 0.3s;
}

.instrument-btn:hover {
    background: var(--primary-dark);
    color: white;
}

/* ==========================================
   联系我们页面
   ========================================== */

.contact-page {
    display: grid;
    gap: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 5fr 7fr;
        gap: 48px;
    }
}

.contact-sidebar,
.contact-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-card,
.contact-form-card,
.contact-map-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 48px;
}

.contact-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary);
}

.contact-map-card .contact-section-title {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 24px;
}

.contact-detail-item {
    margin-bottom: 32px;
}

.contact-detail-label {
    display: block;
    font-weight: 600;
    color: #999;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.contact-detail-value {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
    font-weight: 500;
}

.contact-detail-value.primary {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.contact-divider {
    height: 1px;
    background: #e8e8e8;
    margin: 40px 0;
}

.contact-qrcodes {
    display: flex;
    gap: 40px;
}

.qr-code-item {
    text-align: center;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: #f5f5f5;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 12px;
    color: #999;
}

.qr-code-item p {
    color: #666;
    font-size: 0.85rem;
}

.contact-form-desc {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-form .form-group {
    margin-bottom: 24px;
}

.contact-form .form-group label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    transition: border-color 0.3s;
    background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form textarea {
    resize: vertical;
}

.captcha-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.captcha-group input {
    flex: 1;
}

.captcha-group img {
    height: 40px;
    cursor: pointer;
}

.btn-submit {
    display: inline-block;
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 64px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

.map-placeholder {
    height: 340px;
    background: #f8f8f8;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ccc;
    overflow: hidden;
}

.map-icon {
    font-size: 3rem;
    opacity: 0.5;
    margin-bottom: 16px;
}

.map-text {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.map-address {
    color: #bbb;
    font-size: 0.8rem;
}

/* ==========================================
   通用区块
   ========================================== */

.section { padding: 64px 0; }
.section:nth-child(even) { background: var(--bg-light); }

.section-header { margin-bottom: 32px; }

.section-title {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 1.4rem;
    font-weight: 400;
    justify-content: center;
}

.title-light { color: var(--text-dark); }
.title-accent { font-weight: 600; color: var(--primary); }

.section-divider {
    height: 1px;
    border-bottom: 1px dashed var(--divider-color);
    margin-top: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-more { text-align: center; margin-top: 32px; }

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 8px 24px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: none;
}

.btn-primary { background: var(--primary); color: white; border: none; }
.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary { color: var(--primary); border: 1px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: white; }

/* ==========================================
   页脚 (Footer)
   ========================================== */

.footer { background: var(--primary); color: white; }
.footer-nav { background: rgba(0,0,0,0.1); padding: 16px 0; }
.footer-nav-content { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.footer-nav-label { color: rgba(255,255,255,0.7); font-size: 13px; margin-right: 12px; }
.footer-nav-link { color: white; font-size: 14px; }
.footer-nav-link:hover { opacity: 0.8; }

.footer-main { padding: 40px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-info p { font-size: 13px; margin-bottom: 8px; opacity: 0.9; }
.footer-phone-label { margin-top: 20px !important; }
.footer-phone { font-size: 24px !important; font-weight: 700; letter-spacing: 1px; }
.footer-qr { display: flex; gap: 20px; justify-content: flex-end; }
.qr-placeholder { width: 110px; height: 110px; background: white; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.qr-placeholder span { font-size: 12px; color: #999; }
.qr-item p { font-size: 12px; letter-spacing: 0.5px; }
.footer-divider { height: 1px; background: rgba(255,255,255,0.25); margin: 24px 0; }
.footer-copyright { text-align: center; font-size: 12px; opacity: 0.75; }

/* ==========================================
   响应式适配 (MUI Breakpoints)
   ========================================== */

/* 移动端 (≤899px) */
@media (max-width: 899px) {
    .navbar-main { display: none; }
    .brand-subtext { display: none; }
    .contact-info { display: none; }
    .hamburger-menu { display: flex; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-qr { justify-content: center; margin-top: 20px; }
}

/* 平板端 (≥600px) */
@media (min-width: 600px) {
    .banner { height: 320px; }
    .mobile-menu { width: 180px; }
}

/* 桌面端 (≥900px) */
@media (min-width: 900px) {
    .banner { margin-top: 150px; height: 380px; }
    .banner-title { font-size: 3.2rem; letter-spacing: 8px; }
    .banner-subtitle { font-size: 1.15rem; }
    .hamburger-menu { display: none; }
    .mobile-menu { display: none !important; }
}

/* ==========================================
   详情页通用样式
   ========================================== */

.detail-section {
    padding: 92px 0 64px;
}

@media (min-width: 900px) {
    .detail-section {
        margin-top: 180px;
        padding: 28px 0 64px;
    }
}

.detail-breadcrumb {
    font-size: 14px;
    color: #999;
    margin-bottom: 24px;
}

.detail-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.detail-breadcrumb a:hover {
    color: var(--primary);
}

/* 新闻详情 */
.news-detail {
    max-width: 800px;
    margin: 0 auto;
}

.detail-title-wrapper {
    text-align: center;
    margin-bottom: 32px;
}

.detail-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 20px;
}

.detail-meta {
    display: flex;
    justify-content: center;
    gap: 32px;
    font-size: 13px;
    color: var(--text-light);
}

.title-divider {
    margin-top: 24px;
    margin-bottom: 8px;
}

.divider-line {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
}

.divider-accent {
    width: 50px;
    height: 2px;
    background: var(--primary);
    margin: 8px auto 0;
}

.detail-body {
    padding: 0 0 0 0;
}

@media (min-width: 900px) {
    .detail-body {
        padding: 0 32px;
    }
}

.detail-body p {
    color: var(--text-gray);
    line-height: 2;
    font-size: 0.95rem;
    margin-bottom: 16px;
    text-align: justify;
    text-indent: 2em;
}

.detail-body p:first-child {
    text-indent: 0;
}

.detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 16px 0;
}

/* 上下篇导航 */
.detail-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    margin-top: 48px;
    border-top: 1px solid #e0e0e0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-icon {
    font-size: 12px;
}

/* 专家详情 */
.expert-detail-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px dashed #d0d0d0;
}

.expert-detail-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.expert-detail-title {
    font-size: 1rem;
    color: var(--primary);
}

.expert-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 900px) {
    .expert-detail-layout {
        grid-template-columns: 5fr 7fr;
        gap: 48px;
    }
}

.expert-detail-image {
    width: 100%;
    height: 420px;
    background: #f0f8f8;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (max-width: 600px) {
    .expert-detail-image {
        display: none;
    }
}

.expert-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.expert-image-placeholder {
    font-size: 6rem;
    opacity: 0.2;
}

.expert-detail-content p {
    color: var(--text-gray);
    line-height: 2;
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: justify;
}

/* 相关推荐 */
.related-section {
    margin-top: 80px;
}

.section-header-inline {
    display: flex;
    align-items: baseline;
    margin-bottom: 32px;
}

.section-title-light {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-right: 4px;
}

.section-title-accent {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    margin-right: 16px;
}

.section-title-divider {
    flex: 1;
    height: 1px;
    border-bottom: 1px dashed #d0d0d0;
}

.related-expert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 600px) {
    .related-expert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .related-expert-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.related-expert-card {
    text-align: center;
    padding: 24px 16px;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s;
}

.related-expert-card:hover {
    box-shadow: 0 8px 24px rgba(30,181,194,0.15);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.related-expert-card a {
    text-decoration: none;
    color: inherit;
}

.related-expert-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid var(--primary);
    overflow: hidden;
}

.related-expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.placeholder-icon {
    font-size: 2.5rem;
    opacity: 0.4;
}

.related-expert-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.related-expert-title {
    font-size: 0.85rem;
    color: var(--text-light);
}
