/* 印刷人 AI 名录 - 前台样式
 * 设计语言：纸感白卡 + 墨蓝主色 + CMYK 四色条装饰
 */

:root {
	--yr-ink: #16324a;
	--yr-primary: #0f3d5c;
	--yr-primary-light: #eaf1f6;
	--yr-accent: #1e88c7;
	--yr-text: #2c3a47;
	--yr-muted: #7a8794;
	--yr-line: #e6e9ee;
	--yr-card-radius: 14px;
}

.yr-single.wrap,
.yr-archive.wrap {
	max-width: 1080px;
	margin: 0 auto;
	padding: 24px 20px 64px;
}

/* ---------- CMYK 四色条 ---------- */
.yr-cmyk {
	display: flex;
	gap: 4px;
	height: 6px;
	width: 96px;
	margin-bottom: 16px;
	border-radius: 3px;
	overflow: hidden;
}
.yr-cmyk i:nth-child(1) { flex: 1; background: #00a0e9; } /* C */
.yr-cmyk i:nth-child(2) { flex: 1; background: #e5007e; } /* M */
.yr-cmyk i:nth-child(3) { flex: 1; background: #fff100; } /* Y */
.yr-cmyk i:nth-child(4) { flex: 1; background: #1a1a1a; } /* K */

/* ---------- 面包屑 ---------- */
.yr-breadcrumb {
	font-size: 13px;
	color: var(--yr-muted);
	margin-bottom: 18px;
}
.yr-breadcrumb a { color: var(--yr-muted); text-decoration: none; }
.yr-breadcrumb a:hover { color: var(--yr-primary); }
.yr-sep { margin: 0 8px; }

/* ---------- 档案头部 ---------- */
.yr-profile-head {
	background: #fff;
	border: 1px solid var(--yr-line);
	border-radius: var(--yr-card-radius);
	padding: 28px;
	box-shadow: 0 4px 20px rgba(22, 50, 74, 0.06);
}
.yr-profile-main {
	display: flex;
	gap: 22px;
	align-items: flex-start;
}

.yr-avatar {
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: linear-gradient(
		135deg,
		hsl(var(--yr-avatar-hue, 205) 62% 28%),
		hsl(calc(var(--yr-avatar-hue, 205) + 22) 68% 47%)
	);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 700;
	flex-shrink: 0;
	overflow: hidden;
	letter-spacing: 1px;
}
.yr-avatar-lg {
	width: 88px;
	height: 88px;
	font-size: 30px;
	border-radius: 18px;
}
.yr-avatar-img { width: 100%; height: 100%; object-fit: cover; }

.yr-name {
	margin: 0 0 6px;
	font-size: 28px;
	line-height: 1.3;
	color: var(--yr-ink);
}
.yr-tagline {
	margin: 0 0 12px;
	color: var(--yr-muted);
	font-size: 15px;
}

/* ---------- 徽章 ---------- */
.yr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.yr-chip {
	display: inline-block;
	padding: 3px 11px;
	border-radius: 7px;
	background: #f4f7fa;
	border: 1px solid #e8edf2;
	color: #3d4c5c;
	font-size: 12.5px;
	text-decoration: none;
	line-height: 1.6;
}
a.yr-chip:hover { background: #e9f2f9; border-color: #bcd7ea; color: var(--yr-primary); }
.yr-chip-type { background: #fff6e8; border-color: #f5e2c4; color: #9a5b00; }
.yr-chip-city { background: #eef8f2; border-color: #d5ecdf; color: #1b7a45; }

/* ---------- 双栏布局 ---------- */
.yr-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 24px;
	margin-top: 24px;
	align-items: start;
}

.yr-section {
	background: #fff;
	border: 1px solid var(--yr-line);
	border-radius: var(--yr-card-radius);
	padding: 24px 28px;
	box-shadow: 0 4px 20px rgba(22, 50, 74, 0.05);
}
.yr-section-title {
	font-size: 17px;
	color: var(--yr-ink);
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--yr-primary-light);
	display: flex;
	align-items: center;
	gap: 8px;
}
.yr-section-title::before {
	content: "";
	width: 4px;
	height: 16px;
	border-radius: 2px;
	background: var(--yr-accent);
}

/* ---------- 介绍正文 ---------- */
.yr-intro-body { color: var(--yr-text); font-size: 15px; line-height: 1.9; }
.yr-intro-body h3 { font-size: 16px; color: var(--yr-primary); margin: 22px 0 10px; }
.yr-intro-body h3:first-child { margin-top: 4px; }
.yr-intro-body p { margin: 0 0 12px; }
.yr-intro-body ul { padding-left: 20px; margin: 0 0 12px; }

.yr-ai-note {
	margin-top: 18px;
	padding-top: 12px;
	border-top: 1px dashed var(--yr-line);
	color: #9aa5b1;
	font-size: 12px;
}
.yr-empty-note { color: var(--yr-muted); margin: 0; }

/* ---------- 联系信息卡 ---------- */
.yr-info-card { position: sticky; top: 24px; }
.yr-info-list { margin: 0; }
.yr-info-row {
	display: flex;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px solid #f1f3f6;
	font-size: 14px;
}
.yr-info-row:last-of-type { border-bottom: none; }
.yr-info-row dt {
	width: 64px;
	flex-shrink: 0;
	color: var(--yr-muted);
	margin: 0;
}
.yr-info-row dd { margin: 0; color: var(--yr-text); word-break: break-all; flex: 1; }
.yr-phone { color: var(--yr-primary); font-weight: 700; text-decoration: none; font-size: 16px; }
.yr-phone:hover { color: var(--yr-accent); }

.yr-info-business { margin-top: 14px; padding-top: 14px; border-top: 1px solid #f1f3f6; color: var(--yr-muted); font-size: 14px; }

.yr-cta {
	display: block;
	margin-top: 18px;
	padding: 12px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--yr-primary), var(--yr-accent));
	color: #fff !important;
	text-align: center;
	text-decoration: none;
	font-weight: 700;
	font-size: 15px;
}
.yr-cta:hover { opacity: 0.92; }

/* ---------- 上下篇导航 ---------- */
.yr-post-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 20px;
	font-size: 14px;
}
.yr-post-nav a { color: var(--yr-primary); text-decoration: none; }
.yr-post-nav a:hover { color: var(--yr-accent); }

/* ---------- 名录列表页 ---------- */
.yr-archive-head { margin-bottom: 20px; }
.yr-archive-title {
	font-size: 30px;
	margin: 0 0 8px;
	color: var(--yr-ink);
}
.yr-archive-desc { color: var(--yr-muted); margin: 0; }

.yr-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--yr-line);
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 22px;
}
.yr-filter select,
.yr-filter input[type="search"] {
	padding: 7px 12px;
	border: 1px solid var(--yr-line);
	border-radius: 8px;
	font-size: 14px;
	background: #fafbfc;
	min-width: 140px;
}
.yr-filter input[type="search"] { flex: 1; min-width: 200px; }
.yr-filter-btn {
	padding: 8px 22px;
	border: none;
	border-radius: 8px;
	background: var(--yr-primary);
	color: #fff;
	font-size: 14px;
	cursor: pointer;
}
.yr-filter-btn:hover { background: var(--yr-accent); }

.yr-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.yr-card {
	background: #fff;
	border: 1px solid var(--yr-line);
	border-radius: var(--yr-card-radius);
	overflow: hidden;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.yr-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(22, 50, 74, 0.12);
	border-color: #d4e0ea;
}
.yr-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 18px 18px 14px;
	text-decoration: none;
	color: inherit;
	box-sizing: border-box;
}
.yr-card-head { display: flex; gap: 12px; align-items: center; }
.yr-card-title-wrap { min-width: 0; }
.yr-card-title {
	margin: 0 0 3px;
	font-size: 16px;
	color: var(--yr-ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.yr-card-sub {
	font-size: 12.5px;
	color: var(--yr-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.yr-card-tagline {
	color: var(--yr-text);
	font-size: 13.5px;
	line-height: 1.7;
	margin: 12px 0 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.9em;
}
/* 标签行固定单行高度 + 底部信息贴底 → 同一行卡片底边对齐 */
.yr-card .yr-chips {
	margin-top: auto;
	height: 27px;
	flex-wrap: nowrap;
	overflow: hidden;
}
.yr-card-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #f1f3f6;
	font-size: 13px;
	min-height: 45px;
	box-sizing: border-box;
}
.yr-card-phone { color: var(--yr-primary); font-weight: 600; }
.yr-card-more { color: var(--yr-accent); }

.yr-empty { text-align: center; color: var(--yr-muted); padding: 60px 0; }
.yr-empty a { color: var(--yr-primary); }

.yr-pagination { margin-top: 28px; text-align: center; }
.yr-pagination .page-numbers {
	display: inline-block;
	padding: 6px 14px;
	margin: 0 3px;
	border-radius: 8px;
	border: 1px solid var(--yr-line);
	color: var(--yr-primary);
	text-decoration: none;
	font-size: 14px;
	background: #fff;
}
.yr-pagination .page-numbers.current { background: var(--yr-primary); color: #fff; border-color: var(--yr-primary); }
.yr-pagination .page-numbers:hover:not(.current) { border-color: var(--yr-accent); color: var(--yr-accent); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
	.yr-grid { grid-template-columns: repeat(2, 1fr); }
	.yr-layout { grid-template-columns: 1fr; }
	.yr-info-card { position: static; }
}

@media (max-width: 620px) {
	.yr-grid { grid-template-columns: 1fr; }
	.yr-profile-main { flex-direction: column; }
	.yr-filter select { min-width: 0; flex: 1; }
}

/* ============================================================
   首页 [yinshuaren_home]
   设计令牌：圆角 14px / 阴影两级 / 间距节奏 8 的倍数
   ============================================================ */
.yr-home {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 20px 40px;
	/* 与主题 wide 宽度对齐（twentytwentyfive 为 1340px；容器内已有主题内边距） */
}
body.home .entry-content > .yr-home,
body.home .yr-home {
	max-width: var(--wp--style--global--wide-size, 1340px);
	padding-left: 0;
	padding-right: 0;
}
/* 主题为页面内容预留了上下大内边距，首页收紧以免 Hero 上方出现大片空白 */
body.home .wp-block-post-content {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* ---------- Hero ---------- */
.yr-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(1100px 340px at 88% -80px, rgba(30, 136, 199, 0.42), transparent 62%),
		radial-gradient(720px 300px at 4% 112%, rgba(229, 0, 126, 0.16), transparent 62%),
		linear-gradient(158deg, #0c2739 0%, #113f5c 52%, #17618c 100%);
	border-radius: 16px;
	padding: 44px 44px 40px;
	color: #fff;
	box-shadow: 0 14px 36px rgba(12, 39, 57, 0.26);
}
.yr-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
	background-size: 15px 15px;
	pointer-events: none;
}
.yr-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 40px;
	align-items: center;
}

/* 左侧文案 */
.yr-cmyk-wide { width: 168px; height: 8px; }
.yr-hero .yr-cmyk { margin-bottom: 18px; }
.yr-hero-eyebrow {
	margin: 0 0 10px;
	font-size: 13px;
	letter-spacing: 1.5px;
	color: rgba(255, 255, 255, 0.66);
}
.yr-hero-title {
	margin: 0 0 14px;
	font-size: 46px;
	line-height: 1.15;
	letter-spacing: 3px;
	color: #fff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.yr-hero-sub {
	margin: 0 0 24px;
	max-width: 560px;
	font-size: 15.5px;
	line-height: 1.85;
	color: rgba(255, 255, 255, 0.84);
}
.yr-hero-search {
	display: flex;
	gap: 10px;
	max-width: 520px;
	margin-bottom: 14px;
}
.yr-hero-search input {
	flex: 1;
	min-width: 0;
	padding: 13px 18px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 12px;
	font-size: 15px;
	background: rgba(255, 255, 255, 0.97);
	color: var(--yr-ink);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}
.yr-hero-search input::placeholder { color: #93a3b1; }
.yr-hero-search input:focus { outline: 3px solid rgba(255, 236, 0, 0.55); outline-offset: 1px; }
.yr-hero-search button {
	flex-shrink: 0;
	padding: 13px 28px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, #ffd400, #ff9d00);
	color: #24303c;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.5px;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(255, 169, 0, 0.4);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.yr-hero-search button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 169, 0, 0.5); }

.yr-hero-hot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 28px;
	font-size: 13px;
}
.yr-hero-hot-label { color: rgba(255, 255, 255, 0.5); }
.yr-hero-hot a {
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	transition: background 0.15s ease;
}
.yr-hero-hot a:hover { background: rgba(255, 255, 255, 0.24); }

.yr-hero-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	max-width: 620px;
}
.yr-hero-stats > div { display: flex; flex-direction: column-reverse; }
.yr-hero-stats dd {
	margin: 2px 0 0;
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
	color: #fff;
	letter-spacing: -0.5px;
}
.yr-hero-stats dt {
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.62);
	letter-spacing: 0.5px;
}

/* 右侧档案卡预览 */
.yr-hero-visual { position: relative; }
.yr-mock-card {
	background: #fff;
	border-radius: 14px;
	padding: 18px 18px 14px;
	box-shadow: 0 18px 40px rgba(4, 20, 32, 0.34);
	transform: rotate(-1.2deg);
}
.yr-mock-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.yr-mock-avatar {
	width: 46px;
	height: 46px;
	flex-shrink: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, #12507a, #1e88c7);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
}
.yr-mock-title-wrap { min-width: 0; }
.yr-mock-title-wrap strong {
	display: block;
	font-size: 14.5px;
	color: var(--yr-ink);
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.yr-mock-title-wrap em {
	display: block;
	font-style: normal;
	font-size: 12px;
	color: var(--yr-muted);
	margin-top: 3px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.yr-mock-info { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.yr-mock-info p { display: flex; gap: 8px; margin: 0; font-size: 12.5px; line-height: 1.6; }
.yr-mock-info em {
	flex-shrink: 0;
	font-style: normal;
	width: 30px;
	color: #93a3b1;
}
.yr-mock-info span {
	color: #48566a;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.yr-mock-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.yr-mock-chips span {
	padding: 3px 10px;
	border-radius: 6px;
	background: #eef4f9;
	color: #17567f;
	font-size: 11.5px;
}
.yr-mock-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 12px;
	border-top: 1px solid #eef1f4;
	font-size: 12.5px;
	color: #48566a;
}
.yr-mock-more { color: var(--yr-accent); font-weight: 700; }
.yr-hero-badge {
	position: absolute;
	right: -6px;
	bottom: -14px;
	padding: 8px 16px;
	border-radius: 999px;
	background: #fff;
	color: #17567f;
	font-size: 12.5px;
	font-weight: 700;
	box-shadow: 0 10px 24px rgba(4, 20, 32, 0.28);
}
.yr-hero-dots {
	position: absolute;
	left: -22px;
	top: -18px;
	display: grid;
	grid-template-columns: repeat(4, 6px);
	gap: 6px;
	opacity: 0.5;
}
.yr-hero-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.7); }

/* ---------- 首页分区 ---------- */
.yr-home-section { margin-top: 46px; }
.yr-home-title {
	font-size: 21px;
	color: var(--yr-ink);
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	letter-spacing: 0.5px;
}
.yr-home-title::before {
	content: "";
	width: 5px;
	height: 20px;
	border-radius: 3px;
	background: linear-gradient(180deg, #00a0e9, #1a1a1a);
}
.yr-home-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}
.yr-home-note { font-size: 13px; color: var(--yr-muted); }
.yr-home-more {
	font-size: 13.5px;
	color: var(--yr-accent);
	text-decoration: none;
	white-space: nowrap;
}
.yr-home-more:hover { color: var(--yr-primary); }

/* ---------- 机构类型 ---------- */
.yr-type-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}
.yr-type-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 20px 14px 16px;
	background: #fff;
	border: 1px solid #e3e9f0;
	border-radius: 14px;
	text-decoration: none;
	text-align: center;
	box-shadow: 0 2px 8px rgba(22, 50, 74, 0.05);
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.yr-type-card:hover {
	transform: translateY(-4px);
	border-color: #a9cde6;
	box-shadow: 0 14px 28px rgba(22, 50, 74, 0.14);
}
.yr-type-icon {
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 11px;
	background: linear-gradient(140deg, #eaf4fb, #dcecf7);
	color: #12507a;
}
.yr-type-icon svg { width: 21px; height: 21px; }
.yr-type-name { font-size: 15px; font-weight: 700; color: var(--yr-ink); line-height: 1.3; }
.yr-type-count { font-size: 12.5px; color: var(--yr-accent); font-weight: 600; }
.yr-type-card.is-empty { background: #fbfcfd; border-style: dashed; box-shadow: none; }
.yr-type-card.is-empty .yr-type-icon { background: #eaeff4; color: #8a93a3; }
.yr-type-card.is-empty .yr-type-name { color: #64748b; }
.yr-type-card.is-empty .yr-type-count { color: #8a93a3; font-weight: 500; }

/* ---------- 地区 ---------- */
.yr-city-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}
.yr-city-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #e3e9f0;
	border-left: 3px solid var(--yr-accent);
	border-radius: 12px;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(22, 50, 74, 0.05);
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.yr-city-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(22, 50, 74, 0.12); }
.yr-city-card strong { font-size: 15px; color: var(--yr-ink); }
.yr-city-card span { font-size: 12px; color: var(--yr-muted); }

.yr-region-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.yr-region-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 124px;
	justify-content: space-between;
	padding: 9px 18px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #e3e9f0;
	color: var(--yr-text);
	font-size: 14px;
	text-decoration: none;
	transition: all 0.15s ease;
}
.yr-region-pill span {
	font-size: 12px;
	font-weight: 700;
	color: var(--yr-accent);
	background: #eef6fc;
	border-radius: 999px;
	padding: 1px 8px;
}
.yr-region-pill:hover {
	border-color: var(--yr-accent);
	background: #f5fbff;
	transform: translateY(-2px);
}
.yr-region-pill.is-empty {
	background: #fbfcfd;
	border-style: dashed;
	color: #8b98a5;
}
.yr-region-pill.is-empty span {
	background: transparent;
	color: #aeb9c4;
	font-weight: 500;
	padding: 0;
}

/* ---------- 热门主营标签 ---------- */
.yr-tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.yr-tag-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	border-radius: 8px;
	background: #f4f7fa;
	border: 1px solid #e8edf2;
	color: #3d4c5c;
	font-size: 13.5px;
	text-decoration: none;
	transition: all 0.15s ease;
}
.yr-tag-pill span { font-size: 11.5px; color: #8b98a5; }
.yr-tag-pill:hover { background: #e9f2f9; border-color: #bcd7ea; color: #12507a; }
.yr-tag-pill.is-hot {
	background: linear-gradient(135deg, #12507a, #1e88c7);
	border-color: transparent;
	color: #fff;
	font-weight: 700;
}
.yr-tag-pill.is-hot span { color: rgba(255, 255, 255, 0.75); }
.yr-tag-pill.is-hot:hover { background: linear-gradient(135deg, #0d3f61, #17618c); color: #fff; }
.yr-tag-pill.is-warm { background: #e9f2f9; border-color: #cfe3f1; color: #12507a; }

/* ---------- 加入流程（三步） ---------- */
.yr-steps-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: yr-step;
}
.yr-steps-list > li {
	position: relative;
	background: linear-gradient(165deg, #f9fcff 0%, #ffffff 55%);
	border: 1px solid #dfe8f0;
	border-radius: 16px;
	padding: 24px 24px 22px;
	box-shadow: 0 8px 22px rgba(22, 50, 74, 0.07);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.yr-steps-list > li:hover {
	transform: translateY(-4px);
	border-color: #b6d3e8;
	box-shadow: 0 16px 32px rgba(22, 50, 74, 0.13);
}
/* 步骤之间的虚线连接 */
.yr-steps-list > li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 46px;
	right: -20px;
	width: 20px;
	border-top: 2px dashed #c3d7e6;
}
.yr-step-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}
.yr-step-num {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 50%;
	background: linear-gradient(135deg, #12507a, #1e88c7);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.5px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 18px rgba(18, 80, 122, 0.3), inset 0 0 0 3px rgba(255, 255, 255, 0.16);
}
.yr-step-icon {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #e7f2fb;
	color: #1e88c7;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.18s ease, color 0.18s ease;
}
.yr-step-icon svg { width: 21px; height: 21px; }
.yr-steps-list > li:hover .yr-step-icon { background: #d5e8f8; color: #12507a; }
.yr-steps-list h3 {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 700;
	color: var(--yr-ink);
	letter-spacing: 0.3px;
}
.yr-steps-list p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.8;
	color: #5b6b7c;
}
.yr-steps-foot {
	margin: 22px 0 0;
	text-align: center;
	font-size: 13.5px;
	color: var(--yr-muted);
}
.yr-steps-foot a { color: var(--yr-accent); font-weight: 700; text-decoration: none; }
.yr-steps-foot a:hover { color: var(--yr-primary); }

/* ---------- 行动条 ---------- */
.yr-home-cta {
	margin-top: 52px;
	padding: 44px 40px;
	background:
		radial-gradient(760px 240px at 88% -20%, rgba(0, 160, 233, 0.18), transparent 62%),
		linear-gradient(180deg, #ffffff, #f7fafc);
	border: 1px solid #e3e9f0;
	border-radius: 16px;
	text-align: center;
	box-shadow: 0 8px 26px rgba(22, 50, 74, 0.07);
}
.yr-home-cta .yr-cmyk { margin: 0 auto 18px; }
.yr-home-cta h2 { margin: 0 0 10px; font-size: 25px; color: var(--yr-ink); letter-spacing: 0.5px; }
.yr-home-cta p { margin: 0 auto 24px; max-width: 560px; color: var(--yr-muted); font-size: 15px; line-height: 1.8; }
.yr-home-cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.yr-btn-primary,
.yr-btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 148px;
	padding: 13px 30px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.16s ease;
}
.yr-btn-primary { background: linear-gradient(135deg, #12507a, #1e88c7); color: #fff !important; box-shadow: 0 8px 20px rgba(18, 80, 122, 0.28); }
.yr-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(18, 80, 122, 0.38); }
.yr-btn-ghost { border: 1.5px solid #b9cfe0; color: #12507a !important; background: #fff; }
.yr-btn-ghost:hover { background: #eef6fc; border-color: #1e88c7; }

/* ---------- 首页响应式 ---------- */
@media (max-width: 1080px) {
	.yr-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.yr-hero-visual { max-width: 380px; }
	.yr-hero-badge { right: 0; }
	.yr-city-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.yr-hero { padding: 34px 24px 30px; }
	.yr-hero-title { font-size: 34px; letter-spacing: 2px; }
	.yr-hero-sub { font-size: 14.5px; }
	.yr-hero-stats { gap: 18px; max-width: none; }
	.yr-hero-stats dd { font-size: 24px; }
	.yr-steps-list li + li::before { content: none; }
	.yr-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yr-steps-list { grid-template-columns: 1fr; }
	.yr-steps-list > li:not(:last-child)::after { content: none; }
	.yr-home-section { margin-top: 36px; }
}
@media (max-width: 620px) {
	.yr-home { padding: 0 16px 40px; }
	.yr-hero { border-radius: 14px; }
	.yr-hero-search { flex-direction: column; }
	.yr-hero-search button { width: 100%; }
	.yr-hero-title { font-size: 30px; }
	.yr-hero-visual { display: none; }
	.yr-city-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yr-hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; }
	.yr-hero-stats dd { font-size: 20px; }
	.yr-hero-stats dt { font-size: 11px; letter-spacing: 0; }
	.yr-region-pill { min-width: 106px; padding: 8px 14px; font-size: 13.5px; }
	.yr-home-cta { padding: 32px 20px; }
	.yr-btn-primary, .yr-btn-ghost { width: 100%; }
}

/* ============================================================
   站点头部 / 页脚（品牌化：覆写区块主题 header / footer pattern）
   ============================================================ */
/* 顶部 CMYK 品牌线 + 吸顶 */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 60;
}
body.admin-bar header.wp-block-template-part { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar header.wp-block-template-part { top: 46px; }
}

.yr-header { background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(160%) blur(8px); }
.yr-header::before {
	content: "";
	display: block;
	height: 4px;
	background: linear-gradient(90deg, #00a0e9 0 25%, #e5007e 25% 50%, #ffec00 50% 75%, #1a1a1a 75% 100%);
}
.yr-header-inner { gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.yr-header { border-bottom: 1px solid #e8eef4; }

.yr-brand { gap: 13px; }
.yr-brand-mark {
	display: grid;
	grid-template-columns: repeat(2, 12px);
	grid-template-rows: repeat(2, 12px);
	gap: 3px;
	flex-shrink: 0;
}
.yr-brand-mark i { border-radius: 2px; display: block; }
.yr-brand-mark i:nth-child(1) { background: #00a0e9; }
.yr-brand-mark i:nth-child(2) { background: #e5007e; }
.yr-brand-mark i:nth-child(3) { background: #ffec00; }
.yr-brand-mark i:nth-child(4) { background: #1a1a1a; }
.yr-brand-name,
.wp-block-site-title.yr-brand-name {
	font-size: 21px !important;
	font-weight: 800;
	letter-spacing: 1px;
	line-height: 1.2;
	margin: 0 !important;
}
.yr-brand-name a { color: var(--yr-ink) !important; text-decoration: none !important; }
.yr-brand-name a:hover { color: var(--yr-primary) !important; }
.yr-brand-tagline {
	margin: 3px 0 0 !important;
	font-size: 12px;
	line-height: 1.3;
	color: #6b7280;
}

.yr-header-actions { gap: 14px; }
.yr-nav .wp-block-navigation__container { gap: 22px !important; }
.yr-nav a {
	font-size: 14.5px !important;
	color: var(--yr-text) !important;
	text-decoration: none !important;
}
.yr-nav a:hover { color: var(--yr-accent) !important; }
.yr-header-btn .wp-block-button__link {
	padding: 10px 22px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	background: linear-gradient(135deg, #12507a, #1e88c7);
	color: #fff !important;
	box-shadow: 0 6px 16px rgba(18, 80, 122, 0.22);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.yr-header-btn .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(18, 80, 122, 0.32); }

/* 页脚：深蓝品牌区 */
.yr-footer {
	position: relative;
	background:
		radial-gradient(760px 260px at 82% -60px, rgba(30, 136, 199, 0.35), transparent 62%),
		linear-gradient(160deg, #0c2739 0%, #123a55 58%, #17618c 100%);
	color: rgba(255, 255, 255, 0.82);
}
.yr-footer::before {
	content: "";
	display: block;
	height: 4px;
	background: linear-gradient(90deg, #00a0e9 0 25%, #e5007e 25% 50%, #ffec00 50% 75%, #1a1a1a 75% 100%);
}
.yr-footer-top { gap: 44px; padding: 50px 0 34px; }
.yr-footer-brand { flex: 1 1 300px; max-width: 380px; }
.yr-footer-name {
	margin: 0 0 12px;
	font-size: 21px;
	font-weight: 800;
	letter-spacing: 1px;
	color: #fff;
}
.yr-footer-desc {
	margin: 0 0 18px !important;
	font-size: 13.5px;
	line-height: 1.85;
	color: rgba(255, 255, 255, 0.68);
}
.yr-footer-cmyk { display: flex; gap: 5px; }
.yr-footer-cmyk i { width: 30px; height: 5px; border-radius: 3px; display: block; }
.yr-footer-cmyk i:nth-child(1) { background: #00a0e9; }
.yr-footer-cmyk i:nth-child(2) { background: #e5007e; }
.yr-footer-cmyk i:nth-child(3) { background: #ffec00; }
.yr-footer-cmyk i:nth-child(4) { background: #fff; }

.yr-footer-col { flex: 0 1 auto; min-width: 150px; }
.yr-footer-heading {
	margin: 0 0 16px !important;
	font-size: 14px !important;
	font-weight: 700;
	letter-spacing: 1px;
	color: #fff;
}
.yr-footer-nav .wp-block-navigation__container { gap: 10px !important; }
.yr-footer-nav a,
.yr-footer-legal a {
	font-size: 13.5px !important;
	color: #c5d4e8 !important;
	text-decoration: none !important;
	transition: color 0.15s ease;
}
.yr-footer-nav a:hover,
.yr-footer-legal a:hover { color: #fff !important; text-decoration: underline !important; }
.yr-footer-bottom {
	gap: 14px;
	padding: 20px 0 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.yr-footer-copy { margin: 0 !important; font-size: 12.5px; color: rgba(255, 255, 255, 0.68); }
.yr-footer-legal .wp-block-navigation__container { gap: 18px !important; }

@media (max-width: 860px) {
	.yr-brand-tagline { display: none; }
	/* 移动端保留主按钮（未登录=加入名录 / 已登录=个人中心），保证窄屏也有明确入口 */
	.yr-header-actions .wp-block-buttons { display: block; }
	.yr-header-inner { gap: 10px; }
	.yr-header-inner { padding-top: 10px; padding-bottom: 10px; }
	.yr-footer-top { gap: 30px; padding: 36px 0 26px; }
	.yr-footer-brand { max-width: none; }
}

/* 短页面页脚贴底（避免内容不足时页脚下方出现大片空白） */
.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
.wp-site-blocks > *:not(header):not(footer):not(.wp-block-template-part) { flex: 1 0 auto; }
footer.wp-block-template-part { flex-shrink: 0; margin-top: auto; }

/* ==========================================================================
   页头用户区（WPCOM Member 用户中心）：登录/注册 或 个人中心/退出
   ========================================================================== */
.yr-user-nav {
	display: flex;
	align-items: center;
	gap: 14px;
}
.yr-user-link {
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	color: #3a4a5c;
	text-decoration: none !important;
	white-space: nowrap;
	transition: color 0.15s ease;
}
.yr-user-link:hover { color: var(--yr-primary, #12507a); }
.yr-user-link.yr-user-quiet { color: #7b8794; font-weight: 500; }

@media (max-width: 860px) {
	.yr-user-nav { gap: 10px; }
	.yr-user-link { font-size: 13px; }
	/* 退出走页脚，避免窄屏换行 */
	.yr-user-link.yr-user-quiet { display: none; }
	/* 访客只留「登录」；注册入口在登录页内，保持页头干净不换行 */
	.yr-user-nav .yr-user-link:not(.yr-user-quiet):not(:first-child) { display: none; }
	.yr-header-btn .wp-block-button__link { padding: 9px 14px !important; font-size: 14px !important; }
}

/* ==========================================================================
   AEO：档案页答案句 + 「加入名录」页常见问题
   ========================================================================== */
.yr-fact-sentence {
	margin: 10px 0 0;
	max-width: 62ch;
	font-size: 15px;
	line-height: 1.75;
	color: #46586b;
	background: #f5f9fd;
	border-left: 3px solid var(--yr-accent, #1e88c7);
	border-radius: 0 10px 10px 0;
	padding: 12px 16px;
}
.yr-faq { max-width: 760px; margin: 44px auto 0; }
.yr-faq-title {
	font-size: 24px;
	font-weight: 700;
	color: #0f2233;
	margin: 0 0 18px;
	padding-left: 12px;
	border-left: 4px solid var(--yr-primary, #12507a);
}
.yr-faq-list { margin: 0; }
.yr-faq-q {
	font-size: 16px;
	font-weight: 700;
	color: #0f2233;
	margin: 22px 0 8px;
	padding-top: 18px;
	border-top: 1px solid #e6ecf2;
}
.yr-faq-q:first-of-type { padding-top: 0; border-top: 0; }
.yr-faq-a {
	margin: 0;
	font-size: 15px;
	line-height: 1.85;
	color: #46586b;
}
@media (max-width: 620px) {
	.yr-fact-sentence { font-size: 14px; padding: 9px 12px; }
	.yr-faq-title { font-size: 20px; }
}

/* ==========================================================================
   用户中心页面（WPCOM Member）：页面标题居中
   插件的登录/注册/找回密码表单、个人中心卡片本身都是居中布局，
   而主题默认把 wp-block-post-title 左对齐，两者错位，这里统一居中。
   body 上的 wpcom-member / member-* 类由用户中心插件输出。
   ========================================================================== */
body.wpcom-member .wp-block-post-title {
	text-align: center;
}

/* 联系方式按可见性显示的占位（登录后可见 / 仅本人可见） */
.yr-info-row dd .yr-locked{color:#8c8f94;font-weight:400}
.yr-cta-locked{display:block;margin-top:10px;padding:10px 14px;border:1px dashed #c3c4c7;border-radius:8px;color:#8c8f94;text-align:center;font-size:14px}
