/* ========== 全局重置与公共样式 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: black;
  text-align: center;
}
/* ========== 电脑端  ========== */
@media (min-width: 1024px) {
  body {
    background: none;
    width: 100vw;
    margin: 0;
    text-align: left;
    position: static;
  }

  #u0, #u0_img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 80vh;
    border-width: 0;
  }
  #u0 { display: flex; }

  #u2 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 10vh;
    display: flex;
  }
.footer {
    width: 100%;
    background-color: #d7d7d7;
    padding: 60px 5vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
}
.footer-logo {
    height: 50px;
    width: auto;
}
.footer-company {
    font-size: 30px;
    font-weight: 700;
    white-space: nowrap;
    font-family:'宋体', 'Microsoft YaHei', sans-serif;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    flex: 1 1 auto;
}
.footer-nav a {
    color: #333;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.2s;
    white-space: nowrap;
}
.footer-nav a:hover {
    color: #145E59;
    text-decoration: underline;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    flex: 0 0 auto;
    position:relative;
    top: 15px;
}
.footer-copyright {
    font-size: 12px;
    white-space: nowrap;
}
.footer-icp {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    white-space: nowrap;
}
.footer-icp img {
    width: 18px;
    height: 18px;
}
.footer-icp a {
    color: #333;
    text-decoration: none;
}
.footer-icp a:hover {
    color: #145E59;
    text-decoration: underline;
}

  .notebox {
    position: absolute;
    left: 75vw;
    top: 110vh;
    width: 25vw;
    height: 10vh;
  }
  .notestate0, .notestate1 {
    position: absolute;
    left: 0;
    top: 0;
    width: 25vw;
    height: 10vh;
    overflow: hidden;
    border: 0;
  }
  .notestate0 { background-color: #106c93; }
  .notestate1 { background-color: #f9f9f9; }


.topbanner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 86px;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    background: transparent;
}


#topbanner.scrolled,
#topbanner:hover {
    background: white !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.topbanner .fragment0 a,
.topbanner .name0 {
    color: white !important;
}

#topbanner.scrolled .fragment0 a,
#topbanner.scrolled .name0,
#topbanner:hover .fragment0 a,
#topbanner:hover .name0 {
    color: black !important;
}

.topbanner .tbstate0,
.topbanner .logo,
.topbanner .mobile-header,
.topbanner .fragment0 {
    background: transparent;
}
  .tbstate0 {
    position: relative;
    width: 100%;
    height: 100%;
  }

  /* 顶栏内部元素 */
  .logo {
    position: absolute;
    left: 3vw;
    top: 50%;
    transform: translateY(-50%);
    width: 4vw;
    height: auto;
  }
  .img_logo { width: 100%; height: auto; }
  .name0 {
    position: absolute;
    left: 10vw;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    font-weight: 700;
    white-space: nowrap;
    font-family:'宋体', 'Microsoft YaHei', sans-serif;
  }

  .fragment0 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-family: '宋体', sans-serif;
    cursor: pointer;
  }
  .fragment0 a { transition: color 0.2s ease; }
  .fragment0 a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: orange;
    transition: width 0.3s ease;
  }
  .fragment0 a:hover { color: orange !important; }
  .fragment0 a:hover::after { width: 100%; }
  .fragment0:first-of-type { left: 45vw; }
  .fragment0:nth-of-type(2) { left: 53vw; }
  .fragment0:nth-of-type(3) { left: 61vw; }
  .fragment0:nth-of-type(4) { left: 69vw; }
  .fragment0:nth-of-type(5) { left: 77vw; }

  .hero-banner {
    width: 100%;
    height: 80vh;
    overflow: hidden;
  }
  .hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .news-container {
    max-width: 70vw;
    margin-top: 85vh;
    margin-left: 15vw;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    margin-bottom: 25vh;
  }
  .news-title {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #222;
    text-align: center;
  }

  .news-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 40px;
  }
  .slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
  }
  .slider-item {
    flex: 0 0 100%;
    display: flex;
    align-items: stretch;
    padding: 20px;
  }
  .slider-img-box {
    width: 100%;
    margin-right: 20px;
  }
  .slider-img { width: 100%; height: 100%; object-fit: cover; }
  .slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
  }
  .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
  }
  .slider-dot.active { background: #145e59; }

  /* 新闻列表 */
  .news-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 20px;
  }
  .news-date-box {
    width: 60px;
    text-align: center;
  }
  .news-date-day {
    font-size: 22px;
    color: #145e59;
    font-weight: 600;
    line-height: 1;
  }
  .news-date-month {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
  }
  .news-item-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .news-item a {
    color: #333;
    font-size: 16px;
  }
  .news-item a:hover { color: #145e59; }
  .news-item-more {
    font-size: 12px;
    color: #666;
  }

  .news-empty {
    text-align: center;
    padding: 60px 0;
    color: #888;
  }
  .pagination {
    margin-top: 50px;
    text-align: center;
    font-size: 14px;
  }
  .pagination a {
    padding: 6px 14px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin: 0 4px;
    color: #666;
  }
  .pagination a:hover { background: #f5f5f5; }

  .panel_state_content .text_name { font-size: 30px; }
  .mobile-header { display: none; }
}

/* ========== 手机端========== */
@media (max-width: 767px) {
  html { font-size: 5px; }
  body {
    width: 100vw;
    overflow-x: hidden;
  }
  a { color: black; }

  .text_name0 {
    font-size: 2.5rem;
    white-space: nowrap;
    font-family:'宋体', 'Microsoft YaHei', sans-serif
  }

  /* 顶栏简化 */
  .topbanner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 15px;
    background: white;
    transition: background 0.3s, box-shadow 0.3s;
    z-index: 999;
    position: fixed;
    box-sizing: border-box;
  }
  .topbanner .logo,
  .topbanner .name0 {
    position: static;
    transform: none;
  }
  .tbstate0 {
    display: flex;
    align-items: center;
    gap:2.1rem;
    width: auto;
  }
  .logo{
    position:static;
    transform:none;
    width:auto;
    line-height: 0;
  }
  .img_logo {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
  }
  .name0{
    position:static;
    transform:none;
    font-size:2.5rem;
    white-space:nowrap;
  }
  .fragment0, #u21, #u22, #u23, #u24, #u25 {
    display: none;
  }

  /* 汉堡菜单 */
  .mobile-header {
    position: static;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    display:flex;
    align-items:center;
  }
  #navToggle { display: none; }
  .hamburger-btn {
    display: block;
    padding: 18px 15px;
    cursor: pointer;
  }
  .hamburger-icon {
    width: 22px;
    height: 2px;
    background: #333;
    position: relative;
    transition: all 0.3s;
  }
  .hamburger-icon::before,
  .hamburger-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #333;
    transition: transform 0.3s, top 0.3s;
  }
  .hamburger-icon::before { top: -8px; }
  .hamburger-icon::after { top: 8px; }

  .hamburger-btn{
    padding:2rem;
    cursor:pointer;
  }
  .hamburger-icon{
    width:22px;
    height:2px;
    position:relative;
  }

  #navToggle:checked + .hamburger-btn .hamburger-icon {
    background: transparent;
  }
  #navToggle:checked + .hamburger-btn .hamburger-icon::before {
    transform: rotate(45deg);
    top: 0;
  }
  #navToggle:checked + .hamburger-btn .hamburger-icon::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .mobile-nav {
    position: fixed;
    top: 8rem;
    left: 0;
    width: 100%;
    background: white;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
  }
  #navToggle:checked ~ .mobile-nav {
    transform: translateX(0);
  }
  .mobile-nav a {
    display: block;
    padding: 12px 24px;
    color: #2c3e50;
    font-size:2rem;
  }
  .mobile-nav a:hover { background: #e9ecef; }

  /* Hero 图片 */
  #u0_img {
    width: 100vw;
    height: 30vh;
  }

  /* 新闻容器 */
  .news-container {
    margin-top: 3vh;
    margin-left: 9vw;
  }
  .news-title {
    padding-bottom: 3rem;
    position: relative;
    left: 19rem;
  }

  /* 轮播 */
  .news_slider { width: 100vw; }
  .news-slider { overflow: hidden; }
  .slider-wrapper { display: flex; }
  .slider-item { flex: 0 0 100%; }
  .slider-img {
    width: 80vw;
    height: 100%;
  }

  /* 新闻列表 */
  .news-item {
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 1rem;
    flex-wrap:nowrap;
  }
  .news-date-box { width: 3rem; text-align: center; flex-shrink:0;}
  .news-date-day {
    font-size: 1.5rem;
    color: #145e59;
    font-weight: 600;
    line-height: 1;
  }
  .news-date-month {
    font-size: 1.5rem;
    color: #999;
    margin-top: 0.5rem;
  }
  .news-item-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width:0;
  }
  .news-item a {
    font-size: 1.8rem;
    color: #333;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    margin-left:3.5rem;
  }
  .news-item a:hover { color: #145e59; }
  .news-item-more { display: none; }

  .panel_state_content .text_name { font-size: 2rem; }
  #u18_div { height: 18vh; }

  .footer-logo{
    height:2.5rem;
    width:auto;
  }

  .footer-right .footer-icp img{
    width:1rem;
    height:1rem;
  }

  .footer-left{
    display: flex;
    align-items:center;
    gap:1rem;
  }

  footer{
    width: 100%;
    background: #d7d7d7;
    padding: 2rem 5vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
  }

  .footer-nav{
    display: flex;
    flex-wrap: wrap;
    gap:1.5rem;
    justify-content:center;
  }

  .footer-nav a{
    font-size:1rem;
    transition: color 0.2s;
    font-size:2rem;
  }

  .footer-nav a:hover {
    color: #145E59;
    text-decoration: underline;
  }

  .footer .footer-company{
    font-size: 2.4rem;
    font-weight: 700;
    white-space: nowrap;
    font-family: '宋体', 'Microsoft YaHei', sans-serif;
  }

   .footer-copyright {
    font-size: 0.7rem;
    font-family: 'Noto Sans SC', sans-serif;
  }

  .footer-icp {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
  }

  .footer-icp img {
    width: 1rem;
    height: 1rem;
  }
}

/* ========== 平板端 ========== */
@media (min-width: 768px) and (max-width: 1023px) {
  html { font-size: 16px; }
  body {
    width: 100vw;
    overflow-x: hidden;
  }
  a { color: black; }

  .text_name0 {
    font-size: 1.8rem;
    white-space: nowrap;
    font-family: "宋体", sans-serif;
  }

  /* 顶栏 */
  .topbanner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 15px;
    background: white;
    transition: background 0.3s, box-shadow 0.3s;
    z-index: 999;
    position: fixed;
    box-sizing: border-box;
  }
  .topbanner .logo,
  .topbanner .name0 {
    position: static;
    transform: none;
  }
  .tbstate0 {
    display: flex;
    align-items: center;
    gap:2.1rem;
    width: auto;
    flex-shrink:0;
  }
  .logo{
    position:static;
    transform:none;
    width:auto;
    line-height: 0;
  }
  .img_logo {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
  }
  .name0{
    position:static;
    transform:none;
    font-size:2.5rem;
    white-space:nowrap;
  }
  .fragment0, #u21, #u22, #u23, #u24, #u25 {
    display: none;
  }

  /* 汉堡菜单 */
  .mobile-header {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    display:block;
  }
  #navToggle { display: none; }
  .hamburger-btn {
    display: block;
    padding: 18px 15px;
    cursor: pointer;
  }
  .hamburger-icon {
    width: 22px;
    height: 2px;
    background: #333;
    position: relative;
    transition: all 0.3s;
  }
  .hamburger-icon::before,
  .hamburger-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #333;
    transition: transform 0.3s, top 0.3s;
  }
  .hamburger-icon::before { top: -8px; }
  .hamburger-icon::after { top: 8px; }

  .hamburger-btn{
    padding-top:0;
    cursor:pointer;
  }
  .hamburger-icon{
    width:22px;
    height:2px;
    position:relative;
  }

  #navToggle:checked + .hamburger-btn .hamburger-icon {
    background: transparent;
  }
  #navToggle:checked + .hamburger-btn .hamburger-icon::before {
    transform: rotate(45deg);
    top: 0;
  }
  #navToggle:checked + .hamburger-btn .hamburger-icon::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .mobile-nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: #f8f9fa;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
  }
  #navToggle:checked ~ .mobile-nav {
    transform: translateX(0);
  }
  .mobile-nav a {
    display: block;
    padding: 12px 24px;
    color: #2c3e50;
  }
  .mobile-nav a:hover { background: #e9ecef; }

  #u0_img {
    width: 100vw;
    height: 50vh;
  }

  /* 新闻容器 */
  .news-container {
    margin-top: 3vh;
    margin-left: 9vw;
  }
  .news-title {
    padding-bottom: 2rem;
    position: relative;
    left: 17rem;
    font-size:1.8rem;
    font-family: "宋体", sans-serif;
  }

  /* 轮播 */
  .news_slider { width: 100vw; }
  .news-slider { overflow: hidden; }
  .slider-wrapper { display: flex; }
  .slider-item { flex: 0 0 100%; }
  .slider-img {
    width: 80vw;
    height: 100%;
  }

  /* 新闻列表 */
  .news-item {
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 1rem;
    flex-wrap:nowrap;
  }
  .news-date-box { width: 3rem; text-align: center; flex-shrink:0;}
  .news-date-day {
    font-size: 1.5rem;
    color: #145e59;
    font-weight: 600;
    line-height: 1;
  }
  .news-date-month {
    font-size: 1.5rem;
    color: #999;
    margin-top: 0.5rem;
  }
  .news-item-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width:0;
  }
  .news-item a {
    font-size: 1.5rem;
    color: #333;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    margin-left:3.5rem;
  }
  .news-item a:hover { color: #145e59; }
  .news-item-more { display: none; }

  .panel_state_content .text_name { font-size: 2rem; }
  #u18_div { height: 18vh; }

  .footer-logo{
    width:3rem;
    height:auto;
  }

  .footer-right .footer-icp img{
    width:1rem;
    height:1rem;
  }

  .footer-left .footer-company{
    font-size:1.2rem;
    font-family:'宋体', 'Microsoft YaHei', sans-serif
  }

  .footer {
  width: 100%;
  background: #d7d7d7;
  padding:2rem 5vw;
        display:flex;
        flex-direction: column;
        text-align: center;
        gap:1.5rem;
  }
  .footer-left{
        align-items: center;
        display:flex;
        gap:1rem;
        justify-content:center;
  }
  .footer-nav {
        justify-content: center;
        gap: 1.2rem;
        display:flex;
  }
  .footer-copyright, .footer-icp a{
        font-size:0.7rem;
  }
}