/* ============================================
   新闻详情移动端样式 (News Detail Mobile Styles)
   ============================================ */

/* 移动设备 (最大宽度 767px) */
@media screen and (max-width: 767px) {
	.container {
		padding: 0 15px 40px;
	}

	.current-location {
		margin-bottom: 20px;
		font-size: 14px;
		justify-content: flex-start;
	}

	.content-tit {
		margin-bottom: 15px;
		line-height: 28px;
		font-size: 20px;
		text-align: left;
		padding: 0 10px;
	}

	.content-textInfo {
		padding: 15px 10px;
		margin-bottom: 15px;
	}

	.content-timeSource {
		margin-bottom: 15px;
		flex-direction: column;
		align-items: flex-start;
		font-size: 14px;
	}

	.content-timeSource span {
		margin-right: 0;
		margin-bottom: 8px;
	}

	.content-text {
		font-size: 15px;
		line-height: 1.8;
		width: 100%;
		max-width: 100%;
		overflow: hidden;
		word-wrap: break-word;
		box-sizing: border-box;
	}

	.content-text p {
		/*margin-bottom: 20px;*/
		/*line-height: 28px;*/
		/*font-size: 15px;*/
		/*text-indent: 2em;*/
		/*width: 100%;*/
		max-width: 100%;
		overflow: hidden;
		word-wrap: break-word;
		box-sizing: border-box;
	}

	/* 新闻内容中的图片响应式处理 */
	.content-text img {
		max-width: 100%;
		height: auto;
		box-sizing: border-box;
	}

	/* 处理表格中的图片 */
	.content-text table {
		width: 100%;
		max-width: 100%;
		table-layout: fixed;
		word-wrap: break-word;
		box-sizing: border-box;
	}

	.content-text table img {
		max-width: 100%;
		height: auto;
		box-sizing: border-box;
	}

	/* 处理其他可能包含图片的元素 */
	.content-text div,
	.content-text span,
	.content-text figure {
		max-width: 100%;
		overflow: hidden;
		box-sizing: border-box;
	}

	.content-text div img,
	.content-text span img,
	.content-text figure img {
		max-width: 100%;
		height: auto;
		box-sizing: border-box;
	}

	.content-down {
		font-size: 14px;
	}

	.content-down span {
		margin-bottom: 6px;
	}

	.content-down em {
		font-size: 14px;
	}

	/* PDF 预览 - 桌面端隐藏 */
	#content-pdf {
		display: none !important;
	}

	/* 移动端 PDF 预览容器 */
	#mobile-pdf-container {
		display: block !important;
		width: 100%;
		margin: 20px 0;
		padding: 0;
		box-sizing: border-box;
	}

	.mobile-pdf-wrapper {
		width: 100%;
		box-sizing: border-box;
	}

	/* PDF.js Canvas 容器 */
	#mobile-pdf-canvas-container {
		width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		background-color: #f5f5f5;
		padding: 10px;
		border-radius: 4px;
		box-sizing: border-box;
		-webkit-overflow-scrolling: touch;
	}

	#mobile-pdf-canvas {
		display: block;
		margin: 0 auto;
		max-width: 100%;
		height: auto;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	}

	/* PDF 控制按钮 */
	.mobile-pdf-controls {
		text-align: center;
		margin-top: 15px;
		padding: 0 10px;
		display: flex;
		justify-content: center;
		align-items: center;
		flex-wrap: wrap;
		gap: 10px;
	}

	.mobile-pdf-controls button {
		display: inline-block;
		padding: 10px 20px;
		background-color: #1a64a7;
		color: #fff;
		border: none;
		border-radius: 4px;
		cursor: pointer;
		font-size: 14px;
		transition: background-color 0.3s;
		min-width: 80px;
	}

	.mobile-pdf-controls button:active {
		background-color: #155a94;
	}

	.mobile-pdf-controls button:disabled {
		opacity: 0.5;
		cursor: not-allowed;
	}

	#mobile-pdf-page-info {
		display: inline-block;
		padding: 10px 16px;
		font-size: 14px;
		color: #333;
		min-width: 80px;
		text-align: center;
	}

	.mobile-pdf-download {
		margin-top: 15px;
		text-align: center;
	}

	.mobile-pdf-download a {
		display: inline-block;
		padding: 12px 24px;
		background-color: #1a64a7;
		color: #fff;
		text-decoration: none;
		border-radius: 4px;
		font-size: 14px;
		transition: background-color 0.3s;
		margin: 0 5px;
	}

	.mobile-pdf-download a:active {
		background-color: #155a94;
	}
}

/* iPhone 6/7/8 优化 (375px) */
@media screen and (max-width: 375px) {
	.content-text img {
		margin: 12px auto;
	}

	.content-text table {
		font-size: 12px;
	}
}

/* 小屏幕移动设备 (最大宽度 480px) */
@media screen and (max-width: 480px) {
	.container {
		padding: 0 10px 30px;
	}

	.current-location {
		margin-bottom: 15px;
		font-size: 12px;
	}

	.content-tit {
		margin-bottom: 12px;
		line-height: 24px;
		font-size: 18px;
		padding: 0 8px;
	}

	.content-textInfo {
		padding: 12px 8px;
		margin-bottom: 12px;
	}

	.content-timeSource {
		margin-bottom: 12px;
		font-size: 12px;
	}

	.content-timeSource span {
		margin-bottom: 6px;
	}

	.content-text {
		font-size: 14px;
		width: 100%;
		max-width: 100%;
		overflow: hidden;
		word-wrap: break-word;
		box-sizing: border-box;
	}

	.content-text p {
		/*margin-bottom: 15px;*/
		/*line-height: 24px;*/
		/*font-size: 14px;*/
		/*text-indent: 2em;*/
		/*width: 100%;*/
		max-width: 100%;
		overflow: hidden;
		word-wrap: break-word;
		box-sizing: border-box;
	}

	/* 新闻内容中的图片响应式处理 */
	.content-text img {
		max-width: 100%;
		height: auto;
		box-sizing: border-box;
	}

	/* 处理表格中的图片 */
	.content-text table {
		width: 100%;
		max-width: 100%;
		table-layout: fixed;
		word-wrap: break-word;
		box-sizing: border-box;
	}

	.content-text table img {
		max-width: 100%;
		height: auto;
		box-sizing: border-box;
	}

	/* 处理其他可能包含图片的元素 */
	.content-text div,
	.content-text span,
	.content-text figure {
		max-width: 100%;
		overflow: hidden;
		box-sizing: border-box;
	}

	.content-text div img,
	.content-text span img,
	.content-text figure img {
		max-width: 100%;
		height: auto;
		box-sizing: border-box;
	}

	.content-down {
		font-size: 13px;
	}

	.content-down span {
		margin-bottom: 5px;
	}

	.content-down em {
		font-size: 13px;
	}

	/* PDF 预览 - 桌面端隐藏 */
	#content-pdf {
		display: none !important;
	}

	/* 移动端 PDF 预览容器 */
	#mobile-pdf-container {
		display: block !important;
		width: 100%;
		margin: 15px 0;
		padding: 0;
		box-sizing: border-box;
	}

	.mobile-pdf-wrapper {
		width: 100%;
		box-sizing: border-box;
	}

	/* PDF.js Canvas 容器 */
	#mobile-pdf-canvas-container {
		width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		background-color: #f5f5f5;
		padding: 8px;
		border-radius: 4px;
		box-sizing: border-box;
		-webkit-overflow-scrolling: touch;
	}

	#mobile-pdf-canvas {
		display: block;
		margin: 0 auto;
		max-width: 100%;
		height: auto;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	}

	/* PDF 控制按钮 */
	.mobile-pdf-controls {
		text-align: center;
		margin-top: 12px;
		padding: 0 8px;
		display: flex;
		justify-content: center;
		align-items: center;
		flex-wrap: wrap;
		gap: 8px;
	}

	.mobile-pdf-controls button {
		display: inline-block;
		padding: 8px 16px;
		background-color: #1a64a7;
		color: #fff;
		border: none;
		border-radius: 4px;
		cursor: pointer;
		font-size: 13px;
		transition: background-color 0.3s;
		min-width: 70px;
	}

	.mobile-pdf-controls button:active {
		background-color: #155a94;
	}

	.mobile-pdf-controls button:disabled {
		opacity: 0.5;
		cursor: not-allowed;
	}

	#mobile-pdf-page-info {
		display: inline-block;
		padding: 8px 14px;
		font-size: 13px;
		color: #333;
		min-width: 70px;
		text-align: center;
	}

	.mobile-pdf-download {
		margin-top: 12px;
		text-align: center;
	}

	.mobile-pdf-download a {
		display: inline-block;
		padding: 10px 20px;
		background-color: #1a64a7;
		color: #fff;
		text-decoration: none;
		border-radius: 4px;
		font-size: 13px;
		transition: background-color 0.3s;
		margin: 0 5px;
	}

	.mobile-pdf-download a:active {
		background-color: #155a94;
	}
}
