#cs-homepage #cs-homepage__container .homepage-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px 60px;
}

#cs-homepage #cs-homepage__container .homepage-posts-grid .post a {
	height: 324px;
	width: 100%;
	overflow: hidden;
	font-family: 'Nocturne' !important;
}

#cs-homepage #cs-homepage__container > div {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

#cs-homepage #cs-homepage__container .homepage-posts-grid .post img {
	width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#cs-homepage #cs-homepage__container .homepage-posts-grid .entry-title {
	line-height: 34px;
	letter-spacing: -1px;
}

.blog #main-content .et_pb_post .entry-featured-image-url, .search-results #main-content .et_pb_post .entry-featured-image-url {
	margin-bottom: 30px;
}

#custom-search {
	border: none;
	border-radius: 0px;
	font-size: 18px;
	width: 400px;
	margin-bottom: 80px;
}
#custom-search form {
	background-color: #F8F8F8;
}
#custom-search input {
	font-size: 18px;
	color: #3C72B5;
}
#custom-search input::placeholder {
	color: #3C72B5;
	text-transform: capitalize;
	font-size: 18px;
	font-family: 'Open Sans', sans-serif;
}

#custom-search.et_pb_search_0_tb_body input.et_pb_searchsubmit {
	visibility: visible;
	width: 48px;
	background-color: #F0F0F0 !important;
	color: transparent;
}

#custom-search::after {
	content: "";
	display: block;
	position: absolute;
	top: 0.75rem;
	right: 0.5rem;
	width: 1.5rem;
	height: 1.5rem;
	background-image: url(https://judithbenhamou.com/wp-content/uploads/2025/10/icon-search.png);
	background-size: contain;
	background-repeat: no-repeat;
	pointer-events: none;
}

.blog #main-content .pagination, .search-results #main-content .pagination {
	margin-bottom: 50px;
}

/* Layout */
.blog #main-content .et_pb_row, .category #main-content .et_pb_row, .search-results #main-content .et_pb_row, .category #main-content .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
}

#cs-homepage__container, .blog #main-content .et_pb_row, .category #main-content .et_pb_row, .search-results #main-content .et_pb_row, .category #main-content .et_pb_row {
	padding: 0 70px !important;
}

.youtube-configured-video {
	width: 560px;
	height: auto;
	margin-bottom: 10px;
}

.custom_youtube {
	font-size: 17px;
	font-family: 'Nocturne';
	text-decoration: underline;
}


@media (min-width: 981px) {
	.blog #main-content .et_pb_section, .search-results #main-content .et_pb_section {
			padding: 0 0 !important;
	}

  .blog #main-content #single-post-custom, .search-results #main-content #single-post-custom {
		padding-right: 0 !important;
	}
}

@media (max-width: 980px) {
	#cs-homepage #cs-homepage__container .homepage-posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}


@media (max-width: 780px) {
	#cs-homepage #cs-homepage__container .homepage-posts-grid {
		grid-template-columns: repeat(1, 1fr);
	}

	#cs-homepage #hero-section {
		display: none;
	}

	.youtube-configured-video {
    width: 100%;
	}

	#custom-search {
		width: 50%;
	}

	#cs-homepage #main-content .et_pb_row {
		padding: 20px !important;
	}

	#cs-homepage__container, .blog #main-content .et_pb_row, .category #main-content .et_pb_row, .search-results #main-content .et_pb_row, .category #main-content .et_pb_row {
		padding: 0 20px !important;
	}

	#cs-homepage #cs-homepage__container .homepage-posts-grid .entry-title {
		font-size: 26px !important;
	}

}

