/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: '微软雅黑', serif;
    line-height: 1.6;
    color: #333;
    background: url('../images/bg.png') no-repeat top center;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
  
}

@media (max-width: 1500px) {
.cards .container {
    max-width: calc(1200px + 40px) !important
}
    .container {
        max-width: 1200px;
    }

}


/* 导航栏样式 */
.navbar {
    background: #f8fafa;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 160px;
}
.navbar-height{
    height: 160px;
}
.mobile-navber{
position: relative;
display: none;
}
/* 导航栏上部分 */

.navbar-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.top-left .home-img{
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.top-left .home-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #0f3d7b;
    font-size: 1rem;
    padding-right: 1.5rem;
    border-right: 1px solid #ddd;
}

.top-left .home-link i {
    margin-right: 5px;
}

.language-switch {
    border-right: 0 !important;
}

.top-right {
    display: flex;
    align-items: center;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 50px;
    background: #fff;
    padding-left: 20px;
    transition: all 0.3s;
}

.search-box:hover {
    border-color: #2ba1c9;
}

.search-box input {
    border: none;
    outline: none;
    padding: 12px 0;
    font-size: 0.9rem;
    width: 200px;
    background: transparent;
    color: #666;
}

.search-box input::placeholder {
    color: #999;
}

.search-box button {
    background: #2ba1c9;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 13px 25px;
    border-radius: 0 50px 50px 0;
    transition: all 0.3s;
    margin-left: 10px;
}

.search-box button:hover {
    background: #249ab5;
}

.search-box button i {
    font-size: 0.9rem;
}

/* 导航栏下部分 */
.navbar-bottom {

}

.navbar-bottom .container {
    display: flex;
    justify-content: center;
    height: 60px;
    align-items: center;
}

.nav-container {
   
    width: 100%;
    position: relative;
}

.nav-left, .nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-left {
    justify-content: flex-end;
}

.nav-right {
    justify-content: flex-start;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links .logo {
 width: 25vw;
    position:relative;
 
}

.nav-links .logo img {

    position: absolute;
    max-width: 100%;
    left: 50%;
    transform: translateX(-50%);
    top:-130px
}

.nav-links li {
    margin: 0 1.5rem;
    width: 12.5vw;
    text-align: center;
	line-height:60px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s;

}

.nav-links li:hover,.nav-links li.hover{
    border-bottom:2px solid #0066cc;
}

.nav-links li:hover a,.nav-links li.hover a{
    color: #0066cc;
}


/* 响应式导航栏 */
@media (max-width: 1024px) {
    .nav-links li {
        margin: 0 1rem;
    }
    

}

@media (max-width: 768px) {
body{    font-family: '微软雅黑';}
    .navbar {
        height: 60px;
    }
    
    .navbar-height {
      height: 60px;
    }
    
    .navbar-bottom .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .navbar-bottom {
        height: 60px;
    }
    
    .navbar-top {
        display: none;
    }
    
    .nav-container {
        position: relative;
        padding: 0 20px;
    }
    
    /* 调整其他内容的上边距 */
    .cards {
        margin-top: 0;
    }
    
    .study-time .time{
        font-size: .8rem !important;
    }
    .nav-center {
        position: static;
        transform: none;
        order: -1;
        margin-bottom: 1rem;
    }

    .nav-left, .nav-right {
        justify-content: center;
        width: 100%;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 0.5rem;
    }

    .search-box {
        padding-left: 15px;
    }
    
    .search-box input {
        width: 150px;
        padding: 10px 0;
    }
    
    .search-box button {
        padding: 10px 20px;
    }
}

/* 主横幅样式 */
.banner-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 卡片部分样式 */
.cards {
    padding:0 0 5rem 0;
    margin-top: -10rem;
}
.cards .container{
    position: relative;
max-width: calc(1400px + 40px);
}

.card-swiper {
    padding: 20px 0 100px !important;
    position: relative;
}

/* 自定义导航按钮样式 */
.cards .container .swiper-button-prev,
.cards .container .swiper-button-next {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.cards .container .swiper-button-prev{
    left: -50px;
}
.cards .container .swiper-button-next{
    right: -50px;
}

.cards .container .swiper-button-prev:hover,
.cards .container  .swiper-button-next:hover {
    background: #0f3d7b;
}

.cards .container  .swiper-button-prev::after,
.cards .container  .swiper-button-next::after {
    font-size: 16px;
    color: #0f3d7b;
    transition: all 0.3s;
}

.cards .container .swiper-button-prev:hover::after,
.cards .container .swiper-button-next:hover::after {
    color: #fff;
}

/* 自定义分页器样式 */
.card-swiper .swiper-pagination {
    bottom: 0;
}

.card-swiper .swiper-pagination-bullet {
    width: 30px;
    height: 4px;
    background: #ddd;
    opacity: 1;
    transition: all 0.3s;
    border-radius: 2px;
    margin: 0 5px !important;
}

.card-swiper .swiper-pagination-bullet-active {
    background: #0f3d7b;
    width: 30px;
}

/* 移除旧的指示器样式 */
.slider-indicators,
.indicator,
.indicator.active,
.indicator:hover {
    display: none;
}

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    height: 100%;
    padding: 16px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 40px 40px 0 0;
   border-radius: 12px;
 
}

.card-content {
    padding: 1rem;
    text-align: center;
}

.card h3 {
    color: #0f3d7b;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card h4 {
    color: #0f3d7b;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.study-time {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    position: relative;
    background: #0f3d7b;
    border-radius: 25px;
}

.study-time .label {
    color: #fff;
    padding: 10px 20px;
    border-radius: 21px;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
}

.study-time .time {
   
    color: #fff;
    padding: 10px 20px;
    border-radius: 0 20px 20px 0;
    font-size: 1rem;
    margin-left: -10px;
    flex: 1;
}

.card-desc {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.more-btn {
    background: none;
    border: 1px solid #888;
    color: #888;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    padding: 8px 20px;
    border-radius: 20px;
}

.more-btn:hover {
    color: #2ba1c9;
    border-color: #2ba1c9;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1rem;
    margin: 1rem;
}

.btn:hover {
    background: #0052a3;
}

/* WHO WE ARE 部分样式 */
.who-we-are {
    padding: 0 0 8rem;
}

.who-we-are .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
padding:1rem;
}

.who-we-are .content {
    padding-right: 2rem;
}

.who-we-are .content h2 {
    font-size: 3rem;
    color: #0f3d7b;
    font-weight: bold;
}

.who-we-are .content h3 {
    font-size: 1.8rem;
    color: #0f3d7b;
    margin-bottom: 2rem;
}

.who-we-are .content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.who-we-are .image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
   
}

.who-we-are .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.who-we-are .image:hover img {
    transform: scale(1.05);
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: none;
    border: 2px solid #0f3d7b;
    color: #0f3d7b;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.learn-more-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #0f3d7b;
    transition: width 0.3s ease;
    z-index: -1;
}

.learn-more-btn:hover {
    color: #fff;
}

.learn-more-btn:hover::after {
    width: 100%;
}

.learn-more-btn span {
    margin-right: 10px;
}

.learn-more-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.learn-more-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .who-we-are .container {
        gap: 4rem;
    }
    
    .who-we-are .content h2 {
        font-size: 2.5rem;
    }
    
    .who-we-are .content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .who-we-are {
        padding: 1rem 0 3rem;
    }
    
    .who-we-are .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .who-we-are .content {
        padding-right: 0;
        text-align: center;
    }
    
    .who-we-are .image {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* 图书馆部分样式 */
.library {
    padding: 8rem 0;
    position: relative;
}

.library .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.library .image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;

}

.library .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.library .image:hover img {
    transform: scale(1.05);
}

.library .content {
    padding-right: 2rem;
}

.library .content h2 {
    font-size: 3rem;
    color: #0f3d7b;
    font-weight: bold;
    text-align: right;
}

.library .content h3 {
    font-size: 1.8rem;
    color: #0f3d7b;
    margin-bottom: 2rem;
    text-align: right;
}

.library .content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-align: right;
}

.library-btn {
display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: none;
    border: 2px solid #0f3d7b;
    color: #0f3d7b;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;

    float: right;
}

.library-btn:hover {
    background: transparent;
    color: #0f3d7b;
}

.library-btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.library-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .library .container {
        gap: 4rem;
    }
    
    .library .content h2 {
        font-size: 2.5rem;
    }
    
    .library .content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .library {
        padding: 2rem 0;
    }
    
    .library .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .library .content {
        padding-right: 0;
        text-align: center;
    }
    
    .library .content h2,
    .library .content h3,
    .library .content p {
        text-align: center;
    }
    
    .library-btn {
        float: none;
        margin: 0 auto;
        display: inline-flex;
    }
    
    .library .image {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* 特别专栏样式 */
.special-column {
    padding: 0 0 8rem;
    background-position-y: bottom;
    background-position-x: center;
    position: relative;
}

.special-column .container {
    position: relative;
}

.special-column .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.special-column .title-group h2 {
    font-size: 3rem;
    color: #0f3d7b;
    font-weight: bold;
}

.special-column .title-group h3 {
    font-size: 1.5rem;
     color:#555;
}

.special-column .view-all {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.special-column .view-all:hover {
    border-color: #0f3d7b;
    color: #0f3d7b;
}

.special-column .view-all i {
    margin-left: 8px;
}

.column-swiper {
    padding: 20px 0 50px !important;
    position: relative;
}

.column-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.column-card:hover {
    transform: translateY(-10px);
  
}

.column-card .image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.column-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.column-card:hover .image img {
    transform: scale(1.1);
}

.column-card .content {
    padding: 1.5rem;
}
.column-card .content h4{
    font-size: 1.5rem;
   
    font-weight: bold;
}
.column-card .content h4 span{
    font-size: 1.2rem;
    color: #333;
    font-weight: normal;
}


.column-card .content .bottom-content {
    display: grid;
    grid-template-columns: 5fr 3fr;
}
.column-card .content .read-more-box{
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.column-card .content .read-more {
    display: inline-flex;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    padding: 8px 20px;
    border: 1px solid #888;
    border-radius: 20px;
}

.column-card .content .read-more:hover {
    background: #0f3d7b;
    color: #fff;
}

.column-card .content .read-more i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.column-card .content .read-more:hover i {
    transform: translateX(5px);
    color: #fff;
}

/* 自定义导航按钮样式 */
.column-swiper .swiper-button-prev,
.column-swiper .swiper-button-next {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #ddd;
    box-shadow: none;
    transition: all 0.3s;
}

.column-swiper .swiper-button-prev {
    left: 40px;
    top:auto;
    bottom: 0;
}

.column-swiper .swiper-button-next {
    right: 40px;
    top:auto;
    bottom: 0;
}

.column-swiper .swiper-button-prev:hover,
.column-swiper .swiper-button-next:hover {
    background: #fff;
    border-color: #0f3d7b;
    z-index: 100000;
}

.column-swiper .swiper-button-prev::after,
.column-swiper .swiper-button-next::after {
    font-size: 12px;
    color: #666;
    font-weight: bold;
    transition: all 0.3s;
}

.column-swiper .swiper-button-prev:hover::after,
.column-swiper .swiper-button-next:hover::after {
    color: #0f3d7b;
}

/* 自定义分页器样式 */
.column-swiper .swiper-pagination {
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.column-swiper .swiper-pagination-bullet {
    width: 25px;
    background: none;
    height: 15px;
    color: #888;
    opacity: 1;
    transition: all 0.3s;
    border-radius: 50%;
    margin: 0 !important;
}

.column-swiper .swiper-pagination-bullet-active {
    color: #0f3d7b;
    width: 25px;
}

@media (max-width: 1024px) {
    .special-column .header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .special-column .title-group h2 {
        font-size: 2.5rem;
    }
    
    .special-column .title-group h3 {
        font-size: 1.3rem;
		
    }
}

@media (max-width: 768px) {
    .mobile-navber{
        display: block;
    }
    .special-column {
        padding: 1rem 0;
    }
    
    .column-swiper .swiper-button-prev,
    .column-swiper .swiper-button-next {
        display: none;
    }
    .column-card .content .bottom-content{
        grid-template-columns: 1fr;
    }
}

/* 奉献支持部分样式 */
.support {
    padding: 8rem 0;
    background:  url('../images/support-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    position: relative;
}

.support .container {
    max-width: 800px;
    margin: 0 auto;
}

.support h2 {
    font-size: 3.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.support h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: normal;
}

.support p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.support-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 120px;
    background: #fff;
    color: #0f3d7b;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.support-btn:hover {
    background: transparent;
    color: #fff;
}

@media (max-width: 768px) {
    .support {
        padding: 6rem 0;
    }
    
    .support h2 {
        font-size: 2.5rem;
    }
    
    .support h3 {
        font-size: 1.5rem;
    }
    
    .support p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .support-btn {
        padding: 12px 40px;
        font-size: 1.1rem;
    }
}

/* 页脚样式 */
footer {
    background: #0f3d7b;
    color: #fff;
    padding: 4rem 0 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: url('../images/wave.png') repeat-x;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 60%;
}


footer .title-group  h2 {
    font-size: 3rem;

    font-weight: bold;
}

footer .title-group  h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
 

.footer-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: .8rem;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-info-item i {
    color: #fff;
    font-size: 1rem;
    margin-top: 0.2rem;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2rem;
}

.footer-logo {
    width: 180px;
}

.footer-right img {
    margin-top: -100px;
}

.footer-search {
    position: relative;
    width: 300px;
}

.footer-search input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem;
}

.footer-search input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #fff;
    color: #0f3d7b;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: 3rem;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.8;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-left {
        width: 100%;
    }

    .footer-right {
        align-items: center;
        width: 100%;
    }
    .footer-right img{
        margin-top: 0;
    }

    .footer-search {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .footer-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    img{
        height: 80px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 95%;
        padding: 0;
        margin: 0 2.5%;
    }
}

/* 响应式设计 - 所有媒体查询 */
@media (max-width: 1024px) {

    :root{
        font-size: 14px;
    }

    /* 导航栏响应式 */
    .nav-links li {
        margin: 0 1rem;
    }
    
  




  
    /* WHO WE ARE 响应式 */
    .who-we-are .container {
        gap: 4rem;
    }
    
    .who-we-are .content h2 {
        font-size: 2.5rem;
    }
    
    .who-we-are .content h3 {
        font-size: 1.5rem;
    }

    /* 图书馆响应式 */
    .library .container {
        gap: 4rem;
    }
    
    .library .content h2 {
        font-size: 2.5rem;
    }
    
    .library .content h3 {
        font-size: 1.5rem;
    }

    /* 特别专栏响应式 */
    .special-column .header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .special-column .title-group h2 {
        font-size: 2.5rem;
    }
    
    .special-column .title-group h3 {
        font-size: 1.5rem;
    }

    /* 页脚响应式 */
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-left {
        max-width: 100%;
    }

    .footer-right {
        align-items: center;
    }

    .footer-search {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    /* 导航栏响应式 */
    .navbar {
        height: 60px;
    }
    
    .navbar-height {
        height: 60px;
    }
    
    .navbar-bottom .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .navbar-bottom {
        display: none;
    }
    
    .navbar-top {
        display: none;
    }
    
    .nav-container {
        position: relative;
        padding: 0 20px;
    }

    .nav-center {
        position: static;
        transform: none;
        order: -1;
        margin-bottom: 1rem;
    }

    .nav-left, .nav-right {
        justify-content: center;
        width: 100%;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 0.5rem;
    }

    /* 搜索框响应式 */
    .search-box {
        padding-left: 15px;
    }
    
    .search-box input {
        width: 150px;
        padding: 10px 0;
    }
    
    .search-box button {
        padding: 10px 20px;
    }

    /* 卡片部分响应式 */
    .cards {
        padding: 0 0 1rem 0;
        margin-top: 0;
    }
    
    .card h3 {
        font-size: 1.2rem;
    }
    
    .card h4 {
        font-size: 0.9rem;
    }
    
    .card-desc {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .more-btn {
        font-size: 0.9rem;
        padding: 6px 15px;
    }

    /* WHO WE ARE 响应式 */
  
    
    .who-we-are .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .who-we-are .content {
        padding-right: 0;
        text-align: center;
    }
    
    .who-we-are .image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .who-we-are .content h2 {
        font-size: 2rem;
    }
    
    .who-we-are .content h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .who-we-are .content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    /* 图书馆响应式 */
    .library {
        padding: 2rem 0;
    }
    
    .library .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .library .content {
        padding-right: 0;
        text-align: center;
    }
    
    .library .content h2,
    .library .content h3,
    .library .content p {
        text-align: center;
    }
    
    .library-btn {
        float: none;
        margin: 0 auto;
        display: inline-flex;
    }
    
    .library .image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .library .content h2 {
        font-size: 2rem;
    }
    
    .library .content h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .library .content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    /* 特别专栏响应式 */
    .special-column {
        padding: 1rem 0 2rem;
    }
    .special-column .header{
        margin-bottom: 1rem;
    }
    .special-column .title-group h2 {
        font-size: 2rem;
    }
    
    .special-column .title-group h3 {
        font-size: 1.3rem;
    }
    
    .column-card .content h4 {
        font-size: 1.2rem;
    }
    
    .column-card .content h4 span {
        font-size: 1rem;
    }
    
    .column-card .content p {
        font-size: 0.9rem;
    }
    
    .column-swiper .swiper-button-prev,
    .column-swiper .swiper-button-next {
        display: none;
    }
    
    .column-card .image {
        height: 200px;
    }

    /* 奉献支持响应式 */
    .support {
        padding: 3rem 0;
    }
    
    .support h2 {
        font-size: 2rem;
    }
    
    .support h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .support p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    /* 页脚响应式 */
    footer {
        padding: 3rem 0 1.5rem;
        text-align: center;
    }
    
    .footer-info {

        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .social-links{
        justify-content: center;
    }
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    footer .title-group h2 {
        font-size: 2rem;
    }
    
    footer .title-group h3 {
        font-size: 1.3rem;
    }
    
    .footer-info-item {
        font-size: 0.85rem;
    }
    
    .footer-nav a {
        font-size: 0.85rem;
    }
    
    .copyright {
        font-size: 0.85rem;
    }

    /* 通用容器响应式 */
    .container {
        padding: 0 15px;
        overflow: hidden;
    }
}

.slider-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: #0f3d7b;
    transform: scale(1.2);
}

.indicator:hover {
    background: #2ba1c9;
}

/* 回到顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #0f3d7b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0066cc;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top i {
    font-size: 20px;
}
.mobile-logo{
    position: absolute;
    left: 10px;
    top: 0;
}
/* 移动端导航样式 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px;
    position: absolute;
    right: 0;
    transform: none;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #0f3d7b;
    margin: 6px 0;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 10000;
    transition: all 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-logo {
    height: 100px;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #0f3d7b;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    padding: 20px;
}

.mobile-nav-links li {
    margin: 15px 0;
}

.mobile-nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    color: #0f3d7b;
    padding-left: 10px;
}

/* 移动端响应式样式 */
@media (max-width: 768px) {

    

    
    .navbar-bottom .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .navbar-bottom {
        display: none;
    }
    
    .navbar-top {
        display: none;
    }
    
    .nav-container {
        position: relative;
        padding: 0 20px;
    }
    
    /* 调整其他内容的上边距 */
    .cards {
        margin-top: 0;
      
    }
}

/* 遮罩层 */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
} 



.story-content {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.story-content .container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.story-grid-reverse {
    grid-template-columns: 1fr 1fr;
}

.story-grid-reverse .story-text {
    order: 2;
}

.story-grid-reverse .story-image {
    order: 1;
}

.story-text {
    padding: 20px;
}

.story-title-en {
    font-size: 2.5rem;
    color: #0f3d7b;
    font-weight: bold;
    text-transform: uppercase;
}

.story-title-cn {
    font-size: 1.8rem;
    color: #0f3d7b;
    margin-bottom: 2rem;
    font-weight: 400;
}

.story-paragraph {
    line-height: 1.8;
    color: #666;
}

.story-paragraph p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.story-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
  
}

.story-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.story-img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .story-content .container {
        gap: 40px;
    }

    .story-grid,
    .story-grid-reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .story-text {
        order: 2;
        padding: 0;
    }
    
    .story-image {
        order: 1;
    }
    
    .story-title-en {
        font-size: 2rem;
        text-align: center;
    }
    
    .story-title-cn {
        font-size: 1.5rem;
        text-align: center;
    }

    .story-paragraph {
        text-align: left;
    }
    
    .story-paragraph p {
        font-size: 1rem;
    }
}

/* 图书馆横幅 */
.library-banner {
    height: 400px;
    background: url('../images/library-banner.jpg') no-repeat center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.library-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-content h1 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.banner-content h2 {
    font-size: 2rem;
    font-weight: normal;
}

/* 图书馆内容 */
.library-content {
    padding: 60px 0;
    background-color: #f9f9f9;
}

/* 精选图书 */
.featured-book {
    margin-bottom: 60px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px;
}

.featured-book .book-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
}

.featured-book .book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-book:hover .book-image img {
    transform: scale(1.05);
}

.featured-book .book-info {
    padding: 30px;
 
}

/* 图书列表 */
.book-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.book-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    padding: 30px;
}

.book-item:hover {
    transform: translateY(-5px);
}

.book-item .book-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
}

.book-item .book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.book-item:hover .book-image img {
    transform: scale(1.05);
}

.book-grid .book-info {
    padding: 20px;
    display: grid;
    grid-template-columns: 5fr 3fr;
}

.book-info h3 {
    font-size: 1.5rem;
    color: #333333;
    margin-bottom: 10px;
}
.book-info h3 span{
    font-size: 1rem;
}

.book-info p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1rem;
}

.book-grid .read-more{
    display: flex;
        align-items: flex-end;
        justify-content: flex-end;
}

.read-more {
    text-align: center;
}

.read-btn {
    display: inline-flex;
    align-items: center;
    padding: 5px 30px;
    background: none;
    border: 1px solid #888;
    color: #888;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-btn:hover {
    background: #0f3d7b;
    color: #fff;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a.active {
    background: #0f3d7b;
    color: #fff;
    border-color: #0f3d7b;
}

.pagination a:hover:not(.active) {
    border-color: #0f3d7b;
    color: #0f3d7b;
}

.pagination .next {
    width: auto;
    padding: 0 20px;
    border-radius: 20px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .book-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .library-banner {
        height: 300px;
    }

    .banner-content h1 {
        font-size: 3rem;
    }

    .banner-content h2 {
        font-size: 1.5rem;
    }

    .book-grid {
        grid-template-columns: 1fr;
    }

    .featured-book .book-image {
        height: 300px;
    }

    .book-grid .book-info{
        grid-template-columns: 1fr;
       
    }
    .book-grid .read-more{
        justify-content: space-around;
    }
    .book-item .book-image {
        height: 250px;
    }

    .book-info h3 {
        font-size: 1.3rem;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

/* 图书详情页面样式 */
.book-detail {
    padding: 60px 0;
}

.book-detail .container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

/* 左侧导航 */
.book-sidebar {
    background: #fff;
    border-radius: 12px;
 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.book-sidebar h3 {
    color: #333;
    font-size: 1.5rem;
    padding:20px 40px;
}

.book-nav {
    list-style: none;
}



.book-nav a {
    display: block;
    color: #666;
    text-decoration: none;
    padding: 10px 15px;
    transition: all 0.3s ease;
    margin: 0 20px;
    border-bottom: 1px solid #eee;
}

.book-nav li:hover,
.book-nav li.active {
    background: #f3f4f7;
    border-right: 1px solid #0f3d7b;
}

.book-nav li:hover a,
.book-nav li.active a{

    color: #0f3d7b;
}

/* 右侧内容 */
.book-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.book-header {
    margin-bottom: 30px;
}

.book-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.book-header h2{
	
}

.book-meta {
    color: #666;
    text-align: center;
}
.book-meta-author{
    color: #333;
    font-size: 1.2rem;
}
.book-meta-time{
    margin-bottom: 10px;
}

.book-cover {
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
}

.book-cover img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.book-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.book-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* 音频播放器 */
.audio-player {
    background: #f5f5f5;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
}

.progress-bar {
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    margin-bottom: 15px;
    position: relative;
}

.progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #0f3d7b;
    border-radius: 3px;
    width: 30%;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #0f3d7b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.controls button:hover {
    background: #0f3d7b;
    color: #fff;
}

.play-btn {
    width: 50px !important;
    height: 50px !important;
}

/* 导航按钮 */
.book-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.book-navigation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0 25px;
    font-size: 0.9rem;
}

.prev-page, .next-page, .back-to-list {
    background: #fff;
}

.prev-page:hover, .next-page:hover, .back-to-list:hover {
    background: #fff;
    border-color: #0f3d7b;
    color: #0f3d7b;
}

.prev-page i {
    margin-right: 8px;
    font-size: 0.8rem;
}

.next-page i {
    margin-left: 8px;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .book-detail {
        padding: 1rem 0;
      
    }

    .book-detail .container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .book-content {
        padding: 20px;
        border-radius: 0;
        box-shadow: none;
    }


.mobile-menu .language-switch{
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 10px;
    transition: all 0.3s ease;
}

    .book-sidebar{
margin-top: 1.5rem;
    }

    .book-header {
        margin-bottom: 20px;
    }

    .book-header h1 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 10px;
    }

    .book-meta {
        flex-direction: column;
        gap: 5px;
    }

    .book-meta-author {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .book-meta-time {
        font-size: 0.9rem;
        color: #888;
    }

    .book-cover {
        margin: 0 -20px 20px;
        border-radius: 0;
    }

    .book-cover img {
        border-radius: 0;
    }

    .book-text {
        margin-bottom: 30px;
    }

    .book-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    /* 音频播放器移动端样式 */
    .audio-player {
        margin: 0 -20px 20px;
        border-radius: 0;
        background: #f9f9f9;
    }

    .controls button {
        width: 36px;
        height: 36px;
    }

    .play-btn {
        width: 44px !important;
        height: 44px !important;
    }

    /* 导航按钮移动端样式 */
    .book-navigation {
        margin: 20px -20px 0;
        padding: 20px;
        background: #f9f9f9;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .book-navigation a {
        flex: 1;
        height: 36px;
        padding: 0 15px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .prev-page span, 
    .next-page span {
        display: none;
    }

    .back-to-list {
        max-width: 100px;
    }

    .prev-page i,
    .next-page i {
        margin: 0;
        font-size: 0.9rem;
    }
}

.search-list {
    padding: 60px 0;
}
.search-list .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    gap: 40px;
}

.search-text{
    margin: 0;
    padding: 0;
    list-style: none;
}
 .search-text li{
font-size: 1.1rem;
border-bottom: 1px solid #eee;
padding: 18px 20px;
}

.search-text a {
    color: #0f3d7b;
    text-decoration: none;
}


/* 图书列表页面样式 */
.library-list {
    padding: 60px 0;
}

.library-list .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}



/* 右侧图书列表 */
.library-list .book-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.library-list .book-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.library-list .book-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.library-list .book-image {
    margin: 30px;
    width: calc(100% - 60px);
    height: 300px;
    overflow: hidden;
}

.library-list .book-image img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.library-list .book-item:hover .book-image img {
    transform: scale(1.1);
}

.library-list .book-info {
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.library-list .book-text{
    margin-bottom: 0;
}
.library-list .book-text h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.library-list .book-text h3 span {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
    margin-top: 5px;
}

.library-list .book-text p {
    color: #666;
    line-height: 1.6;
}

.library-list .read-more {
  
    margin-top: auto;
    padding-top: 20px;
}

.library-list .read-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 25px;
    background: none;
    border: 1px solid #ddd;
    color: #666;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.library-list .read-btn:hover {
    background: #0f3d7b;
    color: #fff;
}

/* 分页组件 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a.active {
    background: #0f3d7b;
    color: #fff;
    border-color: #0f3d7b;
}

.pagination a:hover:not(.active) {
    border-color: #0f3d7b;
    color: #0f3d7b;
}

.pagination .next,
.pagination .prev {
    width: auto;
    padding: 0 20px;
    border-radius: 20px;
}

/* 移动端适配 */
@media (max-width: 1024px) {
    .library-list .container {
        gap: 30px;
    }
    
    .library-list .book-image {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .library-list {
        padding: 20px 0;
    }

    .library-list .container {
        grid-template-columns: 1fr;
    }

    .library-list .book-sidebar {
        position: static;
        margin-bottom: 20px;
    }

    .library-list .book-item {
        flex-direction: column;
    }

    .library-list .book-image {
        width: calc(100% - 60px);
        height: 200px;
    }

    .library-list .book-info {
        padding: 20px;
    }

    .library-list .book-text h3 {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .library-list .read-more {
        text-align: center;
        margin-top: 15px;
    }

    .pagination {
        margin: 20px 15px;
        flex-wrap: wrap;
    }

    .pagination a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .pagination .next,
    .pagination .prev {
        padding: 0 15px;
    }
}

/* 图书列表样式2 */
.library-list2 {
    padding: 60px 0;
  
}


.library-list2 .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}


/* 右侧图书列表 */
.library-list2 .book-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.library-list2 .book-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 20px;
}


.library-list2 .book-item:hover {
    border-color: #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.library-list2 .book-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.library-list2 .book-text {
    flex: 1;
}

.library-list2 .book-text h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.library-list2 .book-text h3 span {
    font-size: 0.9rem;
    color: #999;
    font-weight: normal;
    margin-left: 10px;
}

.library-list2 .book-text p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.library-list2 .read-more {
    flex-shrink: 0;
}

.library-list2 .read-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 25px;
    background: #f5f5f5;
    color: #666;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.library-list2 .read-btn:hover {
    background: #0f3d7b;
    color: #fff;
}



/* 移动端适配 */
@media (max-width: 1024px) {
    .library-list2 .container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .library-list2 {
        padding: 30px 0;
    }

    .library-list2 .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .library-list2 .book-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .library-list2 .book-item {
        padding: 20px;
    }

    .library-list2 .read-more {
        width: 100%;
    }

    .library-list2 .read-btn {
        width: 100%;
        justify-content: center;
    }

    .library-list2 .pagination {
        justify-content: center;
        padding: 0 20px;
    }
}

/* 正在发生页面样式 */
.being-happened {
    padding: 60px 0;
}

.being-happened .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}



/* 右侧内容列表 */
.being-happened .book-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.being-happened .book-item {
    background: #fff;
    border-radius: 0;
    border-bottom: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 40px 0;
    display: flex;
    gap: 60px;
    box-shadow: none;
}

.being-happened .book-item:last-child {
    border-bottom: none;
}

.being-happened .book-item:hover {
    transform: none;
    box-shadow: none;
    background: #f8f9fa;
}

.being-happened .book-image {
    flex-shrink: 0;
    width: 40%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.being-happened .book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.being-happened .book-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 40px;
}

.being-happened .book-info h3 {
    font-size: 2rem;
    color: #0f3d7b;
    margin: 0;
    font-weight: bold;
    line-height: 1.2;
}

.being-happened .book-info h4 {
    font-size: 1.4rem;
    color: #333;
    margin: 0;
    font-weight: normal;
}

.being-happened .book-meta {
    color: #666;
    font-size: 1rem;
    margin: 0;
    padding: 5px 0;
    text-align: left;
}
.being-happened .book-meta p{
    margin: 0;
}

.being-happened .book-desc {
    color: #666;
    line-height: 1.8;
    margin-top: 10px;
}

.being-happened .book-desc p {
    margin: 0;
    font-size: 1rem;
}

.being-happened .read-more {
    margin-top: auto;
    text-align: left;
}

.being-happened .read-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 30px;
    background: #f5f5f5;
    color: #666;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.being-happened .read-btn:hover {
    background: #0f3d7b;
    color: #fff;
}

.being-happened .read-btn i {
    margin-left: 10px;
    font-size: 0.85rem;
}

/* 移动端适配 */
@media (max-width: 768px) {

    .being-happened {
        padding: 30px 0;
    }

    .being-happened .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    .being-happened .book-item {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }

    .being-happened .book-image {
        width: 100%;
        height: 240px;
    }

    .being-happened .book-info {
        padding-right: 0;
    }

    .being-happened .book-info h3 {
        font-size: 1.6rem;
    }

    .being-happened .book-info h4 {
        font-size: 1.2rem;
    }

    .being-happened .read-more {
        margin-top: 20px;
    }

    .being-happened .read-btn {
        width: 100%;
        justify-content: center;
    }
}

/* 正在发生详情页样式 */
.book-detail-content {
    background: #fff;
    padding: 40px;
    border-radius: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.detail-header {
    margin-bottom: 30px;
    text-align: center;
}

.detail-header h1 {
    font-size: 1.5rem;
    color: #0f3d7b;
    margin-bottom: 10px;
    font-weight: bold;
}

.detail-header h2 {
    font-size: 1.3rem;
    color: #0f3d7b;
    margin-bottom: 15px;
    font-weight: normal;
}

.detail-meta {
    color: #666;
    font-size: 0.95rem;
}

.detail-image {
    margin: 0 0 30px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.detail-content {
    color: #333;
    line-height: 1.8;
}

.chapter-info {
    margin-bottom: 30px;
}

.chapter-info h3 {
    font-size: 1.8rem;
    color: #0f3d7b;
    margin-bottom: 15px;
}

.chapter-desc {
    color: #666;
    font-size: 1.1rem;
}

.scripture-text {
    background: #f8f9fa;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
}

.scripture-text p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.8;
}

.scripture-text p:last-child {
    margin-bottom: 0;
}

.study-notes {
    margin-bottom: 30px;
}

.study-notes h4,
.application h4 {
    font-size: 1.4rem;
    color: #0f3d7b;
    margin-bottom: 20px;
}

.study-notes p,
.application p {
    color: #666;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.application ul {
    list-style: none;
    padding-left: 20px;
}

.application li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #666;
}

.application li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0f3d7b;
}

.detail-navigation {
    margin-top: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 30px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 25px;
    background: #f5f5f5;
    color: #666;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #0f3d7b;
    color: #fff;
}


.back-btn {
    background: #fff;
    border: 1px solid #ddd;
}

.back-btn:hover {
    border-color: #0f3d7b;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .book-detail-content {
        padding: 20px;
    }

    .detail-header h1 {
        font-size: 1.8rem;
    }

    .detail-header h2 {
        font-size: 1.3rem;
    }

    .detail-image {
 
        height: 250px;
    }

    .chapter-info h3 {
        font-size: 1.5rem;
    }

    .scripture-text {
        padding: 20px;
        margin: 0 -20px 20px;
        border-radius: 0;
    }

    .scripture-text p {
        font-size: 1rem;
    }

    .study-notes h4,
    .application h4 {
        font-size: 1.3rem;
    }

    .study-notes p,
    .application p {
        font-size: 1rem;
    }

    .detail-navigation {
        margin: 30px -20px 0;
        padding: 20px;
        background: #f9f9f9;
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-btn {
        flex: 1;
        justify-content: center;
        padding: 8px 15px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
}

/* 支持与奉献页面样式 */
.support-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.support-banner .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.support-banner .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 100%;
}

.support-banner h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    font-family: "Italiana", serif;
}

.support-banner h2 {
    font-size: 1.8rem;
    font-weight: normal;
}

.support-section {
    padding: 80px 0;

}

.support-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.support-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.intro-text {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.quote-text {
    color: #0f3d7b;
    font-size: 1.2rem;
    font-style: italic;
    margin: 30px 0 10px;
}

.quote-source {
    color: #999;
    font-size: 0.95rem;
}

.donation-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 60px;
}

.donation-item {
    background: #f8fafa;
    padding: 40px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
}

.donation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.donation-icon img{
  max-width: 100%;
}



.donation-item h3 {
    font-size: 1.5rem;
    color: #0f3d7b;
    margin-bottom: 20px;
}

.donation-content {
    color: #666;
    line-height: 1.8;
}

.method-title {
    color: #0f3d7b;
    font-weight: bold;
    margin-bottom: 10px;
}

.donation-content p {
    margin-bottom: 10px;
}

.donate-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: #f5f5f5;
    color: #666;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.donate-btn:hover {
    background: #0f3d7b;
    color: #fff;
}

.donate-btn i {
    margin-left: 10px;
    font-size: 0.9rem;
}

.qr-content {
    text-align: center;
}

.qr-group {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.qr-item {
    text-align: center;
}

.qr-item img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.qr-item p {
    color: #333;
    margin: 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .support-banner {
        height: 300px;
    }

    .support-banner h1 {
        font-size: 2.5rem;
    }

    .support-banner h2 {
        font-size: 1.4rem;
    }

    .support-section {
        padding: 40px 0;
    }

    .support-intro {
        margin-bottom: 40px;
    }

    .donation-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .donation-item {
        padding: 30px;
    }

    .qr-group {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

/* 联系我们页面样式 */
.contact-banner {
    height: 400px;
    position: relative;
}

.contact-banner .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.contact-banner .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 100%;
}

.contact-banner h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    font-family: "Italiana", serif;
}

.contact-banner h2 {
    font-size: 1.8rem;
    font-weight: normal;
}

.contact-section {
    padding: 60px 0;
    background: #fff;
}

.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* 左侧联系信息 */
.contact-info {
    padding-right: 40px;
}

.contact-info h1 {
    font-size: 2.8rem;
    color: #0f3d7b;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
}

.contact-info h2 {
    font-size: 1.6rem;
    color: #0f3d7b;
    font-weight: normal;
    margin-bottom: 40px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    color: #666;
    font-size: 1.2rem;
    margin-top: 3px;
}

.info-item p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0;
}

/* 右侧地图 */
.contact-map {
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        padding-right: 0;
    }

    .contact-info h1 {
        font-size: 2.2rem;
    }

    .contact-info h2 {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }
    .contact-map {
        height: auto;
    }
    .contact-map img{
        width: 100%;
        height: auto
    }
}

.category-active { color: #0f3d7b; font-weight: bold; }
.chapter-list { margin: 0; padding: 0; list-style: none; }
.chapter-title { cursor: pointer; padding: 18px 20px; font-size: 1.1rem; border-bottom: 1px solid #eee; background: #f7f8fa; display: flex; align-items: center; justify-content: space-between; }
.chapter-title:hover { background: #f0f4fa; }
.chapter-title .fa { margin-left: 10px; transition: transform 0.2s; }
.chapter-open .fa { transform: rotate(90deg); }
.section-list { padding-left: 2.5rem; background: #fff; }
.section-item { padding: 10px 0; font-size: 1rem; color: #0f3d7b; }
.section-item a{
    color: #0f3d7b; text-decoration: none;
}
.book-info-block { background: #fff;  margin-bottom: 30px; }
.book-info-block h1 { font-size: 2rem; color: #0f3d7b; margin-bottom: 10px; }
.book-info-block .meta { color: #888; font-size: 1rem; margin-bottom: 10px; }
.book-info-block .desc { color: #555; font-size: 1.1rem; }
@media (max-width: 768px) {
    .book-info-block { padding: 15px; }
    .book-info-block h1 { font-size: 1.3rem; }
}


.desc {
    max-height: 4.8em; /* 3行 */
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s;
}
.desc.expanded {
    max-height: 1000px;
}
.desc-toggle {
    color: #0f3d7b;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 8px;
    display: inline-block;
}
.chapter-title {
    cursor: pointer;
    padding: 18px 20px;
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
    background: #f7f8fa;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chapter-title .fa { margin-left: 10px; transition: transform 0.2s; }
.chapter-open .fa { transform: rotate(90deg); }
.section-list { display: none; padding-left: 2.5rem; background: #fff; }
.chapter-open .section-list { display: block; }