html, body, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, ul, dd, dl, dt, li, button, object, a, img, span {
    margin: 0px;
    padding: 0px;
    -webkit-font-smoothing: subpixel-antialiased;
}
input, textarea, select, button {
    font: 14px Verdana, Helvetica, Arial, sans-serif;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    border: 0;
    font-family: Helvetica Neue, Helvetica, PingFang SC, \5FAE\8F6F\96C5\9ED1, Tahoma, Arial, sans-serif;
    height: 100vh;
}

.donation-form {
    background-color: #ffffff;
    padding: 20px;
    width: 100%;
    max-width: 660px;
    margin-left: auto !important;
    margin-right: auto !important;
}
@media screen and (max-width: 980px) {
    .donation-form {
        width: 90%;
    }
}

.donation-form button {
    width: 100%;
    padding: 14px;
    background-color: #f52323;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease; /* 添加过渡效果 */

}

.donation-form button:hover {
    background: linear-gradient(45deg, #f52323, #ff6f6f); /* 渐变背景色 */
    transform: scale(1.05); /* 放大按钮 */
}

.error-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7); /* 黑色透明背景 */
    color: #ffffff; /* 白色文字 */
    padding: 20px;
    border-radius: 12px; /* 圆角 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* 添加阴影效果 */
    z-index: 9999;
    max-width: 90%;
    text-align: center;
    font-size: 16px; /* 适应 iOS 风格的字体大小 */
    line-height: 1.5;
    display: none; /* 默认隐藏 */
}

.qrcode{
    text-align: center;
}
#qrcode img{
    width: 200px;
    height: 200px;
    display: none!important;
    /* margin: 25px auto 35px; */
}
#qrcode canvas {
    display: block!important;
    margin: 0 auto;
}
.qrcode .qrcode-title {
    text-align: center;
    font-size: 16px;
    padding: 25px 0;
    color: #f52323;
}

#buttonContainer {
    display: flex;
    justify-content: space-between; /* 平铺在一行，按钮之间均匀分布 */
    gap: 10px; /* 按钮之间的间距 */
    width: 100%; /* 容器宽度 */
}

#buttonContainer button {
    flex: 1; /* 使每个按钮等宽 */
    min-width: 80px; /* 最小宽度，防止按钮过小 */
}

#buttonContainer button:only-child {
    width: 100%; /* 如果只有一个按钮，宽度占满整个容器 */
}
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
.header_top{
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 48px;
    background: #D43030;
    position: relative;
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    font-weight: 400;
    line-height: 34px;
    display: flex; /* 使用 Flexbox 布局 */
    justify-content: center; /* 水平居中（如果需要） */
    align-items: center; /* 垂直居中 */
    z-index: 3;
}
.header_top .top {
    display: flex;             /* 启用 flex 布局 */
    justify-content: space-between; /* 左右两端对齐 */
    align-items: center;       /* 垂直居中 */
    width: 100%;
}
.header_top .top .left {
    margin-left: 10px;
}

.header_top .top .right {
    margin-right: 10px;
    display: flex; /* 使用 Flexbox 布局 */
    align-items: center; /* 垂直方向居中 */
    justify-content: space-between; /* 左右两端对齐 */
}


.header_top .top .right .icon-group {
    display: flex;
    gap: 20px;
    color: #fff;
    font-size: 14px;
    margin-right: 10px;
}

.header_top .top .right .icon-group .icon {
    margin-right: 5px;
}
/* 微信公众号悬停效果 */
.header_top .top .right .icon-group .wechat-hover {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.header_top .top .right .icon-group .wechat-hover .wechat-qr {
    display: none; /* 改用 display 来控制显示/隐藏 */
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    padding: 5px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 100;
}

/* 添加小三角形 */
.header_top .top .right .icon-group .wechat-hover .wechat-qr::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #fff;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

.header_top .top .right .icon-group .wechat-hover:hover .wechat-qr {
    display: block; /* 悬停时显示 */
}
.header_top .top .right .search-group {
    position: relative; /* 关键：为内部绝对定位提供参考 */
    display: flex;
    align-items: center;
    gap: 5px;
}

.header_top .top .right .search-group .keyboard {
    padding: 5px 10px;
    border: 1px solid #fff;
    border-radius: 20px;
    outline: none;
    background-color: #f9f9f9;
}

.header_top .top .right .search-group .btnsearch {
    position: absolute; /* 定位到父容器 */
    right: 5px; /* 靠右放置 */
    top: 50%; /* 垂直居中 */
    transform: translateY(-50%); /* 修正垂直居中 */
    padding: 2px 15px;
    background-color: #e32626;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.header_top .top .right .search-group .btnsearch:hover {
    background-color: #c91e1e;
}


@media screen and (max-width: 1300px) {

    .header_top {
        display: none;
    }

    .header_top .top .left {
        margin-left: 1px;
    }
    
    .header_top .top .right {
        margin-right: 1px;
    }
    .header_top .top .right .search-group{
        display: none;
    }
}

.pc_header .mobile-search{
    display: none;
    position: fixed;
    width: 100%;
    top: 60px;
    z-index: 55;
}




.pc_header .mobile-search .keyboard {
    border: 1px solid #302a2a;
    height: 34px;
    width: calc(100% - 100px);
    margin-left: 10px;
    padding-left: 5px;
}

.pc_header .mobile-search .btnsearch {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px 14px;
    background-color: #e32626;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* 首页banner */
.about_banner{ 
    height:468px;
}

.banner-wrapper {
    width: 100%;
    height: 100%;
}
.swiper-slide .video_player {
    width: 100%;
    height: 100%;
    /*object-fit: fill;*/
}
 
.about_banner .swiper-pagination-bullet {
    background: #D43030 !important;
    border-radius: 0 !important;
    width: 50px !important;
    height: 4px !important;
}

.swiper-slide .image-bg {
    background-position: center center;
    background-size: cover;
    position: relative;
    height: 100%;
  }
  
@media screen and (max-width:1530px){
    .slider .image-bg,.banner_height,.banner,.about_banner{ height:400px;}
  }
  
  
  @media screen and (max-width: 980px) {
    .slider .image-bg,.banner_height,.banner,.about_banner{ height:230px;}
    
  }
  

  .slick-hero-slider-caption {
    width: 100%;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translateX(-50%) translateY(-50%);
    padding-top: 100px;
    padding-bottom: 100px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  @media screen and (max-width: 992px){
    .slick-hero-slider-caption {
        padding: 10px;
    }
  }
  .slick-hero-slider-caption .bannertitle1 {
    font-size: 64px;
    font-weight: bolder;
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }
  
  @media screen and (max-width: 992px){
    .slick-hero-slider-caption .bannertitle1 {
        font-size: 24px;
        margin-bottom: 20px;
  
    }
  }
  
  
  .slick-hero-slider-caption .bannertitle2 {
    font-size: 28px;
    color: #fff;
    letter-spacing: 7px;
    text-align: center;
    width: 100%;
    margin-top: 20px;
  
  }
  @media screen and (max-width: 992px){
    .slick-hero-slider-caption .bannertitle2 {
        font-size: 14px;
        margin-top: 10px;
        letter-spacing: 5px;
  
    }
  }
  
  .slick-hero-slider-caption .bannertitleimg {
    font-size: 24px;
    color: #fff;
    text-align: center;
    width: 100%;
    margin-top: 20px;
  
  }
  @media screen and (max-width: 992px){
    .slick-hero-slider-caption .bannertitleimg {
        font-size: 14px;
        margin-bottom: 20px;
    }
  }
  
  @media screen and (max-width: 992px){
    .slick-hero-slider-caption div img {
        max-height: 40px;
    }
  }
  
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translate3d(0, 50px, 0);
    }
    100% {
      opacity: 1;
      transform: none;
    }
  }
  .rondFadeup1 {
    animation: fadeInUp 0.8s ease-in-out both 0.1s;
  }
  .rondFadeup2 {
    animation: fadeInUp 0.8s ease-in-out both 0.2s;
  }
  

.banner{
    width: 100%;
    height: 350px;
    background: url('/images/banner.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直居中 */
    align-items: center; /* 水平居中 */
    text-align: center;
}

.banner .title {
    font-size: 48px;
    font-weight: 400;
    color: #f5f2f2;
    margin-bottom: 10px;
}

.banner .minititle {
    font-size: 18px;
    font-weight: 400;
    color: #f5f2f2;
}

@media screen and (max-width: 980px) {
    .banner {
        height: 140px;
    }
    
    .banner .title {
        font-size: 24px;
    }
}

.content{
    width: 98%;
    padding: 0px;
    background-color: #ffffff;
    padding-top: 10px;
    flex: 1;
    z-index: 1;
    margin: auto;
} 

@media screen and (max-width: 980px) {
    .content{
        display: flex;
        flex-direction: column;
    }
}


.notice{
    background-color: #f9e7e7; /* 提示信息的背景颜色 */
    color: #d9534f; /* 提示信息的文字颜色 */
    padding: 15px;
    border-radius: 8px;
    margin: 30px auto; /* 在上下留出一定的空间 */
    max-width: 1320px;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 980px) {
    .notice {
        font-size: 14px;
        margin: 10px;
    }
}

footer {
    background-color: rgba(56, 56, 56, 1);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #ddd;
    font-size: 14px;
    bottom: 0;
    width: 100%;
    color: #fff;
}

footer .copyright {
    margin-bottom: 10px; /* 底部边距，用于与下方内容分隔 */
}


footer .copyright a {
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    padding-left:20px ;
    display: inline-block;
    margin-top: 10px;
}

footer .copyright a:hover {
    text-decoration: underline;
}


.form-input-item {
    list-style: none;
    padding: 0;
    margin-bottom: 33px;
    
}
@media screen and (max-width: 980px) {
    .form-input-item {
        margin-bottom: 10px;
    }
}

.form-input-item select, .form-input-item .input, .form-input-item textarea {
    width: 100%;
    border: 1px solid #e4e4e4;
    box-sizing: border-box;
    outline: none;
    padding: 0 10px;
    height: 36px;
}

.form-input-item textarea {
    height: 80px;
    padding: 10px;
}

.form-input-item li {
    display: inline-block; /* 使项目在一行显示 */
    vertical-align: text-top;
}
.form-input-item .public-form-block {
    margin-top: 8px;
    width: 3px;
    height: 20px;
    background: #ff0000;
    margin-right: 9px;
}
.form-input-item .public-form-title {
    margin-top: 7px;
    width: 30%;
    font-size: 16px;
    font-weight: 400;
    color: #343434;
   
}

@media screen and (max-width: 980px) {
    .form-input-item .public-form-title {
        width: calc(100% - 20px);
    }
}

.form-input-item .public-form-title2 {
    margin-top: 7px;
    width: 30%;
    font-size: 16px;
    font-weight: 400;
    color: #343434;
   
}


.form-input-item .public-form-title span {
    color: #ff0000;
}
.form-input-item .public-form-input {
    width: 62%;
    height: 36px;
}
@media screen and (max-width: 980px) {
    .form-input-item .public-form-input {
        width: 100%;
        margin-top: 10px;
    }
}

.donation-options
{
    display: inline-flex;
    justify-content: space-between;
    list-style-type: none;
    padding: 0;
    margin: 0;
    vertical-align: top;
    width: 41%;
}

@media screen and (max-width: 980px) {
    .donation-options
    {
        display: flex;
        justify-content: space-between;
        list-style-type: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }
}


/* 列表项样式 */
ul.form-input-item .publi-tab {
    position: relative;
    display: inline-block;
    width: 29%;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border: 1px solid #efefef;
    
    font-size: 14px;
    font-weight: 400;
    color: #747474;
    cursor: pointer;
}
/* 单独设置第二个 publi-tab 的样式 */
ul.form-input-item .publi-tab li:nth-child(2) {
    margin-right: 2%;
    margin-left: 2%;
}
@media screen and (max-width: 980px) {
    ul.form-input-item .publi-tab {
        width: 29%;
        margin-top: 10px;
    }
}

ul.form-input-item .active {
    border: 1px solid #ff0000 !important;
    
}
ul.form-input-item .publi-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 10px solid transparent; /* 上边框透明 */
    border-left: 10px solid transparent; /* 左边框透明 */
    border-bottom: 10px solid #f00; /* 下边框颜色 */
    border-right: 10px solid #f00; /* 右边框颜色 */
}
ul.form-input-item .publi-tab.active .icon {
    position: absolute;
    bottom: 2px;
    right: 3px;
    width: 4px;
    height: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    z-index: 1;
}
ul.form-input-item .publi-other-tab {
    font-size: 0;
    width: 20%;
    height: 36px;
    border: 1px solid #efefef;
}

/* Responsive adjustments */
@media screen and (max-width: 980px) {
    ul.form-input-item .publi-other-tab {
        width: 100%;
        margin-top: 10px;
    } 
}

ul.form-input-item .publi-other-tab li
 {
    vertical-align: middle;
}
ul.form-input-item .publi-other-tab li:first-child {
    width: 35%;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: #e5e5e5;
    font-size: 14px;
    font-weight: 400;
    color: #343434;
}

/* Responsive adjustments */
@media screen and (max-width: 980px) {
    ul.form-input-item .publi-other-tab li:first-child {
        width: 20%;
    }
}


ul.form-input-item .publi-other-tab li:nth-child(2) {
    width: 50%;
}

/* Responsive adjustments */
@media screen and (max-width: 980px) {
    ul.form-input-item .publi-other-tab li:nth-child(2) {
        width: 71%;
    }
}


ul.form-input-item .publi-other-tab input.other-money {
    width: 90%;
    border: none;
    outline: none;
    padding-left: 6px;
   
}

ul.form-input-item .publi-other-tab .other-tab-money {
    font-size: 14px;
    font-weight: 400;
    color: #747474;
} 
ul.form-input-item .form-radio {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    padding-left: 30px;
    font-size: 14px;
    color: #333;
    line-height: 16px;
    cursor: pointer;
    margin-right: 20px; /* 增加右边的间隔 */
    top:8px;

}
ul.form-input-item .form-radio:last-child {
    margin-right: 0; /* 取消最后一个元素的右边距 */
}
.form-radio::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 4px;
    transform: translateY(-50%);
    transition: background 0.3s, border-color 0.3s;
}

.form-radio.current::before {
    background: #f38a69; /* 选中时背景色 */
    border-color: #f38a69;
}

.form-radio.current::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 45%;
    width: 8px;
    height: 4px;
    background: transparent;
    border: 2px solid #fff; /* 勾选图标的颜色 */
    border-width: 0 0 2px 2px;
    border-radius: 2px;
    transform: translateY(-50%) rotate(-45deg); /* 旋转形成勾选形状 */
}

.form-radio:hover::before {
    border-color: #f38a69; /* 鼠标悬停时边框颜色 */
}

ul.form-input-item .payment-method {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border: 1px solid #efefef;
    margin-right: 10px; /* 增加右边的间隔 */
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    padding-left: 20px;
}

/* Responsive adjustments */
@media screen and (max-width: 980px) {
    ul.form-input-item .payment-method {
        width: 88px;
        margin-top: 10px;
    }
}

ul.form-input-item .payment-method:last-child {
    margin-right: 0; /* 取消最后一个元素的右边距 */
}
ul.form-input-item .payment-method::before {
    content: '';
    position: absolute;
    left: 8px; /* 距离左边的距离 */
    top: 50%;
    width: 20px; /* 图标宽度 */
    height: 20px; /* 图标高度 */
    background-size: cover; /* 确保图标按比例缩放 */
    background-position: center; /* 图标居中 */
    transform: translateY(-50%); /* 垂直居中对齐 */
}

ul.form-input-item .payment-method[data-method="1"]::before {
    background-image: url('/images/wechat-icon.png'); /* 微信图标 */
}

ul.form-input-item .payment-method[data-method="2"]::before {
    background-image: url('/images/alipay-icon.png'); /* 支付宝图标 */
}

ul.form-input-item .payment-method.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 10px solid transparent; /* 上边框透明 */
    border-left: 10px solid transparent; /* 左边框透明 */
    border-bottom: 10px solid #f00; /* 下边框颜色 */
    border-right: 10px solid #f00; /* 右边框颜色 */
}
ul.form-input-item .payment-method.active .icon {
    position: absolute;
    bottom: 2px;
    right: 3px;
    width: 4px;
    height: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    z-index: 1;
}
.form-agreement {
    padding-left: 210px;
    box-sizing: border-box;
    margin-bottom: 20px;
    margin-top: 30px;
    display: inline-flex;
}

/* Responsive adjustments */
@media screen and (max-width: 980px) {
    .form-agreement {
        padding-left: 0px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 60px;
    }
}

.form-agreement label {
    font-size: 14px;
    color: #555;
    display: block;
}
.form-agreement .agree-file {
    font-size: 14px;
    color: #ff0000; /* 协议文件的颜色 */
    cursor: pointer; /* 协议文件文本变成手型光标 */
}


/* 捐赠证书相关样式 */
.container{
    width: 100%;
    min-height: 100%;
    position: relative;
}

.certificate-tips-resul {
    background: #EFEFEF;
    padding: 15px 0;
    text-align: center;
    margin-bottom: 20px;
    margin: 30px auto;
    max-width: 1120px;
}

/* Responsive adjustments */
@media screen and (max-width: 980px) {
    .certificate-tips-resul {
        margin: 20px;
    }
}

.certificate-tips-resul .certificate-success-box {
    padding-left: 40px;
    background: url(/images/icon_success.png) no-repeat;
    height: 30px;
    line-height: 30px;
    display: inline-block;
    font-size: 16px;
    color: #2b2b2b;
    font-weight: 600;
}

/* .certificate-content .certificate-box {
    text-align: center;
    width: 75%;
    margin: auto;
    max-width: 550px;
    
}


.certificate-content .certificate-box img {
    width: 100%;
} */

.certificate-content .certificate-notice{
    margin: 20px;
    font-size: 16px;
    color: rgba(52, 52, 52, 1);
    text-align: center;
    line-height: 20px;
   
}
.certificate-content .certificate-btn {
    text-align: center;
    line-height: 35px;
}

/* Responsive adjustments */
@media screen and (max-width: 980px) {
    .certificate-content .certificate-btn {
        display: block;
    }
}


.certificate-btn button {
    width: 180px;
    padding: 14px;
    background-color: #f52323;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 20px;
    cursor: pointer;
    margin: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;

}

.certificate-btn button:hover {
    background: linear-gradient(45deg, #f52323, #ff6f6f); /* 渐变背景色 */
    transform: scale(1.05); /* 放大按钮 */
}



.certificate-box {
    width: 718px;
    height: 1134px;
    margin: auto;
    position: relative;
    text-align: center;
    background-image: url('./lib/images/bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    box-sizing: border-box;
    overflow: hidden;
    border: none;

    position: fixed;
    top: -2000px;
}

.certificate-title {
    margin-top: 174px;
    color: #A31418;
    font-size: 58px;
    letter-spacing: 6px;
    font-family: SimHei, serif;
}

.donor-name {
    color: #A31418;
    font-size: 32px;
    box-sizing: border-box;
}

.flower-image {
    margin-top: 40px;
}

.flower-image img {
    width: 70%;
    height: auto;
}

.donation-message {
    margin-top: 20px;
    color: #1A3253;
    font-size: 26px;
    font-family: SimHei, serif;
}

.message-text {
    margin: auto;
    line-height: 42px;
    padding-left: 100px;
    padding-right: 100px;
}

.certificate-number {
    margin-top: 140px;
    color: #A31418;
    font-size: 22px;
    font-family: SimHei, serif;
}

.certificate-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 0 120px;
    box-sizing: border-box;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 100px;
    height: auto;
}

.qr-text {
    font-size: 14px;
}

.seal {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.seal-text {
    font-size: 16px;
    position: relative;
    z-index: 1;
    top: 30px;
}

.seal-image {
    width: 120px;
    height: auto;
    position: absolute;
    top: -37px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.image-box{
   text-align: center;
}
.image-box img{
    width:90%;
    max-width: 500px;
    display: none;
    
}


/* 捐赠查询页面的主要样式 */
   /* 基础样式 */

   .wrapper {
    background-color: #ffffff; /* 背景颜色设置为白色 */
}

/* 左侧导航 */
.content-left {
    width: 20%;
    float: left;
    margin-top: -90px;
    border-radius: 4px;
    overflow: hidden;
}
@media screen and (max-width: 980px) {
    .content-left {
        /* display: none; */
        width: 100%;
        float: none;
        margin: 0 0 20px 0;
    }
}

/* 样式 for .left-title */
.left-title {
    display: flex; /* 使用 flexbox 布局 */
    align-items: center; /* 垂直居中对齐 */
    justify-content: center; /* 水平居中对齐 */
    height: 80px; /* 减小高度 */
    background-color: #D43030;
    color: white;
    padding: 0 20px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.left-title i {
    font-size: 24px; /* 减小图标大小 */
    margin-right: 10px; /* 图标和文字的间距 */
    color: #fff;
}

.left-title .title-text {
    font-size: 24px; /* 减小字体大小 */
    font-weight: 700;
    color: #fff;
}


.left-menu {
    background-color: #fff;
}

.left-menu .menu-content {
    display: flex;
    flex-direction: column; /* 菜单项纵向排列 */
    background-color: #F4F4F4;
}

/* 左侧菜单基础样式 */
.left-menu .menu-content .menu-list {
    position: relative;
    min-height: 60px;
    line-height: 60px;
    border-bottom: 1px solid #fff;
}

.left-menu .menu-content .menu-list a {
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: #333;
    text-decoration: none;
    height: 100%;
    font-size: 20px;
    transition: all 0.3s ease;
    justify-content: center;
}
.left-menu .menu-content .menu-list a span{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 菜单hover状态 */
.left-menu .menu-content .menu-list a:hover {
    background-color: #FF7B7B;
    color: #fff;
}

/* 菜单active状态 */
.left-menu .menu-content .menu-list.active {
    background-color: #FF5454;
}

.left-menu .menu-content .menu-list.active a {
    color: #fff;
}

/* 左侧小圆点图标 */
.menu-left-icon {
    display: inline-block;
    width: 3px;
    height: 3px;
    background-color: #999;
    margin-right: 8px;
    border-radius: 50%;
}

.menu-list.active .menu-left-icon,
.menu-list:hover .menu-left-icon {
    background-color: #fff;
}

.content-left .wechat-qrcode {
    text-align: center; /* 内容居中对齐 */
    padding: 20px;
    border-top: 2px solid #fff; /* 上边框，白色 */
    background-color: #F4F4F4; /* 默认背景色 */

}

.content-left .wechat-qrcode .qrcode-img {
    width: 100px; /* 设置二维码图片宽度 */
    height: 100px; /* 设置二维码图片高度 */
    display: block; /* 确保图片是块级元素 */
    margin: 0 auto; /* 图片水平居中 */
}

.content-left .wechat-qrcode .qrcode-text {
    font-size: 12px; /* 设置文字大小 */
    color: #000; /* 设置文字颜色 */
    margin-top: 5px; /* 文字与二维码之间的距离 */
}


.menu-list.active::after {
    content: ""; /* 伪元素内容为空 */
    position: absolute; /* 绝对定位 */
    top: 50%; /* 从顶部 50% 的位置开始 */
    right: 10px; /* 离右边缘 10px */
    height: 50%; /* 高度为菜单项的 50% */
    width: 4px; /* 竖线的宽度 */
    background-color: #fff; /* 竖线的颜色 */
    transform: translateY(-50%); /* 垂直居中对齐 */
}
/* 移动端箭头图标样式 */
.left-title .mobile-arrow {
    display: none;
}

@media screen and (max-width: 980px) {
    .left-title {
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        height: 50px;
        padding: 0 10px;
        font-size: 16px;
    }

    .left-title .title-text {
        font-size: 16px;
    }
    .left-title  i {
        font-size: 16px;
    }   
    .left-menu .menu-content {
        display: none;
    }
    .left-menu .menu-content .menu-list {
        height: 40px;
        line-height: 40px;
    }
    .left-menu .menu-content .menu-list a {
        font-size: 16px;
    }
    /* 移动端箭头图标样式 */
    .left-title .mobile-arrow {
        display: block;
        position: absolute;
        right: 15px;
        font-size: 16px;
        transition: transform 0.3s ease;
    }

    /* 菜单内容样式 */
    .left-menu .menu-content {
        display: none; /* 默认隐藏 */
        background: #F4F4F4;
    }

    .content-left .wechat-qrcode {
        display: none;
    }
}


/* 右侧内容 */
.content .right {
    width: 100%;
    /* width: 75%; */
    float: right;
    padding-left: 20px;
    padding-bottom: 40px;
}
@media screen and (max-width: 980px) {
    .content .right {
       width: 100%;
       padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
}

/* 右侧内容 */
.content .right75 {
    width: 75%;
    float: right;
    padding-left: 20px;
    padding-bottom: 40px;
}
@media screen and (max-width: 980px) {
    .content .right75 {
       width: 100%;
       padding-left: 15px;
       padding-right: 15px;
       box-sizing: border-box;
    }
}

.right-breadcrumb {
    margin-bottom: 20px;
}

.right-title {
    display: flex; /* 使用 flexbox 布局 */
    align-items: center; /* 垂直居中对齐 */
    width: 100%; /* 确保容器宽度为 100% */
    position: relative; /* 相对定位，为红线提供定位上下文 */
    margin-bottom: 20px 

}

.title-chinese {
    font-size: 24px; /* 中文标题的字体大小 */
    font-weight: bold; /* 中文标题加粗 */
    margin-right: 10px; /* 中文标题和英文标题之间的间距 */
}

.title-english {
    font-size: 16px; /* 英文标题的字体大小 */
    flex: 1; /* 使英文标题容器填充剩余的宽度 */
    position: relative; /* 相对定位，为红线提供定位上下文 */
}

.red-line {
    height: 2px; /* 红线的高度 */
    background-color: #D43030; /* 红线的颜色 */
    width: 100%; /* 红线的宽度延伸到英文标题容器的宽度 */
    position: absolute; /* 绝对定位 */
    bottom: -5px; /* 红线距离英文标题底部的距离 */
    left: 0; /* 红线从容器的左边缘开始 */
    z-index: 0; /* 确保红线在文本下方 */
}



/* 标签切换 */
.tab-switch {
    display: flex;
}

.tab-switch .tab-item {
    padding: 10px 20px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    cursor: pointer;
    text-align: center;
    background-color: #EDEDED;
}

.tab-switch .tab-item:last-child {
    margin-right: 0;
}

.tab-switch .tab-item.active {
    background-color: #D43030;
    font-weight: bold;
    color: #fff;
}


/* 搜索条件 */
.search-section {
    margin-bottom: 20px;
    background-color: #FAFAFA; /* 更新背景色 */
}

.search-notice {
    font-size: 14px;
    color: #D43030;
    padding: 20px;
}

@media screen and (max-width: 980px) {
    .search-notice {
       display: none;
    }
}


/* 搜索条件容器 */
.search-criteria,
.usage-search-criteria{
    padding: 0 20px 20px 20px;
    
    margin-bottom: 20px; /* 下外边距 */
}

/* 行内元素的样式 */
.search-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px; /* 行间距 */
}

/* 标签样式 */
.search-row label {
    margin-right: 10px; /* 标签和输入框之间的间距 */
    min-width: 80px;
}

/* 分隔符样式 */
.search-row span {
    font-size: 14px; /* 字体大小，和输入框一致 */
    color: #333; /* 文字颜色，与输入框一致 */
    margin-right: 10px; /* 分隔符与其他元素的水平间距 */
    white-space: nowrap; /* 防止分隔符换行 */
}


/* 输入框样式 */
.search-input {
    padding: 8px 12px;
    border: 1px solid #ccc; /* 边框颜色 */
    border-radius: 4px; /* 圆角 */
    margin-right: 10px; /* 输入框之间的间距 */
    font-size: 14px; /* 字体大小 */
    flex: 1; /* 选择框占据剩余空间 */

}

/* 特定输入框和选择框的样式 */
.date-input, .amount-input, .text-input, .select-input {
    width: 180px; /* 设置宽度 */
}

/* 选择框样式 */
.select-input {
    width: 200px; /* 选择框宽度 */
}

/* 搜索按钮和重置按钮样式 */
.search-actions {
    display: flex; /* 使用 flexbox 布局 */
    align-items: center; /* 垂直居中对齐 */
    margin-right: 10px;
}

.search-btn, .reset-btn, .usage-search-btn, .usage-reset-btn {
    padding: 8px 12px; /* 内边距 */
    border: none; /* 去掉��认边框 */
    border-radius: 4px; /* 圆角边框 */
    color: white; /* 文字颜色 */
    background-color: #D43030; /* 背景颜色 */
    cursor: pointer; /* 鼠标指针为手型 */
    margin-left: 10px; /* 左侧外边距 */
}

.reset-btn,.usage-reset-btn {
    background-color: #6c757d; /* 重置按钮的背景颜色 */
}


/* 鼠标悬停效果 */
.search-btn:hover,.usage-search-btn:hover {
    background-color: #a62d2a; /* 悬停时的背景色 */
}

.reset-btn:hover,.usage-reset-btn:hover {
    background-color: #5a6268; /* 悬停时的背景色 */
}

.toggle-container {
    display: none;
}

@media screen and (max-width: 980px) {
    .toggle-container {
        display: none;
        cursor: pointer;
        padding: 10px;
        border-top: 1px solid #ddd;
        margin-top: 10px;
        text-align: center;
    }
    .toggle-text {
        flex: 1;
        font-size: 14px;
    }
    .toggle-arrow {
        color: #CCCCCC;
        font-size: 18px;
        transition: transform 0.3s ease;
    }
    .search-section.show .toggle-arrow {
        transform: rotate(180deg); /* 向上箭头 */
    }
}

.search-row-mobile
    {
        display: none;
       
    }


@media screen and (max-width: 980px) {
    .collapsed
    {
        display: none;
    }
    /* 调整搜索条件容器的内边距 */
    .search-criteria,
    .usage-search-criteria {
        padding: 10px;
    }

    /* 将行内元素调整为块级元素，垂直排列 */
    .search-row {
        display:block;
        align-items: flex-start; /* 左对齐 */
        margin-bottom: 0;
    }

    /* 移除或减少标签与输入框之间的间距 */
    .search-row label {
        display: inline-block;
        width: 80px; /* 设置 label 的固定宽度，确保对齐 */
        text-align: left;
    }

    /* 分隔符样式调整 */
    .search-row span {
        margin-bottom: 10px; /* 分隔符在移动端增加底部间距 */
        margin-right: 0;
        display:none;
    }

    /* 调整输入框的宽度 */
    .search-input {
        display: inline-block;
        width: calc(100% - 140px); /* 根据 label 的宽度设置输入框宽度 */
        margin-right: 10px;
        margin-bottom: 10px;
    }

    /* 设置特定输入框的宽度自适应 */
    .date-input, .amount-input, .text-input{
        /* width: auto; 
        box-sizing: border-box;  */
        display: inline-block;
        width: calc(100% - 140px);
    }
    .select-input{
        width: calc(100% - 115px);
    }
    #start-date {
        margin-right: 10px;
    }
    #end-date {
        margin-left: 94px; /* 手动补充偏移，使它与 start-date 对齐 */
    }
    #amount-max{
        margin-left: 94px;
    }

    #usage-start-date{
        margin-right: 10px;
    }
    #usage-end-date{
        margin-left: 94px;
    }
    #usage-amount-max{
        margin-left: 94px;
    }

    /* 搜索和重置按钮居中排列，且全宽度 */
    .search-actions {
        width: 100%;
        justify-content: space-between; /* 按钮两端对齐 */
    }

    .search-btn, .reset-btn,
    .usage-search-btn, .usage-reset-btn {
        width: 48%; /* 每个按钮占据48%的宽度 */
        margin-left: 0;
    }


    /* 移动端搜索控制 */

    .search-row-mobile
    {
        
        display: flex;
        flex-direction:row;
        margin-top: 10px;
    }

    .mobile-search-controls,
    .usage-search-row-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
    }
  
    .search-btn-mobile,
    .usage-search-btn-mobile
    {
        
        padding: 8px 12px;
        border: none;
        border-radius: 4px;
        color: white;
        background-color: #D43030;
        cursor: pointer;
        margin-left: 10px;
        margin-right: 10px;
    }

    .filter-toggle-container,
    .usage-filter-toggle-container {
        display: flex;
        align-items: center;
        cursor: pointer;
        color: #CCCCCC; /* 文字颜色 */
    }

    .filter-toggle-text,
    .usage-filter-toggle-text {
        margin-right: 5px;
    }

    .filter-toggle-arrow,
    .usage-filter-toggle-arrow {  
        font-size: 16px; /* 可以调整箭头大小 */
    }


}



/* 捐赠总收入和捐赠人次 */
.donation-summary, .usage-summary,.materials-summary{
    padding-left: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.summary-item {
    display: inline-block; /* 每个项��同一行中显示 */
    margin-right: 30px; /* 每个项之间的间距 */
}

.summary-label {
    font-size: 16px; /* 标签字体大小 */
    color: #333; /* 标签文字颜色 */
    display: inline-block;
    height: 38px;
    vertical-align: middle;
}

.summary-value-amount {
    font-size: 20px; /* 数字字体大小 */
    font-weight: bold; /* 数字字体加粗 */
    color: #D43030; /* 捐赠总收入金额颜色 */
}

.amount,.people,.usage-amount,.usage-count {
    
    font-size: 34px;
}

.summary-value-people,.summary-value-count {
    font-size: 20px; /* 数字字体大小 */
    font-weight: bold; /* 数字字体加粗 */
    color: #FF8D1A; /* 捐赠人次金额颜色 */
}

@media screen and (max-width: 980px) {
    .donation-summary,
    .usage-summary {
        
        text-align: left;
        padding-left: 0;
    }
    .summary-item,
    .usage-summary-item {
        margin-right: 0px; /* 每个项之间的间距 */
    }
    .amount,.people,
    .usage-amount,.usage-count {
        font-size: 24px;
    }
    
}


/* 捐赠明细列表 */
.donation-list,.usage-list,.materials-list {
    width: 100%; /* 确保容器宽度填满 */
    border-collapse: collapse; /* 移除表格内边距，边框合并 */
    border: 1px solid #F5F5F5; /* 外部边框 */
}
/* 移动端样式 */
@media (max-width: 980px) {
    .donation-list,.usage-list,.materials-list {
        border: none; /* 移除外部边框 */
    }
}
.donation-item,.usage-item,.materials-item {
    display: flex; /* 使用 flexbox 布局 */
    justify-content: space-between; /* 在横向上分布项 */
    padding: 10px; /* 内边距 */
    border-bottom: 1px solid #EFEFEF; /* 行之间的下边框 */
}

.donation-item.head,.usage-item.head,.materials-item.head {
    font-weight: bold; /* 标题字体加粗 */
    background-color: #EFEFEF; /* 背景颜色，突出显示标题行 */
    text-align: left; /* 标题文本左对齐 */
    font-size: 16px; /* 标题字体大小 */
    position: relative; /* 确保对齐方式正确 */
}

.donation-item:not(.head),.usage-item:not(.head),.materials-item:not(.head) {
   
}

.donation-item > div,.usage-item > div,.materials-item > div {
    /* flex: 1; 确保所有项宽度相等 */
    font-size: 14px; /* 数据字体大小 */
    padding: 5px; /* 内边距，确保内容与边框之间有间距 */
}

/* 各列的宽度比例设置 */
.donation-time {
    flex: 2; /* 时间列占2份宽度 */
}

.donation-project {
    flex: 3; /* 项目列占3份宽度 */
}

.donation-donor {
    flex: 2; /* 捐赠人列占2份宽度 */
}

.donation-amount {
    flex: 2; /* 金额列占1份宽度 */
}

.donation-source {
    flex: 1; /* 数据来源列占2份宽度 */
}

.donation-payment {
    flex: 1; /* 支付方式列占1份宽度 */
    text-align: center;
}

.usage-date,
.usage-amount,
.usage-source,
.usage-recipient,
.usage-purpose {
    flex: 1; /* 支付方式列占1份宽度 */
    text-align: left;
}

.materials-time,.materials-donor,.materials-materials,.materials-amount,.materials-unit,.materials-price,.materials-remark,.materials-recipient,.materials-source{
    flex: 1; /* 捐赠人列占2份宽度 */
}

.table-responsive {
    width: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* 为iOS设备添加惯性滚动 */
}
/* 确保表格内容最小宽度 */
@media screen and (max-width: 980px) {
    .table-responsive {
        overflow-x: auto;
    }
    .materials-list,.usage-list {
        min-width: 600px; /* 可以根据实际需求调整 */
    }
}

@media screen and (max-width: 980px) {

    .donation-item.head{
        display: none;
    }

    .donation-item {
        display: flex;
        flex-wrap: wrap; /* 允许内容换行 */
        justify-content: space-between; /* 让子元素均匀分布到左右两边 */

    }

    .donation-item > div {
        /* flex-basis: 50%; 每个子元素占据 50% 的宽度，即两列布局 */
        box-sizing: border-box; /* 确保 padding 和 border 不影响宽度 */
        padding: 10px; /* 给每个元素添加一些间距 */
    }
    /* 调整列的顺序 */
    .donation-amount {
        order: 2; /* 捐赠金额排第一 */
        flex-basis: 40%; 
        text-align: right;
    }
    .donation-project {
        order: 3;
        flex-basis: 60%; 
    }
    .donation-donor {
        order: 1;
        flex-basis: 60%; 
    }
    .donation-source {
        order: 4;
        flex-basis: 40%; 
        text-align: right;
    }
    .donation-payment {
        order: 6;
        flex-basis: 40%; 
        text-align: right;
    }
    .donation-time {
        order: 5; /* 捐赠日期放到最后 */
        flex-basis: 60%; 
    }
    
}

.payment-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle; /* 保持图标与文字的垂直对齐 */
    margin-left: 5px; /* 图标与前面的文字之间的间距 */
}


/* 首页通用样式开始 */

.pc_header {
    position: relative;
    z-index: 2;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

@media screen and (max-width: 1300px) {
    .pc_header{
        position: relative;
    }
}

.pc_header_relative {
    position: relative;
    background-color: #D43030;
}

.pc_header:hover {
    
}

.pc_header_relative:hover {
    background-color: #D43030;
}

.pc_header .pc_header_content {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.pc_header .pc_header_content .header_content_logo {
    display: inline-block;
    line-height: 80px;
}

.pc_header .pc_header_content .header_content_logo img {
    height: 60px;
}
.pc_header .pc_header_content .header_content_right {
    display: flex;
    align-items: center;
    padding-right: 15px;
}

.pc_header .pc_header_content .header_content_right .menu ul li {
    margin-right: 47px;
    position: relative;
}

.pc_header .pc_header_content .header_content_right .menu ul li:last-child {
    margin-right: 50px; /* 最后一个li不需要右边距 */
}


/* 第三个菜单项设置为绝对定位，不占位，主要是兼容另外一个二级菜单 */
.pc_header .pc_header_content .header_content_right .menu ul li:nth-child(3) {
    position: relative;
}

.pc_header .pc_header_content .header_content_right .menu ul li .menu_title {
    font-size: 16px;
    color: #383838;
    display: inline-block;
    line-height: 80px;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    font-weight: 700;

}

.pc_header .pc_header_content .header_content_right .menu ul li .menu_title b {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 100%;
    background: #fff;
    margin: 0px 5px;
    transition: all 0.3s ease;
    -webkit-transform: all 0.3s ease;
}

.pc_header .pc_header_content .header_content_right .menu ul li:hover .menu_title b {
    background: #D43030;
    transition: all 0.3s ease;
    -webkit-transform: all 0.3s ease;
}

.pc_header .pc_header_content .header_content_right .menu ul li.on .menu_title b {
    background: #D43030;
    transition: all 0.3s ease;
    -webkit-transform: all 0.3s ease;
}

.pc_header .pc_header_content .header_content_right .menu ul li .menu_title i {
    margin-left: 5px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    transition: all 0.3s ease;
    -webkit-transform: all 0.3s ease;
}

.pc_header .pc_header_content .header_content_right .menu ul li:hover .menu_title i {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    transition: all 0.3s ease;
    -webkit-transform: all 0.3s ease;
}

/* 重写二级菜单 */
.pc_header .pc_header_content .header_content_right .menu ul li .DropDown2 {
    position: absolute;
    background: rgba(0, 0, 0, .2);
    height: 0px;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
    padding-bottom: 20px;
    min-width: 200px;
    padding-top: 10px;
    left: 50%;
    transform: translateX(-50%);
}


.pc_header .pc_header_content .header_content_right .menu ul li:hover .DropDown2 {
    opacity: 1;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
    height: auto;
}


.pc_header .pc_header_content .header_content_right .menu ul li .DropDown2 .DropDown_content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* 垂直排列 */
    align-items: flex-start; /* 子元素左对齐 */
    justify-content: flex-start; /* 开始位置排列 */
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown2 a {
    display: flex;                /* 使用 Flexbox 布局 */
    align-items: center;          /* 垂直方向居中对齐 */
    justify-content: center;      /* 水平方向居中对齐 */
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding: 0 20px;             /* 适当设置内边距，确保内容在容器内居中 */
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
    position: relative;           /* 如果有定位需求 */
    height: 50px;                 /* 明确设置高度，确保垂直居中 */
    box-sizing: border-box;       /* 确保内边距和边框在高度计算中 */
    width: 100%;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown2 a:hover dt {
    color: #D43030;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown2 a dt {
    font-size: 16px;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
}




/* 重写二级菜单导航栏结束 */



.pc_header .pc_header_content .header_content_right .menu ul li:hover .DropDown .DropDown_close {
    color: #fff;
    font-size: 28px;
    position: absolute;
    right: 10px;
    top: 10px;
    display: none;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown {
    position: absolute;
    width: 100%;
    left: 0px;
    background: rgba(0,0,0,.2);
    height: 0px;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
}


.pc_header .pc_header_content .header_content_right .menu ul li .DropDown.on {
    -webkit-transform: scale(1) !important;
    -moz-transform: scale(1) !important;
    -ms-transform: scale(1) !important;
    -o-transform: scale(1) !important;
    filter: scale(1) !important;
    filter: transform;
    transition: all 0.3s ease 0s;
    -webkit-transform: all 0.3s ease 0s;
    cursor: pointer;
    opacity: 1;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown.in {
    -webkit-transform: scale(0) !important;
    -moz-transform: scale(0) !important;
    -ms-transform: scale(0) !important;
    -o-transform: scale(0) !important;
    filter: scale(0) !important;
    filter: transform;
    transition: all 0.3s ease 0s;
    -webkit-transform: all 0.3s ease 0s;
    cursor: pointer;
    opacity: 0;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown .DropDown_content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown a:last-child {
    border: 0px;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown a {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding: 27px 0px;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
    margin-right: 100px;
    position: relative;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown a:after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 73px;
    background: rgba(255,255,255,.2);
    right: -50px;
    position: absolute;
    top: 25px;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown a:last-child {
    margin-right: 0px;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown a:last-child:after {
    display: none;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown a.on dt {
    color: #D43030;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown a.on dd span img:nth-child(1) {
    opacity: 0;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown a.on dd span img:last-child {
    opacity: 1;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown a dd {
    font-size: 35px;
    margin-bottom: 15px;
    width: 40px;
    height: 40px;
    position: relative;
    margin: 0 auto;
    margin-bottom: 10px;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown a dd span {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown a dd span img {
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
    position: absolute;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown a dd span img:last-child {
    opacity: 0;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown a:hover dd span img:nth-child(1) {
    opacity: 0;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown a:hover dd span img:last-child {
    opacity: 1;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown a:hover dt {
    color: #D43030;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown a dt {
    font-size: 16px;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
}

.pc_header .pc_header_content .header_content_right .menu ul li .DropDown a:hover dd {
    color: #D43030;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
}

.pc_header .pc_header_content .header_content_right .menu ul li .menu_title:before {
    content: "";
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: inline-block;
    height: 2px;
    background: #D43030;
    opacity: 0;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
}

.pc_header .pc_header_content .header_content_right .menu ul li.on .menu_title:before {
    opacity: 1;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
}

.pc_header .pc_header_content .header_content_right .menu ul li:hover .menu_title:before {
    opacity: 1;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
}

.pc_header .pc_header_content .header_content_right .menu ul li:hover .menu_title {
    color: #D43030;
}

.pc_header .pc_header_content .header_content_right .menu ul li.on .menu_title {
    color: #D43030;
}

.pc_header .pc_header_content .header_content_right .menu ul li:hover .DropDown {
    height: 100%;
    opacity: 1;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
    display: inline-table;
}

.pc_header .pc_header_content .header_content_right .menu ul li:nth-child(3):hover .DropDown {
    max-height: 400px;
    opacity: 1;
    transition: all 0.5s ease;
    -webkit-transform: all 0.5s ease;
}

.pc_header .pc_header_content .header_content_right .header_content_phone {
    font-size: 24px;
    color: #fff;
    line-height: 88px;
}

.pc_header .pc_header_content .header_content_right .header_content_phone span {
    display: inline-block;
    width: 34px;
    height: 34px;
    border-radius: 100%;
    background: #5e5e5c;
    line-height: 34px;
    text-align: center;
    margin-right: 11px;
    position: relative;
    top: -3px;
    color: #fff;
}

.pc_header .pc_header_content .header_content_right .top_right_phone {
    width: 240px;
    height: 94px;
    border-left: 1px solid rgba(255,255,255,.2);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
    padding-right: 80px;
    text-align: right;
}

.pc_header .pc_header_content .header_content_right .top_right_phone .right_phone_dd {
    font-size: 14px;
    color: #fff;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.pc_header .pc_header_content .header_content_right .top_right_phone .right_phone_dd span {
    margin-right: 6px;
}

.pc_header .pc_header_content .header_content_right .top_right_phone .right_phone_dt {
    font-size: 24px;
    color: #fff;
    font-weight: bolder;
    font-family: "GOTHICB";
}

/* 搜索框容器 */
.header_content_right .search-container {
    height: 36px;
    width: 36px;
    position: relative;
    display: inline-block;
    background: transparent;
    z-index: 999;
    border-radius: 20px;
    transition: width 0.3s ease-in-out, background 0.3s ease-in-out;
    overflow: hidden;
    margin-right: 20px;
}
@media screen and (max-width: 1300px) {
    .header_content_right .search-container
    {
        position: absolute;
        width: 100%;
        top: 60px;
       
    }
}

.header_content_right .search-container:hover {
    width: 160px;
    background: rgba(0, 0, 0, 0.4);
}

/* 输入框样式 */
.header_content_right .search-container input.notxt {
    position: absolute;
    width: 100%;
    height: 100%;
    color: #fff;
    left: 0;
    top: 1px;
    padding-left: 36px;
    font-size: 14px;
    background: transparent;
    border: none;
    outline: none;
    box-sizing: border-box;
}
@media screen and (max-width: 1300px) {
    .header_content_right .search-container {
        display: none;
    }
    .header_content_right .search-container input.notxt{
        border: 1px solid #fff;
        margin-right: 100px;
        height: 34px;
        width: calc(100% - 50px);
        margin-left: 10px;
    }
    .header_content_right .search-container:hover {
        width:100%;
        background: none;
        margin-right: 0px;
    }
    
}   
.header_content_right .search-container:hover input.notxt{
    padding-left: 20px;
    padding-right: 36px;
}

/* 提交按钮样式 */
.header_content_right .search-container  button.notxt1 {
    height: 36px;
    width: 36px;
    background: none;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
    float: right;
    z-index: 2;
    position: relative;
}

/* 调整按钮的对齐 */
.header_content_right .search-container  button.notxt1 i {
    display: block;
    margin: auto;
    font-size: 20px; /* 调整图标大小 */
    color: #fff;
}

/* 头部防止换行 */
@media screen and (max-width:1570px) {
    .pc_header .pc_header_content .header_content_right .top_right_phone {
        display:none;
    }
}


@media screen and (max-width:1300px) {
    div.burger {
        z-index: 50;
        height: 50px;
        width: 30px;
        position: relative;
        cursor: pointer;
    }
    div.x, div.y, div.z {
        height: 2px;
        width: 20px;
        position: absolute;
        margin: auto;
        top: 0;
        bottom: 10px;
        background: #D43030;
        border-radius: 2px;
    }
    div.y {
        top: 14px;
        width: 16px 
    }
    div.z {
        top: 28px;
    }
}


@media screen and (max-width: 1420px) {
    .pc_header .pc_header_content .header_content_right .menu ul li{
        margin-right: 40px;
    }
}


@media (max-width:1300px) {
    .pc_header {
        height: 50px;
        border-bottom: 0px;
        display: flex;
        align-items: center;
    }
    .pc_header .pc_header_content {
        width: 96%;
        margin: 0 auto;
        position: relative;
        padding-left: 0 !important;

    }
    .pc_header .pc_header_content .header_content_logo {
        line-height: 50px !important;
    }
    .pc_header .pc_header_content .header_content_logo img {
        height: 35px !important;
    }
    .pc_header .pc_header_content .header_content_right {
        position: fixed;
        left: 0;
        width: 100%;
    }
    .pc_header .pc_header_content .header_content_right .menu
    {
        padding-top: 100px;
        position: fixed; /* 固定位置 */
        width: 0;
        height: 0;
        background: #fff;
        overflow: hidden;
        transition: left 0.3s ease-in-out;
        right: 0px;
        top: 0;
        overflow-y: auto;
    }

    .pc_header .pc_header_content .header_content_right .on
    {
        right: 0px;
        top: 0;
        width: 100% !important;
        height: 100% !important;
        transition: all 0.3s ease;
    }

    .pc_header .pc_header_content .header_content_right .menu ul {
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        max-height: calc(100vh - 100px); /* 动态计算剩余可用高度 */
        
    }
    .pc_header .pc_header_content .header_content_right .menu ul li {
        position: relative;
        margin-right: 0 !important;
    }
    
    .pc_header .pc_header_content .header_content_right .menu ul li a {
        display: inline-block;
        line-height: 50px;
        color: #fff;
        text-decoration: none;
        width: 100%;
        font-size: 1.4rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        transition: all 0.5s;
        text-align: left;
        padding: 0 20px;
        
    }
    .pc_header .pc_header_content .header_content_right .menu ul li .menu_title{
        line-height: 50px !important;
        font-size: 14px !important;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .pc_header .pc_header_content .header_content_right .menu ul li .menu_title:before{
        bottom: 0;
    }

    .pc_header .pc_header_content .header_content_right .menu ul li .menu_title i{
        width: 20px;
        transform: rotate(-90deg);
    }
    .pc_header .pc_header_content .header_content_right .menu ul li:hover .menu_title i{
        transform: rotate(-90deg);
    }

    .pc_header .pc_header_content .header_content_right .menu ul li .DropDown2
    {
        display: none;
        position: relative !important;
        right: 0 !important;
        padding-top: 0px !important;
        padding-bottom: 0px !important;
        background: none !important;
        transition:none !important;
        height: 100%;
        opacity: 1;
    }

    /* 展开状态 */
    /* .pc_header .pc_header_content .header_content_right .menu ul li .DropDown2.open {
        opacity: 1;
        transform: scaleY(1);
        height: 100% !important;
    } */

    .pc_header .pc_header_content .header_content_right .menu ul li .DropDown2 a {
        justify-content: left !important;
    }
    .pc_header .pc_header_content .header_content_right .menu ul li .DropDown2 a dt {
        padding-left: 20px !important;
        font-size: 14px !important;
        line-height: 1.5; /* 设置行高以改善可读性 */
    }



    .pc_header .pc_header_content .header_content_right .menu ul li .DropDown
    {
        display: none;
        position: relative !important;
        right: 0 !important;
        padding-top: 0px !important;
        padding-bottom: 0px !important;
        background: none !important;
        transition:none !important;
        height: 100%;
        opacity: 1;
    }
    .pc_header .pc_header_content .header_content_right .menu ul li:hover .DropDown {
        display: none;
    }
    .pc_header .pc_header_content .header_content_right .menu ul li .DropDown .DropDown_content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .pc_header .pc_header_content .header_content_right .menu ul li .DropDown a
    {
        justify-content: left !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: #383838;
        font-size: 14px;
        text-align: center;
        padding: 0 20px;
        transition: all 0.5s ease;
        -webkit-transform: all 0.5s ease;
        position: relative;
        height: 50px;
        box-sizing: border-box;
        width: 100%;
        margin-right: auto !important;
        padding: 0 20px !important;
    }
    .pc_header .pc_header_content .header_content_right .menu ul li .DropDown a dd {
        display: none;
    }

    .pc_header .pc_header_content .header_content_right .menu ul li .DropDown a dt {
        padding-left: 20px !important;
        font-size: 14px !important;
    }
    .pc_header .pc_header_content .header_content_right .menu ul li .DropDown2 a {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #383838;
        font-size: 14px;
        text-align: center;
        padding: 0 20px;
        transition: all 0.5s ease;
        -webkit-transform: all 0.5s ease;
        position: relative;
        height: 50px;
        box-sizing: border-box;
        width: 100%;
    }
    div.open {
        position: fixed !important;
        right: 2%;
    }
    div.collapse {
        top: 20px !important;
        background: #D43030;
        -webkit-transition: all 70ms ease-out;
        -moz-transition: all 70ms ease-out;
        -ms-transition: all 70ms ease-out;
        -o-transition: all 70ms ease-out;
        transition: all 70ms ease-out;
    }

    div.rotate30 {
        -ms-transform: rotate(30deg);
        -webkit-transform: rotate(30deg);
        transform: rotate(30deg);
        -webkit-transition: all 50ms ease-out;
        -moz-transition: all 50ms ease-out;
        -ms-transition: all 50ms ease-out;
        -o-transition: all 50ms ease-out;
        transition: all 50ms ease-out;
    }
    div.rotate45{
        -ms-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-transition: all 100ms ease-out;
        -moz-transition: all 100ms ease-out;
        -ms-transition: all 100ms ease-out;
        -o-transition: all 100ms ease-out;
        transition: all 100ms ease-out;
    }
    div.rotate135 {
        -ms-transform: rotate(135deg);
        -webkit-transform: rotate(135deg)!important;
        transform: rotate(135deg);
        -webkit-transition: all 100ms ease-out;
        -moz-transition: all 100ms ease-out;
        -ms-transition: all 100ms ease-out;
        -o-transition: all 100ms ease-out;
        transition: all 100ms ease-out;
    }
    
    div.rotate150 {
        -ms-transform: rotate(150deg);
        -webkit-transform: rotate(150deg);
        transform: rotate(150deg);
        -webkit-transition: all 50ms ease-out;
        -moz-transition: all 50ms ease-out;
        -ms-transition: all 50ms ease-out;
        -o-transition: all 50ms ease-out;
        transition: all 50ms ease-out;
    }
    .rotate {
        -ms-transform: rotate(0deg) !important;
        -webkit-transform: rotate(0deg) !important;
        transform: rotate(0deg) !important;
    }
}

/* 通知公告样式 start */

.announcement-bar {
    width: 100%;
    overflow: hidden; /* 隐藏超出部分 */
    position: relative;
    padding: 0 10px;
    box-sizing: border-box;
}
@media screen and (max-width: 980px) {
    .announcement-bar {
        padding: 0;
    }
}
.announcement-item {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px; /* 控制每个公告的高度 */
    border: 1px solid #EFEFEF;
    padding: 2px;
}

.announcement-title {
    font-weight: bold;
    margin-right: 10px;
    width: 80px;
    height: 100%;
    opacity: 1;
    background:#D43030;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* 阻止公告标题部分缩小 */
}

.announcement-content {
    flex-grow: 1;
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}
.announcement-content a {
    color:#000000; /* 链接颜色 */
    text-decoration: none; /* 去掉下划线 */
    font-size: 20px; /* 确保字体大小一致 */
    font-weight: 400; /* 确保字体粗细一致 */
    line-height: 28.96px; /* 确保行高一致 */
}

.announcement-content a:hover {
    color: #D43030;
}
.announcement-time {
    font-size: 20px;
    color: rgba(166, 166, 166, 1);
    flex-shrink: 0; /* 阻止时间部分缩小 */
    white-space: nowrap; /* 强制时间部分不换行 */
    padding-right: 5px;
}

/* 针对移动端优化 */
@media (max-width: 980px) {
    
    .announcement-title {
        width: 60px; /* 保持足够宽度 */
        font-size: 18px; /* 缩小字体大小 */
    }
    .announcement-content a{
        font-size: 16px; /* 缩小内容字体大小 */
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        line-height: normal;
    }
    .announcement-time {
        font-size: 16px; /* 缩小时间字体大小 */
    }
}

/* 通知公告样式 end */



/* 工作动态 start */
.dynamic-container {
    background: #fff;
    margin-top: 20px;
}

.index_title {
    display: flex; /* 使用 flexbox */
    justify-content: space-between; /* 左右对齐 */
    align-items: center; /* 垂直居中对齐 */
    padding: 10px 10px 10px 20px;
    color: #111;
    text-decoration: none; /* 去掉链接下划线 */
    background: left center no-repeat; /* 设置背景图片位置 */
    background-image: url(https://img.js.design/assets/img/63635916f81ea982ed991c0f.png#b7c31f48881fac9e4ebe249602b1a3e5);
    background-size: 38px 53px; /* 根据需要调整背景图片大小 */
}

.index_title2 {
    display: flex; /* 使用 flexbox */
    justify-content: space-between; /* 左右对齐 */
    align-items: center; /* 垂直居中对齐 */
    padding: 10px;
    color: #111;
    text-decoration: none; /* 去掉链接下划线 */
}


/* 工作动态图标 */
.dynamic-title .title-container::before {
    content: "\f0c9"; /* 菜单图标 */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 20px;
    margin-right: 10px;
    color: #D43030;
}

/* 通用标题图标 */
.title-container::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 20px;
    margin-right: 10px;
    color: #D43030;
}
/* 慈善项目图标 */
.comm-title .title-container::before {
    content: "\f0c9"; /* 菜单图标 */
}
/* 慈善项目图标 */
.project-title .title-container::before {
    content: "\f004"; /* 爱心图标 */
}

/* 业务活动图标 */
.activity-title .title-container::before {
    content: "\f0ae"; /* 任务图标 */
}

/* 工作动态图标 */
.work-title .title-container::before {
    content: "\f0c0"; /* 用户组图标 */
}

/* 媒体转发图标 */
.media-title .title-container::before {
    content: "\f0c1"; /* 链接图标 */
}

/* 决预算公开图标 */
.budget-title .title-container::before {
    content: "\f200"; /* 货币图标 */
}

/* 人道学堂图标 */
.school-title .title-container::before {
    content: "\f51c"; /* 教育/学校图标 */
}

/* 捐赠动态图标 */
.donationtitle .title-container::before {
    content: "\f51e"; /* 捐赠图标 */
}

/* 捐赠方式图标 */
.donation-mode-title .title-container::before {
    content: "\f4c0"; /* 捐赠方式图标 */
}

/* 地市动态图标 */
.city-news-title .title-container::before {
    content: "\f3c5"; /* 地图标记图标 */
}

.title-container {
    display: flex; /* 使用 flexbox */
    align-items: center; /* 垂直居中对齐 */
}

.content-title-separator{
    height: 3px;
    margin: 4px 10px;
    background: #D43030;
}

.main-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 37.65px;
    color: rgba(0, 0, 0, 1);
    margin-right: 10px; /* 左右间距 */
}

.main-title2 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 28px;
    color: #D43030;
    margin-right: 10px; /* 左右间距 */
}
.subtitle {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0px;
    line-height: 37.65px;
    color: #999; /* 链接颜色 */
}


.more-link {
    font-size: 16px;
    color: #999;
    padding-right: 5px; /* 上边距 */
    transition: all ease-in-out 0.3s;
    display: flex; /* 使用 flexbox */
    align-items: center; /* 垂直居中对齐 */
}
.index_title .more-link:hover,
.index_title2 .more-link:hover {
    padding: 0 30px 0 0;
}
.more-link i {
    margin-left: 5px; /* 图标和文本之间的间距 */
}

@media screen and (max-width: 980px) {
    .index_title{
        padding: 5px 5px 5px 20px ;
        background-size: 35px 45px;
    }
    .index_title .main-title,.index_title .subtitle{
        font-size: 18px;
    }
}

.dynamic-content {
    display: flex; /* 使用 flexbox */
}

.left-section {
    flex: 1; /* 左边占据2/3空间 */
    padding: 10px; /* 内边距 */
}

.right-section {
    flex: 1; /* 右边占据1/3空间 */
    padding: 10px; /* 内边距 */
}

.news-slider {
    height: 440px; /* 设置滑块高度 */
    overflow: hidden; /* 隐藏溢出 */
    position: relative; /* 相对定位 */
    width: 100%; /* 确保滑块占满父元素 */
}

.swiper-slide {
    position: relative; /* 相对定位 */
    max-width: 100%; /* 限制图片最大宽度为父容器的100% */
    height: auto; /* 高度自动，以保持纵横比 */
}
.swiper-slide img {
    width: 100%; /* 限制图片最大宽度为父容器的100% */
    height: auto; /* 高度自动，以保持纵横比 */
    object-fit: cover;
}

.news-title{
    position: absolute;
    background: rgba(0, 0, 0, 0.4);
    height: 60px;
    width: 100%;
    bottom: 0;
    padding-left: 10px;
    color: #fff;
    display: flex;
    align-items: center; /* 垂直居中 */
    box-sizing: border-box;
}
.news-title a{
    width: 100%;
}
.news-title span {
    left: 0;
    max-width: 75%;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 10px;
    font-size: 16px;
    color:#fff;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.news-date {
    position: absolute; /* 绝对定位 */
    top: 10px; /* 底部位置 */
    color: #fff; /* 日期颜色 */
    background: rgba(0, 0, 0, 0.5); /* 背景色 */
    padding: 5px 10px; /* 内边距 */
}

.swiper-pagination-img{
    width: 30% !important;
    right: 0 !important;
    left: unset !important;
    height: 60px;
    bottom: 0px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-pagination-bullet-active{
    background: #D43030 !important;
}

.tab-navigation {
    margin-bottom: 15px; /* 底部间距 */
}

.tab-list {
    list-style: none; /* 去掉列表样式 */
    display: flex; /* 水平排列 */
    padding: 0; /* 去掉内边距 */
    margin: 0; /* 去掉外边距 */
    gap: 20px; /* 水平间距 */
}

.tab-list li {
    cursor: pointer;
    padding: 10px 30px;
    border: 1px solid #e9ecef; /* 你可以调整颜色和粗细 */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 36px;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.tab-list li.active {
    border: 1px solid #D43030; /* 你可以调整颜色和粗细 */
    background-color: #D43030; /* 选中状态的背景色 */
    color: #fff; /* 选中状态的文字颜色 */
}


.item-left {
    flex: 0 0 100px;
    text-align: center;
    background:#F7F8FA;
    display: flex;
    align-items:center;
    box-sizing: border-box;
    flex-direction: column;
    justify-content:space-evenly;
}

.year {
    font-size: 16px;
    color:#808080;
}

.date {
    font-size: 18px;
    color: #383838;
}

.item-right {
    flex: 1;
    padding-left: 15px;
    padding-top: 5px;
    display: flex;
    flex-direction: column;
}
.news-list-container {
    
}

.news-list {
    width: 100%;
}

.news-list .news-item {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
    height: 112px;
}
/* �����择最后一个 .news-item，去除 padding-bottom */
.news-list .news-item:last-child {
    padding-bottom: 0;
    border-bottom: none; /* 如果最后一项不需要底部边框，可以去掉边框 */
}


.news-list .news-item2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ccc;
    text-decoration: none;
    color: inherit;
}

.news-list .news-item2 .list-title {
    font-size: 16px;
    margin-right: 10px;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.news-list .news-item2 .list-date {
    font-size: 14px;
    color: #888;
    white-space: nowrap;
}

.news-list .r-news-title {
    font-size: 18px;
    font-weight: bold;
    overflow: hidden; /* 超出部分隐藏 */
    text-overflow: ellipsis; /* 超出部分用省略号表示 */
    margin-bottom: 10px; /* 添加间距，使标题与简介之间有间距 */
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.news-list .news-description {
    font-size: 14px;
    color: #808080;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制最多显示三行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* 超出部分用省略号表示 */
    line-height: 2.4; /* 设置行间距，值为 1.6，可根据需要调整 */
}

a:hover .year,a:hover .date,a:hover .news-description
{
    color:#D43030;
}

/* 添加移动端的样式 */
@media (max-width: 980px) {
    .dynamic-container{
        transform: translateY(-40px);
    }
    .dynamic-content {
        flex-direction: column; /* 将左右布局改为上下布局 */
    }
    
    .left-section, .right-section {
        flex: 1; /* 左右两部分均占据整个宽度 */
        width: 100%; /* 设置宽度为100% */
        padding: 10px 0; /* 设置上下内边距 */
    }
    .news-slider{
        height: 240px;
    }
    .tab-navigation{
        margin-bottom: 0px;
    }
    .tab-list {
        gap:10px;
    }
    .tab-list li{
        padding: 10px 10px;
        height: 26px;
        font-size: 14px;
    }
    
    .item-left{
        flex: 0 0 50px;
    }
    .item-right{
        justify-content:center;
    }
    .news-list .news-item{
        height: 80px;
    }
    .year {
        font-size: 12px;
    }
    
    .date {
        font-size: 14px;
    }
    .r-news-title{
        font-size: 16px;
    }
    .news-list .news-description{
        font-size: 12px;
        -webkit-line-clamp: 1; /* 限制最多显示三行 */
       
    }
}


/* 工作动态 end */



/* 首页慈善项目列表 start */

.project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.project-list .project-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: calc(50% - 10px);
    display: flex;
    flex-direction: row; /* 横向排列 */
    overflow: hidden;
}

.project-list .item-img {
    flex: 0 0 30%; /* 图片占据30%宽度 */
    padding: 10px; /* 添加内边距 */
    box-sizing: border-box; /* 包括内边距在内的总宽度 */
    display: flex; /* 使其成为一个 flex 容器 */
    align-items: center; /* 垂直居中对齐 */
    justify-content: center; /* 水平居中对齐 */
    height: 100%; /* 确保容器有高度，以便居中 */
}

.project-list .item-img img {
    width: 100%;
    height: auto; /* 自适应高度 */
    object-fit: cover;
    display: block; /* 去掉图片底部的间隙 */
    height: 160px;
}

.project-list .item-content {
    padding: 15px;
    flex: 2; /* 内容占更多空间 */
    display: flex;
    flex-direction: column; /* 垂直排列内容 */
    position: relative;
}

.project-list .item-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    padding-right: 100px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.project-list .info-item {
    display: flex;
    margin-bottom: 10px;
}

.project-list .info-title {
    font-weight: bold;
    color: #666;
    font-size: 14px;
}

.project-list .info-content {
    display: inline-block;
    font-size: 14px;
    color: #FF0000;
}
.project-list .currency {
    font-weight: bold; /* 例如，设置为加粗 */
    color: #f60; /* 例如，设置为橙色 */
}

.project-list .status {
    font-style: italic; /* 例如，设置为斜体 */
    color: #4caf50; /* 例如，设置为绿色 */
}
.project-list .status-end {
    font-style: italic; /* 例如，设置为斜体 */
    color: #ff5722; /* 例如，设置为绿色 */
}
.project-list .item-description {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-list .donate-button {
    position: absolute; /* 绝对定位 */
    top: 10px; /* 距离顶部10px */
    right: 10px; /* 距离右侧10px */
    background-color: #D43030; /* 设置背景颜色 */
    color: #fff; /* 设置字体颜色为白色 */
    padding: 10px 20px; /* 设置内边距 */
    border: none; /* 去掉边框 */
    border-radius: 5px; /* 设置圆角 */
    text-decoration: none; /* 去掉下划线 */
}
/* 新增的样式，用于已结束状态 */
.project-list .donate-button.disabled {
    background-color: #ccc; /* 灰色背景 */
    color: #666; /* 灰色字体 */
    cursor: not-allowed; /* 鼠标光标为禁用状态 */
    pointer-events: none; /* 禁止点击 */
}
.project-list .donate-button:hover {
    background-color: #a52c2c; /* 鼠标悬停时的背景颜色变化 */
    color: #fff;
}

@media (max-width: 980px) {
    .project-list .project-item {
        width: 100%; /* 在小屏幕上堆叠 */
        flex-direction: column; /* 切换为垂直排列 */
    }

    .project-list .item-img {
        width: 100%; /* 图片全宽 */
    }

    .project-list .item-img img{
        height: auto;
    }
    .project-list .item-content {
        padding: 10px; /* 调整内边距 */
    }
}


/* 首页慈善项目列表 end */


/* 首页慈善项目列表2 start */


.project-list-container .project-item2 {
    border-radius: 10px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    padding: 0;
    margin: 20px;
    overflow: hidden;
    text-align: center;
}

.project-list-container .project-logo img {
    width: 100%;
    height: 300px;
    border-bottom: 1px solid #e5e5e5;
}

.project-list-container .item-content2 {
    padding: 15px;
}

.project-list-container .progress-bar-container {
    width: 100%;
    height: 24px;
    position: relative;
    padding-top: 20px;
}

.project-list-container .progress-bar {
    background-color: #e0e0e0;
    width: 100%;
    height: 8px; /* 进度条的高度 */
    position: relative;
    border-radius: 10px;
}

.project-list-container .progress {
    background-color: #ff3b30; /* 红色的进度条 */
    height: 100%;
    border-radius: 10px;
}

.project-list-container .progress-bar-text {
    position: absolute;
    top: -30px; /* 调整文字的位置在进度条上方 */
    transform: translateX(-50%);
    text-align: center;
    background-color: #ff3b30;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 8px;
}
/* 使用伪元素创建箭头 */
.project-list-container .progress-bar-text::after {
    content: '';
    position: absolute;
    top: 100%; /* 箭头位置在文本下方 */
    left: 50%; /* 水平居中 */
    transform: translateX(-50%); /* 水平居中 */
    border-width: 6px; /* 箭头大小 */
    border-style: solid; /* ��头样式 */
    border-color: #ff3b30 transparent transparent transparent; /* 上边框为红色，其他边框透明 */
}

.project-list-container .progress-arrow {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #ff3b30;
    position: absolute;
    top: 100%; /* 箭头位置调整 */
    left: 50%;
    transform: translateX(-50%);
}

.project-list-container .percentage {
    font-weight: bold;
}


.project-list-container .item-info2 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.project-list-container .info-item2 {
    display: flex;
    align-items: center;
}

.project-list-container .info-title {
    font-size: 14px;
    color: #888;
}

.project-list-container .info-content {
    font-size: 16px;
    color: #333;
}

.project-list-container .item-title2 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: left;
    white-space: nowrap; /* 不换行 */
    overflow: hidden; /* 超出部分隐藏 */
    text-overflow: ellipsis; /* 显示省略号 */
}

.project-list-container .project-duration {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
    display: flex;
    align-items: center; /* 使内容垂直居中 */
    justify-content: space-between;
}

.project-list-container .donate-button2 {
    display: block;
    background-color: #DB2525;
    color: white;
    text-decoration: none;
    padding: 10px 0;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
}

.project-list-container .donate-button2:hover {
    background-color: #c9302c;
    transform: scale(1.05);
}

/* 禁用状态的捐款按钮样式 */
.project-list-container .donate-button2.disabled {
    background-color: #ccc;
    color: #999;
    cursor: pointer;
}

.project-list-container .donate-button2.disabled:hover {
    background-color: #bbb;
    transform: scale(1.02);
}

.project-list-container .item-content2 a:hover{
    color: #fff;
}


/* 首页慈善项目列表2 end */


/* 首页捐赠动态 start */


.donation-container .outer-div {
    height:880px
}

@media screen and (max-width: 980px) {
    .donation-container .outer-div {
        height:800px
    }
}
/* 切换按钮样式 */
.donation-container .donation-toggle {
    display: flex;
}

.donation-container .donation-toggle-button {
    padding: 10px 15px; /* 添加内边距 */
    margin-left: 10px; /* 按钮之间的间距 */
    border: 1px solid #ddd; /* 边框 */
    border-radius: 5px; /* 圆角 */
    background-color: #fff; /* 白色背景 */
    color: #333; /* 深色 */
    cursor: pointer; /* 手型光标 */
    transition: background-color 0.3s; /* 添加过渡效果 */
}

.donation-container .donation-toggle-button.active {
    background-color: #D43030; /* 活动按钮背景颜色 */
    color: white; /* 白色字体 */
}

/* 捐赠摘要容器样式 */
.donation-container .donation-summary-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px; /* 添加下边距 */
    height: 270px;
    border-radius: 12px;
    background: linear-gradient(180deg, #FF7E57 0%, #DF0024 100%);
}

/* 捐赠摘要项样式 */
.donation-container .donation-summary-item {
    display: flex;
    flex: 1;
    padding: 40px 60px; /* 为每个项添加内边距 */
    text-align: left; /* 文本左对齐 */
}
.donation-container .icon-container {
    background-color: white; /* 背景颜色为白色 */
    border-radius: 50%; /* 圆形 */
    display: flex; /* 使图标居中 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    width: 60px; /* 容器宽度 */
    height: 60px; /* 容器高度 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 可选的阴影效果 */
    margin-top: 10px;
}
.donation-container .icon-container i {
    color: red; /* 图标颜色为红色 */
    font-size: 24px; /* 图标大小 */
}
.donation-container .donation-user{
    color: #fff; /* 图标颜色为红色 */
    font-size: 50px; /* 图标大小 */
    margin-top: 10px;
}

.donation-container .donation-separator {
    width: 2px; /* 分隔线的宽度 */
    background-color: white; /* 分隔线的颜色 */
    height: 50px; /* 分隔线的高度，根据需要调整 */
    margin-top: 60px; /* 分隔线与两侧项的间距 */
}

/* 捐赠摘要文本样式 */
.donation-container .donation-summary-text {
    margin-left: 20px; /* 添加左侧间距 */
}

/* 捐赠摘要标题样式 */
.donation-container .donation-summary-title {
    font-size: 16px; /* 较小字体 */
    color: rgba(255, 255, 255, 0.9);
}

/* 捐赠金额样式 */
.donation-container .donation-summary-amount {
    font-size: 50px; /* 大字体 */
    color: #fff; /* 深色 */
}

/* 提示信息样式 */
.donation-container .alert-message {
    width: 90%;
    font-size: 14px;
    color: #666; /* 颜色优化 */
    background-color: #FFDED6; /* 背景色 */
    padding: 12px 20px;
    margin: auto;
    border-top-left-radius: 8px; /* 仅左上角圆角 */
    border-top-right-radius: 8px; /* 仅右上角圆角 */
    display: flex;
    align-items: center; /* 垂直居中对齐 */
    transform: translateY(-110px);
    box-sizing: border-box;
}

.donation-container .alert-message i {
    margin-right: 10px; /* 图标和文字之间的间距 */
    color: #DF0024; /* 图标颜色与边框一致 */
    font-size: 18px; /* 图标大小 */
    
}


/* 捐赠动作容器样式 */
.donation-container .donation-actions {
    display: flex;
    justify-content: space-between;
    width: 95%;
    margin: auto;
    border-radius: 10px 10px 80px 10px;
    background: #FFFFFF;
    border: 1px solid #ddd;
    padding: 20px;
    transform: translateY(-110px);
    height: 510px;
    overflow: hidden;
}


.donation-container .scroll-container {
    height: 480px;  /* 根据需求设置容器的高度 */
    overflow: hidden;  /* 隐藏超出部分 */
}
/* 实时榜单容器 */
.donation-container .real-time-list {
    flex: 2;
    padding: 10px; /* 内边距 */
}

/* 标题样式 */
.donation-container .real-time-list-title {
    font-size: 20px; /* 标题大小 */
    font-weight: bold; /* 加粗字体 */
    color: #333; /* 文字颜色 */
    margin-bottom: 15px; /* 标题下方的间距 */
    display: flex;
    align-items: center;
}

.donation-container .real-time-donation-list {
    list-style: none; /* 去除默认列表样式 */
    padding: 0; /* 去除内��距 */
    margin: 0 auto; /* 使列表居中 */
    width: auto; /* 防止列表填满父容器 */
}

.donation-container .real-time-donation-list li {
    display: flex; /* 使每个列表项内的内容水平排列 */
    align-items: center; /* 垂直居中 */
    justify-content: space-between; /* 让内容在两端对齐 */
    padding: 20px 0; /* 添加上下内边距 */
    border-bottom: 1px solid #ddd; /* 添加底部边框 */
    width: 100%; /* 每行填充100%的宽度 */
    margin: 0 auto; /* 让每一行都居中显示 */
    gap: 10px;
}

/* 调整图标样式 */
.donation-container .donation-icon {
    width: 40px; /* 控制图标容器大小 */
    height: 40px;
    border-radius: 50%; /* 圆形背景 */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px; /* 图标与后面的文本间距 */
}

/* �����不�������支付方���设置不同的背景颜色 */
.donation-container .donation-icon.weixin {
    background-color: #4CAF50; /* 微信绿色 */
}
.donation-container .donation-icon.alipay {
    background-color: #1A9FFF; /* 支付宝蓝色 */
}

.donation-container .donation-icon.credit-card {
    background-color: #FFB300; /* 银行��黄�� */
}

.donation-container .donation-icon.cash {
    background-color: #4CAF50; /* 现金绿色 */
}

.donation-container .donation-icon.other {
    background-color: #9C27B0; /* 其他紫色 */
}

.donation-container .donation-icon i {
    color: white; /* 图标颜色 */
    font-size: 20px; /* 图标大小 */
}


/* 调整捐赠��详情 */
.donation-container .donation-details {
    display: flex;
    flex-direction: column; /* 垂直排列捐赠者名字和时间 */
    margin-right: 10px; /* 捐赠者信息与留言之间的间距 */
    gap: 10px;
    flex: 2;
}
.donation-container .donation-donor-name{
    font-size: 14px;
}

.donation-container .real-time-donation-message {
    flex: 1; /* 占据剩余空间 */
    margin-right: 10px; /* 留言与金额之间的间距 */
    flex: 3;
    font-size: 14px;
}

.donation-container .real-time-donation-amount {
    font-weight: bold;
    color: #FF0000;
    text-align: center;
    flex: 1;
}




/* 快捷操作样式 */
.donation-container .quick-actions {
    flex: 1;
}

.donation-container .quick-actions h4 {
    font-size: 18px; /* 中等字体 */
    margin-bottom: 10px; /* 添加下边距 */
}

/* 搜索框样式 */
.donation-container .search-box {
    position: relative; /* 设置相对定位，为子元素的绝对定位提供基础 */
    width: 100%;
    margin: 10px 0 20px;
}

.donation-container .search-box input[type="text"] {
    width: 100%;
    padding: 10px 40px 10px 15px; /* 给右边留出空间放图标 */
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.donation-container .search-button {
    position: absolute; /* 绝对定位，覆盖在文本框右侧 */
    right: 10px; /* 靠右边的距离 */
    top: 50%; /* 垂直居中 */
    transform: translateY(-50%); /* 调整垂直居中的位置 */
    background: none; /* 去除按钮默认背景 */
    border: none; /* 去除按钮默认边框 */
    color: #888; /* 图标颜色 */
    cursor: pointer; /* 鼠标悬停时显示手势 */
    font-size: 18px; /* 图标大小 */
    padding: 0;
}

.donation-container .search-button:hover {
    color: #333; /* 鼠标悬停时的颜色变化 */
}
/* 快捷操作按钮样式 */
.donation-container .quick-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px; /* 按钮之间的间距 */
    text-align: center;
}

.donation-container .quick-action-button-red {
    display: inline-block;
    padding: 20px 15px;
    border-radius: 10px;
    background-color: #DF0024;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.3s ease-in-out; /* 添加缓动效果和变换的过渡 */
    margin: 20px;
    font-size: 16px;
}

.donation-container .quick-action-button-red:hover {
    background-color: #C5001F; /* 微浅一点的红色，保一致性 */
    color: #ffffff; /* 字体颜色保持不变 */
    transform: scale(1.05); /* 增加轻微缩放效果，按钮看起来稍大一些 */

}
/* 按钮红色变体 */
.donation-container .quick-action-button-lightred {
    display: inline-block;
    padding: 20px 15px;
    border-radius: 10px;
    background-color: #ED4A18; /* 使用新颜色 #ED4A18 */
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.3s ease-in-out;
    margin: 20px;
    font-size: 16px;
}

.donation-container .quick-action-button-lightred:hover {
    background-color: #E03F10; /* 悬停时颜色变化为#EF8201 */
    color: #ffffff;
    transform: scale(1.05); /* 增加轻微缩放效果 */
}

/* 按钮橙色变体 */
.donation-container .quick-action-button-orange {
    display: inline-block;
    padding: 20px 15px;
    border-radius: 10px;
    background-color: #D97000; /* 使用橙色 #EF8201 */
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.3s ease-in-out;
    margin: 20px;
    font-size: 16px;
}

.donation-container .quick-action-button-orange:hover {
    background-color: #ED4A18; /* 悬停时颜色变化为#ED4A18 */
    color: #ffffff;
    transform: scale(1.05); /* 增加轻微缩放效果 */
}

/* 移动端样式 */
@media (max-width: 980px) {

    .donation-container .donation-toggle-button{
        padding: 10px 10px;
    }
    
    /* 捐赠摘要项样式：纵向排列 */
    .donation-container .donation-summary-container {
        flex-direction: column; /* 改为纵向排列 */
        align-items: flex-start; /* 水平居中 */
        height: auto; /* 根据内容自动调整高度 */
        padding-bottom: 40px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .donation-container .icon-container{
        width: 40px;
        height: 40px;
    }
    .donation-container .donation-summary-amount{
        font-size: 40px;
    }
    .donation-container .donation-user{
        font-size: 35px;
    }

    .donation-container .donation-summary-item {
        padding: 10px 20px; /* 调整内边距 */
        text-align: center; /* 文本居中对齐 */
    }

    /* 隐藏竖线 */
    .donation-container .donation-separator {
        display: none;
    }
    .donation-container .alert-message{
        font-size: 12px;
        padding: 8px;
    }
    .donation-container .alert-message,
    .donation-container .donation-actions{
        transform: translateY(-54px);
    }
    
    .donation-container .donation-summary-text{
        text-align: left;
    }
    
    
    /* 实时榜单和快捷操作纵向排列 */
    .donation-container .real-time-donation-message{
        display: none;
    }
    .donation-container .donation-actions {
        flex-direction: column;
        width: 100%; /* 宽度设为100% */
        padding: 0 10px; /* 添加左右内边距 */
        box-sizing: border-box;
        border-bottom-right-radius: 20px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
       
    }
    .donation-container .quick-action-button-red,
    .donation-container .quick-action-button-lightred,
    .donation-container .quick-action-button-orange{
        margin: 10px 20px;
    }

    .donation-container .quick-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 10px; /* 添加左右内边距 */
    }

    /* 实时榜单项的调整 */
    .donation-container .real-time-donation-list li {
        flex-direction: row; /* 纵向排列 */
        align-items: center; /* 内��从左对齐 */
        box-sizing: border-box;
    }

    .donation-container .real-time-donation-message, 
    .donation-container .real-time-donation-amount, 
    .donation-container .donation-details {
        text-align: left; /* 文本左对齐 */
        width: 100%; /* 占满整个宽度 */
    }

    .donation-container .real-time-donation-message {
        margin-top: 10px; /* 捐赠信息与其他信息的间距 */
    }

    .donation-container .real-time-donation-amount {
        text-align: left;
        margin-top: 10px;
    }


}


/* 首页捐赠动态 end */

/* 首页捐赠动态2 start */


.donation-container2{
     
}

.donation-container2 .outer-div {
    height:880px
}

@media screen and (max-width: 980px) {
    .donation-container2 .outer-div {
        height:820px
    }
}

/* 捐赠摘要容器样式 */
.donation-container2 .donation-summary-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px; /* 添加下边距 */
    height: 166px;
    background: #D43030;
    margin: 10px;
}

/* 捐赠摘要容器样式 */
.donation-container2 .donation-summary-container .donation-summary-wrapper {
    display: flex;
    flex:1;
}


/* 捐赠摘要项样式 */
.donation-container2 .donation-summary-item {
    display: flex;
    flex: 1;
    padding: 40px 10px; /* 为每个项添加内边距 */
    text-align: center;
    align-items: center;
    justify-content: center;
}
.donation-container2 .icon-container {
    background-color: white; /* 背景颜色为白色 */
    border-radius: 50%; /* 圆形 */
    display: flex; /* 使图标居中 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    width: 60px; /* 容器宽度 */
    height: 60px; /* 容器高度 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 可选的阴影效果 */
    margin-top: 10px;
}
.donation-container2 .icon-container i {
    color: red; /* 图标颜色为红色 */
    font-size: 24px; /* 图标大小 */
}
.donation-container2 .donation-user{
    color: #fff; /* 图标颜色为红色 */
    font-size: 50px; /* 图标大小 */
    margin-top: 10px;
}

.donation-container2 .donation-separator {
    width: 2px; /* 分隔线的��度 */
    background-color: white; /* 分隔线的颜色 */
    height: 50px; /* 分隔线的高度，根据需要调整 */
    margin-top: 60px; /* 分隔线与���侧项的间距 */
}

/* 捐赠摘要文本样式 */
.donation-container2 .donation-summary-text {
    margin-left: 20px; /* 添加左侧间距 */
    display: flex;
    flex-direction: column;
    align-self: center;
    gap: 20px;
}

/* 捐赠摘要标题样式 */
.donation-container2 .donation-summary-title {
    font-size: 20px; /* 较小字体 */
    color: rgba(255, 255, 255, 0.9);
}

/* 捐赠金额样式 */
.donation-container2 .donation-summary-amount {
    font-size: 40px; /* 大字体 */
    color: #fff; /* 深色 */
}


/* 快捷操作按钮样式 */
.donation-container2 .quick-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px; /* 按钮之间的间距 */
    text-align: center;
    justify-content: center;
    margin-right: 20px;
}

/* 公共按钮样式 */
.donation-container2 .quick-action-button {
    display: inline-block;
    padding: 12px 15px;
    border-radius: 5px;
    background-color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.3s ease-in-out;
    margin: 10px;
    font-size: 16px;
    text-align: center;
}

.donation-container2 .quick-action-button:hover {
    transform: scale(1.05); /* 增加轻微缩放效果 */
}

/* 红色按钮 */
.donation-container2 .quick-action-button-red {
    color: #DF0024;
}

.donation-container2 .quick-action-button-red:hover {
    color: #C5001F;
}

/* 浅红色按钮 */
.donation-container2 .quick-action-button-lightred {
    color: #ED4A18;
}

.donation-container2 .quick-action-button-lightred:hover {
    color: #E03F10;
}

/* 橙��按钮 */
.donation-container2 .quick-action-button-orange {
    color: #D97000;
}

.donation-container2 .quick-action-button-orange:hover {
    color: #ED4A18;
}

/* 切换按钮样式 */

.donation-container2 .donation-toggle-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px;
}


.donation-container2 .donation-toggle-container .donation-toggle {
    display: flex;
}

.donation-container2 .donation-toggle-container .donation-toggle-button {
    padding: 10px 15px; /* 添加内边距 */
    border: 1px solid #ddd; /* 边框 */
    border-radius: 5px; /* 圆角 */
    background: #F5F5F5; /* 白色背景 */
    color: #333; /* 深色 */
    cursor: pointer; /* 手型光标 */
    transition: background-color 0.3s; /* 添加过渡效果 */
}

.donation-container2 .donation-toggle-container .donation-toggle-button.active {
    background-color: #D43030; /* 活动按钮背景颜色 */
    color: white; /* 白色字体 */
}
/* 提示信息样式 */
.donation-container2 .alert-message {
    font-size: 14px;
    color: #A6A6A6;
    padding: 12px 10px;
    margin: auto;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    justify-content: flex-end; /* 改为右对齐 */
    flex: 1;
}

.donation-container2 .alert-message i {
    margin-right: 10px; /* 图标和文字之间的间距 */
    color: #A6A6A6; /* 图标颜色与边框一致 */
    font-size: 18px; /* 图标大小 */
}


.donation-container2 .real-time-list-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    font-weight: bold;
    border-bottom: 1px solid #FFC2C2;
    gap: 10px;
}
.donation-container2 .real-time-list-header .header-donation-amount,
.donation-container2 .real-time-list-header .header-donation-type,
.donation-container2 .real-time-list-header .header-donation-time {
    text-align: center; 
}

.donation-container2 .real-time-list-header span {
    font-size: 14px;
    color: #D43030;
}

.donation-container2 .scroll-container {
    height: 480px;  /* 根据需求设置容器的高度 */
    overflow: hidden;  /* 隐藏超出部分 */
}
/* 实时榜单容器 */
.donation-container2 .real-time-list {
    flex: 2;
    padding: 10px; /* 内边距 */
    background: url(https://img.js.design/assets/img/65b0da2446f762273e9160dc.png#d070e1f6259826085b7dc2b5283a691e) ;
    background-size: 100% 100%;
    margin: 10px;
}


.donation-container2 .real-time-donation-list {
    list-style: none; /* 去除默认列表样式 */
    padding: 0; /* 去除内边距 */
    margin: 0 auto; /* 使列表居中 */
    width: auto; /* 防止列表填满父容器 */
}

.donation-container2 .real-time-donation-list li {
    display: flex; /* 使每个列表项内的内容水平排列 */
    align-items: center; /* 垂直居中 */
    justify-content: space-between; /* 让内容在两端对齐 */
    padding: 10px 0; /* 添加上下内边距 */
    border-bottom: 1px solid #FFC2C2; /* 添加底部边框 */
    width: 100%; /* 每行填充100%的宽度 */
    margin: 0 auto; /* 让每一行都居中显示 */
}

/* 调整图标样式 */
.donation-container2 .donation-icon {
    width: 40px; /* 控制图标容器大小 */
    height: 40px;
    border-radius: 50%; /* 圆形背景 */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px; /* 图标与后面的文本间距 */
}

/* 为不同支付方式设置不同的背景颜色 */
.donation-container2 .donation-icon.weixin {
    background-color: #4CAF50; /* 微信绿色 */
}
.donation-container2 .donation-icon.alipay {
    background-color: #1A9FFF; /* 支付宝蓝色 */
}

.donation-container2 .donation-icon.credit-card {
    background-color: #FFB300; /* 银行卡黄色 */
}

.donation-container2 .donation-icon.cash {
    background-color: #4CAF50; /* 现金绿色 */
}

.donation-container2 .donation-icon.other {
    background-color: #9C27B0; /* 其他紫色 */
}

.donation-container2 .donation-icon i {
    color: white; /* 图标颜色 */
    font-size: 20px; /* 图标大小 */
}
.donation-container2 .header-donation-type,
.donation-container2 .real-time-donation-type,
.donation-container2 .header-donor-name,
.donation-container2 .donation-donor-name,
.donation-container2 .header-donation-amount,
.donation-container2 .header-donation-time,
.donation-container2 .real-time-donation-amount,
.donation-container2 .donation-time{
    font-size: 14px;
    flex: 1;
}
.donation-container2 .header-donation-message,
.donation-container2 .real-time-donation-message {
    margin-right: 10px; /* 留言与金额之间的间距 */
    flex: 2;
    font-size: 14px;
}

.donation-container2 .real-time-donation-amount{
    font-weight: bold;
    color: #FF0000;
}

.donation-container2 .real-time-donation-list .real-time-donation-amount,
.donation-container2 .real-time-donation-list .real-time-donation-type,
.donation-container2 .real-time-donation-list .donation-time {
    display: flex;
    justify-content: center;
}


@media screen and (max-width: 980px) {
    .donation-container2 .donation-summary-container {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding-bottom: 20px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .donation-container2 .icon-container{
        width: 40px;
        height: 40px;
    }
    .donation-container2 .donation-summary-amount{
        font-size: 40px;
    }
    .donation-container2 .donation-user{
        font-size: 35px;
    }
    .donation-container2 .donation-summary-text{
        gap: 5px;
    }
    .donation-container2 .donation-summary-title{
        text-align: left;
        font-size: 16px;
    }
    .donation-container2 .donation-summary-amount{
        font-size: 30px;
    }
    .donation-container2 .donation-summary-item {
        padding: 10px 5px; /* 调整内边距 */
        text-align: center; /* 文本居中对齐 */
    }

    /* 隐藏竖线 */
    .donation-container2 .donation-separator {
        display: none;
    }
    .donation-container2 .quick-action-buttons{
        flex-direction: row;
        align-self: center; 
    }

    .donation-container2 .alert-message{
        position: absolute;
        transform: translateY(-36px);
        padding: 0;
    }
    .donation-container2 .donation-toggle-container
    {
        padding-top: 20px;
    }
    .donation-container2 .donation-toggle-container .donation-toggle-button{
        padding: 10px 10px;
    }
    .donation-container2 .real-time-list-header{
        display: none;
    }
    .donation-container2 .donation-actions {
        flex-direction: column;
        width: 100%; /* 宽度设为100% */
        box-sizing: border-box;
        border-bottom-right-radius: 20px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border: none;
    }
    .donation-container2 .real-time-list{
        padding: 0;
    }
    /* 调整图标样式 */
    .donation-container2 .donation-icon {
        width: 30px; /* 控制图标容器大小 */
        height: 30px;
    }
    /* 实时榜单项的调整 */
    .donation-container2 .real-time-donation-list li {
        flex-wrap: wrap;
    }
    .donation-container2 .real-time-donation-list li > * {
        box-sizing: border-box; /* 包含 padding 在内计算宽度 */
    }
    .donation-container2 .real-time-donation-list .donation-donor-name {
        order: 1;
        flex-basis: 60%;
        justify-content: start;
        padding: 5px;
    }
    .donation-container2 .real-time-donation-list  .real-time-donation-amount {
        order: 2;
        flex-basis: 40%;
        text-align: right;
        padding: 5px;
    }
    .donation-container2 .real-time-donation-list .donation-time {
        order: 3;
        flex-basis: 60%;
        justify-content: start;
        padding: 5px;
    }
    .donation-container2 .real-time-donation-list .real-time-donation-type {
        order: 4;
        flex-basis: 40%;
        padding: 5px;
    }
    .donation-container2 .real-time-donation-list .real-time-donation-message {
        order: 5;
        flex-basis: 100%;
        justify-content: start;
        padding: 5px;
    }

}

/* 首页捐赠动态2 end */


/* 通用标题日期列表 start */
/* 业务活动 */
.comm-list {
    display: flex;
    flex-direction: column; /* 垂直排列活动项 */
}

.comm-list .comm-item {
    display: flex; /* 添加 flex 属性 */
    justify-content: space-between; /* 在主轴方向上分配空间 */
    align-items: center; /* 垂直居中对齐 */
    background-color: #fff; /* 项目背景 */
    padding: 15px; /* 内边距 */
    margin-bottom: 10px; /* 项目之间的间距 */
    border-bottom: 1px dashed #ccc; /* 添加下滑虚线 */
    text-decoration: none; /* 去掉链接下划线 */
    color: inherit; /* 继承颜色，确保标题和日期的颜色一致 */
}

.comm-list .list-title {
    font-size: 16px; /* 修改标题字体大小为 16px */
    margin-right: 10px; /* 标题和日期之间的间距 */
    position: relative; /* 设置为相对定位，以便定位伪元素 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.comm-list .list-title::before {
    content: ''; /* 伪元素内容为空 */
    display: inline-block; /* 作为行内块元素显示 */
    width: 10px; /* 点的宽度 */
    height: 10px; /* 点的高度 */
    background-color: #D43030; /* 红色小点的背景色 */
    border-radius: 50%; /* 圆形 */
    position: absolute; /* 绝对定位 */
    left: -15px; /* 点与标题的距离 */
    top: 50%; /* 垂直居中 */
    transform: translateY(-50%); /* 调整为完全居中 */
}

.comm-list .list-date {
    font-size: 14px;
    color: #888; /* 日期颜色 */
    white-space: nowrap; /* 防止换行 */
}

.comm-list a:hover .list-title,
.comm-list a:hover .list-date{
    color:#D43030;
}

/* 两列布局列表 */
.comm-list2 {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px; /* 抵消子元素的margin */
}

.comm-list2 .comm-item {
    flex: 0 0 calc(50% - 20px); /* 每个项目占50%宽度,减去margin */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 15px;
    margin: 0 10px 10px;
    border-bottom: 1px dashed #ccc;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

.comm-list2 .list-title {
    font-size: 16px;
    margin-right: 10px;
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.comm-list2 .list-title::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #D43030;
    border-radius: 50%;
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.comm-list2 .list-date {
    font-size: 14px;
    color: #888;
    white-space: nowrap;
}

.comm-list2 a:hover .list-title,
.comm-list2 a:hover .list-date{
    color:#D43030;
}

@media screen and (max-width: 980px) {
    .comm-list2 .comm-item {
        flex: 0 0 calc(100% - 20px); /* 移动端一列显示 */
    }
}

/* 兼容两列 */
.box-s2{
    display: flex;
    gap: 20px; /* 设置元素之间的间距为 20px */
}
.box-s2 .box1,.box2{
    flex: 1;
}

@media screen and (max-width: 980px)  {
    .box-s2{
        flex-direction: column;
    }
}

/* 通用标题日期列表 end */

/* 首页图片新闻 start */

.img-news-item{
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* 允许换行 */
    margin: 10px;
}

.img-news-item .news{
    width: calc(25% - 10px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    align-items: center;
    margin-bottom: 10px;
}

.img-news-item .news .pic{
    width: 100%;
    height: auto;
}
.img-news-item .news .pic img {
    transition: All 0.4s linear;
    -webkit-transition: All 0.4s linear;
    -moz-transition: All 0.4s linear;
    -o-transition: All 0.4s linear;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.img-news-item .news:hover .pic img {
	transform:scale(1.1);
	-webkit-transform:scale(1.1);
	-moz-transform:scale(1.1);
	-o-transform:scale(1.1);
	-ms-transform:scale(1.1);
}
.img-news-item .news .s1{
    width: 100%;
    margin-top: 20px;
}

.img-news-item .news .s1 .time {
    float: left;
    font-size: 16px;
    line-height: 24px;
}
.img-news-item .news .s1 .time i{
    color: #D43030;
    margin-right: 10px;
}
.img-news-item .news a{
    color: inherit;
    width: 100%;
}
.img-news-item .news:hover .s2,.img-news-item .news:hover .s1{
    color:#D43030;
}

.img-news-item .news .s2 {
    margin-top: 10px;
    height: 46px;
    line-height: 22px;
    font-size: 16px;
    display: -webkit-box;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media screen and (max-width: 1200px) {
    .img-news-item .news{
        width: calc(50% - 10px);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        align-items: center;
    }
    .img-news-item .news .pic img {
        height: 260px;
    }
    
}

@media screen and (max-width: 980px) {
    .img-news-item .news{
        width: calc(100%);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        align-items: center;
    }
    .img-news-item .news .pic img {
        height: 200px;
    }
    
}

/* 首页图片新闻 end */

/* 捐赠信息样式 start */

.donation-cart-container
{
    background-color: #EDEDED;
    padding: 30px;
    box-sizing: border-box !important;
}
.donation-cart-container2
{
    background-color: #EDEDED;
    width:100%; /* 减去左右margin的宽度 */
    box-sizing: border-box; /* 确保padding和border包含在宽度内 */
}
.donation-cart-slide
{
    background-color: #EDEDED;
    padding: 30px;
    box-sizing: border-box !important;
}

/* 捐赠卡片样式 */
.donation-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    overflow: hidden; /* 保证圆角生效 */
    border: 1px solid #eee;
}

/* 捐赠卡片样式 */
.donation-card2 {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    overflow: hidden; /* 保证圆角生效 */
    border: 1px solid #eee;
}

/* 捐赠标题样式 */
.donation-title {
    background: linear-gradient(90deg, #FFAE4A 0%, #F78548 100%);
    color: #fff;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-radius: 8px 8px 0 0; /* 顶部两个角圆角 */
    position: relative;
}

/* 捐赠内容区域 */
.donation-content {
    padding: 15px;
    font-size: 14px;
    color: #333;
    height: 100px;
}

/* 电话、地址、银行等信息样式 */
.donation-content p {
    margin-bottom: 10px;
}

/* 图标部分统一设置固定宽度 */
.donation-content p i {
    width: 20px; /* 统一图标宽度 */
    text-align: center; /* 图标居中对齐 */
    margin-right: 10px; /* 图标和文字之间的间距 */
    color: #F78548; /* 可以设置图标颜色 */
}
/* 二维码的样式 */
.donation-qrcode img {
    width: 100px;
    height: auto;
}

/* 响应式调整 */
@media screen and (max-width: 980px) {
    .donation-card {
        flex: 1 1 100%; /* 在小屏幕下占满一行 */
    }
}


/* 捐赠信息样式 end */


/* 友情链接样式 start */
/* 链接容器 */
.link-container {
   
    margin-left:20px !important;
    margin-right:20px !important;
}
.link-container2 {
   
    margin-top: 20px;
    padding-bottom: 30px;
}

/* 链接项样式 */
.link-container .link-item {
    display: block;
    width: 230px; /* 固定宽度 */
    height: 80px; /* 固定高度 */
}

/* 链接项内的图片样式 */
.link-container .link-item img {
    width: 100%;
    height: 100%;
    object-fit: unset; /* 确保图片适应容器 */
    border-radius: 5px; /* 圆角效果 */
}

/* 针对小屏幕的自适应布局 */
@media screen and (max-width: 980px) {
    .link-container .link-item {
        width: 48%; /* 在小屏幕时两列布局 */
    }
}

@media screen and (max-width: 480px) {
    .link-container .link-item {
        width: 100%; /* 在更小的屏幕上单列布局 */
    }
}

/* 友情链接样式 end */

/* footer样式 start */

.footer {
    background-color: #d32b27;
    padding: 20px 0;
    color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.footer .footer-container {
    margin: 0 auto;
    padding: 0 20px;
}

.footer .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1530px;
    margin: auto;
}

.footer .footer-top .organization {
    display: flex;
    align-items: center;
    text-align: center;
}

.footer .footer-top .organization .title {
    display: none;
    font-size: 16px;
    font-weight: 700;
}

.footer .footer-top .organization .logo {
    background: #fff;
    width: 260px;
    height: 60px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .footer-top .organization .logo img {
    width: 240px;
    height: auto;
}

.footer .footer-nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.footer .footer-nav li {
    padding: 0 15px;
    font-size: 14px;
    font-weight: 400;
}

.footer .footer-nav li:not(:last-child) {
    border-right: 1px solid #fff;
}

.footer .footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.footer .footer-nav a:hover {
    text-decoration: underline;
}

.footer .contact {
    border: 2px solid rgba(255, 255, 255, 0.57);
    border-radius: 4px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    margin-left: 20px;
    background: rgba(255, 255, 255, 0.1);
    height: 60px;
    width: 210px;
}

.footer .phone-icon {
    display: flex;
    align-items: center;
    margin-right: 10px;
    font-size: 24px;
}

.footer .vertical-line {
    width: 1px;
    height: 32px;
    background-color: #fff;
    margin: 0 10px;
}

.footer .contact h3 {
    margin: 0;
    font-size: 22px;
}

.footer .footer-separator {
    height: 1px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.2);
}

.footer .footer-content {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    max-width: 1530px;
    margin: auto;
    align-items: center;
}

.footer .contact-info,
.footer .bank-info,
.footer .social-media {
    flex: 1;
    padding: 10px 20px;
    text-align: left;
}

.footer .contact-info p,
.footer .bank-info p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
}

.footer .vertical-line2 {
    flex: 0.4;
    width: 20px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .vertical-line2::before {
    content: "";
    width: 1px;
    height: 100%;
    background-color: #fff;
    display: inline-block;
}

.footer .social-icons {
    display: flex;
    justify-content: center;
    text-align: center;
}

.footer .social-icons div {
    margin: 0 10px;
}

.footer .social-icons img {
    width: 80px;
    height: auto;
}

.footer .social-icons p {
    margin-top: 10px;
    font-size: 14px;
}

.footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    max-width: 1530px;
    margin: auto;
    padding: 10px 0;
}

.footer .footer-bottom p {
    margin: 0;
    font-size: 14px;
}

.footer .footer-bottom .left {
    text-align: left;
}

.footer .footer-bottom .right {
    text-align: right;
}

.footer .footer-bottom a {
    color: inherit;
    text-decoration: none;
    margin: 0 5px;
}

.footer .footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 980px) {
    .footer .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer .footer-top .organization {
        margin-bottom: 10px;
    }

    .footer .footer-top .organization .logo {
        display: none;
    }

    .footer .footer-top .footer-nav {
        display: none;
    }

    .footer .footer-top .contact {
        display: none;
    }

    .footer .footer-top .organization .title {
        display: block;
    }

    .footer .footer-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .footer .footer-nav li {
        padding: 10px 0;
    }

    .footer .contact {
        margin: 20px auto;
        width: 100%;
        max-width: 300px;
        height: auto;
        padding: 10px;
    }

    .footer .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 0;
    }

    .footer .vertical-line2 {
        flex: auto;
        width: 80%;
        height: 1px;
        background: rgba(255, 255, 255, 0.2);
    }

    .footer .vertical-line2::before {
        display: none;
    }

    .footer .contact-info,
    .footer .bank-info,
    .footer .social-media {
        text-align: center;
    }

    .footer .social-icons img {
        width: 60px;
    }

    .footer .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 0;
    }

    .footer .footer-bottom .left,
    .footer .footer-bottom .right {
        text-align: center;
        margin: 5px 0;
    }
}

/* footer样式 end */


/* footer2 样式 start */

.footer2 {
    background-color: #d73030;
    color: #fff;
    padding: 20px 0;
    font-family: Arial, sans-serif;
}

.footer2 .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1530px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer2 .footer-container .footer-section {
    flex: 1;
    margin: 0 10px;
}

.footer2 .footer-container .footer-section h4 {
    margin-bottom: 10px;
    font-size: 16px;
    border-bottom: 2px solid #fff;
    display: inline-block;
    padding-bottom: 5px;
}

.footer2 .footer-container .footer-section .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer2 .footer-container .footer-section .footer-nav li {
    display: inline-block;
    margin-right: 10px;
    padding: 5px 8px;
    position: relative;
}

.footer2 .footer-container .footer-section .footer-nav li::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background-color: #fff;
}

.footer2 .footer-container .footer-section .footer-nav li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer2 .footer-container .footer-section .footer-nav li a:hover {
    text-decoration: underline;
}

.footer2 .footer-container .footer-section p {
    margin: 5px 0;
}

.footer2 .footer-container .footer-section .qr-codes {
    display: flex;
    justify-content: center;
}

.footer2 .footer-container .footer-section .qr-codes div {
    text-align: center;
    margin: 0 10px;
}

.footer2 .footer-container .footer-section .qr-codes div img {
    width: 100px;
    height: 100px;
    border: 2px solid #fff;
    margin-bottom: 5px;
}

.footer2 .footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    font-size: 14px;
    color: rgba(255, 255, 255);
}

.footer2 .footer-bottom p {
    margin: 0;
    line-height: 24px;
}

.footer2 .footer-bottom .separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

.footer2 .footer-bottom a {
    color: rgba(255, 255, 255);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer2 .footer-bottom a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 980px) {
    .footer2 .footer-container {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
    }

    .footer2 .footer-container .footer-section {
        margin-bottom: 10px;
        text-align: center;
        width: 100%;
    }

    .footer2 .footer-container .footer-section .footer-nav {
        text-align: center;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 0 15px;
    }

    .footer2 .footer-container .footer-section .footer-nav li {
        display: block;
        margin: 3px 0;
        padding: 2px 0;
    }

    .footer2 .footer-container .footer-section .footer-nav li::after {
        display: none;
    }

    .footer2 .footer-container .footer-section .footer-nav li a {
        font-size: 15px;
        padding: 5px 8px;
        color: rgba(255,255,255,0.9);
        display: block;
        transition: all 0.3s ease;
    }

    .footer2 .footer-container .footer-section .footer-nav li a:hover {
        color: #fff;
        text-decoration: underline;
    }

    .footer2 .footer-container .footer-section p {
        font-size: 14px;
        line-height: 1.6;
        margin: 8px 0;
    }

    .footer2 .footer-container .footer-section .qr-codes {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .footer2 .footer-container .footer-section .qr-codes div {
        margin: 10px 0;
    }

    .footer2 .footer-container .footer-section .qr-codes div img {
        width: 90px;
        height: 90px;
    }

    .footer2 .footer-bottom {
        font-size: 13px;
        padding: 15px;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .footer2 .footer-container .footer-section h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer2 .footer-container .footer-section .footer-nav li a {
        font-size: 14px;
    }
    
    .footer2 .footer-container .footer-section .qr-codes {
        flex-direction: row;
        gap: 15px;
    }

    .footer2 .footer-container .footer-section .qr-codes div img {
        width: 80px;
        height: 80px;
    }

    .footer2 .footer-bottom {
        font-size: 12px;
    }
}


/* footer2 样式 end */  

/* 友情链接区域样式 */
.friend-links-section {
    width: 100%;
    margin: 20px 0;
    background: #fff;
    border-radius: 4px;
}

/* 标签页样式 */
.friend-links-section .friend-links-tabs {
    border-bottom: 1px solid #eee;
    padding: 0 15px;
}

.friend-links-section .friend-links-tabs .tabs-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.friend-links-section .friend-links-tabs .tab-item {
    padding: 15px 25px;
    cursor: pointer;
    position: relative;
    color: #666;
    transition: all 0.3s;
    font-size: 20px;
    font-weight: 700;
}

.friend-links-section .friend-links-tabs .tab-item.active {
    color: #D43030;
    background: #fff;
}

.friend-links-section .friend-links-tabs .tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #D43030;
}

/* 链接内容区域样式 */
.friend-links-section .friend-links-content {
    padding: 25px 20px;
}

.friend-links-section .friend-links-content .links-group {
    display: none;
    flex-wrap: wrap;
    gap: 20px;
    line-height: 1;
}

.friend-links-section .friend-links-content .links-group.active {
    display: flex;
}

.friend-links-section .friend-links-content .link-item {
    color: #666;
    text-decoration: none;
    padding: 8px 16px;
    transition: all 0.3s;
    font-size: 16px;
    font-weight: 400;
    position: relative;
    line-height: 1.4;
}

/* 添加分隔点 */

.friend-links-section .friend-links-content .link-item:hover {
    color: #D43030;
    text-decoration: underline;
    text-decoration-color: #D43030;
}

/* 响应式调整 */
@media screen and (max-width: 980px) {
    .friend-links-section .friend-links-tabs .tab-item {
        padding: 10px;
        font-size: 14px;
        font-weight: 500;
    }
    
    .friend-links-section .friend-links-content {
        padding: 15px;
    }
    
    .friend-links-section .friend-links-content .links-group {
        gap: 10px;
        justify-content: flex-start;
    }
    
    .friend-links-section .friend-links-content .link-item {
        padding: 6px 12px;
        font-size: 13px;
        white-space: nowrap;
    }

    .friend-links-section .friend-links-tabs .tabs-header i {
        font-size: 16px;
        margin-right: 10px;
    }

    .friend-links-section .friend-links-tabs .tabs-list {
        flex-wrap: wrap;
    }
}


/* 友情链接标题栏样式 */
.friend-links-section .friend-links-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background: #fff;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.friend-links-section .friend-links-header .header-title {
    display: flex;
    align-items: center;
    color: #D43030;
    font-size: 18px;
    font-weight: 500;
}

.friend-links-section .friend-links-header .header-title i {
    margin-right: 8px;
    font-size: 20px;
}

/* 调整标签页样式，移除顶部圆角 */
.friend-links-section .friend-links-tabs {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* 标签页样式 */
.friend-links-section .friend-links-tabs {
    border-bottom: 1px solid #eee;
    padding: 0 15px;
}

/* 添加tabs-header样式 */
.friend-links-section .friend-links-tabs .tabs-header {
    display: flex;
    align-items: center;
}

.friend-links-section .friend-links-tabs .tabs-header i {
    color: #D43030;
    font-size: 20px;
    margin-right: 15px;
    padding: 15px 0;
}

.friend-links-section .friend-links-tabs .tabs-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

/* 删除之前的header相关样式 */
.friend-links-section .friend-links-header {
    display: none;
}


/* 业务活动图标模块样式 */
.business-icons-section {
    background: #fff;
    padding: 30px 20px;
    border-radius: 4px;
}

.business-icons-section .icons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.business-icons-section .icon-item {
    flex: 0 0 calc(12% - 20px); /* 7个图标等分 */
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    padding: 15px 10px;
}

.business-icons-section .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.business-icons-section .icon-wrapper i {
    font-size: 36px;
    color: #D43030;
    transition: all 0.3s ease;
}

.business-icons-section .icon-text {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.business-icons-section .icon-desc {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* 悬停效果 */
.business-icons-section .icon-item:hover .icon-wrapper {
    background: #D43030;
    transform: translateY(-5px);
}

.business-icons-section .icon-item:hover .icon-wrapper i {
    color: #fff;
}

.business-icons-section .icon-item:hover .icon-text {
    color: #D43030;
}

/* 业务活动图标swiper样式 */
.business-icons-section .swiper-button-prev,
.business-icons-section .swiper-button-next {
    color: #D43030;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.business-icons-section .swiper-button-prev:after,
.business-icons-section .swiper-button-next:after {
    font-size: 20px;
}

.business-icons-section .swiper-button-prev {
    left: 0;
}

.business-icons-section .swiper-button-next {
    right: 0;
}

/* 修改hover效果 */
.business-icons-section .swiper-button-prev:hover,
.business-icons-section .swiper-button-next:hover {
    background-color: #D43030;
    color: #fff;
}

/* 响应式布局 */
@media screen and (max-width: 1200px) {
    .business-icons-section .icon-item {
        flex: 0 0 calc(25% - 20px); /* 4列显示 */
    }
}

@media screen and (max-width: 980px) {
    .business-icons-section .icon-item {
        flex: 0 0 calc(33.33% - 20px); /* 3列显示 */
    }
    
    .business-icons-section .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .business-icons-section .icon-wrapper i {
        font-size: 28px;
    }
    
    .business-icons-section .icon-text {
        font-size: 14px;
    }
    
    .business-icons-section .icon-desc {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .business-icons-section .icon-item {
        flex: 0 0 calc(50% - 20px); /* 2列显示 */
    }
    
    .business-icons-section {
        padding: 20px 10px;
    }
}


/* 人道印象模块样式 */
.impression-section {
    background: #fff;
    padding: 10px;
    border-radius: 4px;
}

/* 标题图标 */
.impression-title .title-container::before {
    content: "\f03d"; /* 视频图标 */
}

/* 视频项样式 */
.impression-item {
    position: relative;
    margin: 10px;
}

.impression-item .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 比例 */
    overflow: hidden;
    border-radius: 8px;
}

.impression-item .video-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.impression-item:hover .video-wrapper img {
    transform: scale(1.05);
}

.impression-item .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 48px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.impression-item:hover .play-icon {
    opacity: 1;
    color: #D43030;
}

.impression-item .impression-title {
    margin-top: 15px;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
    text-align: center;
}

.impression-item:hover .impression-title {
    color: #D43030;
}

/* Swiper导航按钮样式 */
.impression-section .swiper-button-prev,
.impression-section .swiper-button-next {
    color: #D43030;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.impression-section .swiper-button-prev:after,
.impression-section .swiper-button-next:after {
    font-size: 20px;
}

.impression-section .swiper-button-prev {
    left: 0;
}

.impression-section .swiper-button-next {
    right: 0;
}

.impression-section .swiper-button-prev:hover,
.impression-section .swiper-button-next:hover {
    background-color: #D43030;
    color: #fff;
}

/* 响应式布局 */
@media screen and (max-width: 980px) {
    .impression-section {
        padding: 10px 10px;
    }
    
    .impression-item .impression-title {
        font-size: 14px;
    }
    
    .impression-item .play-icon {
        font-size: 36px;
    }
}

/* 专题专栏模块样式 */
.special-section {
    background: #fff;
    padding: 30px 20px;
    border-radius: 4px;
}

/* 标题图标 */
.special-title .title-container::before {
    content: "\f02e"; /* 书签图标 */
}

/* 专题项样式 */
.special-item {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
}

.special-item img {
    width: 100%;
    height: 124px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.special-item:hover img {
    transform: scale(1.05);
}

/* 公众参与模块样式 */
.participation-section {
    background: #fff;
    padding: 20px 0;
    border-radius: 4px;
}

/* 标题图标 */
.participation-title .title-container::before {
    content: "\f0c0"; /* 用户组图标 */
}

/* 网格布局 */
.participation-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    padding: 10px;
}

/* 参与项样式 */
.participation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 15px 10px;
    transition: all 0.3s ease;
    background: #f5f5f5; /* 浅灰色背景 */
}

.participation-item .icon-wrapper {
    width: 50px;
    height: 50px;
    background: #D43030; /* 红色背景 */
    border-radius: 4px; /* 方形带圆角 */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.participation-item .icon-wrapper i {
    font-size: 24px;
    color: #fff; /* 白色图标 */
    transition: all 0.3s ease;
}

.participation-item .item-text {
    font-size: 14px;
    font-weight: normal;
    color: #333;
    transition: color 0.3s ease;
    text-align: center;
}

/* 悬停效果 */
.participation-item:hover {
    background: #D43030;
}

.participation-item:hover .icon-wrapper {
    background: #fff;
}

.participation-item:hover .icon-wrapper i {
    color: #D43030;
}

.participation-item:hover .item-text {
    color: #fff;
}

/* 响应式布局 */
@media screen and (max-width: 1200px) {
    .participation-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 980px) {
    .participation-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .participation-item .icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .participation-item .icon-wrapper i {
        font-size: 20px;
    }
    
    .participation-item .item-text {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .participation-section {
        padding: 15px 10px;
    }
    
    .participation-grid {
        gap: 8px;
    }
    
    .participation-item {
        padding: 10px 8px;
    }
}
.banner-image-container{
    padding: 0 10px;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
    border-radius: 4px;
}


/* 机构链接模块样式 */
.org-links-section {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    background: #fff;
    padding: 20px 10px;
    border-radius: 4px;
    align-items: center;
}

/* 主标题样式 */
.org-links-section .org-links-main {
    flex: 0 0 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D43030;
    border-radius: 4px;
    height: 86px;
}

.org-links-section .org-main-title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    line-height: 1.4;
}

/* 次要机构样式 */
.org-links-section .org-links-sub {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.org-links-section .org-sub-item {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0 5px;
    box-sizing: border-box;
}

.org-links-section .org-sub-item img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    border-radius: 4px;
    background: #fff;
    padding: 5px;
    box-sizing: border-box;
}

/* 响应式布局 */
@media screen and (max-width: 980px) {
    .org-links-section {
        flex-direction: row;
        padding: 10px;
        gap: 10px;
    }
    
    .org-links-section .org-links-main {
        flex: 0 0 100px;
        height: 52px;
    }
    
    .org-links-section .org-main-title {
        font-size: 14px;
        padding: 5px;
        white-space: nowrap; /* 防止文字换行 */
    }
    .org-links-section .org-sub-item{
        padding: 0;
    }
    .org-links-section .org-sub-item img {
        height: 60px;
        padding: 0;
    }
}


/* 慈善项目列表容器 */
.charity-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0;
}

/* 慈善项目卡片 */
.charity-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.charity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 项目图片容器 */
.charity-image {
    position: relative;
    width: 100%;
    padding-top: 60%; /* 控制图片比例 */
    overflow: hidden;
}

.charity-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.charity-item:hover .charity-image img {
    transform: scale(1.05);
}

/* 项目内容 */
.charity-content {
    padding: 15px;
}

.charity-title {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 50px;
}

.charity-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 63px;
}

/* 捐赠按钮 */
.donate-btn {
    display: block;
    width: 100%;
    padding: 10px 0;
    background: #D43030;
    color: #fff;
    text-align: center;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.donate-btn:hover {
    background: #ff4444;
    color: #fff;
}

/* 响应式布局 */
@media screen and (max-width: 1200px) {
    .charity-projects {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 980px) {
    .charity-projects {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px 0;
    }

    .charity-title {
        font-size: 16px;
        height: 44px;
    }

    .charity-desc {
        font-size: 13px;
        height: 58.5px;
    }

    .donate-btn {
        padding: 8px 0;
        font-size: 14px;
    }
}

/* 菜单头部样式 */
.menu-list .menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    cursor: pointer;
}

.menu-list .menu-header a {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: #333;
    text-decoration: none;
    font-size: 20px;
}

/* 箭头样式 */
.menu-list .menu-header .submenu-arrow {
    padding: 0 20px;
    font-size: 12px;
    color: #999;
    transition: transform 0.3s ease;
}

/* hover状态 */
.menu-list .menu-header:hover {
    background-color: #FF7B7B;
}

.menu-list .menu-header:hover a,
.menu-list .menu-header:hover .submenu-arrow {
    color: #fff;
}

/* active状态 */
.menu-list.active .menu-header {
    background-color: #FF5454;
}

.menu-list.active .menu-header a,
.menu-list.active .menu-header .submenu-arrow {
    color: #fff;
}

.menu-list.active .menu-header .submenu-arrow {
    transform: rotate(90deg);
}

/* 首页swiper容器 */
.swiper-mode-swiper{
    padding: 10px;
}


