/* 由 functions.php 以 media=(max-width: 980px) 加载 — 文章详情小屏 */

/* ---------- 英雄区（对齐 news-view.css） ---------- */
.is-view-single-post .news-hero {
	min-height: auto;
}

.is-view-single-post .news-hero__layer--image26 {
	top: -6rem;
	height: 36rem;
}

.is-view-single-post .news-hero__image26-rotate {
	width: 44rem;
}

.is-view-single-post .single-post-hero-bg {
	height: 36rem;
}

#page:has(.has-fixed-header) .is-view-single-post .news-intro,
.is-view-single-post .news-intro,
.is-view-single-post .news-intro--single {
	padding-top: 2rem;
	padding-bottom: 1.5rem;
}

.is-view-single-post .news-intro__title,
.is-view-single-post .news-intro__title--single {
	margin-bottom: 1.5rem !important;
	font-size: 2rem !important;
}

.is-view-single-post .news-intro__desc {
	font-size: 1.125rem !important;
}

/* ---------- 面包屑：单行 + 当前项省略 ---------- */
.single-post-breadcrumb-wrap {
	padding-left: 1rem;
	padding-right: 1rem;
}

.single-post-breadcrumb {
	flex-wrap: nowrap;
	overflow: hidden;
	min-width: 0;
}

.single-post-breadcrumb__link,
.single-post-breadcrumb__sep {
	flex-shrink: 0;
}

.single-post-breadcrumb__current {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	word-break: normal;
}

/* ---------- 主内容区 ---------- */
.single-post-outer {
	padding-left: 1rem;
	padding-right: 1rem;
	padding-bottom: 3rem;
}

.single-post-card {
	padding: 1.5rem 1.25rem 2rem;
}

/* 文章标题 26px；正文 16px；正文内 h 标签 20px */
body.single-post .single-post-card__title {
	font-size: 1.625rem !important;
	line-height: 1.375;
}

body.single-post .single-post-article .post-content--single {
	font-size: 1rem !important;
	line-height: 1.75;
}

body.single-post .single-post-article .post-content--single p,
body.single-post .single-post-article .post-content--single li,
body.single-post .single-post-article .post-content--single blockquote {
	font-size: 1rem !important;
	line-height: 1.75;
}

body.single-post .single-post-article .post-content--single p {
	margin: 0 0 0.875rem;
}

body.single-post .single-post-article .post-content--single p:last-child {
	margin-bottom: 0;
}

body.single-post .single-post-article .post-content--single h1,
body.single-post .single-post-article .post-content--single h2,
body.single-post .single-post-article .post-content--single h3,
body.single-post .single-post-article .post-content--single h4,
body.single-post .single-post-article .post-content--single h5,
body.single-post .single-post-article .post-content--single h6 {
	font-size: 1.25rem !important;
	line-height: 1.5;
}

.single-post-fnav__inner {
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.single-post-fnav__right {
	text-align: left;
}

.single-post-fnav__right .single-post-fnav__a--disabled {
	margin-left: 0;
}

.single-post-fnav__left,
.single-post-fnav__right {
	flex: 1 1 100%;
}

/* ---------- Avada 侧栏隐藏，主栏全宽 ---------- */
body.single-post #sidebar,
body.single-post #sidebar-2 {
	display: none !important;
}

body.single-post.has-sidebar #content,
body.single-post.has-sidebar-double #content,
body.single-post #content {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	float: none !important;
}

body.single-post .fusion-row {
	max-width: 100%;
}
