article, aside, details, figcaption, figure, footer, header, main, nav, section {display:block;}
div,html,body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main {margin:0; padding:0;}
html, body {height:100%;}
body {background-color:#fff; font:100%/1.5em 'Microsoft Yahei Light','Microsoft Yahei',Arial,tahoma; display:flex; flex-direction:column;}
a {text-decoration:none; outline:none; -webkit-tap-highlight-color:transparent;}
a:hover {color:#000;}
input, textarea {-webkit-appearance:none; border:0;}
input:focus, textarea:focus {outline:none;}
li {list-style:none;}
.clear {clear:both;}
a img {border:none;}
table {background-color: transparent; border-spacing: 0; border-collapse: collapse; font-size:16px; width:100%;border-top:solid 1px #ededed;border-left:solid 1px #ededed; box-sizing: border-box;}
table th{background-color:#f9f9f9;text-align:center; box-sizing: border-box;}
table td,table th{padding:10px;border:1px solid #ededed; box-sizing: border-box;}
/*gold*/
.inner {width:1200px; margin:0 auto;}
/*thumbnail*/
.thumbnail a {display:block; padding-bottom:75%; position:relative; overflow: hidden;}
.thumbnail img {display:block; position:absolute; left:0; top:0; width:100%; height:100%; transition:transform .3s;}
.thumbnail img:hover {transform:scale(1.1,1.1);}
/*pagenavi*/
.pagenavi {font-size:0; line-height: normal; text-align:center;}
.pagenavi a, .pagenavi span.now-page {display:inline-block; font-size:14px; height:32px; line-height: 32px; padding:0 15px; background-color:#eee; color:#333; margin:2px; border-radius:3px;}
.pagenavi span.now-page, .pagenavi a:hover {background-color:#000; color:#fff;}
/*footer*/
.footer {text-align:center; font-size:12px; color:#999; padding:20px; background-color:#f9f9f9; flex-shrink:0;}
.footer a {color:#999;}
/*header*/
.header {background-color:#fff; width:100%; position:relative; z-index:100;}
.header .inner {height:80px; position:relative; display:flex; align-items:center; padding:0 0px; box-sizing:border-box;}
/*logo*/
.logo {flex-shrink:0; padding:10px 0; margin-right:30px;}
.logo a {display:block; color:#000; width:190px; height:60px; line-height:60px; font-size:24px; font-weight:bold; text-decoration:none; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;}
/*nav*/
.nav {flex:1;}
.nav li {float:left; line-height:80px; font-size:18px; padding-left:50px; display:inline-block; position:relative;}
.nav li a {color:#000; display:block; position:relative; z-index: 2;}
.nav li a:hover {opacity:0.85;}
.navBtn {display:none;}
.sidenav {display:none;}
/*wrapper*/
.wrapper {padding:35px 0; flex:1;}
.wrapper .inner {overflow: hidden;}
/*entry*/
.entry {font-size:18px; line-height: 1.875em; color:#222; margin-bottom:35px;}
.entry p {margin-bottom:25px;}
.entry img {width:auto; min-width:auto; max-width:100%; height:auto; display:block; margin:0 auto;}
.entry blockquote {margin:0 2em 25px; overflow: hidden; padding:25px 25px 0; color:#666; background-color:#f9f9f9; border-radius:5px; font-style:italic;}
.entry h4 {font-size:18px; line-height: 1.75em; margin-bottom:25px;}
.entry ul, .entry ol {margin-bottom:25px; margin-left:2em;}
.entry ul li {list-style:inside disc none;}
.entry ol li {list-style:inside decimal none;}
.entry li p {display:inline;}
.entry h1, .entry h2, .entry h3, .entry h4, .entry h5, .entry h6 {margin-bottom:25px;}
.entry a {color:#000; text-decoration: underline;}

/*postTags*/
.postTags {margin-bottom:35px;}
.postTags span {font-weight:bold; color:#000;}
.postTags a {color:#333; margin-left:10px;}
.postTags a:hover {color:#000;}
/*postnavi*/
.postnavi {margin-bottom:35px;}
.postnavi p {padding:5px 0;}
.postnavi span {font-weight:bold; color:#000;}
.postnavi a {color:#333;}
.postnavi a:hover {color:#000;}

/*文章列表*/
.blogList {overflow:hidden; width:102%; margin-bottom:20px;}
.blog {float:left; width:31.33%; display:inline-block; padding-right:2%; overflow: hidden; margin-bottom:25px; padding-bottom:25px; border-bottom:1px dashed #eee;}
.blog .thumbnail {position:relative; margin-bottom:15px;}
.blog .thumbnail i {position:absolute; left:5px; top:0; background-color:#fbdb32; color:#fff; font-size:9px; font-style:normal; font-family:'Arial'; text-transform:uppercase; padding:3px; line-height:1.125em; border-radius:0 0 2px 2px;}
.blog .info {overflow: hidden;}
.blog .info h2 {line-height: 1.35em; color:#333; white-space: nowrap; overflow: hidden; text-overflow:ellipsis; margin-bottom:5px; font-size:18px;}
.blog .info h2 a {color:#333;}
.blog .info h2 a:hover {color:#000;}
.blog .meta {margin-bottom:5px;}
.blog .meta span {font-size:12px; color:#555; margin-right:10px;}
.blog .intro {font-size:14px; color:#888; line-height: 2em; height:100%; overflow: hidden; word-wrap:break-word; text-align:justify;}
/*article*/
.article .title {font-size:28px; text-align:center; line-height: 1.35em; font-weight:normal; margin-bottom:25px;}
.article .meta {font-size:0; line-height: normal; text-align:center; margin-bottom:25px; border-bottom:1px dashed #eee; padding-bottom:20px;}
.article .meta span {font-size:14px; color:#888; padding:0 10px;}
.error {text-align:center;}
/*screen width*/
@media only screen and (max-width:1280px){
	/*gold*/
	.inner {width:93.75%;}
	/*nav*/
	.nav li {font-size:16px; padding-left:35px;}
}

@media only screen and (max-width:960px){
	.header .inner {height:70px;}
	/*logo*/
	.logo {margin-right:15px;}
	.logo a {width:100px; height:50px; line-height:50px; font-size:20px;}
	/*nav*/
	.nav {display:none;}
	.navBtn {display:none;}
	.sidenav {display:none;}
	/*搜索框*/
	.search-form-nav {
		display: flex;
		margin-left: auto;
	}
	.search-form-nav input {
		width: 120px;
	}
	/*wrapper*/
	.wrapper {padding:25px 0;}
	/*blog*/
	.blog {width:48%;}
}

@media only screen and (max-width:768px){
	/*gold*/
	.inner {width:100%; padding:0 15px; box-sizing:border-box;}
	/*header*/
	.header .inner {height:65px; padding:0 10px;}
	/*logo*/
	.logo {margin-right:10px; padding:5px 0;}
	.logo a {width:80px; height:55px; line-height:55px; font-size:18px;}
	/*搜索框居右*/
	.search-form-nav {
		display: flex !important;
		margin-left: auto !important;
		flex-shrink: 0;
	}
	.search-form-nav input {
		width: 100px;
		height: 32px;
		font-size: 12px;
	}
	.search-form-nav button {
		height: 32px;
		font-size: 14px;
	}
	/*blog*/
	.blog {width:100%; padding:0 0 25px 0;}
	.entry {font-size:16px;}
	.entry p {margin-bottom:20px;}
	.entry blockquote {margin:0 1em 20px; padding:15px 15px 0;}
	.entry h4 {font-size:16px; line-height: 1.5em; margin-bottom:20px;}
	.entry ul, .entry ol {margin-bottom:20px; margin-left:1.5em;}
	.entry li p {display:inline;}
	.entry h1, .entry h2, .entry h3, .entry h4, .entry h5, .entry h6 {margin-bottom:20px;}
	.article .title {font-size:22px;}
	/*看图模式移动端优化*/
	.gallery-close {
		width: 40px;
		height: 40px;
		font-size: 30px;
		top: 15px;
		right: 15px;
	}
	.gallery-hint {
		bottom: 20px;
		font-size: 12px;
		padding: 8px 15px;
	}
}

@media only screen and (max-width:480px){
	/*header*/
	.header .inner {height:60px;}
	/*logo*/
	.logo a {width:70px; height:50px; line-height:50px; font-size:16px;}
	/*搜索框*/
	.search-form-nav input {
		width: 80px;
	}
}

/* 看图模式样式 */
.gallery-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #000;
	z-index: 10000;
	display: none;
}
.gallery-overlay.active {
	display: block;
}
.gallery-container {
	width: 100%;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	position: relative;
}
.gallery-image {
	max-width: 100%;
	max-height: 100vh;
	object-fit: contain;
	cursor: pointer;
}
.gallery-image.loading {
	opacity: 0.3;
	transition: opacity 0.5s;
}
.gallery-image.loaded {
	opacity: 1;
	transition: opacity 0.5s;
}
.gallery-close {
	position: fixed;
	top: 20px;
	right: 30px;
	font-size: 40px;
	color: #fff;
	cursor: pointer;
	z-index: 10001;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.15);
	border-radius: 50%;
	transition: background 0.3s;
}
.gallery-close:hover {
	background: rgba(255,255,255,0.3);
}
.gallery-loading {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	color: #fff;
	font-size: 18px;
	display: none;
}
.gallery-hint {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255,255,255,0.6);
	font-size: 13px;
	z-index: 10001;
	background: rgba(0,0,0,0.5);
	padding: 10px 20px;
	border-radius: 20px;
	white-space: nowrap;
}

/* 文章中的图片点击样式 */
.entry img {
	cursor: pointer;
	transition: opacity 0.3s;
}
.entry img:hover {
	opacity: 0.9;
}

/* 搜索框样式 - 导航栏右边 */
.search-form-nav {
	display: flex;
	margin-left: auto;
	flex-shrink: 0;
	margin-right: 0;
}
.search-form-nav input {
	height: 36px;
	padding: 0 12px;
	border: 1px solid #ddd;
	border-radius: 4px 0 0 4px;
	font-size: 14px;
	width: 200px;
}
.search-form-nav button {
	height: 36px;
	padding: 0 12px;
	background: #333;
	color: #fff;
	border: none;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
	font-size: 16px;
}
.search-form-nav button:hover {
	background: #000;
}

/* iframe 响应式容器 */
.entry .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 15px 0;
}
.entry .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.entry iframe {
    max-width: 100%;
    width: 100%;
    height: auto;
    border: none;
}

/* 友情连接模块 */
.friend-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
}
.friend-links h3 {
    font-size: 16px;
    font-weight: normal;
    color: #333;
    margin-bottom: 15px;
}
.friend-links ul,
.friend-links li {
    display: inline;
    margin: 0;
    padding: 0;
    list-style: none;
}
.friend-links li a {
    display: inline;
    color: #666;
    margin-right: 15px;
}
.friend-links li a:hover {
    color: #333;
    text-decoration: underline;
}