   @layer utilities {
      .content-auto {
        content-visibility: auto;
      }
      .text-shadow {
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
      }
      .transition-custom {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .nav-item-active {
        position: relative;
      }
      .nav-item-active::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 50%;
        transform: translateX(-50%);
        width: 95%;
        height: 2px;
        background-color: #196648;
      }
      .card-hover {
        transition: all 0.3s ease;
      }
      .card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
      }
      .scale-in {
        transform: scale(0.95);
        opacity: 0;
        transition: transform 0.6s ease-out, opacity 0.6s ease-out;
      }
      .scale-in.visible {
        transform: scale(1);
        opacity: 1;
      }
      .slide-up {
        transform: translateY(30px);
        opacity: 0;
        transition: transform 0.6s ease-out, opacity 0.6s ease-out;
      }
      .slide-up.visible {
        transform: translateY(0);
        opacity: 1;
      }
      .slide-right {
        transform: translateX(-30px);
        opacity: 0;
        transition: transform 0.6s ease-out, opacity 0.6s ease-out;
      }
      .slide-right.visible {
        transform: translateX(0);
        opacity: 1;
      }
      .slide-left {
        transform: translateX(30px);
        opacity: 0;
        transition: transform 0.6s ease-out, opacity 0.6s ease-out;
      }
      .slide-left.visible {
        transform: translateX(0);
        opacity: 1;
      }
      .rotate-in {
        transform: rotate(-5deg) scale(0.9);
        opacity: 0;
        transition: transform 0.8s ease-out, opacity 0.8s ease-out;
      }
      .rotate-in.visible {
        transform: rotate(0) scale(1);
        opacity: 1;
      }
      .pulse-in {
        opacity: 0;
        animation: pulse 1.2s ease-out forwards;
      }
      @keyframes pulse {
        0% { opacity: 0; transform: scale(0.8); }
        50% { opacity: 0.8; transform: scale(1.05); }
        100% { opacity: 1; transform: scale(1); }
      }
      .news-filter-active {
        background-color: #196648;
        color: white;
      }
      
      /* 触摸反馈 */
      .touch-feedback:active {
        transform: scale(0.98);
        opacity: 0.9;
      }
      
      /* 平滑滚动 */
      html {
        scroll-behavior: smooth;
        scroll-padding-top: 100px;
      }
      
      /* 优化焦点状态 */
      *:focus-visible {
        outline: 2px solid #196648;
        outline-offset: 2px;
      }
      
      /* 性能优化 */
      .will-change-transform {
        will-change: transform;
      }
      
      /* 加载优化 */
      .lazy-load {
        opacity: 0;
        transition: opacity 0.5s ease;
      }
      .lazy-load.loaded {
        opacity: 1;
      }
    }
    
    /* 桌面端导航排版样式 */
    @media (min-width: 1024px) {
      .header-container {
        display: flex;
        flex-direction: column;
      }
      
      /* 顶部栏样式 - 不固定，随页面滚动 */
      .top-bar {
        background-color: #196648; /* 主色调背景 */
        padding: 0.5rem 0;
        color: white; /* 字体白色 */
      }
      
      .top-bar-content {
        display: flex;
        justify-content: space-between; /* 两端对齐 */
        align-items: center;
        gap: 2rem;
      }
      
      .welcome-message {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 500;
      }
      
      .contact-info {
        display: flex;
        align-items: center;
        gap: 1.5rem;
      }
      
      .contact-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: white; /* 联系信息白色 */
        font-size: 0.875rem;
      }
      
      .contact-item i {
        color: white; /* 图标白色 */
      }
      
      /* 主导航栏固定在顶部 */
      .main-nav-container {
        padding: 1rem 0;
        background-color: white; /* 主菜单白色背景 */
        position: sticky;
        top: 0;
        z-index: 50;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      }
      
      .main-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      
      .desktop-nav {
        display: flex;
        gap: 1.8rem;
        margin: 0 auto;
      }
    /* 1440样式优化 */
    @media (max-width: 1440px) {
            .desktop-nav {
        gap: 1.0rem;
      }
    }
      .desktop-nav-items {
        position: relative;
      }
      
      .desktop-nav-items a {
        font-size: 1rem;
        font-weight: 500;
        color: #334155;
        padding: 0.5rem 0;
        display: inline-block;
      }
      
      .desktop-nav-items a:hover {
        color: #196648;
      }
      
      .search-container {
        width: 180px;
      }
      
      /* 下拉菜单样式 */
      .dropdown-menu {
        display: none; /* 默认隐藏 */
        margin-top: 0.75rem;
        border-radius: 6px;
        padding: 0.5rem 0;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
        transform-origin: top center;
        transform: scaleY(0.9);
        opacity: 0;
        transition: all 0.2s ease-out;
        pointer-events: none;
      }
      
      .dropdown:hover .dropdown-menu {
        display: block; /* 悬停时显示 */
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
      }
      
      .dropdown-menu a {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        font-weight: 400;
      }
      
      /* 语言切换白色字体 */
      .lang-switch {
        color: white;
        display: flex;
        align-items: center;
        gap: 0.75rem;
      }
      
      .lang-switch a {
        color: white;
        text-decoration: none;
        padding: 0 4px;
        font-size: 14px;
        transition: color 0.2s ease;
      }
      
      .lang-switch a:hover, .lang-switch a.active {
        color: rgba(255, 255, 255, 0.8);
      }
    }
       /* 移动端样式优化 */
    @media (max-width: 1023px) {
      .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 5px 0px 5px 0px;
      }
      
      .logo-mobile {
        flex: 1;
      }
      
      .mobile-menu-btn {
        flex-shrink: 0;
      }
      
      .main-nav-container {
        position: sticky;
        top: 0;
        z-index: 50;
        background-color: white;
    }
      
      .search-box {
        width: 8rem !important;
      }
      .search-box input{
        width: 8rem!important;
      }
      /* 移动端触摸区域优化 */
      .mobile-dropdown-menu a {
        padding: 12px 0;
      }
      .banner-arrow {
        width: 48px;
        height: 48px;
      }
      
      /* 移动端菜单优化 */
      #mobile-menu {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
      }
    }
      /* 修复导航栏换行问题 */
  @media (max-width: 1280px) {
     /* 减小搜索框宽度 */
    .search-box {
      width: 8rem !important;
    }
    .search-box input{
     width: 8rem!important;
    }

  }

    .carousel {
      overflow: hidden;
      position: relative;
    }
    .carousel-inner {
      display: flex;
      transition: transform 0.5s ease-in-out;
    }
    .carousel-item {
      min-width: 100%;
      position: relative;
    }
    .fade-in {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }
    
    /* 下拉菜单基础样式 */
    .dropdown {
      position: relative;
    }
    .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 0;
      z-index: 1000;
      min-width: 180px;
      margin: 0;
      font-size: 14px;
      text-align: left;
      background-color: #fff;
      border: 1px solid rgba(0,0,0,0.1);
      box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    }
    .dropdown-menu a {
      display: block;
      color: #333;
      text-decoration: none;
    }
    .dropdown-menu a:hover {
      background-color: #f5f5f5;
      color: #196648;
    }
    .mobile-dropdown-menu {
      display: none;
    }
    .mobile-dropdown-menu.active {
      display: block;
    }
    .scroll-smooth {
      scroll-behavior: smooth;
    }
    .detail-header {
      background: linear-gradient(135deg, #196648 0%, #36CFC9 100%);
      color: white;
    }
    
    /* 按钮动画效果 */
    .btn-primary {
      position: relative;
      overflow: hidden;
      z-index: 1;
    }
    .btn-primary::after {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      transition: all 0.6s ease;
      z-index: -1;
    }
    .btn-primary:hover::after {
      left: 100%;
    }
    
    /* 数字增长动画 */
    .counter {
      transition: all 0.8s ease-out;
    }
    
    /* 专家卡片悬停效果 */
    .expert-card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .expert-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
    .expert-info {
      opacity: 0;
      transform: translateY(10px);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .expert-card:hover .expert-info {
      opacity: 1;
      transform: translateY(0);
    }
    
    /* 轮播广告样式 */
    .medical-banner {
      width: 100%;
      height: 600px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    @media (max-width: 1440px) {
      .medical-banner {
      height: 500px;
      }
    }    
    @media (max-width: 768px) {
      .medical-banner {
        height: 350px;
      }
    }
    
    @media (max-width: 480px) {
      .medical-banner {
        height: 130px;
      }
    }
    
    .banner-slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
      background-size: cover;
      background-position: center;
      transform: scale(1.05);
    }
    
    .banner-slide.active {
      opacity: 1;
      transform: scale(1);
    }
    
    .banner-controls {
      position: absolute;
      bottom: 20px;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      gap: 10px;
      z-index: 10;
    }
    
    .banner-dot {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.6);
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .banner-dot.active {
      background-color: white;
      transform: scale(1.3);
    }
    
    .banner-arrows {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 20px;
      z-index: 10;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    .medical-banner:hover .banner-arrows {
      opacity: 1;
    }
    
    .banner-arrow {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.8);
      color: #196648;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 1.5rem;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }
    
    .banner-arrow:hover {
      background-color: white;
      transform: scale(1.1);
    }
    
    /* 加载骨架 */
    .skeleton {
      background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
      background-size: 200% 100%;
      animation: loading 1.5s infinite;
      border-radius: 4px;
    }
    
    @keyframes loading {
      0% { background-position: 200% 0; }
      100% { background-position: -200% 0; }
    }
    
    /* 触摸反馈 */
    .touch-feedback:active {
      transform: scale(0.98);
      opacity: 0.9;
    }
    
        /* 登录模块样式优化 - 确保提示层默认隐藏，弹窗居中且正确层级 */
    .login-section {
      padding: 4rem 0;
      background-color: #f9fafb;
    }
    .login-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1rem;
    }
    .login-wrapper {
      display: flex;
      flex-wrap: wrap;
      background: white;
      border-radius: 0px;
      box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
      overflow: hidden;
    }
    .login-form-container {
      flex: 1;
      min-width: 300px;
      padding: 2.5rem 2.5rem;
    }
    .login-image-container {
      flex: 1;
      min-width: 543px;
      background: linear-gradient(135deg, #f0f4f8 0%, #e6edf4 100%);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .login-image {
      max-width: 100%;
      height: auto;
      border-radius: 0px;
      box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }
    .form-title {
      font-size: 1.8rem;
      font-weight: 700;
      color: #196648;
      margin-bottom: 2rem;
      text-align: center;
    }
    .form-group {
      margin-bottom: 1.5rem;
    }
    .form-label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 600;
      color: #1D2129;
      font-size: 0.9rem;
    }
    .form-input {
      width: 100%;
      padding: 0.8rem 1rem;
      border: 1.5px solid #e2e8f0;
      border-radius: 0px;
      font-size: 0.95rem;
      transition: all 0.2s ease;
      background-color: #fff;
    }
    .form-input:focus {
      outline: none;
      border-color: #196648;
      box-shadow: 0 0 0 3px rgba(25, 102, 72, 0.12);
    }
    .field-error {
      border-color: #e53e3e !important;
      background-color: #fff5f5;
    }
    /* 验证码区域美化 */
    .captcha-group {
      display: flex;
      gap: 12px;
      align-items: center;
    }
    .captcha-input {
      flex: 2;
    }
    .captcha-img-wrapper {
      flex: 1.2;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: #f8fafc;
      border: 1.5px solid #e2e8f0;
      border-radius: 0px;
      padding: 0 8px;
      cursor: pointer;
      transition: all 0.2s;
      height: 48px;
    }
    .captcha-img-wrapper:hover {
      background: #f1f5f9;
      border-color: #196648;
    }
    .captcha-img {
      height: 40px;
      width: auto;
      border-radius: 0px;
      background: #fff;
      object-fit: contain;
    }
    .refresh-icon {
      color: #196648;
      font-size: 1.1rem;
    }
    .login-btn {
      width: 100%;
      padding: 0.85rem;
      background-color: #196648;
      color: white;
      border: none;
      border-radius: 40px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.2s ease;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .login-btn:hover:not(:disabled) {
      background-color: #0f4d37;
      transform: translateY(-1px);
    }
    .login-btn:disabled {
      background-color: #94a3b8;
      cursor: not-allowed;
      opacity: 0.7;
    }
    .form-links {
      display: flex;
      justify-content: space-between;
      font-size: 0.85rem;
    }
    .form-link {
      color: #196648;
      text-decoration: none;
      font-weight: 500;
    }
    .form-link:hover {
      text-decoration: underline;
    }
    /* 错误提示默认隐藏 */
    .error-message {
      color: #e53e3e;
      font-size: 0.75rem;
      margin-top: 0.25rem;
      display: none;
      font-weight: 500;
    }
    .loading-spinner {
      display: inline-block;
      width: 18px;
      height: 18px;
      border: 2px solid rgba(255,255,255,0.3);
      border-radius: 50%;
      border-top-color: white;
      animation: spin 0.7s linear infinite;
    }
    @keyframes spin {
      to { transform: rotate(360deg); }
    }
    /* 模态弹窗 - 居中且默认隐藏，优雅背景遮罩 */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(3px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.25s ease, visibility 0.25s;
    }
    .modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }
    .modal-card {
      background: white;
      border-radius: 28px;
      padding: 1.8rem 2rem;
      max-width: 380px;
      width: 85%;
      text-align: center;
      box-shadow: 0 25px 40px -12px rgba(0,0,0,0.35);
      transform: scale(0.96);
      transition: transform 0.2s ease;
    }
    .modal-overlay.active .modal-card {
      transform: scale(1);
    }
    .modal-icon {
      font-size: 2.8rem;
      margin-bottom: 0.5rem;
    }
    .modal-title {
      font-size: 1.4rem;
      font-weight: 700;
      color: #1e293b;
      margin-bottom: 0.75rem;
    }
    .modal-message {
      color: #334155;
      margin: 0.8rem 0 1.5rem;
      font-size: 1rem;
      line-height: 1.4;
    }
    .modal-btn {
      background-color: #196648;
      color: white;
      border: none;
      border-radius: 40px;
      padding: 0.6rem 1.8rem;
      font-weight: 600;
      cursor: pointer;
      transition: 0.2s;
    }
    .modal-btn:hover {
      background-color: #0f4d37;
    }
    .hidden {
      display: none;
    }
    /* 其他辅助 */
    .text-center {
      text-align: center;
    }