﻿/* ===== 网站首页全局样式与基础设置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "SimHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8f9fa;
    color: #333333;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

a:focus {
    outline: 2px solid #0056b3;
    outline-offset: 2px;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== 主容器样式 ===== */
.lexiang-container {
    max-width: 1330px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    overflow: hidden;
}

/* ===== 顶部导航栏容器 ===== */
.lexiang-top-bar {
    background-color: #024Ac2;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
    width: 100%;
}

.lexiang-top-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
}

.lexiang-top-nav-left, .lexiang-top-nav-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.lexiang-top-nav a {
    color: #fff;
    padding: 4px 10px;
    border-right: 1px solid rgba(255,255,255,0.2);
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
}

.lexiang-top-nav a:last-child {
    border-right: none;
}

.lexiang-top-nav a:hover {
    background-color: rgba(255,255,255,0.1);
}

/* ===== 节假日倒计时容器 ===== */
#holiday-countdown {
    display: flex;
    align-items: center;
    margin-right: 15px;
    padding: 4px 10px;
    background-color: transparent;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    transition: all 0.3s ease;
}

#holiday-countdown:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.countdown-text {
    white-space: nowrap;
    font-size: 14px;
    color: #fff;
}

.countdown-days {
    font-weight: bold;
    color: #ffcc00;
    margin: 0 3px;
}

/* ===== 网站主头部容器 ===== */
.lexiang-main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.lexiang-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
    width: 100%;
}

.lexiang-logo {
    height: 60px;
    display: flex;
    align-items: center;
}

.lexiang-logo img {
    height: 100%;
    width: auto;
    max-width: none;
}

.lexiang-main-nav ul {
    display: flex;
    flex-wrap: wrap;
}

.lexiang-main-nav li {
    margin: 0 15px;
    position: relative;
}

.lexiang-main-nav a {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    padding: 10px 0;
    transition: color 0.3s;
    display: block;
}

.lexiang-main-nav a:hover {
    color: #0056b3;
}

/* ===== 新闻大标题区域容器 ===== */
.lexiang-headline-section {
    background-color: #fff;
    margin: 20px 0;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: 100%;
    overflow: hidden;
}

.lexiang-headline-title {
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lexiang-headline-title:hover {
    color: #0056b3;
}

.lexiang-headline-subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    transition: color 0.3s;
}

.lexiang-headline-subtitle:hover {
    color: #0056b3;
}

/* ===== 轮播图与最新资讯左右布局容器 ===== */
.lexiang-banner-news-container {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* ===== 轮播图区域容器 ===== */
.lexiang-banner-section {
    flex: 0 0 867px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 0;
    overflow: hidden;
    height: 400px;
}

.lexiang-banner-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

/* ===== 轮播图组件样式 ===== */
.lexiang-swiper {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-image {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 40px 20px 15px;
    font-size: 16px;
    text-align: center;
    margin: 0;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.swiper-slide:hover .slide-title {
    background: linear-gradient(transparent, rgba(44, 62, 80, 0.8));
}

/* 轮播导航箭头 */
.swiper-button-next,
.swiper-button-prev {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    margin-top: -22px;
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #2c3e50;
    transform: scale(1.1);
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    color: white;
}

.swiper-button-next { 
    right: 15px; 
}

.swiper-button-prev { 
    left: 15px; 
}

/* 轮播分页指示器 */
.swiper-pagination {
    bottom: 10px !important;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.6;
    width: 8px;
    height: 8px;
    margin: 0 4px;
}

.swiper-pagination-bullet-active {
    background: #2c3e50;
    opacity: 1;
}

 /* ===== 最新资讯区域容器 ===== */
        .lexiang-latest-news-section {
            flex: 1;
            min-width: 0;
            background-color: #fff;
            border-radius: 5px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            padding: 20px;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            height: 400px;
            font-family: 'Microsoft YaHei', Arial, sans-serif;
        }

        /* ===== 最新资讯列表样式 ===== */
        .lexiang-latest-news-list {
            flex: 1;
            margin: 0;
            padding: 0;
            list-style: none;
            overflow-y: auto;
            min-height: 0;
        }

        .lexiang-latest-news-item {
            display: flex;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px dashed #eee;
            width: 100%;
            box-sizing: border-box;
            position: relative;
        }

        .lexiang-latest-news-item:last-child {
            border-bottom: none;
        }

        /* 标签样式 */
        .lexiang-latest-news-item .news-label {
            display: none;
            position: relative;
            font-size: 11px;
            font-weight: bold;
            color: #fff;
            padding: 2px 6px;
            border-radius: 3px;
            margin-right: 8px;
            line-height: 1.3;
            background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
            box-shadow: 0 2px 4px rgba(255, 71, 87, 0.2);
            text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
            white-space: nowrap;
            vertical-align: middle;
            min-width: 50px;
            text-align: center;
        }

        /* 热点推荐样式 */
        .lexiang-latest-news-item .news-label.hot {
            background: linear-gradient(135deg, #ff9f43 0%, #ff8d1a 100%);
            box-shadow: 0 2px 4px rgba(255, 159, 67, 0.2);
        }

        .lexiang-latest-news-item a {
            flex: 1;
            min-width: 0;
            white-space: normal;
            word-wrap: break-word;
            word-break: break-word;
            transition: all 0.3s;
            font-size: 16px;
            line-height: 1.4;
            color: #333;
            text-decoration: none;
            display: block;
            padding: 2px 0;
        }

        .lexiang-latest-news-item a:hover {
            color: #fff;
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            border-radius: 4px;
            padding-left: 15px;
        }

        /* 最新资讯区域滚动条样式 */
        .lexiang-latest-news-list::-webkit-scrollbar {
            width: 4px;
        }

        .lexiang-latest-news-list::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 2px;
        }

        .lexiang-latest-news-list::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 2px;
        }

        .lexiang-latest-news-list::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }

/* ===== 主要内容区域容器 ===== */
.lexiang-main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin: 30px 0;
    width: 100%;
    overflow: hidden;
}

/* ===== 左侧内容区域容器 ===== */
.lexiang-left-content {
    width: 100%;
}

/* ===== 通用栏目容器样式（仅作基础） ===== */
.lexiang-news-section {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 20px;
    width: 100%;
    overflow: hidden;
}

.lexiang-section-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
    margin-bottom: 15px;
    width: 100%;
}

.lexiang-section-title {
    font-size: 22px;
    font-weight: bold;
    color: #378DE4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 40px;
    position: relative;
    min-height: 32px;
    line-height: 1.3;
}

/* ===== 通用新闻列表样式（仅作基础） ===== */
.lexiang-news-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    width: 100%;
    overflow: hidden;
}

.lexiang-news-list li:last-child {
    border-bottom: none;
}

.lexiang-news-list a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s;
}

.lexiang-news-list a:hover {
    color: #0056b3;
}

/* ===== 栏目标题图标通用样式 ===== */
.lexiang-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: #2c3e50;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: normal;
    color: white;
}

/* ===== 悦享资讯栏目容器 ===== */
/* ===== 针对表格样式的修改（优化版） ===== */

/* 表格容器样式 */
.lexiang-yuexiang-news-list {
    width: 100% !important;
    border-collapse: collapse;
    margin: 0 auto;
    background: transparent;
}

/* 表格行样式 - 模拟原有的li效果 */
.lexiang-yuexiang-news-list tr {
    border-bottom: 1px dashed #e9ecef;
    padding: 12px 0;
    display: table-row;
}

/* 单元格基础样式 */
.lexiang-yuexiang-news-list td {
    padding: 12px 0;
    vertical-align: top;
}

/* 图片单元格 - 宽度改为180px以匹配图片 */
.lexiang-yuexiang-news-list td:first-child {
    width: 180px;
    padding-right: 15px;
    padding-left: 0;
}

/* 内容单元格 */
.lexiang-yuexiang-news-list td:last-child {
    padding-left: 10px;
    position: relative;
}

/* 图片链接容器 */
.lexiang-yuexiang-news-list td:first-child a {
    display: block;
}

/* 图片样式 - 宽度180px，高度100px */
.lexiang-yuexiang-news-list img {
    width: 180px !important;
    height: 100px !important;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

/* 图片悬停效果 */
.lexiang-yuexiang-news-list img:hover {
    transform: scale(1.05);
}

/* 标题样式 - 移除了加粗 */
.lexiang-yuexiang-news-list td:last-child strong {
    display: block;
    margin-bottom: 5px;
    font-weight: normal; /* 移除了加粗 */
}

/* 标题链接样式 */
.lexiang-yuexiang-news-list td:last-child strong a {
    color: #333;
    text-decoration: none;
    padding-left: 18px;
    position: relative;
    transition: all 0.3s ease;
    font-weight: normal; /* 确保链接也不加粗 */
}

/* 标题链接前的圆点 */
.lexiang-yuexiang-news-list td:last-child strong a::before {
    content: "•";
    color: #3494F0;
    position: absolute;
    left: 0;
    font-size: 18px;
    line-height: 1;
}

/* 标题链接悬停效果 */
.lexiang-yuexiang-news-list td:last-child strong a:hover {
    color: #0056b3;
    padding-left: 18px;
}

/* ===== 流年追影栏目容器 ===== */
.lexiang-liunian-video {
    background: #fff;
    border: 1px solid #e9ecef;
}

.lexiang-liunian-header {
    border-bottom: 2px solid #2c3e50;
}

.lexiang-liunian-title {
    color: #378DE4;
    font-size: 24px;
}

.lexiang-liunian-title::before {
    content: "🎬";
    background-color: #2c3e50;
    color: white;
    font-size: 18px;
}

.lexiang-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    overflow: hidden;
}

.lexiang-video-item {
    text-align: center;
    transition: transform 0.3s;
    width: 100%;
    overflow: hidden;
}

.lexiang-video-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.lexiang-video-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    height: auto;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    aspect-ratio: 16/9;
    width: 100%;
}

.lexiang-video-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lexiang-video-item:hover .lexiang-video-image img {
    transform: scale(1.05);
}

.lexiang-video-caption {
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    margin-top: 8px;
    font-weight: 500;
    padding: 0 5px;
}

.lexiang-video-item:hover .lexiang-video-caption {
    color: #0056b3;
}

/* ===== 拾光笔记栏目容器 ===== */
.lexiang-shiguang-notes {
    background: #fff;
    border: 1px solid #e9ecef;
}

.lexiang-shiguang-header {
    border-bottom: 2px solid #2c3e50;
}

.lexiang-shiguang-title {
    color: #378DE4;
    font-size: 24px;
}

.lexiang-shiguang-title::before {
    content: "📝";
    background-color: #2c3e50;
    color: white;
    font-size: 18px;
}

.lexiang-shiguang-news-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #e9ecef;
}

.lexiang-shiguang-news-item a {
    color: #495057;
    padding-left: 25px;
    position: relative;
    font-size: 18px;
}

.lexiang-shiguang-news-item a::before {
    content: "✎";
    color: #2c3e50;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

.lexiang-shiguang-news-item a:hover {
    color: #0056b3;
    padding-left: 30px;
}

/* ===== 知享探索栏目容器 ===== */
.lexiang-zhixiang-explore {
    background: #fff;
    border: 1px solid #e9ecef;
}

.lexiang-zhixiang-header {
    border-bottom: 2px solid #2c3e50;
}

.lexiang-zhixiang-title {
    color: #378DE4;
    font-size: 24px;
}

.lexiang-zhixiang-title::before {
    content: "🔍";
    background-color: #2c3e50;
    color: white;
    font-size: 18px;
}

.lexiang-zhixiang-news-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #e9ecef;
}

.lexiang-zhixiang-news-item a {
    color: #495057;
    padding-left: 25px;
    position: relative;
    font-size: 18px;
}

.lexiang-zhixiang-news-item a::before {
    content: "✦";
    color: #2c3e50;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

.lexiang-zhixiang-news-item a:hover {
    color: #0056b3;
    padding-left: 30px;
    background: rgba(44, 62, 80, 0.05);
}

/* ===== 百姓生活栏目容器 ===== */
.lexiang-baixing-life {
    background: #fff;
    border: 1px solid #e9ecef;
}

.lexiang-baixing-header {
    border-bottom: 2px solid #2c3e50;
}

.lexiang-baixing-title {
    color: #378DE4;
    font-size: 24px;
}

.lexiang-baixing-title::before {
    content: "🏠";
    background-color: #2c3e50;
    color: white;
    font-size: 18px;
}

.lexiang-baixing-news-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #e9ecef;
}

.lexiang-baixing-news-item a {
    color: #495057;
    padding-left: 25px;
    position: relative;
    font-size: 18px;
}

.lexiang-baixing-news-item a::before {
    content: "♥";
    color: #2c3e50;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

.lexiang-baixing-news-item a:hover {
    color: #378DE4;
    padding-left: 30px;
    background: rgba(44, 62, 80, 0.05);
}

/* ===== 右侧边栏容器 ===== */
.lexiang-sidebar {
    width: 100%;
}

/* ===== 悦享看台栏目容器 ===== */
.lexiang-yuexiang-view {
    background: #fff;
    border: 1px solid #e9ecef;
}

.lexiang-yuexiang-view-header {
    border-bottom: 2px solid #2c3e50;
}

.lexiang-yuexiang-view-title {
    color: #378DE4;
    font-size: 24px;
}

.lexiang-yuexiang-view-title::before {
    content: "👁";
    background-color: #2c3e50;
    color: white;
    font-size: 18px;
}

.lexiang-yuexiang-hot-news li {
    padding: 12px 0;
    border-bottom: 1px dashed #e9ecef;
}

.lexiang-yuexiang-hot-news-item a {
    color: #495057;
    padding-left: 25px;
    position: relative;
    font-size: 18px;
}

.lexiang-yuexiang-hot-news-item a::before {
    content: "🔥";
    color: #2c3e50;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

.lexiang-yuexiang-hot-news-item a:hover {
    color: #0056b3;
    padding-left: 30px;
    background: rgba(44, 62, 80, 0.05);
}

/* ===== 专题推荐栏目容器 ===== */
.lexiang-special-recommend {
    background: #fff;
    border: 1px solid #e9ecef;
}

.lexiang-special-header {
    border-bottom: 2px solid #2c3e50;
}

.lexiang-special-title {
    color: #378DE4;
    font-size: 24px;
}

.lexiang-special-title::before {
    content: "⭐";
    background-color: #2c3e50;
    color: white;
    font-size: 18px;
}

.lexiang-special-news-list {
    margin: 0;
    padding: 0;
}

.lexiang-special-news-item {
    padding: 0;
    border: none;
}

.lexiang-special-figure {
    margin: 0;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.lexiang-special-figure:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.lexiang-special-figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.lexiang-special-figure:hover img {
    transform: scale(1.02);
}

/* ===== 网站底部容器 ===== */
.lexiang-footer {
    background-color: #024Ac2;
    color: #fff;
    padding: 20px 0 15px;
    margin-top: 40px;
    width: 100%;
}

.lexiang-copyright {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    width: 100%;
}

.lexiang-copyright a {
    color: #fff;
    display: inline-flex;
    align-items: center;
}

.lexiang-copyright a:hover {
    color: #fff;
    text-decoration: underline;
}

/* 公安备案图标样式 */
.lexiang-copyright img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

/* ===== 移动端隐藏悦享资讯内容简介 ===== */

/* 屏幕宽度 ≤ 768px 时隐藏悦享资讯内容简介 */
@media (max-width: 768px) {
    .lexiang-yuexiang-news-list td:last-child {
        font-size: 0;
        line-height: 0;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    
    .lexiang-yuexiang-news-list td:last-child strong {
        font-size: 15px;
        line-height: 1.4;
        display: block;
        width: 100%;
    }
    
    /* 隐藏内容简介文本，只显示标题链接 */
    .lexiang-yuexiang-news-list td:last-child br,
    .lexiang-yuexiang-news-list td:last-child > *:not(strong) {
        display: none;
    }
    
    /* 确保标题链接正常显示 */
    .lexiang-yuexiang-news-list td:last-child strong a {
        font-size: 15px;
        line-height: 1.5;
        white-space: normal;
        word-wrap: break-word;
        padding-left: 15px;
        display: block;
        margin-bottom: 0;
    }
    
    .lexiang-yuexiang-news-list td:last-child strong a::before {
        content: "•";
        color: #2c3e50;
        position: absolute;
        left: 0;
        font-size: 18px;
        line-height: 1;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* 调整图片单元格 */
    .lexiang-yuexiang-news-list td:first-child {
        width: 120px;
        padding-right: 10px;
    }
    
    .lexiang-yuexiang-news-list img {
        width: 120px !important;
        height: 67px !important;
    }
}

/* 屏幕宽度 ≤ 576px 时进一步优化 */
@media (max-width: 576px) {
    .lexiang-yuexiang-news-list td:last-child strong a {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .lexiang-yuexiang-news-list td:first-child {
        width: 100px;
        padding-right: 8px;
    }
    
    .lexiang-yuexiang-news-list img {
        width: 100px !important;
        height: 56px !important;
    }
}

/* 屏幕宽度 ≤ 480px 时进一步优化 */
@media (max-width: 480px) {
    .lexiang-yuexiang-news-list td:last-child strong a {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .lexiang-yuexiang-news-list td:first-child {
        width: 90px;
        padding-right: 6px;
    }
    
    .lexiang-yuexiang-news-list img {
        width: 90px !important;
        height: 51px !important;
    }
}

/* ===== 响应式设计 ===== */

/* 屏幕宽度 ≤ 1200px（平板横屏） */
@media (max-width: 1200px) {
    .lexiang-banner-news-container {
        flex-direction: column;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .lexiang-banner-section,
    .lexiang-latest-news-section {
        flex: none;
        width: 100%;
        height: auto;
    }
    
    .lexiang-banner-section {
        margin-bottom: 20px;
    }
    
    .lexiang-banner-wrapper {
        height: 300px;
    }
    
    .lexiang-latest-news-section {
        min-height: auto;
    }
    
    .lexiang-latest-news-list {
        overflow-y: visible;
        max-height: none;
    }
    
    .slide-title {
        font-size: 15px;
        padding: 35px 15px 12px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 36px;
        height: 36px;
        margin-top: -18px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }
    
    /* 调整流年追影网格为单列 */
    .lexiang-video-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 调整栏目标题布局 */
    .lexiang-section-title,
    .lexiang-yuexiang-info .lexiang-section-title,
    .lexiang-liunian-title,
    .lexiang-shiguang-title,
    .lexiang-zhixiang-title,
    .lexiang-baixing-title,
    .lexiang-yuexiang-view-title,
    .lexiang-special-title {
        font-size: 22px;
        padding-left: 38px;
        min-height: 30px;
    }
    
    .lexiang-section-title::before,
    .lexiang-yuexiang-info .lexiang-section-title::before,
    .lexiang-liunian-title::before,
    .lexiang-shiguang-title::before,
    .lexiang-zhixiang-title::before,
    .lexiang-baixing-title::before,
    .lexiang-yuexiang-view-title::before,
    .lexiang-special-title::before {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* 屏幕宽度 ≤ 992px（平板竖屏） */
@media (max-width: 992px) {
    /* 调整栏目标题布局 */
    .lexiang-section-title,
    .lexiang-yuexiang-info .lexiang-section-title,
    .lexiang-liunian-title,
    .lexiang-shiguang-title,
    .lexiang-zhixiang-title,
    .lexiang-baixing-title,
    .lexiang-yuexiang-view-title,
    .lexiang-special-title {
        font-size: 20px;
        padding-left: 36px;
        min-height: 28px;
        gap: 8px;
    }
    
    .lexiang-section-title::before,
    .lexiang-yuexiang-info .lexiang-section-title::before,
    .lexiang-liunian-title::before,
    .lexiang-shiguang-title::before,
    .lexiang-zhixiang-title::before,
    .lexiang-baixing-title::before,
    .lexiang-yuexiang-view-title::before,
    .lexiang-special-title::before {
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
}

/* 屏幕宽度 ≤ 768px（平板竖屏/大屏手机） */
@media (max-width: 768px) {
    /* 隐藏logo容器和主导航 */
    .lexiang-logo {
        display: none;
    }
    
    .lexiang-main-nav {
        display: none;
    }
    
    /* 调整头部内容布局 */
    .lexiang-header-content {
        justify-content: center;
        padding: 10px 0;
    }
    
    /* 主要内容区改为单列布局 */
    .lexiang-main-content {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 0;
    }
    
    /* 所有栏目容器调整 */
    .lexiang-news-section,
    .lexiang-yuexiang-info,
    .lexiang-liunian-video,
    .lexiang-shiguang-notes,
    .lexiang-zhixiang-explore,
    .lexiang-baixing-life,
    .lexiang-yuexiang-view,
    .lexiang-special-recommend {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .lexiang-section-header {
        justify-content: flex-start;
    }
    
    /* 调整栏目标题布局 - 主要修复点 */
    .lexiang-section-title,
    .lexiang-yuexiang-info .lexiang-section-title,
    .lexiang-liunian-title,
    .lexiang-shiguang-title,
    .lexiang-zhixiang-title,
    .lexiang-baixing-title,
    .lexiang-yuexiang-view-title,
    .lexiang-special-title {
        font-size: 18px;
        padding-left: 34px;
        min-height: 26px;
        gap: 6px;
        line-height: 1.4;
        white-space: normal;
        word-wrap: break-word;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .lexiang-section-title::before,
    .lexiang-yuexiang-info .lexiang-section-title::before,
    .lexiang-liunian-title::before,
    .lexiang-shiguang-title::before,
    .lexiang-zhixiang-title::before,
    .lexiang-baixing-title::before,
    .lexiang-yuexiang-view-title::before,
    .lexiang-special-title::before {
        width: 26px;
        height: 26px;
        font-size: 18px;
        left: 0;
        top: 0;
        transform: translateY(0);
        align-self: flex-start;
        margin-top: 1px;
    }
    
    /* 流年追影栏目网格改为单列 */
    .lexiang-video-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 新闻列表在移动端允许换行 */
    .lexiang-news-list a,
    .lexiang-hot-news a,
    .lexiang-yuexiang-news-list a,
    .lexiang-shiguang-news-item a,
    .lexiang-zhixiang-news-item a,
    .lexiang-baixing-news-item a,
    .lexiang-yuexiang-hot-news-item a {
        white-space: normal;
        line-height: 1.5;
    }
    
    /* 轮播图与最新资讯区域调整 */
    .lexiang-banner-news-container {
        padding: 0 10px;
        gap: 15px;
    }
    
    .lexiang-banner-wrapper {
        height: 200px;
    }
    
    .lexiang-latest-news-section {
        padding: 15px;
    }
    
    .lexiang-latest-news-item {
        flex-direction: row;
        align-items: flex-start;
        padding: 10px 0;
    }
    
    .lexiang-latest-news-item a {
        font-size: 18px;
    }
    
    .slide-title {
        font-size: 14px;
        padding: 30px 10px 10px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    /* 顶部导航调整 */
    .lexiang-top-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .lexiang-top-nav-left,
    .lexiang-top-nav-right {
        justify-content: center;
        width: 100%;
    }
    
    /* 新闻大标题区域调整 */
    .lexiang-headline-section {
        margin: 15px 0;
        padding: 15px;
    }
    
    .lexiang-headline-title {
        font-size: 20px;
    }
    
    .lexiang-headline-subtitle {
        font-size: 18px;
    }
    
    /* 底部调整 */
    .lexiang-footer {
        padding: 15px 0 10px;
        margin-top: 30px;
    }
    
    .lexiang-copyright {
        margin-top: 15px;
        padding-top: 10px;
        line-height: 1.8;
    }
    
    .lexiang-copyright a {
        display: inline-block;
        margin: 2px 0;
    }
}

/* 屏幕宽度 ≤ 576px（小屏手机） */
@media (max-width: 576px) {
    /* 调整栏目标题布局 - 更小的屏幕 */
    .lexiang-section-title,
    .lexiang-yuexiang-info .lexiang-section-title,
    .lexiang-liunian-title,
    .lexiang-shiguang-title,
    .lexiang-zhixiang-title,
    .lexiang-baixing-title,
    .lexiang-yuexiang-view-title,
    .lexiang-special-title {
        font-size: 18px;
        padding-left: 32px;
        min-height: 24px;
        gap: 4px;
        line-height: 1.3;
    }
    
    .lexiang-section-title::before,
    .lexiang-yuexiang-info .lexiang-section-title::before,
    .lexiang-liunian-title::before,
    .lexiang-shiguang-title::before,
    .lexiang-zhixiang-title::before,
    .lexiang-baixing-title::before,
    .lexiang-yuexiang-view-title::before,
    .lexiang-special-title::before {
        width: 24px;
        height: 24px;
        font-size: 18px;
        margin-top: 0;
    }
}

/* 屏幕宽度 ≤ 480px（超小屏手机） */
@media (max-width: 480px) {
    .lexiang-container {
        padding: 0 10px;
    }
    
    .lexiang-news-section,
    .lexiang-yuexiang-info,
    .lexiang-liunian-video,
    .lexiang-shiguang-notes,
    .lexiang-zhixiang-explore,
    .lexiang-baixing-life,
    .lexiang-yuexiang-view,
    .lexiang-special-recommend {
        padding: 12px;
    }
    
    /* 调整栏目标题布局 - 超小屏幕 */
    .lexiang-section-title,
    .lexiang-yuexiang-info .lexiang-section-title,
    .lexiang-liunian-title,
    .lexiang-shiguang-title,
    .lexiang-zhixiang-title,
    .lexiang-baixing-title,
    .lexiang-yuexiang-view-title,
    .lexiang-special-title {
        font-size: 18px;
        padding-left: 30px;
        min-height: 22px;
        line-height: 1.3;
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    
    .lexiang-section-title::before,
    .lexiang-yuexiang-info .lexiang-section-title::before,
    .lexiang-liunian-title::before,
    .lexiang-shiguang-title::before,
    .lexiang-zhixiang-title::before,
    .lexiang-baixing-title::before,
    .lexiang-yuexiang-view-title::before,
    .lexiang-special-title::before {
        width: 22px;
        height: 22px;
        font-size: 18px;
        left: 0;
        top: 0;
        transform: translateY(0);
        align-self: flex-start;
    }
    
    .lexiang-news-list li,
    .lexiang-yuexiang-news-list li,
    .lexiang-shiguang-news-item,
    .lexiang-zhixiang-news-item,
    .lexiang-baixing-news-item {
        padding: 8px 0;
    }
    
    .lexiang-news-list a,
    .lexiang-yuexiang-news-list a,
    .lexiang-shiguang-news-item a,
    .lexiang-zhixiang-news-item a,
    .lexiang-baixing-news-item a {
        font-size: 18px;
    }
    
    .lexiang-hot-news li,
    .lexiang-yuexiang-hot-news-item {
        padding: 10px 0;
    }
    
    .lexiang-latest-news-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .lexiang-latest-news-item a {
        width: 100%;
    }
    
    /* 专题推荐图片自适应 */
    .lexiang-special-figure img {
        max-width: 100%;
        height: auto;
    }
    
    /* 流年追影图片容器 */
    .lexiang-video-image {
        aspect-ratio: 16/9;
    }
    
    /* 底部进一步优化 */
    .lexiang-footer {
        padding: 10px 0 8px;
        margin-top: 20px;
    }
    
    .lexiang-copyright {
        margin-top: 10px;
        padding-top: 8px;
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* 调整所有栏目标题的行高和间距 */
    .lexiang-yuexiang-info .lexiang-section-title,
    .lexiang-liunian-title,
    .lexiang-shiguang-title,
    .lexiang-zhixiang-title,
    .lexiang-baixing-title,
    .lexiang-yuexiang-view-title,
    .lexiang-special-title {
        line-height: 1.3;
        margin-bottom: 5px;
    }
    
    /* 确保标题和图标不重叠 */
    .lexiang-section-header {
        min-height: 30px;
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
    }
}

/* 屏幕宽度 ≤ 360px（最小屏幕） */
@media (max-width: 360px) {
    /* 进一步调整栏目标题布局 */
    .lexiang-section-title,
    .lexiang-yuexiang-info .lexiang-section-title,
    .lexiang-liunian-title,
    .lexiang-shiguang-title,
    .lexiang-zhixiang-title,
    .lexiang-baixing-title,
    .lexiang-yuexiang-view-title,
    .lexiang-special-title {
        font-size: 18px;
        padding-left: 28px;
        min-height: 20px;
        line-height: 1.2;
    }
    
    .lexiang-section-title::before,
    .lexiang-yuexiang-info .lexiang-section-title::before,
    .lexiang-liunian-title::before,
    .lexiang-shiguang-title::before,
    .lexiang-zhixiang-title::before,
    .lexiang-baixing-title::before,
    .lexiang-yuexiang-view-title::before,
    .lexiang-special-title::before {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
    
    /* 简化标题样式，确保清晰可读 */
    .lexiang-section-header {
        padding-bottom: 8px;
        margin-bottom: 10px;
    }
}

/* 打印样式 */
@media print {
    .lexiang-top-bar,
    .lexiang-main-nav,
    .lexiang-sidebar,
    .lexiang-footer {
        display: none;
    }
    
    .lexiang-main-content {
        grid-template-columns: 1fr;
    }
    
    body {
        background: white;
        color: black;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    /* 打印时隐藏图标 */
    .lexiang-section-title::before,
    .lexiang-yuexiang-info .lexiang-section-title::before,
    .lexiang-liunian-title::before,
    .lexiang-shiguang-title::before,
    .lexiang-zhixiang-title::before,
    .lexiang-baixing-title::before,
    .lexiang-yuexiang-view-title::before,
    .lexiang-special-title::before {
        display: none;
    }
    
    .lexiang-section-title,
    .lexiang-yuexiang-info .lexiang-section-title,
    .lexiang-liunian-title,
    .lexiang-shiguang-title,
    .lexiang-zhixiang-title,
    .lexiang-baixing-title,
    .lexiang-yuexiang-view-title,
    .lexiang-special-title {
        padding-left: 0;
    }
}