
/*
Default style for WP-PageNavi plugin

http://wordpress.org/extend/plugins/wp-pagenavi/
*/
.wp-pagenavi {
	clear: both;
}

.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	border: 1px solid #bfbfbf;
	padding: 3px 5px;
	margin: 2px;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	border-color: #000;
}

.wp-pagenavi span.current {
	font-weight: bold;
}

/* General grid layout for search results */
.search-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: space-between;
}

/* Each post/article item */
.search-grid-item {
	position: relative;
	width: 23%;
	background: #fff;
	padding: 20px;
	border: 2px solid #f08372;
	border-radius: 8px;
	box-sizing: border-box;
	text-align: center;
	transition: box-shadow .3s ease, border-color .3s ease;
	margin-bottom: 20px;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

/* Hover effect for each article */
.search-grid-item:hover {
	border-color: #e74c3c;
	box-shadow: 0 4px 10px rgba(240, 131, 114, .5);
}

/* Post thumbnail container */
.search-grid-item .post-thumbnail {
	width: 100%;
	height: auto;
	margin-bottom: 15px;
}

/* Image inside thumbnail */
.search-grid-item .post-thumbnail img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 5px;
}

/* Post title */
.search-grid-item .post-title {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	margin: 10px 0;
}

/* Wrapper for the team members */
.et_pb_team_members {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: space-between;
}

/* Each team member card */
.et_pb_team_member {
	width: calc(50% - 10px);
	margin-bottom: 20px;
	box-sizing: border-box;
	background-color: #fff;
	border: 2px solid #f08372;
	border-radius: 8px;
	padding: 20px;
	transition: box-shadow .3s ease, border-color .3s ease;
}

/* Hover effect for each team member card */
.et_pb_team_member:hover {
	border-color: #e74c3c;
	box-shadow: 0 4px 10px rgba(240, 131, 114, .5);
}

/* Post title for team members */
.et_pb_team_member .et_pb_member_position {
	font-size: 16px;
	font-weight: bold;
	color: #333;
}

/* Responsive layout adjustments */
@media (max-width: 991px) {
	.search-grid-item {
		width: calc(50% - 10px);
	}
	
	.et_pb_team_member {
		width: calc(50% - 10px);
	}
}

@media (max-width: 600px) {
	.search-grid-item {
		width: 100%;
	}
	
	.et_pb_team_member {
		width: 100%;
	}
}

/* Optional: fix for unwanted vertical divider line */
@media (min-width: 981px) {
	.et_right_sidebar #main-content .container:before {
		display: none !important;
		content: none !important;
	}
}

/* General grid layout for search results */
.search-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: space-between;
}

/* Each post/article item */
.search-grid-item {
	position: relative;
	width: 23%;
	background: #fff;
	padding: 20px;
	border: 2px solid #f08372;
	border-radius: 8px;
	box-sizing: border-box;
	text-align: center;
	transition: box-shadow .3s ease, border-color .3s ease;
	margin-bottom: 20px;
	box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

/* Hover effect for each article */
.search-grid-item:hover {
	border-color: #e74c3c;
	box-shadow: 0 4px 10px rgba(240, 131, 114, .5);
}

/* Post thumbnail container */
.search-grid-item .post-thumbnail {
	width: 100%;
	height: auto;
	margin-bottom: 15px;
}

/* Image inside thumbnail */
.search-grid-item .post-thumbnail img {
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 5px;
}

/* Post title */
.search-grid-item .post-title {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	margin: 10px 0;
}

/* Wrapper for the team members */
.et_pb_team_members {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: space-between;
}

/* Each team member card */
.et_pb_team_member {
	width: calc(50% - 10px);
	margin-bottom: 20px;
	box-sizing: border-box;
	background-color: #fff;
	border: 2px solid #f08372;
	border-radius: 8px;
	padding: 20px;
	transition: box-shadow .3s ease, border-color .3s ease;
}

/* Hover effect for each team member card */
.et_pb_team_member:hover {
	border-color: #e74c3c;
	box-shadow: 0 4px 10px rgba(240, 131, 114, .5);
}

/* Post title for team members */
.et_pb_team_member .et_pb_member_position {
	font-size: 16px;
	font-weight: bold;
	color: #333;
}

/* Responsive layout adjustments */
@media (max-width: 991px) {
	.search-grid-item {
		width: calc(50% - 10px);
	}
	
	.et_pb_team_member {
		width: calc(50% - 10px);
	}
}

@media (max-width: 600px) {
	.search-grid-item {
		width: 100%;
	}
	
	.et_pb_team_member {
		width: 100%;
	}
}

/* Optional: fix for unwanted vertical divider line */
@media (min-width: 981px) {
	.et_right_sidebar #main-content .container:before {
		display: none !important;
		content: none !important;
	}
}
