/*
Theme Name: Hantong Korea
Theme URI: https://www.wihantong.com
Author: Hantong
Description: 韩通韩国语学院官网主题，由 Discuz X 模板 cc_jiaoyu 移植为 WordPress 主题。
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: hantong
*/

/* ------------------------------------------------------------------ */
/* 侧栏文章列表（韩叶期刊 / 你可能喜欢 / 他们怎么说）                    */
/* ------------------------------------------------------------------ */
.ht-side-list { list-style: none; margin: 0; padding: 0; }
.ht-side-list li {
	padding: 10px 0;
	border-bottom: 1px dashed #ddd;
	overflow: hidden;
}
.ht-side-list li:first-child { padding-top: 0; }
.ht-side-list .ht-side-thumb {
	display: block;
	width: 86px;
	min-height: 60px;
	margin-right: 10px;
}
.ht-side-list .ht-side-thumb img {
	width: 86px;
	height: auto;
	display: block;
}

/* ------------------------------------------------------------------ */
/* 列表页文章缩略图：原站设计为宽 230、高度按原比例自适应（不限高、不裁切） */
/* ------------------------------------------------------------------ */
.those_things .things_list .image img {
	width: 230px;
	height: auto;
	display: block;
}
.ht-side-list .ht-side-info { overflow: hidden; }
.ht-side-list .ht-side-title {
	display: block;
	color: #444;
	font-size: 14px;
	line-height: 20px;
	font-weight: bold;
}
.ht-side-list .ht-side-title:hover { color: #1088DD; }
.ht-side-list .ht-side-meta {
	color: #999;
	font-size: 12px;
	line-height: 20px;
	margin: 4px 0 0;
}

/* ------------------------------------------------------------------ */
/* 分页                                                                */
/* ------------------------------------------------------------------ */
.pgs { margin: 20px 0; text-align: center; }
ul.page.pagination {
	display: inline-block;
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.page.pagination li { display: inline-block; margin: 0 3px; }
ul.page.pagination li .page-numbers {
	display: inline-block;
	min-width: 30px;
	height: 30px;
	line-height: 30px;
	padding: 0 8px;
	border: 1px solid #ddd;
	color: #555;
}
ul.page.pagination li .page-numbers:hover,
ul.page.pagination li .page-numbers.current {
	background: #1088DD;
	border-color: #1088DD;
	color: #fff;
}

.ht-no-posts { padding: 30px 0; color: #999; }

/* ------------------------------------------------------------------ */
/* "韩语资料"栏目：纯文字列表（一行一条标题 + 右侧日期，无缩略图）        */
/* ------------------------------------------------------------------ */
.ht-text-list {
	list-style: none;
	margin: 0;
	padding: 0;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
.ht-text-list li {
	position: relative;
	height: 40px;
	line-height: 40px;
	padding: 0 90px 0 16px;
	border-bottom: 1px dashed #e5e5e5;
	overflow: hidden;
}
.ht-text-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 17px;
	width: 6px;
	height: 6px;
	background: #5280e0;
	border-radius: 50%;
}
.ht-text-list li a {
	display: block;
	color: #333;
	font-size: 15px;
	font-weight: 400;
	font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ht-text-list li a:hover { color: #5280e0; }
.ht-text-list .ht-text-date {
	position: absolute;
	right: 4px;
	top: 0;
	color: #999;
	font-size: 13px;
}

/* ------------------------------------------------------------------ */
/* 内容页                                                              */
/* ------------------------------------------------------------------ */
.article-content h1 { font-size: 24px; color: #333; margin: 10px 0 15px; }
.article-content .first-words {
	background: #f6f6f6;
	padding: 10px 15px;
	color: #777;
	font-size: 13px;
	line-height: 22px;
	margin-bottom: 15px;
}
.article-content .article-body img { max-width: 100%; height: auto; }
.article-content .article-body p { line-height: 1.9; }
.ht-page-content img { max-width: 100%; height: auto; }
.especially-statement {
	color: #999;
	font-size: 12px;
	line-height: 20px;
	padding: 10px 0;
	border-top: 1px dashed #eee;
	margin-top: 10px;
}

/* ------------------------------------------------------------------ */
/* 侧栏热门搜索                                                        */
/* ------------------------------------------------------------------ */
.hot-search-links { padding: 5px 0; }
.hot-search-links a {
	margin: 0 12px 8px 0;
	color: #666;
	font-size: 13px;
}
.hot-search-links a:hover { color: #1088DD; }

/* 首页企业荣誉/媒体报道切换标题（媒体报道按钮补齐） */
.propaganda-switch-title span { cursor: pointer; margin-right: 30px; }
.propaganda-switch-title span.active { color: #1088DD; }

/* 顶部搜索框（列表页头内联表单） */
.ht-search-form button { cursor: pointer; }

/* ------------------------------------------------------------------ */
/* 首页“韩语教学，我们更专业”6 张卡片：                                  */
/* 默认只显示图片；悬停时遮罩+白色文字滑入（app.js 控制动画），          */
/* 隐藏常驻标题层，避免与悬停文字重叠                                    */
/* ------------------------------------------------------------------ */
#nv_portal .train-exam-cont .exam-hover-title { display: none !important; }

/* ------------------------------------------------------------------ */
/* 内页主导航子栏目下拉（原站 CSS 只定义了隐藏，app.js 用 JS 控制显示；  */
/* 补一条纯 CSS hover 兜底，JS 未加载时下拉仍可用）                      */
/* ------------------------------------------------------------------ */
/* 原站靠 Discuz 全局 reset 去掉列表黑点，WP 下需在主题内重置 */
.head-nav-left { list-style: none; margin: 0; padding: 0; }
.index-nav { list-style: none; margin: 0; padding: 0; }
.head-nav-left li ul { list-style: none; margin: 0; }
.head-nav-left li:hover > ul { visibility: visible; }

/* ------------------------------------------------------------------ */
/* 内容页“相关文章”：原站为两列文字链接列表（.wrap-article a 420px），   */
/* 原圆点图 dian.png 在素材中缺失，改用 CSS 蓝点；标题字号加大            */
/* ------------------------------------------------------------------ */
.about-article .wrap-article { margin-top: 10px; }
.about-article .wrap-article a {
	float: left;
	width: 50%;
	box-sizing: border-box;
	height: 32px;
	line-height: 32px;
	padding: 0 20px 0 16px;
	margin-bottom: 6px;
	font-family: "Microsoft YaHei", "PingFang SC", SimSun, sans-serif;
	font-size: 15px;
	color: #333;
	background: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.about-article .wrap-article a::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 13px;
	width: 6px;
	height: 6px;
	background: #5280e0;
	border-radius: 50%;
}
.about-article .wrap-article a { position: relative; }
.about-article .wrap-article a:hover { color: #5280e0; }
