.single-blog-item .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.3s ease-in-out;
}

.single-blog-item:hover img {
	transition: all 0.3s ease-in-out;
	transform: scale(1.05);
}

.single-blog-item .image {
	overflow: hidden;
	height: 300px;
}

.blog-1 .blog-inner .single-blog-item {
	box-shadow: 3px 3px 20px rgb(192 190 221 / 38%);
}

.blog-1 .blog-inner {
	padding-bottom: 0;
}

.news-area .main-sidebar .single-sidebar-widget ul>li a {
	font-size: 1rem;
	padding: 12px 20px;
	margin-bottom: 5px;
	font-weight: 500;
}

.widget_categories ul li a span {
	line-height: 41px;
}

.search-container {
	width: 100%;
	margin-bottom: 20px;
	margin-top: 30px;
}

.search-form {
	width: 100%;
}

.search-input-wrapper {
	display: flex;
	position: relative;
	border-radius: 50px;
	overflow: hidden;
}

.search-input {
	width: 100%;
	padding: 15px 20px;
	border: 1px solid #e1e1e1;
	border-radius: 50px;
	font-size: 16px;
	outline: none;
	transition: all 0.3s ease;
}

.search-input:focus {
	border-color: #2db5d4;
	box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.search-button {
	position: absolute;
	right: 5px;
	top: 50%;
	transform: translateY(-50%);
	background: linear-gradient(84deg, var(--theme) 0%, var(--theme-2) 100%);
	color: white;
	border: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s ease;
}

.search-button:hover {
	background-color: #0056b3;
}

.search-button i {
	font-size: 18px;
}

.news-area .main-sidebar .single-sidebar-widget {
	margin-bottom: 25px;
}

.popular-posts .single-post-item,
.popular_posts .single-post-item {
	padding-bottom: 0;
}

.popular-posts .single-post-item .post-content .post-date i,
.popular_posts .single-post-item .post-content .post-date i {
	font-size: 16px;
}

.post-content a:hover {
	color: var(--theme);
}

.blog-1 .blog-inner .single-blog-item .content ul li {
	font-weight: 400;
}

.blog-inner .single-blog-item .content ul li .fa-calendar-alt {
	margin-right: 5px;
	color: var(--theme);
	font-weight: 700;
}

.blog-1 .blog-inner .single-blog-item .content ul li a {
	background: linear-gradient(84deg, #5ecee3 0%, #5ac2fd 100%);
	color: #fff;
	padding: 8px 10px;
	border-radius: 5px;
	padding-bottom: 5px;
}

/* 移除或修正遮罩屬性 */
.blog-1 .blog-inner .single-blog-item .image {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-bottom: 75%;
	/* 調整這個比例以適應您的圖片 */
	border-radius: 12px;
	/* 移除或修正mask屬性，它可能導致顯示問題 */
	mask: none;
	-webkit-mask: none;
}

/* 確保圖片正確定位和填滿 */
.single-blog-item .image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.3s ease-in-out;
}

/* 確保在小螢幕上仍能正確顯示 */
@media (width <=768px) {
	.single-blog-item .image {
		padding-bottom: 75%;
		/* 保持相同的比例 */
	}

	.blog-wrapper .blog-details-image {
		height: 350px;
	}
}

@media (width <=576px) {
	.blog-wrapper .blog-details-image {
		height: 260px;
	}
}

.blog-1 .blog-inner .single-blog-item .image {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-bottom: 75%;
	border-radius: 12px;
	mask: none;
	-webkit-mask: none;
	height: 240px;
}

.blog-1 .blog-inner .single-blog-item .image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover !important;
	transition: all 0.3s ease-in-out;
}


@media (width <=768px) {
	.single-blog-item .image {
		padding-bottom: 75%;
	}
}

@media (width <=576px) {
	.blog-inner .row>* {
		padding: 0;
	}

	.blog-1 .blog-inner .single-blog-item .image {
		height: 200px;
	}

	.blog-1 .blog-inner .single-blog-item {
		padding: 13px;
	}
}

.popular-posts .single-post-item .thumb, .popular_posts .single-post-item .thumb {
	object-fit: cover;
}