/* 律师门户首页模板（index_lawyer.html 专用，与默认 index.html 样式分离） */

body.lawyer-body {
	background: #f5f6f8;
	color: #333;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	line-height: 1.6;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

body.lawyer-body img {
	-webkit-user-drag: none;
	user-drag: none;
	pointer-events: none;
}

.lawyer-header {
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.lawyer-brand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 0;
	flex-wrap: wrap;
}

.lawyer-logo {
	max-height: 56px;
}

.lawyer-site-title {
	font-size: 28px;
	font-weight: 700;
	color: #1a3a6b;
	margin: 0;
}

.lawyer-brand-text {
	text-align: right;
}

.lawyer-subtitle {
	margin: 0 0 6px;
	color: #666;
	font-size: 14px;
}

.lawyer-hotline {
	margin: 0;
	color: #c0392b;
	font-size: 18px;
	font-weight: 600;
}

.lawyer-hotline i {
	margin-right: 6px;
}

.lawyer-subtitle:empty,
.lawyer-hotline:empty {
	display: none;
}

.lawyer-hotline:has(:only-child.fa) {
	display: none;
}

.lawyer-meta-author:empty {
	display: none;
}

.lawyer-main {
	padding: 24px 0 40px;
	min-height: 60vh;
}

.lawyer-detail-body {
	background: #f5f6f8;
}

.lawyer-detail-header {
	background: #fff;
	padding: 12px 15px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.lawyer-detail-header img {
	max-height: 48px;
}

.lawyer-detail-page {
	max-width: 1140px;
	margin: 0 auto;
	padding: 20px 15px 40px;
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.lawyer-detail-main {
	flex: 1;
	min-width: 0;
	background: #fff;
	padding: 24px 28px;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.lawyer-detail-main h1 {
	margin: 0 0 10px;
	font-size: 24px;
	line-height: 1.45;
	color: #222;
}

.lawyer-detail-main .time {
	margin: 0 0 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid #eee;
	font-size: 13px;
	color: #999;
}

.lawyer-detail-main .news_content {
	font-size: 15px;
	line-height: 1.9;
	color: #333;
}

.lawyer-detail-main .news_content p {
	margin-bottom: 1em;
}

.lawyer-detail-main .news_content img {
	max-width: 100%;
	height: auto;
}

.lawyer-detail-side {
	width: 340px;
	flex-shrink: 0;
}

.lawyer-detail-side .lawyer-panel {
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	padding: 16px 18px;
	margin-bottom: 16px;
}

.lawyer-detail-side h2 {
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 2px solid #1a3a6b;
	font-size: 16px;
	color: #1a3a6b;
}

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

.lawyer-detail-side li {
	padding: 8px 0;
	border-bottom: 1px dotted #eee;
}

.lawyer-detail-side li:last-child {
	border-bottom: none;
}

.lawyer-detail-side li a {
	display: block;
	color: #333;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 3px;
}

.lawyer-detail-side li a:hover {
	color: #1a3a6b;
}

.lawyer-detail-side li span {
	font-size: 12px;
	color: #aaa;
}

.lawyer-detail-footer {
	padding: 16px;
	text-align: center;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.75);
}

.lawyer-detail-footer p {
	margin: 0 0 4px;
}

.lawyer-detail-footer a {
	color: rgba(255, 255, 255, 0.65);
}

@media (min-width: 992px) {
	.lawyer-detail-side {
		position: sticky;
		top: 20px;
		max-height: calc(100vh - 40px);
		overflow-y: auto;
	}
}

@media (max-width: 991px) {
	.lawyer-detail-page {
		flex-direction: column;
	}

	.lawyer-detail-side {
		width: 100%;
	}
}

.lawyer-index-wrap,
.lawyer-detail-wrap {
	max-width: 1140px;
}

.lawyer-index-wrap > .row,
.lawyer-detail-wrap > .row {
	align-items: flex-start;
}

@media (min-width: 992px) {
	.lawyer-index-wrap > .row > .col-lg-4,
	.lawyer-detail-wrap > .row > .col-lg-4 {
		position: sticky;
		top: 20px;
		align-self: flex-start;
		max-height: calc(100vh - 40px);
		overflow-y: auto;
	}
}

.lawyer-panel {
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	padding: 20px 22px;
	margin-bottom: 20px;
}

.lawyer-panel-title {
	font-size: 18px;
	font-weight: 700;
	color: #1a3a6b;
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid #1a3a6b;
}

.lawyer-article-item {
	padding: 18px 0;
	border-bottom: 1px dashed #e5e7eb;
}

.lawyer-article-item:last-child {
	border-bottom: none;
}

.lawyer-article-title {
	font-size: 20px;
	line-height: 1.45;
	margin: 0 0 10px;
	font-weight: 600;
}

.lawyer-article-title a {
	color: #222;
	text-decoration: none;
	transition: color 0.2s;
}

.lawyer-article-title a:hover {
	color: #1a3a6b;
}

.lawyer-article-desc {
	margin: 0 0 10px;
	color: #666;
	font-size: 14px;
	line-height: 1.75;
}

.lawyer-article-meta {
	font-size: 13px;
	color: #999;
}

.lawyer-meta-author {
	margin-right: 16px;
}

.lawyer-meta-date {
	color: #aaa;
}

.lawyer-loadmore-status {
	text-align: center;
	padding: 18px 0 6px;
	color: #999;
	font-size: 14px;
}

.lawyer-loadmore-status[data-type="loading"] {
	color: #1a3a6b;
}

.lawyer-loadmore-status[data-type="end"] {
	color: #bbb;
}

.lawyer-detail {
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	padding: 28px 30px;
	margin-bottom: 20px;
}

.lawyer-detail-title {
	font-size: 26px;
	line-height: 1.45;
	color: #222;
	margin: 0 0 16px;
	font-weight: 700;
}

.lawyer-detail-meta {
	font-size: 13px;
	color: #999;
	padding-bottom: 16px;
	margin-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.lawyer-detail-meta span + span::before {
	content: "·";
	margin: 0 8px;
	color: #ccc;
}

.lawyer-detail-summary {
	background: #f8f9fb;
	border-left: 3px solid #1a3a6b;
	padding: 14px 16px;
	margin-bottom: 24px;
}

.lawyer-detail-summary strong {
	display: block;
	margin-bottom: 8px;
	color: #1a3a6b;
}

.lawyer-detail-summary p {
	margin: 0;
	color: #666;
	font-size: 14px;
	line-height: 1.8;
}

.lawyer-detail-content {
	font-size: 15px;
	line-height: 1.9;
	color: #333;
}

.lawyer-detail-content p {
	margin-bottom: 1em;
}

.lawyer-detail-content img {
	max-width: 100%;
	height: auto;
}

.lawyer-detail-nav {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px dashed #e5e7eb;
	font-size: 14px;
	color: #666;
}

.lawyer-detail-nav p {
	margin-bottom: 8px;
}

.lawyer-detail-nav a {
	color: #1a3a6b;
	text-decoration: none;
}

.lawyer-detail-disclaimer {
	margin-top: 28px;
	padding: 18px 20px;
	background: #4a4a4a;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.85;
}

.lawyer-disclaimer-text {
	margin: 0 0 12px;
	color: #ff3b30;
	font-weight: 500;
}

.lawyer-disclaimer-meta {
	margin: 0 0 8px;
	color: #c8c8c8;
	word-break: break-all;
}

.lawyer-disclaimer-meta:last-child {
	margin-bottom: 0;
}

.lawyer-disclaimer-meta a {
	color: #c8c8c8;
	text-decoration: none;
}

.lawyer-disclaimer-meta a:hover {
	color: #fff;
	text-decoration: underline;
}

.lawyer-sidebar-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lawyer-sidebar-list li {
	padding: 10px 0;
	border-bottom: 1px dotted #eee;
}

.lawyer-sidebar-list li:last-child {
	border-bottom: none;
}

.lawyer-sidebar-list a {
	display: block;
	color: #333;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 4px;
}

.lawyer-sidebar-list a:hover {
	color: #1a3a6b;
}

.lawyer-sidebar-date {
	font-size: 12px;
	color: #aaa;
}

.lawyer-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.lawyer-tag {
	display: inline-block;
	padding: 4px 12px;
	background: #f0f3f8;
	color: #1a3a6b;
	border-radius: 3px;
	font-size: 13px;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.lawyer-tag:hover {
	background: #1a3a6b;
	color: #fff;
	text-decoration: none;
}

.lawyer-footer {
	background: #2c3e50;
	color: rgba(255, 255, 255, 0.75);
	padding: 24px 0;
	text-align: center;
	position: relative;
}

.lawyer-copyright {
	margin: 0 0 6px;
	font-size: 13px;
}

.lawyer-icp {
	margin: 0;
	font-size: 12px;
}

.lawyer-icp a {
	color: rgba(255, 255, 255, 0.65);
}

.lawyer-backtop {
	position: fixed;
	right: 24px;
	bottom: 40px;
	width: 42px;
	height: 42px;
	line-height: 42px;
	text-align: center;
	background: #1a3a6b;
	color: #fff;
	border-radius: 50%;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	z-index: 99;
}

.lawyer-backtop:hover {
	background: #254a85;
	color: #fff;
}

@media (max-width: 991px) {
	.lawyer-brand {
		flex-direction: column;
		align-items: flex-start;
	}

	.lawyer-brand-text {
		text-align: left;
		margin-top: 10px;
	}

	.lawyer-article-title {
		font-size: 17px;
	}

	.lawyer-detail {
		padding: 20px 16px;
	}

	.lawyer-detail-title {
		font-size: 20px;
	}
}
