/* 新闻分享落地页 — 活动长图风格，移动端优先 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body.share-news-page {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
		"Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
	background: #fff;
	color: #222;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	overflow-x: hidden;
}

.share-news-container {
	width: 100%;
	max-width: 750px;
	margin: 0 auto;
	background: #fff;
	overflow: hidden;
}

.share-news {
	margin: 0 20px 20px;
	padding: 0;
	background: #fff;
}

/* ── 顶部信息（弱化） ── */

.share-news-header {
	padding: 20px 0 0;
	background: #fff;
}

.share-news-title {
	margin: 0;
	font-size: 21px;
	line-height: 1.35;
	font-weight: 700;
	color: #222;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.share-news-meta {
	margin: 8px 0 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #999;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
}

.share-news-meta__sep {
	color: #ccc;
	user-select: none;
}

.share-news-divider {
	margin-top: 20px;
	margin-bottom: 20px;
	border: 0;
	border-top: 1px solid #eee;
}

/* ── 正文：长图区域零 padding ── */

.share-news-content {
	padding: 0;
	margin: 0;
	background: #fff;
	overflow: hidden;
	font-size: 0;
	line-height: 0;
}

/* 纯图片块：无缝衔接、铺满宽度 */

.share-news-content .share-news-media-block,
.share-news-content p.share-news-media-block,
.share-news-content figure.share-news-media-block,
.share-news-content div.share-news-media-block,
.share-news-content a.share-news-media-block {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0 !important;
	font-size: 0 !important;
	width: 100% !important;
	max-width: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	float: none !important;
	text-align: left !important;
}

.share-news-content .share-news-media-block img,
.share-news-content img {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	vertical-align: top;
}

.share-news-content .aligncenter,
.share-news-content .alignleft,
.share-news-content .alignright,
.share-news-content .alignnone,
.share-news-content .size-full,
.share-news-content .size-large,
.share-news-content .size-medium,
.share-news-content .size-thumbnail,
.share-news-content [class*="wp-image-"] {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

.share-news-content figure,
.share-news-content .wp-caption,
.share-news-content .wp-block-image,
.share-news-content .wp-block-gallery,
.share-news-content picture {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	width: 100% !important;
	line-height: 0 !important;
	border-radius: 0 !important;
}

.share-news-content .wp-block-gallery {
	display: block !important;
	gap: 0 !important;
}

.share-news-content .wp-block-gallery .blocks-gallery-item,
.share-news-content .wp-block-gallery figure {
	margin: 0 !important;
	padding: 0 !important;
}

.share-news-content figcaption,
.share-news-content .wp-caption-text,
.share-news-content .wp-element-caption {
	margin: 0 !important;
	padding: 8px 16px !important;
	font-size: 12px !important;
	line-height: 1.5 !important;
	color: #888 !important;
	background: #fff !important;
	text-align: center !important;
}

/* 普通文字段落：单独留白 */

.share-news-content p:not(.share-news-media-block),
.share-news-content h1:not(.share-news-media-block),
.share-news-content h2:not(.share-news-media-block),
.share-news-content h3:not(.share-news-media-block),
.share-news-content h4:not(.share-news-media-block),
.share-news-content h5:not(.share-news-media-block),
.share-news-content h6:not(.share-news-media-block),
.share-news-content ul:not(.share-news-media-block),
.share-news-content ol:not(.share-news-media-block),
.share-news-content blockquote:not(.share-news-media-block),
.share-news-content pre:not(.share-news-media-block) {
	font-size: 16px;
	line-height: 1.8;
	color: #333;
	padding: 0 16px;
	margin: 0 0 16px;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.share-news-content h2 { font-size: 18px; font-weight: 700; }
.share-news-content h3 { font-size: 17px; font-weight: 700; }
.share-news-content h4 { font-size: 16px; font-weight: 700; }

.share-news-content ul:not(.share-news-media-block),
.share-news-content ol:not(.share-news-media-block) {
	padding-left: 32px;
	padding-right: 16px;
}

.share-news-content blockquote:not(.share-news-media-block) {
	border-left: 3px solid #ddd;
	background: #fafafa;
	padding: 12px 16px;
}

.share-news-content a:not(.share-news-media-block) {
	color: #1a5fb4;
	text-decoration: underline;
	word-break: break-all;
}

.share-news-content hr {
	margin: 16px 16px;
	border: 0;
	border-top: 1px solid #eee;
}

/* 视频 / 嵌入：不撑破，媒体块内铺满 */

.share-news-content .share-news-media-block iframe,
.share-news-content .share-news-media-block video,
.share-news-content .share-news-media-block embed {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: auto;
	margin: 0 !important;
	border: 0;
	border-radius: 0;
}

.share-news-content .wp-block-embed,
.share-news-content .wp-block-video {
	max-width: 100%;
	overflow: hidden;
}

.share-news-content .wp-block-embed__wrapper {
	max-width: 100%;
	overflow: hidden;
}

.share-news-content .wp-block-embed iframe {
	width: 100%;
	min-height: 200px;
}

/* 表格 */

.share-news-content table {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 0 16px;
	overflow-x: auto;
	font-size: 14px;
	line-height: 1.6;
	-webkit-overflow-scrolling: touch;
}

.share-news-content th,
.share-news-content td {
	padding: 8px 10px;
	border: 1px solid #e5e7eb;
	word-break: break-word;
}

/* ── 底部 logo（轻量） ── */

.share-news-footer {
	margin: 0;
	padding: 0 0 20pxx;
	text-align: center;
	background: #fff;
}

.share-news-brand {
	display: inline-block;
	line-height: 0;
	text-decoration: none;
}

.share-news-brand-logo {
	display: block;
	width: 44px;
	height: auto;
	max-height: 44px;
	object-fit: contain;
	margin: 0 auto;
}

/* ── 大屏居中 ── */

@media (min-width: 768px) {
	.share-news-container {
		margin-top: 0;
		margin-bottom: 0;
	}
}
