/*!
Theme Name: FractalBD
Author: Nazim Husain
Author URI: https://nazimansari.com
Description: Custom Astra child theme
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
Version: 1.0
*/

/**********
* GLOBAL *
**********/

:root {
	/* 	--primary: #0c2d7e;
	--secondary: #1d2737;
	--headline: #111;
	--text: #5a5a5a; */
}

html {
	scroll-behavior: smooth;
}

.page-template .site-content > .ast-container,
.single .site-content > .ast-container {
	display: block;
	max-width: 100%;
	padding: 0 !important;
}

.site-container {
	max-width: 1140px;
	padding: 70px 20px;
	margin: 0 auto;
}

.section-title {
	font-size: 32px;
	line-height: 42px;
	font-weight: 700;
}

.desc {
	font-size: 16px;
	line-height: 27px;
	font-weight: 400;
}

.btn a,
.btn button {
	display: inline-block;
	font-size: 16px;
	line-height: 26px;
	font-weight: 600;
	padding: 12px 36px;
	border-radius: 5px;
	transition: 0.3s ease-in-out;
}

a:focus,
a:hover,
button:focus,
button:hover{
	outline: none !important;
}

.home .eael-grid-post .eael-post-elements-readmore-btn{
	display:inline-block;
	/* 	background: #333333; */
	color:#333!important;
	/* 	padding:8px 25px; */
	/* 	border-radius:40px; */
	/* 	text-decoration:none!important; */
	margin-top:0px;

}

.home .eael-grid-post .eael-entry-wrapper {
	padding:0;
	margin-top:25px
}

.site-footer,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer a{
	color: #F1F1F1!important;
}

.site-footer .menu {
	column-count: 2;
	column-gap: 40px;
}

.site-footer .menu li{
	margin-bottom:14px
}

.site-footer .newsletter .title{
	font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.site-footer .newsletter button{
	margin-top: 10px;
	width: 100%;
	color: #fff;
}

/* Blog Page */
.blog .banner {
	background: url('/wp-content/uploads/2025/06/blog-banner.webp') no-repeat center center / cover;
}

.blog .banner .section-title,
.blog .banner .desc{
	color: #fff;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.blog .banner .section-title {
	text-transform: uppercase;
}

.blog .banner .desc {
	margin-top: 20px;
}

/* Blog Card */
.blog .ast-article-inner {
	display: flex;
}

.blog  .post-content {
	display: flex;
	flex-direction: column;
}

.blog  .post-content .ast-excerpt-container {
	margin-bottom: 10px;
}

.blog  .post-content .read-more {
	margin: auto 0 0;
}

.blog  .post-content .read-more a {
	color: #333;
	font-size: 14px;
	text-decoration: underline;
}

.blog  .post-content .read-more a:hover {
	text-decoration: none;
}

/* Single Post */
.single-post {
	background: #fff;
}

.post-content .site-container {
	max-width: 1310px;
}

.post-content .go-back {
	font-size: 16px;
	line-height: 1.2;
	font-weight: 600;
	color: #667085;
}


.post-content .go-back svg {
	margin-right: 6px;
	position: relative;
	top: 2px;
}

.post-content .content-wrapper {
	max-width: 1025px;
	margin: 20px auto 20px;
}

.post-content .post-title {
	font-size: 36px;
	line-height: 42px;
	font-weight: 700;
	color: #231F20;
	text-align: center;
	max-width: 904px;
	margin: 0 auto 20px;
}

.post-content .post-meta {
	font-size: 16px;
	line-height: 1.2;
	color: #231F20;
	text-align: center;
}

.post-content .post-meta span:not(:last-child) {
	border-right: 1px solid #231F20;
	padding-right: 15px;
	margin-right: 15px;
}

.post-content .post-thumbnail  {
	margin: 35px 0 40px;
}

.post-content .post-thumbnail img {
	/* 	height: 530px;
	object-fit: cover; */
	border-radius: 10px;
}

/* Related Blogs */
.related-blogs {
	background: #F1F1F1;
}

.related-blogs .site-container {
	max-width: 1310px;
}

.related-blogs .section-title{
	text-align: center;
	font-size: 28px;
	line-height: 1.2;
	margin-bottom: 50px;
}

.related-blogs .posts.grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 40px;
}

.posts .card-article {
	background: #fff;
	border-radius: 10px;
}

.posts .card-article .thumbnail img {
	border-radius: 10px 10px  0 0;
	height: 220px;
	object-fit: cover;
}

.posts .card-article  .thumbnail img:hover {
	opacity: 0.95;
}

.posts .card-article .content {
	padding: 20px 25px 30px;
}

.posts .card-article .date {
	display: block;
	margin-bottom: 10px;
	color: #667085;
}

.posts .card-article .title a {
	font-size: 20px;
	line-height: 1.4;
	font-weight: 600;
	color: #231F20;
	margin-bottom: 14px;
	display: block;
}

.posts .card-article .title a:hover {
	color: #F76116;
}

.posts .card-article .excerpt {
	font-size: 16px;
	color: #667085;
	margin-bottom: 0;
}

.ast-separate-container .comment-respond {
    padding: 0 !important;
}

/****************
* MEDIA QUERIES *
*****************/

@media (max-width: 980px) {
	/* Related Blogs */
	.related-blogs .posts.grid {
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 30px;
	}
}

@media (max-width: 768px) {
	/**********
	* GLOBAL *
	**********/

	.site-container {
		max-width: 100%;
		padding: 50px 20px;
	}

	.section-title {
		font-size: 26px;
		line-height: 36px;
	}

	.desc {
		font-size: 15px;
		line-height: 27px;
		font-weight: 400;
	}

	/* 	Footer */
	.site-footer .newsletter .title{
		font-size: 16px;
	}

	/* Single Post */

	.post-content .site-container {
		max-width: 100%;
		padding: 40px 20px 50px;
	}

	.post-content .go-back {
		font-size: 15px;
	}

	.post-content .go-back svg {
		margin-right: 5px;
	}

	.post-content .content-wrapper {
		max-width: 100%;
		margin: 20px auto 30px;
	}

	.post-content .post-title {
		font-size: 25px;
		line-height: 35px;
		max-width: 100%;
	}

	.post-content .post-meta {
		font-size: 15px;
		line-height: 1.5;
	}

	.post-content .post-meta span:not(:last-child) {
		padding-right: 10px;
		margin-right: 10px;
	}

	.post-content .post-thumbnail  {
		margin: 30px 0 30px;
	}


	/* 	.post-content .post-thumbnail img {
	height: 240px;
} */

	/* Related Blogs */
	.related-blogs .site-container {
		max-width: 100%;
	}

	.related-blogs .section-title{
		font-size: 22px;
		margin-bottom: 30px;
	}

	.related-blogs .posts.grid {
		grid-template-columns: repeat(1, 1fr);
		grid-gap: 20px;
	}

	.posts .card-article .thumbnail img {
		height: 180px;
		object-fit: cover;
	}

	.posts .card-article .content {
		padding: 20px 20px 25px;
	}

	.posts .card-article .title a {
		font-size: 18px;
		margin-bottom: 12px;
	}

	.posts .card-article .excerpt {
		font-size: 15px;
	}

}
