/* news 移动端适配样式 - 基于newsmax.css一比一适配 */

@media (max-width: 767px) {
	/* 基础样式 */
	.body {
		background-color: #F7F7F7;
	}

	/* 顶部横幅区域 */
	.news-banner {
		width: 100%;
		min-height: 300px;
		background-image: url("/images/news/7.png");
		background-size: cover;
		background-position: center;
		padding: 100px 0 30px;
		position: relative;
		overflow: hidden;
	}

	.banner-container {
		width: 100%;
		margin: 0 auto;
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
		justify-content: center;
		position: relative;
		padding: 0 10px;
	}

	/* 箭头样式 */
	.banner-arrow {
		width: 40px;
		height: 40px;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		transition: all 0.3s ease;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
		z-index: 10;
        display:none;
	}

	.banner-arrow:hover {
		transform: scale(1.05);
	}

	.banner-arrow img {
		width: 16px;
		height: 16px;
	}

	.banner-cards {
		display: flex;
		flex-direction: column;
		width: 100%;
		position: relative;
		padding-bottom: 10px;
	}
	.dec-item-wrap {
		padding: 5px;
		background-color: #FFF;
		width: 100%;
		transition: all 0.3s ease;
		margin-top: 10px;
		flex-shrink: 0;
		background-repeat: no-repeat;
	}

	.dec-item-wrap:hover {
		transform: scale(1.05);
		background-image: url('/images/12.png');
	}
	.dec-name-wrap{
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
	}
	.dec-item {
		width: 100%;
		position: relative;
		display: flex;
		border-radius: 5px;
		align-items: center;
	}

	.dec-image {
		width: 100px;
		height: 100px;
		border-radius: 5px;
	}

	.dec-name {
		display: flex;
		justify-content: space-between;
		width: 100%;
	}

	.dec-name-title {
		display: flex;
		flex-direction: column;
		margin-left: 10px;
	}

	.dec-text-itle {
		font-weight: 600;
		font-size: 14px;
	}

	.dec-text {
		color: #777777;
		font-size: 12px;
	}

	.dec-time {
		margin-right: 10px;
		display: flex;
		align-items: center;
	}

	.dec-time-icon {
		width: 13px;
		height: 13px;
	}

	.dec-time-length {
		color: #777777;
		font-size: 11px;
		margin-left: 2px;
	}

	.dec-price-num {
		color: #FF3F22;
	}

	.dec-price-after {
		font-size: 11px;
		margin-left: 10px;
		font-weight: 800;
	}

	.dec-price-info {
		font-size: 16px;
		font-weight: 800;
	}

	.dec-price-hua {
		margin-right: 10px;
		color: #777777;
		text-decoration: line-through;
		font-size: 12px;
	}

	.dec-price {
		display: flex;
		justify-content: space-between;
		width: 100%;
		margin-top: 6px;
	}

	.dec-btn {
		width: 100px;
		height: 30px;
		border-radius: 30px;
		display: flex;
		align-items: center;
		justify-content: center;
		color: #FFF;
		font-size: 14px;
		background-color: #FB9548;
		line-height: 30px;
		margin-top: 8px;
		overflow: hidden;
		position: relative;
		transition: all 1000ms;
		cursor: pointer;
		margin-left: auto;
	}

	.dec-btn:hover {
		color: #FFF;
		transform: scale(1.05);
		outline: 2px solid #FFFFFF;
		box-shadow: 4px 5px 17px -4px #FFFFFF;
	}

	.dec-btn::before {
		content: "";
		position: absolute;
		left: -50px;
		top: 0;
		width: 0;
		height: 100%;
		background-color: #F53D50;
		transform: skewX(45deg);
		z-index: -1;
		transition: width 500ms;
	}

	.dec-btn:hover::before {
		width: 250%;
	}

	/* 右侧信息卡片 */
	.banner-info {
		width: 100%;
		padding: 10px 20px 20px;
	}

	.info-title {
		font-size: 24px;
		font-weight: 700;
		color: #333;
		margin-bottom: 10px;
	}

	.info-subtitle {
		font-size: 13px;
		color: #666;
		margin-bottom: 20px;
		line-height: 1.6;
	}

	.info-items {
		display: flex;
		flex-direction: column;
		gap: 15px;
		margin-bottom: 25px;
	}

	.info-item {
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.info-icon {
		width: 20px;
		height: 20px;
		box-sizing: border-box;
	}

	.info-text {
		display: flex;
		align-items: center;
	}

	.info-number {
		font-size: 18px;
		font-weight: 700;
		color: #333;
	}

	.info-label {
		font-size: 12px;
		color: #666;
		margin-top: 2px;
	}

	.info-register-btn {
		width: 100%;
		height: 45px;
		background: linear-gradient(135deg, #F20921 0%, #FF4D4D 100%);
		border: none;
		border-radius: 10px;
		color: #FFF;
		font-size: 14px;
		font-weight: 600;
		cursor: pointer;
		transition: all 0.3s ease;
	}

	.info-register-btn:hover {
		transform: translateY(-3px);
		box-shadow: 0 6px 20px rgba(242, 9, 33, 0.4);
	}

	/* 轮播指示器 */
	.banner-indicators {
		display: flex;
		justify-content: center;
		gap: 8px;
		margin-top: 30px;
		position: absolute;
		left: 0;
		right: 0;
		bottom: -15px;
	}

	.indicator {
		width: 20px;
		height: 4px;
		background-color: rgba(0, 0, 0, 0.2);
		border-radius: 3px;
		cursor: pointer;
		transition: all 0.3s ease;
	}

	.indicator.active {
		background-color: #F20921;
		width: 40px;
	}

	.indicator:hover {
		background-color: rgba(242, 9, 33, 0.6);
	}

	.banner-img {
		width: 100%;
		height: 200px;
		overflow: hidden;
		object-fit: cover;
		border-radius: 10px;
	}

	.main {
		width: 100%;
		margin: 10px auto 0;
		display: flex;
		flex-direction: column;
		padding: 0 10px;
	}

	.carousel-indicators {
		justify-content: flex-end;
		margin-right: 20px;
	}

	.carousel-caption {
		left: 0;
		bottom: 0;
		right: 0;
		background-color: rgba(0, 0, 0, 0.3);
		text-align: start;
		padding-left: 20px;
	}

	.mian-banner-tag {
		width: 80px;
		height: 20px;
		margin-bottom: 8px;
	}

	/* 新闻列表区域 */
	.news-list-section {
		width: 100%;
		margin-left: 0;
		margin-top: 10px;
		background-color: #FFF;
		border-radius: 5px;
		overflow: hidden;
	}
	.carousel-inner{
		border-radius: 5px;
	}
	.news-list-header {
		display: flex;
		align-items: center;
		padding: 10px 20px;
		border-bottom: 1px dashed #E5E5E5;
	}

	.logo-text {
		font-size: 18px;
		font-weight: 700;
		color: #F20921;
	}

	.news-list-title {
		font-size: 18px;
		font-weight: 700;
		color: #333;
		margin: 0;
	}

	.news-list-container {
		padding: 0;
	}

	.news-list-item {
		display: flex;
		padding: 10px 20px;
		border-bottom: 1px dashed #E5E5E5;
		transition: all 0.3s ease;
		cursor: pointer;
	}

	.news-list-item:last-child {
		border-bottom: none;
	}

	.news-list-item:hover {
		background-color: #FFF5F5;
	}

	.news-item-left {
		flex-shrink: 0;
		margin-right: 15px;
	}

	.news-image-wrap {
		position: relative;
		width: 70px;
		height: 60px;
		border-radius: 8px;
		overflow: hidden;
		border: 2px dashed #FFD5D5;
		background: linear-gradient(135deg, #FFE5E5 0%, #FFF0F0 100%);
	}

	.news-image {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.news-views-badge {
		position: absolute;
		top: 8px;
		left: 8px;
		background-color: #F20921;
		color: #FFF;
		font-size: 10px;
		padding: 2px 6px;
		border-radius: 3px;
		font-weight: 600;
	}

	.news-item-right {
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}

	.news-title {
		font-size: 14px;
		width: 250px;
		font-weight: 600;
		color: #333;
		margin: 0 0 6px 0;
		line-height: 1.4;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.news-description {
		font-size: 13px;
		color: #999;
		margin: 0 0 10px 0;
		line-height: 1.6;
		display: -webkit-box;
		line-clamp: 2;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.news-meta {
		display: flex;
		align-items: center;
		gap: 15px;
	}

	.news-category,
	.news-time {
		font-size: 12px;
		color: #AAAAAA;
	}

	/* 服务分类区域 */
	.service-category-section {
		width: 100%;
		padding: 10px 0;
		background-color: #FAFAFA;
	}

	.service-category-container {
		width: 100%;
		margin: 0 auto;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
		padding: 0 10px;
	}

	.service-category-card {
		background-color: #FFF;
		border: 1px solid #E5E5E5;
		border-radius: 5px;
		padding: 15px 12px;
		transition: all 0.3s ease;
	}

	.service-category-card:hover {
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
		transform: translateY(-5px);
	}

	.category-header {
		display: flex;
		align-items: center;
		gap: 10px;
		padding-bottom: 15px;
	}

	.category-icon {
		width: 20px;
		height: 20px;
	}

	.category-title {
		font-size: 16px;
		font-weight: 600;
		color: #333;
		margin: 0;
		cursor: pointer;
	}

	.category-tags {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.category-tag {
		display: inline-block;
		color: #666;
		font-size: 12px;
		border-radius: 4px;
		transition: all 0.3s ease;
		cursor: pointer;
	}

	.category-tag:hover {
		color: #F20921;
		transform: scale(1.05);
	}

	/* 新闻卡片样式 */
	.news-card-section {
		width: 100%;
		display: flex;
		flex-direction: column;
		margin: 0 auto;
		padding: 0 15px;
	}

	.news-card-container {
		width: 100%;
	}

	.news-load-more {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 60px;
		font-size: 14px;
		font-weight: 500;
		color: #999;
	}

	

	.news-card {
		display: flex;
		flex-direction: column;
		width: 100%;
		overflow: hidden;
		margin-bottom: 15px;
		transition: all 0.3s ease;
	}

	.news-card:hover {
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
		transform: translateY(-2px);
	}

	.news-card-left {
		position: relative;
		width: 100%;
		height: 200px;
		flex-shrink: 0;
		border-radius: 10px;
	}

	.news-card-image {
		border-radius: 10px;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.news-card-badge {
		position: absolute;
		top: 10px;
		left: 0px;
		width: 80px;
	}

	.news-card-right {
		flex: 1;
		padding: 15px 0;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}

	.news-card-title {
		font-size: 16px;
		font-weight: 600;
		color: #333;
		margin: 0 0 10px 0;
		line-height: 1.4;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.news-card-description {
		font-size: 13px;
		color: #666;
		line-height: 1.6;
		display: -webkit-box;
		line-clamp: 2;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.news-card-meta-container {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-top: auto;
		flex-wrap: wrap;
	}

	.news-card-views-icon {
		width: 14px;
		height: 14px;
	}

	.news-card-views-count {
		font-size: 14px;
		color: #999;
	}

	.news-card-meta {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-top: 10px;
	}

	.news-card-date {
		font-size: 14px;
		color: #999;
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.news-card-views {
		display: flex;
		align-items: center;
		margin-left: 10px;
	}

	.news-card-tags {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		margin-top: 10px;
	}

	.news-card-tag {
		background-color: #FF9500;
		color: #FFF;
		padding: 4px 10px;
		border-radius: 12px;
		font-size: 12px;
		font-weight: 500;
	}

	

	

	/* 分页样式 */
	.page-link {
		color: #EF061C;
		background-color: #FFECE8;
		font-weight: 600;
		font-size: 14px;
		padding: 6px 12px;
		border: #FFECE8 1px solid;
	}

	.active.page-item .page-link {
		border: #EF061C 1px solid;
		background-color: #EF061C !important;
		color: #FFF !important;
		font-size: 14px;
		font-weight: 600;
	}

	/* 标签悬停效果 */
	.news-card-tag:hover {
		background-color: #EF061C;
		cursor: pointer;
		transform: scale(1.05);
		transition: all 0.3s ease;
	}
}
