body{
  background-color:#fefaf4
}
.featured-banner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:linear-gradient(to left,#007bff,#0056b3);
  color:#fff;
  margin-bottom:1.5rem;
  padding:.75rem 1rem;
  border-radius:.5rem;
  transition:box-shadow .3s ease,transform .3s ease;
  text-decoration:none;
  cursor:pointer;
  min-height:60px;
  overflow:hidden
}
.featured-banner:hover{
  box-shadow:0 8px 20px rgba(0,0,0,.15);
  transform:translateY(-2px);
  color:#0cf
}
.featured-banner .title-wrapper{
  display:flex;
  align-items:center;
  gap:.5rem;
  flex:1;
  min-width:0;
  overflow:hidden
}
.featured-title{
  flex:1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-weight:500;
  font-size:clamp(11px,2vw,17px);
  pointer-events:none
}
.featured-banner strong{
  font-size:clamp(11px,1.8vw,16px);
  font-weight:600;
  pointer-events:none
}
.featured-banner i{
  font-size:1.2rem;
  flex-shrink:0;
  pointer-events:none
}

.badge-contrast {
  background-color: #007bff; /* لون أزرق واضح */
  color: #fff;               /* نص أبيض */
  font-weight: 600;
  padding: .4em .65em;
  border-radius: .5rem;
  font-size: .85rem;
}

@media (max-width:480px){
  .featured-title{
      font-size:clamp(10px,3vw,14px)
  }
  .featured-banner strong{
      font-size:clamp(10px,2.5vw,14px)
  }
}
.section-title{
  font-size:1.6rem;
  font-weight:700;
  color:#007bff;
  border-bottom:2px solid #007bff;
  display:inline-block;
  padding-bottom:.3rem;
  margin-bottom:1.5rem
}
.article-list-item{
  transition:background .3s ease,transform .3s ease,box-shadow .3s ease;
  padding:1rem;
  border-radius:.5rem;
  background-color:#fff
}
.article-list-item:hover{
  background:#f8f9fa;
  transform:scale(1.01);
  box-shadow:0 0 15px rgba(13,110,253,.2)
}
.article-thumbnail{
  flex-shrink:0;
  width:200px;
  height:120px;
  overflow:hidden;
  background-color:#eaeaea;
  border-radius:.5rem;
  margin-inline-end:1rem
}
.article-thumbnail img{
  width:100%;
  height:100%;
  object-fit:cover
}
.article-title{
  font-size:1.2rem;
  line-height:1.4;
  margin-bottom:.4rem
}
.article-excerpt{
  font-size:.95rem;
  line-height:1.5;
  margin-bottom:.5rem
}
@media (max-width:768px){
  .article-thumbnail{
      width:100%;
      height:160px;
      margin-bottom:1rem
  }
  .article-title{
      font-size:1rem
  }
  .article-excerpt{
      font-size:.9rem
  }
}
.most-viewed-card{
  background-color:#fff3f3;
  border:1px solid #ffcdd2;
  border-radius:.75rem;
  padding:1rem;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transition:transform .3s ease,box-shadow .3s ease;
  box-shadow:0 0 10px rgba(220,53,69,.08)
}
.most-viewed-card:hover{
  background-color:#ffeaea;
  transform:translateY(-2px);
  box-shadow:0 0 15px rgba(220,53,69,.15)
}
.most-viewed-card .fw-bold{
  color:#dc3545;
  font-size:1.1rem;
  line-height:1.4;
  min-height:3.3rem;
  overflow:hidden
}
.most-viewed-card p{
  min-height:3.6rem;
  overflow:hidden;
  margin-bottom:1rem
}
.most-viewed-card .badge{
  font-size:.8rem;
  padding:.4em .6em;
  background-color:#dc3545;
  color:#fff
}
@media (max-width:768px){
  .most-viewed-card{
      text-align:center
  }
  .most-viewed-card .d-flex{
      align-items:center;
      flex-direction:column
  }
}
.article-content .btn-outline-primary{
  font-weight:600;
  font-size:.85rem;
  border-radius:.375rem;
  padding:.35rem .8rem;
  transition:background-color .3s ease,color .3s ease
}
.article-content .btn-outline-primary:hover{
  background-color:#007bff;
  color:#fff
}
.article-list-item{
  position:relative
}
