/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS变量定义 */
:root {
    --dark-blue: #0d47a1;
    --that-luang-gold: #00489f;
    --light-gold: #e3f2fd;
    --dark-gold: #003366;
    --text-primary: #333;
    --text-secondary: #666;
    --bg-primary: #fff;
    --bg-secondary: #f5f5f5;
    --border-color: #eee;
}

body {
    font-family: "Microsoft YaHei", "SimHei", Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-secondary);
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部导航栏 */
.header {
    background-color: var(--bg-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}/* 顶部导航栏 */
.top-bar {
    background-color: #f2b300;
    padding: 5px 0;
    font-size: 12px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left span {
    margin-right: 20px;
    color: #000;
}

.top-right {
    display: flex;
    align-items: center;
    color: #000;
}

.top-right span {
    margin: 0 8px;
}

.top-right a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.top-right a:hover {
    color: #00489f;
}

.login-btn {
    background-color: transparent;
    color: #ccc;
    border: none;
    padding: 0;
    margin: 0;
}

.login-btn:hover {
    background-color: transparent;
    color: #fff;
}

/* 主头部 */
.main-header {
    padding: 10px 0;
    background-color: #00489f;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin-right: 30px;
    flex-shrink: 0;
}

.search-box {
    display: flex;
    width: 500px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.search-box input {
    flex: 1;
    padding: 8px 15px;
    border: 2px solid #00489f;
    border-right: none;
    border-radius: 0;
    font-size: 14px;
    outline: none;
    background-color: #fff;
}

.search-box input:focus {
    border-color: #00489f;
}

.search-box button {
    padding: 0 20px;
    background-color: #f2b300;
    color: #0e0d0d;
    border: 2px solid #00489f;
    border-radius: 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.search-box button:hover {
    background-color: #ffd200;
    color: #000;
}

.user-links {
    display: flex;
    gap: 15px;
    margin-left: 20px;
}

.user-links .social-icon {
    padding: 8px 12px;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 0;
    font-size: 14px;
    display: inline-block;
}

.user-links .social-icon:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #000;
}

/* 主导航 */
.main-nav {
    background-color: #fff;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid #e5e5e5;
}

.main-nav .container {
    display: block;
}

.nav-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: space-between;
}

.nav-row-1,
.nav-row-2 {
    flex-wrap: nowrap;
    overflow: hidden;
    width: 100%;
}

/* 为了实现两端对齐，我们需要确保所有li元素的总宽度均匀分布 */
.nav-row-1 li,
.nav-row-2 li {
    position: relative;
    white-space: nowrap;
    flex: 1;
    text-align: center;
}

/* 调整分组，确保每组3个li元素紧密排列 */
.nav-row-1 li:nth-child(3n+1),
.nav-row-2 li:nth-child(3n+1) {
    text-align: left;
}

.nav-row-1 li:nth-child(3n),
.nav-row-2 li:nth-child(3n) {
    text-align: right;
}

.nav-menu a {
    display: block;
    padding: 8px 10px;
    color: #000;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: transparent;
    color: var(--that-luang-gold);
}

.nav-menu a::after {
    display: none;
}

/* 导航组分割线 */
.nav-group-divider {
    position: relative;
}

.nav-group-divider a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 14px;
    width: 1px;
    background-color: #e5e5e5;
    display: block;
}

/* 移除最后一个导航项的分割线 */
.nav-row-1 li:last-child.nav-group-divider a::after,
.nav-row-2 li:last-child.nav-group-divider a::after {
    display: none;
}

/* 导航栏加粗样式 */
.nav-bold {
    font-weight: bold !important;
}

/* 24小时滚动新闻 */
.breaking-news {
    background-color: #fff;
    padding: 5px 0;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #e5e5e5;
}

.breaking-news .container {
    display: flex;
    align-items: center;
}

.breaking-title {
    background-color: #00489f;
    color: #fff;
    font-weight: bold;
    padding: 0 10px;
    margin-right: 10px;
    white-space: nowrap;
}

.breaking-scroll {
    flex: 1;
    overflow: hidden;
    height: 24px;
    line-height: 24px;
}

.breaking-list {
    list-style: none;
    margin: 0;
    padding: 0;
    animation: scrollNews 20s linear infinite;
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.breaking-list li {
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.breaking-list a {
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
}

.breaking-list a:hover {
    color: #ff0000;
}

@keyframes scrollNews {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* 主要内容区 */
.main-content {
    padding: 20px 0;
}

/* 左中右三栏布局 */
.main-layout {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

/* 广告位样式 */
.ad-section {
    margin-top: 0;
    background-color: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    overflow: hidden;
}

.ad-content {
    text-align: center;
    color: #666;
    width: 100%;
    height: 100%;
}

.ad-section {
    margin-top: 0;
    background-color: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    overflow: hidden;
    height: 105px;
}

.ad-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 图片新闻 */
.image-news-section {
    margin: 8px 0 0px 0;
    background-color: #fff;
}

.image-news-grid {
    display: flex;
    gap: 5px;
    width: 100%;
}

.image-news-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.image-news-item .news-image {
    width: 100%;
    height: 135px;
    overflow: hidden;
}

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

.image-news-item:hover .news-image img {
    transform: scale(1.05);
}

.image-news-item .news-info {
    padding: 8px;
}

.image-news-item .news-info h3 {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
    color: #333;
    font-weight: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-news-item .news-info h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.image-news-item .news-info h3 a:hover {
    color: #00489f;
    text-decoration: underline;
}

.main-left {
    width: 400px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.main-middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
}

.main-right {
    width: 300px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 焦点图轮播 */
.carousel-section {
    margin-bottom: 0;
}

.carousel-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.carousel-container::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: linear-gradient(45deg, var(--that-luang-gold), var(--dark-gold));
    border-radius: 8px;
    z-index: -1;
}

.carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    color: #fff;
}

.caption-content {
    max-width: 800px;
}

.news-tag {
    display: inline-block;
    padding: 3px 12px;
    background-color: var(--that-luang-gold);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.carousel-caption h2 {
    font-size: 28px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.carousel-caption h2 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.carousel-caption h2 a:hover {
    color: #f2b300;
}

.carousel-caption .meta {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-control:hover {
    background-color: var(--that-luang-gold);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 72, 159, 0.3);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

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

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

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background-color: #f2b300;
    width: 30px;
    border-radius: 6px;
}

/* 头条新闻 */
.headline-news {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 0;
    border-top: 4px solid #00489f;
}

/* 列表页样式 */
.list-page {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 8px;
}

/* 面包屑导航 */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #00489f;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #999;
}

/* 列表标题 */
.list-title {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.list-title h1 {
    font-size: 28px;
    font-weight: bold;
    color: #00489f;
    margin: 0;
}

/* 列表内容布局 */
.list-content {
    display: flex;
    gap: 20px;
}

/* 左侧列表 */
.list-left {
    flex: 1;
}

/* 右侧推荐 */
.list-right {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 修复列表页面侧边栏section样式 */
.list-right .sidebar-section {
    flex: none;
}

/* 频道页面样式 */
.channel-page {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 8px;
}

.channel-title {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--that-luang-gold);
}

.channel-title h1 {
    margin: 0;
    font-size: 24px;
    color: var(--dark-blue);
}

.channel-desc {
    margin: 5px 0 0 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* 频道栏目导航 */
.channel-category-nav {
    background-color: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 0;
}

.category-nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.category-nav-list::-webkit-scrollbar {
    display: none;
}

.category-nav-list li {
    flex-shrink: 0;
    margin: 0;
}

.category-nav-list li a {
    display: block;
    padding: 10px 15px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-nav-list li a:hover {
    color: var(--that-luang-gold);
}

.category-nav-list li.active a {
    background-color: var(--that-luang-gold);
    color: var(--dark-blue);
    font-weight: bold;
}

/* 频道内容布局 */
.channel-content {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.channel-left {
    flex: 1;
}

.channel-right {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 频道栏目 */
.channel-column {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.column-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.column-title a {
    color: var(--dark-blue);
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

.column-title a:hover {
    color: var(--that-luang-gold);
}

.column-title .more {
    font-size: 12px;
}

.column-title .more a {
    font-size: 12px;
    font-weight: normal;
    color: var(--text-secondary);
}

.column-title .more a:hover {
    color: var(--that-luang-gold);
}

/* 栏目头条新闻 */
.column-headline {
    margin-bottom: 15px;
}

.column-headline h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.column-headline h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.column-headline h3 a:hover {
    color: var(--that-luang-gold);
}

.column-meta {
    margin: 0 0 8px 0;
    font-size: 12px;
    color: var(--text-secondary);
}

.column-summary {
    margin: 0;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
}

/* 栏目新闻列表 */
.column-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.column-news-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.column-news-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.column-news-list li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    display: block;
}

.column-news-list li a:hover {
    color: var(--that-luang-gold);
}

/* 频道右侧广告 */
.sidebar-ad {
    margin-top: 10px;
}

.sidebar-ad img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* 频道大型布局样式 */
.channel-content-large {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

/* 大型栏目样式 */
.channel-column-large {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* 栏目头部 */
.column-header {
    margin-bottom: 20px;
}

/* 大型栏目标题 */
.column-title-large {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-weight: bold;
    color: var(--dark-blue);
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--that-luang-gold);
}

/* 栏目标签 */
.column-tag {
    display: inline-block;
    background-color: var(--that-luang-gold);
    color: var(--dark-blue);
    font-size: 12px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 10px;
}

.column-title-large a {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: bold;
}

.column-title-large a:hover {
    color: var(--that-luang-gold);
}

.column-title-large .more {
    font-size: 14px;
    font-weight: normal;
}

.column-title-large .more a {
    font-size: 14px;
    font-weight: normal;
    color: var(--text-secondary);
    text-decoration: none;
}

.column-title-large .more a:hover {
    color: var(--that-luang-gold);
}

/* 大型栏目内容 */
.column-content-large {
    display: flex;
    gap: 20px;
}

/* 大型头条新闻 */
.column-headline-large {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex: 1;
}

/* 头条图片 */
.headline-image {
    flex: 1;
    min-width: 350px;
    max-width: 350px;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

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

.headline-image a:hover img {
    transform: scale(1.05);
}

/* 头条信息 */
.headline-info {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.headline-info h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.3;
}

.headline-info h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.headline-info h3 a:hover {
    color: var(--that-luang-gold);
}

/* 大型新闻列表 */
.column-news-list-large {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.column-news-list-large li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.column-news-list-large li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.4;
    display: block;
    transition: color 0.3s ease;
}

.column-news-list-large li a:hover {
    color: var(--that-luang-gold);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .column-content-large {
        flex-direction: column;
    }
    
    .column-headline-large {
        flex-direction: column;
    }
    
    .headline-image {
        min-width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .headline-image img {
        height: auto;
    }
}

@media (max-width: 768px) {
    .channel-column-large {
        padding: 15px;
    }
    
    .column-title-large {
        font-size: 18px;
    }
    
    .headline-info h3 {
        font-size: 16px;
    }
    
    .column-news-list-large li a {
        font-size: 14px;
    }
}

/* 回到顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--that-luang-gold);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background-color: var(--dark-gold);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 新闻列表项 */
.news-item {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.news-item:hover {
    background-color: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 新闻信息 */
.news-info h3 {
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.news-info h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-info h3 a:hover {
    color: #00489f;
    text-decoration: underline;
}

/* 新闻元信息 */
.news-info .meta {
    font-size: 14px;
    color: #999;
    margin: 0 0 10px 0;
}

/* 新闻摘要 */
.news-info .summary {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* 分页 */
.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.pagination ul {
    list-style: none;
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.pagination li {
    display: inline;
}

.pagination a {
    display: block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

.pagination .active a {
    background-color: #00489f;
    color: #fff;
    border-color: #00489f;
}

/* 相关推荐列表 */
.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.related-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-list a:hover {
    color: #00489f;
    text-decoration: underline;
}

/* 文章页面样式 */
.article-page {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 8px;
}

/* 文章内容布局 */
.article-content {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    align-items: flex-start;
}

/* 左侧文章内容 */
.article-left {
    flex: 1;
}

/* 右侧相关推荐 */
.article-right {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 修复侧边栏section样式 */
.list-right .sidebar-section,
.article-right .sidebar-section {
    flex: none;
}

/* 文章标题 */
.article-title {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.article-title h1 {
    font-size: 32px;
    font-weight: bold;
    color: #00489f;
    margin: 0;
    line-height: 1.3;
}

/* 文章元信息 */
.article-meta {
    margin-bottom: 20px;
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-radius: 6px;
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

/* 文章正文 */
.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.article-body p {
    margin-bottom: 15px;
    text-align: justify;
}

/* 文章图片 */
.article-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 确保文章图片在所有情况下都自适应 */
.article-body img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 20px auto !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* 在移动端确保所有图片都自适应 */
@media (max-width: 768px) {
    /* 确保所有图片自适应 */
    .article-image,
    .article-body img,
    img.article-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-height: none !important;
        object-fit: contain !important;
        display: block !important;
        margin: 10px auto !important;
        padding: 0 !important;
        border: none !important;
    }
    
    /* 确保文章标题自适应 */
    .article-title h1 {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 20px !important;
        line-height: 1.3 !important;
        padding: 10px !important;
        margin: 0 !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        word-break: break-all !important;
    }
    
    /* 确保文章内容自适应 */
    .article-body,
    .article-body p,
    .article-body div,
    .article-body h2,
    .article-body h3,
    .article-body ul,
    .article-body ol,
    .article-body li {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        word-break: break-all !important;
    }
    
    /* 调整文章段落间距 */
    .article-body p {
        margin-bottom: 10px !important;
        padding: 0 10px !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
    
    /* 确保文章内容区自适应 */
    .article-content {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* 确保左侧内容区自适应 */
    .article-left {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* 确保右侧内容区自适应 */
    .article-right {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* 图片说明 */
.image-caption {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: -15px;
    margin-bottom: 20px;
    font-style: italic;
}

/* 文章标题2 */
.article-body h2 {
    font-size: 24px;
    font-weight: bold;
    color: #00489f;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

/* 文章列表 */
.article-body ul {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
    list-style-type: disc;
}

/* 文章标签 */
.article-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
}

.article-tags span {
    color: #666;
}

.article-tags a {
    color: #00489f;
    text-decoration: none;
    background-color: #f0f7ff;
    padding: 5px 10px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.article-tags a:hover {
    background-color: #00489f;
    color: #fff;
}

/* 文章评论 */
.article-comments {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.article-comments h3 {
    font-size: 20px;
    font-weight: bold;
    color: #00489f;
    margin-bottom: 20px;
}

/* 评论表单 */
.comment-form {
    margin-bottom: 30px;
}

.comment-form textarea {
    width: 100%;
    height: 120px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    font-size: 14px;
    margin-bottom: 15px;
}

.comment-form button {
    background-color: #00489f;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.comment-form button:hover {
    background-color: #00367a;
}

/* 评论列表 */
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.comment-author {
    font-weight: bold;
    color: #00489f;
    margin-bottom: 5px;
}

.comment-time {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.comment-content {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.headline-news .section-header {
    margin-bottom: 10px;
    padding: 0 0 8px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.headline-news .section-header h2 {
    font-size: 20px;
    font-weight: bold;
    color: #00489f;
    margin: 0;
}

.headline-news .section-header h2::before {
    content: '|';
    color: #f2b300;
    margin-right: 8px;
    font-size: 20px;
    font-weight: bold;
}

/* 头条新闻列表样式 */
.headline-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.headline-list .news-item {
    position: relative;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    background-color: transparent;
    border-radius: 0;
    transition: none;
    overflow: hidden;
    flex-direction: column;
    height: auto;
    min-height: auto;
    box-shadow: none;
    border-left: none;
}

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

.headline-list .news-item:hover {
    background-color: transparent;
    transform: none;
    box-shadow: none;
    border-left-color: transparent;
}

.headline-list .news-item::before {
    display: none;
}

.headline-list .news-content {
    padding: 0;
}

.headline-list .news-content h3 {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
    color: #333;
    font-weight: normal;
}

.headline-list .news-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.headline-list .news-content h3 a:hover {
    color: #00489f;
    text-decoration: underline;
}

/* 加粗新闻样式 */
.headline-list .news-item.news-bold .news-content h3 {
    font-weight: bold;
}

/* 特色新闻样式 */
.headline-list .news-item.headline-featured {
    padding: 15px 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 15px;
}

.headline-list .news-item.headline-featured .news-content {
    padding: 0;
}

.featured-title {
    font-size: 28px;
    font-weight: bold;
    color: #e74c3c;
    margin: 0 0 10px 0;
    line-height: 1.2;
    text-align: center;
}

.featured-title a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-title a:hover {
    color: #c0392b;
    text-decoration: none;
}

.featured-summary {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
    text-align: left;
    text-indent: 2em;
}

/* 移除之前的缩进span样式，使用text-indent替代 */
.featured-summary .indent {
    display: none;
}

/* 阅读详情样式 */
.featured-summary .read-more {
    color: #00489f;
    text-decoration: none;
    margin-left: 8px;
    font-weight: bold;
}

.featured-summary .read-more:hover {
    text-decoration: underline;
}

.headline-list .news-content .meta {
    display: none;
}

/* 重置其他头条样式，确保不影响新设计 */
.headline-big,
.headline-small {
    display: none;
}

.headline-big .news-item,
.headline-small .news-item {
    display: none;
}

.news-item {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.news-content {
    padding: 10px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 5px;
}

.news-content h2,
.news-content h3,
.news-content h4 {
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.news-content h2 a,
.news-content h3 a,
.news-content h4 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h3 a:hover,
.news-content h4 a:hover {
    color: var(--that-luang-gold);
}

.news-content .summary {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 新闻序号 */
.headline-small .news-item::before {
    content: '';
    display: none;
}

/* 头条区域标题 */
.headline-section-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--dark-blue);
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid var(--that-luang-gold);
}

/* 内容布局 */
.content-layout {
    display: flex;
    gap: 8px;
    margin: 8px 0;
}

.content-left {
    flex: 1;
}

.content-right {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 广告位样式 */
.ad-section {
    margin: 8px 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}

.ad-left {
    height: 90px;
    width: 100%;
}

.ad-right {
    height: 90px;
    width: 300px;
    margin: 8px 0;
}

.ad-content {
    width: 100%;
    height: 100%;
}

.ad-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 新闻板块 */
.news-section {
    background-color: var(--bg-primary);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--that-luang-gold);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 5px;
    position: relative;
    flex-shrink: 0;
}

.section-header::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10px;
    width: 60px;
    height: 1px;
    background-color: var(--that-luang-gold);
}

.section-header h2 {
    font-size: 20px;
    color: var(--dark-blue);
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
}

.section-header h2::before {
    content: '|';
    color: var(--that-luang-gold);
    margin-right: 8px;
    font-size: 16px;
}

.section-header h2 a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.section-header h2 a:hover {
    color: var(--that-luang-gold);
}

.section-header .more {
    color: var(--dark-blue);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    padding: 5px 10px;
    border-radius: 3px;
}

.section-header .more:hover {
    color: var(--that-luang-gold);
    background-color: rgba(13, 71, 161, 0.1);
}

/* 科技精选与前沿风向标两栏布局 */
/* 合并模块样式 */
.merged-tech-section .merged-content,
.merged-economy-section .merged-content,
.merged-variety-section .merged-content {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.merged-tech-section .left-content,
.merged-economy-section .left-content,
.merged-variety-section .left-content {
    flex: 0.45;
    min-width: 0;
}

.merged-tech-section .right-content,
.merged-economy-section .right-content,
.merged-variety-section .right-content {
    flex: 0.55;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.merged-tech-section .big-news-item,
.merged-economy-section .big-news-item,
.merged-variety-section .big-news-item {
    margin-bottom: 8px;
}

.merged-tech-section .image-container,
.merged-economy-section .image-container,
.merged-variety-section .image-container {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 4px;
    overflow: hidden;
}

.merged-tech-section .big-news-item img,
.merged-economy-section .big-news-item img,
.merged-variety-section .big-news-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.merged-tech-section .big-news-item .news-content,
.merged-economy-section .big-news-item .news-content,
.merged-variety-section .big-news-item .news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    color: white;
}

.merged-tech-section .big-news-item .news-content h3,
.merged-economy-section .big-news-item .news-content h3,
.merged-variety-section .big-news-item .news-content h3 {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 5px;
    font-weight: 600;
    color: white;
}

.merged-tech-section .big-news-item .news-content h3 a,
.merged-economy-section .big-news-item .news-content h3 a,
.merged-variety-section .big-news-item .news-content h3 a {
    color: white;
    text-decoration: none;
}

.merged-tech-section .big-news-item .news-content h3 a:hover,
.merged-economy-section .big-news-item .news-content h3 a:hover,
.merged-variety-section .big-news-item .news-content h3 a:hover {
    color: var(--that-luang-gold);
}

.merged-tech-section .big-news-item .news-content .meta,
.merged-economy-section .big-news-item .news-content .meta,
.merged-variety-section .big-news-item .news-content .meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.merged-tech-section .news-row,
.merged-economy-section .news-row,
.merged-variety-section .news-row {
    display: flex;
    gap: 8px;
}

.merged-tech-section .news-column .news-item,
.merged-economy-section .news-column .news-item,
.merged-variety-section .news-column .news-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0 0 0;
    margin-bottom: 0;
    border-radius: 4px;
    background: transparent;
    transition: none;
}

.merged-tech-section .news-column .news-item img,
.merged-economy-section .news-column .news-item img,
.merged-variety-section .news-column .news-item img {
    width: 140px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.merged-tech-section .news-column .news-content,
.merged-economy-section .news-column .news-content,
.merged-variety-section .news-column .news-content {
    flex: 1;
    min-width: 0;
}

.merged-tech-section .news-column .news-content h3,
.merged-economy-section .news-column .news-content h3,
.merged-variety-section .news-column .news-content h3 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 3px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.merged-tech-section .news-column .news-content .meta,
.merged-economy-section .news-column .news-content .meta,
.merged-variety-section .news-column .news-content .meta {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

/* 保留原有样式 */
.tech-trend-layout {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.tech-section, .trend-section {
    flex: 1;
    min-width: 0;
}

/* 新闻列表 */
.news-list .news-item {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.news-list .news-item:hover {
    background-color: rgba(13, 71, 161, 0.05);
}

.news-list .news-item img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 4px;
}

.news-list .news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-list .news-content h3 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-list .news-content .summary {
    font-size: 12px;
    line-height: 1.4;
    color: #666;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-list .news-content .meta {
    font-size: 12px;
    color: #999;
}

/* 新闻网格 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.news-grid .news-item {
    flex-direction: column;
    height: 100%;
}

.news-grid .news-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* 侧边栏 */
.sidebar-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--that-luang-gold), var(--dark-gold));
}

.sidebar-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    color: var(--dark-blue);
    position: relative;
    padding-left: 15px;
}

.sidebar-section h3::before {
    content: '|';
    position: absolute;
    left: 0;
    color: var(--that-luang-gold);
    font-size: 14px;
}

/* 隐藏头条新闻的发布时间和来源 */
.headline-news .meta {
    display: none;
}

/* 票务预订工具样式 */
.ticket-tool {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 热门服务 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.service-item {
    background-color: #f9f9f9;
    padding: 2px;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover {
    background-color: #f0f7ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.service-item h5 {
    margin: 0;
    font-size: 13px;
    font-weight: bold;
}

.service-item h5 a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.service-item h5 a:hover {
    color: var(--that-luang-gold);
}

/* 汇率工具样式调整 */
.exchange-tool {
    padding: 0;
}

.exchange-input, .exchange-output {
    margin-bottom: 5px;
}

.exchange-input input, .exchange-output input {
    width: 100px;
    padding: 5px;
    font-size: 14px;
}

.exchange-input select, .exchange-output select {
    width: 100px;
    padding: 5px;
    font-size: 14px;
}

.exchange-arrow {
    text-align: center;
    margin: 5px 0;
}

/* 大使馆工具样式调整 */
.embassy-tool {
    padding: 5px 0;
}

/* 票务信息和汇率模块高度调整 */
#ticket-section, #exchange-section {
    flex: 0.8;
}

/* 大使馆模块高度调整 */
#embassy-section {
    flex: 1.2;
}

.embassy-tabs {
    margin-bottom: 5px;
}

.embassy-tabs button {
    padding: 3px 8px;
    font-size: 14px;
    margin-right: 5px;
}

.embassy-info {
    padding: 5px 0;
    font-size: 14px;
    line-height: 1.6;
}

.embassy-info > div {
    margin-bottom: 5px;
}

.embassy-info strong {
    color: var(--dark-blue);
}

.embassy-name,
.consulate-name {
    font-weight: bold;
    color: var(--dark-blue);
}

.embassy-address,
.embassy-phone,
.embassy-fax,
.consulate-address,
.consulate-phone {
    font-weight: 500;
}

/* 预订服务信息 */
.ticket-service {
    margin-top: 5px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    text-align: center;
    color: #333;
}

.ticket-service strong {
    color: var(--dark-blue);
}

.service-tip {
    margin: 5px 0 0 0;
    font-size: 12px;
    color: var(--that-luang-gold);
    font-style: italic;
}

/* 换币服务信息 */
.exchange-service {
    margin-top: 0;
    padding-top: 5px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    text-align: center;
    color: #333;
}

.exchange-service strong {
    color: var(--dark-blue);
}

/* 签证服务信息 */
.visa-service {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    text-align: center;
    color: #333;
    white-space: nowrap;
}

.visa-service strong {
    color: var(--dark-blue);
}

/* 热门排行 */
.hot-ranking {
    list-style: none;
}

.hot-ranking li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.hot-ranking li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hot-ranking a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.3s;
}

.hot-ranking a:hover {
    color: var(--that-luang-gold);
}

/* 已移除热点排行的编号效果 */
/* .hot-ranking li::before {
    content: counter(li);
    counter-increment: li;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--that-luang-gold);
    color: var(--dark-blue);
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    margin-right: 10px;
    font-size: 12px;
    font-weight: bold;
} */

/* 热门排行第一条带缩略图样式 */
.hot-ranking li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.hot-ranking li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hot-ranking li a {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.3s;
}

.hot-ranking li a:hover {
    color: var(--that-luang-gold);
}

.hot-ranking li img {
    display: none;
}

/* 热门排行第一条样式增强 */
.hot-ranking li:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-weight: bold;
}

.hot-ranking li:first-child img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.hot-ranking li:first-child a {
    flex: 1;
    line-height: 1.4;
}

/* 视频列表 */
.video-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.video-item img {
    width: 120px;
    height: 90px;
    object-fit: cover;
}

/* 百科词典样式 */
.encyclopedia-dictionary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dictionary-entry {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 12px;
    transition: all 0.3s ease;
}

.dictionary-entry:hover {
    background-color: #f0f7ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.entry-term {
    display: flex;
    align-items: center;
    margin: 0 0 6px 0;
    font-size: 15px;
    font-weight: bold;
    color: var(--dark-blue);
}

.entry-term a {
    color: var(--dark-blue);
    text-decoration: none;
    margin-right: 8px;
}

.entry-term a:hover {
    color: var(--that-luang-gold);
    text-decoration: underline;
}

.entry-type {
    font-size: 10px;
    font-weight: normal;
    color: #fff;
    background-color: var(--that-luang-gold);
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.entry-definition {
    margin: 0;
    font-size: 12px;
    color: #555;
    line-height: 1.6;
    text-align: justify;
    padding-left: 5px;
    border-left: 2px solid #e0e0e0;
}

.video-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.video-item a:hover {
    color: var(--that-luang-gold);
}

/* 招聘信息样式 */
.job-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-item {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 12px;
    transition: all 0.3s ease;
}

.job-item:hover {
    background-color: #f0f7ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.job-item h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: bold;
}

.job-item h4 a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.job-item h4 a:hover {
    color: var(--that-luang-gold);
}

.job-company {
    margin: 0 0 3px 0;
    font-size: 12px;
    color: #666;
    font-weight: bold;
}

.job-salary {
    margin: 0 0 3px 0;
    font-size: 12px;
    color: var(--that-luang-gold);
}

.job-date {
    margin: 0;
    font-size: 11px;
    color: #999;
}

/* 房租租赁样式 */
.rent-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rent-item {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 12px;
    transition: all 0.3s ease;
}

.rent-item:hover {
    background-color: #f0f7ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.rent-item h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: bold;
}

.rent-item h4 a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.rent-item h4 a:hover {
    color: var(--that-luang-gold);
}

.rent-type,
.rent-area,
.rent-price,
.rent-location {
    margin: 0 0 3px 0;
    font-size: 12px;
    color: #666;
}

.rent-price {
    color: var(--that-luang-gold);
    font-weight: bold;
}

/* 经济数据 */
.economy-data {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.data-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.data-label {
    font-size: 14px;
    color: #666;
}

.data-value {
    font-size: 18px;
    font-weight: bold;
    color: var(--that-luang-gold);
}

/* 广告区 */
.advertisement {
    text-align: center;
}

.advertisement img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.ad-text {
    font-size: 14px;
    color: #666;
}

.ad-250x250 {
    text-align: center;
}

.ad-250x250 img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

/* 中老关系专题 */
.special-topic {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.special-topic::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: linear-gradient(45deg, var(--that-luang-gold), var(--dark-gold));
    border-radius: 8px;
    z-index: -1;
}

.topic-content {
    display: flex;
    gap: 8px;
}

.topic-big {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.topic-big img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid var(--light-gold);
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.2);
}

.topic-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.topic-text h3 a {
    color: var(--dark-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.topic-text h3 a:hover {
    color: var(--that-luang-gold);
}

.topic-text p {
    color: #666;
    line-height: 1.8;
}

.topic-small {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.topic-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.topic-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.topic-item h4 {
    font-size: 16px;
}

.topic-item h4 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.topic-item h4 a:hover {
    color: var(--that-luang-gold);
}

/* 文旅老挝模块特定样式 */
.special-topic .topic-layout {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

/* 左侧主视觉大图 */
.special-topic .topic-main {
    width: 380px;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    flex: none;
    position: relative;
}

.special-topic .topic-main img {
    width: 380px;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid var(--light-gold);
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.2);
}

.special-topic .topic-main .topic-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    color: #fff;
}

.special-topic .topic-main .topic-text h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.special-topic .topic-main .topic-text p {
    color: #fff;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 右侧小图网格 */
.special-topic .topic-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 500px;
    margin: 0;
    padding: 0;
}

/* 小图行 */
.special-topic .topic-row {
    display: flex;
    gap: 10px;
    height: calc(50% - 5px);
}

/* 小图项 */
.special-topic .topic-grid-item {
    flex: 1;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    margin: 0;
    padding: 0;
}

.special-topic .topic-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.special-topic .topic-grid-item:hover img {
    transform: scale(1.05);
}

.special-topic .topic-grid-item h4 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    margin: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    color: #fff;
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.special-topic .topic-grid-item h4 a {
    color: #fff;
}

/* 确保topic-big设置为相对定位 */
.special-topic .topic-big {
    position: relative;
}

/* 企业黄页 */
.business-directory {
    padding: 10px 0;
    background-color: #fff;
    border-radius: 8px;
}

.business-table {
    width: 100%;
}

.business-row {
    display: flex;
    margin-bottom: 10px;
    gap: 10px;
}

.business-item {
    flex: 1;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    background-color: #fff;
}

.business-item h3 {
    margin: 0 0 5px 0;
    font-size: 15px;
    color: #333;
    font-weight: bold;
}

.business-item h3 a {
    color: #333;
    text-decoration: none;
}

.business-desc {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.business-contact {
    font-size: 11px;
    line-height: 1.4;
}

.business-contact p {
    margin: 2px 0;
    color: #555;
}

/* 页脚 */
.footer {
    background-color: #00489f;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.footer-section {
    width: 23%;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--that-luang-gold);
}

.footer-section p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
    padding-left: 10px;
}

.footer-links a::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #f2b300;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

.footer-links a:hover {
    color: #f2b300;
    padding-left: 15px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.footer-social .social-icon {
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-social .social-icon:hover {
    background-color: #0d47a1;
    color: #fff;
    border-color: #0d47a1;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(13, 71, 161, 0.3);
}

.subscribe h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.subscribe input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.subscribe input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.subscribe button {
    width: 100%;
    padding: 12px;
    background-color: #0d47a1;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    font-weight: bold;
}

.subscribe button:hover {
    background-color: #0a3a8b;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(13, 71, 161, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .headline-news {
        flex-direction: column;
    }
    
    .content-layout {
        flex-direction: column;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .topic-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-wrap: wrap;
    }
    
    .footer-section {
        width: 48%;
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 8px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .nav-menu {
        flex-wrap: wrap;
    }
    
    .nav-menu a {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .news-list .news-item {
        flex-direction: column;
    }
    
    .news-list .news-item img {
        width: 100%;
        height: 200px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-section {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .logo h1 {
        font-size: 28px;
    }
    
    .headline-small .news-item img {
        height: 100px;
    }
    
    .news-content h2 {
        font-size: 20px;
    }
    
    .news-content h3 {
        font-size: 16px;
    }
    
    /* 焦点图轮播响应式 */
    .carousel {
        height: 250px;
    }
    
    .carousel-caption {
        padding: 20px 30px;
    }
    
    .carousel-caption h2 {
        font-size: 18px;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-control.prev {
        left: 10px;
    }
    
    .carousel-control.next {
        right: 10px;
    }
}