/* ================= 全局重置 (复用) ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fff;
    color: #333;
    overflow-x: hidden;
    font-family: 'Source Han Serif CN', serif;
}

:root {
    --primary: #1bbab8;
    /* 青绿色 */
    --primary-teal: #00A9A5;
    --text-dark: #333;
    --text-gray: #666;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 通用 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;
}

/* --- 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-teal);
}

     .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-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;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: var(--primary-teal);
}

.dropdown-menu.show {
    display: block;
}

/* nav li:hover .dropdown-menu {
    display: block;
} */

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    display: block;
}

nav a.menu-item-box {
    width: 100px;
    height: 40px;
    border-radius: 20px;
    text-align: center;
    line-height: 40px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 800;
}

nav a.active {
    background-color: var(--primary-teal);
    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;
}

/* ================= 新闻详情页特定样式 ================= */

/* 1. 新闻 Banner */
.news-banner {
    width: 100vw;
    height: calc(400 / 1920 * 100vw);
    /* 注意：实际项目中请替换为第一张图顶部的城市风景图，此处暂用提供的类似图代替或用颜色占位 */
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* 遮罩层，让文字更清晰 */
/*.news-banner::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0; left: 0; width: 100%; height: 100%;*/
/*    background: rgba(0,0,0,0.3);*/
/*}*/

.news-banner-text {
    position: relative;
    z-index: 2;
    margin-left: calc(160 / 1920 * 100vw);
    color: #fff;
    padding-left: calc(20 / 1920 * 100vw);
    border-left: calc(6 / 1920 * 100vw) solid #fff;
}

.news-banner-en {
    font-size: calc(48 / 1920 * 100vw);
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.2;
}

.news-banner-cn {
    font-size: calc(48 / 1920 * 100vw);
    font-weight: 800;
    font-family: "Source Han Serif CN", serif;
    /* 衬线体 */
    line-height: 1.2;
}

/* 2. 新闻内容容器 */
.news-container {
    width: calc(1400 / 1920 * 100vw);
    margin: 0 auto;
    padding-top: calc(80 / 1920 * 100vw);
    padding-bottom: calc(100 / 1920 * 100vw);
}

/* 标题部分 */
.news-header {
    text-align: center;
    margin-bottom: calc(60 / 1920 * 100vw);
}

.news-title {
    font-size: calc(52 / 1920 * 100vw);
    color: #333;
    margin-bottom: calc(20 / 1920 * 100vw);

    font-family: 'Source Han Serif CN', serif;
    font-weight: 800;
    line-height: calc(56 / 1920 * 100vw);
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.news-date {
    font-size: calc(36 / 1920 * 100vw);
    font-family: NotoSansHans, NotoSansHans;
    font-weight: 400;
    color: #999999;
    line-height: calc(56 / 1920 * 100vw);
    font-style: normal;
    text-transform: none;
    text-align: center;
        padding-bottom: calc(38 / 1920 * 100vw);
border-bottom: 1px solid #CCCCCC
}

/* 正文部分 */
.news-article {
    font-size: calc(22 / 1920 * 100vw);
    color: #333333;

    font-family: NotoSansHans, NotoSansHans;
    font-weight: 400;
    line-height: calc(42 / 1920 * 100vw);
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.news-article p {
    margin-bottom: calc(30 / 1920 * 100vw);
    text-indent: 2em;

    font-weight: 400;
    font-size: calc(22 / 1920 * 100vw);
    color: #726f6f;
    line-height: calc(42 / 1920 * 100vw);
    text-align: left;
    font-style: normal;
    text-transform: none;
    /* 首行缩进 */
}

.news-article img {
    width: 100%;
    height: auto;
    display: block;
    margin: calc(40 / 1920 * 100vw) 0;
}

/* 3. 返回列表按钮 */
.back-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: calc(80 / 1920 * 100vw);
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: calc(12 / 1920 * 100vw) calc(30 / 1920 * 100vw);
    border: 1px solid #ddd;
    background-color: #fff;
    color: #1bbab8;
    /* 使用青绿色 */
    font-size: calc(16 / 1920 * 100vw);
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
}

.back-btn:hover {
    border-color: #1bbab8;
}

.back-icon {
    width: calc(20 / 1920 * 100vw);
    height: auto;
    fill: currentColor;
}

/* ---------------- FOOTER ---------------- */
footer {
    background-color: #fff;
    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;
}