@charset "utf-8";
/*
Theme Name: JT808 Classic
Theme URI: http://localhost/
Description: 复刻 2011 年 Deep Mix 版式的两栏中文博客主题：左侧文章列表（缩略图 + 摘要），右侧边栏（搜索、RSS、热门关注、微信二维码、标签、近期文章）。
Version: 1.0
Author: local
Tags: two-columns, right-sidebar, custom-menu, featured-images, translation-ready
Text Domain: jt808-classic
*/

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

body {
	font-family: Verdana, Tahoma, Arial, Helvetica, "Microsoft YaHei", sans-serif;
	font-size: 12px;
	color: #333333;
	background: #FFFFFF;
	line-height: 1.6;
}

a {
	color: #005EAC;
	text-decoration: none;
}

a:hover {
	color: #D54E21;
}

h1 { font-size: 20px; }
h2 { font-size: 16px; }
h3 { font-size: 14px; }

img {
	border: none;
	max-width: 100%;
	height: auto;
}

.inner {
	width: 960px;
	max-width: 100%;
	margin: 0 auto;
}

.fixed { clear: both; }

/* 头部 */
#header {
	padding-top: 20px;
	border-bottom: 1px solid #EEEEEE;
}

#logo {
	padding-bottom: 8px;
}

#logo h1 {
	float: left;
	color: #262626;
	font-size: 30px;
	line-height: 1.2;
	font-weight: bold;
	font-family: Arial, "Microsoft YaHei", sans-serif;
	border-right: 3px solid #FE4902;
	padding-right: 12px;
}

#logo h1 a { color: #262626; }
#logo h1 a:hover { color: #262626; }

#tagline {
	float: right;
	color: #FE4902;
	font-size: 11px;
	line-height: 1.5;
	text-align: right;
	padding-top: 14px;
	max-width: 46%;
}

/* 横向分类导航 */
#nav2 {
	padding: 12px 0 10px;
	margin-bottom: 18px;
	background: transparent;
	clear: both;
}

#nav2 ul {
	list-style: none;
	overflow: hidden;
}

#nav2 li {
	display: inline-block;
	margin-right: 26px;
	vertical-align: top;
}

#nav2 li a {
	font-size: 13px;
	font-weight: bold;
	color: #666666;
	display: inline-block;
	padding-bottom: 2px;
}

#nav2 li a:hover,
#nav2 li.current-cat a,
#nav2 li.current_page_item a {
	color: #005EAC;
	border-bottom: 2px solid #005EAC;
}

/* 主区域：左文章列表 + 右侧边栏 */
#wrapout {
	padding-bottom: 10px;
}

#content {
	float: left;
	width: calc(100% - 320px);
	margin-right: 20px;
}

.post {
	margin-bottom: 26px;
}

.post .title h2 {
	color: #262626;
	font-size: 20px;
	font-weight: bold;
	font-family: Georgia, Arial, "Microsoft YaHei", sans-serif;
	padding-bottom: 4px;
}

.post .title h2 a { color: #262626; }
.post .title h2 a:hover { color: #D54E21; }

.post .info {
	color: #A8A7A7;
	font-size: 11px;
	padding: 2px 0 8px;
}

.post .info span {
	border-right: 1px solid #E6E6E6;
	padding: 0 8px 0 6px;
}

.post .info span.date { padding-left: 0; }

.post .entry {
	overflow: hidden;
	padding-bottom: 4px;
}

.post .entry .summary img {
	float: left;
	width: 180px;
	height: 135px;
	object-fit: cover;
	padding: 3px;
	border: 1px solid #DADADA;
	background: #FFFFFF;
	margin: 12px 12px 0 0;
}

.post .zhaiyao {
	float: left;
	width: calc(100% - 206px);
	width: 66%;
	height: 135px;
	overflow: hidden;
	font-size: 13px;
	color: #666666;
	line-height: 180%;
	text-indent: 26px;
	margin-top: 12px;
	text-align: left;
}

.post .zhaiyao.full {
	width: 100%;
	height: auto;
}

.post .zhaiyao a {
	color: #999999;
}

.post .zhaiyao a:hover {
	text-decoration: underline;
	color: #D54E21;
}

.post .comments {
	border-top: 1px dashed #E5E5E5;
	padding: 5px 0 0;
	color: #A8A7A7;
	font-size: 11px;
}

.post .comments a { color: #A8A7A7; }
.post .comments a:hover { color: #4CA6CF; }

/* 单篇文章正文 */
.post.single .entry { line-height: 200%; font-size: 13px; }
.post.single .entry p { margin: 0 0 12px; }
.post.single .entry img { max-width: 100%; height: auto; }
.post.single .tags {
	display: block;
	margin: 18px 0 0;
	font-size: 11px;
	color: #A8A7A7;
}

.post.single .tags a {
	background: #FAFAFA;
	border: 1px solid #F3F4F4;
	padding: 3px 6px;
	margin: 0 3px 4px 0;
	display: inline-block;
	color: #4CA6CF;
}

.post.single .tags a:hover { color: #005EAC; }

#bottom .postnav {
	margin: 16px 0;
	font-size: 12px;
}

#bottom .postnav a { color: #4CA6CF; }
#bottom .postnav a:hover { color: #D54E21; }

.page-title {
	color: #262626;
	font-size: 16px;
	font-weight: bold;
	padding-bottom: 6px;
	margin-bottom: 16px;
	border-bottom: 1px solid #DEDEDE;
}

/* 侧边栏 */
#sidebarwrap {
	float: right;
	width: 300px;
	color: #999999;
	font-size: 12px;
}

#sidebar { padding: 0; }

#searchbox { margin-bottom: 18px; }

#searchbox form { display: flex; }

#searchbox input[type="text"] {
	flex: 1;
	border: 1px solid #CCCCCC;
	padding: 7px 10px;
	font-size: 12px;
	color: #666666;
	background: #FFFFFF;
	border-radius: 2px;
}

#searchbox button {
	border: 1px solid #CCCCCC;
	background: #F5F5F5;
	padding: 7px 14px;
	margin-left: 6px;
	cursor: pointer;
	font-size: 12px;
	color: #555555;
	border-radius: 2px;
}

#searchbox button:hover { background: #EBEBEB; }

#searchbox input[type="image"] {
	width: 34px;
	height: 34px;
	margin-left: 6px;
	padding: 3px;
	border: 1px solid #CCCCCC;
	background: #F5F5F5;
	border-radius: 2px;
	cursor: pointer;
}

#subscribe { padding: 2px 0 8px; }

#feedrss {
	display: inline-block;
	background: url(images/ico-rss.png) no-repeat left center;
	padding-left: 22px;
	line-height: 22px;
	font-weight: bold;
	color: #005EAC;
}

.sidebar-box { margin-bottom: 20px; }

.sidebar-box h3 {
	color: #27201D;
	font-size: 14px;
	font-weight: bold;
	padding-bottom: 5px;
	margin-bottom: 8px;
	border-bottom: 1px solid #DEDEDE;
}

.sidebar-box ul { list-style: none; }

.sidebar-box li a {
	display: block;
	padding: 5px 0 5px 18px;
	border-bottom: 1px dotted #E5E5E5;
	background: url(images/bullet.png) no-repeat 0 50%;
	color: #005EAC;
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sidebar-box li a:hover { color: #D54E21; }

/* 近期文章：标题可换行，配文件夹图标（与截图一致） */
.sidebar-box ul.recent-posts li a {
	background: url(images/icon_folder.png) no-repeat 0 7px;
	padding-left: 24px;
	white-space: normal;
	line-height: 1.7;
	overflow: visible;
	text-overflow: clip;
}

#sidebar .qr-box img {
	display: block;
	width: 148px;
	height: 148px;
	padding: 4px;
	margin: 0 auto;
	border: 1px solid #EEEEEE;
	background: #FFFFFF;
}

.tagcloud { line-height: 1.9; }

.tagcloud a {
	display: inline-block;
	margin: 2px 9px 2px 0;
	color: #005EAC;
}

.tagcloud a:hover { color: #D54E21; }

/* 评论 */
#comments { margin-top: 24px; }

#comments h3 {
	color: #FE4902;
	font-weight: normal;
	font-size: 15px;
	font-family: "Trebuchet MS", Arial, "Microsoft YaHei", sans-serif;
	margin-bottom: 10px;
}

.commentlist { list-style: none; }

.commentlist .comment {
	border: 1px solid #DEDEDE;
	padding: 10px;
	margin-bottom: 10px;
	background: #FFFFFF;
}

.commentlist .comment .comment-author { color: #666666; }
.commentlist .comment .comment_text,
.commentlist .comment .comment-content { margin-top: 6px; line-height: 1.8; }
.commentlist .comment .comment_text p,
.commentlist .comment .comment-content p { margin-bottom: 6px; }

.nocomments {
	color: #A8A7A7;
	font-size: 12px;
	margin: 10px 0;
}

.alignleft { float: left; }
.alignright { float: right; }

#respond { margin-top: 18px; }

#respond h3 { color: #FE4902; font-weight: normal; font-size: 15px; margin-bottom: 10px; }

#respond p { margin-bottom: 8px; }

#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"] {
	border: 1px solid #CCCCCC;
	padding: 6px 8px;
	font-size: 12px;
	width: 220px;
}

#respond textarea {
	width: 100%;
	border: 1px solid #CCCCCC;
	padding: 8px;
	font-size: 12px;
	font-family: inherit;
}

#respond input[type="submit"] {
	background: #2C3E50;
	color: #FFFFFF;
	border: none;
	padding: 7px 18px;
	cursor: pointer;
	font-size: 12px;
}

#respond input[type="submit"]:hover { background: #1A252F; }

/* 底部 */
#footer {
	background: #222222;
	color: #999999;
	font-size: 11px;
	padding: 16px 0;
	margin-top: 20px;
}

#footer .inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 18px; }
#footer a { color: #BBBBBB; }

/* 窄屏适配 */
@media screen and (max-width: 900px) {
	.inner { width: auto; padding: 0 16px; }
	#logo h1 { float: none; display: block; border-right: none; padding-right: 0; }
	#tagline { float: none; text-align: left; max-width: none; padding-top: 6px; }
	#content { float: none; width: auto; margin-right: 0; }
	#sidebarwrap { float: none; width: auto; }
	.post .entry .summary img { width: 130px; height: 100px; }
	.post .zhaiyao { float: none; width: 100%; height: auto; margin-top: 8px; }
}
