/* استایل ویجت تب‌بندی اخبار */

.news-tabs {
  font-family: inherit;
  direction: rtl;
}

.news-tabs .tabs {
  display: flex;
  margin-bottom: 15px;
  list-style: none;
  padding: 0;
}

.news-tabs .tab {
  padding: 8px 16px;
  background-color: #000;
  color: #fff;
  border-radius: 5px;
  margin-left: 10px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 15px;
}

.news-tabs .tab.active {
  background-color: red;
  color: #fff;
}

.news-tabs .tab-content {
  display: none;
}

.news-tabs .tab-content.active {
  display: block;
}

.news-tabs .news-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
}

.news-tabs .news-item .thumb {
  flex: 0 0 140px;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
}

.news-tabs .news-item .thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 7px;
}

.news-tabs .news-item .thumb .icon-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background-size: cover;
  background-repeat: no-repeat;
}

.news-tabs .news-item .content {
  flex: 1;
}

.news-tabs .news-item .rotitr {
  color: #999;
  font-size: 14px;
  margin-bottom: 5px;
}

.news-tabs .news-item h3 {
  font-size: 18px;
  margin: 0 0 6px;
  color: #333;
}

.news-tabs .news-item p {
  margin: 0;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  max-width: 90%;
}
