/*============================*/
/* Custom Blog Posts          */
/*============================*/

.custom-blog-posts-wrapper {
	position: relative;
}

.blog-posts-filter-wrap {
    margin-bottom: 70px;
    display: flex;
	flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
	gap: 30px;
    row-gap: 60px;
}

.blog-filter-cat,
.blog-filter-search {
	position: relative;
    flex-basis: 200px;
}
.blog-filter-cat::before {
    position: absolute;
    top: 50%;
    content: '';
    background-image: url('chevron-down.svg');
    width: 16px;
    height: 16px;
    right: 10px;
    background-size: 16px;
    margin-top: -9px;
    z-index: 0;
}
#custom-blog-posts-category {
	font-size: 16px;
	font-weight: 700;
}
.blog-filter-cat select {
    border: 1px solid #000000;
    border-radius: 0px !important;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    position: relative;
    background: transparent;
}
.blog-filter-cat select:focus {
    outline: none;
}

.blog-filter-search input {
	background-color: #f4f4f4;
	border: 0px solid #cccccc !important;
	border-radius: 0 !important;
	font-size: 14px;
}
.blog-filter-search input:focus {
	outline: none;
	border: 0px solid #cccccc !important;
}

.blog-filter-search:after {
	position: absolute;
    top: 50%;
    content: '';
    background-image: url('../search-b.svg');
    width: 22px;
    height: 22px;
    right: 10px;
    background-size: 22px;
    margin-top: -11px;
	z-index: 0;
}
.blog-filter-search input::-webkit-input-placeholder {
	font-weight: 500;
	text-transform: uppercase;
	color: #000000;
}
.blog-filter-search input::-moz-placeholder {
	font-weight: 500;
	text-transform: uppercase;
	color: #000000;
}
.blog-filter-search input:-ms-input-placeholder {
	font-weight: 500;
	text-transform: uppercase;
	color: #000000;
}
.blog-filter-search input::-ms-input-placeholder {
	font-weight: 500;
	text-transform: uppercase;
	color: #000000;
}
.blog-filter-search input::placeholder {
	font-weight: 500;
	text-transform: uppercase;
	color: #000000;
}

#custom-blog-posts-results {
    opacity: 0;
}

#custom-blog-posts-results.show {
    opacity: 1;
}

.custom-blog-posts-item {
    opacity: 0;
    transform: scale(0.85);
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease-out;
    will-change: transform, opacity;
}

.custom-blog-posts-item.show {
    opacity: 1;
    transform: scale(1);
}


.custom-blog-posts-content-wrap {
	padding:0;
	flex-basis: 65%;
}

#custom-blog-posts-results {
	--columns:1;
	--gap:30px;
	--gap-count:calc( var(--columns) - 1 );
	display:flex;
	gap:var(--gap);
	flex-wrap: wrap;
	row-gap: 60px;

}

.custom-blog-posts-item {
	display: flex;
	gap: 25px;
	width: 100%;
}


.custom-blog-post-thumb {
	flex-basis: 35%; 
	background-color: #E5E5E5;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 0;
	transition: all 0.3s ease-out;
}
.custom-blog-post-thumb:hover {
	background-color: #D3D3D3;
}
.custom-blog-post-thumb-wrap {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background-color: #ffffff;
    padding: 10px;
    place-items: center;
    display: grid;
    transition: 0.3s all ease-out;
}

.custom-blog-post-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 5px; }
.custom-blog-post-title a { color: #000000; transition: all 0.3s linear; }


.custom-blog-post-date { color: #B37CD3; font-weight: 700; font-size: 16px; margin-bottom: 10px; }

.custom-blog-post-content{ color: #000000; font-size: 1.31rem; }


@media (max-width: 992px) {
	#custom-blog-posts-results{
		--columns:2;
	}
}
@media (max-width: 767px) {
	#custom-blog-posts-results{
		--columns:1;
	}
}


