/* 全局样式 */
:root {
    /* 主色调 - 深蓝绿色系 */
    --primary-color: #1a6d8f;
    --primary-dark: #125672;
    --primary-light: #5ba8c7;
    
    /* 辅助色 - 民族风暖色 */
    --ethnic-primary: #8a6d3b;
    --ethnic-secondary: #d4b483;
    --ethnic-light: #f5e8d0;
    
    /* 中性色 */
    --text-color: #333;
    --light-text: #fff;
    --bg-color: #f9f5f0;
    --border-color: #d9d1c7;
    
    /* 功能色 */
    --success: #67c23a;
    --warning: #e6a23c;
    --danger: #f56c6c;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-image: linear-gradient(to bottom, #f9f5f0, #f1e8dd);
}

/* 头部样式 */
.header {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
     background: #eeefee url(../images/top_bg_ss.png) no-repeat;
    background-size: cover;  /* 图片自动缩放填满容器 */
    background-position: center;  /* 图片居中显示 */
    /* 其他原有样式保持不变 */
    height: 260px;
    color: var(--light-text);
    padding: 1rem 0;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-container {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 10;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-input {
    width: 240px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-right: none;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.search-input:focus {
    border-color: #1890ff;
}

.search-button {
    background: #1890ff;
    color: white;
    border: 1px solid #1890ff;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.search-button:hover {
    background: #40a9ff;
}

@media (max-width: 768px) {
    .search-container {
        position: static;
        transform: none;
        margin: 10px auto;
        width: 90%;
    }
    .search-input {
        width: 100%;
    }
}

.search-button:hover {
    background: #096dd9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-button i {
    font-size: 1.1rem;
}

@media (max-width: 1200px) {
    .search-container {
        right: 8%;
    }
}

@media (max-width: 992px) {
    .search-container {
        right: 5%;
    }
    .search-box {
        width: 240px;
    }
}


.logo {
   height: 113px;
  width: 600px;
  margin-left: 306px;
  margin-top: 50px;

}
.logo img {
  max-height: 58%;
  width: auto;
  object-fit: contain;
}

.sousuo {
   width: calc(100% - 800px);
  height: 60px;
  margin: 0 400px;
  box-sizing: border-box;
  text-align: right; /* 文本内容右对齐 */
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* 子元素右对齐 */
  margin-top: -77px;
}

.sousuo form {
  width: 100%;
  display: flex;
  justify-content: flex-end; /* 表单内容右对齐 */
}

.sousuo .search-box {
  justify-content: flex-end; /* 搜索框组件右对齐 */
}






@media (max-width: 768px) {
    .search-container {
        position: static;
        transform: none;
        margin: 1.5rem auto;
        width: 90%;
        flex-direction: column;
        gap: 1rem;
    }
    .search-box {
        width: 100%;
    }
    .search-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .search-box {
        width: 180px;
    }
}

.logo h1 {
    margin: 0;
    text-align: center;
    font-size: 2rem;
}

/* 导航栏样式 */


.nav {
    display: flex;
    unicode-bidi: isolate;
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 50px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #234352 0%, #3f9124 100%);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}
.nav:hover {
    background: linear-gradient(135deg, #234352 0%, #918e24 100%);
}



.nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0rem 0 0;
}

.nav li {
    margin: 0 1rem;
}

.nav a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.nav a:hover {
    background-color: #b1cf0f;
    border-radius: 4px;
    color: #fff;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 1rem 2rem;
    background-color: #e9ecef;
    font-size: 0.9rem;
}

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

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* 列表页样式 */
.list-title {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.article-list {
    margin-top: 2rem;
}

.article-item {
    background-color: #fff;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.article-item h3 {
    margin-top: 0;
}

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

.article-item .summary {
    color: #666;
}

.article-item .meta {
    color: #999;
    font-size: 0.9rem;
}

/* 内容页样式 */
.article-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 0px 0px rgba(0,0,0,0.1);
}

.article-title {
    color: var(--primary-color);
    margin-top: 0;
}

.article-meta {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.related-articles {
    margin-top: 2rem;
     width: 238mm;
      margin: 40px auto 0;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.related-articles h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.related-articles ul {
    list-style: none;
    padding: 0;
}

.related-articles li {
    margin-bottom: 0.5rem;
}

.related-articles a {
    color: var(--primary-color);
    text-decoration: none;
}

/* 通知公告区 */
.notice-section {
    margin-bottom: 2rem;
}

.notice-list {
    list-style: none;
    padding: 0;
    
    background-color: #fff;
}

.notice-list li {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.notice-list li:last-child {
    border-bottom: none;
}

.notice-date {
    color: #666;
    margin-right: 1rem;
    font-size: 0.9rem;
}

/* 工作动态区 */
.news-section {
    margin-bottom: 2rem;
}

.news-list {
    background-color: #fff;
}

.news-item {
    padding: 1.5rem;
}

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

.news-item h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.news-item .summary {
    color: #666;
    margin: 0.5rem 0;
}

.news-item .meta {
    color: #999;
    font-size: 0.9rem;
}

/* 头条新闻区 */
.headline-section {
    margin: 3rem 0;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 10px;
    color: var(--primary-color);
}

.section-title span {
    position: relative;
    display: inline-block;
    padding-right: 20px;
    background-color: var(--bg-color);
    z-index: 1;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--ethnic-primary), var(--ethnic-secondary));
    box-shadow: 0 2px 4px rgba(138, 109, 59, 0.2);
}

.headline-news {
    display: flex;
    gap: 2rem;
}

.headline-main {
    flex: 2;
}

.headline-main img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.headline-main h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.headline-side {
    flex: 1;
}

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

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

.side-news-item h4 {
    margin: 0 0 0.5rem;
}

.side-news-item .meta {
    color: #999;
    font-size: 0.9rem;
}

/* 专题栏目区 */
.special-section {
    margin-bottom: 2rem;
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.special-item {
    border: 1px solid #8a6d3b;
    background-color: #fff9f0;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 4px 8px rgba(138, 109, 59, 0.1);
}
.special-item:before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px dashed #d4b483;
    pointer-events: none;
}

.special-item h3 {
    margin-top: 0;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.special-item ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.special-item li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #eee;
}

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

/* 资料下载区 */
.download-section {
    margin-bottom: 2rem;
}
.download-list {
    border: 2px solid #8a6d3b;
    background-color: #fff9f0;
    position: relative;
}
.download-list:after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 1px solid rgba(138, 109, 59, 0.3);
    pointer-events: none;
}

.download-list li {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.download-list li:last-child {
    border-bottom: none;
}

.file-icon {
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.file-size {
    color: #999;
    font-size: 0.9rem;
    margin-left: 0.8rem;
}

/* 主内容区布局 */
.main-content {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* 左侧轮播窗口 */
.slider-section {
    flex: 1;
    position: relative;
    border: 2px solid #8a6d3b;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(138, 109, 59, 0.3);
    background: linear-gradient(to bottom, #f9f2e6, #f5e8d0);
    padding: 10px;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}


.slide img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 3px;
    object-fit: cover;
}


.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(138, 109, 59, 0.8);
    color: white;
    padding: 10px 20px;
    max-width: 50%;
    border-radius: 3px;
    font-family: 'SimSun', serif;
}

.slide-caption h3 {
    margin: 0 0 5px;
    font-size: 1.5rem;
    color: #f8d878;
}

.slide-caption p {
    margin: 0;
    font-size: 1rem;
}

.slider-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

.slider-caption {
    text-align: center;
    padding: 10px;
    background: linear-gradient(to right, #ff9a9a, #6f951461);
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    color: #ffffff;
}

.slider-caption a {
    color: #ffffff;
    text-decoration: underline;
}


.slider-caption h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 1.2rem;
}

.slider-caption p {
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
}

.slider-controls button {
    background: #8a6d3b;
    color: white;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 4px;
}

.slider-controls button:hover {
    background: #6b4f2c;
}

.slider-dots {
    display: flex;
    margin: 0 15px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d4b483;
    margin: 0 5px;
    cursor: pointer;
}

.slider-dots .dot.active {
    background: #8a6d3b;
}

/* 选项卡区域 */
.tab-section {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(138, 109, 59, 0.15);
}

.tab-header {
    display: flex;
    background: linear-gradient(to right, #8a6d3b, #6b4f2c);
    border-radius: 10px 10px 0 0;
    flex-direction: row-reverse; /* 调换选项卡顺序 */
}



.tab-button {
    flex: 1;
    padding: 1.2rem;
    background: linear-gradient(to right, rgb(39 78 75), rgb(59 133 44));
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    font-family: 'Microsoft YaHei', sans-serif;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: linear-gradient(to right, rgb(58 129 47), rgb(41 84 72));
}

.tab-button:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 7px;
    background: linear-gradient(to right, #a8e063, #f7d56e);
    border-radius: 3px;
    transition: all 0.3s ease;
    opacity: 0;
}

.tab-button.active:after {
    opacity: 3;
    width: 100%;
}

.tab-button:hover {
    background: linear-gradient(to right, rgb(44 92 68), rgb(57 125 49));
    color: #ffffff;
}

.tab-button a {
    color: #ffffff;
    text-decoration: none;
}



.tab-content {
    background: white;
    padding: 1.5rem;
    border-radius: 0 0 10px 10px;
    border: 1px solid #eee;
    border-top: none;
}

.tab-pane {
    display: none;
}

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

/* 通知公告列表 */
.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.notice-list li:hover {
    background: #f9f9f9;
}

.notice-list li:last-child {
    border-bottom: none;
}

.notice-date {
    color: #8a6d3b;
    margin-right: 1.8rem; /* 增加右边距 */
    font-size: 0.9rem;
    min-width: 110px; /* 增加最小宽度 */
    font-weight: bold;
    padding-right: 0.5rem; /* 增加内边距 */
}

.notice-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    flex: 1;
}

.notice-list a:hover {
    color: #8a6d3b;
}

/* 工作动态列表 */
.news-list {
    padding: 0;
    margin: 0;
}

.news-item {
    padding: 1.2rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.news-item:hover {
    background: #f9f9f9;
}

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

.news-item h3 {
    margin: 0 0 0.8rem; /* 增加下边距 */
    color: #8a6d3b;
    font-size: 1.1rem;
    padding-right: 1rem; /* 增加内边距 */
}

.news-item .summary {
    color: #666;
    margin: 0.5rem 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.news-item .meta {
    color: #999;
    font-size: 0.85rem;
    font-style: italic;
}

/* 通知公告列表 */
.notice-list {
    list-style: none;
    padding: 0;
}

.notice-list li {
    padding: 0.8rem 0;
    border-bottom: 1px dashed #d4b483;
    display: flex;
}

.notice-date {
    color: #8a6d3b;
    margin-right: 1rem;
    font-size: 0.9rem;
    min-width: 100px;
}

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

.notice-list a:hover {
    color: #8a6d3b;
}

/* 工作动态列表 */
.news-list {
    padding: 0;
}

.news-item {
    padding: 1rem 0;
    border-bottom: 1px dashed #d4b483;
}

.news-item h3 {
    margin-top: 0;
    color: #8a6d3b;
}

.news-item .summary {
    color: #666;
    margin: 0.5rem 0;
}

.news-item .meta {
    color: #999;
    font-size: 0.9rem;
}

/* 多媒体展示区 */
.media-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* 媒体文字统一样式 */
.media-text {
    font-family: 'Microsoft YaHei', sans-serif;
    color: #333;
    line-height: 1.5;
}

.media-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: var(--ethnic-primary);
}

.media-description {
    font-size: 0.9rem;
    margin: 0.3rem 0;
    color: #555;
}

.media-meta {
    font-size: 0.8rem;
    color: #777;
    font-style: italic;
}

.media-link {
    color: var(--ethnic-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.media-link:hover {
    color: var(--ethnic-secondary);
    text-decoration: none;
}

.media-column {
    flex: 1;
    min-width: 300px;
}

/* 图片新闻窗口 */
.photo-news-section {
    margin-bottom: 2rem;
    border: 2px solid #8a6d3b;
    border-radius: 5px;
    padding: 15px;
    background: linear-gradient(to bottom, #f9f2e6, #f5e8d0);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}

.media-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.media-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.media-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.media-caption {
    font-family: 'Microsoft YaHei', sans-serif;
    font-size: 0.9rem;
    color: #555;
    margin: 0.3rem 0;
    line-height: 1.4;
}

.media-link {
    color: var(--ethnic-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.media-link:hover {
    color: var(--ethnic-secondary);
}

@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* 视频新闻窗口 */
.video-news-section {
    border: 2px solid #8a6d3b;
    border-radius: 5px;
    padding: 15px;
    background: linear-gradient(to bottom, #f9f2e6, #f5e8d0);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

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

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(138, 109, 59, 0.8);
    color: #f8d878;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.media-item:hover .play-icon {
    background: rgba(107, 79, 44, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}
.media-caption {
    font-family: 'Microsoft YaHei', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.3rem 0;
    color: #333333;
    text-align: center;
    line-height: 1.4;
}

.video-item h3,
.photo-item p {
    composes: media-caption;
}

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

.video-item a:hover {
    color: var(--ethnic-secondary);
    text-decoration: none;
}

/* 全局链接颜色调整 */
a {
    color: #6b4f2c;
    transition: color 0.3s;
    text-decoration: none;
}

a:hover {
    color: #4CAF50;
    text-decoration: none;
}

.special-item a,
.download-list a {
    color: #6b4f2c;
    text-decoration: none;
}

.special-item a:hover,
.download-list a:hover {
    color: #8a6d3b;
    text-decoration: none;
}

/* 页脚样式 */

.footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}
.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding: 0 1rem;
}
.footer a:hover {
    color: #ffcc00; /* 悬停时变为黄色 */
}
.footer a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background-color: rgba(255,255,255,0.5);
}


/* 移动端菜单样式 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    position: absolute;
    top: 20px;
    left: 20px;
    cursor: pointer;
    z-index: 100;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

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

.back-to-top:hover {
    background-color: var(--primary-dark);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav ul {
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--primary-dark);
        padding-top: 80px;
        transition: all 0.3s ease;
    }
    
    .nav.active ul {
        left: 0;
    }
    
    .nav li {
        margin: 1rem 0;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .article-content, .article-item, .related-articles {
        padding: 1rem;
    }
}


/*分页代码*/
 .pagination {
            display: flex;
            justify-content: center;
            margin: 30px 0;
            font-family: Arial, sans-serif;
        }
        
        .pagination ul {
            display: flex;
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .pagination li {
            margin: 0 5px;
        }
        
        .pagination a {
            display: block;
            padding: 8px 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            color: #333;
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .pagination a:hover {
            background-color: #f5f5f5;
        }
        
        .pagination .active a {
            background-color: #007bff;
            color: white;
            border-color: #007bff;
        }
        
        .pagination .disabled a {
            color: #ccc;
            pointer-events: none;
            cursor: default;
        }
        
        
        
       /* 内容页*/
       
          .article-content {
                width: 210mm;
                min-height: 107mm;
                margin: 0 auto;
                padding: 20mm;
                box-shadow: 0 0 10px rgba(0,0,0,0.1);}
                
           .article-title {
                text-align: center;
                margin-bottom: 20px;
                font-size: 22pt;
            }
            .article-meta {
                text-align: center;
                margin-bottom: 30px;
                color: #666;
                font-size: 12px;
                position: relative;
                padding-bottom: 15px;
            }
            .article-meta:after {
                content: "";
                position: absolute;
                left: 5%;
                right: 5%;
                bottom: 0;
                height: 1px;
                background: linear-gradient(to right, transparent, #ccc, transparent);
            }
            @media print {
                .article-meta:after {
                    background: #ccc;
                }
            }
            .article-body {
                line-height: 1.6;
                font-size: 12pt;
            }
            .article-body img {
                max-width: 100%;
                height: auto;
                display: block;
                margin: 20px auto;
            }
            @page {
                size: A4;
                margin: 0;
            }
            @media print {
                body {
                    background: none;
                    padding: 0;
                }
                .header, .breadcrumb, .related-articles, .footer {
                    display: none;
                }
                .article-content {
                    box-shadow: none;
                    padding: 0;
                    width: 100%;
                    min-height: auto;
                }
            }
            
            .breadcrumb-container {
            width: 100%;
            background: #e9ecef;
            border-bottom: 1px solid #eee;
        }
        .breadcrumb {
            max-width: 1100px;
            margin: 0 auto;
            padding: 15px 0;
            font-size: 14px;
        }
        @media (max-width: 1100px) {
            .breadcrumb {
                padding: 15px 20px;
            }
        }
            
            
            
/*-----黄历-------*/
 .calendar {
            padding: 0px; 
           
           
        }
        .date-section {
            text-align: center;
            margin-bottom: 0px;
		
			
        }
		


.date-section lu li {
    text-align: center;
    margin-bottom: 20px;
    float: left;
    list-style: none;
    margin-left: 12px;
}

.top_2:hover{
color: green;
} 
        
   .date-section:hover {
    color: green;
}
   
/* 进阶版：支持深色模式 */

.yy:hover {
    color: #81C784;}

        
		
		 .yi{
            text-align: center;
            margin-bottom: 20px;
			float:left;
			list-style: none;
			margin-left: 12px;
		
			color: #4caf50;
        }
			 .ji{
            text-align: center;
            margin-bottom: 20px;
			float:left;
			list-style: none;
			margin-left: 12px;
		
			color: #F44336;;
        }
		
		
        .lunar-date {
            color: #c00;
            font-size: 1.2em;
        }
        .almanac-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 15px;
        }
        .almanac-table td {
            padding: 10px;
            border: 1px solid #ddd;
        }
        .auspicious {
            color: green;
        }
        .inauspicious {
            color: red;
        }
        #hourly-auspicious {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
            margin-top: 15px;
        }
        .hour-item {
            padding: 6px;
            border-radius: 4px;
            text-align: center;
            background: #f8f8f8;
        }
        .current-hour {
            background-color: #ffeb3b !important;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        #refresh-time {
            color: #666;
            font-size: 0.9em;
            margin-top: 10px;
        }


.top_1{
  height: 40px;
    line-height: 40px;
    background-color: #edf2fa;
    width: 1920px;
    text-align: center;
    margin: 0 auto;
}

.top_2{
  height: 40px;
    line-height: 40px;
    width: 1200px;
    text-align: center;
    margin: 0 auto;
}            
    
    
  /*  侧面的二维码 */       
  
  
          .qrcode-container {
            position: fixed;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            animation: float 3s ease-in-out infinite;
        }
     
.qrcode {
    width: 100px;
    height: 100px;
    background-image: url('/uploads/allimg/20250710/1-250G0155234c6.jpg');
    background-size: contain; /* 图片完整显示不拉伸 */
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 5px;
}

        @keyframes float {
            0%, 100% {
                transform: translateY(-50%) translateY(-10px);
            }
            50% {
                transform: translateY(-50%) translateY(10px);
            }
        }
            
       /*  侧面的二维码 */         