    /* ===== 全局样式 ===== */
    :root {
        --primary: #666;
        --secondary: #8fce44;
        --accent: #f3e9d2;
        --light: #f8f9fa;
        --dark: #000;
        --transition: all 0.3s ease;
    }

    body {
        font-family: -apple-system, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Source Han Sans CN, sans-serif;
        color: #333;
        overflow-x: hidden;
        background: #fff;
    }

    a:link {
        color: #333;
        text-decoration: none;
    }

    a:visited {
        color: #333;
        text-decoration: none
    }

    a:hover {
        color: #0F7BAF;
        text-decoration: none
    }

    a:active {
        color: #0F7BAF;
        text-decoration: none
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    .section-title {
        text-align: center;
        margin-bottom: 4rem;
    }

    .section-padding {
        padding: 4rem 0 !important;
    }

    .section-title h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        position: relative;
        display: inline-block;
        color: var(--dark);
    }

    .section-title h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--primary);
        border-radius: 2px;
    }

    .btn-primary,
    .btn-outline-primary {
        padding: 0.8rem 2.5rem;
        font-weight: 500;
        border-radius: 50px;
        transition: var(--transition);
    }

    .btn-primary {
        background: var(--primary);
        border: none;
        font-size: 1.1rem;
        box-shadow: 0 4px 15px rgba(102, 184, 33, 0.3);
    }

    .btn-primary:hover {
        background: #5aa61d;
        transform: translateY(-3px);
        box-shadow: 0 7px 20px rgba(102, 184, 33, 0.4);
    }

    .btn-outline-primary {
        border: 2px solid var(--primary);
        color: var(--primary);
        background: transparent;
        padding: 0.6rem 1.8rem;
    }

    .btn-outline-primary:hover {
        border: 2px solid #EE1D23 !important;
        background: #EE1D23 !important;
        color: white;
        transform: translateY(-3px);
    }

    /* ===== 导航栏样式 ===== */
    .header {
        background: rgba(255, 255, 255, 1) !important;
        backdrop-filter: blur(10px);
        padding: 0.8rem 0;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }

    .header .navbar-brand {
 
        margin-left: 1rem;
        display: flex;
        align-items: center;
    }
  .header .navbar-brand img{
    display: block;
  }
    .nav-link {
        font-weight: 500;
        color: #555 !important;
        margin: 0 0.5rem;
        transition: var(--transition);
        position: relative;
        display: flex;
        align-items: center;
        word-break: keep-all;
    }

    .nav-link i {
        margin-right: 0.5rem;
        font-size: 0.9rem;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary) !important;
    }


    .dropdown-menu {
        border: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        border-radius: 10px;
        margin-top: 0.8rem;
        padding: 0.5rem 0;
        min-width: 230px;
        border-top: 3px solid var(--primary);
    }

    .dropdown-item {
        padding: 0.7rem 1.5rem;
        transition: var(--transition);
        display: flex;
        align-items: center;
        font-weight: 500;
        color: #555;
        border-left: 3px solid transparent;
    }

    .dropdown-item i {
        width: 20px;
        text-align: center;
        margin-right: 0.8rem;
        color: var(--primary);
        font-size: 0.9rem;
    }

    .dropdown-item:hover {
        background: rgba(102, 184, 33, 0.08);
        color: var(--primary);
        border-left: 3px solid var(--primary);
        padding-left: 1.7rem;
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }

    /* ===== Banner轮播区域 ===== */
    .banner img {
        width: 100%;
    }

    /* ===== 领导寄语 ===== */
    .leader-section {
        background: #F6F6F6;
        position: relative;
        overflow: hidden;
        background-image: url('/template/lecms/index/images/leader_bg.png');
        background-size: contain;
        background-position: center bottom;
        background-repeat: no-repeat;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .leader-photo {
        width: 100%;
        height: 100%;
        max-width: 150px;
        max-height: 150px;
        border: 3px solid #efefef;
        border-radius: 50%;
        overflow: hidden;
        position: relative;
    }

    .leader-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .leader-quote {
        position: relative;
        border-left: 4px solid var(--primary);
        background: rgba(102, 184, 33, 0.05);
    }

    .leader-card {
        border: none;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        transition: var(--transition);
        height: 100%;
        background: white;
    }

    .leader-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .leader-card .card-header {
        background: #efeeeb;
        color: #666;
        padding: 1rem;
        text-align: center;
        border-bottom: none;
    }

    /* ===== 公益项目 ===== */
    .projects-section {
        background: #ffffff;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .projects-container {
        background: white;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        position: relative;
    }

    .project-tabs {
        border: none;
        flex-direction: column;
        height: 100%;
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        margin-bottom: 0;
    }

    .project-item {
        flex: 1;
        display: flex;
        transition: all 0.3s ease;
        position: relative;
        
        height: 20%;
    }

    .project-item:last-child {
        border-bottom: none;
    }

    .project-item:hover {
        background-color: rgba(44, 127, 92, 0.03);
    }

    .project-link {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 25px;
        background: transparent;
        color: var(--dark);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .project-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(237, 243, 241, 0.1), transparent);
        transition: all 0.6s ease;
    }

    .project-link:hover::before {
        left: 100%;
    }

    .project-link.active {
        background: white;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.05);
        z-index: 2;
        border-radius: 0 10px 10px 0 !important;
    }

    .project-link.active .project-title {
        color: var(--primary);
    }

    .project-link.active::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: #EE1D23;
    }

    .project-title {
        font-weight: 700;
        font-size: 1.35rem;
        margin-bottom: 0;
        color: var(--dark);
        transition: var(--transition);
        display: flex;
        align-items: center;
    }

    .project-title i {
        margin-right: 12px;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: 1.5rem;
    }

    .project-desc {
        font-size: 0.95rem;
        color: #777;
        line-height: 1.7;
        margin-bottom: 0;
        padding-left: 52px;
    }

    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0 10px 10px 0;
    }

    .project-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
        padding: 30px 20px 20px;
        color: white;
    }

    .project-overlay h3 {
        font-size: 1.6rem;
        margin-bottom: 10px;
        font-weight: 700;
        text-align: left;
    }

    .project-overlay p {
        font-size: 1rem;
        opacity: 0.9;
        margin-bottom: 0;
    }
    .tab-content img{ width:100%;}

    /* ===== 公益数据 ===== */
    .stats-section {
        position: relative;
        overflow: hidden;
        background-position: left top;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .stats-section .section-title h2 {
        color: #333 !important;
    }

    .stat-card {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
        border-radius: 15px;
        padding: 2rem 0;
        backdrop-filter: blur(5px);
        transition: var(--transition);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 1px 1px 1px rgba(255, 255, 255, 0.2);
        position: relative;
        overflow: hidden;
    }

    .stat-card::before {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .stat-card:hover {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1));
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), inset 1px 1px 1px rgba(255, 255, 255, 0.3);
    }

    .stat-card:hover::before {
        opacity: 1;
    }

    .stat-icon {
        width: 100px;
        height: 100px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 2rem auto;
        font-size: 2rem;
        color: #EE1D23;
        transition: var(--transition);
        position: relative;
    }

    .stat-icon i {
        font-size: 3rem;
    }

    .stat-icon::before,
    .stat-icon::after {
        content: '';
        position: absolute;
        border: 2px solid rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        animation: ripple 2s linear infinite;
        opacity: 0;
    }

    .stat-icon::before {
        width: 100px;
        height: 100px;
        animation-delay: 0s;
    }

    .stat-icon::after {
        width: 140px;
        height: 140px;
        animation-delay: 0.5s;
    }

    @keyframes ripple {
        0% {
            transform: scale(0.8);
            opacity: 0.5;
        }

        100% {
            transform: scale(1.2);
            opacity: 0;
        }
    }

    .stat-value {
        font-size: 1.2em;
        font-weight: 700;
        margin-bottom: 0.5rem;
        color: #EE1D23;
        font-family: Helvetica;
    }

    .stat-value span {
        font-size: 2rem;
        margin: 0 0.5rem;
        font-family: Helvetica;
    }

    .stat-label {
        color: rgba(0, 0, 0, 0.95);
        font-weight: 500;
    }

    .stat-card:hover .stat-icon {
        transform: scale(1.1);
    }

    /* ===== 新闻动态 ===== */
    .news-section {
        background-color: rgb(250, 250, 250, 1);
        position: relative;
    }

    .news-card {
        border: none;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
        transition: var(--transition);
        background: white;
        height: 100%;
    }

    .news-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .news-card h3 a:hover {
        color: #EE1D23;
        text-decoration: none;
    }

    .news-img {
        background-size: cover;
        background-position: center;
    }

    .news-img img {
        width: 100%;
        height: auto;
        transition: var(--transition);
    }

    .news-card:hover .news-img img {
        transform: scale(1.05);
    }

    .news-date {
        color: var(--primary);
        font-weight: 500;
        margin-bottom: 0.8rem;
        display: flex;
        align-items: center;
    }

    .news-date i {
        margin-right: 0.5rem;
        color: #EE1D23;
    }

    .news-card h3 {
        font-size: 1.4rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: var(--dark);
        transition: var(--transition);
        text-align: left;
    }

    .news-card:hover h3 {
        color: var(--primary);
    }

    .news-card p {
        color: #666;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    /* ===== 页脚 ===== */
    .footer {
        background: #0F7BAF;
        color: rgba(255, 255, 255, 0.85);
        padding: 5rem 0 0;
        position: relative;
        border-top: 0px solid #EE1D23;
    }

    .footer-content {
        position: relative;
        z-index: 2;
    }

    .footer-logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: white;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
    }

    .footer-logo i {
        margin-right: 0.8rem;
        color: var(--secondary);
    }

    .footer-desc {
        color: rgba(255, 255, 255, 0.75);
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    .social-links {
        display: flex;
        gap: 15px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.1rem;
        transition: var(--transition);
        text-decoration: none;
    }

    .social-links a:hover {
        background: var(--primary);
        transform: translateY(-3px);
    }

    .footer-title {
        color: white;
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        position: relative;
        padding: 0;
        padding-bottom: 0.8rem;
        text-align: left;
    }

    .footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 3px;
        background: #fff;
        border-radius: 2px;
    }

    .footer-links ul {
        padding-left: 0;
        list-style: none;
    }

    .footer-links li {
        margin-bottom: 0.8rem;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.75);
        text-decoration: none;
        transition: var(--transition);
        display: flex;
        align-items: center;
    }

    .footer-links a i {
        margin-right: 0.5rem;
        font-size: 0.8rem;
        color: #fff;
    }

    .footer-links a:hover {
        color: white;
        transform: translateX(5px);
    }

    .contact-info p {
        display: flex;
        align-items: flex-start;
        margin-bottom: 1rem;
    }

    .contact-info i {
        margin-right: 0.8rem;
        color: #fff;
        min-width: 20px;
        margin-top: 0.2rem;
    }

    .copyright {
        text-align: center;
        padding: 1rem 0;
        margin-top: 3rem;
        background: rgba(0, 0, 0, 0.2);
        color: rgba(255, 255, 255, 0.7);
    }

    /* ===== 公益影像 ===== */


    .gallery-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 1;
        transition: all 0.3s ease;
    }

    .gallery-overlay i {
        color: white;
        font-size: 3rem;
        opacity: 0.8;
        transition: all 0.3s ease;
    }

    .gallery-item:hover .gallery-overlay i {
        transform: scale(1.2);
        opacity: 1;
    }
    /*文章列表页*/
    .article .p_position {
      position: absolute;
      margin: auto;
      bottom: 30px;
      z-index: 999;
      background-color: #fff;
      box-shadow: rgba(51, 51, 51, 0.2) 0px 4px 16px 0px;
      width: 100%;
      padding: 20px;
    }
   .article .p_block {
     
      margin: auto;
      text-align: center;
    }

    .article .p_block i {
      font-size: 2rem;
      display: block;
      padding: 20px 0;
      margin: auto;
    }

   .article  .p_block a {
      color: #333;
      text-decoration: none;
      display: block;
    }

    .article .p_block a:hover, .p_block a.hover {
      color:rgba(238, 29, 35, 0.8);
    }
     .article  .pagination {
          text-align: center;
          display: block;
        }

       .article  .pagination a {
          text-decoration: none;
          color: rgb(51 51 51);
          border-color: rgb(230 230 230);
          background-color: rgb(252 252 252);
          display: inline-block;
        }
/*详情页*/
    .page .sidebar .list {
        background: #F5F5F5;
        border-radius: 0 0 10px 10px;
        border-left: 10px solid #D5D9E2;
        height: 100%;
        position: relative;

    }

    .page .sidebar h2 {
        background: #EE1D23;

        font-size: 24px;
        text-align: center;
        padding: 0;
        color: #fff;
        font-weight: bold;
        margin: 0;
        height: 100px;
        line-height: 100px;
        border-radius: 10px 10px 0 0;
        margin-left: -10px;
    }



    .page .sidebar ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .page .sidebar li {
        border-bottom: 1px solid #D8D9DE;
        padding: 30px;
        display: flex;
        align-items: center;
        gap: 10px;
        text-align: left;
    }

    .page .sidebar li:last-child {
        border-bottom: none;
    }


    .page .sidebar a {
        font-size: 18px;
        display: block;

    }



    .page .sidebar .hover {
        background-color: #D8D9DE;
    }

    .page .page_desc {
        background: #FFF;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    }

    .page .page_desc .list {
        padding: 20px;
    }

    .page .page_desc .page_title {
        font-weight: bold;
        font-size: larger;

        border-bottom: 1px solid #D9D9D9;
        padding: 20px 0;
        position: relative;
        text-align: left;

    }

    .page .page_desc .page_title i {
        margin-right: 10px;
    }

    .page .page_desc .page_content {
        padding: 20px 0;
        position: relative;
        overflow: hidden;
    }

    .page .page_desc .page_content img {
        max-width: 600px;
        width: 100%;
    }

    .page .page_desc .page_content p {
        line-height: 200%;
    }

    .page .page_desc .page_content .page-content-toptext {
        background-color: rgba(255, 255, 255, 0.95);
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 40px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        border-left: 5px solid #4a9cc5;
    }

    .page .page_desc .page_content .page-content-toptext p {
        color: #444;
        margin-bottom: 0;
    }
    .page .page_desc .page_content .smalltext{ font-size:14px;}
    .page .page_desc .page_content .page-content-gallery .col-md-6 {
        padding-bottom: 20px;
    }

    .page .page_desc .page_content .page-content-gallery .card {
        border: none;
        border-radius: 12px;
        overflow: hidden;
        height: 100%;
        transition: all 0.4s ease;

        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
        background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    }

    .page .page_desc .page_content .page-content-gallery .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }


    .page .page_desc .page_content .page-content-gallery .card-img-top {
        width: 100%;
        transition: transform 0.5s ease;
    }

    .page .page_desc .page_content .page-content-gallery .card:hover .card-img-top {
        transform: scale(1.05);
    }

    .page .page_desc .page_content .page-content-gallery .card-body {
        padding: 20px;
    }

    .page .page_desc .page_content .page-content-gallery .card-body p {

        text-align: center;
        color: #555;
        margin-bottom: 0;
    }

    .page .page_desc .page_content .page-content-gallery .card-year {
        position: absolute;
        top: 15px;
        right: 15px;
        background: linear-gradient(135deg, #4a9cc5, #2c6e91);
        color: white;
        padding: 6px 15px;
        font-size: 14px;
        border-radius: 20px;
        z-index: 10;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    }




    .highlight-box {
        background: linear-gradient(to right, rgba(238, 29, 35, 0.08), rgba(74, 156, 197, 0.08));
        border-left: 4px solid #0F7BAF;
        padding: 25px;
        border-radius: 0 10px 10px 0;
        margin: 35px 0;
        font-style: italic;
        position: relative;
    }

    .highlight-box::before {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        font-size: 5rem;
        color: rgba(238, 29, 35, 0.15);
        font-family: serif;
        line-height: 1;
    }

    .page_contact {
        text-align: center;
        padding: 20px;
    }

    .page_contact .p_icon {
        background: #F5F5F5;
        border-radius: 50%;
        width: 70px;
        height: 70px;
        display: flex;
        justify-items: center;
        justify-content: center;
        align-items: center;
        margin: auto;
        margin-bottom: 20px;
        color: rgba(238, 29, 35, 0.8);
    }

    .page_contact em {
        font-size: 2rem;
    }

    .page_contact h5 {
        margin: 0;
        font-size: 1rem;
    }
    .page_contact .p_details{ margin-bottom: 1rem;}
    .pagination a {
    display: inline-block;
    float: none;
    height: auto;
    line-height: 21px;
    min-width: 1.5em;
    text-align: center;
    border: 1px solid transparent;
    padding: 7px 14.5px;
    border-color: #e3e3e3;
    margin-left: 8px;
    border-radius: 5px;
    color: #333;
    transition: color .2s;
    background-color: transparent;
    transition: background-color .2s;
    margin: 0 0 0 8px;
}
.pagination a:hover{
    border:1px solid #0F7BAF;
    
}
.pagination a.cur {
    border: none;
    background: #0F7BAF;
    color: #fff;
}
    /* ===== 响应式样式 ===== */
    @media (max-width: 992px) {
        .navbar-collapse{
            position: absolute;
            left: 0;
            top: 85px;
            background: #F6F6F6;
            width: 100%;
        }
        .navbar-nav{ width:80%; margin:1rem auto;}
        
        .tab-content>.tab-pane{
            display: block;
            margin-bottom: 1rem;
        }
        .fade:not(.show){
            opacity: 1;
        }
        .tab-content img{ width: 100%;}

        .project-item {
            flex: 0 0 auto;
            width: 100%;
        }

        .project-link {
            padding: 15px 20px;
        }

        .project-link.active {
            border-radius: 10px !important;
        }

        .project-link.active::after {
            width: 100%;
            height: 4px;
            top: auto;
            bottom: 0;
        }
        .article .p_position{
            position: relative;
            margin-bottom: 2rem;
        }
    }

    @media (max-width: 768px) {
        .section-padding {
            padding: 3rem 0 !important;
        }

        .section-title h2 {
            font-size: 1.8rem;
            margin-bottom: 0.8rem;
        }

        .leader-card {
            margin-bottom: 1.5rem;
        }

        .stat-icon {
            width: 80px;
            height: 80px;
            margin: 1.5rem auto;
        }

        .stat-icon i {
            font-size: 2.5rem;
        }

        .stat-value span {
            font-size: 1.8rem;
        }

        .footer .row>div {
            margin-bottom: 2rem;
        }
    }