/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */



/* =========================================================
   CUSTOM BLOG WRAPPER
   ========================================================= */

.custom-blog {
	width: 100%;
}


.custom-blog code {
	font-family: Manrope, sans-serif!important;
}

/* =========================================================
   BLOG GRID
   ========================================================= */

.custom-blog-grid {
	display: grid;
	gap: 35px;
}

.custom-blog-columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.custom-blog-columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.custom-blog-columns-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}


/* =========================================================
   BLOG CARD
   ========================================================= */

.custom-blog-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	padding: 0;
	background: #fff;
	overflow: hidden;
}


/* =========================================================
   FEATURED IMAGE
   ========================================================= */

.custom-blog-image {
	display: block;
	position: relative;
	width: 100%;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	text-decoration: none;
}

.custom-blog-image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.custom-blog-card:hover .custom-blog-image img {
	transform: scale(1.04);
}


/* =========================================================
   BLOG CONTENT
   ========================================================= */

.custom-blog-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex-grow: 1;
	padding: 25px 0 0;
}


/* =========================================================
   META
   ========================================================= */

.custom-blog-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 14px;
	width: 100%;
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.4;
}

.custom-blog-date {
	opacity: 0.7;
}


/* =========================================================
   TITLE
   ========================================================= */

.custom-blog-title {
	width: 100%;
	margin: 0 0 14px;
	padding: 0;
	font-size: 24px;
	line-height: 1.25;
	font-weight: 600;
}

.custom-blog-title a {
	color: inherit;
	text-decoration: none;
}

.custom-blog-title a:hover {
	opacity: 0.75;
}


/* =========================================================
   EXCERPT
   ========================================================= */

.custom-blog-excerpt {
	width: 100%;
	margin: 0 0 20px;
	font-size: 16px;
	line-height: 1.65;
}

.custom-blog-excerpt p {
	margin: 0;
}


/* =========================================================
   READ MORE LINK
   ========================================================= */

.custom-blog-read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	font-weight: 600;
	text-decoration: none;
}

.custom-blog-read-more span {
	display: inline-block;
	transition: transform 0.2s ease;
}

.custom-blog-read-more:hover span {
	transform: translateX(4px);
}


/* =========================================================
   NO POSTS MESSAGE
   ========================================================= */

.custom-blog-no-posts {
	width: 100%;
	padding: 30px 0;
	text-align: center;
}

.custom-blog-no-posts p {
	margin: 0;
}


/* =========================================================
   WP-PAGENAVI PAGINATION
   ========================================================= */

.custom-blog-pagination {
	width: 100%;
	margin-top: 60px;
}

.custom-blog-pagination .wp-pagenavi {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	width: 100%;
}

.custom-blog-pagination .wp-pagenavi a,
.custom-blog-pagination .wp-pagenavi span {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	margin: 0;
	border: 1px solid #ddd;
	background: transparent;
	text-decoration: none;
	font-size: 14px;
	line-height: 1;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}

.custom-blog-pagination .wp-pagenavi a:hover {
	background: #f4f4f4;
	border-color: #bbb;
}

.custom-blog-pagination .wp-pagenavi .current {
	background: #222;
	border-color: #222;
	color: #fff;
	font-weight: 600;
}

.custom-blog-pagination .wp-pagenavi .pages {
	min-width: auto;
	padding-left: 0;
	padding-right: 10px;
	border: 0;
	background: transparent;
}

.custom-blog-pagination .wp-pagenavi .extend {
	min-width: auto;
	padding-left: 4px;
	padding-right: 4px;
	border: 0;
	background: transparent;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.custom-blog-columns-3,
	.custom-blog-columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.custom-blog-grid {
		gap: 30px;
	}

	.custom-blog-title {
		font-size: 22px;
	}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.custom-blog-columns-2,
	.custom-blog-columns-3,
	.custom-blog-columns-4 {
		grid-template-columns: 1fr;
	}

	.custom-blog-grid {
		gap: 40px;
	}

	.custom-blog-content {
		padding-top: 20px;
	}

	.custom-blog-title {
		font-size: 21px;
	}

	.custom-blog-excerpt {
		font-size: 15px;
	}

	.custom-blog-pagination {
		margin-top: 45px;
	}

	.custom-blog-pagination .wp-pagenavi {
		gap: 6px;
	}

	.custom-blog-pagination .wp-pagenavi a,
	.custom-blog-pagination .wp-pagenavi span {
		min-width: 38px;
		height: 38px;
		padding: 0 11px;
		font-size: 13px;
	}

	.custom-blog-pagination .wp-pagenavi .pages {
		display: none;
	}

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

	.custom-blog-image {
		aspect-ratio: 4 / 3;
	}

	.custom-blog-title {
		font-size: 20px;
	}

	.custom-blog-meta {
		font-size: 12px;
	}

	.custom-blog-pagination .wp-pagenavi a,
	.custom-blog-pagination .wp-pagenavi span {
		min-width: 36px;
		height: 36px;
		padding: 0 9px;
	}

}





.single-post main
{
  	padding-bottom: 20px;
	padding-top: 150px;
}

@media (min-width: 520px) and (max-width: 767px) {
	.single-post main {
		padding-top: 200px;
	}
}