﻿@charset "utf-8";
/* 全局样式 */

body { color:#666666; text-align:center; font: 16px "宋体"; }


/*滚动*/
.gdtu{ width:778px; height:165px; margin:0 auto; border:1px solid #FACF4D; border-top:0px; background-color:#FEFAF0}
.gddiv{ margin:0 auto; width:778px; overflow:hidden; height:160px;}
.gddiv ul{ float:left; height:5px;margin: 0px; padding:0px}
.gddiv ul li { float: left; MARGIN: 0px; liNE-HEIGHT: 26px; HEIGHT: 160px; TEXT-AliGN: center; width:190px; list-style:none}
.gddiv ul li img {BORDER-RIGHT: #FCA44E 1px solid; BORDER-TOP: #FCA44E 1px solid; DISPLAY: block; BORDER-LEFT: #FCA44E 1px solid; width: 180px; BORDER-BOTTOM: #FCA44E 1px solid; HEIGHT: 135px; background-image:url( /images/1280137994907.gif); background-repeat:no-repeat; background-position:center}
.gddiv ul li img a { BORDER-RIGHT: #fe9b00 1px solid; BORDER-TOP: #fe9b00 1px solid; BORDER-LEFT: #fe9b00 1px solid; BORDER-BOTTOM: #fe9b00 1px solid}
.innerElem{ width:9999px;}

/* 首页分类图片区：从右到左无限循环轮播 */
@keyframes gd-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.gddiv ul.gd-marquee {
    animation: gd-marquee 30s linear infinite;
    will-change: transform;
}
.gddiv ul.gd-marquee:hover { animation-play-state: paused; }





#gd{width:778px; height:165px; margin:0 auto; border:1px solid #FACF4D; border-top:0px; background-color:#FEFAF0}
.godu { width: 1140px; height: 160px}
.godu ul { margin: 0px; padding:0px}
.godu ul li { float: left; MARGIN: 0px; liNE-HEIGHT: 26px; HEIGHT: 160px; TEXT-AliGN: center; width:190px; list-style:none}
.godu ul li img {BORDER-RIGHT: #FCA44E 1px solid; BORDER-TOP: #FCA44E 1px solid; DISPLAY: block; BORDER-LEFT: #FCA44E 1px solid; WIDTH: 180px; BORDER-BOTTOM: #FCA44E 1px solid; HEIGHT: 135px; background-image:url(/images/1280137994907.gif); background-repeat:no-repeat; background-position:center}
.godu ul li img a { BORDER-RIGHT: #fe9b00 1px solid; BORDER-TOP: #fe9b00 1px solid; BORDER-LEFT: #fe9b00 1px solid; BORDER-BOTTOM: #fe9b00 1px solid}
}
/* ===== Hugo 重建扩展样式（保持原站点观感） ===== */
/* 列表页 */
.list-item{ overflow:hidden; padding:10px 0; border-bottom:1px dashed #cccccc;}
.list-thumb{ float:left; margin-right:12px;}
.list-body{ overflow:hidden;}
.list-body .entry-title{ font-size:16px; line-height:28px; margin:0 0 4px;}
.list-body .entry-title a{ color:#333333; text-decoration:none;}
.list-body .entry-title a:hover{ color:#FF0000;}
.entry-meta{ color:#999999; font-size:12px; margin:4px 0;}
.entry-meta a{ color:#00594d; text-decoration:none;}
.entry-summary{ color:#666666; font-size:14px; line-height:24px; margin:6px 0 0;}
/* 覆盖原主题 .entry-content,.entry-summary{width:738px} 的固定宽度，避免列表页与缩略图重叠、移动端横向溢出 */
.entry-content,.entry-summary{ width:auto; padding:0; }

/* 单页 */
#ndqyright .post{ text-align:left; padding:10px 0 20px;}
.entry-title{ font-size:22px; line-height:36px; margin:0 0 6px;}
.entry-meta{ margin-bottom:10px;}
.entry-content{ font-size:15px; line-height:1.9; color:#333333;}
.entry-content p{ margin:0 0 14px; text-align:justify;}
.entry-content img{ max-width:100%; height:auto;}
.entry-content a{ color:#00594d; text-decoration:underline;}
.entry-content h2,.entry-content h3{ margin:18px 0 8px; line-height:1.5;}
.entry-content h2{ font-size:18px; border-bottom:1px solid #eee; padding-bottom:4px;}
.entry-content h3{ font-size:16px;}
.entry-content ul,.entry-content ol{ margin:0 0 14px 24px;}
.entry-content li{ margin:2px 0;}
.entry-footnote{ margin-top:20px; padding:10px; border-top:1px solid #cccccc; font-size:12px; color:#999999;}
.post-navigation{ overflow:hidden; margin-top:18px; font-size:14px;}
.nav-previous{ float:left; width:48%;}
.nav-next{ float:right; width:48%; text-align:right;}
.nav-previous a,.nav-next a{ color:#00594d; text-decoration:none;}
.nav-previous a:hover,.nav-next a:hover{ color:#FF0000;}

/* 分类树 */
.category-tree{ list-style:none; margin:0; padding:0;}
.category-tree li{ line-height:32px; border-bottom:1px dashed #cccccc; font-size:15px;}
.category-tree li a{ color:#00594d; text-decoration:none;}
.category-tree li a:hover{ color:#FF0000;}
.category-tree small a{ font-size:12px; color:#999999;}

/* 分页（还原 wp-pagenavi 观感） */
.wp-pagenavi{ clear:both; text-align:center; padding:14px 0;}
.wp-pagenavi a,.wp-pagenavi span{ border:1px solid #D2E0F3; padding:4px 8px; margin:0 2px; font-size:13px; color:#00594d; background:#fff; text-decoration:none;}
.wp-pagenavi a:hover{ border-color:#00594d; background:#f0f6ff;}
.wp-pagenavi .current{ background:#00594d; color:#fff; border-color:#00594d;}
.wp-pagenavi .pages{ color:#999999; border:none;}

/* App 下载侧栏组件 */
.app-download-widget .app-download-list{ text-align:center; padding:8px 0;}
.app-download-item{ display:block; margin:8px auto; text-align:center; text-decoration:none;}
.app-download-img{ max-width:180px; height:auto; border:1px solid #ddd; display:block; margin:0 auto 4px;}
.app-download-title{ display:block; color:#00594d; font-size:13px; line-height:22px;}
.app-download-loading{ color:#999999; font-size:12px; text-align:center;}

/* 顶部广告图轮播：等比缩放、不溢出 #access-img 高度，垂直居中 */
#imgADPlayer { line-height: 246px; }
#imgADPlayer img.ad-slide {
    display: none;
    max-width: 100%;
    max-height: 246px;
    width: auto;
    height: auto;
    vertical-align: middle;
}
#imgADPlayer img.ad-slide.on { display: inline-block; }

/* 404 页：App 下载链接水平排放，限制图片尺寸 */
.page-404-downloads .app-download-list{ display:flex; flex-wrap:wrap; gap:16px; justify-content:center; align-items:flex-start; padding:12px 0;}
.page-404-downloads .app-download-item{ display:flex; flex-direction:column; align-items:center; margin:0; width:120px;}
.page-404-downloads .app-download-img{ max-width:96px; max-height:96px; margin:0 0 6px;}

/* 移动适配（Tailwind + 原生媒体查询兜底） */
@media (max-width: 1024px) {
    #branding, #menu, #ndqy, #colophon, #site-info,
    #site-title, #containerdiy, #contentdiy, #site-generator,
    #home, #main, #wrapper, #ndqybody { width: 100% !important; max-width: 100% !important; }
    #home #ndqyright, #main #ndqyright { width: 100% !important; float: none !important; margin-top: 10px; }
    #home #ndqyleft, #main #ndqyleft { width: 100% !important; float: none !important; }
    #access-img, #imgADPlayer, #gd, .gdtu, .gddiv { width: 100% !important; }
    #access ul li a { width: 80px; }
    #site-title span { width: auto !important; margin-left: 10px !important; }
    #site-title a { font-size: 24px !important; }
    .index-content table { width: 100% !important; }
    .index-content td { display: inline-block; text-align: center !important; }
    .index-content td img { max-width: 100%; height: auto; }
}
@media (max-width: 640px) {
    #access .menu { overflow-x: auto; white-space: nowrap; }
    #access ul li { float: none; display: inline-block; }
    #access ul li a { width: 72px; font-size: 13px; }
    #themeby table { font-size: 10px; line-height: 20px; }
    #themeby a { display: inline-block; margin: 2px 4px; }
    .list-thumb { display: none; }
}
