/* lawlst 金牌律师网 - 首页样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
	font-family: "Microsoft YaHei", "微软雅黑", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #333;
	line-height: 1.6;
	background: #f8f8f8;
}
a { color: #333; text-decoration: none; transition: color .2s; }
a:hover { color: #c42621; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* 通用容器 */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

/* 头部 */
.site-header {
	background: #fff;
	border-bottom: 3px solid #c42621;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	position: sticky; top: 0; z-index: 100;
}
.header-inner {
	display: flex;
	align-items: center;
	height: 80px;
	gap: 20px;
}
.site-brand { display: flex; align-items: center; gap: 12px; }
.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 44px; }
.site-name {
	font-size: 22px;
	color: #c42621;
	font-weight: 700;
	letter-spacing: 1px;
}
.site-city {
	background: #c42621;
	color: #fff;
	font-size: 13px;
	padding: 2px 10px;
	border-radius: 12px;
}
.main-nav { flex: 1; }
.nav-list { display: flex; justify-content: center; gap: 5px; }
.nav-item { list-style: none; }
.nav-link {
	display: inline-block;
	padding: 8px 18px;
	font-size: 16px;
	color: #333;
	border-radius: 4px;
}
.nav-link:hover, .nav-link.active { background: #c42621; color: #fff; }
.header-tel {
	display: flex;
	align-items: center;
	gap: 8px;
}
.phone-icon { width: 18px; height: 18px; }
.tel-label { font-size: 13px; color: #999; }
.tel-num {
	font-size: 22px;
	color: #c42621;
	font-weight: 700;
	font-family: Arial, sans-serif;
}

/* Banner */
.banner-wrap {
	background: linear-gradient(90deg, #fff6f5 0%, #f7f8fa 100%);
	border-bottom: 1px solid #f0f0f0;
	display: flex;
	justify-content: center;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 20px;
	padding: 26px 16px;
}
.banner-item {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 380px;
	max-width: 100%;
	background: #fff;
	border: 1px solid #f2e3e1;
	border-radius: 10px;
	padding: 16px 22px;
	box-shadow: 0 2px 12px rgba(199, 44, 36, .05);
	text-decoration: none;
	transition: box-shadow .2s, transform .2s;
}
.banner-item:hover {
	box-shadow: 0 6px 18px rgba(199, 44, 36, .12);
	transform: translateY(-2px);
}
.banner-item img { width: 64px; height: 64px; flex: 0 0 64px; display: block; }
.banner-text { font-size: 15px; color: #333; line-height: 1.6; font-weight: 600; }
.banner-title {
	flex: 0 0 100%;
	width: 100%;
	text-align: center;
	font-size: 22px;
	color: #c42621;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 2px;
}
.banner-sub {
	display: inline-block;
	margin-left: 12px;
	font-size: 14px;
	color: #999;
	font-weight: 400;
}
@media (max-width: 768px) {
	.banner-sub { display: block; margin: 4px 0 0; }
}

/* 空态区块 */
.empty-block {
	text-align: center;
	padding: 28px 16px 32px;
	background: #fafafa;
	border: 1px dashed #e6e6e6;
	border-radius: 10px;
}
.empty-text { font-size: 16px; color: #666; margin: 0 0 6px; }
.empty-sub { font-size: 14px; color: #999; margin: 0 0 16px; }
.empty-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.empty-btn {
	display: inline-block;
	padding: 8px 22px;
	font-size: 14px;
	color: #fff;
	background: #c42621;
	border-radius: 18px;
	text-decoration: none;
	transition: opacity .2s;
}
.empty-btn:hover { opacity: .88; color: #fff; text-decoration: none; }
.empty-btn-ghost { color: #c42621; background: #fff; border: 1px solid #c42621; }
.empty-btn-ghost:hover { color: #a51f1b; }

/* 通用 section */
.section {
	padding: 30px 0;
	background: #fff;
	margin-bottom: 0;
}
.section + .section { margin-top: 0; border-top: 1px solid #f0f0f0; }
.section-head { text-align: center; margin-bottom: 24px; }
.section-title {
	font-size: 26px;
	color: #333;
	font-weight: 700;
	display: inline-block;
	padding-bottom: 8px;
	border-bottom: 3px solid #c42621;
	margin-bottom: 8px;
}
.section-sub { font-size: 14px; color: #999; font-weight: normal; }
.section-desc { font-size: 14px; color: #999; margin-top: 6px; }

/* 律师卡片网格 */
.lawyer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.lawyer-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 6px;
	padding: 20px;
	display: flex;
	gap: 16px;
	transition: all .2s;
}
.lawyer-card:hover { box-shadow: 0 4px 14px rgba(196,38,33,0.12); border-color: #c42621; }
.lawyer-avatar {
	width: 110px;
	height: 110px;
	border-radius: 4px;
	overflow: hidden;
	flex-shrink: 0;
}
.lawyer-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lawyer-info { flex: 1; min-width: 0; }
.lawyer-name {
	display: block;
	font-size: 18px;
	color: #c42621;
	font-weight: 700;
	margin-bottom: 8px;
}
.lawyer-meta {
	font-size: 13px;
	color: #666;
	margin-bottom: 6px;
}
.lawyer-meta span { margin-right: 12px; }
.lawyer-field {
	font-size: 13px;
	color: #666;
	margin-bottom: 8px;
}
.field-label { color: #999; }
.field-value { color: #c42621; }
.lawyer-intro {
	font-size: 13px;
	color: #666;
	line-height: 1.5;
	max-height: 4.5em;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	margin-bottom: 10px;
}
.lawyer-actions { margin-top: 8px; }
.btn-ask, .btn-phone-consult {
	display: inline-block;
	padding: 6px 16px;
	background: #c42621;
	color: #fff;
	font-size: 13px;
	border-radius: 3px;
}
.btn-ask:hover, .btn-phone-consult:hover { background: #a01c18; color: #fff; }

/* 更多链接 */
.more-link {
	text-align: center;
	margin-top: 18px;
}
.more-link a {
	display: inline-block;
	padding: 6px 24px;
	border: 1px solid #ccc;
	color: #666;
	font-size: 14px;
	border-radius: 3px;
}
.more-link a:hover { border-color: #c42621; color: #c42621; }

/* 资讯列表 */
.news-list {
	background: #fafafa;
	border: 1px solid #eee;
	padding: 12px 20px;
}
.news-item {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px dashed #e5e5e5;
	font-size: 14px;
	color: #333;
}
.news-item:last-child { border-bottom: 0; }
.news-item:hover .news-title { color: #c42621; }
.news-title { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.news-date { color: #999; font-size: 12px; margin-left: 12px; flex-shrink: 0; }

/* 问答列表 */
.qa-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.qa-item {
	background: #fff;
	border: 1px solid #eee;
	border-left: 3px solid #c42621;
	padding: 16px 20px;
	border-radius: 4px;
}
.qa-question {
	font-size: 15px;
	color: #333;
	font-weight: 600;
	margin-bottom: 8px;
	display: block;
}
.qa-question:hover { color: #c42621; }
.qa-q-tag, .qa-a-tag {
	display: inline-block;
	background: #c42621;
	color: #fff;
	font-size: 12px;
	width: 22px; height: 22px;
	line-height: 22px;
	text-align: center;
	border-radius: 50%;
	margin-right: 6px;
	vertical-align: middle;
}
.qa-a-tag { background: #f0a020; }
.qa-answer {
	font-size: 13px;
	color: #666;
	line-height: 1.6;
	margin-top: 6px;
	max-height: 4.8em;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.qa-lawyer {
	margin-top: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #999;
}
.qa-lawyer-name { color: #c42621; }

/* 各地律师导航 */
.city-tools {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}
.city-search { position: relative; display: flex; flex: 1; min-width: 300px; }
.city-search-input {
	flex: 1;
	height: 42px;
	padding: 0 14px;
	font-size: 14px;
	color: #333;
	background: #fff;
	border: 2px solid #c42621;
	border-right: 0;
	border-radius: 4px 0 0 4px;
	outline: none;
}
.city-search-btn {
	height: 42px;
	padding: 0 26px;
	font-size: 15px;
	color: #fff;
	background: #c42621;
	border: 0;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
}
.city-search-btn:hover { background: #a01c18; }
.city-suggest {
	position: absolute;
	top: 44px; left: 0; right: 0;
	z-index: 20;
	background: #fff;
	border: 1px solid #e5e5e5;
	box-shadow: 0 6px 16px rgba(0,0,0,0.12);
	max-height: 320px;
	overflow-y: auto;
}
.city-suggest li { border-bottom: 1px dashed #f0f0f0; }
.city-suggest li:last-child { border-bottom: 0; }
.city-suggest a {
	display: flex;
	justify-content: space-between;
	padding: 9px 14px;
	font-size: 14px;
	color: #333;
}
.city-suggest a:hover { background: #fdf3f3; color: #c42621; }
.suggest-province { color: #999; font-size: 12px; }
.city-select-wrap { display: flex; align-items: center; }
.city-province-select {
	height: 42px;
	min-width: 190px;
	padding: 0 10px;
	font-size: 14px;
	color: #333;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	outline: none;
	cursor: pointer;
}
.city-province-select:hover { border-color: #c42621; }
.city-reset-btn {
	height: 42px;
	padding: 0 18px;
	font-size: 14px;
	color: #666;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
}
.city-reset-btn:hover { color: #c42621; border-color: #c42621; }

.city-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 4px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}
.city-row-label {
	font-size: 14px;
	font-weight: 700;
	color: #c42621;
	flex-shrink: 0;
}
.city-row-items { display: flex; flex-wrap: wrap; gap: 8px; }
.city-hot-link {
	display: inline-block;
	padding: 4px 12px;
	font-size: 13px;
	color: #555;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 14px;
}
.city-hot-link:hover { background: #c42621; color: #fff; border-color: #c42621; }

.city-alpha {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 10px 0 6px;
	border-bottom: 1px solid #eee;
	margin-bottom: 12px;
}
.city-alpha-item {
	display: inline-block;
	min-width: 26px;
	height: 26px;
	line-height: 24px;
	text-align: center;
	font-size: 13px;
	color: #666;
	background: #f7f7f7;
	border: 1px solid #eee;
	border-radius: 3px;
	font-weight: 700;
}
.city-alpha-item:hover { background: #c42621; color: #fff; border-color: #c42621; }
.city-alpha-item.is-active { background: #c42621; color: #fff; border-color: #c42621; }
.city-alpha-item.is-disabled { color: #ccc; background: #fbfbfb; cursor: not-allowed; }
.city-alpha-item.is-disabled:hover { background: #fbfbfb; color: #ccc; border-color: #eee; }
.city-alpha-item.is-all { min-width: 46px; font-weight: 400; }
.city-filter-tip { font-size: 13px; color: #c42621; margin-bottom: 10px; }

.city-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}
.city-letter {
	flex-basis: 100%;
	margin-top: 10px;
	font-size: 15px;
	font-weight: 700;
	color: #c42621;
	border-bottom: 1px dashed #eee;
	padding-bottom: 4px;
}
.city-letter:first-child { margin-top: 0; }
.city-link {
	display: inline-block;
	padding: 3px 10px;
	font-size: 13px;
	color: #555;
	background: #f7f7f7;
	border: 1px solid #eee;
	border-radius: 3px;
}
.city-link:hover { background: #c42621; color: #fff; border-color: #c42621; }

/* 底部 */
.site-footer {
	background: #2b2b2b;
	color: #b5b5b5;
	margin-top: 30px;
}
.footer-join {
	background: linear-gradient(135deg, #c42621, #a01c18);
	color: #fff;
	padding: 30px 0;
	text-align: center;
}
.join-title { font-size: 22px; margin-bottom: 8px; }
.join-hotline { font-size: 14px; }
.join-tel {
	font-size: 28px;
	color: #fff;
	font-weight: 700;
	font-family: Arial, sans-serif;
	margin-left: 8px;
}
.footer-info { padding: 24px 0; }
.footer-nav {
	text-align: center;
	margin-bottom: 12px;
}
.footer-nav-link {
	color: #b5b5b5;
	font-size: 13px;
	margin: 0 8px;
}
.footer-nav-link:hover { color: #fff; }
.footer-sep { color: #555; }
.footer-contact, .footer-copy {
	text-align: center;
	font-size: 12px;
	margin-top: 6px;
}
.contact-item, .copy-item { margin: 0 12px; }

/* 响应式 */
@media (max-width: 768px) {
	.header-inner { height: auto; flex-wrap: wrap; padding: 10px 15px; gap: 8px; }
	.logo-img { height: 36px; }
	.site-name { font-size: 18px; }
	.site-city { font-size: 12px; padding: 1px 8px; }
	.main-nav { order: 3; flex: 0 0 100%; width: 100%; }
	.nav-list { flex-wrap: wrap; justify-content: center; gap: 4px; }
	.nav-item { flex: 0 0 auto; }
	.nav-link { padding: 6px 12px; font-size: 14px; }
	.header-tel { order: 2; margin-left: auto; }
	.tel-label { display: none; }
	.tel-num { font-size: 18px; }
	.banner-wrap { flex-direction: column; }
	.lawyer-grid { grid-template-columns: 1fr; }
	.lawyer-card { padding: 14px; }
	.lawyer-avatar { width: 90px; height: 90px; }
	.section-title { font-size: 20px; }
	.city-tools { flex-direction: column; align-items: stretch; }
	.city-search { min-width: 0; }
	.city-province-select { width: 100%; }
	.city-search-btn { padding: 0 16px; font-size: 14px; }
}
