/*
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:5%;
	height:400px !important;
 }
 
.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:absolute!important;
	left:0;
	right:0;
	top:0;
	bottom:0;
	display:flex!important;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	background:transparent;
	padding:20px 28px;
 }
.carousel-caption .font_60{
	font-size:38px;
	line-height:1.2;
 }
.carousel-caption p{
	width:85%!important;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
	font-size:15px;
	line-height:1.7;
 }
.carousel-caption .button{
	padding:12px 28px;
	font-size:11px;
}
.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%);
   }
}

.center_home{
   overflow:hidden;
}

.center_home iframe{
   width:100%;
   aspect-ratio:16 / 9;
   height:auto;
}

.center_home .carousel-item img,
.news_1_left2_inner1 img,
.blog_1_inner_top img,
.news_1_left4_left img{
   width:100%;
   object-fit:cover;
}

.center_home .carousel-item img{
   min-height:355px;
}

.news_1_left2_inner1 img{
   height:400px;
}

.latest_card img{
   display:block;
}

@media screen and (max-width : 767px){
#center > div[style*="float:left"],
#center > div[style*="float:right"]{
   float:none!important;
   width:100%!important;
   padding:0!important;
}
#center > div[style*="float:right"]{
   margin-top:5px;
   margin-bottom:5px;
}
.center_home .carousel-item,
.center_home .carousel-item[style]{
   height:355px!important;
}
.center_home .carousel-inner{
   height:355px!important;
}
.center_home .carousel-item img{
   min-height:355px;
   height:100%;
   object-fit:cover;
}
.center_home iframe{
   display:block;
}
.download-box{
   padding:18px 15px!important;
   border-radius:12px!important;
}
.news_1_left > .col-md-8,
.news_1_left > .col-md-4{
   float:none!important;
   width:100%!important;
   padding-left:0!important;
   padding-right:0!important;
}
.news_1_left2 .carousel-inner,
.news_1_left2 .carousel-inner[style],
.news_1_left2_inner1{
   height:auto!important;
}
.news_1_left2_inner1 img{
   height:auto;
}
.news_1_left2_inner2 .fs-2{
   font-size:20px!important;
   line-height:1.35;
}
.news_1_left2_inner2{
   min-height:auto;
}
.news_1_right1 ul{
   flex-wrap:wrap;
   justify-content:center!important;
   gap:8px;
}
.news_1_right1 ul li{
   padding:0!important;
}
.latest_hd{
   font-size:26px;
}
.latest_track{
   gap:15px;
   animation-duration:35s;
}
.latest_card{
   width:260px;
}
.latest_card img{
   height:170px;
}
.latest_content{
   padding:15px;
}
.latest_content h4{
   font-size:18px;
}
}

@media (min-width:768px) and (max-width:991px) {
.center_home iframe{
   height:auto;
}
.news_1_left > .col-md-8,
.news_1_left > .col-md-4{
   float:none!important;
   width:100%!important;
   padding-left:0!important;
}
.news_1_left > .col-md-4{
   margin-top:20px;
}
.news_1_left2_inner1 img{
   height:360px;
}
.latest_card{
   width:280px;
}
}

@media screen and (max-width : 767px){
#center.center_home .home-main-carousel,
#center.center_home .home-main-carousel .carousel-inner,
#center.center_home .home-main-carousel .carousel-item{
   height:500px!important;
   min-height:500px!important;
   overflow:hidden;
}
#center.center_home .home-main-carousel .carousel-item[style]{
   height:500px!important;
}
#center.center_home .home-main-carousel .carousel-item img{
   position:absolute;
   inset:0;
   display:block;
   width:100%;
   height:500px!important;
   min-height:500px;
   object-fit:cover;
}
#center.center_home .home-main-carousel .home-carousel-caption{
   position:absolute!important;
   inset:0!important;
   z-index:2;
   display:flex!important;
   flex-direction:column;
   align-items:center;
   justify-content:center;
   width:100%!important;
   height:100%!important;
   min-height:500px!important;
   padding:18px 28px!important;
   background:transparent!important;
   color:var(--bs-white);
   text-align:center!important;
   transform:none!important;
   overflow:hidden;
}
#center.center_home .home-main-carousel .home-carousel-caption .font_60{
   font-size:38px!important;
   line-height:1.15;
   margin-bottom:18px!important;
}
#center.center_home .home-main-carousel .home-carousel-caption p{
   width:86%!important;
   max-width:420px;
   margin:0 auto 18px!important;
   font-size:15px;
   line-height:1.7;
   text-align:center!important;
}
#center.center_home .home-main-carousel .home-carousel-caption h6{
   margin-top:0!important;
}
#center.center_home .home-main-carousel .home-carousel-caption .button{
   padding:12px 28px;
}
#center.center_home .home-main-carousel .carousel-control-prev,
#center.center_home .home-main-carousel .carousel-control-next{
   z-index:3;
}

#news .news_1_left2 .carousel,
#news .news_1_left2 .carousel-inner,
#news .news_1_left2 .carousel-item,
#news .news_1_left2_inner{
   height:400px!important;
   min-height:400px!important;
   overflow:hidden;
}
#news .news_1_left2 .carousel-inner[style]{
   height:400px!important;
}
#news .news_1_left2_inner1{
   position:absolute;
   inset:0;
   height:400px!important;
}
#news .news_1_left2_inner1 img{
   display:block;
   width:100%;
   height:400px!important;
   min-height:400px;
   object-fit:cover;
}
#news .news_1_left2_inner2{
   position:absolute!important;
   inset:0!important;
   z-index:2;
   display:flex;
   align-items:center;
   width:100%!important;
   height:100%!important;
   min-height:400px!important;
   padding:24px!important;
   background:var(--bg_back)!important;
}
#news .news_1_left2_inner2 ul,
#news .news_1_left2_inner2 li{
   width:100%;
}
#news .news_1_left2_inner2 .fs-2{
   font-size:24px!important;
   line-height:1.3;
}
#news .news_1_left2_inner2 br{
   display:none;
}
#news .news_1_left2 .carousel-indicators{
   z-index:3;
}
}

