/* xianxainga 主题 - 深蓝色科技商务风格 */
:root {
    --primary-color: #165DFF;
    --primary-dark: #0D47A1;
    --primary-light: #E8F3FF;
    --secondary-color: #0FC6C2;
    --accent-color: #722ED1;
    --text-color: #1D2129;
    --text-secondary: #4E5969;
    --text-light: #86909C;
    --bg-color: #F2F3F5;
    --card-bg: #FFFFFF;
    --border-color: #E5E6EB;
    --border-radius: 8px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(22, 93, 255, 0.08);
    --shadow-lg: 0 8px 24px rgba(22, 93, 255, 0.12);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(180deg, #F7F8FA 0%, #F0F2F5 100%);
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部 - 渐变蓝色导航 */
.header {
    background: linear-gradient(135deg, #165DFF 0%, #2E7DFF 50%, #165DFF 100%);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo a {
    text-decoration: none;
    display: block;
    position: relative;
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
    background: #fff;
    padding: 4px 12px;
    border-radius: 6px;
}

.logo-text {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 8px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 18px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 1px;
    transition: var(--transition);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #165DFF 0%, #2E7DFF 100%);
}

.mobile-menu-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-nav-list {
    list-style: none;
    padding: 12px 0;
}

.mobile-nav-item {
    margin-bottom: 2px;
}

.mobile-nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: block;
    padding: 14px 24px;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--primary-color);
    background: var(--primary-light);
}

/* 主体内容 */
.main {
    padding: 28px 0 40px;
}

.section {
    margin-bottom: 24px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #165DFF 0%, #722ED1 100%);
    border-radius: 2px;
}

/* 卡片通用样式 */
.query-tool,
.city-list-section,
.news-section,
.rules-section {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.query-tool:hover,
.city-list-section:hover,
.news-section:hover,
.rules-section:hover {
    box-shadow: var(--shadow-lg);
}

/* 查询工具 */
.query-tool {
    background: linear-gradient(135deg, #fff 0%, #F7FAFF 100%);
    border-top: 3px solid var(--primary-color);
}

.query-form {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: flex-end;
}

.form-group {
    flex: 1;
    min-width: 160px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 13px;
}

.form-group select,
.form-group input[type="date"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
    background: #fff;
    color: var(--text-color);
}

.form-group select:focus,
.form-group input[type="date"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
}

.query-btn {
    background: linear-gradient(135deg, #165DFF 0%, #2E7DFF 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
}

.query-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 93, 255, 0.35);
}

/* 查询结果 */
.query-result {
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
    display: none;
    border: 1px solid rgba(22, 93, 255, 0.15);
}

.result-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.result-item {
    background: #fff;
    padding: 18px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.result-item h4 {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-item p {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* 城市网格 */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.city-card {
    background: linear-gradient(135deg, #FAFBFF 0%, #F5F7FA 100%);
    border-radius: 10px;
    padding: 16px 12px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.city-card:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.city-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-color);
}

.city-card p {
    font-size: 12px;
    color: var(--primary-color);
    margin: 0;
    font-weight: 500;
}

/* 资讯列表 */
.news-list {
    list-style: none;
}

.news-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.news-item:hover {
    padding-left: 8px;
}

.news-item a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.news-item h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    transition: var(--transition);
    line-height: 1.5;
}

.news-item:hover h3 {
    color: var(--primary-color);
}

.news-meta {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    gap: 16px;
}

/* 规则卡片 */
.rule-card {
    background: linear-gradient(135deg, #FAFBFF 0%, #F5F7FA 100%);
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 14px;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--primary-color);
}

.rule-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.rule-card p {
    margin-bottom: 6px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* 页脚 */
.footer {
    background: linear-gradient(180deg, #1D2129 0%, #14171F 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 0;
    margin-top: 60px;
}

.footer-main {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.friend-links .links-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.links-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 12px;
}

.links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.links-list a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.links-list a:hover {
    color: #165DFF;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

/* 回到顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #165DFF 0%, #2E7DFF 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(22, 93, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(22, 93, 255, 0.45);
}

/* 文章列表页 */
.article-header {
    background: linear-gradient(135deg, #165DFF 0%, #2E7DFF 100%);
    padding: 32px 0;
    margin-bottom: 28px;
    box-shadow: var(--shadow-lg);
}

.article-header h1 {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.article-item {
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.article-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.article-item h2 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.article-item h2 a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.article-item:hover h2 a {
    color: var(--primary-color);
}

.article-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.article-meta {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    gap: 20px;
}

/* 文章详情页 */
.article-show {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.article-show-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 18px;
    line-height: 1.4;
}

.article-show-meta {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
    color: var(--text-light);
    font-size: 13px;
}

.article-content {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-color);
}

.article-content h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 14px;
    color: var(--primary-dark);
}

.article-content p {
    margin-bottom: 14px;
}

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

.pagination a,
.pagination span {
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-secondary);
}

.pagination a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination span {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

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

/* 文章内容 */
.article-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.3;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.article-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 18px 0 12px;
    color: var(--text-color);
}

.article-content ul,
.article-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content blockquote {
    margin: 15px 0;
    padding: 15px;
    background-color: #F7FAFF;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    font-style: italic;
    color: var(--text-secondary);
}

.prev-next {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
}

.prev-next .prev,
.prev-next .next {
    flex: 1;
}

.prev-next .prev {
    text-align: left;
}

.prev-next .next {
    text-align: right;
}

.prev-next a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.prev-next a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* 标签区域 */
.detail-tags {
    margin-top: 25px;
    padding: 15px;
    background: linear-gradient(135deg, #E8F3FF 0%, #F0F7FF 100%);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-tags a {
    display: inline-block;
    padding: 6px 14px;
    background: #fff;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.detail-tags a:hover {
    background: linear-gradient(135deg, #165DFF 0%, #2E7DFF 100%);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 随机推荐 */
.random-recommend {
    margin-top: 30px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.random-recommend h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.random-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.random-item {
    padding: 12px 15px;
    background: linear-gradient(135deg, #FAFBFF 0%, #F5F7FA 100%);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.random-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #165DFF 0%, #722ED1 100%);
    transform: scaleY(0);
    transition: var(--transition);
}

.random-item:hover {
    padding-left: 20px;
    background: var(--primary-light);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.random-item:hover::before {
    transform: scaleY(1);
}

.random-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    line-height: 1.6;
    display: block;
}

.random-item a:hover {
    color: var(--primary-color);
}

/* 城市限行信息页面样式 */
.notice-box {
    padding: 15px 20px;
    background: linear-gradient(135deg, #FFF7E6 0%, #FFEFD6 100%);
    border-left: 4px solid #FF7D00;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.notice-box p {
    color: #B76E00;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.content-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.limit-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.limit-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.limit-table thead th {
    background: linear-gradient(135deg, #165DFF 0%, #2E7DFF 100%);
    color: #fff;
    padding: 15px 10px;
    font-weight: 600;
    text-align: center;
    font-size: 14px;
}

.limit-table thead th.highlight-today {
    background: linear-gradient(135deg, #FF7D00 0%, #FF9A2E 100%);
}

.limit-table thead th.separator {
    background: transparent;
    width: 10px;
    padding: 0;
}

.limit-table tbody tr:hover {
    background-color: #F7FAFF;
}

.limit-table tbody td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.limit-table tbody tr.week-header td {
    background: #F5F7FA;
    font-weight: 700;
    color: var(--text-color);
    border-bottom: 2px solid var(--border-color);
}

.limit-table tbody tr.date-row td {
    color: var(--text-light);
    font-size: 13px;
}

.limit-table tbody tr.week-row td {
    font-weight: 700;
    color: var(--text-color);
}

.limit-table tbody tr.number-row td {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.limit-table tbody td.today {
    background: #FFF7E6;
    color: #FF7D00;
    font-weight: 700;
}

.limit-area-tabs {
    margin-top: 25px;
}

.tab-header {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.tab-btn {
    padding: 10px 20px;
    background: #F5F7FA;
    border: 1px solid var(--border-color);
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
}

.tab-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

.tab-btn.active {
    background: linear-gradient(135deg, #165DFF 0%, #2E7DFF 100%);
    color: #fff;
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.limit-info-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.limit-info-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.limit-info-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.limit-info-card p {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.disclaimer {
    margin-top: 30px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #E8F3FF 0%, #D6E8FF 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.disclaimer p {
    color: var(--primary-dark);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* 面包屑导航 */
.breadcrumb {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 5px;
    color: var(--text-light);
}

/* 内容布局 */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}

.main-content {
    min-width: 0;
}

.sidebar {
    position: sticky;
    top: 100px;
}

/* 文章列表卡片 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    border: 1px solid var(--border-color);
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.article-image {
    flex: 0 0 200px;
    min-height: 120px;
}

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

.article-card .article-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-card .article-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.4;
}

.article-card .article-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.article-card .article-title a:hover {
    color: var(--primary-color);
}

.article-summary {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 侧边栏 */
.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
}

/* 阅读排行 */
.top-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #F0F2F5;
}

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

.rank {
    background: linear-gradient(135deg, #165DFF 0%, #2E7DFF 100%);
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.title {
    flex: 1;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.title:hover {
    color: var(--primary-color);
}

.views {
    color: var(--text-light);
    font-size: 12px;
    white-space: nowrap;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background: linear-gradient(135deg, #FAFBFF 0%, #F5F7FA 100%);
    color: var(--text-color);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.tag-item:hover {
    background: linear-gradient(135deg, #165DFF 0%, #2E7DFF 100%);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 限行区域地图三栏布局 */
.whxxztmap {
    width: 100%;
}

.whxxztmap .clearfix {
    display: flex;
    gap: 15px;
}

.whxxztmap_tab {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    margin: 0 !important;
}

.whxxztmap_tab:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.whxxztmap_tab .list_title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.whxxztmap_tab img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
}

.whxxztmap_tab p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.whxxztmap_tab p:last-child {
    margin-bottom: 0;
}

/* 响应式 */
@media (max-width: 992px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header-content {
        padding: 14px 0;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .friend-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .article-show {
        padding: 20px;
    }
    
    .article-show-title {
        font-size: 20px;
    }
    
    .article-card {
        flex-direction: column;
    }
    
    .article-image {
        flex: none;
        height: 180px;
    }
    
    .friend-links .links-list {
        justify-content: center;
    }
    
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
    }
    
    .whxxztmap .clearfix {
        flex-direction: column;
        gap: 12px;
    }
}
