
body {
    font-family: 'Noto Serif SC', serif;
    background-color: #fdf6e9;
    margin: 0;
    padding: 0;
}



/* Header 漂浮样式 */
header.header-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding-top: 27px;
}

header.header-nav .container > div {
    display: flex;
    align-items: flex-start;
}

.header-logo {
    /* width: 540px; */
    height: 80px;
    object-fit: contain;
}

.header-nav-menu a {
    position: relative;
    color: #684805;
    font-size: 18px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.header-nav-menu a:hover {
    color: #b91c1c;
    border-bottom-color: #b91c1c;
}

.header-nav-menu a.active {
    color: #b91c1c;
    border-bottom-color: #b91c1c;
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.hero-swiper .swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.hero-swiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: white;
}

/* 统计信息区样式 */
.stats-section {
    height: 109px;
    background-color: #862E23;
    color: #FAD7A2;
    position: relative;
    display: flex;
    align-items: center;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -75px;
    left: 0;
    right: 0;
    height: 80px;
    background-image: url('../img/bg-red-upper.png');
    background-size: cover;
    /* background-position: center; */
    background-repeat: no-repeat;
    z-index: 1;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: 0;
    right: 0;
    height: 150px;
    background-image: url('../img/bg-red-lower.png');
    background-size: contain;
    /* background-position: center; */
    background-repeat: no-repeat;
    z-index: 1;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stats-section {
    color: #FAD7A2;
}

.stats-section .text-center,
.stats-section .text-center p,
.stats-section > .container > div > div > div.text-center p {
    color: #FAD7A2 !important;
}

.stats-left-box {
    flex-shrink: 0;
    margin-right: 0;
}

.stats-box-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-title-image {
    width: 343px;
    height: 113px;
    object-fit: contain;
}

/* 统计数据样式 */
.stats-numbers {
    flex-wrap: wrap;
    margin-left: 0;
    padding: 20px;
}

.stats-item {
    flex: 1;
    min-width: 120px;
}

.stats-section .stats-item,
.stats-section .stats-item p {
    color: #FAD7A2;
}

.stats-item-inner {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.stats-label {
    font-size: 1.5rem;
    white-space: nowrap;
}

.stats-number {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.stats-divider {
    width: 1px;
    height: 60px;
    background-color: #FAD7A2;
    opacity: 0.5;
    margin: 0 10px;
}

/* 移动端统计信息样式已在上面统一定义 */

/* 分类展示区样式 */
.categories-section {
    background-image: url('../img/bg-yellow.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

#categories {
    padding-left: 4rem;
    padding-right: 4rem;
}

#categories .left {
    margin-right: 4px;
}

#categories .right {
    background-color: #FFE7C4;
    padding: 20px;
    /* border-radius: 8px; */
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    min-width: 0;
}

#category-content-social {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    min-width: 0;
}

.category-tabs-container {
    gap: 4px;
}

.category-tab {
    width: 100px;
    height: 105px;
    /* height: 130px; */
    background-image: url('../img/bg-cate.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0 0 0 17px;
}

.category-tab:not(.tab-active) {
    opacity: 0.8;
}

.category-tab span {
    color: #333;
    font-weight: 500;
    font-size: 16px;
}

.category-tab.tab-active {
    background-image: url('../img/bg-cate.png');
    transform: scale(1.05);
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    opacity: 1;
}

.category-tab.tab-active span {
    color: #862E23;
    font-weight: bold;
}

/* 分类图片卡片样式 */
.category-scroll-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    min-width: 0;
}

.category-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.category-scroll-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.category-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.category-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

#category-content-social .category-image-card {
    position: relative;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #fff;
    box-sizing: border-box;
}

/* PC端 Swiper 样式 */
.category-swiper-pc {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.category-swiper-pc .swiper-wrapper {
    display: flex;
}

.category-swiper-pc .swiper-slide {
    width: 300px;
    flex-shrink: 0;
    height: auto;
}

.category-swiper-pc .category-image-card {
    width: 300px;
    height: 300px;
    border: 2px solid #fff;
    box-sizing: border-box;
}

/* 隐藏 PC 端 Swiper 的滚动条 */
.category-swiper-pc::-webkit-scrollbar {
    display: none;
}

.category-swiper-pc {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.category-swiper-pc .swiper-button-next,
.category-swiper-pc .swiper-button-prev {
    color: #862E23;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-top: -20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.category-swiper-pc .swiper-button-next:after,
.category-swiper-pc .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.category-swiper-pc .swiper-button-next:hover,
.category-swiper-pc .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 移动端 Swiper 样式 */
.category-swiper {
    width: 100%;
    padding-bottom: 40px;
    position: relative;
}

.category-swiper .swiper-slide {
    width: 100%;
}

.category-swiper .category-image-card {
    width: 100%;
    height: 300px;
    border: 2px solid #fff;
    box-sizing: border-box;
}

.category-swiper .swiper-pagination {
    bottom: 10px;
}

.category-swiper .swiper-pagination-bullet {
    background: #862E23;
    opacity: 0.5;
}

.category-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

.category-swiper .swiper-button-next,
.category-swiper .swiper-button-prev {
    color: #862E23;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-top: -20px;
}

.category-swiper .swiper-button-next:after,
.category-swiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.category-swiper .swiper-button-next:hover,
.category-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1);
}

.category-image-card {
    position: relative;
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    flex-shrink: 0;
}


/* 网格布局中的卡片也需要固定尺寸 */
.grid .category-image-card {
    width: 100%;
    height: 360px;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-image-title {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(127, 29, 29, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    z-index: 10;
}

@media (max-width: 768px) {
    header.header-nav {
        height: auto;
        min-height: 64px;
    }
    
    header.header-nav .container > div {
        height: auto;
        min-height: 64px;
    }
    
    .header-logo {
        height: 50px;
    }
    
    .hero-section {
        height: 400px;
        min-height: 400px;
    }
    
    .hero-swiper {
        height: 100%;
    }
    
    .hero-swiper .swiper-slide {
        height: 100%;
    }
    
    .hero-slide-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .stats-section {
        height: auto;
        min-height: auto;
        padding: 40px 0;
    }
    
    .stats-left-box {
        display: none;
    }
    
    .stats-numbers {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }
    
    .stats-item {
        flex: 0 0 calc(50% - 10px);
        min-width: auto;
    }
    
    .stats-divider {
        display: none;
    }
    
    .stats-box-content {
        padding: 15px 20px;
        min-width: 150px;
    }
    
    .stats-box-text {
        font-size: 14px;
        letter-spacing: 4px;
    }
    
    .category-tab {
        width: 100%;
        height: auto;
        min-height: 40px;
        margin-bottom: 8px;
        padding: 8px 16px;
        background: rgba(127, 29, 29, 0.8) !important;
        background-image: none !important;
        color: white !important;
        border-radius: 4px;
        font-size: 14px;
        font-weight: bold;
        justify-content: flex-start;
    }
    
    .category-tab span {
        color: white !important;
        font-weight: bold !important;
        font-size: 14px !important;
    }
    
    .category-tab.tab-active {
        background: rgba(127, 29, 29, 1) !important;
        transform: none;
    }
    
    .category-tab.tab-active span {
        color: white !important;
    }
    
    #categories {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .category-image-card {
        width: 100%;
        height: 300px;
    }
    
    .category-swiper .category-image-card {
        width: 100%;
        height: 300px;
    }
}

.tab-active {
    /* background-color: #8b4513; */
    color: white;
}

.region-tab {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.region-tab-active {
    color: #FFE7C4;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Regions 区域样式 */
.regions-container {
    gap: 0;
    align-items: center;
}

#map {
    
    flex-shrink: 0;
}

.map-wrapper {
    position: relative;
    overflow: hidden;
    width: 891px;
    height: 641px;
}

.china-map {
    width: 100%;
    height: auto;
    display: block;
}

.china-map .map-path {
    transition: all 0.2s ease;
    cursor: pointer;
    fill: #f5f5f5;
    stroke: #d4a574;
    stroke-width: 1;
}

.china-map .map-path:hover {
    fill: #fff4e6;
    stroke: #c8965f;
    stroke-width: 1.5;
}

.china-map .map-point {
    cursor: pointer;
    transition: all 0.2s ease;
    fill: #d32f2f;
    stroke: #fff;
    stroke-width: 1.5;
}

.china-map .map-point:hover {
    r: 7;
    fill: #b71c1c;
    stroke-width: 2;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}

#cont {
    width: 375px;
    flex-shrink: 0;
    background-image: url('../img/bg-map-cont.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    margin-left: 20px;
    padding: 0;
}

#cont .title {
    background-image: url('../img/bg-map-title.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 12px 16px;
    /* border-radius: 4px 4px 0 0; */
    margin-bottom: 0;
}

.region-content {
    min-height: 300px;
    /* padding: 20px; */
    padding: 0 20px;
    font-size: 14px;
    color: #FFE4C0;
}

.region-content * {
    color: #FFE4C0;
}

.region-content a {
    color: #FFE4C0;
}

.region-content a:hover {
    color: #fff;
    opacity: 0.9;
}

/* 区域分页按钮样式 */
.region-pagination {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.region-pagination-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #FFE4C0;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    border: none !important;
    background: transparent !important;
}

.region-pagination-item:hover {
    color: #fff;
    opacity: 0.9;
}

.region-pagination-number {
    min-width: 32px;
    height: 32px;
    padding: 0;
}

.region-pagination-number.active {
    background-color: rgba(134, 46, 35, 1) !important;
    color: #FFE4C0 !important;
}

.region-pagination-number.active:hover {
    background-color: rgba(134, 46, 35, 0.9) !important;
    color: #fff !important;
}

.region-pagination-prev,
.region-pagination-next {
    padding: 0.5rem;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.region-pagination-prev img,
.region-pagination-next img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(89%) sepia(15%) saturate(1200%) hue-rotate(320deg) brightness(105%) contrast(95%);
    transition: all 0.3s ease;
}

.region-pagination-prev:hover img,
.region-pagination-next:hover img {
    filter: brightness(0) saturate(100%) invert(100%);
    opacity: 0.9;
}

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

.region-item {
    display: flex;
    align-items: center;
    padding: 10px;
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.1); */
}

.region-item-bullet::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 228, 192, 0.95);
    margin: 0 15px 0 25px;
    flex-shrink: 0;
}

.region-item:last-child {
    border-bottom: none;
}

.region-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin: 0 8px;
    flex-shrink: 0;
}

.region-name {
    color: #FFE4C0;
    text-decoration: none;
    font-size: 16px;
    flex: 1;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.region-name:hover {
    color: #fff;
    opacity: 0.9;
}

@media (max-width: 768px) {
    #map {
        width: 100%;
    }
    
    #cont {
        width: 100%;
        margin-top: 20px;
        margin-left: 0;
    }
}

.scroll-container {
    scroll-behavior: smooth;
}

.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* 滚动条隐藏但可滚动 */
.scroll-hidden::-webkit-scrollbar {
    display: none;
}
.scroll-hidden {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Section Red 装饰样式 */
section.red {
    position: relative;
    background-color: #862E23;
}

section.red .container {
    position: relative;
    z-index: 2;
}

/* regions 标题样式 */
#regions h2 {
    position: relative;
    display: inline-flex;
    align-items: center;
}

#regions h2::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url('../img/icon-red-left.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 16px;
}

#regions h2::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url('../img/icon-red-right.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 16px;
}

/* News 标题样式 */
#news .title h2 {
    position: relative;
    display: inline-flex;
    align-items: center;
}

#news .title h2::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url('../img/icon-yello-left.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 16px;
}

#news .title h2::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url('../img/icon-yello-right.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 16px;
}

section.red::before {
    content: '';
    position: absolute;
    top: -75px;
    left: 0;
    right: 0;
    height: 80px;
    background-image: url('../img/bg-red-upper.png');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

section.red::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: 0;
    right: 0;
    height: 150px;
    background-image: url('../img/bg-red-lower.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}

/* 最新资讯区样式 */
.news-content {
    display: flex;
    gap: 24px;
}

.news-left {
    flex: 0 0 40%;
}

.news-middle,
.news-right {
    flex: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.news-item {
    flex: 0 0 calc(50% - 10px);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.news-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.news-item h3 {
    color: white;
    margin-bottom: 8px;
}

.news-item p {
    color: rgba(255, 255, 255, 0.75);
}

/* 最新资讯卡片：右侧文字区固定高度，标题最多2行省略 */
#news .news-item__body {
    height: 3.75rem; /* 2行标题 + 发布时间 */
}

#news .news-item__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer 样式 */
.footer-section {
    background-color: #2B2B2B;
    padding-top: 6rem;
    padding-bottom: 3rem;
}

@media (max-width: 768px) {
    .news-content {
        flex-direction: column;
    }
    
    .news-left,
    .news-middle,
    .news-right {
        flex: 1;
        width: 100%;
    }
    .news-item {
        flex: 0 0 100%;
    }
}

