.page-news__bg--top-right{
    top:10%;
}
.page-has-banner .page-news__bg--top-right{
    top:50%;
}
.page-news__bg--bottom-right{
     bottom: 50%;
    right: 0;
}
.page-has-banner .page-news__bg--bottom-right{
     bottom: 10%;
}
.page-insight .page-news__bg--top-right{
    left:0;
    top:25%;
}
.page-insight .page-news__bg--bottom-right{
    right:0;
    bottom:25%;
}

.news__date{
    color:#3E3D3D;
    font-size:12px;
    line-height:18px;
    margin-bottom:1rem;
    margin-top:0.5rem;
}
.news__description h2,
.news__description h3,
.news__description h4,
.news__description h5,
.news__description h6{
    font-size:18px;
    line-height:28px;
}
.news__description a{
    color:var(--mainColor);
    font-weight:bold
}
.news__description img{
    margin:20px 0;
}
.section_newsletter {
    margin-top:2rem !important
}
@media (min-width:992px){
    .newsletter__bg--top-right{
        display:none;
    }
    .page-category-solution .newsletter__bg--top-right{
        display:block;
    }
    .page-category-insight .page-news__bg--top-right{
    bottom:2rem;
    top:auto;
}
.page-news #content{
    padding-right:80px;
}
}
@media (min-width:1500px){
    .news__description,
    .news__des-short{
        font-size:18px;
        line-height:24px;
    }
    .news__description p{
        margin-bottom:20px;
    }
}
@media (max-width:991px){
   .page-news__bg--top-right{
        top:60%;
        max-width:30px;
    }
    .page-insight .newsletter__bg--top-right{
            bottom: 15%;
    top: auto;
    }
    .news__description img{
        margin:1rem 0;
    }
    .news__date{
        margin-bottom:12px;
        font-size:10px;
    }
    .news__des-short{
        margin-bottom:0.5rem;
    }
    .page-news__bg--bottom-right{
        bottom: 0;
          top: 30%;
        bottom: auto;
        max-width: 30px;
    }
}
.panel-table-of-content{
    margin:1rem 0;
}
.panel-table-of-content > a{
        padding: 0;
    height: auto;
    font-size: 18px;
    line-height: 100%;
    color: var(--mainColor);
    margin-bottom:1rem;
    text-decoration:underline;
    display:inline-block;
}
.panel-table-of-content > a p{
    margin:0;
}
#table-of-content > ul{
        padding-left: 0;
}
#table-of-content a{
    position:relative;
}
#table-of-content a:after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #000;
    position: absolute;
}
.newsletter_insight{
    margin-top:0;
    margin-bottom:3rem;
    padding-bottom:0;
}
.newsletter_insight .nl-contact__submit-wrap{
    display:block;
}
.newsletter_insight .nl-contact__terms span{
    max-width:100%;
}
.newsletter_insight .nl-contact__terms:first-child{
    margin-bottom:1rem;
}
.newsletter_insight .nl-contact__form p.error{
    margin-top: -1rem;
    margin-bottom: 1rem !important;
}
/*sticky*/
/* --- Sticky sidebar (desktop) --- */
@media (min-width: 992px) {
  .page-news__body .page__sidebar {
    position: sticky;
    top: var(--sidebar-sticky-top, 24px); /* sẽ được JS cập nhật theo header */
    align-self: flex-start;               /* để sticky làm việc trong flex row */
    will-change: top;
  }
  .panel-table-of-content{
      font-size:18px;
  }
}
@media (max-width:991px){
    /* .panel-table-of-content,.panel-table-of-content > a{*/
    /*    margin-bottom:0.5rem;*/
    /*}*/
    .newsletter_insight{
        margin-bottom:1rem;
    }
}

/* Tránh các ancestor làm hỏng sticky */
.page-news__body .container,
.page-news__body .row,
.page-news__body .page__body {
  overflow: visible;
}

/* Khoảng đệm dưới để cuối cột không dí sát footer khi hết nội dung */
.news__content{
    text-align:justify;
}

/* Mobile/tablet: tắt sticky */
@media (max-width: 991.98px) {
  .page-news__body .page__sidebar {
    position: static;
  }
  .news__content{
        font-size:14px;
    }
    .news__description h2, .news__description h3, .news__description h4, .news__description h5, .news__description h6 {
        font-size: 14px;
        line-height: 24px;
    }
}
@media (max-width:767px){
    .news__content{
        font-size:12px;
    }
    .news__description h2, .news__description h3, .news__description h4, .news__description h5, .news__description h6 {
        font-size: 12px;
        line-height: 24px;
    }
}
.section_news{
    margin-top:2rem;
}
/*insight*/
.page-category-insight__main{
    position:relative;
    margin-bottom:3rem;
}
.page-category-insight__main .news__bg--top-left{
    display:none;
}
.insights__header{
    margin-bottom:2rem;
}
.insights__brand{ margin-right:1rem; }

.insights__desc{
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.6;
  margin:0;
}
.insights__desc p{
    margin:0;
        text-align: justify;
}

/* Chips */
.insights__filters{
  display:flex;
  gap: 24px;
  margin-bottom:2rem;
}

.insights__chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 12px 16px;
  min-height: 50px;
  border-radius: 14px;
  background: #ECECEC;
  font-size: clamp(14px, 1.6vw, 18px);
  color: var(--textColor);
  text-decoration:none;
  transition: all .5s;
  text-transform: capitalize; /* chỉ chữ cái đầu */
}
.insights__chip:hover{
    background:var(--mainColor);
    color:#fff;
}

/* ===== Layout tweaks by viewport ===== */
@media (min-width: 992px){
    .insights__header{
        display:flex; align-items:center;
    }
    .insights__filters{
      justify-content:center;
    }
    .insights__filters{
      flex-wrap: wrap;
    }
    .insights__brand{
        width:200px;
    }
    .insights__desc{
        width: calc(100% - 216px);
    }
}
@media (max-width:991px){
    .insights__chip{
        padding:0.5rem;
    }
    .insights__chip{
        font-size:12px;
    }
    .insights__filters{
        gap:0.5rem;
    }
    .insights__header,
    .page-category-insight__main{
        margin-bottom:1rem;
    }
    .page-category-insight__main{
        position:unset;
    }
    .insights__brand{
        text-align:center;
    }
}
/* Mobile-first centering */
@media (max-width: 767.98px){
    
}

.model__images {
    display: grid
;
    grid-gap: 1rem;
    margin-bottom:2rem;
}
.model__images .model__images-item{
   border-radius: 4px;
    overflow: hidden;
    min-height: 110px;
    object-fit: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding:20px 40px;
    position:relative;
    display:flex;
    align-items:center;
}
.model__images .model__images-item p{
    margin:0;
    font-size:22px;
    color:#fff;
    position:relative;
    z-index:1;
        max-width: 800px;
    text-align: justify;
}
.model__images .model__images-item:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
        background: linear-gradient(90deg, #636363 14.17%, rgb(123 123 123 / 30%) 100%);
    transition:all .5s;
}
.model__images .model__images-item:hover:after{
    background: linear-gradient(270deg, rgba(242, 255, 226, 0.3) -2.51%, #539005 86.86%);   
}

.solution-related{
        display: grid
;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
    margin-top:3rem;
}
.solution-related .solution-related__item{
        background: #ECECEC;
    padding: 6px 12px;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    min-height: 67px;
    display: flex
;
    align-items: center;
    justify-content: center;
}
.solution-related .solution-related__item a{
    color:var(--textColor);
}
.solution-related .solution-related__item:hover{
    background:var(--mainColor);
}
.solution-related .solution-related__item:hover a{
    color:#fff;
}
@media (min-width:1500px){
    .solution-related{
     max-width:70%;
     margin-left:auto;
     margin-right:auto;
    }
    .solution-related .solution-related__item a{
        font-size:18px;
    }
}
@media (max-width:991px){
    .solution-related{
        margin-top:1rem;
    }
    .model__images .model__images-item{
        min-height:80px;
        padding:1rem;
    }
    .model__images .model__images-item p{
        font-size:14px;
    }
    .solution-related{
        grid-gap:12px;
    }
    .solution-related .solution-related__item{
        min-height:42px;
    }
}
@media (max-width:767px){
    .model__images .model__images-item{
        min-height:50px;
        padding:10px;
    
    }
     .model__images .model__images-item p{
           font-size:12px;
    }
     .model__images {
    grid-gap: 10px;
    }
}