.weblabs-blog-sidebar{
  --wbbs-bg: transparent;
  --wbbs-item-bg: #f1f1ef;
  --wbbs-item-border: rgba(0,0,0,0);

  --wbbs-header-title: #0d3943;
  --wbbs-header-desc: #3f5d64;
  --wbbs-header-line: #0d3943;
  --wbbs-accent: #c9b16a;

  --wbbs-search-input-bg: #ffffff;
  --wbbs-search-input-text: #333333;
  --wbbs-search-placeholder: #a1a8ab;
  --wbbs-search-border: #d4d8da;
  --wbbs-search-icon: #5b5b5b;
  --wbbs-search-btn-bg: #0d3943;
  --wbbs-search-btn-color: #ffffff;

  --wbbs-post-title: #0d3943;
  --wbbs-post-excerpt: #667a82;
  --wbbs-meta: #6f838a;
  --wbbs-meta-icon: #6f838a;

  --wbbs-readmore-bg: #0d3943;
  --wbbs-readmore-color: #ffffff;

  --wbbs-bottom-btn-bg: #f1f1ef;
  --wbbs-bottom-btn-color: #0d3943;

  --wbbs-items-gap: 18px;
  --wbbs-thumb-width: 88px;
  --wbbs-thumb-height: 88px;
  --wbbs-thumb-gap: 14px;
  --wbbs-search-height: 46px;
  --wbbs-search-gap: 10px;
  --wbbs-title-excerpt-gap: 10px;
  --wbbs-excerpt-meta-gap: 14px;
  --wbbs-meta-gap: 12px;
  --wbbs-readmore-size: 42px;
  --wbbs-bottom-btn-height: 54px;
  --wbbs-bottom-btn-gap: 10px;
  --wbbs-excerpt-lines: 3;
  --wbbs-title-lines: 2;

  width: 100%;
  background: var(--wbbs-bg);
  box-sizing: border-box;
  position: relative;
}

.weblabs-blog-sidebar *,
.weblabs-blog-sidebar *::before,
.weblabs-blog-sidebar *::after{
  box-sizing: border-box;
}

.weblabs-blog-sidebar__head{
display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    justify-content: space-between;
}

.weblabs-blog-sidebar__head-main{
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
}

.weblabs-blog-sidebar__bar {
    width: 100px;
    height: 16px;
    background: var( --wbbs-accent);
    margin-top: 6px;
    flex: 0 0 auto;
}

.weblabs-blog-sidebar__title{
  margin: 0;
  color: var(--wbbs-header-title);
  line-height: 1.3;
  text-align: right;
}

.weblabs-blog-sidebar__title-line{
  width: 38px;
  height: 2px;
  background: var(--wbbs-header-line);
  display: block;
}

.weblabs-blog-sidebar__description{
  margin: 0;
  color: var(--wbbs-header-desc);
  line-height: 1.8;
  text-align: right;
}

.weblabs-blog-sidebar__search{
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: var(--wbbs-search-gap);
  direction: ltr;
  margin-bottom: 18px;
}

.weblabs-blog-sidebar__search-btn{
  min-width: 84px;
  height: var(--wbbs-search-height);
  border: 0;
  background: var(--wbbs-search-btn-bg);
  color: var(--wbbs-search-btn-color);
  cursor: pointer;
  transition: .25s ease;
}

.weblabs-blog-sidebar__search-btn:hover{
  transform: translateY(-1px);
}

.weblabs-blog-sidebar__search-field{
  position: relative;
  height: var(--wbbs-search-height);
  border: 1px solid var(--wbbs-search-border);
  background: var(--wbbs-search-input-bg);
  display: flex;
  align-items: center;
  padding: 0 14px;
  direction: rtl;
}

.weblabs-blog-sidebar__search-input{
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--wbbs-search-input-text);
  outline: none;
  padding: 0 0 0 28px;
}

.weblabs-blog-sidebar__search-input::placeholder{
  color: var(--wbbs-search-placeholder);
}

.weblabs-blog-sidebar__search-icon{
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--wbbs-search-icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.weblabs-blog-sidebar__list{
  display: flex;
  flex-direction: column;
  gap: var(--wbbs-items-gap);
}

.weblabs-blog-sidebar__post{
  background: var(--wbbs-item-bg);
  border: 1px solid var(--wbbs-item-border);
  overflow: hidden;
}

.weblabs-blog-sidebar__post-top{
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--wbbs-thumb-width);
  gap: var(--wbbs-thumb-gap);
  direction: ltr;
  align-items: start;
}

.weblabs-blog-sidebar__thumb{
  width: var(--wbbs-thumb-width);
  height: var(--wbbs-thumb-height);
  display: block;
  overflow: hidden;
  background: #dfe4e7;
  flex-shrink: 0;
}

.weblabs-blog-sidebar__thumb img,
.weblabs-blog-sidebar__thumb-placeholder{
  width: 100%;
  height: 100%;
  display: block;
}

.weblabs-blog-sidebar__thumb img{
  object-fit: cover;
}

.weblabs-blog-sidebar__thumb-placeholder{
  background: linear-gradient(135deg, rgba(13,57,67,.10), rgba(13,57,67,.04));
}

.weblabs-blog-sidebar__content{
  min-width: 0;
  direction: rtl;
  text-align: right;
}

.weblabs-blog-sidebar__post-title{
  margin: 0 0 var(--wbbs-title-excerpt-gap);
  color: var(--wbbs-post-title);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: var(--wbbs-title-lines);
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.weblabs-blog-sidebar__post-title a{
  color: inherit;
  text-decoration: none;
}

.weblabs-blog-sidebar__excerpt{
  color: var(--wbbs-post-excerpt);
  line-height: 1.95;
  display: -webkit-box;
  -webkit-line-clamp: var(--wbbs-excerpt-lines);
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--wbbs-excerpt-meta-gap);
}

.weblabs-blog-sidebar__post-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wbbs-meta-gap);
  direction: ltr;
  margin-top: auto;
}

.weblabs-blog-sidebar__meta{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wbbs-meta);
  min-width: 0;
  line-height: 1.5;
  direction: rtl;
}

.weblabs-blog-sidebar__meta svg{
  color: var(--wbbs-meta-icon);
  flex-shrink: 0;
}

.weblabs-blog-sidebar__meta span{
  direction: rtl;
  unicode-bidi: isolate;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.weblabs-blog-sidebar__readmore{
  width: var(--wbbs-readmore-size);
  height: var(--wbbs-readmore-size);
  min-width: var(--wbbs-readmore-size);
  background: var(--wbbs-readmore-bg);
  color: var(--wbbs-readmore-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: .25s ease;
}

.weblabs-blog-sidebar__readmore:hover{
  transform: translateY(-1px);
}

.weblabs-blog-sidebar__empty{
  background: var(--wbbs-item-bg);
  color: var(--wbbs-post-excerpt);
  text-align: center;
  line-height: 1.9;
  padding: 18px;
}

.weblabs-blog-sidebar__bottom-btn{
  margin-top: 18px;
  width: 100%;
  min-height: var(--wbbs-bottom-btn-height);
  background: var(--wbbs-bottom-btn-bg);
  color: var(--wbbs-bottom-btn-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--wbbs-bottom-btn-gap);
  transition: .25s ease;
}

.weblabs-blog-sidebar__bottom-btn:hover{
  transform: translateY(-1px);
}

@media (max-width: 767px){
  .weblabs-blog-sidebar__search{
    grid-template-columns: 1fr;
  }

  .weblabs-blog-sidebar__search-btn{
    min-width: 100%;
  }
}

@media (max-width: 480px){
  .weblabs-blog-sidebar__post-top{
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 12px;
  }

  .weblabs-blog-sidebar{
    --wbbs-thumb-width: 72px;
    --wbbs-thumb-height: 72px;
  }

  .weblabs-blog-sidebar__post-bottom{
    flex-wrap: wrap;
  }

  .weblabs-blog-sidebar__meta{
    flex: 1 1 auto;
  }
}