/* BaiduSEO 子主题布局 — 仿 jiemeng123 / Dream Glossary */

.baiduseo-theme {
	font-family: "DM Sans", system-ui, sans-serif;
	color: #333;
	background: #f5f6f8;
}

.baiduseo-theme .site-content,
.baiduseo-theme #content {
	max-width: none;
	padding: 0;
}

.baiduseo-az-bar {
	background: #fff;
	border-bottom: 1px solid #e8e8e8;
}

.baiduseo-az-wrap {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0.65rem 1rem;
}

.baiduseo-az {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.baiduseo-az-link {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	color: #333;
	font-size: 0.85rem;
	line-height: 1.4;
}

.baiduseo-az-link:hover,
.baiduseo-az-link.is-active {
	background: #004c99;
	border-color: #004c99;
	color: #fff;
}

.baiduseo-site {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 1rem 2rem;
}

.baiduseo-hero {
	background: linear-gradient(135deg, #0a3d6b 0%, #004c99 55%, #1a6bb5 100%);
	color: #fff;
	border-radius: 0 0 12px 12px;
	padding: 2rem 1.5rem 1.75rem;
	margin-bottom: 1.25rem;
	text-align: center;
}

.baiduseo-hero--compact {
	background: #fff;
	color: #333;
	border: 1px solid #e5e5e5;
	text-align: left;
	padding: 1.25rem 1.5rem;
}

.baiduseo-hero__brand {
	font-size: 0.9rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.85;
	margin: 0 0 0.35rem;
}

.baiduseo-hero__title {
	font-family: "DM Serif Text", Georgia, serif;
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	margin: 0 0 0.5rem;
	line-height: 1.25;
}

.baiduseo-hero__desc {
	margin: 0 0 1rem;
	opacity: 0.92;
	font-size: 1rem;
}

.baiduseo-hero--compact .baiduseo-hero__title {
	font-size: 1.75rem;
}

.baiduseo-search {
	display: flex;
	max-width: 480px;
	margin: 0 auto;
	gap: 0.5rem;
}

.baiduseo-search input {
	flex: 1;
	padding: 0.55rem 0.75rem;
	border: 0;
	border-radius: 6px;
}

.baiduseo-search button {
	padding: 0.55rem 1rem;
	border: 0;
	border-radius: 6px;
	background: #fcb900;
	color: #222;
	font-weight: 600;
	cursor: pointer;
}

.baiduseo-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 1.5rem;
	align-items: start;
}

@media (max-width: 900px) {
	.baiduseo-layout {
		grid-template-columns: 1fr;
	}
}

.baiduseo-card {
	background: #fff;
	border-radius: 10px;
	padding: 1.15rem 1.35rem;
	margin-bottom: 1rem;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.baiduseo-card__title {
	font-family: "DM Serif Text", Georgia, serif;
	font-size: 1.35rem;
	margin: 0 0 0.5rem;
	line-height: 1.35;
}

.baiduseo-card__title a {
	color: inherit;
	text-decoration: none;
}

.baiduseo-card__title a:hover {
	color: #004c99;
}

.baiduseo-card__excerpt {
	color: #555;
	font-size: 0.95rem;
	line-height: 1.55;
	margin-bottom: 0.65rem;
}

.baiduseo-card__more {
	font-size: 0.9rem;
	font-weight: 600;
	color: #004c99;
	text-decoration: none;
}

.baiduseo-sidebar .baiduseo-widget {
	background: #fff;
	border-radius: 10px;
	padding: 1rem 1.15rem;
	margin-bottom: 1rem;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.baiduseo-widget__title {
	font-family: "DM Serif Text", Georgia, serif;
	font-size: 1rem;
	margin: 0 0 0.65rem;
}

.baiduseo-widget__list {
	margin: 0;
	padding-left: 1.1rem;
	font-size: 0.9rem;
	line-height: 1.6;
}

.baiduseo-pagination {
	margin-top: 1rem;
}

.baiduseo-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.baiduseo-pagination a,
.baiduseo-pagination span {
	padding: 0.35rem 0.65rem;
	background: #fff;
	border-radius: 4px;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.baiduseo-pagination span.current {
	background: #004c99;
	color: #fff;
}

/* —— 单篇文章 —— */
.baiduseo-single {
	background: #fff;
	border-radius: 12px;
	padding: 1.5rem 1.75rem;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.baiduseo-breadcrumb {
	font-size: 0.85rem;
	color: #777;
	margin-bottom: 1rem;
}

.baiduseo-breadcrumb a {
	color: #004c99;
	text-decoration: none;
}

.baiduseo-breadcrumb .sep {
	margin: 0 0.35rem;
	color: #bbb;
}

.baiduseo-breadcrumb .current {
	color: #555;
}

.baiduseo-single__title {
	font-family: "DM Serif Text", Georgia, serif;
	font-size: clamp(1.6rem, 4vw, 2.2rem);
	line-height: 1.3;
	margin: 0 0 0.65rem;
}

.baiduseo-single__meta {
	font-size: 0.9rem;
	color: #777;
	margin-bottom: 1.25rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.baiduseo-single__meta a {
	color: #004c99;
}

.baiduseo-single__content {
	font-size: 1.05rem;
	line-height: 1.75;
	color: #333;
}

.baiduseo-single__content p {
	margin: 0 0 1rem;
}

.baiduseo-single__content h2,
.baiduseo-single__content h3 {
	font-family: "DM Serif Text", Georgia, serif;
	margin: 1.5rem 0 0.75rem;
}

.baiduseo-single__content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.baiduseo-tags {
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid #eee;
	font-size: 0.9rem;
}

.baiduseo-tags a {
	color: #004c99;
}

.baiduseo-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid #eee;
	font-size: 0.9rem;
}

.baiduseo-post-nav a {
	color: #004c99;
	text-decoration: none;
	font-weight: 600;
}

.baiduseo-post-nav .next {
	text-align: right;
}

.baiduseo-related {
	margin-top: 1.5rem;
}

.baiduseo-related__title {
	font-family: "DM Serif Text", Georgia, serif;
	font-size: 1.35rem;
	margin: 0 0 0.75rem;
}

.baiduseo-related__grid .baiduseo-card {
	margin-bottom: 0.75rem;
}

@media (max-width: 600px) {
	.baiduseo-post-nav {
		grid-template-columns: 1fr;
	}
	.baiduseo-post-nav .next {
		text-align: left;
	}
}

/* —— 404 —— */
.baiduseo-layout--center .baiduseo-main {
	min-height: 40vh;
}

.baiduseo-404 {
	background: #fff;
	border-radius: 12px;
	padding: 2rem 1.75rem;
	text-align: center;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
	margin-bottom: 1rem;
}

.baiduseo-404__code {
	font-size: 4rem;
	font-weight: 700;
	color: #004c99;
	line-height: 1;
	margin: 0 0 0.5rem;
	opacity: 0.85;
}

.baiduseo-404__title {
	font-family: "DM Serif Text", Georgia, serif;
	font-size: 1.75rem;
	margin: 0 0 0.5rem;
}

.baiduseo-404__desc {
	color: #666;
	margin: 0 0 1.25rem;
}

.baiduseo-search--404 {
	margin: 0 auto 1rem;
}

.baiduseo-404__links a {
	color: #004c99;
	font-weight: 600;
	text-decoration: none;
}

.baiduseo-related--404 {
	text-align: left;
}

/* —— 固定页面 —— */
.baiduseo-page {
	background: #fff;
	border-radius: 12px;
	padding: 1.5rem 1.75rem;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.baiduseo-page__title {
	font-family: "DM Serif Text", Georgia, serif;
	font-size: 1.85rem;
	margin: 0 0 1rem;
}

.baiduseo-page__content {
	line-height: 1.75;
}

.baiduseo-html-sitemap {
	columns: 2;
	gap: 1.5rem;
	margin: 1rem 0 0;
	padding-left: 1.2rem;
}

@media (max-width: 600px) {
	.baiduseo-html-sitemap {
		columns: 1;
	}
}

/* —— 页脚 —— */
.baiduseo-site-footer {
	background: #fff;
	border-top: 1px solid #e5e5e5;
	margin-top: 2rem;
	padding: 1rem 0 1.25rem;
	font-size: 0.9rem;
	color: #666;
}

.baiduseo-site-footer__inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 1rem;
	text-align: center;
}

.baiduseo-site-footer a {
	color: #004c99;
	text-decoration: none;
}

.baiduseo-site-footer__copy {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.85rem;
	color: #999;
}

/* —— 插件练习组件 —— */
.baiduseo-demo-tags,
.baiduseo-spider-test {
	background: #f8f9fa;
	border: 1px solid #e2e4e7;
	border-radius: 8px;
	padding: 1rem 1.25rem;
	margin: 1rem 0;
}

.baiduseo-spider-test.is-bot {
	border-color: #00a32a;
	background: #f0fff4;
}
