/*
Theme Name: V1Plastic Theme
Theme URI: https://wordpress.org/themes/v1plastic/
Author: the WordPress team
Author URI: https://wordpress.org
Description: The default theme for V1Plastic.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0
Text Domain: v1plastic
Tags: v1plastic
*/
@import url("assets/css/bootstrap.min.css");
@import url("assets/css/ionicons.min.css");
@import url("assets/css/linear-icon.css");
@import url("assets/css/owl.carousel.css");
@import url("assets/css/owl.theme.css");
@import url("assets/css/magnific-popup.css");
@import url("assets/css/weblysleek-ui-fonts.css");
@import url("assets/css/main.css");


.h1, .h2, .h3, h1, h2, h3 {
	margin-top: 0px;
	margin-bottom: 0px;
}

.carousel-inner>.item>a>img, .carousel-inner>.item>img {
	line-height: 1;
	width: 100%;
}

.panel-footer {
	padding: 10px 15px;
	background-color: #F40606;
	border-top: 1px solid #F40606;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
	color: #FFF;
	text-align: center;
}

.imgblock img{
	display: block;
	float: left;
	width: 100%;
}

.table{
	font-family: 'Montserrat', sans-serif;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
	padding: 8px;
	line-height: 1.42857143;
	vertical-align: top;
	border-top: 1px solid #F40606;
}

.table>thead>tr>th {
	vertical-align: bottom;
	border-bottom: 2px solid #F40606;
}

.bltd{
	background: #F40606;
	color: #FFF;
}

.blueline{
	display: block;
	float: left;
	width: 100%;
	border: 1px solid #F40606;
	margin-top: 2%;
}

#contact{
	font-family: 'Montserrat', sans-serif;
}

#contact input{
	height: 37px;
}

#contact label{
	display: inline-block;
	max-width: 100%;
	margin-bottom: 5px;
	font-weight: normal;
	letter-spacing: 1px;
	margin-top: 1%;
}
.blog-posts {
	margin-bottom: 40px;
}

/* 博客卡片 - 移除阴影,添加边框 */
.blog-post-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee; /* 新增边框 */
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    border-color: #ddd; /* 悬停时边框颜色变化 */
}

.blog-post-card .post-thumbnail {
	position: relative;
	overflow: hidden;
}

.blog-post-card .post-thumbnail img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.blog-post-card:hover .post-thumbnail img {
	transform: scale(1.05);
}

.blog-post-card .post-content {
	padding: 25px;
}

.blog-post-card .post-meta {
	font-size: 13px;
	color: #666;
	margin-bottom: 15px;
}

.blog-post-card .post-meta span {
	margin-right: 20px;
}

.blog-post-card .post-meta i {
	margin-right: 5px;
	color: #F40606;
}

.blog-post-card .post-title {
	margin: 0 0 15px;
	font-size: 24px;
	line-height: 1.4;
}

.blog-post-card .post-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.blog-post-card .post-title a:hover {
	color: #F40606;
}

.blog-post-card .post-excerpt {
	color: #666;
	line-height: 1.6;
	margin-bottom: 20px;
}

.blog-post-card .post-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.blog-post-card .read-more {
	color: #F40606;
	text-decoration: none;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	transition: opacity 0.3s ease;
}

.blog-post-card .read-more i {
	margin-left: 5px;
	transition: transform 0.3s ease;
}

.blog-post-card .read-more:hover i {
	transform: translateX(5px);
}

.blog-post-card .post-tags {
	font-size: 13px;
	color: #666;
}

.blog-post-card .post-tags a {
	color: #666;
	text-decoration: none;
	margin-right: 8px;
	transition: color 0.3s ease;
}

.blog-post-card .post-tags a:hover {
	color: #F40606;
}

.pagination-wrapper {
	margin-top: 40px;
	text-align: center;
}

/* 分页按钮 - 移除阴影,添加边框 */
.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    background: #fff;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #eee; /* 新增边框 */
}

.pagination-wrapper .page-numbers.current {
	background: #F40606;
	color: #fff;
}

.pagination-wrapper .page-numbers:hover {
	background: #F40606;
	color: #fff;
}

.pagination-wrapper .prev,
.pagination-wrapper .next {
	width: auto;
	padding: 0 20px;
	border-radius: 20px;
}

/* 无文章提示框 - 移除阴影,添加边框 */
.no-posts {
    text-align: center;
    padding: 50px 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee; /* 新增边框 */
}

.no-posts h3 {
	color: #333;
	margin-bottom: 15px;
}

.no-posts p {
	color: #666;
}
/* 侧边栏小部件 - 移除阴影,添加边框 */
.sidebar-widget {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee; /* 新增边框 */
    padding: 25px;
    transition: transform 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-5px);
    border-color: #ddd;
}

.widget-title {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 2px solid #f0f0f0;
	font-size: 20px;
	color: #333;
}

.recent-posts,
.random-posts {
	list-style: none;
	padding: 0;
	margin: 0;
}

.recent-posts li,
.random-post-item {
	padding: 15px 0;
	border-bottom: 1px solid #f0f0f0;
	transition: transform 0.3s ease;
}

.recent-posts li:last-child,
.random-post-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.recent-posts li:first-child,
.random-post-item:first-child {
	padding-top: 0;
}

.recent-posts li:hover,
.random-post-item:hover {
	transform: translateX(5px);
}

.recent-posts a {
	color: #333;
	text-decoration: none;
	font-weight: 500;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 5px;
	transition: color 0.3s ease;
}

.recent-posts a:hover {
	color: #F40606;
}

.recent-posts .post-date,
.random-post-item .post-date {
	display: flex;
	align-items: center;
	font-size: 12px;
	color: #999;
	margin-top: 5px;
}

.recent-posts .post-date i,
.random-post-item .post-date i {
	margin-right: 5px;
	color: #F40606;
}

.random-post-item {
	display: flex;
	align-items: start;
}

.random-post-item .post-thumbnail {
	width: 80px;
	height: 80px;
	margin-right: 15px;
	border-radius: 8px;
	overflow: hidden;
}

.random-post-item .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.random-post-item:hover .post-thumbnail img {
	transform: scale(1.1);
}

.random-post-item .post-info {
	flex: 1;
}

.random-post-item .post-info a {
	color: #333;
	text-decoration: none;
	font-weight: 500;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.3s ease;
}

.random-post-item .post-info a:hover {
	color: #F40606;
}

.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tag-item {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	background: #f5f5f5;
	border-radius: 20px;
	font-size: 13px;
	color: #666;
	text-decoration: none;
	transition: all 0.3s ease;
}

.tag-item:hover {
	background: #F40606;
	color: #fff;
	transform: translateY(-2px);
}
.jumbotron-section {
	position: relative;
}

.jumbotron-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(200, 200, 200, 0.5);
	pointer-events: none;
}
/* 单篇文章内容 - 移除阴影,添加边框 */
.single-post-content {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee; /* 新增边框 */
    padding: 30px;
    margin-bottom: 40px;
}

.single-post-header {
	margin-bottom: 25px;
}

.single-post-title {
	font-size: 32px;
	color: #333;
	margin-bottom: 20px;
	line-height: 1.4;
}

.single-post-meta {
	font-size: 14px;
	color: #666;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.single-post-meta span {
	margin-right: 20px;
}

.single-post-meta i {
	margin-right: 5px;
	color: #F40606;
}

.single-post-thumbnail {
	margin: -30px -30px 30px;
	overflow: hidden;
}

.single-post-thumbnail img {
	width: 100%;
	height: auto;
	border-radius: 8px 8px 0 0;
}

.single-post-content .entry-content {
	color: #444;
	line-height: 1.8;
	font-size: 16px;
}

.single-post-content .entry-content p {
	margin-bottom: 20px;
}

.single-post-content .entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 20px 0;
}

.single-post-footer {
	margin-top: 40px;
	border-top: 1px solid #eee;
}

.post-navigation {
	display: flex;
	justify-content: space-between;
	margin-top: 40px;
}

.nav-previous a,
.nav-next a {
	color: #666;
	text-decoration: none;
	display: flex;
	align-items: center;
	transition: color 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
	color: #F40606;
}

.nav-previous i {
	margin-right: 8px;
}

.nav-next i {
	margin-left: 8px;
}

.related-posts {
	margin-top: 40px;
}

.related-posts-title {
	font-size: 24px;
	color: #333;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 2px solid #f0f0f0;
}

/* 评论区 - 移除阴影,添加边框 */
.comments-area {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee; /* 新增边框 */
    padding: 30px;
    margin-top: 40px;
}

.comments-title {
	font-size: 24px;
	color: #333;
	margin-bottom: 25px;
}

.comment-form input,
.comment-form textarea {
	border: 1px solid #eee;
	border-radius: 4px;
	padding: 10px 15px;
	width: 100%;
	margin-bottom: 15px;
}

.comment-form .submit {
	background: #F40606;
	color: #fff;
	border: none;
	padding: 12px 25px;
	border-radius: 25px;
	cursor: pointer;
	transition: opacity 0.3s ease;
}

.comment-form .submit:hover {
	opacity: 0.9;
}
/* 文章标签样式优化 */
.post-tags-wrapper {
	padding: 20px;
	border-radius: 12px;
}

.post-tags-title {
	font-size: 16px;
	color: #333;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
}

.post-tags-title i {
	color: #F40606;
	margin-right: 8px;
	font-size: 18px;
}

.post-tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.post-tag {
	display: inline-flex;
	align-items: center;
	padding: 6px 15px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 20px;
	color: #666;
	font-size: 13px;
	transition: all 0.3s ease;
}

.post-tag:hover {
	background: #F40606;
	color: #fff;
	border-color: #F40606;
	transform: translateY(-2px);
	text-decoration: none;
}

/* 相关文章区域 - 移除阴影,添加边框 */
.related-posts {
    margin-top: 50px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee; /* 新增边框 */
}

.related-posts-header {
	margin-bottom: 25px;
	text-align: center;
}

.related-posts-title {
	font-size: 24px;
	color: #333;
	margin-bottom: 10px;
	position: relative;
	display: inline-block;
}

.related-posts-title:after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 3px;
	background: #F40606;
	border-radius: 2px;
}

.related-posts-desc {
	color: #666;
	font-size: 14px;
}

.related-post-card {
	height: 100%;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid #eee;
}

.related-post-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.related-post-thumbnail {
	position: relative;
	padding-top: 66%;
	overflow: hidden;
}

.related-post-thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.related-post-card:hover .related-post-thumbnail img {
	transform: scale(1.1);
}

.related-post-content {
	padding: 20px;
}

.related-post-title {
	font-size: 16px;
	margin: 0 0 10px;
	line-height: 1.4;
}

.related-post-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.related-post-title a:hover {
	color: #F40606;
}

.related-post-meta {
	font-size: 12px;
	color: #999;
}

.related-post-meta i {
	color: #F40606;
	margin-right: 4px;
}

table {
	/*border: 1px solid #ccc;*/
	width: 80%;
	padding:0;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0 auto;
}

table tr {
	/*border: 1px solid #ddd;*/
	padding: 5px;
}

table th, table td {
	padding: 10px;
	text-align: center;
}

table th {
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 1px;
}

@media screen and (max-width: 600px) {

	table {
		border: 0;
	}

	table thead {
		display: none;
	}

	table tr {
		margin-bottom: 10px;
		display: block;
		border-bottom: 2px solid #ddd;
	}

	table td {
		display: block;
		text-align: right;
		font-size: 13px;
		border-bottom: 1px dotted #ccc;
	}

	table td:last-child {
		border-bottom: 0;
	}

	table td:before {
		content: attr(data-label);
		float: left;
		text-transform: uppercase;
		font-weight: bold;
	}
}
#form-message {
	margin-top: 15px;
	display: none;
	padding: 10px;
	border-radius: 4px;
}

#form-message.success {
	background-color: #d4edda;
	color: #155724;
}

#form-message.error {
	background-color: #f8d7da;
	color: #721c24;
}
/* 设备展示卡片样式 */
.equipment-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee; /* 新增边框 */
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.equipment-card:hover {
    transform: translateY(-5px);
    border-color: #ddd;
}

.equipment-thumbnail {
	position: relative;
	overflow: hidden;
	padding-top: 75%; /* 4:3 比例 */
}

.equipment-thumbnail img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.equipment-card:hover .equipment-thumbnail img {
	transform: scale(1.1);
}

.equipment-content {
	padding: 20px;
}

.equipment-title {
	margin: 0 0 15px;
	font-size: 20px;
	line-height: 1.4;
}

.equipment-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.equipment-title a:hover {
	color: #F40606;
}

.equipment-meta {
	font-size: 14px;
	color: #666;
	margin-bottom: 15px;
}

.equipment-meta .specs {
	background: #f8f9fa;
	padding: 10px;
	border-radius: 6px;
	line-height: 1.6;
}

.equipment-details {
	display: inline-flex;
	align-items: center;
	color: #F40606;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
}

.equipment-details i {
	margin-left: 5px;
	transition: transform 0.3s ease;
}

.equipment-details:hover i {
	transform: translateX(5px);
}

.equipment-grid {
	margin-bottom: 40px;
}
/* 设备侧边栏样式 */
.equipment-sidebar .sidebar-widget {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee; /* 新增边框 */
    padding: 25px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.equipment-sidebar .sidebar-widget:hover {
    transform: translateY(-5px);
    border-color: #ddd;
}

.equipment-categories {
	list-style: none;
	padding: 0;
	margin: 0;
}

.equipment-category-item {
	margin-bottom: 15px;
}

.equipment-category-item > a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 15px;
	background: #f8f9fa;
	border-radius: 6px;
	color: #333;
	text-decoration: none;
	transition: all 0.3s ease;
}

.equipment-category-item > a:hover {
	background: #F40606;
	color: #fff;
}

.equipment-category-item .post-count {
	background: #fff;
	color: #666;
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 12px;
	min-width: 24px;
	text-align: center;
	transition: all 0.3s ease;
}

.equipment-category-item > a:hover .post-count {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.sub-categories {
	list-style: none;
	padding: 0 0 0 20px;
	margin: 10px 0 0 0;
}

.sub-category-item {
	margin-bottom: 8px;
}

.sub-category-item > a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 12px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 4px;
	color: #666;
	text-decoration: none;
	font-size: 0.9em;
	transition: all 0.3s ease;
}

.sub-category-item > a:hover {
	background: #f8f9fa;
	border-color: #F40606;
	color: #F40606;
}

.sub-category-item .post-count {
	background: #f8f9fa;
	color: #999;
	padding: 1px 6px;
	border-radius: 10px;
	font-size: 11px;
	min-width: 20px;
	text-align: center;
	transition: all 0.3s ease;
}

.sub-category-item > a:hover .post-count {
	background: #F40606;
	color: #fff;
}

.no-categories {
	color: #666;
	text-align: center;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 6px;
}
/* 导航菜单样式 */
.navbar-nav > li {
	position: relative;
}

/* 一级菜单项样式 */
.navbar-nav > li > a {
	padding: 15px;
	color: #333;
	transition: color 0.3s ease;
}

.navbar-nav > li > a:hover {
	color: #F40606;
}

/* 二级菜单容器 */
.navbar-nav > li > .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: #fff;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	padding: 10px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
	z-index: 1000;
}

/* 显示二级菜单 */
.navbar-nav > li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* 二级菜单项样式 */
.navbar-nav .sub-menu li {
	display: block;
	padding: 0;
	margin: 0;
}

.navbar-nav .sub-menu li a {
	display: block;
	padding: 8px 20px;
	color: #666;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.navbar-nav .sub-menu li a:hover {
	background: #f8f9fa;
	color: #F40606;
}

/* 移动端菜单样式 */
@media (max-width: 767px) {
	.navbar-nav .sub-menu {
		position: static;
		background: #f8f9fa;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		padding-left: 20px;
		display: none;
	}

	.navbar-nav > li:hover > .sub-menu {
		display: block;
	}

	.navbar-nav .sub-menu li a {
		padding: 8px 15px;
	}

	/* 添加下拉指示器 */
	.navbar-nav > li.menu-item-has-children > a:after {
		content: " ▼";
		margin-left: 5px;
	}
}