.pc-consultants {
	--pc-text: #22333b;
	--pc-muted: #7a8790;
	background: transparent;
	padding: 0;
}

.pc-consultants__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: flex-start;
	background: transparent;
}

.pc-card {
	display: flex;
	align-items: stretch;
	width: 380px;
	max-width: 100%;
	min-height: 120px;
	background: #ffffff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(20, 40, 60, 0.08);
}

.pc-card__photo {
	width: 150px;
	flex: 0 0 150px;
	background: #d9e2e8;
}

.pc-card__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pc-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 12px 14px;
	min-width: 0;
	background: #ffffff;
}

.pc-card__name {
	margin: 0 0 4px;
	color: var(--pc-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
}

.pc-card__org {
	margin: 0;
	color: var(--pc-muted);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
}

.pc-card__meta {
	margin: 0;
	color: var(--pc-muted);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.45;
}

.pc-card__tel {
	margin: 2px 0 0;
	color: var(--pc-text);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
}

.pc-card__icons {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
}

.pc-card__icon {
	display: inline-flex;
	line-height: 0;
	opacity: 0.85;
	transition: opacity 0.15s ease;
	cursor: pointer;
}

.pc-card__icon img {
	display: block;
	width: 25px;
	height: 25px;
	object-fit: contain;
}

.pc-card__icon:hover {
	opacity: 1;
}

/* 平板：兩欄一排 */
@media (min-width: 641px) and (max-width: 1199px) {
	.pc-consultants__grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.pc-card {
		width: 100%;
		max-width: none;
		min-height: 110px;
	}

	.pc-card__photo {
		width: 110px;
		flex: 0 0 110px;
	}

	.pc-card__body {
		padding: 10px 12px;
	}

	.pc-card__name {
		font-size: 14px;
	}

	.pc-card__org,
	.pc-card__tel {
		font-size: 11px;
	}

	.pc-card__meta {
		font-size: 9px;
	}

	.pc-card__icon img {
		width: 22px;
		height: 22px;
	}
}

@media (max-width: 640px) {
	.pc-card__photo {
		width: 96px;
		flex-basis: 96px;
	}
}

/* WeChat modal */
html.pc-wechat-open,
html.pc-wechat-open body {
	overflow: hidden;
}

.pc-wechat-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.pc-wechat-modal[hidden] {
	display: none !important;
}

.pc-wechat-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.pc-wechat-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(560px, 100%);
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
	padding: 28px 32px 32px;
}

.pc-wechat-modal__close {
	position: absolute;
	top: 10px;
	right: 14px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	color: #666;
	cursor: pointer;
	padding: 4px 8px;
}

.pc-wechat-modal__title {
	margin: 0 0 20px;
	font-size: 28px;
	font-weight: 700;
	color: #222;
}

.pc-wechat-modal__body {
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
}

.pc-wechat-modal__qr {
	flex: 0 0 auto;
	width: 220px;
	height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f7f7f7;
	border-radius: 6px;
	overflow: hidden;
}

.pc-wechat-modal__qr img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.pc-wechat-modal__qr-placeholder {
	font-size: 13px;
	color: #888;
	padding: 12px;
	text-align: center;
}

.pc-wechat-modal__meta {
	flex: 1 1 180px;
	min-width: 160px;
}

.pc-wechat-modal__id-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	color: #222;
}

.pc-wechat-modal__id-label {
	font-weight: 400;
}

.pc-wechat-modal__id-value {
	font-weight: 700;
	word-break: break-all;
}

.pc-wechat-modal__copy {
	border: 1px solid #cfcfcf;
	background: #f3f3f3;
	border-radius: 4px;
	padding: 4px 12px;
	font-size: 14px;
	cursor: pointer;
	color: #333;
}

.pc-wechat-modal__copy:hover {
	background: #eaeaea;
}

.pc-wechat-modal__copy-feedback {
	margin: 10px 0 0;
	font-size: 13px;
	color: #2e7d32;
}

@media (max-width: 560px) {
	.pc-wechat-modal__dialog {
		padding: 22px 18px 24px;
	}

	.pc-wechat-modal__title {
		font-size: 22px;
	}

	.pc-wechat-modal__body {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
	}

	.pc-wechat-modal__qr {
		width: 200px;
		height: 200px;
	}
}
