@media only screen and (max-width: 900px) {

	.layout.qmshome {
		padding-top: 88px;
		overflow-x: hidden;
		background: #eef3fb;
	}

	/* ========== 头部 ========== */
	.layout.qmshome .header {
		height: auto;
		min-height: auto;
		padding: 10px 0 8px;
		border-bottom: 1px solid #e8eef5;
	}

	.layout.qmshome .header .wrap {
		display: block;
		padding: 0 48px 0 15px;
		height: auto;
		box-sizing: border-box;
	}

	.layout.qmshome .header .logo {
		display: block;
		max-width: 100%;
	}

	.layout.qmshome .header .logo img {
		height: 34px;
		max-width: 100%;
		object-fit: contain;
		object-position: left center;
	}

	.layout.qmshome .header dl {
		display: flex !important;
		align-items: center;
		justify-content: flex-start;
		margin-top: 8px;
		padding-top: 8px;
		border-top: 1px solid #eef2f8;
		margin-left: 0;
		flex: none;
	}

	.layout.qmshome .header dd span,
	.layout.qmshome .header dd a {
		font-size: 13px;
		white-space: nowrap;
	}

	.layout.qmshome .header dd a {
		color: #2870E5;
		padding: 2px 0;
	}

	.layout.qmshome .header dd span {
		margin: 0 8px;
		color: #d0d8e8;
	}

	.layout.qmshome .gh {
		top: 16px;
		right: 15px;
	}

	/* ========== 内容区：左右贴边，模块间保留上下间距 ========== */
	.layout.qmshome .hpage1 .wrap,
	.layout.qmshome .hpage2 .wrap,
	.layout.qmshome .hpage3 .wrap,
	.layout.qmshome .hpage4 .wrap {
		padding-left: 0;
		padding-right: 0;
	}

	.layout.qmshome .hpage1 .lts,
	.layout.qmshome .hpage1 .rts,
	.layout.qmshome .hpage2 .wrap,
	.layout.qmshome .hpage3 .wrap,
	.layout.qmshome .hpage4 .wrap {
		border-radius: 0;
		border-left: none;
		border-right: none;
		box-shadow: none;
		width: 100%;
		box-sizing: border-box;
		background: #fff;
	}

	.layout.qmshome .hpage1 .lts,
	.layout.qmshome .hpage1 .rts,
	.layout.qmshome .hpage2 .wrap,
	.layout.qmshome .hpage4 .wrap {
		border: none;
		border-top: 1px solid #e8eef5;
		border-bottom: 1px solid #e8eef5;
	}

	.layout.qmshome .hpage1 {
		margin: 12px 0 0;
	}

	.layout.qmshome .hpage1 .lts {
		margin-bottom: 12px;
	}

	.layout.qmshome .hpage1 .rts {
		margin-top: 0;
		border-top: 1px solid #e8eef5;
	}

	.layout.qmshome .hpage2 {
		margin: 12px 0;
	}

	.layout.qmshome .hpage3.mag20 {
		margin: 12px 0;
	}

	.layout.qmshome .hpage4 {
		margin: 0 0 12px;
	}

	/* ========== Tab 栏 ========== */
	.layout.qmshome .uflax {
		padding: 0 16px;
		min-height: 46px;
		background: #fafbfd;
		border-bottom: 1px solid #e8eef5;
	}

	.layout.qmshome .uflax .nav li {
		margin-right: 18px;
	}

	.layout.qmshome .uflax .nav li a {
		padding: 12px 2px;
		line-height: 1.4;
		font-size: 15px;
		color: #666;
	}

	.layout.qmshome .uflax .nav li.on a,
	.layout.qmshome .uflax .nav li:hover a {
		font-size: 15px;
		color: #2870E5;
	}

	.layout.qmshome .uflax .more {
		font-size: 13px;
		color: #2870E5;
		padding-right: 14px;
	}

	/* ========== hpage1 通知公告区 ========== */
	.layout.qmshome .hpage1 .lts {
		padding-bottom: 4px;
	}

	.layout.qmshome .hpage1 .th a {
		flex-direction: column;
		align-items: center;
		margin: 12px;
		padding: 16px 14px;
		background: linear-gradient(135deg, #f0f5ff 0%, #f8fafc 100%);
		border: 1px solid #dce8fa;
		border-radius: 8px;
		box-shadow: 0 1px 6px rgba(40, 112, 229, 0.06);
	}

	.layout.qmshome .hpage1 .th h2 {
		margin: 0;
		flex-shrink: 0;
	}

	.layout.qmshome .hpage1 .th .ts {
		width: 100%;
		margin-top: 12px;
		margin-left: 0;
		text-align: center;
	}

	.layout.qmshome .hpage1 .th h3 {
		font-size: 15px;
		font-weight: 600;
		line-height: 1.55;
		color: #1a2332;
		white-space: normal;
		word-break: break-all;
	}

	.layout.qmshome .hpage1 .th p {
		margin-top: 8px;
		font-size: 12px;
		color: #8a94a6;
	}

	.layout.qmshome .hpage1 .list {
		padding: 4px 12px 12px;
	}

	.layout.qmshome .hpage1 .list li {
		margin-bottom: 0;
		border-bottom: 1px solid #f0f3f8;
	}

	.layout.qmshome .hpage1 .list li:last-child {
		border-bottom: none;
	}

	.layout.qmshome .hpage1 .list li a {
		flex-direction: column;
		align-items: flex-start;
		padding: 14px 4px;
		gap: 6px;
	}

	.layout.qmshome .hpage1 .list li h5 {
		max-width: 100%;
		white-space: normal;
		word-break: break-all;
		padding-left: 14px;
		font-size: 14px;
		line-height: 1.55;
		color: #333;
		background: none;
		position: relative;
	}

	.layout.qmshome .hpage1 .list li h5:before {
		content: "";
		position: absolute;
		left: 0;
		top: 8px;
		width: 5px;
		height: 5px;
		border-radius: 50%;
		background: #2870E5;
	}

	.layout.qmshome .hpage1 .list li h6 {
		align-self: flex-start;
		padding-left: 14px;
		margin-top: 0;
		font-size: 12px;
		color: #9aa3b2;
	}

	.layout.qmshome .hpage1 .list li:active h5 {
		color: #2870E5;
	}

	/* ========== 服务指引 ========== */
	.layout.qmshome .hpage1 .rts {
		padding: 16px 12px 12px;
	}

	.layout.qmshome .hpage1 .rts h2 span {
		font-size: 17px;
	}

	.layout.qmshome .hpage1 .rts dl {
		margin-top: 14px;
	}

	.layout.qmshome .hpage1 .rts dd {
		padding: 12px 10px;
		border-radius: 8px;
		background: #f8fafc;
		border: 1px solid #eef2f8;
		box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
		margin-bottom: 10px;
	}

	.layout.qmshome .hpage1 .rts dd a {
		display: flex;
		align-items: center;
	}

	.layout.qmshome .hpage1 .rts dd .ico {
		width: 30px;
		height: 30px;
		flex-shrink: 0;
	}

	.layout.qmshome .hpage1 .rts dd h4 {
		font-size: 13px;
		margin-left: 8px;
		line-height: 1.4;
	}

	/* ========== hpage2 课程列表 ========== */
	.layout.qmshome .hpage2 .kec {
		margin: 12px 0 0;
		padding: 0 16px 12px;
	}

	.layout.qmshome .hpage2 .kec li {
		width: 100%;
		margin-right: 0;
		margin-bottom: 14px;
		border-radius: 8px;
		overflow: hidden;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
		border: 1px solid #eef2f8;
	}

	.layout.qmshome .hpage2 .kec li .img {
		height: 180px;
		border-radius: 8px 8px 0 0;
	}

	.layout.qmshome .hpage2 .kec li .ts {
		padding: 10px 12px 12px;
	}

	.layout.qmshome .hpage2 .kec li h5 {
		font-size: 15px;
		font-weight: 600;
		line-height: 1.45;
		white-space: normal;
		word-break: break-all;
		color: #1a2332;
	}

	.layout.qmshome .hpage2 .kec li p {
		font-size: 12px;
		color: #8a94a6;
		margin-top: 4px;
	}

	/* ========== hpage3 保密提醒 ========== */
	.layout.qmshome .hpage3 .wrap {
		padding: 0;
	}

	.layout.qmshome .security-notice {
		flex-direction: column;
		border-radius: 0;
		overflow: hidden;
		box-shadow: none;
		border-top: 1px solid #f0d4d4;
		border-bottom: 1px solid #f0d4d4;
		border-left: none;
		border-right: none;
	}

	.layout.qmshome .security-notice-badge {
		padding: 10px 16px;
		justify-content: flex-start;
	}

	.layout.qmshome .security-notice-badge::after {
		display: none;
	}

	.layout.qmshome .security-notice-text {
		padding: 12px 14px;
		font-size: 13px;
		line-height: 1.65;
	}

	/* ========== hpage4 培训区块 ========== */
	.layout.qmshome .hpage4 .hs {
		margin: 12px 0 0;
		padding: 0 16px;
		overflow: hidden;
	}

	.layout.qmshome .hpage4 .hs ul {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 8px;
		gap: 8px;
	}

	.layout.qmshome .hpage4 .hs li {
		flex-shrink: 0;
		margin-bottom: 0;
		margin-right: 0;
	}

	.layout.qmshome .hpage4 .hs li a {
		border-radius: 20px;
		font-size: 13px;
		min-width: auto;
		padding: 0 14px;
		line-height: 34px;
	}

	.layout.qmshome .hpage4 .uflax h3 {
		font-size: 16px;
		font-weight: 600;
	}

	.layout.qmshome .hpage4 .tps h6:nth-child(1) {
		width: auto;
		flex: 1;
	}

	.layout.qmshome .hpage4 .list {
		padding-bottom: 8px;
	}

	.layout.qmshome .hpage4 .list li {
		border-bottom: 1px solid #f0f3f8;
	}

	.layout.qmshome .hpage4 .list li:last-child {
		border-bottom: none;
	}

	.layout.qmshome .hpage4 .list li a {
		padding: 12px 0;
	}

	.layout.qmshome .hpage4 .list li h4,
	.layout.qmshome .hpage4 .list li h5 {
		white-space: normal;
		word-break: break-all;
		font-size: 14px;
		line-height: 1.5;
	}

	.layout.qmshome .hpage4 .list li p {
		font-size: 12px;
		color: #9aa3b2;
		margin-top: 6px;
	}

	.layout.qmshome .hpage4 .box {
		margin: 12px 0 0;
		padding: 0 16px 8px;
	}

	.layout.qmshome .hpage4 .uflax {
		padding: 0 16px;
	}

	/* ========== 无数据提示 ========== */
	.layout.qmshome .no-data {
		padding: 24px 16px;
		margin: 12px 16px;
		border-radius: 8px;
		background: #fafbfd;
		border: 1px dashed #dce3ef;
	}

	.layout.qmshome .no-data-icon {
		font-size: 36px;
		margin-bottom: 10px;
	}

	.layout.qmshome .no-data-text {
		font-size: 15px;
		color: #666;
	}

	.layout.qmshome .no-data-tip {
		font-size: 13px;
		color: #9aa3b2;
	}

	/* ========== 页脚 ========== */
	.layout.qmshome .footer {
		margin-top: 8px;
	}

	.layout.qmshome .footer .wxs {
		text-align: center;
	}

	.layout.qmshome .footer .ls {
		text-align: center;
	}
}

@media only screen and (max-width: 360px) {

	.layout.qmshome .header dd span,
	.layout.qmshome .header dd a {
		font-size: 12px;
	}

	.layout.qmshome .header dd span {
		margin: 0 5px;
	}

	.layout.qmshome .uflax .nav li a {
		font-size: 14px;
	}

	.layout.qmshome .uflax .nav li {
		margin-right: 12px;
	}
}
