.carousel-news{
  overflow: hidden;
  margin-top: 5%;
  margin-bottom: 7%;
}
.content-carousel{
  margin-top: -11%;
  line-height: 170%;
  position: relative;
  z-index: 1000;
}
.content-carousel::before{
content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 99.5%;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
  bottom: -24%;
  padding-bottom: 4.6%;
}
.content-news{
    position: relative;
    z-index: 1;
}
.carousel-news img{
  width: 100%;
}
.right-title-mobile, .swiper-news-mobile{
  display: none;
}
.mySlides-news.active{
  display: block;
}

.dot-news{
  margin-top: -1.5%;
  width: 28%;
  position: relative;
  float: right;
  margin-right: -2%;
}

  .box-title-article{
    margin-top: 1%;
    width: 55%;
    display: block;
  }
.article-title .left-title {
    width: 50%;
  }
  
  .content-title{
    line-height: 142%;
    width: 100%;
  }
  .content-article {
    margin-top: 4%;
    display: flex;
    gap: 5%;
  }
  
  .left-articles {
    width: 50%;
  }
  
  .container-left {
    width: 100%;
  }
  
  .container-left img {
    width: 100%;
  }
  

.link{
    margin-top: 2%;
    display: flex;
    gap: 2%;
  }
  
.tag-media {
    margin-top: 5.7%;
    padding: 0 0% 2%;
    display: flex;
    gap: 5%;
}

.tag-name, .tag-title {
    margin-bottom: 5%;
    font-size: clamp(11px, 1.1vw, 22px);
    font-size: 'Catamaran', sans-serif;
    color: #898885;
    cursor: pointer;
}

.selected {
    padding-bottom: 1%;
    font-weight: 600;
    color: #3A3941;
    border-bottom: 2px solid #ED4F18;
    width: auto;
}
.excerpt-media p{
    margin-left: 7%;
    font-size: clamp(11px, 1.0vw, 21px);
    font-weight: 500;
    color: #898885;
    line-height: 120%;
}
.swiper-pagination-media{
  position: relative;
  z-index: 100;
  text-align: right;
  margin-top: -3%;
  margin-bottom: 10%;
  margin-right: 5%;
}
.news-site {
    margin-top: 4%;
    margin-bottom: 4.5%;
    display: grid;
    grid-template-columns: repeat(3, 31.2%);
    grid-template-rows: auto;
    gap: 4%;
    height: auto;
}
.tags-box{
    display: flex;
    gap: 5%;
    width: 100%;
}
.tag-news{
    margin-left: 7%;
    padding: 2% 0 5%;
    display: flex;
    gap: 4%;
}
.tag-news p{
    font-weight: 500;
    color: #283948;
}
.box-news{
    margin-bottom: 10%;
}
.box-news-home {
  margin-bottom: 7%;
}
.buttons{
  position: relative;
  float: right;
  margin-left: 39.3%;
}
.video{
  margin-top: 9%;
  display: flex;
}
.video-content{
  margin-top: 4%;
  margin-bottom: 10%;
  display: flex;
  gap: 2%;
}
.video-title{
  width: 50%;
}
.video-content-left{
  width: 50%;
  position: relative;
}
.video-content-right{
  width: 50%;
}
.video-right-img{
margin-bottom: 3.3%;
  width: 100%;
  transition: 0.3s ease-in-out;
  object-fit: cover;
} 
.small-btn-play{
  width: 5%;
  position: absolute;
  z-index: 1;
  text-align: center;
  margin-top: 2.5%;
  left: 55.5%;
  opacity: 0;
  transition: 0.3s ease-in-out;
}
.box-video-left:hover .video-right-img {
  transform: scale(1.2);
}

.box-video-left:hover .small-btn-play {
  opacity: 1;
}

.box-video{
  height: 24.5%;
  display: flex;
  gap: 3%;
}
.box-video-left{
  width: 32%;
  overflow: hidden;
  height: 8vw;
}
.box-video-right{
 width: 65%;
}
.video-img{
  position: relative;
  width: 100%;
  transition: 0.3s ease-in-out;
}
.video-content-left-title{
  margin-top: 5%;
}
.box-video-text {
  margin-top: 3%;
}
.thumbnail-image{
    width: 50%;
    height: 30%;
}
.top-article {
  margin-top: 16.2%;
}
.top-media{
    margin-top: 18.2%;
  }
  .author{
    margin-top: 5%;
  }
  .btn-load{
    margin: auto;
    padding: 0.6em 0em 0.6em 0em;
    background-color: #ED4F18;
    text-align: center;
    color: #ffffff;
    width: 10.3%;
    margin-bottom: 6%;
    cursor: pointer;
  }
  .line-page{
    margin-top: -6.3%;
    border: 1px solid #D1D1D1;
  }


.article-title {
    margin-top: -3.5%;
    display: flex;
    gap: 4%;
  }
  
  .article-title .left-title {
    width: 100%;
  }
  
  .article-title .right-title {
    width: 100%;
    margin-left: 2%;
  }
  .content-title{
    line-height: 142%;
    width: 100%;
    cursor: pointer;
  }
  .content-box{
    display: block;
    overflow: hidden;
    }
  .content.active{
    color: #ED4F18;
    .arrow-news img{
      opacity: 1;
    }
  }
  .content-article {
    margin-top: 4%;
    display: flex;
    gap: 2%;
  }
  
  .left-articles {
    width: 50%;
  }
  
  .container-left {
    width: 100%;
  }
  
  .container-left img {
    width: 100%;
    transition: transform 0.3s ease-in-out;
  }
  .container-left:hover img {
    transform: scale(1.1);
  }
  
  .link{
    margin-top: 2%;
    display: flex;
    gap: 2%;
  }
  
  .arrow-news img{
    width: 15%;
    opacity: 0;
  }

  .arrow {
    width: 5%;
    margin-top: 0.5%;
  }
  
  .arrow img{
    width: 40%;
    opacity: 1;
  }
  
  .right-articles {
    width: 47%;
  }
  
  .container-right {
    margin-left: 3%;
    margin-top: -2%;
    width: 100%;
  }
  
  .container-right .content {
    display: flex;
    gap: 2%;
  }
  
  .hr, .hr-food {
    border-bottom: 1px solid #D1D1D1;
    padding: 1.5% 0;
  }
  
  .content .arrow {
    width: 5%;
  }
  
  .content .arrow img {
    width: 100%;
  }
  .arrow-news{
    width: 5%;
    margin-top: 2%;
    margin-left: 3%;
    margin-right: 1%;
  }
  .arrow-news img{
    width: 50%;
  }
  .big-video{
    width: 100%;
    overflow: hidden;
    height: 27.17vw;
  }
  .btn-play{
    width: 15%;
    position: absolute;
    z-index: 1;
    text-align: center;
    margin-top: 25%;
    left: 45%;
    opacity: 0;
    transition: 0.3s ease-in-out;
  }
  .big-video:hover .video-img{
    transform: scale(1.2);
  }
  .big-video:hover .btn-play{
    opacity: 1;
  }
  
  /* hr{
    margin: 5% 0%;
    width: 100%;
    background-color: #D1D1D1;
    opacity: 20%;
  } */
  
  @media (min-width: 640px) and (max-width: 1024px){
      .line-page {
  margin-top: -6.34%;
  border: 1px solid #D1D1D1;
}
.content-carousel::before{
  padding-bottom: 4.1%;
}

  }

@media(min-width: 360px) and (max-width: 640px){
  .content-carousel::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 99.5%;
    background-image: none;
    bottom: -24%;
    padding-bottom: 4.6%;
  }
  .video-content{
    flex-direction: column;
    margin-bottom: 40.2%;
  }
  .hr-food {
  margin-bottom: 8%;
  margin-top: -2%;
}
  .buttons{
    display: none;
  }
  .content-article{
    flex-direction: column;
  }
  .video-content-left, .video-content-right{
    width: 100% ;
  }
  .content-carousel, .top-article{
    margin-top: 0;
  }
  .video-right-img{
    height: 18vw;
  }
  .video-content-right{
    margin-top: 10%;
  }
  .box-video{
    flex-direction: row-reverse;
  }
  .video-title, .box-title-article,.left-articles, .right-articles{
    width: 100%;
  }

  .right-articles{
    margin: 5% 0;
  }
  .container-right{
     margin-left: 0;    
  }
  .link, .arrow-news, .right-title{
    display: none;
  }
  .content.active{
    color: #000000;
  }
  .btn-load{
    width: 29.3%;
  }
  .news-site{
    grid-template-columns: repeat(1, 100%);
    gap: 0;
  }
  .box-news a{
    display: flex;
    flex-direction: row-reverse;
  }
  .ni-page, .box-news-content{
    width: 50%;
  }
  #btn-more-container{
    margin-top: 10%;
  }
  
  .content-carousel p{
    color: #283948;
  }
  .carousel-news img{
    width: 120%;
    margin-left: -10%;
  }
  .dot-news{
    float: none;
    width: 50%;
  }
  .right-title-mobile{
    margin: 17% 0 5% 0;
    display: block;
  }
  .tag-media{
    margin-top: 17.7%;
    margin-bottom: -7.5%;
  }
  .video{
    margin-top: 30%;
  }
  .swiper-news-mobile{
    margin-top: 5%;
    overflow: hidden;
    display: block;
  }
  .article-title{
    margin-top: 7%;
  }
  .swiper-pagination-media{
    text-align: center;
    margin-top: 5%;
    z-index: 0;
  }
  .container-left:hover img {
    transform: none;
  }
  .container-left img {
    width: 100%;
    transition: none;
  }
  .big-video{
    height: 63.2vw;
  }
  .box-video-left{
    height: 20vw;
  }
  .small-btn-play {
    width: 8.5%;
    position: absolute;
    z-index: 1;
    text-align: center;
    margin-top: 5.5%;
    left: 75.5%;
    opacity: 0;
    transition: 0.3s ease-in-out;
  }
  .content-news a {
    color: black;
  }
}