/* PAGE HEADER */

.page-header{
  padding:90px 0 50px;
  background:
  linear-gradient(rgba(15,96,107,.94),rgba(15,96,107,.94));
  color:white;
}

.page-header h1{
  font-weight:800;
  font-size:3rem;
}

.page-header p{
  max-width:700px;
  opacity:.92;
}

/* NEWS CARD */

.news-card{
  border:none;
  border-radius:24px;
  overflow:hidden;
  background:white;
  box-shadow:0 5px 20px rgba(0,0,0,.05);
  transition:.3s;
  height:100%;
}

.news-card:hover{
  transform:translateY(-6px);
}

.news-card img{
  width:100%;
  height:240px;
  object-fit:cover;
}

.news-content{
  padding:28px;
}

.news-meta{
  color:#6c757d;
  font-size:.9rem;
}

.news-meta i{
  color:var(--primary);
}

.news-title{
  font-weight:700;
  margin-top:16px;
  margin-bottom:15px;
  color:#222;
}

.btn-news{
  background:var(--primary);
  color:white;
  border:none;
  font-weight:600;
  border-radius:14px;
  padding:12px 22px;
}

.btn-news:hover{
  background:#ea6f1f;
  color:white;
}

/* SIDEBAR */

.sidebar-box{
  background:white;
  border-radius:24px;
  padding:30px;
  box-shadow:0 5px 20px rgba(0,0,0,.05);
  margin-bottom:30px;
}

.sidebar-title{
  font-weight:700;
  color:var(--secondary);
  margin-bottom:25px;
}

.popular-item{
  display:flex;
  gap:15px;
  margin-bottom:20px;
}

.popular-item:last-child{
  margin-bottom:0;
}

.popular-item img{
  width:90px;
  height:80px;
  object-fit:cover;
  border-radius:16px;
}

.popular-item h6{
  font-size:.95rem;
  font-weight:700;
  margin-bottom:6px;
}

.category-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
  border-bottom:1px solid #eee;
}

.category-item:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.category-item a{
  text-decoration:none;
  color:#333;
  font-weight:600;
}

.category-item span{
  background:rgba(253,128,46,.12);
  color:var(--primary);
  width:34px;
  height:34px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:.8rem;
  font-weight:700;
}

/* PAGINATION */

.pagination .page-link{
  border:none;
  color:var(--secondary);
  border-radius:12px;
  margin:0 5px;
  padding:12px 18px;
  font-weight:600;
}

.pagination .active .page-link{
  background:var(--primary);
  color:white;
}

/* MOBILE */

@media(max-width:768px){

  .page-header{
    text-align:center;
    padding:70px 0 35px;
  }

  .page-header h1{
    font-size:2.2rem;
  }

}