/* @media only screen and (min-width: 768.98px) and (max-width:1240px){
	.latest-post-link{
		text-align: left;
		 align-items: flex-start;
	}
	.latest-post-link .latest-post-content h4{
		text-align: left !important;
		font-size: 12px;
	}
	
	.latest-post-link {
  		display: flex !important;
    flex-direction: row !important;
	}
}

@media only screen and (max-width: 1024px) {
    .latest-post-link {
        align-items: center;
    }
}

@media only screen and (max-width: 991.98px) {
	.search-pagination {
			margin-top: 0px;
			margin-bottom: 30px;
	}
}

@media only screen and (max-width: 768.98px){
    .custom-search-wrapper {
        flex-direction: row;
    }
	   .latest-post-link {
        align-items: center;
        flex-direction: row;
    }
	.custom-search-results{
		flex: 60%;
	}
	.custom-search-sidebar{
		flex: 40%;
	}
	.latest-post-thumb img{
		width: 60px;
	}
	.latest-post-content h4 {
		font-size: 12px;
	}
	.search-pagination {
    margin-top: 0px;
			margin-bottom: 30px;
	}
}

@media only screen and (max-width: 767.98px){
    .custom-search-wrapper {
        flex-direction: column;
    }
	    .latest-post-content h4 {
        font-size: 14px;
    }
} */


.categories-links a {
    padding: 3px 8px !important;
	border-radius:4px;
}


.tpae-form {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
}

.tpae-form-submit-container {
    display: flex !important;
    justify-content: center !important;
}

.subscribe-btn > button{
	width: 80% !important;
    color: var(--e-global-color-astglobalcolor8) !important;
    background-color: var(--e-global-color-a39e714) !important;
    border-style: none !important;
    border-radius: 4px 4px 4px 4px !important;
}



/* ===== Base Desktop Styles ===== */

h1 {
    font-size: 42px !important;
    line-height: 1.4 !important;
}

h2 {
    font-size: 32px !important;
    line-height: 1.4 !important;
}

h3 {
    font-size: 20px !important;
    line-height: 1.4 !important;
}
h4,h5{
	font-size: 18px !important;
    line-height: 1.3 !important;
}

h1,h2,h3,h4,h5,h6{
        font-family: 'Lexend', sans-serif !important;
}
h6{
	font-size: 16px !important;
	font-family: 'Lexend', sans-serif !important;
	line-height: 1.3 !important;
}
p, li a {
    font-size: 16px !important;
    line-height: 1.6 !important;
    font-family: 'Manrope', sans-serif !important;
}


/* ===== Tablet (<=1024px) ===== */

@media (max-width: 1024px) {
    h1 { font-size: 34px !important; }
    h2 { font-size: 30px !important; }
    h3 { font-size: 20px !important; }
    h4 { font-size: 20px !important; }
    h5 { font-size: 18px !important; }
    h6 { font-size: 16px !important; }

    p, li a {
        font-size: 16px !important;
    }
}


/* ===== Mobile (<=767px) ===== */

@media (max-width: 767px) {
    h1 { font-size: 28px !important; }
    h2 { font-size: 24px !important; }
    h3 { font-size: 20px !important; }
    h4 { font-size: 20px !important; }
    h5 { font-size: 16px !important; }
    h6 { font-size: 16px !important; }

    p, li a {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
}


/* ===== Small Mobile (<=480px) ===== */

@media (max-width: 480px) {
    h1 { font-size: 26px !important; }
    h2 { font-size: 22px !important; }
	
	 p, li a {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
}

.desc p{
	font-size: 18px !important;
    line-height: 2rem !important;
}




.single-blog .offset-left{
	width:100% !important;
}
.single-blog h3{
	font-size:30px !important;
	border-bottom:1px solid #e4e4e7;
}

.single-blog .rt-container-fluid{
	padding:0;
}






/* Base transition */
.e-loop-item a.e-con {
    transition-property: all;
    transition-duration: 0.3s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: none;
}

/* Hover effects */
.e-loop-item:hover a.e-con {
    transform: translateY(-4px); /* equivalent to -translate-y-1 */
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1);
}




/* ===== DESKTOP MEGA MENU ===== */
@media (min-width: 1025px) {

    .header-nav-menu ul.sub-menu {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        gap: 20px;
        padding: 20px;
        min-width: 520px;
			box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1);
    }

    .header-nav-menu .sub-menu {
        opacity: 0;
        visibility: hidden;
        transition: all 0.25s ease;
    }

    .header-nav-menu .menu-item-has-children:hover > .sub-menu {
        opacity: 1;
        visibility: visible;
    }
	
	.single-blog h3{
	font-size:26px !important;
	border-bottom:1px solid #e4e4e7;
}
}



/* ===== TABLET & MOBILE ===== */
@media (max-width: 1024px) {

    .header-nav-menu ul.sub-menu {
        display: block !important;
        min-width: 100% !important;
        padding: 10px 0;
    }

    .header-nav-menu .sub-menu {
        opacity: 0;
        visibility: visible !important;
        transition: none;
    }

    /* Remove hover behavior on touch devices */
    .header-nav-menu .menu-item-has-children:hover > .sub-menu {
        opacity: 1 !important;
        visibility: visible;
    }
	.single-blog h3{
	font-size:22px !important;
	border-bottom:1px solid #e4e4e7;
}
}


@media (max-width: 480px){
	.header-logo{
		width:50%;
	}
	#custom-search-input{
		height:36px !important;
	}
	.single-blog h3{
	font-size:18px !important;
	border-bottom:1px solid #e4e4e7;
}
}


@media (max-width: 544px) {
    .ast-separate-container .ast-article-post,.ast-separate-container .ast-article-single,.ast-separate-container .comments-title,.ast-separate-container .ast-archive-description {
        padding:0 !important;
    }

    .ast-separate-container #content .ast-container {
        padding:0 !important;
    }

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

}

.tpg-el-main-wrapper .post-meta-tags span{
	gap:6px;
}

.asx-blogs-hover-layout a{
	display:block;
}
@media (max-width: 1024px) {
    .asx-blogs-hover-layout h3 {
        font-size: 18px !important;
    }
}


 #primary {
     margin: 0 !important;
    }
/* .margin-none{
	margin:0 !important;
} */
.home-slider{
	margin-top:20px;
}

@media (max-width:880px){
	.tpg-el-main-wrapper .entry-title a{
		display:block !important;
		font-size:16px !important;
	}
	
}

@media (max-width:375px){
	.categort-title-box h2{
		font-size:16px !important;
	}
	
}

.resources{
background-color:var(--e-global-color-1baa91f) !important;
}

.energy{
background-color:var(--e-global-color-1513a93) !important;
}
.health{
background-color:var(--e-global-color-c6ae954) !important;
}


.technology, .tech{
background-color:var(--e-global-color-a209f3f) !important;
}


.economic, .education, .financial, .reviews, .economy, .explainers, .politics, .us-stocks, .uncategorized{
background-color:var(--e-global-color-2af1419) !important;
	color:var(--e-global-color-secondary) !important;
}





.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single, .ast-separate-container .ast-author-box, .ast-separate-container .ast-404-layout-1, .ast-separate-container .no-results{
	padding:0 !important;
}


body .tpg-el-main-wrapper .rt-grid-item{
/* 	padding:0 !important; */
}

.post-recent-news .rt-tpg-container .rt-holder .rt-detail .entry-title-wrapper {
    margin-bottom: 5px !important;
}

.post-recent-news .rt-tpg-container .list-layout1 .rt-holder .tpg-el-image-wrap {
    margin: 0 10px 0 0 !important;
}

.elementor-posts .elementor-post__badge{
	border-radius:4px;
	font-size:14px;
	font-weight:500;
	padding:3px 8px;
	line-height:1.3;
}




.elementor-posts .elementor-post__card .elementor-post__badge, .elementor-posts .elementor-post__card .elementor-post__read-more{
	text-transform:capitalize;
}