/**
 * 桌面端版心与顶部工具栏（涿鹿好帮手子主题）
 */

/* 全站默认字重改为 400（覆盖父主题可能的 300 默认值）。 */
body {
	font-weight: 400;
}

.zhuolu-top-toolbar {
	background-color: #f3f4f6;
	border-bottom: 1px solid #d8dade;
	color: #333;
	font-size: 14px;
	line-height: 1.45;
}

@media (max-width: 999px) {
	.zhuolu-top-toolbar {
		padding-left: 12px;
		padding-right: 12px;
	}
}

.zhuolu-top-toolbar__inner--mobile {
	display: none;
}

@media (max-width: 999px) {
	.zhuolu-top-toolbar__inner--desktop {
		display: none;
	}

	.zhuolu-top-toolbar__inner--mobile {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		min-height: 60px;
	}

	.zhuolu-top-toolbar__mobile-logo {
		display: inline-flex;
		align-items: center;
		text-decoration: none;
		line-height: 0;
	}

	.zhuolu-top-toolbar__mobile-logo img {
		display: block;
		width: 140px;
		height: auto;
		object-fit: contain;
	}

	.zhuolu-top-toolbar__mobile-domain {
		display: block;
		font-size: 12px;
		line-height: 1.45;
		color: #333;
		white-space: nowrap;
		text-align: center;
	}
}

/* 隐藏父主题默认站点头部（站点名称 + 页面菜单）。 */
body:not(.wp-admin) .wp-site-blocks > header.wp-block-template-part {
	display: none;
}

/* 隐藏父主题默认底部，改用子主题自定义通用底部。 */
body:not(.wp-admin) .wp-site-blocks > footer.wp-block-template-part {
	display: none;
}

/* 首页仅隐藏默认主内容，保留通用底部 footer 模块。 */
body.home:not(.wp-admin) > .wp-site-blocks > main {
	display: none;
}

/* 分类页使用子主题自定义主体，隐藏父主题默认 main。 */
body.archive.category:not(.wp-admin) > .wp-site-blocks > main {
	display: none;
}

/* 文章详情页使用子主题自定义主体，隐藏父主题默认 main。 */
body.single-post:not(.wp-admin) > .wp-site-blocks > main {
	display: none;
}

/* -------------------------------------------------------------------------
 * 全站通用底部（全宽背景 + 1000px 内容区）
 * ------------------------------------------------------------------------- */

.zhuolu-global-footer {
	width: 100%;
	background: #f2f3f5;
	border-top: 1px solid #d6d8dd;
	margin-top: 12px;
	box-sizing: border-box;
}

.zhuolu-global-footer__inner {
	max-width: 1000px;
	margin: 0 auto;
	padding: 14px 12px 16px;
	box-sizing: border-box;
}

.zhuolu-global-footer__links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #3b3d42;
}

.zhuolu-global-footer__link {
	color: #3b3d42;
	text-decoration: none;
}

.zhuolu-global-footer__link:hover,
.zhuolu-global-footer__link:focus {
	text-decoration: underline;
	color: #8f1f30;
}

.zhuolu-global-footer__sep {
	padding: 0 8px;
	color: #8c8f95;
	user-select: none;
}

.zhuolu-global-footer__text {
	margin: 10px 0 0;
	text-align: center;
	font-size: 14px;
	line-height: 1.55;
	color: #4a4d53;
}

/* -------------------------------------------------------------------------
 * 分类页主体（有子栏目/无子栏目通用）
 * ------------------------------------------------------------------------- */

.zhuolu-category-page {
	background: #fff;
	padding: 12px 12px 14px;
	box-sizing: border-box;
}

@media (min-width: 1000px) {
	.zhuolu-category-page {
		padding-left: 0;
		padding-right: 0;
	}
}

.zhuolu-category-page__inner {
	max-width: 1000px;
	margin: 0 auto;
	box-sizing: border-box;
}

.zhuolu-category-page__header {
	position: relative;
	margin-bottom: 12px;
	padding: 12px 14px 10px;
	border: 1px solid #dfc6cc;
	border-left: 4px solid #9a1a2e;
	border-radius: 4px;
	background: linear-gradient(180deg, #fff6f8 0%, #fff 100%);
	box-shadow: 0 1px 3px rgba(154, 26, 46, 0.08);
}

.zhuolu-category-page__title {
	margin: 0;
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: 0.5px;
	color: #861628;
	font-weight: 800;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.zhuolu-category-page__desc {
	margin: 8px 0 0;
	padding-top: 8px;
	border-top: 1px dashed rgba(154, 26, 46, 0.22);
	font-size: 13px;
	line-height: 1.5;
	color: #5f6167;
}

.zhuolu-category-page__inner > .zhuolu-stream__inner {
	margin-top: 14px;
}

/* -------------------------------------------------------------------------
 * 文章详情页（左正文 70% + 右侧最新内容 30%，间距 10px）
 * ------------------------------------------------------------------------- */

.zhuolu-single-page {
	background: #fff;
	padding: 12px 12px 14px;
	box-sizing: border-box;
}

@media (min-width: 1000px) {
	.zhuolu-single-page {
		padding-left: 0;
		padding-right: 0;
	}
}

.zhuolu-single-page__inner {
	max-width: 1000px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	align-items: start;
}

@media (min-width: 960px) {
	.zhuolu-single-page__inner {
		grid-template-columns: minmax(0, 70%) minmax(0, 30%);
	}
}

.zhuolu-single-page__main,
.zhuolu-single-page__side {
	border: 1px solid #e4e5e9;
	border-radius: 4px;
	background: #fafafa;
	box-sizing: border-box;
}

.zhuolu-single-page__head {
	margin: 0;
	padding: 12px 14px 10px;
	border-bottom: 1px solid #e2c4cb;
	background: linear-gradient(180deg, #fff5f7 0%, #fff 100%);
}

.zhuolu-single-page__title {
	margin: 0;
	font-size: 24px;
	line-height: 1.28;
	font-weight: 800;
	color: #861628;
}

/* 文章详情：后台「轮播图片」meta，结构与首页轮播一致以便复用 site-toolbar.js */
.zhuolu-single-page__carousel {
	margin: 0;
	padding: 10px 14px 12px;
	border-bottom: 1px solid #e4e5e9;
	background: #fff;
}

.zhuolu-single-page__carousel-inner {
	max-width: 100%;
}

.zhuolu-single-page__carousel .zhuolu-home-carousel__viewport {
	max-width: 100%;
	width: 100%;
	height: auto;
	min-height: 220px;
	aspect-ratio: 16 / 10;
	margin-left: 0;
	margin-right: 0;
}

.zhuolu-single-page__carousel .zhuolu-home-carousel__img {
	object-fit: contain;
	background: #111;
}

@media (max-width: 959px) {
	.zhuolu-single-page__carousel .zhuolu-home-carousel__viewport {
		aspect-ratio: 4 / 3;
		min-height: 200px;
	}
}

.zhuolu-single-page__content {
	padding: 12px 14px 14px;
	font-size: 16px;
	line-height: 1.75;
	color: #222;
}

.zhuolu-single-page__content img {
	max-width: 100%;
	height: auto;
}

.zhuolu-single-page__contact {
	margin: 0 14px 14px;
	padding: 10px 12px;
	border: 1px solid #ead3d8;
	border-left: 4px solid #9a1a2e;
	border-radius: 4px;
	background: #fff7f9;
}

.zhuolu-single-page__contact-title {
	margin: 0;
	font-size: 16px;
	line-height: 1.35;
	font-weight: 700;
	color: #8e172a;
}

.zhuolu-single-page__contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 6px;
}

.zhuolu-single-page__contact-item {
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: 8px;
	font-size: 14px;
	line-height: 1.5;
	color: #2f3136;
}

.zhuolu-single-page__contact-label {
	color: #5b5e64;
}

.zhuolu-single-page__contact-value {
	font-weight: 500;
	word-break: break-all;
}

.zhuolu-single-page__side {
	padding: 0 12px 12px;
}

.zhuolu-single-page__side-title {
	margin: 0 -12px 10px;
	padding: 10px 12px 9px;
	border-bottom: 1px solid #e2c4cb;
	background: linear-gradient(180deg, #fff5f7 0%, #fff 100%);
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
	color: #8e172a;
}

.zhuolu-single-page__latest-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.zhuolu-single-page__latest-item {
	margin: 0;
	padding: 0;
}

.zhuolu-single-page__latest-link {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	padding: 7px 0;
	font-size: 14px;
	color: #222;
	text-decoration: none;
}

.zhuolu-single-page__latest-link:hover,
.zhuolu-single-page__latest-link:focus {
	color: #9a1a2e;
	text-decoration: underline;
}

.zhuolu-single-page__latest-title {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.zhuolu-single-page__latest-date {
	flex: 0 0 auto;
	font-size: 12px;
	color: #666;
	white-space: nowrap;
}

.zhuolu-single-page__empty {
	margin: 0;
	font-size: 13px;
	color: #666;
}

.zhuolu-top-toolbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 60px;
	padding: 0;
	box-sizing: border-box;
}

.zhuolu-top-toolbar__welcome {
	margin: 0;
	font-weight: 400;
}

.zhuolu-top-toolbar__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
	white-space: nowrap;
}

/* 基础态：仅桌面工具栏可见，避免被通用 .zhuolu-top-toolbar__inner 覆盖 */
.zhuolu-top-toolbar__inner.zhuolu-top-toolbar__inner--mobile {
	display: none;
}

@media (max-width: 999px) {
	.zhuolu-top-toolbar__welcome,
	.zhuolu-top-toolbar__actions,
	.zhuolu-top-toolbar__sep,
	.zhuolu-top-toolbar__link {
		display: none !important;
	}

	.zhuolu-top-toolbar__inner--desktop {
		display: none !important;
	}

	.zhuolu-top-toolbar__inner--mobile {
		display: flex !important;
	}
}

@media (min-width: 1000px) {
	.zhuolu-top-toolbar__inner--desktop {
		display: flex !important;
	}

	.zhuolu-top-toolbar__inner--mobile {
		display: none !important;
	}
}

.zhuolu-top-toolbar__link {
	color: #1a1a1a;
	text-decoration: none;
	border: 0;
	background: none;
	font: inherit;
	cursor: pointer;
	padding: 0;
}

.zhuolu-top-toolbar__link:hover,
.zhuolu-top-toolbar__link:focus {
	text-decoration: underline;
}

.zhuolu-top-toolbar__link:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.zhuolu-top-toolbar__sep {
	display: inline-block;
	padding: 0 10px;
	color: #9a9da3;
	user-select: none;
}

/* 顶部通栏下方 top_1/top_2；栏目导航下方 menu_top_1/menu_top_2（上下通栏，间距与顶部广告一致） */
.zhuolu-top-banner-ads,
.zhuolu-menu-top-ads {
	background: #fff;
	padding: 0;
	margin: 5px 0;
	box-sizing: border-box;
	width: 100%;
}

.zhuolu-top-banner-ads__inner,
.zhuolu-menu-top-ads__inner {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 100%;
	max-width: none;
	margin: 0;
	box-sizing: border-box;
}

.zhuolu-top-banner-ads__cell,
.zhuolu-menu-top-ads__cell {
	width: 100%;
	min-width: 0;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
}

.zhuolu-top-banner-ads__ad,
.zhuolu-menu-top-ads__ad {
	display: block;
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	text-align: center;
	line-height: 0;
}

.zhuolu-top-banner-ads__ad a,
.zhuolu-menu-top-ads__ad a {
	display: block;
	line-height: 0;
}

/* 尺寸由广告管理里填写的宽高（插件内联到外层）决定，此处不强制拉满通栏 */
.zhuolu-top-banner-ads__ad img,
.zhuolu-menu-top-ads__ad img {
	display: block;
	max-width: 100%;
	height: auto;
	width: 100%;
	object-fit: contain;
}

@media (max-width: 768px) {
	.zhuolu-top-banner-ads,
	.zhuolu-menu-top-ads,
	.zhuolu-top-banner-ads__inner,
	.zhuolu-menu-top-ads__inner,
	.zhuolu-top-banner-ads__cell,
	.zhuolu-menu-top-ads__cell,
	.zhuolu-top-banner-ads__ad,
	.zhuolu-menu-top-ads__ad,
	.zhuolu-top-banner-ads__ad > a,
	.zhuolu-menu-top-ads__ad > a {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
	}

	.zhuolu-top-banner-ads__ad img,
	.zhuolu-menu-top-ads__ad img {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		object-fit: contain;
	}
}

/* 手机版：栏目页和详情页隐藏顶部两段广告（仅移动端生效）。 */
@media (max-width: 991px) {
	body.category .zhuolu-category-nav,
	body.category .zhuolu-menu-top-ads,
	body.single .zhuolu-category-nav,
	body.single .zhuolu-menu-top-ads {
		display: none !important;
	}
}

/* 页面左右悬浮广告（相对 1000px 内容区外侧各留 100px，距窗口顶部 200px） */
.zhuolu-side-float-ads__item {
	position: fixed;
	top: 200px;
	z-index: 30;
	line-height: 0;
}

.zhuolu-side-float-ads__item--left {
	right: calc(50% + 530px);
}

.zhuolu-side-float-ads__item--right {
	left: calc(50% + 530px);
}

.zhuolu-side-float-ads__ad {
	line-height: 0;
}

.zhuolu-side-float-ads__ad img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* 手机版不显示悬浮广告 */
@media (max-width: 991px) {
	.zhuolu-side-float-ads {
		display: none;
	}
}

/* 桌面端：版心 1000px（工具栏与主内容对齐） */
@media (min-width: 1000px) {
	.zhuolu-top-toolbar__inner,
	.zhuolu-site-header__inner,
	.zhuolu-home-feature__inner,
	.zhuolu-stream__inner,
	body:not(.wp-admin) > .wp-site-blocks {
		max-width: 1000px;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}
}

/* -------------------------------------------------------------------------
 * 工具栏下方：Logo + 标语 + 图文菜单
 * ------------------------------------------------------------------------- */

.zhuolu-site-header {
	background: #fff; 
	color: #222;
}

.zhuolu-site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 20px;
	padding: 14px 0;
	box-sizing: border-box;
}

@media (max-width: 999px) {
	.zhuolu-site-header__inner {
		padding-left: 12px;
		padding-right: 12px;
	}
}

.zhuolu-site-header__brand {
	flex: 0 0 auto;
	max-width: 100%;
}

@media (max-width: 999px) {
	.zhuolu-site-header__brand {
		display: none;
	}
}

.zhuolu-site-header__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 200px;
	height: 50px;
	box-sizing: border-box;
	text-decoration: none;
	overflow: hidden;
}

.zhuolu-site-header__logo:hover,
.zhuolu-site-header__logo:focus {
	opacity: 0.92;
}

.zhuolu-site-header__logo:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.zhuolu-site-header__logo-placeholder {
	pointer-events: none;
}

.zhuolu-site-header__logo-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.zhuolu-site-header__tagline {
	margin: 8px 0 0;
	width: 200px;
	font-size: 15px;
	line-height: 1.45;
	color: #444;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 500;
}

.zhuolu-site-header__tagline span:last-child {
	text-align: right;
}

.zhuolu-site-header__nav {
	flex: 1 1 auto;
	min-width: 0;
}

@media (max-width: 639px) {
	.zhuolu-site-header__nav {
		flex-basis: 100%;
	}
}

.zhuolu-site-header__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px 10px;
}

@media (min-width: 640px) {
	.zhuolu-site-header__menu {
		grid-template-columns: repeat(8, minmax(0, 1fr));
		gap: 10px 8px;
	}
}

.zhuolu-site-header__menu-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none;
	color: #222;
	font-size: 11px;
	line-height: 1.25;
	min-width: 0;
}

@media (min-width: 1000px) {
	.zhuolu-site-header__menu-link {
		font-size: 12px;
	}
}

.zhuolu-site-header__menu-link:hover .zhuolu-site-header__menu-label,
.zhuolu-site-header__menu-link:focus .zhuolu-site-header__menu-label {
	text-decoration: underline;
}

.zhuolu-site-header__menu-link:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
	border-radius: 2px;
}

/* 正方形图标占位 */
.zhuolu-site-header__menu-icon {
	display: block;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	margin-bottom: 6px;
	box-sizing: border-box;
	background: repeating-linear-gradient(
		-45deg,
		#e8e9ec,
		#e8e9ec 4px,
		#f2f3f5 4px,
		#f2f3f5 8px
	);
	border: 1px solid #d5d7dd;
	border-radius: 2px;
}

.zhuolu-site-header__menu-icon.has-image {
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	border-color: transparent;
}

@media (min-width: 1000px) {
	.zhuolu-site-header__menu-icon {
		width: 48px;
		height: 48px;
	}
}

.zhuolu-site-header__menu-label {
	display: block;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 13px;
	font-weight: 400;
}

/* -------------------------------------------------------------------------
 * 搜索与客服条（顶部到底部红色渐变）
 * ------------------------------------------------------------------------- */

.zhuolu-screen-reader-text {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

/* 整条渐变与版心同宽（最大 1000），不通栏 */
.zhuolu-utility-bar {
	max-width: 1000px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	padding: 0 12px;
	background: linear-gradient(180deg, #c74a50 0%, #c13039 100%);
	color: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (min-width: 1000px) {
	.zhuolu-utility-bar {
		padding: 0;
	}
}

.zhuolu-utility-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
	padding: 9px 14px;
	box-sizing: border-box;
}

@media (max-width: 959px) {
	.zhuolu-utility-bar__inner {
		padding-left: 0;
		padding-right: 0;
	}
}

/* 搜索区固定上限宽度，不占满左侧 */
.zhuolu-utility-bar__search {
	display: flex;
	flex: 0 0 auto;
	align-items: stretch;
	width: min(228px, 100%);
	max-width: 228px;
	border-radius: 3px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.zhuolu-utility-bar__search-input {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	padding: 6px 9px;
	font-size: 13px;
	line-height: 1.3;
	color: #222;
	background: #fff;
	box-sizing: border-box;
}

.zhuolu-utility-bar__search-input::placeholder {
	color: #757575;
}

.zhuolu-utility-bar__search-input:focus {
	outline: 2px solid #ffd166;
	outline-offset: -2px;
}

.zhuolu-utility-bar__search-submit {
	flex: 0 0 auto;
	border: 0;
	padding: 6px 11px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	color: #fff;
	background: linear-gradient(180deg, #b32424 0%, #8e1c1c 100%);
}

.zhuolu-utility-bar__search-submit:hover {
	background: linear-gradient(180deg, #c92e2e 0%, #9e2222 100%);
}

.zhuolu-utility-bar__search-submit:focus-visible {
	outline: 2px solid #ffd166;
	outline-offset: 2px;
}

.zhuolu-utility-bar__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 8px 28px;
	flex: 0 1 auto;
}

@media (max-width: 999px) {
	.zhuolu-utility-bar__actions {
		display: none;
	}

	.zhuolu-utility-bar__search {
		flex: 1 1 100%;
		width: 100%;
		max-width: none;
	}
}

.zhuolu-utility-bar__hover {
	position: relative;
	padding-bottom: 4px;
}

.zhuolu-utility-bar__trigger {
	position: relative;
	z-index: 2;
	border: 0;
	padding: 5px 4px;
	margin: 0;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
	border-bottom: 2px solid transparent;
}

.zhuolu-utility-bar__trigger:hover,
.zhuolu-utility-bar__trigger:focus {
	text-decoration: underline;
	border-bottom-color: rgba(255, 255, 255, 0.55);
}

.zhuolu-utility-bar__trigger:focus-visible {
	outline: 2px solid #ffd166;
	outline-offset: 4px;
}

.zhuolu-utility-bar__popover {
	position: absolute;
	z-index: 30;
	top: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%) translateY(-4px);
	min-width: 148px;
	padding: 12px 14px 14px;
	box-sizing: border-box;
	background: #fff;
	color: #222;
	border-radius: 6px;
	border: 1px solid #ddd;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.zhuolu-utility-bar__popover::before {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 50%;
	width: 0;
	height: 0;
	margin-bottom: -1px;
	transform: translateX(-50%);
	border: 8px solid transparent;
	border-bottom-color: #fff;
}

.zhuolu-utility-bar__hover:hover .zhuolu-utility-bar__popover,
.zhuolu-utility-bar__hover:focus-within .zhuolu-utility-bar__popover {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.zhuolu-utility-bar__popover-title {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	color: #333;
}

.zhuolu-utility-bar__qr {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 120px;
	margin: 0 auto;
	box-sizing: border-box;
	background: repeating-conic-gradient(#eee 0% 25%, #f7f7f7 0% 50%) 50% / 16px 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.zhuolu-utility-bar__qr-label {
	font-size: 12px;
	color: #666;
	text-align: center;
	padding: 0 8px;
	line-height: 1.35;
}

@media (max-width: 599px) {
	.zhuolu-utility-bar__actions {
		justify-content: flex-start;
		flex: 1 1 auto;
		min-width: 0;
	}
}

/* -------------------------------------------------------------------------
 * 搜索条下方：栏目导航（每列 3 行）
 * ------------------------------------------------------------------------- */

.zhuolu-category-nav {
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 10px 0 12px;
	background: #fff;
	border-bottom: 1px solid #e6e6e6;
}

@media (max-width: 999px) {
	.zhuolu-category-nav {
		padding-left: 12px;
		padding-right: 12px;
	}
}

.zhuolu-category-nav__inner {
	padding: 0;
}

.zhuolu-category-nav__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 20px;
}

@media (min-width: 680px) {
	.zhuolu-category-nav__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.zhuolu-category-nav__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-template-rows: repeat(3, auto);
		grid-auto-flow: column;
		column-gap: 24px;
		row-gap: 10px;
	}
}

.zhuolu-category-nav__line {
	margin: 0;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0;
	font-size: 14px;
	line-height: 1.45;
	color: #2a2a2a;
}

/* 超窄手机再缩小一号，避免第 4 个子菜单换行。 */
@media (max-width: 390px) {
	.zhuolu-category-nav__line {
		font-size: 13px;
	}
}

.zhuolu-category-nav__link,
.zhuolu-category-nav__text {
	color: #2a2a2a;
	text-decoration: none;
	white-space: nowrap;
}

.zhuolu-category-nav__link:hover,
.zhuolu-category-nav__link:focus {
	color: #9a1a2e;
	text-decoration: underline;
}

.zhuolu-category-nav__link:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
	border-radius: 2px;
}

.zhuolu-category-nav__link--parent {
	font-weight: 600;
}

.zhuolu-category-nav__sep {
	padding: 0 4px;
	color: #8a8a8a;
}

.zhuolu-category-nav__gap {
	width: 0.45em;
}

/* 手机版：栏目导航二级文字更细、更浅。 */
@media (max-width: 959px) {
	.zhuolu-category-nav__link--parent,
	.zhuolu-category-nav__text.zhuolu-category-nav__link--parent {
		color: #52565c;
	}

	.zhuolu-category-nav__link:not(.zhuolu-category-nav__link--parent),
	.zhuolu-category-nav__text:not(.zhuolu-category-nav__link--parent) {
		font-weight: 300;
		color: #72767d;
	}
}

/* -------------------------------------------------------------------------
 * 首页：头部下方三栏（轮播 350×300 | 本地咨询 400×300 | 广告占位）
 * ------------------------------------------------------------------------- */

.zhuolu-home-feature {
	background: #fff; 
	padding: 12px 12px 14px;
	box-sizing: border-box;
}

@media (min-width: 1000px) {
	.zhuolu-home-feature {
		padding-left: 0;
		padding-right: 0;
	}
}

.zhuolu-home-feature__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	align-items: start;
}

@media (min-width: 960px) {
	.zhuolu-home-feature__inner {
		grid-template-columns: 350px 400px minmax(0, 1fr);
		gap: 12px;
		align-items: start;
	}
}

.zhuolu-home-feature__col--carousel {
	min-width: 0;
}

.zhuolu-home-carousel {
	position: relative;
	border-radius: 4px;
	overflow: hidden;
	background: #e8e9ec;
	border: 1px solid #d5d7dd;
}

.zhuolu-home-carousel--empty {
	min-height: 300px;
	max-width: 350px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.zhuolu-home-carousel__empty {
	margin: 0;
	padding: 12px;
	font-size: 13px;
	color: #666;
	text-align: center;
}

.zhuolu-home-carousel__viewport {
	position: relative;
	width: 100%;
	max-width: 350px;
	height: 300px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

/* 手机版：首页新闻缩略图改为铺满容器并按宽度自适应高度（1:1）。 */
@media (max-width: 959px) {
	.zhuolu-home-carousel__viewport {
		max-width: none;
		height: auto;
		aspect-ratio: 1 / 1;
		margin-left: 0;
		margin-right: 0;
	}

	.zhuolu-home-carousel--empty {
		max-width: none;
	}
}

@media (min-width: 960px) {
	.zhuolu-home-carousel__viewport {
		margin-left: 0;
		margin-right: 0;
	}
}

.zhuolu-home-carousel__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.zhuolu-home-carousel__slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
}

.zhuolu-home-carousel__link {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.zhuolu-home-carousel__link:hover .zhuolu-home-carousel__title-text,
.zhuolu-home-carousel__link:focus .zhuolu-home-carousel__title-text {
	text-decoration: underline;
}

.zhuolu-home-carousel__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zhuolu-home-carousel__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 36px 12px 10px;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.45) 40%,
		rgba(0, 0, 0, 0.82) 100%
	);
	pointer-events: none;
}

.zhuolu-home-carousel__title-text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	line-clamp: 2;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.zhuolu-home-carousel__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 32px;
	height: 36px;
	border: 0;
	padding: 0;
	margin: 0;
	font-size: 22px;
	line-height: 1;
	color: #fff;
	background: rgba(0, 0, 0, 0.35);
	cursor: pointer;
	border-radius: 2px;
}

.zhuolu-home-carousel__btn:hover,
.zhuolu-home-carousel__btn:focus {
	background: rgba(0, 0, 0, 0.55);
}

.zhuolu-home-carousel__btn:focus-visible {
	outline: 2px solid #ffd166;
	outline-offset: 2px;
}

.zhuolu-home-carousel__btn--prev {
	left: 6px;
}

.zhuolu-home-carousel__btn--next {
	right: 6px;
}

.zhuolu-home-carousel__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 52px;
	z-index: 3;
	display: flex;
	justify-content: center;
	gap: 6px;
}

.zhuolu-home-carousel__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
}

.zhuolu-home-carousel__dot.is-active {
	background: #fff;
}

.zhuolu-home-feature__col--news {
	min-width: 0;
	border: 1px solid #e4e5e9;
	border-radius: 4px;
	padding: 10px 12px 12px;
	background: #fafafa;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

@media (min-width: 960px) {
	.zhuolu-home-feature__col--news {
		width: 400px;
		max-width: 100%;
		height: 300px;
		padding: 8px 10px 10px;
		overflow: hidden;
	}
}

.zhuolu-home-news__title {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 700;
	color: #9a1a2e;
	line-height: 1.3;
	flex: 0 0 auto;
}

@media (min-width: 960px) {
	.zhuolu-home-news__title {
		margin-bottom: 6px;
	}
}

.zhuolu-home-news__list {
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1 1 auto;
	min-height: 0;
}

@media (min-width: 960px) {
	.zhuolu-home-news__list {
		overflow-y: auto;
	}
}

.zhuolu-home-news__item {
	margin: 0;
	padding: 0;
	border-top: 1px dashed #ddd;
}

.zhuolu-home-news__item:first-child {
	border-top: 0;
}

.zhuolu-home-news__link {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 0;
	font-size: 13px;
	color: #222;
	text-decoration: none;
}

.zhuolu-home-news__link:hover,
.zhuolu-home-news__link:focus {
	color: #9a1a2e;
	text-decoration: underline;
}

.zhuolu-home-news__item-title {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.zhuolu-home-news__item-date {
	flex: 0 0 auto;
	font-size: 12px;
	color: #666;
	white-space: nowrap;
}

.zhuolu-home-news__empty {
	margin: 0;
	font-size: 13px;
	color: #666;
}

.zhuolu-home-feature__col--ads {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

@media (max-width: 959px) {
	.zhuolu-home-feature__col--ads {
		display: none;
	}
}

@media (min-width: 960px) {
	.zhuolu-home-feature__col--ads {
		height: 300px;
		gap: 0;
		justify-content: space-between;
	}
}

.zhuolu-home-ad-slot {
	min-height: 72px;
	border-radius: 4px;
	border: 1px dashed #c5c7cc;
	background: repeating-linear-gradient(-45deg, #f4f4f5, #f4f4f5 6px, #ececee 6px, #ececee 12px);
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

@media (min-width: 960px) {
	.zhuolu-home-ad-slot {
		flex: 0 0 auto;
		height: 95px;
		min-height: 0;
	}
}

.zhuolu-home-ad-slot__label {
	font-size: 12px;
	color: #888;
	user-select: none;
}

/* -------------------------------------------------------------------------
 * 通用信息流 zhuolu-stream：首页（.zhuolu-stream--band）与分类页共用
 * ------------------------------------------------------------------------- */

.zhuolu-stream--band {
	background: #fff;
	padding: 12px;
	box-sizing: border-box;
}

@media (min-width: 1000px) {
	.zhuolu-stream--band {
		padding-left: 0;
		padding-right: 0;
	}
}

.zhuolu-stream__inner {
	max-width: 1000px;
	margin: 0 auto;
}

.zhuolu-stream__cols {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	align-items: start;
}

@media (min-width: 900px) {
	.zhuolu-stream__cols {
		grid-template-columns: 7fr 3fr;
		gap: 24px;
	}
}

.zhuolu-stream__main {
	min-width: 0;
}

.zhuolu-stream__aside {
	min-width: 0;
	border: 1px solid #e4e5e9;
	border-radius: 4px;
	background: #fafafa;
	padding: 12px 14px;
	box-sizing: border-box;
}

.zhuolu-stream__heading {
	margin: 0 0 10px;
	font-size: 17px;
	line-height: 1.25;
	font-weight: 800;
	color: #9a1a2e;
}

.zhuolu-stream__subcats {
	margin: 0 0 14px;
	padding: 0 0 14px;
	border-bottom: 1px solid #e4e5e9;
}

.zhuolu-stream__subcats-heading {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.25;
	font-weight: 800;
	color: #9a1a2e;
}

.zhuolu-stream__subcats-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
}

.zhuolu-stream__subcats-item {
	margin: 0;
	padding: 0;
}

.zhuolu-stream__subcats-link {
	display: inline-block;
	padding: 5px 11px;
	font-size: 13px;
	line-height: 1.35;
	color: #1a5680;
	text-decoration: none;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
}

.zhuolu-stream__subcats-link:hover,
.zhuolu-stream__subcats-link:focus {
	border-color: #9a1a2e;
	color: #9a1a2e;
}

.zhuolu-stream__subcats-text {
	font-size: 13px;
	color: #666;
}

.zhuolu-stream__hot .zhuolu-stream__heading {
	margin-top: 0;
}

.zhuolu-stream__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid #e4e5e9;
	border-radius: 4px;
	background: #fafafa;
	overflow: hidden;
}

.zhuolu-stream__item {
	margin: 0;
	padding: 0;
	border-top: 1px solid #ececf0;
}

.zhuolu-stream__item:first-child {
	border-top: none;
}

.zhuolu-stream__article {
	padding: 14px 16px;
	box-sizing: border-box;
}

.zhuolu-stream__hdr {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px 16px;
}

.zhuolu-stream__title {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
	font-size: 20px;
	line-height: 1.35;
	font-weight: 800;
}

@media (max-width: 599px) {
	.zhuolu-stream__title {
		font-size: 18px;
	}
}

.zhuolu-stream__title a {
	color: #1a1a1a;
	text-decoration: none;
}

.zhuolu-stream__title a:hover,
.zhuolu-stream__title a:focus {
	color: #9a1a2e;
	text-decoration: underline;
}

.zhuolu-stream__date {
	flex: 0 0 auto;
	margin-top: 2px;
	font-size: 13px;
	color: #666;
	white-space: nowrap;
}

.zhuolu-stream__meta {
	margin: 10px 0 0;
	padding: 0;
	font-size: 16px;
	line-height: 1.55;
	color: #4a9b78;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.zhuolu-stream__contact-name,
.zhuolu-stream__contact-phone,
.zhuolu-stream__price {
	color: #4a9b78;
	font-weight: 600;
}

.zhuolu-stream__excerpt {
	margin: 8px 0 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #757575;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	word-break: break-word;
}

.zhuolu-stream__empty,
.zhuolu-stream-hot__empty {
	margin: 8px 0 0;
	font-size: 14px;
	color: #666;
}

.zhuolu-stream__pagination {
	margin-top: 14px;
}

.zhuolu-stream__pagination ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.zhuolu-stream__pagination li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.zhuolu-stream__pagination a.page-numbers,
.zhuolu-stream__pagination span.page-numbers {
	display: inline-block;
	min-width: 2.25em;
	padding: 6px 10px;
	box-sizing: border-box;
	text-align: center;
	font-size: 14px;
	line-height: 1.3;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	text-decoration: none;
	color: #222;
	background: #fff;
}

.zhuolu-stream__pagination a.page-numbers:hover,
.zhuolu-stream__pagination a.page-numbers:focus {
	border-color: #9a1a2e;
	color: #9a1a2e;
}

.zhuolu-stream__pagination span.page-numbers.current {
	border-color: #9a1a2e;
	background: #9a1a2e;
	color: #fff;
	font-weight: 600;
}

.zhuolu-stream__pagination span.page-numbers.dots {
	border-color: transparent;
	background: transparent;
	min-width: 0;
	padding-left: 4px;
	padding-right: 4px;
	color: #666;
}

.zhuolu-stream-hot__list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.45;
	color: #222;
}

.zhuolu-stream-hot__item {
	margin: 0 0 8px;
	padding: 0;
}

.zhuolu-stream-hot__item:last-child {
	margin-bottom: 0;
}

.zhuolu-stream-hot__link {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	color: #222;
	text-decoration: none;
}

.zhuolu-stream-hot__link:hover,
.zhuolu-stream-hot__link:focus {
	color: #9a1a2e;
	text-decoration: underline;
}

.zhuolu-stream-hot__title {
	flex: 1 1 auto;
	min-width: 0;
}

.zhuolu-stream-hot__count {
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 600;
	color: #9a1a2e;
	white-space: nowrap;
}

/* ---------- 根目录 /post.php 独立投稿页（版心 1000px 与全站正文区一致） ---------- */
.zhuolu-guest-submit-standalone-wrap {
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
	padding: 16px 12px 32px;
	box-sizing: border-box;
}

.zhuolu-guest-submit-standalone-head {
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e4e5e9;
}

.zhuolu-guest-submit-standalone-home {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #9a1a2e;
	text-decoration: none;
}

.zhuolu-guest-submit-standalone-home:hover,
.zhuolu-guest-submit-standalone-home:focus {
	text-decoration: underline;
}

.zhuolu-guest-submit-standalone-title {
	margin: 0;
	font-size: 22px;
	line-height: 1.3;
	font-weight: 800;
	color: #222;
}

.zhuolu-guest-submit-standalone-main {
	min-height: 40vh;
}

body.zhuolu-standalone-guest-submit .zhuolu-guest-submit {
	margin: 0;
	padding: 0;
}

/* ---------- 游客投稿页（短代码 zhuolu_guest_submit） ---------- */
.zhuolu-guest-submit {
	max-width: 1000px;
	width: 100%;
	margin: 0 auto 24px;
	padding: 0 12px;
	box-sizing: border-box;
}

.zhuolu-guest-submit__notice {
	margin: 0 0 14px;
	padding: 10px 12px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.5;
}

.zhuolu-guest-submit__notice--ok {
	border: 1px solid #b8e0c8;
	background: #f0faf3;
	color: #1e4620;
}

.zhuolu-guest-submit__notice--err {
	border: 1px solid #e8b4b4;
	background: #fdf2f2;
	color: #8a2424;
}

.zhuolu-guest-submit__form {
	padding: 14px 0 8px;
}

.zhuolu-guest-submit__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.zhuolu-guest-submit__field {
	margin: 0 0 16px;
}

.zhuolu-guest-submit__field--row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

@media (max-width: 559px) {
	.zhuolu-guest-submit__field--row {
		grid-template-columns: 1fr;
	}
}

.zhuolu-guest-submit__label {
	display: block;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
	color: #333;
}

.zhuolu-guest-submit__req {
	color: #9a1a2e;
}

.zhuolu-guest-submit__input,
.zhuolu-guest-submit__textarea,
.zhuolu-guest-submit__file,
.zhuolu-guest-submit__select {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	font-size: 16px;
	line-height: 1.45;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 10px 12px;
	background: #fff;
}

.zhuolu-guest-submit__select {
	cursor: pointer;
	appearance: auto;
}

.zhuolu-guest-submit__file {
	padding: 8px 10px;
}

.zhuolu-guest-submit__carousel-preview {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
	min-height: 0;
}

.zhuolu-guest-submit__preview-item {
	width: 88px;
	height: 88px;
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid #d5d7dd;
	background: #f3f4f6;
	flex-shrink: 0;
}

.zhuolu-guest-submit__preview-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zhuolu-guest-submit__preview-hint {
	margin: 4px 0 0;
	font-size: 13px;
	color: #8a2424;
	line-height: 1.45;
	flex: 1 1 100%;
}

.zhuolu-guest-submit__input--narrow {
	max-width: 140px;
}

.zhuolu-guest-submit__textarea {
	min-height: 200px;
	resize: vertical;
	font-family: inherit;
}

.zhuolu-guest-submit__cap-question {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	color: #222;
	letter-spacing: 0.04em;
}

.zhuolu-guest-submit__submit-wrap {
	margin: 20px 0 8px;
}

.zhuolu-guest-submit__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 22px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: #9a1a2e;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	width: 100%;
	max-width: 280px;
}

.zhuolu-guest-submit__button:hover,
.zhuolu-guest-submit__button:focus {
	background: #861628;
}

.zhuolu-guest-submit__hint {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: #666;
}

.zhuolu-single-page__guest-plain {
	font-size: 16px;
	line-height: 1.75;
	color: #222;
	word-break: break-word;
}
