/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.archive .post {
	margin: 0;
}

.archive .large-10 {
	max-width: 100%;
	flex-basis: 100%;
}

.wn-post-grid .post-card-inner {
	text-align: center;
}

.wn-post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.wn-post-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.wn-post-grid .post-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	margin: 0;
}

.wn-post-grid .post-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.wn-post-grid .post-image {
	position: relative;
	margin-bottom: 10px;
}

.wn-post-grid .post-image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	height: 200px;
	border-radius: 12px 12px 0 0;
}

.wn-post-grid .post-badge {
	position: relative;
	background: #ff5e57;
	color: white;
	font-size: 12px;
	padding: 5px 20px;
	border-radius: 20px;
	font-weight: bold;
}

.wn-post-grid .post-content {
	padding: 15px;
	text-align: center;
}

.wn-post-grid .post-title {
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 10px;
}

.wn-post-grid .post-title a {
	text-decoration: none;
	color: #333;
	transition: color 0.3s ease;
	min-height: 50px;
  display: inline-block;
}

.wn-post-grid .post-title a:hover {
	color: #ff5e57;
}

.wn-post-grid .post-excerpt {
	font-size: 14px;
	color: #666;
	margin-bottom: 10px;
}

.wn-post-grid .read-more-wrapper {
	display: flex;
	gap: 10px;
}

.wn-post-grid .read-more-button {
	display: inline-block;
	background: #0073aa;
	color: white;
	padding: 8px 15px;
	font-size: 14px;
	border-radius: 5px;
	text-decoration: none;
	transition: background 0.3s ease;
}

.wn-post-grid .read-more-button:hover {
	background: #005f8d;
}

.wn-post-grid .post-footer {
	display: flex;
	justify-content: center;
	padding: 10px;
	border-top: 1px solid #eee;
	font-size: 14px;
	color: #666;
}

.wn-post-grid .comments-count {
	display: flex;
	padding: 5px 10px;
	border-radius: 15px;
	background: #f1f1f1;
	color: #333;
	font-weight: bold;
	align-items: center;
}

.read-more {
	display: inline-block;
	background: linear-gradient( 255deg , rgba(255, 90, 94, 1.0), rgba(232, 36, 77, 1.0));
	color: white;
	padding: 8px 15px;
	font-size: 14px;
	border-radius: 5px;
	margin-right: 10px;
	font-weight: bold;
}

.post-footer {
	display: flex;
	justify-content: center;
	padding: 10px;
	border-top: 1px solid #eee;
	font-size: 14px;
	color: #666;
}

.comments-count {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 15px;
	background: #f1f1f1;
	color: #333;
	font-weight: bold;
}

.wn-custom-blog-posts-section .text {
	max-width: 1020px;
	margin: auto;
}


@media only screen and (max-width: 48em) {
	/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.wn-post-grid {
		grid-template-columns: repeat(1, 1fr);
		padding: 10px
	}
}