
/* 全局重置与基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Source Han Serif CN', serif;
}

body {
    color: #333;
    overflow-x: hidden;
    font-family: 'Source Han Serif CN', serif;
    /*background: url("ui/组 1@2x.png") no-repeat center center;*/
    /*background-size: 100%;*/
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

nav li,
.main-nav li {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 5px 0;
    z-index: 1000;
    min-width: 120px;
}

.dropdown-menu a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    width: 100%;
    font-weight: 400;
    height: auto;
    line-height: normal;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: var(--primary);
}

.dropdown-menu.show {
    display: block;
}

/* 颜色变量 */
:root {
    --primary-color: #009ba8;
    /* 这里的青色/蓝绿色 */
    --text-gray: #666;
    --bg-light: #f9f9f9;
}

/* 颜色变量 */
:root {
    --primary: #1bbab8;
    /* 这里的青绿色 */
    --dark-bg: #1a1a1a;
    --text-gray: #666;
}

/* 通用容器：用于限制内容最大宽度并居中 */
.container {
    width: calc(1400 / 1920 * 100vw);
    margin: 0 auto;
}

/* --- Header 头部 --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(15/1920*100vw) 3vw;
    border-bottom: 1px solid #eee;
    background: #fff;
    width: 100%;
    height: calc(100/1920*100vw);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-container {
    position: relative;
}

.search-container input {
    padding: calc(7/1920*100vw) calc(10/1920*100vw);
    padding-right: calc(35/1920*100vw);
    border-radius: calc(20/1920*100vw);
    border: 1px solid #ddd;
    font-size: 14px;
    width: calc(135/1920*100vw);
    outline: none;
    transition: border-color 0.3s;
}

.search-container input:focus {
    border-color: var(--primary);
}

     .search-icon {
    position: absolute;
    right: 12px;
    top: 57%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: calc(14/1920*100vw);
    align-items: center;
    font-size: 14px;
    flex-wrap: nowrap;
}

.main-nav li {
    display: flex;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: normal;
    display: block;
}

.main-nav a.menu-item-box {
    width: 100px;
    height: 40px;
    border-radius: 20px;
    text-align: center;
    line-height: 40px;
    color: #333;
    text-decoration: none;
    font-weight: 800;
}

.main-nav a.active {
    background-color: var(--primary);
    color: white;
    border-radius: 20px;
    width: 100px;
    height: 40px;
    text-align: center;
    line-height: 40px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left:  5.4vw;
    flex-shrink: 0;
}

.logo-area img {
    height: calc(68/1920*100vw);
    width: calc(362/1920*100vw);
}

.fake-logo {
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ---------------- BANNER 横幅 ---------------- */
.banner {
    width: 100vw;
    height: calc(500 / 1920 * 100vw);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-content {
    width: calc(1650 / 1920 * 100vw);
    color: white;
    border-left: calc(5 / 1920 * 100vw) solid #fff;
    padding-left: calc(20 / 1920 * 100vw);
}

.banner-title-en {
    letter-spacing: 2px;
    margin-bottom: 0;

    font-family: 'Source Han Serif CN', serif;
    font-weight: 800;
    font-size: calc(48 / 1920 * 100vw);
    color: #FFFFFF;
    line-height: 1.2;
    text-align: left;
    font-style: normal;
    text-transform: uppercase;
}

.banner-title-cn {
    font-size: calc(48 / 1920 * 100vw);
    font-weight: 800;
    line-height: 1.2;
}

/* --- 5. 分页 (Updated) --- */
.pagination-container {
    margin-top: calc(42 / 1920 * 100vw);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: calc(14 / 1920 * 100vw);
    font-family: 'Source Han Serif CN', serif;
    font-size: calc(20 / 1920 * 100vw);
    color: #999;
}

.pagination-info {
    margin-right: calc(10 / 1920 * 100vw);
    letter-spacing: 1px;
}

.pagination-info b {
    color: var(--text-gold);
    font-weight: normal;
    margin: 0 2px;
    font-family: Times New Roman, serif;
}

/* Common Box Styles */
.page-box,
.page-select-box,
.page-input-box,
.page-confirm-box {
    height: calc(44 / 1920 * 100vw);
    border: 1px solid #ccc;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    box-sizing: border-box;
    color: #333;
    transition: all 0.3s;
}

.page-box {
    width: calc(44 / 1920 * 100vw);
    cursor: pointer;
    font-family: 'Times New Roman', serif;
    font-size: calc(22 / 1920 * 100vw);
}

.page-box:hover,
.page-confirm-box:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-box.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-select-box {
    padding: 0 calc(20 / 1920 * 100vw);
    font-weight: bold;
    font-family: 'Source Han Serif CN', serif;
    font-size: calc(20 / 1920 * 100vw);
    cursor: pointer;
}

.page-input-box {
    width: calc(60 / 1920 * 100vw);
    color: #000;
    font-weight: bold;
    font-family: 'Times New Roman', serif;
    font-size: calc(22 / 1920 * 100vw);
    text-align: center;
    outline: none;
}

.page-input-box:focus {
    border-color: var(--primary);
}

.page-confirm-box {
    padding: 0 calc(25 / 1920 * 100vw);
    cursor: pointer;
    font-weight: bold;
    font-family: 'Source Han Serif CN', serif;
    font-size: calc(20 / 1920 * 100vw);
}

.page-label {
    color: #999;
    font-size: calc(20 / 1920 * 100vw);
    font-family: 'Source Han Serif CN', serif;
}


/* ---------------- FOOTER ---------------- */
footer {
    padding: 40px 0 20px;
    width: 100%;
}

.footer-content {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;

    gap: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: calc(694 / 1920 * 100vw);
    
}

.footer-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logos img {
    max-width: 100%;
    height: auto;
    max-height: 68px;
}

.footer-links {
    height: auto;
    font-family: 'Source Han Serif CN', serif;
    font-weight: 800;
    font-size: 20px;
    color: #85663F;
    letter-spacing: 1px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: #78552B;
    font-weight: bold;
    font-family: Source Han Serif CN, serif;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    height: auto;
    font-family: 'Source Han Serif CN', serif;
    font-weight: 800;
    font-size: 16px;
    color: #85663F;
    letter-spacing: 1px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    /*flex-wrap: wrap;*/
}

.contact-item img.icon {
    width: 25px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-right {
    display: flex;
    gap: 20px;

}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qr-item img {
    width: 80px;
    height: 80px;
    border: 1px dashed #ccc;
    padding: 2px;
}

.qr-item span {
    font-family: NotoSansHans, NotoSansHans;
    font-weight: bold;
    font-size: calc(20/1920*100vw);
    color: #6D6D6D;
    line-height: calc(46/1920*100vw);
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.footer-bottom {
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    height: auto;
    font-family: 'Source Han Serif CN', serif;
    font-weight: 800;
    font-size: 16px;
    color: #956B39;
    letter-spacing: 1px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    line-height: 1.5;
}


.police-icon {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    vertical-align: middle;
}

/* 添加鼠标手型，提示可点击 */
.gallery-item,
.winter-item,
.fund-hero,
.icon-style,
img {
    cursor: pointer;
}

/* 轮播图样式 */
.winter-gallery-wrapper {
    position: relative;
    /* width: calc(1400 / 1920 * 100vw); */
    overflow: hidden;
    margin: calc(80 / 1920 * 100vw) auto 0;
}

.winter-gallery {
    margin-top: 0 !important;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: calc(61 / 1920 * 100vw);
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.winter-item {
    flex-shrink: 0;
    width: calc(434 / 1920 * 100vw);
    height: calc(335 / 1920 * 100vw);
}

.winter-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: calc(60 / 1920 * 100vw);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s;
}

.winter-gallery-wrapper:hover .winter-arrow {
    opacity: 1;
}

.winter-arrow.prev {
    left: calc(-60 / 1920 * 100vw);
}

.winter-arrow.next {
    right: calc(-60 / 1920 * 100vw);
}

.winter-gallery-wrapper:hover .winter-arrow.prev {
    left: 0;
}

.winter-gallery-wrapper:hover .winter-arrow.next {
    right: 0;
}


.arrow-icon {
    width: calc(30 / 1920 * 100vw);
    height: calc(30 / 1920 * 100vw);
    border-top: 3px solid rgba(255, 255, 255, 0.9);
    border-right: 3px solid rgba(255, 255, 255, 0.9);
}

.winter-arrow.prev .arrow-icon {
    transform: rotate(-135deg);
}

.winter-arrow.next .arrow-icon {
    transform: rotate(45deg);
}

.styled-section {
    margin: 0 auto;
    background: url("ui/组 8@3x.png") no-repeat center top;
    background-size: 100% 140%;
    /* padding-top: calc(50 / 1920 * 100vw); */
    padding-bottom: calc(50 / 1920 * 100vw);
}

.styled-section .section-title {
    padding-top: 0;
}
/* 卡片悬停效果 */
.news-item-card:hover {
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
    border-color: #1bbab8; /* 悬停时边框变为主题绿 */
}

.news-item-card:hover .news-img-box img {
    transform: scale(1.05); /* 图片轻微放大 */
}

.news-item-card:hover .news-title {
    color: #1bbab8; /* 标题变为主题绿 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    .news-item-card {
        flex-direction: column !important;
    }
    .news-img-box {
        flex: none !important;
        width: 100% !important;
        height: 200px !important;
    }
    .news-content-box {
        padding: 20px !important;
    }
    .news-title {
        font-size: 18px !important;
    }
}