﻿.banner{height: 525px;
  width:100%;
    position: relative;
    max-width: 2560px;
    margin-left: auto;
    margin-right: auto;
    /* margin-top: 50px; */
  }
/* .banner .banner_img{height: 525px; width: 100%; /* /* object-fit: cover; display: block;}
.banner .banner-swiper{height: 525px;}
.banner .banner-swiper .swiper-slide{height: 525px;} */
.banner .banner_txt{
    transform: translate(0%);
    max-width: 1560px;
    height: 319px;
    top: 96px;
    /* left: 178px; */
    border-radius: 16px;
    border-left-width: 2px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    position: absolute;
    margin: 0 12%;
    padding: 52px 94px;
    /* padding-top: 64px; */
    display: flex;
    flex-direction: column;
    z-index: 10000;
}
.banner .banner_txt_1{font-size: 32px;
    font-weight: 700;
    color: #CC9522;
    line-height: 37px;
    letter-spacing: 0px;
    text-align: left;
}
.banner .banner_txt_2{font-size: 24px;
    font-weight: 400;
    color: #585656;
    line-height: 40px;
    letter-spacing: 0px;
    text-align: left;
    margin-top: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 3;
    -webkit-line-clamp: 3;
}


.search-hotbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 20px;
    width: 96%;
    max-width: 1100px;
    gap: 24px;
    border-radius: 2px;
    margin-top: 16px;
    padding-left: 0;
  }
  .searchbox {
    display: flex;
    align-items: center;
    border: 2px solid #CC9522;
    border-radius: 10px;
    padding: 0 12px 0 10px;
    height: 40px;
    background: #fff;
    min-width: 260px;
    margin-right: 18px;
  }
  .searchbox .search-icon {
    display: flex;
    align-items: center;
    margin-right: 4px;
  }
  .searchbox input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #222;
    width: 160px;
    height: 34px;
    font-size: 18px;
  }
  .searchbox input::placeholder {
    color: #CC9522;
  }
  .hotwords {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 18px;
    color: #222;
  }
  .hot-label {
    color: #333;
    margin-right: 8px;
  }
  .hotword {
    cursor: pointer;
    transition: color 0.2s;
    color: #111;
    text-decoration: none;
  }
  .hotword:hover {
    color: #CC9522;
  }

  .case-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 32px 0px;
    justify-content: center;
  }
  
  .case-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 24px 20px;
    min-height: 180px;
  }
  .case-card:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    background: linear-gradient(180deg, #E3c78d 0%, #d8a12d 100%);
    color: #fff !important;
  }

  .case-card:hover span {
    color: #fff !important;
  }

  .case-arrow-icon {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  }
  
  /* 鼠标移入父容器时，子元素向右移动30px */
  .case-card:hover .case-arrow-icon {
    transform: translateX(30px);
  }

  .case-card:hover img {
    filter: brightness(100);
  }
  

  .case-date {
    font-size: 28px;
    margin-bottom: 8px;
    color: rgba(102, 102, 102, 1);
    line-height: 30px;
    font-weight: 600;
  }
  .case-date span{
    font-size: 18px;
    color: rgba(102, 102, 102, 1);
    line-height: 20px;
  }
  .case-card:hover .case-date {
    color: #fff;
  }
  .case-title {
    font-size: 20px;
    font-weight: bold;
    line-height: 26px;
    margin-top: 12px;
    margin-bottom: 11px;
    color: #211512;
  }
  .case-desc {
    font-size: 14px;
    color: #888;
    margin-bottom: 12px;
    line-height: 24px;
    -webkit-line-clamp:2;
    font-weight: 600;
    
  }
  .case-card:hover .case-desc {
    color: #fff;
    font-weight: 600;
  }
  .case-card:hover .case-desc.underline {
    border-bottom: 3px solid #2196f3;
    padding-bottom: 2px;
    width: fit-content;
    margin-bottom: 12px;
  }
  .case-meta {
    font-size: 16px;
    color: #888;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    font-weight: 600;
  }
  .case-meta div{display: flex;align-items: center; color: #888;}
  .case-meta div span{color: #888;font-weight: 500px;}
  .case-meta-icon1{
        width: 21px;height: 21px; margin: 5px 0; background: url(../img/icon1.png) no-repeat;
        background-size: 100% 100%;
        margin-right: 6px;
    }
  .case-card:hover .case-meta-icon1  {
    width: 21px;height: 21px; margin: 5px 0; background: url(../img/icon_active1.png) no-repeat;
        background-size: 100% 100%;
        margin-right: 6px;
  }

  .case-meta-icon2{
    width: 21px;height: 21px; margin: 5px 0; background: url(../img/icon2.png) no-repeat;
    background-size: 100% 100%;
    margin-right: 6px;
}
.case-card:hover .case-meta-icon2 {
width: 21px;height: 21px; margin: 5px 0; background: url(../img/icon_active2.png) no-repeat;
    background-size: 100% 100%;
    margin-right: 6px;
}

.case-meta-icon3{
    width: 21px;height: 21px; margin: 5px 0; background: url(../img/icon3.png) no-repeat;
    background-size: 100% 100%;
    margin-right: 6px;
}
.case-card:hover .case-meta-icon3  {
width: 21px;height: 21px; margin: 5px 0; background: url(../img/icon_active3.png) no-repeat;
    background-size: 100% 100%;
    margin-right: 6px;
}
.case-meta-icon4{
    width: 21px;height: 21px; margin: 5px 0; background: url(../img/icon4.png) no-repeat;
    background-size: 100% 100%;
    margin-right: 6px;
}
.case-card:hover .case-meta-icon4  {
width: 21px;height: 21px; margin: 5px 0; background: url(../img/icon4.png) no-repeat;
    background-size: 100% 100%;
    margin-right: 6px;
}
.case-meta-icon5{
    width: 21px;height: 21px; margin: 5px 0; background: url(../img/icon5.png) no-repeat;
    background-size: 100% 100%;
    margin-right: 6px;
}
.case-card:hover .case-meta-icon5  {
width: 21px;height: 21px; margin: 5px 0; background: url(../img/icon5.png) no-repeat;
    background-size: 100% 100%;
    margin-right: 6px;
}

  .case-card:hover .case-meta {
    color: #fff;
    font-weight: 600;
  }
  .case-arrow-icon{width: 20px;height: 20px; }
  .case-card:hover .case-arrow {
    color: #fff;
  }

  /* 悬浮时将箭头替换为背景图，保持现有位移动画与尺寸 */
  .case-arrow { position: relative; display: inline-block; }
  .case-card:hover .case-arrow-icon { opacity: 0; }
  .case-card:hover .case-arrow::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url(../img/arrow_active.png) no-repeat center/contain;
    vertical-align: middle;
    transform: translateX(10px);
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  }

  .center-pagination {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 6px;
    padding: 40px 0 0 0;
    font-size: 32px;
    background: transparent;
    user-select: none;
    margin-bottom: 40px;
  }
  .center-pagination .arrow {
    width: 29px;
    object-fit: contain;
    vertical-align: middle;
    /* 左箭头灰色，右箭头红色，图片本身需为对应色，或用filter */
  }
  .center-pagination .arrow.right {
    /* 如果你的图片是黑色，可以用filter变红 */
    filter: invert(18%) sepia(98%) saturate(7492%) hue-rotate(-7deg) brightness(97%) contrast(119%);
  }
  .center-pagination .page {
    color: rgba(18, 18, 18, 1);
    text-decoration: none;
    padding: 0 8px;
    font-size: 16px;
    position: relative;
    transition: color 0.2s;
    line-height: 21px;
  }
  .center-pagination .page.active {
    color: rgba(216, 36, 30, 1);
  }
  .center-pagination .page.active::after {
    content: '';
    display: block;
    margin: 0 auto;
    margin-top: 2px;
    width: 9px;
    height: 1px;
    background: #d60000;
    border-radius: 2px;
  }
  .center-pagination .page:hover:not(.active) {
    color: #d60000;
  }

  /* cases.html移动端适配样式 */
@media screen and (max-width: 1024px) {
  /* Banner区域适配 */
  .banner {
      /* height: 220px; */
      /* margin-top: 80px; */
  }
  
  .banner .banner_img {
      /* height: 220px;
      width: 100%; */
       /* object-fit: cover; */
  }
  
  .banner .banner_txt {
      /* width: 90%; */
      height: auto;
      top: 50%;
      /* left: 50%; */
      transform: translate(0%, -50%);
      padding: 20px;
      border-radius: 10px;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      background: rgba(255, 255, 255, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.35);
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  }
  
  .banner .banner_txt_1 {
      font-size: 20px;
      line-height: 24px;
      text-align: center;
  }
  
  .banner .banner_txt_2 {
      font-size: 14px;
      line-height: 20px;
      margin-top: 15px;
      width: 100%;
      text-align: center;
  }
  
  .banner .banner_btn1 {
      width: 150px;
      height: 40px;
      line-height: 40px;
      font-size: 16px;
      margin: 20px auto 0;
  }
  
  /* 容器适配 */
  .container {
      width: 92%;
      padding: 10px 0 30px;
  }
  
  /* 搜索栏适配 */
  .search-hotbar {
      flex-direction: column;
      align-items: flex-start;
      padding: 15px 0;
      gap: 10px;
  }
  
  .searchbox {
      width: 100%;
      margin-right: 0;
  }
  
  .hotwords {
      width: 100%;
      flex-wrap: wrap;
      gap: 8px;
      font-size: 13px;
  }
  
  .hot-label {
      width: 100%;
      margin-bottom: 5px;
  }
  
  /* 案例卡片适配 */
  .case-list {
      grid-template-columns: 1fr;
      gap: 15px;
      padding: 15px 0;
  }
  
  .case-card {
      padding: 15px;
      min-height: auto;
  }
  
  .case-date {
      font-size: 20px;
      font-weight: 600;
  }
  
  .case-date span {
      font-size: 14px;
  }
  
  .case-title {
      font-size: 16px;
      line-height: 22px;
      margin-top: 8px;
      margin-bottom: 8px;
  }
  .case-title a{
    color: #211512;
  }
  .case-desc {
      font-size: 13px;
      line-height: 20px;
      margin-bottom: 10px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      -webkit-line-clamp:2;
      font-weight: 600;
  }
  
  .case-meta {
      font-size: 14px;
      flex-direction: column;
      flex-wrap: wrap;
      gap: 0px;
      font-weight: 600;
  }
  
  .case-meta div {
      margin-bottom: 0;
      margin-right: 10px;
  }
  
  .case-meta-icon {
      width: 16px;
      height: 16px;
      margin-right: 4px;
  }
  
  /* 分页适配 */
  .center-pagination {
      justify-content: center;
      padding: 20px 0 0;
      gap: 3px;
  }
  
  .center-pagination .arrow {
      width: 20px;
  }
  
  .center-pagination .page {
      font-size: 14px;
      padding: 0 6px;
  }
  
  /* 表单区域适配 */
  #dowebok .box {
      margin-top: 0;
  }
  
  .home_form dl {
      margin-bottom: 8px;
  }
  
  .home_form dt {
      font-size: 14px;
      width: 70px;
  }
  
  .home_form input {
      height: 36px;
      font-size: 14px;
  }
  
  .home_form button {
      font-size: 16px;
      padding: 8px 0;
  }

  .case-list { grid-template-columns: repeat(2, 1fr); }
  .case-list { grid-template-columns: 1fr; }
  .search-hotbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 98%;
    padding: 18px 0 0 0;
  }
  .hotwords {
    gap: 10px;
    font-size: 14px;
  }
}
  /* @media screen and (max-width:1560px) {
	.banner .banner_txt{
		width: 95%!important;

	}
	.container{
		padding: 0 10px!important;
	}
  }
 @media (max-width:2560px) {
	.banner{
		min-height: 825px;
	}
	 .banner .banner_img{
      min-height: 825px;
    }
    .banner .banner-swiper{
      min-height: 825px;
    }
    .banner .banner-swiper .swiper-slide{
      min-height: 825px;
    }
    .banner .banner_txt{
      transform: translate(0,50%);
    }
 }
	body{
		max-height: 100%;
	}
 @media (max-width:1920px) {
	.banner{
		min-height: 525px;
	}
  .banner .banner_img{
      min-height: 525px;
    }
    .banner .banner-swiper{
      min-height: 525px;
    }
    .banner .banner-swiper .swiper-slide{
      min-height: 525px;
    }
    .banner .banner_txt{
      transform: translate(0);
    }
	body{
		max-height: 1920px;
	}
 } */
