/* ================= 全局重置与变量 ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

body {
    color: #333;
    overflow-x: hidden;
    font-family: 'Source Han Serif CN', serif;
}

:root {
    --primary: #00A9A5;
    /* 主色调青色 */
    --primary-dark: #1bbab8;
    --text-gold: #956B39;
    /* 金棕色文字 */
    --text-gray: #666666;
    --border-color: #E5E5E5;
}

/* 通用 Flex 类 */
.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-start {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.flex-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- 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(8/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;
}

nav ul {
    display: flex;
    list-style: none;
   gap: calc(14/1920*100vw);
    align-items: center;
    font-size: 14px;
    flex-wrap: nowrap;
}

nav li {
    display: flex;
    align-items: center;
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1000;
    min-width: 140px;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-align: center;
    white-space: nowrap;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: var(--primary);
}

.dropdown-menu.show {
    display: block;
}

/* nav li:hover .dropdown-menu {
    display: block;
} */

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: block;
}

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;
}

nav a.active {
    background-color: var(--primary);
    color: white;
    border-radius: 20px;
    width: 100px;
    height: 40px;
    text-align: center;
    line-height: 40px;
}

nav a.menu-item-box:hover {
    background-color: #1bbab8;
    color: white !important;
    border-radius: 20px;
    width: 100px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    box-shadow: none;
    font-weight: 800;
}

.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(255/1920*100vw);
}

.fake-logo {
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ================= Banner 区域 ================= */
.news-banner {
    width: 100vw;
    height: calc(500 / 1920 * 100vw);
    /* 假设有一张城市背景图 */
    background-size: cover;
    position: relative;
}

/* 模拟Banner背景，若无图则用灰色渐变 */
.news-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));*/
    z-index: 1;
}

.banner-title-box {
    position: absolute;
    left: calc(160 / 1920 * 100vw);
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: #fff;
    border-left: calc(5 / 1920 * 100vw) solid #fff;
    padding-left: calc(20 / 1920 * 100vw);
}

.banner-title-en {
    letter-spacing: 2px;
    margin-bottom: 0;
    text-transform: uppercase;
    font-weight: 800;
    font-size: calc(48 / 1920 * 100vw);
    color: #FFFFFF;
    line-height: 1.2;
    text-align: left;
    font-style: normal;
}

.banner-title-cn {
    font-size: calc(48 / 1920 * 100vw);
    font-family: SourceHanSerifCN, serif;
    font-weight: 800;
    line-height: 1.2;
}

        /* ---------------- FOOTER ---------------- */
footer {
    padding: 40px 0 20px;
    width: 100%;
    background-color: #fff;
    position: relative;
    z-index: 10;
}

.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;
}
/* Flatpickr 样式定制 */
.flatpickr-calendar {
    font-family: 'Source Han Serif CN', serif;
}