a{text-decoration: none;}
        .logo span{display: none;}
        .top_div{
            background-color: #e14e4a;
        }
         .top_div span{ color: #fff;}
        .navbar {
            transition: all 0.3s ease;
            background-color: #ffffffc4;
        }
        .navbar-scrolled {         
            box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
        }
        .nav-link {
            transition: all 0.3s ease;
            color: rgb(0 0 0);
        }
        .navbar-nav .nav-link.active, .navbar-nav .show>.nav-link{
            color: rgb(0 0 0);
        }
        .navbar .nav-link:hover {
            color: #e14e4a !important;
            transform: translateY(-2px);
        }
        .search-input:focus {
            border-color: #ffd700;
            box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
        }
        /* Banner鏍峰紡 */
        .carousel-inner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .carousel-caption {
            background-color: rgba(0, 0, 0, 0.6);
            border-radius: 8px;
            padding: 1rem;
        }
        /* 澶存潯鏍峰紡 */
        .toutiao h2{
            color: #e14e4a;
            font-weight: bold;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .toutiao p{
            color: #666;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        /* 鏂伴椈杞挱鏍峰紡 */
        .news-carousel img {
            height: 400px;
            object-fit: cover;
        }
        .carousel-inner .bg-dark{
            background-color: #0000004d;
        }
        /* 鏂伴椈鍒楄〃鏍峰紡 */
        .news-item {
            transition: transform 0.3s ease;
            padding: 10px 0;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: nowrap; /* 纭繚涓嶆崲琛� */
        }
        #newsTabsContent .news-item{
            height: 60px;
            margin-bottom: 0;
            padding: 0;
            background-color: #fff;
            border-radius: 0;
            border-bottom: 1px solid #e9ecef;
             transition: all 0.3s ease;
             box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
        }
        .news-item:last-child {
            border-bottom: none;
        }
        .news-item:hover {
            transform: translateX(5px);
        }
        .news-title {
            margin: 0;
            font-size: 1rem;
            flex: 1;
            margin-right: 10px;
            overflow: hidden; /* 闅愯棌瓒呭嚭閮ㄥ垎 */
            text-overflow: ellipsis; /* 娣诲姞鐪佺暐鍙� */
            white-space: nowrap; /* 涓嶆崲琛� */
        }
        .publish-date {
            font-size: 0.85rem;
            color: #6c757d;
            white-space: nowrap;
        }
         #newsTabs .nav-link{
            font-weight: bold;
            font-size: 1.2rem;
            padding: 0.6rem 1.8rem;
         }
        .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active, #newsTabs .nav-link:hover{
            color: #fff;
            background-color: #e14e4a;
            border-color: none;
        }
       
        /* 鎱堝杽椤圭洰鍗＄墖鏍峰紡 */
        .card-img-top {
            height: 200px;
            object-fit: cover;
        }
        .card:hover {
            box-shadow: 0 10px 20px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
        }
        .badge {
            font-weight: normal;
        }
        /* 鍝嶅簲寮忚璁� */
        @media (max-width: 767.98px) {
            .nav-tabs {
              display: flex;
        flex-wrap: nowrap;
            }
                     #newsTabs  .nav-tabs {

    }
            .nav-tabs .nav-item {
                width: 100%;
                margin-bottom: 0.5rem;
            }
            .card-img-top {
                height: 180px;
            }
            .tab-content {
                height: auto;
            }
            .logo img{
                display: none;
            }
            .logo span{display: block;}
            .navbar {
            background-color: #7e7e7e;
        }
        #newsTabs .nav-link {
           font-weight: bold;
           font-size: 1rem;
           padding: 0.4rem ; 
        }

        }
        
        /* 鎹愭妯″潡鏍峰紡 */
        .donation-section {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        }
        .donation-intro h3 {
            font-weight: 700;
        }
        .payment-methods h4,
        .donor-list h4 {
            font-weight: 600;
        }
        .payment-option {
            transition: all 0.3s ease;
        }
        .payment-option:hover {
            transform: translateY(-2px);
        }
        .donor-item:last-child {
            border-bottom: none;
        }
        .donor-item {
            animation: fadeIn 0.5s ease-in-out;
        }
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .btn-primary {
            background-color: #e14e4a;
            border-color: #e14e4a;
        }
        .btn-primary:hover {
            background-color: #d71919;
            border-color: #d71919;
        }
        /* 鎱堝杽椤圭洰閫夐」鍗℃牱寮� - 鍙傜収鏂伴椈鍒楄〃鏍峰紡 */
        #charityProjectTabs .nav-link {
            font-weight: bold;
            font-size: 1.3rem;
            padding: 0.6rem 1.8rem;
            transition: all 0.3s ease;
        }
        
        #charityProjectTabs .nav-link.active, #charityProjectTabs .nav-link:hover {
            color: #fff;
            background-color: #e14e4a;
            border-color: transparent;
        }
        
        /* 鎱堝杽椤圭洰鍗＄墖鏍峰紡浼樺寲 */
        .card {
            transition: all 0.3s ease;
        }
        
        .card-img-top {
            height: 200px;
            object-fit: cover;
        }
        
        .card:hover {
            box-shadow: 0 10px 20px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
            transform: translateY(-5px);
        }
        
        .card-title {
            font-size: 1.2rem;
            margin-bottom: 0.75rem;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .card-text {
            height: 60px;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
        }
        
        .card .btn {
            transition: all 0.3s ease;
        }
        
        .card .btn:hover {
            background-color: #e14e4a;
            color: white;
        }
        
        .badge {
            font-weight: normal;
            padding: 0.35em 0.65em;
        }
        
        /* 鍝嶅簲寮忚璁′紭鍖� */
        @media (max-width: 767.98px) {
        
            
            #charityProjectTabs .nav-item {
                width: 100%;
                margin-bottom: 0.25rem;
            }
            
            #charityProjectTabs .nav-link {
                text-align: center;
            }
            
            .card-img-top {
                height: 180px;
            }
        }

     .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
     .swiper-slide {
        width: auto;
        height: auto;
     }
        .swiper-wrapper{flex-wrap: nowrap;}

        /* 鎹愭鍏ず */
        .red_bg{
            background: url(../../images/views/red_bg.jpg) no-repeat center center;
            background-color: #d71919;
            color: #fff;
        }
           .huikuan>.col-md-7{
           
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: stretch;
        }
            /* 璺戦┈鐏鍣ㄦ牱寮� */
        .donation-marquee {
            position: relative;
            overflow: hidden;
           
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            height: 350px; /* 鍥哄畾楂樺害锛屾帶鍒跺彲瑙佸尯鍩� */
        }
        
        /* 璺戦┈鐏唴瀹瑰鍣� */
        .marquee-content {
            position: absolute;
            width: 100%;
            animation: marquee 25s linear infinite;
        }
        
        /* 鍨傜洿婊氬姩鍔ㄧ敾 */
        @keyframes marquee {
            0% {
                transform: translateY(100%);
            }
            100% {
                transform: translateY(-100%);
            }
        }
        
        /* 鎹愭淇℃伅椤规牱寮� */
        .donation-item {
             display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    margin: 0.5rem 1rem;
    color: #fff;
    /* border-radius: 8px; */
    border-bottom: 1px solid #e7626e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .donation-item1{
                       display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    margin: 0.5rem 1rem;
    color: #fff;
    /* border-radius: 8px; */
    border-bottom: 1px solid #e7626e;
        }
           .donation-item1 *{
            font-size: 1.2rem;
           }
        .donation-item:hover {
            transform: translateX(5px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
 
        
        /* 鎹愭淇℃伅鏂囨湰 */
        .donation-info {
            flex-grow: 1;
            color: #fff;
        }
       
        
        .donor-name {
            
            color: #ffffff;
            margin-right: 1rem;
        }
        
        .donation-time {
            font-size: 0.85rem;
            color: #ffffff;
        }
     .donation-time1 {
            font-size: 1.2rem;
            color: #ffffff;
        }
        
        /* 鎹愭閲戦 */
        .donation-amount {
          
            color: #fff;
            display: flex;
            align-items: center;
            white-space: nowrap;
        }
        
        .donation-amount i {
            margin-right: 0.25rem;
        }
        
        /* 鍝嶅簲寮忚皟鏁� */
        @media (max-width: 768px) {
            .donation-marquee {
                height: 300px;
            }
            
            .donor-avatar {
                width: 34px;
                height: 34px;
            }
            
            .donor-name, .donation-amount {
                font-size: 0.9rem;
            }
            
            .donation-time {
                font-size: 0.75rem;
            }
        }


         .card-slider {
            position: relative;
            overflow: hidden;
            padding: 0 1rem;
            margin: 0 auto;
            max-width: 1400px;
        }
        
   
        .card-container {
            display: flex;
            overflow-x: auto;
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE and Edge */
            padding: 1rem 0;
            scroll-behavior: smooth;
        }
        
        .card-container::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera */
        }
        
        .fund-card {
            margin-right: 1rem;
            flex-shrink: 0;
            transition: all 0.3s ease;
            border: none;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            background-color: #fff;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .fund-card:last-child {
            margin-right: 0;
        }
        
        .fund-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 20px rgba(0,0,0,0.12);
        }
        
        .fund-img {
            height: 180px;
            object-fit: cover;
            width: 100%;
        }
        
        .fund-info {
            padding: 1.5rem;
        }
        
        .fund-title {
            font-size: 1.35rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #181818;
            line-height: 1.3;
            letter-spacing: -0.02em;
        }
        
        .fund-meta {
            margin-bottom: 0.75rem;
            font-size: 0.92rem;
            color: #666;
            display: flex;
            align-items: center;
            line-height: 1.5;
        }
        
        .fund-meta i {
            margin-right: 0.5rem;
            color: #e14e4a;
            width: 18px;
            min-width: 18px;
        }
        
        .fund-meta span {
            letter-spacing: 0.01em;
        }
        
        .fund-btn {
            width: 100%;
            margin-top: 1rem;
            padding: 0.65rem 0;
            font-weight: 500;
            letter-spacing: 0.03em;
            transition: all 0.3s ease;
        }
        
        .fund-btn:hover {
            transform: translateY(-2px);
        }
        
        .slider-control {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 10;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(255, 255, 255, 0.9);
            border: none;
            box-shadow: 0 3px 8px rgba(0,0,0,0.2);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .slider-control:hover {
            background-color: white;
            transform: translateY(-50%) scale(1.1);
        }
        
        .prev-btn {
            left: 0;
        }
        
        .next-btn {
            right: 0;
        }
        
        /* 鍝嶅簲寮忔枃瀛楄皟鏁� */
        @media (max-width: 767px) {
            .fund-card {
                width: calc(100% - 1rem);
            }
            
            .section-title {
                font-size: 1.75rem;
            }
            
            .fund-title {
                font-size: 1.25rem;
            }
        }
        
        @media (min-width: 768px) and (max-width: 1199px) {
            .fund-card {
                width: calc(50% - 0.5rem);
            }
        }
        
        @media (min-width: 1200px) {
            .fund-card {
                width: calc(33.333% - 0.666rem);
            }
            
            .card-container {
                padding: 1rem 0.5rem;
            }
        }
/* 瑙嗛鍜屾斂绛栨ā鍧楁牱寮� */
.video-policy-container {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.video-policy-container:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* 瑙嗛閮ㄥ垎鏍峰紡 */
.video-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.video-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.video-section h3 {
    color: #e14e4a;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e14e4a;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.video-player {
    position: relative;
    width: 100%;
    height: 420px;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 鏀跨瓥閮ㄥ垎鏍峰紡 */
.policy-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.policy-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.policy-section h3 {
    color: #e14e4a;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e14e4a;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.policy-item {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.policy-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.policy-item:hover {
    transform: translateX(5px);
}

.policy-date {
    display: flex;
    flex-shrink: 0;
    width: 70px;
    text-align: center;
    margin-right: 1rem;
    background-color: #e14e4a;
    color: white;
    border-radius: 6px;
    padding: 0.5rem 0;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.policy-date span {
    display: block;
    font-weight: bold;
    font-size: 1.2rem;
}

.policy-date p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.policy-content {
    flex: 1;
}

.policy-content span {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.policy-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.policy-item a {
    text-decoration: none;
    display: flex;
}

.policy-item a:hover .policy-content span {
    color: #e14e4a;
}

/* 鍝嶅簲寮忚璁� */
@media (max-width: 767.98px) {
    .video-policy-container {
        padding: 1rem;
    }
    
    .video-player {
        height: 200px;
    }
    
    .video-section h3, .policy-section h3 {
        font-size: 1.25rem;
    }
    
    .policy-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .policy-date {
        width: 100%;
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .policy-content p {
        -webkit-line-clamp: 3;
    }
    .policy-item a {
    display: flex;
    flex-direction: column-reverse;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .video-player {
        height: 250px;
    }
        .policy-item a {
    display: flex;
    flex-direction: column-reverse;
    }
}
/* 椤圭洰璇︽儏椤垫牱寮� */
.project-detail-section {
    padding: 2rem 0;
}

.project-container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-top: 1.5rem;
}

/* 椤圭洰鏍囬鏍峰紡 */
.project-header {
    margin-bottom: 1.5rem;
}

.project-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    border-left: 5px solid #e14e4a;
    padding-left: 1rem;
}

/* 椤圭洰娴锋姤鏍峰紡 */
.project-poster {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.poster-image {
    max-width: 400px;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-poster:hover .poster-image {
    transform: scale(1.02);
}

/* 鎹愯禒鎸夐挳鏍峰紡 */
.donate-button-container {
    text-align: center;
    margin-bottom: 2rem;
}

.donate-button {
    background-color: #e14e4a;
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(225, 78, 74, 0.3);
}

.donate-button:hover {
    background-color: #d71919;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(225, 78, 74, 0.4);
}

.donate-button:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(225, 78, 74, 0.4);
}

/* 椤圭洰鍏冧俊鎭牱寮� */
.project-meta {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    border-left: 3px solid #e14e4a;
}

.project-meta span {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #555;
}

.project-meta i {
    color: #e14e4a;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* 椤圭洰浠嬬粛鏍峰紡 */
.project-intro {
    margin-top: 2rem;
}

.project-intro h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #e14e4a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.project-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.25rem;
    text-align: justify;
}

/* 鍝嶅簲寮忚璁� */
@media (max-width: 767.98px) {
    .project-container {
        padding: 1.5rem 1rem;
        margin-top: 1rem;
    }
    
    .project-title {
        font-size: 1.65rem;
        padding-left: 0.75rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .project-meta span {
        font-size: 0.95rem;
    }
    
    .donate-button {
        padding: 0.85rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .project-intro h2 {
        font-size: 1.5rem;
    }
    
    .project-intro p {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .project-title {
        font-size: 1.85rem;
    }
    
    .project-intro h2 {
        font-size: 1.65rem;
    }
}
/* 鍙充晶鎮诞鎸夐挳鏍峰紡 - 鍦嗚鐭╁舰鐗� */
.floating-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-button {
    background-color: #e14e4a;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    min-width: 100px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(225, 78, 74, 0.3);
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
}

.floating-button:hover {
    background-color: #d71919;
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(225, 78, 74, 0.4);
}

.floating-button:active {
    transform: translateX(-3px);
}

/* 鍝嶅簲寮忚璁� */
@media (max-width: 767.98px) {
    .floating-buttons {
        right: 10px;
        gap: 8px;
    }
    
    .floating-button {
        padding: 10px 12px;
        min-width: 80px;
        font-size: 0.85rem;
    }
}

/* 澶у睆骞曢�傞厤 */
@media (min-width: 1400px) {
    .floating-buttons {
        right: 30px;
    }
    
    .floating-button {
        font-size: 1rem;
        padding: 14px 18px;
        min-width: 110px;
    }
}
/* 鎹愭鏌ヨ椤甸潰鏍峰紡 */
/* 鏌ヨ琛ㄥ崟鏍峰紡 */
.query-section {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.query-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.query-header h1 {
    color: #e14e4a;
    font-weight: 700;
    font-size: 1.85rem;
    margin: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 0.5rem;
}

.form-control:focus {
    border-color: #e14e4a;
    box-shadow: 0 0 0 0.25rem rgba(225, 78, 74, 0.1);
}

.date-range {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.date-range .form-group {
    flex: 1;
    margin-bottom: 0;
}

.date-label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* 缁撴灉鍖哄煙鏍峰紡 */
.results-section {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.results-header h2 {
    color: #333;
    font-weight: 600;
    font-size: 1.5rem;
    margin: 0;
}

.results-count {
    color: #e14e4a;
    font-weight: 600;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.results-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #555;
}

.results-table tr:hover {
    background-color: #f8f9fa;
}

.amount-column {
    color: #e14e4a;
    font-weight: 600;
    text-align: right;
}

.no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results p {
    margin: 0;
    font-size: 1.1rem;
}

/* 鍒嗛〉鏍峰紡 */
.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.pagination .page-item.active .page-link {
    background-color: #e14e4a;
    border-color: #e14e4a;
}

.pagination .page-link {
    color: #555;
}

.pagination .page-link:hover {
    color: #e14e4a;
}

/* 鍝嶅簲寮忚璁� */
@media (max-width: 767.98px) {
    .query-section, .results-section {
        padding: 1.5rem 1rem;
    }
    
    .query-header h1 {
        font-size: 1.5rem;
    }
    
    .results-header h2 {
        font-size: 1.35rem;
    }
    
    .date-range {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .button-group button {
        width: 100%;
    }
    
    /* 绉诲姩绔〃鏍煎鐞� */
    .table-responsive {
        overflow-x: auto;
    }
}
/* 鏂伴椈鍐呭鍖哄煙鏍峰紡浼樺寲 */
.news-content {
    margin-bottom: 2rem;
    line-height: 1.8;
}
.news-container .news-title{
    font-size: 2rem;
    text-align: center;line-height: 6rem;
}
.news-meta {display: flex;justify-content: space-between;}
.news-meta .fas {
    color: #e7626e;
}
/* 鏂伴椈姝ｆ枃娈佃惤鏍峰紡 */
.news-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: justify;
    text-indent: 2em;
}

/* 鏂伴椈姝ｆ枃涓殑鏍囬鏍峰紡 */
.news-content h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid #e14e4a;
    position: relative;
}

.news-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 80px;
    height: 3px;
    background-color: #e14e4a;
}

/* 鏂伴椈姝ｆ枃涓殑鍥剧墖鏍峰紡 */
.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 鏂伴椈鍐呭寮鸿皟鏍峰紡 */
.news-content strong {
    color: #e14e4a;
    font-weight: 600;
}

/* 鏂伴椈鍐呭寮曠敤鏍峰紡 */
.news-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid #e14e4a;
    background-color: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

/* 鏂伴椈鍐呭鍒楄〃鏍峰紡 */
.news-content ul,
.news-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.news-content li {
    margin-bottom: 0.8rem;
    color: #333;
}

.news-content ul li {
    position: relative;
    padding-left: 0.8rem;
}

.news-content ul li::before {
    content: '鈥�';
    color: #e14e4a;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

/* 鏂伴椈鍐呭閾炬帴鏍峰紡 */
.news-content a {
    color: #e14e4a;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 2px;
}

.news-content a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #e14e4a;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.news-content a:hover {
    color: #d71919;
}

.news-content a:hover::after {
    transform: scaleX(1);
}

/* 鍝嶅簲寮忚璁� - 鏂伴椈鍐呭 */
@media (max-width: 767.98px) {
    .news-content p {
        font-size: 1rem;
        line-height: 1.7;
        text-indent: 1.5em;
    }
    
    .news-content h2 {
        font-size: 1.4rem;
        margin: 2rem 0 1.2rem;
    }
    
    .news-content img {
        border-radius: 6px;
        margin: 1.5rem auto;
    }
    
    .news-content blockquote {
        padding: 1rem 1.5rem;
        margin: 1.5rem 0;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .news-content p {
        font-size: 1.05rem;
    }
    
    .news-content h2 {
        font-size: 1.5rem;
    }
}

/* 澶у睆骞曢�傞厤 - 鏂伴椈鍐呭 */
@media (min-width: 1400px) {
    .news-content {
        max-width: 1000px;
        margin: 0 auto 2rem;
    }
    
    .news-content p {
        font-size: 1.15rem;
    }
    
    .news-content h2 {
        font-size: 1.7rem;
    }
}
/* 鏂囦欢涓嬭浇鏉垮潡鏍峰紡浼樺寲 */
.document-download {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2.5rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* 涓嬭浇鏍囬鏍峰紡 */
.download-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e14e4a;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.download-title i {
    color: #e14e4a;
    font-size: 1.5rem;
}

/* 涓嬭浇鍒楄〃鏍峰紡 */
.download-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 涓嬭浇椤规牱寮� */
.download-item {
    margin: 0;
}

/* 涓嬭浇閾炬帴鏍峰紡 */
.download-link {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background-color: #fff;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #e14e4a;
    position: relative;
    overflow: hidden;
}

.download-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(225, 78, 74, 0.05);
    transition: width 0.3s ease;
    z-index: 0;
}

.download-link:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-left-color: #d71919;
}

.download-link:hover::before {
    width: 100%;
}

/* 鏂囦欢鍥炬爣鏍峰紡 - 鏍规嵁鏂囦欢绫诲瀷璁剧疆涓嶅悓棰滆壊 */
.download-link i:first-child {
    font-size: 2rem;
    margin-right: 1.2rem;
    z-index: 1;
}

/* PDF鏂囦欢鍥炬爣棰滆壊 */
.download-link .fa-file-pdf {
    color: #e74c3c;
}

/* Word鏂囦欢鍥炬爣棰滆壊 */
.download-link .fa-file-word {
    color: #3498db;
}

/* Excel鏂囦欢鍥炬爣棰滆壊 */
.download-link .fa-file-excel {
    color: #2ecc71;
}

/* 涓嬭浇淇℃伅鏍峰紡 */
.download-info {
    flex: 1;
    z-index: 1;
}

.download-name {
    display: block;
    color: #333;
    font-weight: 500;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.download-size {
    font-size: 0.85rem;
    color: #666;
    background-color: #f0f0f0;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

/* 涓嬭浇鍥炬爣鏍峰紡 */
.download-icon {
    color: #999;
    font-size: 1.2rem;
    padding: 0.6rem;
    background-color: #f8f9fa;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1;
}

.download-link:hover .download-icon {
    color: #e14e4a;
    background-color: #ffe8e8;
    transform: rotate(15deg);
}

.download-link:hover .download-name {
    color: #e14e4a;
}

/* 鏂囦欢鏍煎紡鏍囩 */
.download-format {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

/* PDF鏍煎紡鏍囩 */
.download-format.pdf {
    background-color: #ffe5e5;
    color: #e74c3c;
}

/* Word鏍煎紡鏍囩 */
.download-format.word {
    background-color: #e5f0ff;
    color: #3498db;
}

/* Excel鏍煎紡鏍囩 */
.download-format.excel {
    background-color: #e5ffe8;
    color: #2ecc71;
}

/* 鍝嶅簲寮忚璁� - 涓嬭浇鏉垮潡 */
@media (max-width: 767.98px) {
    .document-download {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }
    
    .download-title {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .download-link {
        padding: 1rem;
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .download-link i:first-child {
        font-size: 1.8rem;
        margin-right: 1rem;
    }
    
    .download-name {
        font-size: 1rem;
    }
    
    .download-icon {
        font-size: 1.1rem;
        padding: 0.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .document-download {
        padding: 1.8rem 1.5rem;
    }
    
    .download-link {
        padding: 1.1rem 1.3rem;
    }
}

/* 澶у睆骞曢�傞厤 - 涓嬭浇鏉垮潡 */
@media (min-width: 1400px) {
    .document-download {
        max-width: 1000px;
        margin: 2.5rem auto 0;
    }
}
/* 鏂伴椈鍒楄〃椤甸潰鏍峰紡浼樺寲 */

/* 鍏ㄥ眬闈㈠寘灞戝鑸牱寮� - 搴旂敤浜庢墍鏈夐〉闈� */
.breadcrumb {
    background-color: transparent !important;
    padding: 1rem 0;
    margin-bottom: 0rem;
    border-radius: 0 !important;
}

.breadcrumb-item {
    position: relative;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #6c757d;
    margin: 0 0.5rem;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.breadcrumb-item a:hover {
    color: #e14e4a;
}

.breadcrumb-item.active {
    color: #e14e4a !important;
    font-weight: 500;
}

/* 鍝嶅簲寮忚璁� - 闈㈠寘灞戝鑸� */
@media (max-width: 767.98px) {
    .breadcrumb {
        padding: 0.75rem 0 1rem;
        margin-bottom: 1rem;
    }
    
    .breadcrumb-item a,
    .breadcrumb-item.active {
        font-size: 0.875rem;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        margin: 0 0.25rem;
    }
}

/* 鏂伴椈鍒嗙被閫夐」鍗℃牱寮� */
.news-tabs {
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.nav-tabs {
    border-bottom: none;
}

.nav-tabs .nav-item {
    margin-right: 0.5rem;
}

.nav-tabs .nav-link {
    color: #6c757d;
    border: none;
    border-radius: 0;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-tabs .nav-link:hover {
    color: #e14e4a;
    background-color: #f8f9fa;
}

.nav-tabs .nav-link.active {
    color: #e14e4a;
    font-weight: 600;
    background-color: transparent;
}

.nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e14e4a;
}

/* 鏂伴椈鍒楄〃瀹瑰櫒 */
.news-list {
    margin-bottom: 2.5rem;
}

/* 鏂伴椈椤规牱寮� */
.news-item {
   /* margin-bottom: 1.5rem;*/
    padding: 0.5rem;
    background-color: #fff;
    border-radius: 8px;
    /* border: 1px solid #e9ecef; */
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border-color: #dee2e6;
}

/* 鏂伴椈椤归摼鎺� */
.news-item a {
    display: block;
    width:100%;
    text-decoration: none;
    color: inherit;
     overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-item  .list-flex{
    display: flex;
    justify-content: space-between;
}
/* 鏂伴椈鍥剧墖鏍峰紡 */
.news-item-img img {
    width: 100%;
    height: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.news-item:hover .news-item-img img {
    transform: scale(1.03);
}

/* 鏂伴椈鏍囬鏍峰紡 */
.news-title {
    font-size: 1rem;  
    color: #333;  
    line-height: 1.5;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item:hover .news-title {
    color: #e14e4a;
}

/* 鏂伴椈鏃ユ湡鏍峰紡 */
.news-date {
    display: inline-block;
    font-size: 0.875rem;
    color: #6c757d;
    padding: 0.25rem 0.75rem;
    background-color: #f8f9fa;
    border-radius: 15px;
}

/* 鍒嗛〉鎺т欢鏍峰紡浼樺寲 */
.pagination {
    margin-top: 3rem;
}

.pagination .page-item {
    margin: 0 0.25rem;
}

.pagination .page-link {
    color: #6c757d;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.pagination .page-link:hover:not(.disabled) {
    color: #e14e4a;
    border-color: #e14e4a;
    background-color: #fff;
}

.pagination .page-item.active .page-link {
    background-color: #e14e4a;
    border-color: #e14e4a;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #adb5bd;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

/* 鍝嶅簲寮忚璁� - 鏂伴椈鍒楄〃 */
@media (max-width: 767.98px) {
    .news-tabs {
        margin-bottom: 1.5rem;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .nav-tabs .nav-item {
        margin-right: 0.25rem;
    }
    
    .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .news-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .news-item-img {
        margin-bottom: 1rem;
    }
    
    .news-item-img img {
        max-height: 200px;
    }
    
    .news-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .pagination {
        margin-top: 2rem;
    }
    
    .pagination .page-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .news-item {
        padding: 1.25rem;
    }
    
    .news-item-img img {
        max-height: 140px;
    }
    
    .news-title {
        font-size: 1.15rem;
    }
}

/* 澶у睆骞曢�傞厤 - 鏂伴椈鍒楄〃 */
@media (min-width: 1400px) {
    .news-list-section {
        max-width: 1200px;
        margin: 0 auto;
    }
}
#newsTabsContent .news-title {
    font-size: 1rem;
    color: #333;
    font-weight: normal;
    line-height: 1.5;
    margin-bottom: 0;
    transition: color 0.3s ease;
  
}
#newsTabsContent .news-title a {
    margin: 0;
    font-size: 1rem;
    flex: 1;
    margin-right: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* 椤圭洰鍒楄〃瀹瑰櫒 */
.cardlist-container {
    padding: 2rem 0;
}

/* 椤圭洰鍗＄墖缃戞牸甯冨眬 */
.project-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* 椤圭洰鍗＄墖鏍峰紡 */
.project-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    margin-top: 2rem;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #e9ecef;
}

/* 椤圭洰鍥剧墖鍖哄煙 */
.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-image img {
     height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

/* 椤圭洰淇℃伅鍖哄煙 */
.project-info {
    padding: 1.5rem;
}

/* 椤圭洰鏍囬 */
.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: #e14e4a;
}

/* 椤圭洰鍏冧俊鎭� */
.project-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.project-meta-item {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
}

.project-meta-item i {
    margin-right: 0.35rem;
}

/* 椤圭洰鎻忚堪 */
.project-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 椤圭洰鎿嶄綔鎸夐挳 */
.project-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-donate-btn,.donate-btn {
    background-color: #e14e4a;
    color: #fff;
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.project-donate-btn:hover {
    background-color: #d03f3a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(225, 78, 74, 0.3);
    color: #fff;
}

/* 鍝嶅簲寮忚璁� - 椤圭洰鍒楄〃 */
@media (max-width: 767.98px) {
    .cardlist-container {
        padding: 1.5rem 0;
    }
    
    .project-card-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1.25rem;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-info {
        padding: 1.25rem;
    }
    
    .project-title {
        font-size: 1.1rem;
        margin-bottom: 0.65rem;
    }
    
    .project-meta {
        margin-bottom: 0.85rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .project-meta-item {
        margin-right: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .project-description {
        margin-bottom: 1.25rem;
        -webkit-line-clamp: 2;
    }
    
    .project-donate-btn {
        padding: 0.55rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .project-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.35rem;
    }
    
    .project-image {
        height: 190px;
    }
}

@media (min-width: 1200px) {
    .cardlist-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .project-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1400px) {
    .project-card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

