/*
Template Name: Popular News
File: Layout CSS
Author: TemplatesOnWeb
Author URI: https://www.templateonweb.com/
Licence: <a href="https://www.templateonweb.com/license">Website Template Licence</a>
*/

/*********************center_home****************/
.carousel-caption{
	background-color: var(--bg_back);
	bottom:0;
	left:0;
	color:var(--bs-white);
	width:100%;
	padding:15px;
 }
/*********************center_home_end****************/

/*********************news****************/

.news_1_left2_inner2{
	padding-top:30%;
 }
 
.blog_1_inner_1 .icon_1{
	width:35px;
	height:35px;
	line-height:35px;
}
.blog_1_inner_1{
	bottom:0;
}
.blog_1:hover .icon_2{
   display:block!important;
 }
.blog_1:hover .blog_1_inner{
   display:none;
 }
/*********************news_end****************/



@media screen and (max-width : 767px){
.carousel-caption{
	position:static!important;
	background:var(--black);
 }
.carousel-caption .font_60{
	font-size:30px;
 }
.carousel-caption p{
	width:100%!important;
	text-align:left;
 }
.news_1_left2_inner2 {
    position:static!important;
	background:var(--black)!important;
	padding:15px!important;
 }
.blog_1_inner_1 .icon_1 {
    width: 25px;
    height: 25px;
    line-height: 25px;
	font-size:12px!important;
}
.card{
	margin-top:8px; 
	margin-bottom:8px;
 }
.blog_left {
    margin-top:10px;
 }
.news_1_left4_right {
   padding-left:15px;
   padding-right:15px;
   padding-bottom:15px;
 }
 }


@media (min-width:576px) and (max-width:767px) {
.blog_1_inner_top img{
	width:100%; 
 }
.news_1_left4_left img{
   width:100%; 
 }

 }
 
@media (min-width:768px) and (max-width:991px) {
.center_home .font_60{
	font-size:40px;
 }
.center_home img{
	min-height:500px; 
 }
.news_1_left2_inner2 .fs-2{
    font-size:22px!important;
 }
.news_1_left2_inner2 br{
   display:none;
 }
.card{
	margin-top:8px; 
	margin-bottom:8px;
 }
.news_1_left4_left img{
   width:100%; 
 }
.news_1_left4_right {
   padding-left:15px;
   padding-right:15px;
   padding-bottom:15px;
 }
 }

@media (min-width:992px) and (max-width:1200px) {
.center_home .font_60{
	font-size:50px;
 }
.news_1_left4_right {
     padding:10px!important; 
 }
.news_1_left4_right  .fs-4{
    font-size:17px!important;
 }

 }

@media (min-width:1201px) and (max-width:1300px) {

 }
@media (min-width:1400px) and (max-width:2000px) {

 }


/* ===== LATEST NEWS SECTION ===== */

.latest_news_section{
   background:#f5f5f5;
   overflow:hidden; 
}

.latest_hd{
   font-size:38px;
   color:#111;
   position:relative;
   display:inline-block;
}

.latest_hd:after{
   content:'';
   width:80px;
   height:4px;
   background:#f7b500;
   position:absolute;
   left:50%;
   bottom:-12px;
   transform:translateX(-50%);
}

.latest_slider{
   overflow:hidden;
   width:100%;
}

.latest_track{
   display:flex;
   gap:25px;
   width:max-content;
   animation:latestscroll 25s linear infinite;
}

.latest_card{
   width:320px;
   background:#fff;
   border-radius:12px;
   overflow:hidden;
   box-shadow:0 4px 15px rgba(0,0,0,0.15);
   transition:0.3s;
}

.latest_card:hover{
   transform:translateY(-8px);
}

.latest_card img{
   width:100%;
   height:220px;
   object-fit:cover;
}

.latest_content{
   padding:20px;
}

.latest_content h4{
   font-size:22px;
   margin-bottom:10px;
   color:#111;
}

.latest_content p{
   font-size:14px;
   color:#666;
   line-height:1.7;
   margin-bottom:15px; 
}

.latest_slider:hover .latest_track{
   animation-play-state:paused;
}

/* Slider Animation */

@keyframes latestscroll{

   0%{
      transform:translateX(0);
   }

   100%{
      transform:translateX(-50%);
   }
}

