/*
 * @Author: liuying
 * @Crtime: 2026-06-26 10:00:00
 * @ModifyUser: liuying
 * @ModifyTime: 2026-07-06 14:30:00
*/ 
* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    width: 100%;  
    min-width: 1400px;
    max-width: 1880px;
    margin: 0 auto;
}
   a {
            color: inherit; /* 继承父级颜色 */
            text-decoration: none; /* 去掉下划线（可选） */
        }
/* 顶部导航栏 */

/* 轮播图 */
.banner {
    position: relative;
    left: 0px;
    top: 0px;
    /* width: 1920px; */
    height: 554px;
    background-color: #808695;
    background-image: none; 
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.carousel-item h1 {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.carousel-indicators span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicators span.active {
    background-color: white;
}
 
.container {  
    min-width: 1400px;
    margin: 0 auto; 
    width: 100%; 
    display: flex; 
    font-style:normal;  
    flex-direction: column; 
}
.news-container {
    width: 1400px;
    margin: 60px auto 20px;    
    display: flex;   
    flex-direction: column;
}
/* 内容区域样式 */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
    margin-top:150px;
}

.news-title {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 3px solid #0066cc;
    width: fit-content;
}

.news-content {
    width: 100%;
    height: 475px;
    display: flex;
    justify-content: space-between;
    gap: 30px; 
    margin-top: 25px;
}

.news-left {
    flex: 1.3;
    height: 100%;
}

.news-banner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.news-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 20px;
}

.news-banner-content p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.news-banner-pagination {
    position: absolute;
    bottom: 55px;
    right: 20px;
    display: flex;
    gap: 6px;
}

.news-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-dot.active {
    background: #fff;
}

.news-right {
    flex: 1;
    height: 100%; 
    display: flex;
    flex-direction: column;
}

.news-tabs {
    display: flex; 
    margin-bottom: 15px;
}

.news-tab {
    font-size: 24px; 
    padding: 10px 20px;
    text-align: center; 
    cursor: pointer;
    transition: all 0.3s ease; 
    font-style:normal; 
    color: #666;
    font-weight: 500;
    font-style: normal;
}

.news-tab:hover {
    color: #0066cc;
}

.news-tab.active {
    background: linear-gradient(90deg, #0066cc 0%, #00b399 100%);
    color: #fff;
}

.news-list { 
    flex: 1;
    padding: 0; 
    border-top: 1px solid #eee;
}

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

.news-list li {
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.996078431372549);
    font-size: 20px;
    line-height: 1.5;
    transition: color 0.3s ease;  
    font-weight: 400;
    font-style: normal;
    /* display: block;  */
    text-overflow: ellipsis;
    white-space: nowrap;  
    text-align: left;
    display: inline-block;
    max-width: 600px;
    white-space: nowrap;
    overflow: hidden; 
    /* 修复 inline-block 换行时可能导致的高度问题 */
    vertical-align: bottom;
}

.news-list a:hover {
    color: #0066cc;
}

.news-more-btn {
    text-align: center;
    margin-top: 15px;
}

.news-more-btn a:hover { 
    background: linear-gradient(90deg, #0066cc 0%, #00b399 100%);
    color: #fff;
}

 
/* 筛选区域 */
.filter-section {
    margin-bottom: 20px;
}

.region-filter {
    margin-bottom: 15px;
}

.region-filter a {
    display: inline-block;
    margin-right: 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.region-filter a:hover {
    color: #0066cc;
}

.search-section {
    display: flex;
    margin-bottom: 20px;
}

.search-section input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}

.search-section button {
    padding: 8px 15px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.search-section .advanced-btn {
    margin-left: 10px;
    padding: 8px 15px;
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

/* 字母索引 */
.alphabet-index {
    margin-bottom: 20px;
    padding: 10px 0;
    border-top: 1px solid #e0e0e0; 
}

.alphabet-index a {
    display: inline-block;
    margin-right: 10px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.alphabet-index a:hover {
    color: #0066cc;
}

/* 城市网格 */
.city-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.city-card {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.city-image {
    height: 150px;
    overflow: hidden;
}

.city-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.city-card:hover .city-image img {
    transform: scale(1.1);
}

.city-info {
    padding: 15px;
}

.city-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.city-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* 分页 */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

.pagination .active {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

/* 旗舰活动 */
.flagship-activities {
    margin: 40px 0;
    background-color: white;
    padding: 20px 0;
}

.activities-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

.activities-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.activities-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.activities-more a {
    text-decoration: none;
    color: #0066cc;
    font-size: 14px;
}

.activities-content {
    display: flex;
    gap: 20px;
}

.activity-card {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.activity-image {
    width: 100%;
    height: 272px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.activity-info {
    padding: 15px;
}

.activity-name {    
    color: #00275E; 
}
.activity-desc {
    margin-top: 10px; 
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: #666666;

    line-height: 1.0;
    margin-bottom: 8px;
    color: #666;
}

.activity-time,
.activity-location,
.activity-theme { 
    line-height: 1.0; 
    margin-bottom: 8px;
    color: #666;
}

.activity-detail {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none; 
    transition: color 0.3s ease;  
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    color: #00275E;
}


.activity-detail:hover {
    color: #004c99;
}

/* 页脚 */
.footer {
    height: 400px;
    background-image: url('/files/pub/img/sjlycslhh/footerBg.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* color: white; */
    box-sizing: border-box;
    border: none; 
    /* border-radius: 0px; */
    box-shadow: none;
}
 .footer-container {
    height: 100%; 
    
 }
 .footer-top {
    padding: 20px;
    position: relative;
} 

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto; 
}

.footer-menu-item {
    flex: 1;  
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    color: #FFFFFF;
    text-align: center;
    line-height: 32px;
    white-space: nowrap;
}

.footer-menu-btn {
    width: 100%;
    padding: 5px 20px 5px 5px;
    background-color: rgba(255,255,255,0.1); 
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: #666666;
    text-align: left; 
    border-color: rgba(255,255,255,0.5); 
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-menu-btn:hover {
    background-color: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
} 
.footer-menu-btn.active {
    background: linear-gradient(to right, #0066cc, #00cc66);
    color: white;
}

/* .footer-menu-btn.active::after {
    transform: translateY(-50%) rotate(180deg);
} */

.footer-menu-btn::after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
}
 
.footer-menu-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-menu-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-menu-links a:hover {
    color: #0066cc;
}

.footer-bottom { 
    max-width: 1360px;
    margin: 0 auto;
    padding: 50px 20px 0 ;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; 
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    color: #666666; 
    line-height: 32px;
}

.footer-logo {
    margin-bottom: 20px;
}
.footer-links-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.footer-links-container a {
    color: #666666;
    text-decoration: none;
}

 
/* 联系我们悬停效果 */
.contact-us {
    cursor: pointer;
    color: #666666;
}

 
.contact-us:hover .contact-popup {
    display: block;
}
/* 联系信息弹窗 */
.contact-popup {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 500px;
    margin-bottom: 10px;
    text-align: left;
}

.contact-popup h4 {
    text-align: center;
    margin: 0 0 10px 0;
    color: #333;
    font-size: 22px;
    font-weight: 600;
}

.contact-popup hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0 0 15px 0;
}

.contact-popup p {
    margin: 18px 100px;
    color: #333;
    font-size: 20px;
    line-height: 1.6;
    text-align: left;
}

/* .footer-links-container:hover .contact-popup {
    display: block;
} */
.footer-logo img {
    height: 75px;
    width: auto;
} 

.footer-social {
    margin-top: 20px;
    height: 46px;
    display: flex;
    gap: 35px;
}

.social-icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

/* 社交图标二维码悬停显示 */
.wechat-container {
    position: relative;
    display: inline-block;
}

.wechat-qrcode {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    z-index: 1000;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: #fff;
    padding: 8px;
}

.wechat-qrcode img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.wechat-container:hover .wechat-qrcode {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-menu {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-menu-item {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        padding: 0 10px;
    }
    
    .footer-logo img {
        height: 40px;
    }
    
    .footer-links a {
        display: block;
        margin: 5px 0;
    }
    
    .footer-links span {
        display: none;
    }
}

@media (max-width: 992px) {
    .city-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .city-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-right {
        margin-top: 10px;
        width: 100%;
        justify-content: space-between;
    }
    
    /* .main-nav ul {
        flex-wrap: wrap;
    } */
}

@media (max-width: 576px) {
    .city-grid {
        grid-template-columns: 1fr;
    }
    
    .search-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-section .advanced-btn {
        margin-left: 0;
    }
}

 

.carousel-content {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 20px 0;
    opacity: 1; 
}

/* 通用轮播项 */
.carousel-item {
    flex: 0 0 auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    opacity: 1;
    transform: scale(1);
}

/* 小图 */
.carousel-item-small {
    width: 260px;
    z-index: 1;
}

/* 大图 */
.carousel-item-large {
    width: 320px;
    z-index: 2;
}

.carousel-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.carousel-item-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    font-size: 14px;
    text-align: center;
}


/* 右侧面板滚动条样式 */
.rightPanel {
    overflow-y: scroll;    /* 允许垂直滚动 */
    overflow-x: hidden;    /* 禁止横向滚动 */
    max-height: 280px;
    height: 280px;
    display: block;
    width: 100%;
}

.rightPanel::-webkit-scrollbar {
    width: 10px;
}

.rightPanel::-webkit-scrollbar-track {
    background: #1a3a5c;
    border-radius: 5px;
}

.rightPanel::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2391ff, #0066cc);
    border-radius: 5px;
    border: 2px solid #1a3a5c;
}

.rightPanel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4da6ff, #2391ff);
}

/* Firefox 滚动条样式 */
.rightPanel {
    scrollbar-width: thin;
    scrollbar-color: #2391ff #1a3a5c;
}
 


/* 新分页样式 - .page */
.page {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
    width: 100%;
    margin-top: 20px;
    clear: both;
}

.page .page_total,
.page .page_size {
    display: none;
}

.page button {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background-color: white;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page button:hover:not(:disabled) {
    border-color: #0066cc;
    color: #0066cc;
}

.page button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page .page_item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px; 
    height: 40px;
    border: 1px solid #ddd;
    background-color: white;
    color: #666;
    font-size: 16px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page .page_item:hover {
    border-color: #0066cc;
    color: #0066cc;
}

.page .page_item.page_current {
    background-color: #0066cc;
    border-color: #0066cc;
    color: white;
}

.page .pagination-last {
    width: 60px;
    height: 40px;
    border: 1px solid #ddd;
    background-color: white;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.page .pagination-last:hover {
    border-color: #0066cc;
    color: #0066cc;
}

/* 置顶按钮 */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 80px;
    width: 45px;
    height: 45px;
    background-color: #0066cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.3);
    z-index: 9999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0052a3;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

.back-to-top:active {
    transform: translateY(0);
}

.back-to-top::after {
    content: attr(title);
    position: absolute;
    right: 55px;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top:hover::after {
    opacity: 1;
    visibility: visible;
}

/* 响应式 */
@media (max-width: 768px) {
    .back-to-top {
        right: 15px;
        bottom: 60px;
        width: 40px;
        height: 40px;
    }
}