/*
Theme Name: 鲲鹏 Kunpeng
Theme URI: https://hnkzp.com/
Author: Pei xueke
Description: 河南鲲之鹏律师事务所官网主题。沿用原 Education Mind 主题的版式：白底 Logo 栏 + 通栏深蓝导航、首页深蓝压色大图配宋体标语、内页横幅图和右侧栏；页面上的文字、图片都能在后台改。不依赖外部字体和前端框架。
Version: 1.6.0
Requires at least: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kunpeng
*/

/* ==========================================================================
   设计变量（深蓝、强调蓝、页脚色取自原主题）
   ========================================================================== */

:root {
	--navy: #083a6f;
	--navy-dark: #062b53;
	--blue: #3770ab;
	--footer: #12223d;
	--ink: #222;
	--text: #4a4a4a;
	--muted: #8a8f98;
	--line: #e5e7eb;
	--subtle: #f4f6f9;
	--white: #fff;
	--gold: #b8995e; /* 深色底上的点缀金 */
	--gold-ink: #9a7b45; /* 白底上用的金，深一点才看得清 */

	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
	--serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", "Noto Serif CJK SC", "SimSun", serif; /* 大标题用宋体，只用系统自带的 */

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--top-h: 120px;
	--nav-h: 58px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   基础
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font: 16px/1.8 var(--font);
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--ink);
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.4;
}

a {
	color: var(--navy);
	text-decoration: none;
	transition: color .2s var(--ease);
}

a:hover {
	color: var(--blue);
}

:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 3px;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

.container {
	width: min(100% - 2 * var(--gutter), var(--container));
	margin-inline: auto;
}

/* 插件内容的负外边距、100vw 全宽块会撑出横向滚动条 */
.site-main {
	overflow-x: clip;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link:focus {
	z-index: 100;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 12px 20px;
	clip: auto;
	clip-path: none;
	background: var(--navy);
	color: var(--white);
}

/* ==========================================================================
   按钮和链接
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 26px;
	border: 1px solid var(--blue);
	background: var(--blue);
	color: var(--white);
	font: 400 15px/1 var(--font);
	letter-spacing: .08em;
	cursor: pointer;
	transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.btn:hover {
	border-color: var(--navy);
	background: var(--navy);
	color: var(--white);
}

.btn--line {
	background: transparent;
	color: var(--blue);
}

/* 深色底上的按钮：金底深蓝字（白字在金底上对比度不够），白色描边 */
.btn--gold,
.btn--ghost {
	min-height: 52px;
	padding: 0 32px;
	font-size: 16px;
	letter-spacing: .12em;
}

.btn--gold {
	border-color: var(--gold);
	background: var(--gold);
	color: var(--navy-dark);
	font-weight: 600;
}

.btn--gold:hover {
	border-color: #ccb07c;
	background: #ccb07c;
	color: var(--navy-dark);
}

.btn--ghost {
	border-color: rgba(255, 255, 255, .55);
	background: transparent;
	color: var(--white);
}

.btn--ghost:hover {
	border-color: var(--white);
	background: var(--white);
	color: var(--navy-dark);
}

.btn svg,
.link-more svg {
	width: 16px;
	height: 16px;
	flex: none;
}

.link-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--blue);
	font-size: 15px;
	letter-spacing: .04em;
}

.link-more svg {
	transition: transform .2s var(--ease);
}

.link-more:hover svg {
	transform: translateX(3px);
}

/* ==========================================================================
   页头：Logo 栏 + 导航条。整个页头 sticky，top 取负的 Logo 栏高度，
   滚动时 Logo 栏滚出去，导航条停在顶部
   ========================================================================== */

.site-header {
	position: sticky;
	z-index: 50;
	top: calc(-1 * var(--top-h));
	background: var(--white);
}

.admin-bar .site-header {
	top: calc(var(--wp-admin--admin-bar--height, 32px) - var(--top-h));
}

.header-top {
	height: var(--top-h);
}

.header-top__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	height: 100%;
}

.brand {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
	margin-right: auto;
	color: var(--ink);
}

.brand:hover {
	color: var(--ink);
}

.brand__logo {
	flex: none;
	width: 72px;
	height: 72px;
	border-radius: 50%;
}

.brand__text {
	min-width: 0;
}

.brand__name {
	display: block;
	font-size: 28px;
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1.3;
	white-space: nowrap;
}

.brand__sub {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-size: 15px;
	letter-spacing: .06em;
	line-height: 1.4;
}

.brand__sub--en {
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.header-contact {
	display: flex;
	gap: 36px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.header-contact li {
	display: flex;
	align-items: center;
	gap: 12px;
	line-height: 1.4;
}

.header-contact__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--blue);
}

.header-contact__icon svg {
	width: 20px;
	height: 20px;
}

.header-contact__label {
	display: block;
	color: var(--muted);
	font-size: 13px;
}

.header-contact a {
	color: var(--ink);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: .02em;
}

.header-contact a:hover {
	color: var(--blue);
}

/* 手机上页头右侧的拨号按钮 */
.header-call {
	display: none;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	color: var(--navy);
}

.header-call svg {
	width: 22px;
	height: 22px;
}

/* 导航条 */
.primary-nav {
	background: var(--navy);
	transition: box-shadow .3s var(--ease);
}

.site-header.is-scrolled .primary-nav {
	box-shadow: 0 8px 20px -10px rgba(8, 58, 111, .55);
}

.primary-nav .menu {
	display: flex;
	margin: 0 0 0 -18px;
	padding: 0;
	list-style: none;
}

.primary-nav .menu > li {
	position: relative;
}

.primary-nav .menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	height: var(--nav-h);
	padding: 0 18px;
	color: var(--white);
	font-size: 16px;
	letter-spacing: .06em;
	white-space: nowrap;
	transition: background .2s var(--ease);
}

.primary-nav .menu > li > a::after {
	content: "";
	position: absolute;
	right: 18px;
	bottom: 0;
	left: 18px;
	height: 3px;
	background: var(--white);
	transform: scaleX(0);
	transition: transform .25s var(--ease);
}

.primary-nav .menu > li > a:hover,
.primary-nav .menu > li:focus-within > a {
	background: rgba(255, 255, 255, .08);
	color: var(--white);
}

/* current_page_parent：看文章或分类时，“律所资讯”（文章页）这一项也算当前 */
.primary-nav .menu > .current-menu-item > a::after,
.primary-nav .menu > .current-menu-ancestor > a::after,
.primary-nav .menu > .current_page_parent > a::after,
.primary-nav .menu > li > a:hover::after {
	transform: scaleX(1);
}

/* 有下拉的菜单项：文字右边一个小箭头，展开时朝上 */
.primary-nav .menu > .menu-item-has-children > a {
	padding-right: 34px;
}

.primary-nav .menu > .menu-item-has-children > a::after {
	right: 34px;
}

.primary-nav .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 6px;
	height: 6px;
	margin-top: -5px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s var(--ease);
}

.primary-nav .menu-item-has-children:hover > a::before,
.primary-nav .menu-item-has-children:focus-within > a::before {
	transform: translateY(3px) rotate(-135deg);
}

.primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	margin: 0;
	padding: 8px 0;
	border-top: 3px solid var(--blue);
	background: var(--white);
	box-shadow: 0 14px 30px -12px rgba(8, 58, 111, .35);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.primary-nav .sub-menu a {
	display: block;
	padding: 10px 22px;
	color: var(--text);
	font-size: 15px;
	white-space: nowrap;
}

.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu .current-menu-item > a {
	background: var(--subtle);
	color: var(--navy);
}

/* 展开子菜单的按钮，只在手机菜单里出现 */
.submenu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 56px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: none;
	color: var(--text);
	cursor: pointer;
}

.submenu-toggle::before {
	content: "";
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s var(--ease);
}

.is-open > .submenu-toggle::before {
	transform: translateY(4px) rotate(-135deg);
}

.nav-toggle {
	display: none;
	flex: none;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 44px;
	height: 44px;
	padding: 0 10px;
	border: 0;
	background: none;
	cursor: pointer;
}

.nav-toggle__bar {
	display: block;
	height: 2px;
	background: var(--navy);
	transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.nav-open .nav-toggle__bar:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.nav-open .nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

.nav-open .nav-toggle__bar:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   首页
   ========================================================================== */

/*
 * 主视觉：背景图（几张叠在同一格里，切换时淡入淡出）+ 左深右浅的深蓝遮罩 + 标语和按钮。
 * 电脑上高度取“一屏减去页头”，正好占满第一屏；没选背景图时是深蓝渐变。
 */
.slider {
	--fold: calc(100vh - var(--top-h) - var(--nav-h) - var(--wp-admin--admin-bar--height, 0px));
	position: relative;
	display: grid;
	grid-template: minmax(0, 1fr) / minmax(0, 1fr);
	height: clamp(520px, var(--fold), 1080px);
	overflow: hidden;
	background: linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 100%);
	color: var(--white);
}

@supports (height: 100svh) {
	.slider {
		--fold: calc(100svh - var(--top-h) - var(--nav-h) - var(--wp-admin--admin-bar--height, 0px));
	}
}

.slider::before {
	content: "";
	z-index: 1;
	grid-area: 1 / 1;
	background: linear-gradient(90deg, rgba(4, 26, 52, .94) 0%, rgba(4, 26, 52, .82) 32%, rgba(4, 26, 52, .35) 62%, rgba(4, 26, 52, .1) 100%);
}

.slider--plain::before {
	display: none;
}

.slider__slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity .9s ease, visibility .9s;
}

.slider__slide.is-active {
	opacity: 1;
	visibility: visible;
}

/* 图片主体一般在右半边，裁切时偏右保留 */
.slider__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% center;
}

.slider__content {
	z-index: 2;
	grid-area: 1 / 1;
	align-self: center;
	padding-block: 48px;
}

.hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 clamp(16px, 1.6vw, 24px);
	color: var(--gold);
	font-size: 13px;
	letter-spacing: .32em;
	line-height: 1.5;
	text-transform: uppercase;
}

.hero__eyebrow::before {
	content: "";
	width: 40px;
	height: 1px;
	flex: none;
	background: currentColor;
}

.hero__title {
	margin: 0;
	color: var(--white);
	font: 700 clamp(34px, 2.4vw + 22px, 72px)/1.4 var(--serif);
	letter-spacing: .12em;
}

.hero__text {
	max-width: 36em;
	margin: clamp(16px, 1.6vw, 24px) 0 0;
	color: rgba(255, 255, 255, .8);
	font-size: clamp(15px, 1.15vw, 18px);
	letter-spacing: .08em;
	line-height: 2;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 16px;
	margin-top: clamp(28px, 2.8vw, 44px);
}

.slider__dots {
	position: absolute;
	z-index: 2;
	bottom: clamp(12px, 2vw, 28px);
	left: 50%;
	display: flex;
	gap: 4px;
	transform: translateX(-50%);
}

.slider__dot {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

/* 圆点做成短横线，和标题上方的金线呼应 */
.slider__dot::before {
	content: "";
	width: 20px;
	height: 2px;
	background: rgba(255, 255, 255, .45);
	transition: background .2s var(--ease), width .2s var(--ease);
}

.slider__dot.is-active::before {
	width: 28px;
	background: var(--gold);
}

/* 区块 */
.section {
	padding: clamp(56px, 7vw, 96px) 0;
}

.section--subtle {
	background: var(--subtle);
}

.section:not(.section--subtle) + .section:not(.section--subtle) {
	padding-top: 0;
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: clamp(28px, 4vw, 44px);
}

/* 标题用宋体，下面一条金色短线 */
.section-title {
	position: relative;
	margin: 0;
	padding-bottom: 16px;
	font: 700 clamp(26px, 2.8vw, 34px)/1.4 var(--serif);
	letter-spacing: .1em;
}

.section-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 36px;
	height: 2px;
	background: var(--gold);
}

.section-sub {
	margin: 14px 0 0;
	color: #6b7280;
	font-size: 12px;
	letter-spacing: .2em;
	line-height: 1.5;
	text-transform: uppercase;
}

/* 业务领域：不加框，每项上面一条细线，序号用金色宋体 */
.practice-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0 clamp(24px, 3.4vw, 48px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.practice-grid__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	height: 100%;
	padding: 30px 0 34px;
	border-top: 1px solid var(--line);
	color: var(--ink);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1.5;
	text-wrap: balance;
	transition: color .25s var(--ease);
}

/* 悬停时顶上的细线变成深蓝粗线，从左往右展开 */
.practice-grid__item::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--navy);
	transition: width .4s var(--ease);
}

a.practice-grid__item:hover {
	color: var(--navy);
}

a.practice-grid__item:hover::before {
	width: 100%;
}

.practice-grid__no {
	color: var(--gold-ink);
	font: 400 32px/1 var(--serif);
	font-variant-numeric: tabular-nums;
}

/* 律师团队 */
.team-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.team-card__link {
	display: block;
	height: 100%;
	background: var(--white);
	box-shadow: 0 1px 3px rgba(8, 58, 111, .06);
	color: inherit;
	transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}

.team-card__link:hover {
	box-shadow: 0 16px 32px -16px rgba(8, 58, 111, .4);
	color: inherit;
	transform: translateY(-3px);
}

.team-card__photo {
	aspect-ratio: 3 / 4;
	margin: 0;
	overflow: hidden;
	background: var(--line);
}

.team-card__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 12%;
}

.team-card__name {
	display: block;
	padding: 16px 12px 0;
	color: var(--ink);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: .1em;
	text-align: center;
}

.team-card__name:last-child {
	padding-bottom: 18px;
}

.team-card__title {
	display: block;
	padding: 2px 12px 18px;
	color: var(--muted);
	font-size: 13.5px;
	text-align: center;
}

/* 最新动态 */
.news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.4vw, 28px);
}

.news-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 26px 26px 22px;
	border: 1px solid var(--line);
	border-top: 3px solid var(--blue);
	background: var(--white);
	color: inherit;
	transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.news-card__link:hover {
	border-top-color: var(--navy);
	box-shadow: 0 16px 32px -18px rgba(8, 58, 111, .4);
	color: inherit;
}

.news-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	color: var(--muted);
	font-size: 13.5px;
}

.news-card__meta time {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.news-card__meta svg {
	width: 15px;
	height: 15px;
}

.news-card__cat {
	padding: 0 8px;
	background: var(--subtle);
	color: var(--blue);
	font-size: 12.5px;
}

.news-card__title {
	display: -webkit-box;
	margin: 14px 0 10px;
	overflow: hidden;
	font-size: 18px;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	transition: color .2s var(--ease);
}

.news-card__link:hover .news-card__title {
	color: var(--navy);
}

.news-card__excerpt {
	display: -webkit-box;
	margin-bottom: 18px;
	overflow: hidden;
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.8;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.news-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	color: var(--blue);
	font-size: 14px;
}

.news-card__more svg {
	width: 15px;
	height: 15px;
	transition: transform .2s var(--ease);
}

.news-card__link:hover .news-card__more svg {
	transform: translateX(3px);
}

/* ==========================================================================
   页脚
   ========================================================================== */

.site-footer {
	background: var(--footer);
	color: rgba(255, 255, 255, .65);
	font-size: 14px;
}

.site-footer a {
	color: rgba(255, 255, 255, .78);
}

.site-footer a:hover {
	color: var(--white);
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 48px;
	padding: clamp(44px, 5vw, 64px) 0 clamp(32px, 4vw, 44px);
}

.site-footer .brand {
	color: var(--white);
}

.site-footer .brand__logo {
	width: 52px;
	height: 52px;
}

.site-footer .brand__name {
	font-size: 20px;
}

.site-footer .brand__sub {
	color: rgba(255, 255, 255, .5);
}

.footer__contact {
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.footer__contact li {
	display: grid;
	grid-template-columns: 3em 1fr;
	gap: 8px;
	margin-bottom: 8px;
	line-height: 1.75;
}

.footer__contact span:first-child {
	color: rgba(255, 255, 255, .45);
}

.footer__heading {
	position: relative;
	margin: 0 0 22px;
	padding-bottom: 12px;
	color: var(--white);
	font-size: 16px;
	letter-spacing: .1em;
}

.footer__heading::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 32px;
	height: 2px;
	background: var(--blue);
}

.footer__nav {
	columns: 2;
	column-gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer__nav li {
	margin-bottom: 8px;
}

.footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 13.5px;
}

.footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 32px;
	padding: 20px 0;
}

.footer__bottom p {
	margin: 0;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* 回到顶部：和上面的悬浮联系按钮同宽，对齐成一列 */
.to-top {
	position: fixed;
	z-index: 40;
	right: 20px;
	bottom: 20px;
	display: grid;
	place-items: center;
	width: 64px;
	height: 48px;
	background: var(--navy);
	color: var(--white);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .2s var(--ease);
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.to-top:hover {
	background: var(--blue);
	color: var(--white);
}

.to-top svg {
	width: 22px;
	height: 22px;
}

/* 悬浮联系按钮：电脑上在右下角竖排，“回到顶部”在它下面；弹出的详情在按钮左边，和按钮底边对齐往上长 */
.dock {
	position: fixed;
	z-index: 45;
	right: 20px;
	bottom: 76px; /* 20px + 回到顶部 48px + 间距 8px */
}

.dock__list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
	box-shadow: 0 12px 32px -12px rgba(4, 26, 52, .5);
}

.dock__item {
	position: relative;
}

.dock__item + .dock__item {
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.dock__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	width: 64px;
	height: 64px;
	padding: 0;
	border: 0;
	background: var(--navy-dark);
	color: var(--white);
	font: 12px/1.2 var(--font);
	letter-spacing: .04em;
	cursor: pointer;
	transition: background .2s var(--ease), color .2s var(--ease);
}

.dock__btn svg {
	width: 22px;
	height: 22px;
	flex: none;
}

.dock__btn:hover,
.dock__item.is-open > .dock__btn {
	background: var(--gold);
	color: var(--navy-dark);
}

.dock__panel {
	position: absolute;
	right: 100%;
	bottom: 0;
	padding-right: 12px; /* 鼠标从按钮移到面板上时不会断开 */
	opacity: 0;
	visibility: hidden;
	transform: translateX(8px);
	transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}

.dock__item.is-open > .dock__panel {
	opacity: 1;
	visibility: visible;
	transform: none;
}

@media (hover: hover) and (min-width: 1024px) {
	.dock__item:hover > .dock__panel,
	.dock__item:focus-within > .dock__panel {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.dock__item:hover > .dock__btn {
		background: var(--gold);
		color: var(--navy-dark);
	}
}

.dock__card {
	position: relative;
	min-width: 200px;
	padding: 18px 22px;
	background: var(--white);
	box-shadow: 0 16px 40px -12px rgba(4, 26, 52, .35);
	color: var(--text);
	text-align: center;
	white-space: nowrap;
}

/* 指向按钮中间的小三角 */
.dock__card::after {
	content: "";
	position: absolute;
	bottom: 25px;
	left: 100%;
	border: 7px solid transparent;
	border-left-color: var(--white);
}

.dock__title {
	margin: 0 0 6px;
	color: var(--muted);
	font-size: 13px;
	letter-spacing: .12em;
}

.dock__phone {
	margin: 0;
	color: var(--navy-dark);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: .04em;
	font-variant-numeric: tabular-nums;
}

.dock__qr {
	display: block;
	width: 160px;
	height: 160px;
	margin: 0 auto;
	object-fit: contain;
}

.dock__note {
	margin: 10px 0 0;
	color: var(--ink);
	font-size: 14px;
	letter-spacing: .04em;
}

.dock__hint {
	display: none;
}

.dock__people {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

.dock__tip {
	max-width: 280px;
	margin: -2px auto 8px;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.6;
	white-space: normal;
}

.dock__people li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 9px 2px;
	border-bottom: 1px solid var(--line);
}

.dock__people li:last-child {
	border-bottom: 0;
}

.dock__person {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	font-size: 15px;
	letter-spacing: .06em;
}

a.dock__person:hover {
	color: var(--navy);
}

.dock__person svg {
	width: 18px;
	height: 18px;
	flex: none;
	color: var(--blue);
}

/* 号码整段可选，复制不了时也能长按选中 */
.dock__number {
	margin-left: 4px;
	color: var(--muted);
	font-size: 14px;
	letter-spacing: .02em;
	font-variant-numeric: tabular-nums;
	user-select: all;
}

.dock__actions {
	display: flex;
	flex: none;
	gap: 8px;
}

.dock__copy,
.dock__add {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 0 10px;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--navy);
	font: 13px/1 var(--font);
	letter-spacing: .04em;
	cursor: pointer;
	transition: border-color .2s var(--ease), color .2s var(--ease);
}

.dock__copy:hover {
	border-color: var(--navy);
	color: var(--navy);
}

/* “加好友”打开手机 QQ 的资料卡，电脑上用不了，只在手机上显示 */
.dock__add {
	display: none;
	border-color: var(--gold);
	background: var(--gold);
	color: var(--navy-dark);
}

.dock__account {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 10px 0 0;
	color: var(--ink);
	font-size: 14px;
}

.dock__account .dock__number {
	margin: 0;
}

.dock__open {
	min-height: 40px;
	margin-top: 14px;
	padding: 0 22px;
	border-color: var(--navy-dark);
	background: var(--navy-dark);
	font-size: 14px;
}

.dock__open:hover {
	border-color: var(--gold);
	background: var(--gold);
	color: var(--navy-dark);
}

/* ==========================================================================
   内页
   ========================================================================== */

/* 横幅：页眉图像 + 左深右浅的遮罩，保证白字看得清；没有图时是深蓝渐变 */
.page-hero {
	position: relative;
	padding: clamp(48px, 8vw, 100px) 0;
	background: linear-gradient(120deg, var(--navy) 0%, #0f4f8c 100%) center / cover no-repeat;
	color: var(--white);
}

.page-hero.has-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(6, 24, 48, .7) 0%, rgba(6, 24, 48, .35) 60%, rgba(6, 24, 48, .2) 100%);
}

.page-hero .container {
	position: relative;
}

.page-hero__title {
	max-width: 24em;
	margin: 0;
	color: var(--white);
	font: 700 clamp(28px, 3.4vw, 40px)/1.4 var(--serif);
	letter-spacing: .1em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.page-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin-top: 12px;
	color: rgba(255, 255, 255, .85);
	font-size: 14px;
}

.page-hero__meta a {
	color: var(--white);
}

.breadcrumb {
	margin: 14px 0 0;
	color: rgba(255, 255, 255, .85);
	font-size: 14px;
	letter-spacing: .04em;
}

.breadcrumb a {
	color: var(--white);
}

.breadcrumb a:hover {
	color: rgba(255, 255, 255, .75);
}

.breadcrumb__sep {
	margin: 0 8px;
	color: rgba(255, 255, 255, .55);
}

.content-area {
	padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 7vw, 88px);
}

/* 正文 + 右侧栏 */
.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 48px;
	align-items: start;
}

.layout__main {
	min-width: 0;
}

/* 正文排版 */
.entry-content {
	color: var(--text);
	font-size: 16.5px;
	line-height: 2;
	overflow-wrap: break-word;
}

.entry-content > :first-child {
	margin-top: 0;
}

.entry-content p,
.entry-content div:not([class]) {
	margin: 0 0 1.25em;
}

.entry-content h2 {
	margin: 2em 0 .8em;
	font-size: 24px;
}

.entry-content h3 {
	margin: 1.8em 0 .7em;
	font-size: 20px;
}

.entry-content h4 {
	margin: 1.6em 0 .6em;
	font-size: 18px;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.25em;
	padding-left: 1.4em;
}

.entry-content li {
	margin-bottom: .4em;
}

.entry-content blockquote {
	margin: 2em 0;
	padding: 12px 20px;
	border-left: 3px solid var(--blue);
	background: var(--subtle);
	color: var(--ink);
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content table {
	width: 100%;
	margin: 0 0 1.5em;
	border-collapse: collapse;
	font-size: 15px;
}

.entry-content th,
.entry-content td {
	padding: 10px 14px;
	border: 1px solid var(--line);
	text-align: left;
}

.entry-content th {
	background: var(--subtle);
	color: var(--ink);
}

.entry-content figure {
	margin: 2em 0;
}

.entry-content figcaption,
.entry-content .wp-caption-text {
	margin-top: 10px;
	color: var(--muted);
	font-size: 13px;
	text-align: center;
}

.entry-content hr {
	margin: 3em 0;
	border: 0;
	border-top: 1px solid var(--line);
}

/* 有侧栏时“宽”“全宽”的块不往外撑，留在正文栏里 */
.layout .entry-content .alignwide,
.layout .entry-content .alignfull {
	width: auto;
	max-width: 100%;
	margin-inline: 0;
}

.entry-content--wide .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
}

.entry-content .aligncenter {
	display: block;
	margin-inline: auto;
}

.entry-content .alignleft {
	float: left;
	margin: .4em 1.5em 1em 0;
}

.entry-content .alignright {
	float: right;
	margin: .4em 0 1em 1.5em;
}

/* 表单（Contact Form 7 等） */
.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="tel"],
.entry-content input[type="url"],
.entry-content input[type="number"],
.entry-content textarea,
.entry-content select {
	width: 100%;
	max-width: 100%;
	padding: 11px 14px;
	border: 1px solid #d5d9df;
	border-radius: 2px;
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 16px;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.entry-content input:focus,
.entry-content textarea:focus,
.entry-content select:focus {
	border-color: var(--blue);
	outline: none;
	box-shadow: 0 0 0 3px rgba(55, 112, 171, .15);
}

.entry-content input[type="submit"],
.entry-content button[type="submit"] {
	min-height: 46px;
	padding: 0 32px;
	border: 0;
	background: var(--blue);
	color: var(--white);
	font: 400 15px/1 var(--font);
	letter-spacing: .1em;
	cursor: pointer;
	transition: background .2s var(--ease);
}

.entry-content input[type="submit"]:hover,
.entry-content button[type="submit"]:hover {
	background: var(--navy);
}

/* 侧栏 */
.sidebar {
	display: grid;
	gap: 24px;
}

.side-box {
	padding: 24px;
	border: 1px solid var(--line);
	background: var(--white);
	box-shadow: 0 6px 20px -14px rgba(8, 58, 111, .25);
}

.side-box__title {
	position: relative;
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
	font-size: 18px;
}

.side-box__title::after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 44px;
	height: 3px;
	background: var(--blue);
}

.side-box ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.side-box--nav li + li {
	margin-top: 4px;
}

.side-box--nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	border-left: 3px solid transparent;
	background: var(--subtle);
	color: var(--text);
	font-size: 15.5px;
	transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.side-box--nav a svg {
	width: 15px;
	height: 15px;
	color: var(--muted);
}

.side-box--nav a:hover,
.side-box--nav .is-active a {
	border-left-color: var(--blue);
	background: var(--navy);
	color: var(--white);
}

.side-box--nav a:hover svg,
.side-box--nav .is-active a svg {
	color: rgba(255, 255, 255, .7);
}

.side-box--contact {
	border: 0;
	background: var(--navy);
	color: rgba(255, 255, 255, .8);
}

.side-box--contact .side-box__title {
	border-bottom-color: rgba(255, 255, 255, .15);
	color: var(--white);
}

.side-box--contact .side-box__title::after {
	background: #6aa0d8;
}

.side-contact__phone {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	color: var(--white);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: .02em;
}

.side-contact__phone:hover {
	color: var(--white);
}

.side-contact__phone svg {
	width: 22px;
	height: 22px;
}

.side-box--contact p {
	display: flex;
	gap: 10px;
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.7;
}

.side-box--contact p:last-child {
	margin-bottom: 0;
}

.side-box--contact p svg {
	flex: none;
	width: 17px;
	height: 17px;
	margin-top: 3px;
}

.side-box--contact a {
	color: rgba(255, 255, 255, .9);
	overflow-wrap: anywhere;
}

.side-box--contact a:hover {
	color: var(--white);
}

/* 文章列表 */
.cat-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.cat-tabs a {
	display: block;
	padding: 7px 18px;
	border: 1px solid var(--line);
	color: var(--text);
	font-size: 14.5px;
	letter-spacing: .04em;
	transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.cat-tabs a:hover {
	border-color: var(--navy);
	color: var(--navy);
}

.cat-tabs .is-active a {
	border-color: var(--navy);
	background: var(--navy);
	color: var(--white);
}

.post-item {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 22px;
	padding: 24px 0;
	border-bottom: 1px dashed var(--line);
}

.post-item:first-child {
	padding-top: 0;
}

/* 日期方块：深蓝底白字，鼠标移到这一条上变成强调蓝 */
.post-item__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 76px;
	background: var(--navy);
	color: rgba(255, 255, 255, .8);
	font-size: 12.5px;
	line-height: 1.4;
	transition: background .2s var(--ease);
}

.post-item:hover .post-item__date {
	background: var(--blue);
}

.post-item__day {
	color: var(--white);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.1;
}

.post-item__cat {
	display: inline-block;
	margin-bottom: 2px;
	color: var(--blue);
	font-size: 13px;
	letter-spacing: .04em;
}

.post-item__title {
	margin: 0 0 6px;
	font-size: 18px;
	line-height: 1.55;
}

.post-item__title a {
	color: var(--ink);
}

.post-item__title a:hover {
	color: var(--blue);
}

.post-item__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--muted);
	font-size: 14.5px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 40px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line);
	color: var(--text);
	font-size: 14px;
}

.page-numbers.current,
a.page-numbers:hover {
	border-color: var(--navy);
	background: var(--navy);
	color: var(--white);
}

.page-numbers.dots {
	border-color: transparent;
}

.no-results {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}

.no-results__title {
	font-size: 22px;
}

.no-results p {
	color: var(--muted);
}

/* 文章页 */
.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: clamp(40px, 5vw, 56px);
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.post-nav a {
	display: block;
	color: var(--ink);
}

.post-nav a:hover {
	color: var(--blue);
}

.post-nav__next {
	text-align: right;
}

.post-nav__label {
	display: block;
	margin-bottom: 4px;
	color: var(--muted);
	font-size: 13px;
	letter-spacing: .08em;
}

.post-nav__title {
	display: block;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.6;
}

/* 搜索框 */
.search-form {
	display: flex;
	max-width: 560px;
	margin: 0 auto 36px;
}

.sidebar .search-form,
.layout__main > .search-form {
	max-width: none;
	margin: 0;
}

.layout__main > .search-form {
	margin-bottom: 32px;
}

.search-form__input {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 14px;
	border: 1px solid #d5d9df;
	border-right: 0;
	color: var(--ink);
	font: inherit;
	font-size: 16px;
}

.search-form__input:focus {
	border-color: var(--blue);
	outline: none;
}

.search-form .btn {
	padding: 0 20px;
}

/* ==========================================================================
   响应式
   ========================================================================== */

/* 窄一些的桌面屏：菜单项多时收紧间距 */
@media (max-width: 1280px) and (min-width: 1024px) {
	.primary-nav .menu {
		margin-left: -14px;
	}

	.primary-nav .menu > li > a {
		padding-inline: 14px;
	}

	.primary-nav .menu > li > a::after {
		right: 14px;
		left: 14px;
	}

	.primary-nav .menu > .menu-item-has-children > a {
		padding-right: 30px;
	}

	.primary-nav .menu > .menu-item-has-children > a::after {
		right: 30px;
	}

	.primary-nav .menu-item-has-children > a::before {
		right: 14px;
	}

	.header-contact {
		gap: 24px;
	}
}

/* 平板和手机：Logo 栏缩成一行，导航收进右上角的菜单按钮 */
@media (max-width: 1023px) {
	:root {
		--top-h: 64px;
	}

	html {
		scroll-padding-top: calc(var(--top-h) + 16px);
	}

	.site-header {
		top: 0;
		box-shadow: 0 1px 0 var(--line);
	}

	.admin-bar .site-header {
		top: var(--wp-admin--admin-bar--height, 46px);
	}

	.header-top__inner {
		gap: 4px;
	}

	.brand {
		gap: 10px;
	}

	.brand__logo {
		width: 42px;
		height: 42px;
	}

	.brand__name {
		font-size: 18px;
		letter-spacing: .02em;
	}

	.brand__sub {
		margin-top: 1px;
		font-size: 12px;
		letter-spacing: .04em;
	}

	.header-contact {
		display: none;
	}

	.header-call {
		display: grid;
	}

	.nav-toggle {
		display: flex;
	}

	.primary-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		height: calc(100dvh - var(--top-h));
		overflow-y: auto;
		border-top: 1px solid var(--line);
		background: var(--white);
		opacity: 0;
		visibility: hidden;
		transition: opacity .25s var(--ease), visibility .25s;
	}

	.nav-open .primary-nav {
		opacity: 1;
		visibility: visible;
	}

	.nav-open {
		overflow: hidden;
	}

	.primary-nav .menu {
		flex-direction: column;
		margin: 0;
		padding: 8px 0 40px;
	}

	.primary-nav .menu > li > a,
	.primary-nav .menu > .menu-item-has-children > a {
		height: auto;
		padding: 15px 0;
		border-bottom: 1px solid var(--line);
		color: var(--ink);
		font-size: 17px;
	}

	.primary-nav .menu > li > a:hover,
	.primary-nav .menu > li:focus-within > a {
		background: none;
		color: var(--navy);
	}

	.primary-nav .menu > li > a::after,
	.primary-nav .menu-item-has-children > a::before {
		display: none;
	}

	.primary-nav .menu > .current-menu-item > a,
	.primary-nav .menu > .current-menu-ancestor > a,
	.primary-nav .menu > .current_page_parent > a {
		color: var(--navy);
		font-weight: 600;
	}

	/* 子菜单默认收起，点右边的箭头展开 */
	.primary-nav .menu-item-has-children {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.primary-nav .sub-menu {
		position: static;
		display: none;
		grid-column: 1 / -1;
		padding: 0 0 0 16px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-nav .menu-item-has-children.is-open > .sub-menu {
		display: block;
	}

	.primary-nav .sub-menu a {
		padding: 13px 0;
		border-bottom: 1px solid var(--line);
		color: var(--muted);
		font-size: 16px;
	}

	.primary-nav .sub-menu a:hover,
	.primary-nav .sub-menu .current-menu-item > a {
		background: none;
		color: var(--navy);
	}

	.submenu-toggle {
		display: flex;
	}

	/* 平板和手机上页头只有 Logo 栏，导航收进菜单；主视觉不占满一屏，露出下面的内容 */
	.slider {
		height: clamp(440px, 70vh, 640px);
	}

	@supports (height: 100svh) {
		.slider {
			height: clamp(440px, 70svh, 640px);
		}
	}

	.slider::before {
		background: linear-gradient(90deg, rgba(4, 26, 52, .9) 0%, rgba(4, 26, 52, .72) 60%, rgba(4, 26, 52, .5) 100%);
	}

	.practice-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 32px;
	}

	.news-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.news-card__excerpt {
		-webkit-line-clamp: 2;
	}

	.layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	/* 悬浮联系按钮在手机、平板上改成底部一排；微信、QQ 的详情从底部升起，背后压暗，点空白处收起 */
	.has-dock {
		padding-bottom: calc(56px + env(safe-area-inset-bottom));
	}

	.has-dock .to-top {
		right: 16px;
		bottom: calc(56px + 16px + env(safe-area-inset-bottom));
		width: 44px;
		height: 44px;
	}

	.dock {
		right: 0;
		bottom: 0;
		left: 0;
		padding-bottom: env(safe-area-inset-bottom);
		background: var(--white);
		box-shadow: 0 -1px 0 var(--line), 0 -8px 24px -16px rgba(4, 26, 52, .35);
	}

	.dock::before {
		content: "";
		position: fixed;
		z-index: -1;
		inset: 0;
		background: rgba(4, 26, 52, .55);
		opacity: 0;
		visibility: hidden;
		transition: opacity .2s var(--ease), visibility .2s;
	}

	/* 展开时整个浮层升到页头上面，遮罩把页头也压暗 */
	.dock.has-open {
		z-index: 60;
	}

	.dock.has-open::before {
		opacity: 1;
		visibility: visible;
	}

	.dock__list {
		flex-direction: row;
		box-shadow: none;
	}

	.dock__item {
		position: static;
		flex: 1;
	}

	.dock__item + .dock__item {
		border-top: 0;
		border-left: 1px solid var(--line);
	}

	.dock__btn {
		flex-direction: row;
		gap: 8px;
		width: 100%;
		height: 56px;
		background: var(--white);
		color: var(--navy-dark);
		font-size: 15px;
	}

	.dock__btn svg {
		width: 20px;
		height: 20px;
	}

	.dock__item--phone .dock__btn {
		background: var(--gold);
		font-weight: 600;
	}

	.dock__btn:hover,
	.dock__item.is-open > .dock__btn {
		background: var(--subtle);
		color: var(--navy);
	}

	.dock__panel {
		position: fixed;
		top: auto;
		right: 0;
		bottom: calc(56px + env(safe-area-inset-bottom));
		left: 0;
		padding: 0;
		transform: translateY(16px);
	}

	.dock__item.is-open > .dock__panel {
		transform: none;
	}

	.dock__card {
		padding: 24px var(--gutter) 28px;
		border-bottom: 1px solid var(--line);
		box-shadow: none;
		white-space: normal;
	}

	.dock__card::after {
		display: none;
	}

	.dock__qr {
		width: 200px;
		height: 200px;
	}

	.dock__hint {
		display: block;
		max-width: 22em;
		margin: 8px auto 0;
		color: var(--muted);
		font-size: 13px;
		line-height: 1.7;
		text-wrap: balance;
	}

	.dock__people {
		max-width: 400px;
		margin: 0 auto;
	}

	.dock__people li {
		padding: 12px 2px;
	}

	.dock__person {
		font-size: 16px;
	}

	.dock__copy,
	.dock__add {
		height: 34px;
		padding: 0 14px;
		font-size: 14px;
	}

	.dock__add {
		display: inline-flex;
	}

	.dock__tip {
		max-width: none;
		font-size: 13px;
	}

	/* 四项以上时一行放不下“图标 + 文字”，改成图标在上、文字在下 */
	.dock--many .dock__btn {
		flex-direction: column;
		gap: 3px;
		font-size: 12px;
	}

	.dock--many .dock__btn svg {
		width: 22px;
		height: 22px;
	}
}

@media (max-width: 767px) {
	.hero__eyebrow {
		gap: 10px;
		font-size: 12px;
		letter-spacing: .2em;
	}

	.hero__eyebrow::before {
		width: 28px;
	}

	/* 两个按钮并排放得下 */
	.btn--gold,
	.btn--ghost {
		min-height: 48px;
		padding: 0 20px;
		letter-spacing: .06em;
	}

	.practice-grid {
		gap: 0 20px;
	}

	.practice-grid__item {
		gap: 8px;
		padding: 20px 0 24px;
		font-size: 15.5px;
		letter-spacing: .02em;
	}

	.practice-grid__no {
		font-size: 26px;
	}

	.team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.team-card__name {
		padding-top: 12px;
		font-size: 16px;
	}

	.footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.post-item {
		grid-template-columns: 60px minmax(0, 1fr);
		gap: 16px;
		padding: 20px 0;
	}

	.post-item__date {
		height: 60px;
		font-size: 11px;
	}

	.post-item__day {
		font-size: 22px;
	}

	.post-item__title {
		font-size: 16.5px;
	}

	.post-nav {
		grid-template-columns: 1fr;
	}

	.post-nav__next {
		text-align: left;
	}

	.to-top {
		right: 14px;
		bottom: 14px;
		width: 42px;
		height: 42px;
	}
}

/* 手机竖屏：WordPress 工具栏不再固定在顶部 */
@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

@media (max-width: 400px) {
	.brand__name {
		font-size: 16.5px;
	}

	.brand__sub {
		font-size: 11px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
