.blog-first-bg {
  background: url("../img/bg/blog-bg.png") no-repeat;
  padding: 20px 0 112px;
  background-size: cover;
}

.flex-none {
  flex: none !important;
}
.blog-tabs {
  margin: 57px 0 0 0;
}
.blog-tabs .nav-link {
  border: none;
  font-family: "Cabin", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  color: #323a44;
  opacity: 0.7;
  text-align: start;
  position: relative;
}
.blog-tabs .nav-tabs {
  border: none;
  margin-bottom: 55px;
}
.blog-tabs .nav-link.active {
  font-weight: bold;
  color: #212529;
  opacity: 1;
  text-align: start;
}
[dir="rtl"] .blog-tabs .nav-link.active {
  text-align: right;
}
.blog-tabs .nav-link.active::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: #e71818;
  margin-top: 11px;
  position: absolute;
  left: 0;
  top: 100%;
}
.tab-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.tab-article {
  width: 24%;
  margin-bottom: 56px;
}
.tab-article img {
  width: 100%;
  height: 177px;
  background-size: cover;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}
.tab-article__title,
.page-template-page-leaders .tab-article__description {
  font-family: "Cabin", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0.16em;
  color: #000000;
  margin-bottom: 25px;
  position: relative;
}
.tab-article__title .line {
  position: absolute;
  display: block;
  height: 1px;
  width: 47%;
  background: #5cbf1a;
  border-radius: 2px;
  margin-top: 7px;
}
.tab-article__description,
.page-template-page-leaders .tab-article__title {
  font-family: "Fjalla One", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 32px;
  color: #000000;
}
[dir="rtl"] .tab-article__description {
  text-align: right;
  font-weight: bold;
}
.show-more {
  background: transparent;
  padding: 16px 32px;
  font-family: "Fjalla One", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 20px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #212529;
  order: 0;
  margin: auto;
  outline: none;
  border: none;
  background: #fce101;
  border-radius: 4px;
}

.show-all {
  background: transparent;
  padding: 16px 32px;
  font-family: "Fjalla One", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 20px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #212529;
  order: 0;
  margin: auto;
  outline: none;
  background: #fce101;
  border-radius: 4px;
  border: none;
}
.show-more:focus,
.show-all:focus {
  outline: none;
}
/* SINGLE BLOG PAGE */

.single-blog-tabs ul li {
  list-style-type: none;
}
.single-block-main-tab-img a {
  display: block !important;
}
.single-block-main-tab-img,
.single-block-main-tab-img a {
  position: relative;
}
.single-block-main-tab-img img {
  width: 100%;
  min-height: 328px !important;
  max-height: 328px !important;
  border-radius: 8px;
}
.single-block-main-tab-img h6 {
  position: absolute;
  bottom: 45px;
  font-family: "Cabin", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 24px;
  line-height: 32px;
  color: #ffffff;
  padding: 0 25px 0;
}
.single-block-imgs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.single-block-imgs div {
  height: 178px;
  width: 48% !important;
  background-size: cover;
  position: relative;
}
.single-block-imgs div:nth-child(3),
.single-block-imgs div:nth-child(4) {
  margin-top: auto;
}
.single-block-imgs div img {
  max-height: 150px;
  min-height: 150px;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}
.single-block-imgs div h6 {
  bottom: 21px;
  position: absolute;
  font-family: "Cabin", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 22px;
  color: #ffffff;
  padding: 0 15px 0 20px;
  margin-bottom: 0;
}
.single-block-mobile {
  display: none;
  justify-content: space-between;
  flex-wrap: wrap;
}
.single-block-mobile div {
  width: 48%;
  margin-bottom: 25px;
}
.single-block-mobile img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 7px;
}
.single-block-mobile h6 {
  font-family: "Cabin", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 20px;
  color: #000000;
}

@media screen and (max-width: 992px) {
  .blog-tabs .nav-link.active::after {
    width: auto;
  }
  .tab-article {
    width: 45%;
  }
  .blog-first-bg {
    padding: 32px 0 74px;
  }
  .single-block-desktop {
    display: none;
  }
  .single-block-mobile {
    display: flex;
  }
  .content-wrapper-social {
    margin-bottom: 30px;
  }
  .show-more {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 767px) {
  .blog-tabs.blog-page-tabs .nav-tabs {
    display: flex !important;
  }
  .blog-tabs.blog-page-tabs .container {
    padding: 0 !important;
  }
  .blog-tabs .nav-link.active::after {
    position: absolute;
    content: "";
    height: 1px;
    background: red;
    width: 100%;
    bottom: 0;
    left: 0;
    -webkit-transition: width 0.5s ease-in-out;
    -o-transition: width 0.5s ease-in-out;
    transition: width 0.5s ease-in-out;
    margin-top: 0 !important;
  }
}
@media screen and (max-width: 576px) {
  .justify-content-mob {
    justify-content: space-between !important;
  }
}
@media screen and (max-width: 450px) {
  .tab-article img {
    height: 125px;
  }
}
/* mobile style*/
@media screen and (max-width: 420px) {
  .tab-article img {
    height: 90px;
  }
}
