/* 站点样式表（Dara theme 整理版）
 *
 * 这份文件源自 WordPress 主题 Dara（Automattic，GPL v2+），当初为了让
 * 静态站与原站显示一致而整体搬过来。在此基础上只做「不改变显示效果」
 * 的整理：
 *
 *   1. 合并重复规则，删掉被后面覆盖的死规则、空规则和失效的 IE hack；
 *   2. 把反复出现的颜色、字体、字号和版心宽度抽成 :root 里的设计令牌，
 *      令牌值与原来的硬编码值完全一致，计算结果不变；
 *   3. 重新划分章节、统一格式，注释说明每块的用途。
 *
 * 维护约定：
 *
 *   * 加载顺序见 src/templates/base.html。本文件排在 WordPress 内联样式
 *     之后、Genericons 与插件样式之前；最后加载的 vendor/wp-custom.css
 *     用 !important 全局覆盖了字体，改字体效果要先看那个文件。
 *   * 本文件保留 Dara 主题的完整规则，包含当前构建尚未输出的 Jetpack、
 *     幻灯片、图库、页脚小工具等选择器。删除前先确认模板、正文和插件
 *     脚本都不会生成对应结构。
 *   * 间距沿用原主题的 em 比例（.4 / .8 / 1.6 / 2.4 / 3.2 / 4.8em），
 *     未抽成令牌，避免把版式细节抽象成难以追踪的数字变量。
 *     例外：正文标题的上边距是 2em（历史上由手写 ::: spacer 实现，
 *     2026-12 收进样式表，见正文标题处的注释）。
 *   * 改完必须做渲染回归：
 *       python tools/css_check.py snapshot <改前.json>
 *       python tools/css_check.py compare  <改前.json> <改后.json>
 *     要求在全部代表页面和断点上零差异。
 *
 * 原主题信息：
 */
/*
Theme Name: Dara
Theme URI: https://wordpress.com/themes/dara/
Description: With bold featured images and bright, cheerful colors, Dara is ready to get to work for your business.
Version: 9999.2.1
Author: Automattic
Author URI: http://wordpress.com/themes/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dara
Tags: blog, one-column, two-columns, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, rtl-language-support, theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Dara is created by the theme generator at http://components.underscores.me/, (C) 2015-2017 Automattic, Inc.
Components is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
目录
--------------------------------------------------------------
 0.0 设计令牌（Design tokens）
 1.0 Reset / 重置
 2.0 Accessibility / 无障碍
 3.0 Alignments / 对齐工具类
 4.0 Clearings / 清除浮动
 4.1 Clearings / 清除浮动（续）
 5.0 Typography / 排版
 6.0 Elements / 元素
 7.0 Forms / 表单与按钮
 8.0 Navigation / 导航
	8.1 Menus / 主菜单
	8.2 Social Links / 社交链接
	8.3 Content Navigation / 内容导航
 9.0 Widgets / 小工具
	9.1 Footer Widgets / 页脚小工具
10.0 Content / 内容
	10.1 Layout / 布局
	10.2 Posts and Pages / 文章与页面
	10.3 Comments / 评论
	10.4 Page Templates / 页面模板
	10.5 Testimonials / 评价
	10.6 Footer / 页脚
11.0 Jetpack / Jetpack 扩展
12.0 Media / 媒体
	12.1 Captions / 图说
	12.2 Galleries / 图库
13.0 Media Queries / 响应式
--------------------------------------------------------------*/
/*--------------------------------------------------------------
0.0 设计令牌（Design tokens）
--------------------------------------------------------------*/
/* 全站反复出现的颜色、字体、字号与版心宽度集中在这里，改主题基础值
   只改这一处。令牌值与原主题里硬编码的值完全一致，计算结果不变。 */
:root {
	/* 主色 */
	--c-accent: #15b6b8;
	/* 文字 */
	--c-text: #444340;        /* 正文 */
	--c-text-muted: #a8a6a1;  /* 次要文字（日期、标签、标题装饰） */
	--c-text-soft: #666;      /* 悬停态文字 */
	--c-text-faint: #888;     /* 表单控件文字 */
	--c-text-dim: #6d6d6d;    /* 页脚小工具链接 */
	--c-white: #fff;
	/* 线条 */
	--c-line: #eee;           /* 表格、分隔线 */
	--c-line-medium: #e6e6e6; /* hr */
	--c-line-strong: #e5e5e5; /* 页脚小工具分隔线 */
	--c-line-soft: #f2f2f2;   /* 引用块、条目分隔线 */
	--c-line-faint: #f7f7f7;  /* 嵌套评论左边框 */
	/* 背景 */
	--c-bg: #fff;
	--c-bg-soft: #fafafa;     /* 页脚小工具区 */
	--c-bg-dark: #595854;     /* 页脚、焦点图遮罩底色 */
	--c-thumb: #f0f2f0;       /* 缩略图占位纹理 */
	/* 其他 */
	--c-placeholder: #ccc;    /* 引用块的大引号 */
	--c-mark: #fff9c0;        /* 标记高亮 */
	--c-skip-bg: #f1f1f1;     /* 跳转链接聚焦背景 */
	--c-skip-text: #21759b;   /* 跳转链接聚焦文字 */

	/* 字体：主题层设定；vendor/wp-custom.css 最后加载且有 !important
	   全局字体覆盖，实际字形以那里为准 */
	--font-sans: "Source Sans Pro", Helvetica, sans-serif;
	/* 分类链接原主题只声明这一款字体，没有后备字体，保持原样 */
	--font-sans-only: "Source Sans Pro";
	--font-serif: "Yrsa", Georgia, serif;
	--font-heading: "Yrsa", sans-serif;
	--font-mono: "Courier 10 Pitch", Courier, monospace;
	--font-icons: Genericons;

	/* 字号：只收拢固定 px 值，75% / 125% / 1.4rem 等相对字号保持原样 */
	--text-2xs: 13px;
	--text-xs: 14px;
	--text-sm: 15px;
	--text-md: 16px;
	--text-lg: 18px;
	--text-xl: 23px;
	--text-2xl: 29px;
	--text-3xl: 32px;
	--text-4xl: 47px;

	/* 版心宽度 */
	--w-site: 1280px;
	--w-site-narrow: 880px;   /* 无侧栏 */
	--w-site-wide: 1180px;    /* 无侧栏的整页 / 网格模板 */
}

/*--------------------------------------------------------------
1.0 Reset / 重置
--------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	font-family: inherit;
	font-size: 100%;
	font-weight: inherit;
	font-style: inherit;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
	border: 0;
	outline: 0;
}
html {
	font-size: 62.5%; /* 10px */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
		-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}
ol,
ul {
	list-style: none;
}
table {
	border-spacing: 0;
	border-collapse: separate;
}
caption,
th,
td {
	text-align: left;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}
blockquote,
q {
	quotes: "" "";
}
a {
	color: var(--c-accent);
	text-decoration: none;
}
a:hover,
a:focus,
a:active {
	color: var(--c-text-muted);
	text-decoration: none;
}
a:hover,
a:active {
	outline: 0;
}
a:focus {
	outline: thin dotted;
}
a img {
	border: 0;
}


html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

/*--------------------------------------------------------------
2.0 Accessibility / 无障碍
--------------------------------------------------------------*/
/* 只给读屏软件读的文本。原文件里这两条规则各写了两遍（第二份还多了一句
   font-size: 0.875rem，但被后面的 15px 覆盖），这里只留生效的那份。 */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}
.screen-reader-text:focus {
	background-color: var(--c-skip-bg);
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: var(--c-skip-text);
	display: block;
	font-size: var(--text-sm);
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 15px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
3.0 Alignments / 对齐工具类
--------------------------------------------------------------*/
/* 原文件里有两份 .alignleft / .alignright / .aligncenter，后一份把前一份
   完全覆盖了，这里只留生效的那一份。 */
.alignleft {
	display: inline;
	float: left;
	margin: .5em 1.6em 1em 0;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.6em;
}

.aligncenter {
	clear: both;
	display: block;
	margin: .8em auto;
}

/*--------------------------------------------------------------
4.0 Clearings / 清除浮动
--------------------------------------------------------------*/
/* 主题的清除浮动规则分两组：4.0 覆盖正文与站点骨架，并额外声明
   table-layout: fixed、单独处理 .nav-links；4.1 是后来补的一组，选择器
   更宽但没有 table-layout / .nav-links。两组范围不同，不能简单合并。 */
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after,
.nav-links:before,
.nav-links:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after,
.nav-links:after {
	clear: both;
}

/*--------------------------------------------------------------
4.1 Clearings / 清除浮动（续）
--------------------------------------------------------------*/
.comment-meta:before,
.comment-meta:after,
.entry-meta:before,
.entry-meta:after,
.footer-widget-area:before,
.footer-widget-area:after,
.hentry:after,
.main-navigation > ul:before,
.main-navigation > ul:after,
.site-main:before,
.site-main:after,
.subordinate-navigation ul:before,
.subordinate-navigation ul:after,
.testimonials:before,
.testimonials:after,
.front-testimonials:before,
.front-testimonials:after,
.testimonials .hentry:before,
.testimonials .hentry:after,
.clear:before,
.clear:after,
[class*="area"]:before,
[class*="area"]:after,
[class*="content"]:before,
[class*="content"]:after,
.post-navigation:before,
.post-navigation:after,
.posts-navigation:before,
.posts-navigation:after,
[class*="site"]:before,
[class*="site"]:after,
.entry-author:before,
.entry-author:after {
	content: "";
	display: table;
}
.comment-meta:after,
.entry-meta:after,
.footer-widget-area:after,
.main-navigation ul:after,
.site-main:after,
.subordinate-navigation ul:after,
.testimonials:after,
.front-testimonials:after,
.testimonials .hentry:after,
.clear:after,
[class*="area"]:after,
[class*="content"]:after,
.posts-navigation:after,
.post-navigation:after,
[class*="site"]:after,
.entry-author:after {
	clear: both;
}

/*--------------------------------------------------------------
5.0 Typography / 排版
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: var(--c-text);
	font-family: var(--font-sans);
	font-size: var(--text-md);
	font-weight: 300;
	line-height: 1.6;
}
/* 	guan：站点用白底（原主题默认深色 #444340） */
body {
	background: var(--c-bg);
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: var(--font-heading);
	margin-bottom: .8em;
	font-weight: bold;
}
h1 {
	font-size: var(--text-2xl);
	line-height: 1.1;
	margin-bottom: 0.2em;
}
/* 正文标题的上边距：历史上由作者手写 ::: spacer 100（个别的 50）实现，
 * 现在统一收进样式表，md 里不再写标题前的 spacer。
 * 原来不分级别一律 100px，页面（标题都是 h3）和小节标题之间的留白过大；
 * 现在按 2em 给（桌面端 h2 58px、h3 46px、h4 36px；窄屏随字号缩小），
 * 与另外 7 套主题正文标题的 2em 一致。目录后、正文开头的第一个标题不加
 * 大间距。 */
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-top: 2em;
}
.entry-content .lwptoc + h2,
.entry-content .lwptoc + h3,
.entry-content .lwptoc + h4,
.entry-content .lwptoc + h5,
.entry-content .lwptoc + h6,
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content h4:first-child,
.entry-content h5:first-child,
.entry-content h6:first-child {
	margin-top: 0;
}
h2 {
	font-size: var(--text-xl);
	margin-bottom: 0.4em;
}
h3 {
	font-size: var(--text-lg);
}
h4 {
	font-size: var(--text-md);
}
h5 {
	font-size: var(--text-sm);
}
h6 {
	font-size: var(--text-xs);
}

/*--------------------------------------------------------------
6.0 Elements / 元素
--------------------------------------------------------------*/
hr {
	border: 0;
	height: 1px;
	margin: 1.6em 0;
	background-color: var(--c-line-medium);
}
p,
blockquote p:last-child {
	margin-bottom: 1.6em;
}
p:last-child {
	margin-bottom: 0;
}
ul,
ol {
	margin: 0 0 1.6em 1.6em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1em 1.6em 1em;
}
b,
strong {
	font-weight: bold;
}
dfn,
cite,
em,
i {
	font-style: italic;
}
blockquote {
	border-left: 2px solid var(--c-line-soft);
	font-style: italic;
	padding-left: 1em;
}
address {
	margin: 0 0 1.6em 0;
}
pre {
	background: var(--c-line-soft);
	font-family: var(--font-mono);
	font-size: var(--text-sm);
	max-width: 100%;
	margin-bottom: 1.6em;
	overflow-x: scroll;
	padding: 1em;
}
code,
kbd,
tt,
var {
	font-family: var(--font-mono);
}
abbr,
acronym {
	border-bottom: 1px dotted var(--c-line-medium);
	cursor: help;
}
mark,
ins {
	background-color: var(--c-mark);
	text-decoration: none;
}
mark[style*="color"] {
	background-color: transparent;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: 0.5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	border-bottom: 1px solid var(--c-line);
	margin: 0 0 1.6em 0;
	width: 100%;
}
th {
	font-weight: bold;
	padding: 0.4em;
	/* text-transform: uppercase; */
}
td {
	border-top: 1px solid var(--c-line);
	padding: 0.4em;
}
img {
	max-width: 100%; /* Adhere to container width. */
	height: auto; /* Make sure images are scaled correctly. */
}
legend {
	font-weight: bold;
	padding: 0 .5em;
}
fieldset {
	border: 1px solid var(--c-line);
	padding: 1.6em;
}

/*--------------------------------------------------------------
7.0 Forms / 表单与按钮
--------------------------------------------------------------*/
button,
input,
select,
textarea {
	color: var(--c-text-faint);
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	transition: all 0.2s;
}
button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
#infinite-handle span,
.button {
	background-color: var(--c-accent);
	border-style: none;
	color: var(--c-white);
	cursor: pointer;
	display: inline-block;
	font-size: var(--text-sm);
	font-weight: bold;
	letter-spacing: 1px;
	line-height: 2;
	padding: .25em 1em .4em;
	text-align: center;
	vertical-align: middle;
	/* text-transform: uppercase; */
	border-radius: 3px;
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.1);
	-webkit-appearance: none;
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
#infinite-handle span:hover,
.button:hover {
	opacity: 0.85;
}
.button:hover,
.button:active,
.button:focus {
	color: var(--c-white);
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active,
#infinite-handle span:active,
.button:active,
.button:focus {
	background-color: var(--c-line-medium);
	color: var(--c-text-soft);
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"],
input[type="password"] {
	box-sizing: border-box;
	-webkit-appearance: none; /* Addresses appearance set to searchfield in S5, Chrome */
}
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"] {
	border: 1px solid var(--c-line);
	font-size: var(--text-sm);
	padding: 0.8em;
	border-radius: 2px;
	transition: border-color 0.2s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus {
	border: 1px solid var(--c-accent);
	outline: none;
	transition: border-color 0.2s;
}
textarea {
	border: 1px solid var(--c-line);
	border-radius: 2px;
	font-size: var(--text-sm);
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding: 1%;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 96.875%;
	transition: border-color 0.2s;
}

/*--------------------------------------------------------------
8.0 Navigation / 导航
--------------------------------------------------------------*/
/*--------------------------------------------------------------
8.1 Menus / 主菜单
--------------------------------------------------------------*/

.main-navigation {
	background-color: var(--c-accent);
	border-bottom: 2px solid rgba(0, 0, 0, 0.03);
	color: var(--c-white);
	display: block;
	padding: 0 1em;
}
.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	text-align: left;
}
.main-navigation a {
	color: var(--c-white);
	display: block;
	font-size: var(--text-sm);
	font-weight: bold;
	letter-spacing: 1px;
	outline: none;
	opacity: 1;
	padding: .8em;
	text-decoration: none;
	/* text-transform: uppercase; */
	transition: opacity 0.2s;
}
.main-navigation ul li {
	border-top: 1px solid rgba(255, 255, 255, 0.5);
	display: block;
	padding: 0;
}
.main-navigation ul li:first-child {
	border-top: 0;
}
.main-navigation ul ul {
	display: block;
	list-style: disc;
}
.main-navigation ul ul li {
	border-top: 0;
}
.main-navigation ul ul a {
	color: var(--c-white);
	padding-left: 1.6em;
	border-top: 1px solid rgba(255, 255, 255, 0.5);
}
.main-navigation ul ul ul a {
	padding-left: 3.2em;
}
.main-navigation ul ul ul ul a {
	padding-left: 4.8em;
}
/* 一级菜单悬停：原文件先写 0.5 再写 0.6，后者生效，这里合并成一份 */
.main-navigation a:hover,
.main-navigation ul > :hover > a,
.main-navigation ul > .focus > a {
	opacity: 0.6;
}
.main-navigation ul ul a:hover,
.main-navigation ul ul li.focus > a {
	opacity: 0.5;
}
.main-navigation ul ul ul {
	margin-bottom: 0;
}
.main-navigation ul ul ul li {
	border-top: 0;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	display: block;
}
.main-navigation li.current_page_item > a,
.main-navigation li.current-menu-item > a,
.main-navigation li.current_page_ancestor > a,
.main-navigation li.current-menu-ancestor > a {
	opacity: 0.6;
}
.menu-toggle {
	box-shadow: none;
	color: var(--c-white);
	display: block;
	font-family: var(--font-sans);
	font-size: var(--text-sm);
	font-weight: bold;
	margin: 0 auto;
	padding: 1em 0;
	text-align: center;
	/* text-transform: uppercase; */
}
.menu-toggle:hover,
.menu-toggle:focus {
	color: var(--c-white);
	background: none;
}
.menu-toggle:before {
	content: "\f419";
	font-family: var(--font-icons);
	line-height: 1;
	margin-right: 8px;
	position: relative;
	top: 2px;
}
.menu-toggle,
.main-navigation.toggled .nav-menu {
	display: block;
}

/*--------------------------------------------------------------
8.2 Social Links / 社交链接
--------------------------------------------------------------*/
.jetpack-social-navigation {
	clear: both;
	list-style: none;
	margin: 0 auto;
	padding: 0;
}
.site-header .jetpack-social-navigation ul {
	margin: 0 !important;
}
.jetpack-social-navigation ul li {
	display: inline-block;
	background: var(--c-accent);
	color: var(--c-white);
	font-size: 20px;
	list-style: none;
	line-height: .5;
	margin: .2em .1em;
	padding: 8px;
	border-radius: 50%;
}
.jetpack-social-navigation ul a,
.jetpack-social-navigation ul a:visited {
	display: inline-block;
	text-decoration: none;
	color: var(--c-white);
	transition: color 0.2s;
}
.jetpack-social-navigation ul a:hover,
.jetpack-social-navigation ul a:focus,
.jetpack-social-navigation ul a:active {
	text-decoration: none;
	color: rgba(255,255,255,0.5);
}

/*--------------------------------------------------------------
8.3 Content Navigation / 内容导航
--------------------------------------------------------------*/
.post-navigation,
.posts-navigation {
	margin: .8em 0 0;
	position: relative;
}
.post-navigation:after,
.posts-navigation:after {
	content: "";
	background: var(--c-line-soft);
	/* 4.1 的清除浮动规则会把它设为 table；这里显式写回，
	   避免规则顺序调整后伪元素退回 block */
	display: table;
	margin-top: .8em;
	position: relative;
	height: 1px;
}
[class*="navigation"] .nav-previous {
	width: 100%;
}
[class*="navigation"] .nav-next {
	border-top: 1px solid var(--c-line-soft);
	margin-top: .4em;
	padding-top: .4em;
	text-align: right;
	width: 100%;
}
[class*="navigation"] .nav-previous .meta-nav:before {
	content: "\2190";
	margin-right: 5px;
}
[class*="navigation"] .nav-next .meta-nav:after {
	content: "\2192";
	margin-left: 5px;
}
.post-navigation a,
.paging-navigation a,
.comment-navigation a {
	display: inline-block;
	font-family: var(--font-serif);
	font-size: var(--text-lg);
	max-width: 100%;
	word-wrap: break-word;
	transition: color 0.2s;
}
.post-navigation a:hover,
.paging-navigation a:hover,
.comment-navigation a:hover,
.post-navigation a:focus,
.paging-navigation a:focus,
.comment-navigation a:focus,
.post-navigation a:active,
.paging-navigation a:active,
.comment-navigation a:active {
	color: var(--c-text-soft);
}
.post-navigation .title {
	display: block;
	color: var(--c-text-muted);
	clear: both;
	font-family: var(--font-sans);
	font-style: normal;
	font-weight: bold;
	/* text-transform: uppercase; */
	font-size: var(--text-sm);
}

/*--------------------------------------------------------------
9.0 Widgets / 小工具
--------------------------------------------------------------*/
.widget-area {
	overflow: hidden;
}
.widget {
	font-size: var(--text-md);
	margin-bottom: 2.4em;
	word-wrap: break-word;
}
.widget a {
	transition: color 0.2s;
}
.widget-title {
	font-size: var(--text-lg);
	margin-bottom: 0.8em;
	text-align: center;
}
.widget:not(.widget_text) ul,
.widget:not(.widget_text) ol {
	list-style: none;
	margin: 0;
}
.widget:not(.widget_text) ul > li,
.widget:not(.widget_text) ol > li {
	padding: 0.8em 0;
}
.widget:not(.widget_text) li > ul,
.widget:not(.widget_text) li > ol {
	margin-left: 1.6em;
}
.widget:not(.widget_text) ul ul {
	margin-top: 0.8em;
}
.widget:not(.widget_text) ul ul > li:last-child {
	padding-bottom: 0;
}
.widget select {
	max-width: 100%;
}
.widget_search .search-submit {
	display: none;
}
.widget_search .search-field {
	width: 100%;
	box-sizing: border-box;
}
#secondary.widget-area .widget-title {
	color: var(--c-text);
}
#secondary.widget-area {
	margin-top: 3.2em;
}
.widget-title:before,
.widget-title:after {
	content: " - ";
}
#secondary.widget-area .widget ul > li,
#secondary.widget-area .widget ol > li {
	border-top: 1px solid var(--c-line-soft);
}
.widget_calendar caption {
	text-align: center;
}
.widget_calendar td,
.widget_calendar th {
	text-align: center;
}
.widget_calendar td a {
	font-weight: bold;
}
.widget-area .jetpack_widget_social_icons .jetpack-social-widget-list,
#secondary.widget-area .jetpack_widget_social_icons .jetpack-social-widget-list {
	text-align: center;
}
.widget-area .jetpack_widget_social_icons .jetpack-social-widget-list > .jetpack-social-widget-item,
#secondary.widget-area .jetpack_widget_social_icons .jetpack-social-widget-list > .jetpack-social-widget-item {
	border-top: none;
}

/*--------------------------------------------------------------
9.1 Footer Widgets / 页脚小工具
--------------------------------------------------------------*/
.footer-widget-area {
	background-color: var(--c-bg-soft);
	border-top: 1px solid var(--c-line);
	padding: 3.2em 4% 1.6em;
	margin: 0;
}
.home.page .footer-widget-area {
	margin: auto -4% -1.6em;
}
.footer-widget-area a {
	color: var(--c-text-dim);
}
.footer-widget-area a:hover,
.footer-widget-area a:focus,
.footer-widget-area a:active {
	color: var(--c-accent);
}
.first.footer-widgets,
.second.footer-widgets {
	margin-right: 55px;
}
.footer-widget-area .widget-title {
	color: var(--c-text);
}
.footer-widget-area .widget:not(.widget_text) ul > li,
.footer-widget-area .widget:not(.widget_text) ol > li {
	border-top: 1px solid var(--c-line-strong);
}
.footer-widget-area .widget_calendar table,
.footer-widget-area .widget_calendar td {
	border-color: var(--c-line-strong);
}

/*--------------------------------------------------------------
10.0 Content / 内容
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Layout / 布局
--------------------------------------------------------------*/
/* 	GUAN：版心宽度由 --w-site 系列令牌控制 */
.site {
	max-width: var(--w-site);
	margin-left: auto;
	margin-right: auto;
}
.no-sidebar .site {
	max-width: var(--w-site-narrow);
}
.no-sidebar.page-template-full-width-page .site,
.no-sidebar.page-template-grid-page .site,
.no-sidebar.home.page .site {
	max-width: var(--w-site-wide);
}
.site-content,
.attachment.page .site-content {
	background-color: var(--c-bg);
	padding: 1.6em 4%;
}

/* Site Header */
.site-branding {
	background: var(--c-bg);
	padding: 2.4em 0;
	text-align: center;
}
.site-branding,
.site-navigation {
	padding-right: 4%;
	padding-left: 4%;
}
.site-branding a + .site-title {
	margin-top: 0.2em;
}
.display-header-text .site-image {
	margin-bottom: 12px;
}
.custom-logo-link {
	display: inline-block;
	margin: 0 auto;
	max-width: 600px;
}
.custom-logo {
	display: block;
	width: auto;
	height: auto;
	margin: 0 auto;
	max-height: 150px;
}
.site-title {
	font-family: var(--font-serif);
	font-size: var(--text-2xl);
	line-height: 1.2;
	margin-bottom: 0;
}
.site-title a {
	color: var(--c-text);
}
.site-title a:hover,
.site-title a:focus,
.site-title a:active {
	text-decoration: none;
}
.site-description {
	color: var(--c-text-muted);
	font-family: var(--font-serif);
	font-size: var(--text-md);
	font-weight: normal;
	margin-bottom: .4em;
}
.site-description:before,
.site-description:after {
	display: inline;
	content: " - ";
}
.custom-header {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
}
.custom-header a {
	display: block;
	line-height: 0.5;
}

/*--------------------------------------------------------------
10.2 Posts and Pages / 文章与页面
--------------------------------------------------------------*/
.hentry {
	position: relative;
	word-wrap: break-word;
}
.blog .hentry,
.archive .hentry,
.search .hentry {
	margin: 0 0 3.2em 0;
}
.archive .page-header,
.search .page-header {
	margin: 0 0 1.6em;
}
.taxonomy-description {
	font-size: var(--text-md);
}
.hentry:after,
.page-header:after {
	background: var(--c-line-soft);
	display: block;
	position: relative;
	width: 100%;
	height: 1px;
}
.home.page .hentry:after {
	display: none;
}
.hentry.no-title .entry-body {
	min-height: 6em;
}
.archive .page-title,
.search .page-title {
	color: var(--c-text-muted);
	font-family: var(--font-sans);
	font-size: var(--text-sm);
	font-weight: bold;
	letter-spacing: 1px;
	/* text-transform: uppercase; */
}
.entry-header {
	position: relative;
	z-index: 1;
}
.entry-thumbnail,
.post-thumbnail {
	/* 只留 -webkit- 与标准写法：-moz- / -o- 前缀早已被各浏览器淘汰 */
	background: -webkit-linear-gradient(135deg, var(--c-white) 25%, var(--c-thumb) 25%, var(--c-thumb) 50%, var(--c-white) 50%, var(--c-white) 75%, var(--c-thumb) 75%, var(--c-thumb));
	background: linear-gradient(135deg, var(--c-white) 25%, var(--c-thumb) 25%, var(--c-thumb) 50%, var(--c-white) 50%, var(--c-white) 75%, var(--c-thumb) 75%, var(--c-thumb));
	background-size: 4px 4px;
}
.post-thumbnail + .entry-header {
	margin: .4em 0;
	padding: 0;
}
.entry-thumbnail img,
.post-thumbnail img {
	display: block;
}
.entry-title {
	line-height: 1.2;
	margin-bottom: 0;
}
.post-type-archive-jetpack-testimonial .entry-title,
.page .entry-title {
	margin-bottom: 0.4em;
}
.page-title,
.entry-title,
.entry-title a {
	color: var(--c-text);
	font-size: var(--text-xl);
	transition: color 0.2s;
}
.entry-title a:hover,
.entry-title a:focus,
.entry-title a:active {
	color: var(--c-accent);
}
.entry-meta,
.entry-footer {
	color: var(--c-text-muted);
	font-family: var(--font-serif);
	font-size: var(--text-md);
	margin-bottom: 1.6em;
	text-align: left;
}
.entry-footer {
	margin-bottom: 0;
	padding: 0 0 1.6em;
	position: static;
	text-align: left;
	width: auto;
}
.entry-meta > span,
.entry-footer > span {
	margin-right: .8em;
	display: inline-block;
}
.entry-meta a,
.entry-footer a {
	color: var(--c-text-muted);
	transition: color 0.2s;
}
.entry-meta a:hover,
.entry-footer a:hover,
.entry-meta a:focus,
.entry-footer a:focus,
.entry-meta a:active,
.entry-footer a:active {
	color: var(--c-text-soft);
}
.cat-links {
	display: inline-block;
	margin-bottom: .4em;
}
.cat-links a {
	color: var(--c-accent);
	display: inline-block;
	font-family: var(--font-sans-only);
	font-style: normal;
	font-size: var(--text-xs);
	font-weight: bold;
	letter-spacing: 1px;
	margin: 0;
	/* text-transform: uppercase; */
}
.updated:not(.published) {
	display: none;
}
.tags-links {
	margin-right: 1em;
}
.entry-summary,
.entry-content {
	margin: 0 0 1.6em;
}
/* 文章页脚的版权声明：跟作者信息（Published by / View all posts）同一档——
   比正文小一号、次要色，上方一条细线跟正文分开（原站与正文同大） */
.entry-content p.post-footer-note {
	border-top: 1px solid var(--c-line-soft);
	color: var(--c-text-dim);
	font-size: var(--text-sm);
	margin-top: 3.4em;
	padding-top: 1.2em;
}
.page-links {
	clear: both;
	margin-top: 1.6em;
	word-spacing: 7px;
}
blockquote:before {
	color: var(--c-placeholder);
	content: "\201C";
	font-family: var(--font-serif);
	font-size: 140px;
	font-style: normal;
	line-height: 1;
	position: absolute;
	top: -5px;
	left: -10px;
}
blockquote {
	border: none;
	font-family: var(--font-serif);
	font-size: var(--text-xl);
	font-style: normal;
	margin-left: 0;
	margin-bottom: 1.6em;
	padding-left: 2.4em;
	position: relative;
}
blockquote cite {
	display: block;
	font-family: var(--font-sans);
	font-size: var(--text-md);
	font-weight: bold;
	margin: .4em 0;
	/* text-transform: uppercase; */
}
blockquote p:last-child {
	margin-bottom: 0;
}

/*--------------------------------------------------------------
10.3 Comments / 评论
--------------------------------------------------------------*/
.comments-area {
	margin: 1.6em 0 0;
}
.page .comments-area {
	margin-left: 0;
}
/* 历史评论折叠区（评论功能已关闭）：默认收起，按钮展开。
   展开态由 [hidden] 的 UA 样式（display:none）控制，无需额外规则；
   禁用 JS 时模板 <noscript> 里的样式强制显示折叠区、隐藏按钮。
   按钮做成站内链接的样子：颜色与 wp-custom.css 的 a（#004e4e）一致，
   hover 同 style.css 的 a:hover（--c-text-muted），
   与评论内部 collapser 生成的「点击展开」链接观感一致。 */
.comments-toggle {
	appearance: none;
	-webkit-appearance: none;
	background: none;
	border: none;
	color: #004e4e;
	cursor: pointer;
	display: inline-block;
	font: inherit;
	padding: 0;
	transition: color 0.2s;
}
.comments-toggle:hover,
.comments-toggle:focus,
.comments-toggle:active {
	background: none;
	color: var(--c-text-muted);
	text-decoration: none;
}
/* 点击后不出现浏览器的焦点框（链接点击本来就没有）；键盘 Tab 导航仍保留 */
.comments-toggle:focus {
	outline: none;
}
.comments-toggle:focus-visible {
	outline: 1px dotted var(--c-text-muted);
}
/* 折叠区与按钮之间留出行间距（reset 清掉了标题的默认 margin） */
.comments-body {
	margin-top: 1.6em;
}
.comments-title {
	font-size: var(--text-2xl);
	line-height: 1.2;
	margin-bottom: 1em;
}
.comment-list {
	margin: 1.6em 0;
}
.comment-list,
.comment-list .children {
	list-style-type: none;
	padding: 0;
}
.comment,
.pingback,
.trackback {
	padding: 1.6em 0;
}
.comment-body .edit-link a {
	margin-left: .4em;
}
#respond {
	margin: 0;
}
#respond h3#reply-title {
	margin: 0 0 .4em;
}
.entry-author {
	border: 1px solid var(--c-line-soft);
	padding: 1.6em;
	margin: 0 0 1.6em;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	align-content: flex-start;
}
.author-avatar {
	order: 3;
	width: 25%;
	margin-top: -1.6em;
	text-align: right;
}
.author-heading {
	order: 1;
}
.author-bio {
	order: 2;
	font-size: var(--text-md);
}
.author-heading,
.author-bio {
	width: 75%
}
.author-title {
	font-size: var(--text-xl);
	margin-bottom: 0;
}
.author-avatar img {
	border-radius: 50%;
	/* 原站自定义样式里有全局 img { margin-bottom: 35px }（vendor/wp-custom.css），
	   头像也继承了它：35px 下边距 + inline 的基线空隙，把作者框撑高约 43px。
	   头像不需要这层下边距，这里单独清掉，正文图片不受影响。 */
	margin-bottom: 0;
	/* 改成 block 之后 img 不再听 .author-avatar 的 text-align: right，
	   会贴到 25% 宽栏的左边、右边空出一大块；用 margin-left: auto 顶到右边。 */
	display: block;
	margin-left: auto;
}
.depth-1 {
	border-bottom: solid 1px var(--c-line-soft);
}
.depth-1:first-child {
	margin-top: 0;
	padding-top: 0;
}
.comment-list .children {
	margin-top: 24px;
}
.comment-list .children .comment {
	border-left: 3px solid var(--c-line-faint);
	padding-left: 24px;
}
.comment-author .avatar {
	float: left;
	margin-right: 12px;
	border-radius: 50%;
}
.comment-meta {
	margin-bottom: 1em;
}
.comment-meta a {
	color: var(--c-accent);
}
.comment-meta a:hover,
.comment-meta a:focus,
.comment-meta a:active {
	color: var(--c-text-muted);
}
.comment-meta .fn {
	display: inline-block;
	font-size: var(--text-sm);
	font-weight: bold;
	font-style: normal;
	margin-right: 1em;
	/* text-transform: uppercase; */
}
.says {
	display: none;
}
.comment-metadata {
	display: inline-block;
	font-size: var(--text-md);
}
.comment-metadata a {
	color: var(--c-text-muted);
	transition: color 0.2s;
}
.comment-metadata a:hover,
.comment-metadata a:focus,
.comment-metadata a:active {
	color: var(--c-text-soft);
}
.comment-content {
	margin-bottom: .8em;
}
.comment-content a {
	word-wrap: break-word;
}
.comment-reply-link:after {
	content: "\00A0\2192";
}
.comment-respond {
	padding: 25px 20px 20px 0;
}
.comment-reply-link,
.comment-content {
	margin-left: 44px;
}
.comment-form label {
	color: var(--c-text-muted);
	display: inline-block;
	width: 109px;
}

.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-form-comment {
	margin: 0 0 1.6em;
	position: relative;
}
.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label {
	font-size: 1.4rem; /* 原来写了两遍（15px / 1.4rem），后者生效 */
	font-weight: bold;
	padding: 0.65em 0.8em;
	position: absolute;
	left: 0;
	/* text-transform: uppercase; */
}
.comment-form-author input,
.comment-form-author textarea,
.comment-form-email input,
.comment-form-email textarea,
.comment-form-url input,
.comment-form-url textarea,
.comment-form-comment input,
.comment-form-comment textarea {
	clear: both;
	padding-left: 6.4em;
	width: 100%;
}
.comment-form-author textarea,
.comment-form-email textarea,
.comment-form-url textarea,
.comment-form-comment textarea {
	padding: 2em 0.8em 0.375em;
}
.form-allowed-tags {
	font-size: 1.4rem;
}
.no-comments {
	text-align: center;
}

/*--------------------------------------------------------------
10.4 Page Templates / 页面模板
--------------------------------------------------------------*/
.content-wrapper {
	background: var(--c-bg);
	padding: 3.2em 4%;
	position: relative;
}
.content-wrapper.with-featured-image {
	padding: 1.6em 0;
}

/* Front Page Template */
.flexslider.hero {
	position: relative;
}
.hero-content {
	position: relative;
	overflow: hidden;
}
.hero-content img,
.thumbnail-placeholder {
	display: block;
}

/* Slider */

.flex-container a:hover,
.flex-slider a:hover {
	outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}
.flex-pauseplay span {
	text-transform: capitalize;
}
.flexslider {
	margin: 0;
	padding: 0;
}
.flexslider .slides > div {
	display: none;
	-webkit-backface-visibility: hidden;
}
.flexslider .slides img,
.flexslider .slides .thumbnail-placeholder {
	width: 100%;
	display: block;
}
.flexslider .slides:after {
	content: "\0020";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
html[xmlns] .flexslider .slides {
	display: block;
}
.no-js .flexslider .slides > div:first-child {
	display: block;
}

.flexslider .slides {
	zoom: 1;
}
.flexslider .slides img,
.flexslider .slides .thumbnail-placeholder {
	height: auto;
	-moz-user-select: none;
}
.flex-viewport {
	max-height: 2000px;
	transition: all 1s ease;
}
.loading .flex-viewport {
	max-height: 300px;
}
.flex-direction-nav {
	width: 100%;
}
.flex-direction-nav a {
	text-decoration: none;
	display: block;
	width: 28px;
	height: 28px;
	margin: 2px 0 0;
	opacity: 0.8;
	position: absolute;
	bottom: 1.6em;
	z-index: 10;
	overflow: hidden;
	cursor: pointer;
	color: var(--c-white);
	transition: all 0.2s;
}
.flex-direction-nav a:before {
	font-family: var(--font-icons);
	font-size: var(--text-3xl);
	display: inline-block;
	content: '\f430';
	color: var(--c-white);
	line-height: 1;
}
.flex-direction-nav a.flex-next:before {
	content: '\f429';
}
.flex-direction-nav .flex-prev {
	right: 3.6em;
}
.flex-direction-nav .flex-next {
	text-align: right;
	right: 1.6em;
}
.flexslider:hover .flex-direction-nav .flex-prev,
.flexslider:hover .flex-direction-nav .flex-prev:hover,
.flexslider:hover .flex-direction-nav .flex-next,
.flexslider:hover .flex-direction-nav .flex-next:hover {
	opacity: 1;
}

.hero-content-wrapper {
	background: var(--c-bg-dark);
	min-height: 180px;
	overflow: hidden;
	position: relative;
}
.hero-content-wrapper:before {
	background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%);
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
}
.hero-content-wrapper .featured-post {
	padding: 0 1.6em;
	position: absolute;
	left: 0;
	bottom: 1.6em;
	width: 80%;
	z-index: 2;
}
.hero-content-wrapper .cat-links {
	margin-bottom: .4em;
}
.hero-content-wrapper .cat-links a {
	background-color: var(--c-accent);
	display: inline-block;
	color: var(--c-white);
	font-size: var(--text-2xs);
	margin-right: 4px;
	margin-bottom: 4px;
	padding: 2px 8px;
	transition: color 0.2s;
}
.hero-content-wrapper .cat-links a:hover,
.hero-content-wrapper .cat-links a:focus,
.hero-content-wrapper .cat-links a:active {
	color: rgba(255,255,255,0.5);
}
.hero-content-wrapper .entry-title {
	color: var(--c-white);
	font-weight: bold;
	margin: 0 0 .2em;
	line-height: 1.1;
	transition: color 0.2s;
}
.hero-content-wrapper .entry-title:hover,
.hero-content-wrapper .entry-title:focus,
.hero-content-wrapper .entry-title:active {
	color: rgba(255,255,255,0.75);
}
.hero-content-wrapper .entry-meta {
	line-height: 1;
	margin: 0;
	position: relative;
	text-align: left;
	width: auto;
	left: auto;
	top: auto;
}
.hero-content-wrapper .entry-meta a {
	color: rgba(255,255,255,0.75);
	transition: color 0.2s;
}
.hero-content-wrapper .entry-meta a:hover,
.hero-content-wrapper .entry-meta a:focus,
.hero-content-wrapper .entry-meta a:active {
	color: rgba(255,255,255,1);
}
.hero-content-wrapper .entry-meta > span {
	color: rgba(255,255,255,0.75);
	display: inline-block;
	margin: 0;
}
.hero-content-wrapper .entry-meta > span:after {
	content: "|";
	display: inline-block;
	margin: 0 8px;
}
.hero-content-wrapper .entry-meta > span:last-of-type {
	margin-right: 0;
}
.hero-content-wrapper .entry-meta > span:last-of-type:after {
	display: none;
}

/* Front Page */
.front-page-content-area .entry-footer {
	margin-bottom: 0;
}
.featured-page-area {
	border-bottom: 1px solid var(--c-line-soft);
}
.featured-page-area,
.front-testimonials {
	padding: 1.6em 0 3.2em;
}
.featured-page-area {
	padding-bottom: 0;
}
.featured-page {
	font-size: var(--text-md);
	margin-bottom: 3.2em;
}
.featured-page .entry-summary {
	min-height: 0;
	margin: 0;
}
.featured-page .entry-title,
.featured-page .entry-title a {
	color: var(--c-text);
	font-size: var(--text-xl);
	font-weight: normal;
	text-align: center;
	text-transform: none;
}
.featured-page .entry-title:before,
.featured-page .entry-title:after {
	content: " - ";
}

/* Grid Page */
.grid-page-content-area .entry-content {
	min-height: 0;
}
.grid-page-content-area .child-pages {
	padding-top: 1.6em;
}
.grid-page-content-area .child-pages .hentry {
	float: none;
	margin: 0 auto 1.6em;
}
.grid-page-content-area .child-pages .entry-thumbnail img {
	display: block;
}
.grid-page-content-area .child-pages .entry-header {
	margin: 0 0 .8em;
	padding: 0;
}
/* Full-Width Page Template */
.content-wrapper.full-width.with-featured-image {
	margin: 0;
	padding: 1.6em 0 0;
}
.content-wrapper.full-width .content-area {
	width: 100%;
	max-width: 100%;
}
.content-wrapper.full-width .hentry:after {
	width: 100%;
}

/*--------------------------------------------------------------
10.5 Testimonials / 评价
--------------------------------------------------------------*/

.testimonials > .hentry:first-of-type {
	margin-bottom: 4em;
}
.testimonials > .hentry:first-of-type:after {
	margin-top: 1.6em;
	margin-bottom: 1.6em;
}
body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial {
	border: 1px solid var(--c-line-soft);
	margin: 3.2em 0 0;
	padding: 0 1.6em;
	text-align: center;
	width: 100%;
}
.comment-body .edit-link a,
.front-testimonials .edit-link a,
body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial .edit-link a {
	color: var(--c-text-muted);
	font-family: var(--font-serif);
	font-size: var(--text-sm);
}
body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial:nth-child(even) {
	margin-right: 0;
}
.testimonial-thumbnail {
	width: 90px;
	height: 90px;
	margin: -45px auto 0;
	text-align: center;
}
.testimonial-thumbnail img,
.testimonial-featured-image img {
	border-radius: 50px;
}
body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial .entry-header,
body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial-shortcode .entry-header {
	overflow: hidden;
	padding-bottom: 1.6em;
}
body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial .entry-title a,
body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial .entry-title,
.jetpack-testimonial-shortcode .testimonial-entry-title {
	color: var(--c-accent);
	font-family: var(--font-sans);
	font-size: var(--text-sm);
	font-weight: bold;
	/* text-transform: uppercase; */
}
body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial .entry-content,
.jetpack-testimonial-shortcode .testimonial-entry-content {
	font-style: italic;
	margin: 0;
	overflow: hidden;
	padding: 0.8em 0;
}
body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial.without-featured-image .entry-content {
	padding: 3.2em 0 0.8em;
}
body:not(.search):not(.single-jetpack-testimonial) .jetpack-testimonial .entry-meta,
.jetpack-testimonial-shortcode .entry-meta {
	clear: both;
	text-align: center;
}
/* Testimonials Shortcode */
.jetpack-testimonial-shortcode .testimonial-entry {
	border: 1px solid var(--c-line-soft);
	padding: 1.6em 1% 0;
	margin-top: 3.2em;
	margin-bottom: 3.2em;
	text-align: center;
}
.jetpack-testimonial-shortcode .testimonial-entry-title {
	letter-spacing: 2px;
	margin-bottom: 1.6em;
}
.testimonial-featured-image img {
	margin-bottom: -45px;
	position: relative;
	width: 90px;
	height: 90px;
}
.testimonial-entry-column-2 {
	width: 44% !important;
}
.testimonial-entry-column-3 {
	width: 27% !important;
}
.testimonial-entry-column-4 {
	width: 18% !important;
}
.testimonial-entry-column-5 {
	width: 15% !important;
}
.testimonial-entry-column-6 {
	width: 11% !important;
}

/* Testimonials Single View */
.single .jetpack-testimonial {
	float: none;
	width: 100%;
}
.single .jetpack-testimonial:after {
	background: none;
}

/* Testimonials Archives Page */
.content-wrapper .testimonials-content-area.content-area {
	margin-bottom: 3.2em;
}
.testimonials.grid .jetpack-testimonial {
	float: none;
	width: auto;
	margin: 0 0 0 0;
}
.archive .testimonials .hentry {
	margin: 0 0 3.2em;
}
.archive .testimonials .without-featured-image > .entry-header,
.no-sidebar.archive .testimonials .without-featured-image > .entry-header {
	margin-left: 0;
}
.testimonials .no-results {
	margin-bottom: 3.2em;
}
.post-type-archive-jetpack-testimonial .content-wrapper.full-width .hentry:after {
	background: none;
}

/*--------------------------------------------------------------
10.6 Footer / 页脚
--------------------------------------------------------------*/
.site-footer {
	background-color: var(--c-bg-dark);
	color: var(--c-white);
	font-size: var(--text-sm);
	padding: 24px 34px 24px 34px;
	text-align: center;
	letter-spacing: 2px;
	/* text-transform: uppercase; */
}
.site-info a {
	color: var(--c-white);
}
.site-info a:hover,
.site-info a:focus,
.site-info a:active {
	color: var(--c-accent);
}
.site-info .sep {
	margin: 0 .4em;
}

/*--------------------------------------------------------------
11.0 Jetpack / Jetpack 扩展
--------------------------------------------------------------*/
/* Infinite Scroll */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}
.infinity-end.neverending .site-footer {
	display: block;
}
.infinite-loader {
	margin: 0 auto;
	width: 36px;
}
#infinite-handle {
	margin-bottom: .8em;
	text-align: center;
}
#infinite-handle span {
	margin: 0 auto;
	text-align: center;
	transition: color 0.2s;
}
#infinite-handle span button {
	box-shadow: none;
}

.portfolio-entry-title {
	font-weight: normal !important;
}
.project-types,
.project-tags {
	color: var(--c-text-muted);
	font-size: var(--text-sm);
	/* text-transform: uppercase; */
	letter-spacing: 1px;
}

/*--------------------------------------------------------------
12.0 Media / 媒体
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}
/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object,
audio,
video {
	display: block;
	margin-bottom: 1.6em;
	max-width: 100%;
}
.jetpack-video-wrapper {
	margin-bottom: 1.6em;
}

/*--------------------------------------------------------------
12.1 Captions / 图说
--------------------------------------------------------------*/
.wp-caption {
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
	max-width: 100%;
}
.wp-caption-dd,
.wp-caption-text {
	clear: both;
	font-size: var(--text-sm);
	font-style: italic;
	text-align: center;
	width: 100%;
}
.wp-caption .wp-caption-dd,
.wp-caption .wp-caption-text {
	margin: 0.8em 0;
}

/*--------------------------------------------------------------
12.2 Galleries / 图库
--------------------------------------------------------------*/
.site-main .gallery {
	margin-bottom: 1.6em;
}
.site-main .gallery a img {
	border: none;
	height: auto;
}
.site-main .gallery dd {
	margin: 0;
}
.gallery-item {
	display: inline-block;
	overflow: hidden;
	padding: 0 4px;
	position: relative;
	text-align: center;
	vertical-align: top;
	width: 100%;
}
.gallery-columns-1 .gallery-item {
	padding: 0;
}
.gallery-columns-2 .gallery-item {
	max-width: 50%;
}
.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
	max-width: 25%;
}
.gallery-columns-5 .gallery-item {
	max-width: 20%;
}
.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}
.gallery-caption {
	color: var(--c-white);
	background-color: rgba(0, 0, 0, 0.7);
	font-size: var(--text-sm);
	margin: 0;
	max-height: 100%;
	opacity: 0;
	padding: 6px 8px;
	position: absolute;
	bottom: 7px;
	left: 0;
	text-align: left;
	width: 100%;
}
.gallery-caption:before {
	content: "";
	min-height: 49px;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.gallery-item:hover .gallery-caption,
.gallery-item:focus .gallery-caption,
.gallery-item:active .gallery-caption {
	opacity: 1;
}
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

/*--------------------------------------------------------------
12.3 Home Columns / 首页两列自动对齐
--------------------------------------------------------------*/
/* 首页「文章分类 | 右列」区块：两列在桌面端（>=782px，与 WP 的列并排断点
   一致）被 flex 拉伸到同高，两列各自又是纵向 flex，于是列高和列内间距
   全部自动算出来，改内容不用再手工调空白：
   - 右列的两个 .home-col-gap 是弹性件（flex-basis:0，min-height 兜底），
     把「左列比右列多出来的富余高度」自动均分掉，右列底部因此始终与左列
     底部齐平；
   - 左列的分类树撑满列高，三个分类组用 space-between 分摊富余高度。
     右列内容变长（推荐应用增删行）把整行顶高时，左列跟着一起长，两列
     照样齐平。
   窄屏（<782px）两列上下堆叠，媒体查询不生效，spacer 保持固定高度。 */
@media (min-width: 782px) {
	.home-col-left {
		display: flex;
		flex-direction: column;
	}
	.home-col-left > .wp-block-categories-list {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		flex: 1 1 auto;
	}
	.home-col-right {
		display: flex;
		flex-direction: column;
	}
	.home-col-right > .home-col-gap {
		flex: 1 1 0;
		min-height: 24px;
	}
}
/* 正文标题的上边距（见 .entry-content h2..h6）是给博文正文的节奏，首页两列
   区块不用它：线上原站这个区块的标题之间靠 wp-block-spacer 空隙分隔，标题
   自身 margin-top 为 0。留着这段上边距会让左列的「文章分类」比右列的
   「推荐应用」低一截，两列标题就对不齐了。 */
.home-columns h2,
.home-columns h3,
.home-columns h4,
.home-columns h5,
.home-columns h6 {
	margin-top: 0;
}
/* 窄屏（<782px）两列上下堆叠，不再需要分摊富余高度，spacer 用线上原站的
   固定 75px（桌面端的弹性行为只在 >=782px 生效，这里是唯一的高度来源）。 */
@media (max-width: 781px) {
	.home-col-gap {
		height: 75px;
	}
}

/*--------------------------------------------------------------
12.4 Home Spacing / 首页区块之间的间距
--------------------------------------------------------------*/
/* 线上原站首页的节奏（实测 guanjihuan.com）：
   - 个人信息区块前面有一个 25px 的 wp-block-spacer；
   - 个人信息区块与文章分类区块之间 100px；
   - 之后每个小节（子域站点 / 最近发布 / 最近修改 / 分类推荐 / 本站说明 /
     联系方式）前面都有一个 100px 的 spacer，小节标题 margin-top 为 0；
   - 小节里的列表 margin-bottom 28.8px。
   本站首页的小节标题来自 Markdown（### 子域站点 等），区块来自 HTML 模板，
   间距统一在这里用 CSS 复刻，不再往首页 Markdown 里写 spacer：
   - 标题用 padding-top 而不是 margin-top：相邻元素的 margin 会合并，
     用 margin 的话上一段的 28.8px 下边距会被吞掉，跟原站「28.8px + 100px」
     对不上；padding 不参与合并，两个值都在。
   - 两个并排区块之间也补 100px。
   两列区块内部的间距（home-col-gap）由 12.3 节负责，这里不动。 */
.front-page-content-area .entry-content {
	padding-top: 25px;
}
.front-page-content-area .entry-content > .wp-block-group + .wp-block-group {
	margin-top: 100px;
}
.front-page-content-area .entry-content > h2,
.front-page-content-area .entry-content > h3 {
	margin-top: 0;
	padding-top: 100px;
}

/* 只有两个断点，顺序必须保持从小到大：
   768px  平板：水平主菜单、页脚小工具并排；
   850px  桌面：字号放大、正文与侧栏两栏。
   CSS 变量不能用于媒体查询条件，改断点时同时搜索这两个数值。 */

@media screen and (min-width: 768px) {
	/* Navigation */
	.main-navigation {
		padding: 0 55px;
	}
	.main-navigation ul {
		display: block;
		list-style: none;
		text-align: center;
	}
	.main-navigation ul li {
		border: 0 none;
		display: inline-block;
		padding: .4em 0 .4em .8em;
		position: relative;
	}
	.main-navigation ul a {
		display: inline-block;
		padding: .4em 0;
	}
	.main-navigation .nav-menu > li:before,
	.main-navigation .menu > li:before {
		color: rgba(0,0,0,0.15);
		content: " \2022";
		margin-right: 1em;
		display: inline-block;
	}
	.main-navigation .nav-menu > li:first-child,
	.main-navigation .menu > li:first-child {
		padding-right: 0;
	}
	.main-navigation .nav-menu > li:first-child:before,
	.main-navigation .menu > li:first-child:before {
		display: none;
	}
	.main-navigation ul ul {
		background-color: var(--c-accent);
		box-shadow: rgba(0,0,0, 0.1) 0 1px 2px;
		display: block;
		left: -99999em;
		margin: 0;
		position: absolute;
		top: 2.8em;
		z-index: 99999;
	}
	.main-navigation .menu-item-has-children > a:after,
	.main-navigation .page_item_has_children > a:after {
/* 		content: "\f502"; */
/* 		GUAN */
		font-family: var(--font-icons);
		font-size: 8px;
		display: inline;
		padding-left: .8em;
	}
	.main-navigation ul ul .menu-item-has-children > a:after,
	.main-navigation ul ul .page_item_has_children > a:after {
		content: "\f501";
	}

	/* 下拉菜单：默认用负偏移移出视口，悬停 / 键盘 focus 时拉回。
	   不要改成 display: none，原主题依赖绝对定位与 z-index 层级。 */
	.main-navigation ul li:first-child:hover > ul,
	.main-navigation ul li:first-child.focus > ul {
		left: .2em;
	}
	.main-navigation ul li:hover > ul,
	.main-navigation ul li.focus > ul {
		left: 1.4em;
	}
	.main-navigation ul li:hover > ul ul,
	.main-navigation ul li.focus > ul ul {
		left: -99999em;
	}
	.main-navigation ul ul li:hover > ul,
	.main-navigation ul ul li.focus > ul,
	.main-navigation ul ul li:first-child:hover > ul,
	.main-navigation ul ul li:first-child.focus > ul {
		left: 100%;
	}
	.main-navigation ul ul li {
		padding: 0;
		text-align: left;
	}
	.main-navigation ul ul a,
	.main-navigation ul ul ul a,
	.main-navigation ul ul ul ul a {
		padding-left: .8em;
	}
	.main-navigation ul ul a:hover,
	.main-navigation ul ul > li.focus > a {
		opacity: 0.5;
	}
	.main-navigation ul ul a {
		border-top-color: rgba(255,255,255,0.25);
		display: block;
		font-size: var(--text-sm);
		font-weight: normal;
		width: 210px;
		padding: .8em;
		/* text-transform: uppercase; */
	}
	.main-navigation ul ul ul {
		top: 0;
		left: 100%;
	}

	/* Small menu */
	.menu-toggle {
		cursor: pointer;
		display: none;
	}

	/* Front Page */
	body:not(.search):not(.single-jetpack-testimonial) .front-testimonials .jetpack-testimonial:nth-child(even) {
		margin-right: 0;
	}
	body:not(.search):not(.single-jetpack-testimonial) .front-testimonials .jetpack-testimonial {
		float: left;
		width: 48%;
		margin-right: 4%;
	}

	/* Front Page & Footer Widget Areas */
	.footer-widget-area .widget-area {
		float: none;
		margin: 0;
		width: auto;
	}
	.featured-page {
		margin-bottom: 0;
	}
	.featured-page-area .featured-page,
	.footer-widget-area .widget-area {
		float: left;
	}
	.featured-page-area .featured-page:nth-child(1):nth-last-child(1),
	.footer-widget-area .widget-area:nth-child(1):nth-last-child(1) {
		width: 100%;
	}
	.featured-page-area .featured-page:nth-child(1):nth-last-child(2),
	.featured-page-area .featured-page:nth-child(2):nth-last-child(1),
	.footer-widget-area .widget-area:nth-child(1):nth-last-child(2),
	.footer-widget-area .widget-area:nth-child(2):nth-last-child(1) {
		margin-right: 6%;
		width: 47%;
	}
	.featured-page-area .featured-page:nth-child(1):nth-last-child(2):last-of-type,
	.featured-page-area .featured-page:nth-child(2):nth-last-child(1):last-of-type,
	.footer-widget-area .widget-area:nth-child(1):nth-last-child(2):last-of-type,
	.footer-widget-area .widget-area:nth-child(2):nth-last-child(1):last-of-type {
		margin-right: 0;
	}
	.featured-page-area .featured-page:nth-child(1):nth-last-child(3),
	.featured-page-area .featured-page:nth-child(2):nth-last-child(2),
	.featured-page-area .featured-page:nth-child(3):nth-last-child(1),
	.footer-widget-area .widget-area:nth-child(1):nth-last-child(3),
	.footer-widget-area .widget-area:nth-child(2):nth-last-child(2),
	.footer-widget-area .widget-area:nth-child(3):nth-last-child(1) {
		margin-right: 5%;
		width: 30%;
	}
	.featured-page-area .featured-page:nth-child(1):nth-last-child(3):last-of-type,
	.featured-page-area .featured-page:nth-child(2):nth-last-child(2):last-of-type,
	.featured-page-area .featured-page:nth-child(3):nth-last-child(1):last-of-type,
	.footer-widget-area .widget-area:nth-child(1):nth-last-child(3):last-of-type,
	.footer-widget-area .widget-area:nth-child(2):nth-last-child(2):last-of-type,
	.footer-widget-area .widget-area:nth-child(3):nth-last-child(1):last-of-type {
		margin-right: 0;
	}

	/* Sidebar */
	#secondary.widget-area {
		margin-right: 4%;
		margin-left: 4%;
	}
}

@media screen and (min-width: 850px) {

	/* Font sizes */
	.site-title,
	h1 {
		font-size: var(--text-4xl);
		line-height: 1.1;
		margin-bottom: 0.2em;
	}
	.page-title,
	.entry-title,
	.entry-title a {
		font-size: var(--text-3xl);
	}
	h2 {
		font-size: var(--text-2xl);
		margin-bottom: 0.4em;
	}
	.featured-page .entry-title,
	.featured-page .entry-title a,
	h3 {
		font-size: var(--text-xl);
	}
	.site-description,
	h4,
	body,
	button,
	input,
	select,
	textarea {
		font-size: var(--text-lg);
	}
	h5 {
		font-size: var(--text-md);
	}
	h6,
	.cat-links a,
	.hero-content-wrapper .cat-links a {
		font-size: var(--text-sm);
	}

	.hero-content-wrapper .cat-links {
		margin-bottom: .8em;
	}
	.hero-content {
		overflow: visible;
	}

	/* Layout */
	.content-area {
		float: left;
		width: 68%;
	}
	.no-sidebar .content-area,
	.front-page-content-area.content-area {
		width: 100%;
		max-width: 100%;
	}
	#secondary.widget-area {
		float: right;
		margin: 0;
		width: 25%;
	}

	/* Posts */
	.hentry:after,
	.post-navigation:after,
	.posts-navigation:after,
	.page-header:after {
		width: 100%;
	}

	[class*="navigation"] .nav-previous {
		float: left;
		width: 48%;
	}
	[class*="navigation"] .nav-next {
		border-top: 0;
		margin-top: 0;
		padding-top: 0;
		float: right;
		width: 48%;
	}

}