/*blog-item-design 1*/

.blog-item-design {
  padding-top: 75%;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.blog-item-design.featured {
  margin-top: -2px;
}

.blog-item-design .blog-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.blog-item-design .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: all 0.6s ease;
}

.blog-item-design:hover .blog-img img {
  transform: scale(1.02);
}

.blog-item-design a {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  z-index: 1;
  transition: all 0.5s ease;
}
.blog-item-design a:hover {
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}
.blog-item-design .blog-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 20px;
  width: 100%;
  z-index: 2;
}
.blog-item-design.featured .blog-content {
  padding: 30px;
}

.blog-item-design .blog-tag {
  margin-bottom: 10px;
}
.blog-item-design .blog-tag span.tag {
  background: var(--header-blue-clr);
  color: #121212;
  border-radius: 2px;
  font-weight: 700;
  padding: 0 10px;
}

.blog-item-design .blog-heading {
  margin-bottom: 10px;
  line-height: 1;
  height: 42px;
  overflow: hidden;
}

.blog-item-design.featured .blog-heading {
  height: auto;
  margin-bottom: 15px;
}

.blog-item-design .blog-heading h2 {
  font-size: 16px;
  line-height: 21px;
  font-weight: bold;
  color: #fff;
  display: inline;
  background-position: 0 85%;
  background-size: 0 1px;
  background-repeat: no-repeat;
  transition: all 0.5s ease;
}

.blog-item-design.featured .blog-heading h2 {
  font-size: 26px;
  line-height: 36px;
}
.blog-item-design .blog-heading h2:hover {
  background-size: 100% 1px;
}
.blog-item-design .blog-description {
  text-transform: uppercase;
  color: #fff;
  font-size: 12px;
}

.blog-item-design .auth-name {
  font-weight: bold;
}

.blog-item-design .post-date:before {
  content: "";
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 10px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 7px;
  margin-left: 7px;
  margin-bottom: 3px;
}

@media (min-width: 769px) and (max-width: 1023px) {
  .blog-item-design .blog-heading h2 {
    font-size: 14px;
    line-height: 18px;
  }
  .blog-item-design .blog-heading {
    margin-bottom: 5px;
    height: 36px;
  }
  .blog-item-design.featured .blog-heading h2 {
    font-size: 20px;
    line-height: 24px;
  }
  .blog-item-design .blog-description {
    font-size: 10px;
  }
}
@media (max-width: 575px) {
  .for-tab-only.columns.is-mobile {
    display: block;
  }
  .for-tab-only.is-mobile .column {
    width: 100% !important;
  }
  .blog-item-design .blog-content {
    padding: 15px !important;
  }
  .blog-item-design.featured .blog-heading h2 {
    font-size: 16px;
    line-height: 21px;
  }
  .blog-item-design.featured .blog-heading {
    height: 42px;
    margin-bottom: 10px;
  }
}

/*Blog Listing Design*/
.blog-main-heading {
  text-transform: uppercase;
  font-size: 21px;
  font-weight: bold;
  padding-left: 12px;
  border-left: 8px solid var(--header-blue-clr);
  line-height: 1.1;
  padding-top: 2px;
}
.blog-list-design .blog-list-img {
  position: relative;
  background: #000;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.blog-list-design .blog-list-img img {
  display: block;
  transition: all 0.3s ease;
  aspect-ratio: 3/2;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-list-design .blog-list-img figcaption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  border: 1px solid #fff;
  padding: 3px 20px;
  color: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
  opacity: 0;
}

.blog-list-design .blog-list-img:hover img {
  opacity: 0.5;
}

.blog-list-design .blog-list-img:hover figcaption {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.blog-list-design .blog-list-content h2 {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 21px;
  line-height: 30px;
  height: 60px;
  overflow: hidden;
  margin-bottom: 10px;
}

.blog-list-design .blog-list-content .tag {
  background: var(--header-blue-clr);
  color: #121212;
  border-radius: 2px;
  font-weight: 700;
}
.blog-list-design .blog-list-content .list-auth-name {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: bold;
  margin-left: 7px;
  color: #767676;
}

.blog-list-design .blog-list-content .list-post-date {
  font-size: 13px;
  color: #767676;
}

.blog-list-design .blog-list-content .list-blog-desc {
  margin-top: 10px;
  font-size: 14px;
  color: #444444;
  line-height: 20px;
  height: 60px;
  overflow: hidden;
}
.load-more a {
  background: var(--cta-button);
  color: #121212;
  transition: all 0.3s ease;
  border: none !important;
}

.load-more a:hover {
  color: #fff !important;
  box-shadow: 0 0 10px -2px rgba(0, 0, 0, 0.5) !important;
}

/*Artical sidebar design*/
.sticky-div {
  position: sticky;
  top: 0;
  height: min-content;
}
.artical-list {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #cdcdcd;
}

.artical-list:last-child {
  margin-bottom: 0;
}
.artical-list .artical-thumb {
  width: 100px;
  height: 100px;
  position: relative;
  margin-right: 15px;
}
.artical-list .artical-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.artical-list .artical-desc .tag {
  background: var(--header-blue-clr);
  border-radius: 2px;
  color: #121212;
  font-weight: 700;
}

.artical-list .artical-short-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 20px;
  font-weight: bold;
  height: 40px;
  overflow: hidden;
}

.artical-list .artical-short-desc a {
  color: #000000;
}
.artical-list .artical-date {
  color: #6a6a6a;
  font-size: 13px;
  margin-top: 10px;
  line-height: 1;
  text-transform: uppercase;
}
