/* Blog Start */
.blog {
  width: 100%;
  background: rgb(248, 248, 248);
  padding: 80px 0;
}

.blog .card_wrapper {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 20px;
}

.blog .card_wrapper .blog_card {
  transition: 0.4s;
}

.blog .card_wrapper .blog_card:hover .image img {
  transform: scale(1.1);
}

.blog .card_wrapper .image {
  width: 100%;
  aspect-ratio: 16 / 14;
  border-radius: 16px;
  overflow: hidden;
}

.blog .card_wrapper .tag {

  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  font-family: var(--secondary-font);
  color: var(--ac-ash);
  background: var(--ac-BG);
  border-radius: 30px;
  padding: 10px 30px;
  border: 1px solid var(--ac-border);
  margin-top: 20px;
}

.blog .card_wrapper .tag .icon {
width: 26px;
height: 26px;
}

.blog .card_wrapper .image img {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  object-fit: cover;
  transition: 0.4s;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
  -o-transition: 0.4s;
}

.blog .card_wrapper .title {
  font-size: 32px;
  font-family: var(--primary-font);
  margin: 20px 0;
  font-weight: bold;
  color: var(--secondary-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.6em * 2);
}

.blog .card_wrapper .desc {
  display: block;
  text-align: left;
  margin: 10px auto;
  font-size: 16px;
  font-family: var(--secondary-font);
  color: var(--ac-ash);
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6em;
  max-height: calc(1.6em * 4);
}

.blog .card_wrapper .read_more_btn {
  display: inline-block;
  font-family: var(--secondary-font);
  font-size: 18px;
  font-weight: 500;
  color: var(--secondary-color);
  background: transparent;
  margin-top: 20px;
  transition: 0.4s;
}

.blog .card_wrapper .read_more_btn svg {
  width: 28px;
  height: 28px;
  transition: 0.4s;
}

.blog .card_wrapper .read_more_btn:hover {
  color: var(--primary-color) !important;
}

.blog .card_wrapper .read_more_btn:hover svg path {
  stroke: var(--primary-color) !important;
}

.blog .card_wrapper .read_more_btn svg path {
  transition: 0.4s;
}

.blog .pagination_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
}

.blog .pagination {
  display: flex;
  align-items: center;
  padding: 0;
}

.blog .pagination li {
  margin: 0 5px;
}

.blog .pagination .link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 54px;
  height: 54px;
  font-size: 18px;
  font-weight: 500;
  font-family: var(--secondary-font);
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: bold;
  background: var(--ac-BG);
  border: 1px solid var(--ac-border);
  border-radius: 8px;
  transition: 0.3s;
}

.blog .pagination .link:hover {
  background: var(--ac-border);
}

.blog .pagination .link i {
  font-size: 26px;
  color: var(--secondary-color);
}

.blog .pagination .active .link {
  background: var(--primary-color);
  color: var(--ac-BG);
}

@media screen and (max-width: 992px) {
  .blog .card_wrapper .title {
    font-size: 24px;
  }

  .blog .card_wrapper {
    grid-template-columns: repeat(1, 1fr);
    gap: 40px 20px;
  }

  .blog .pagination_wrapper {
    justify-content: start;
  }
}

/* Right Side Start */

.blog .search_bar {
  display: flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--ac-border);
  padding: 6px;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

.blog .search_bar input {
  width: 100%;
  border: none;
  font-size: 16px;
  font-family: var(--secondary-font);
  padding: 10px 10px;
  background: transparent;
  color: var(--ac-ash);
  border-radius: 3px;
}

.blog .search_bar .src_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px !important;
  width: 50px !important;
  background: var(--primary-color);
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 100%;
  transition: 0.4s;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
  -o-transition: 0.4s;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  -ms-border-radius: 100%;
  -o-border-radius: 100%;
}

.blog .search_bar .src_btn:hover {
  background: var(--secondary-color);
}

.blog .search_bar .src_btn i {
  font-size: 20px;
  color: var(--ac-BG);
}

.blog .rightside_wrapper .recent_posts .heading {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  font-family: var(--primary-font);
  margin: 40px 0px 30px 0px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--secondary-color);
}

.blog .rightside_wrapper .recent_posts {
  background: var(--ac-20);
  padding: 20px;
  border-radius: 16px;
  overflow: hidden;
}

.blog .rightside_wrapper .post {
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  transition: 0.4s;
}

.blog .rightside_wrapper .post:hover .title {
  background: var(--primary-color);
  background-clip: text;
}

.blog .rightside_wrapper .post img {
  width: 120px;
  height: 100px;
  margin-right: 16px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

.blog .rightside_wrapper .post_info {
  display: inline-flex;
  flex-direction: column;
  justify-content: start;
  gap: 10px;
  transition: 0.4s;
}

.blog .rightside_wrapper .post_info .tag {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--secondary-font);
  color: var(--primary-color);
  background: var(--ac-BG);
  border-radius: 30px;
  padding: 8px 20px;
  border: 1px solid var(--ac-border);
  transition: 0.4s;
}

.blog .rightside_wrapper .post_info .title {
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  font-family: var(--primary-font);
  color: var(--secondary-color);
  background: transparent !important;
  transition: 0.4s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.6em * 2);
}

.blog .rightside_wrapper .tags {
  padding: 20px 20px 40px 20px;
  border-radius: 16px;
  background: var(--ac-20);
  margin-top: 40px;
}

.blog .rightside_wrapper .tags .heading {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  font-family: var(--primary-font);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--secondary-color);
}

.blog .rightside_wrapper .tag_list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.blog .rightside_wrapper .tag_list .item {
  display: inline-block;
  background: var(--primary-color);
  color: var(--ac-BG);
  font-size: 18px;
  font-weight: 500;
  font-family: var(--secondary-font);
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.4s;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

.blog .rightside_wrapper .tag_list .item:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.blog .rightside_wrapper .banner {
  margin-top: 40px;
  position: relative;
  border: 1px solid var(--ac-border);
  border-radius: 16px;
  overflow: hidden;
}

.blog .rightside_wrapper .banner img {
  width: 100%;
  background-position: center;
  object-fit: cover;
  background-size: cover;
}

.blog .rightside_wrapper .banner_text {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.blog .rightside_wrapper .banner_text .get_btn {
  display: inline-block;
  background: var(--primary-color);
  font-size: 17px;
  font-weight: 600;
  color: var(--ac-BG);
  font-family: var(--secondary-font);
  padding: 12px 40px;
  border: none;
  border-radius: 30px;
  margin-top: 30px;
  transition: 0.4s;
}

.blog .rightside_wrapper .get_btn:hover {
  background: var(--ac-BG);
  color: var(--ac-black);
}

.blog .rightside_wrapper .banner_text .text1 {
  font-size: 60px;
  font-family: var(--primary-font);
  font-weight: 900;
  margin-bottom: -14px;
  color: var(--ac-BG);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.6em * 2);
}

.teaser__title {
  position: relative;
  font-size: 60px;
  font-family: var(--primary-font);
  font-weight: 900;
  color: var(--primary-color);
  margin: 0;
}
@supports (-webkit-text-stroke: 2px var(--primary-color)) {
  .teaser__title {
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
  }
}

.blog .search_wrapper.mobile {
  display: none;
}

.blog .search_wrapper.desktop {
  display: block;
}

@media screen and (max-width: 992px) {
  .blog {
    padding-top: 30px;
  }

  .blog .search_wrapper.mobile {
    display: block;
    margin-bottom: 30px;
  }
  .blog .search_wrapper.desktop {
    display: none;
  }

  .blog .rightside_wrapper .banner_text {
    transform: translate(-50%, -30%);
  }

  .teaser__title,
  .blog .rightside_wrapper .banner_text .text1 {
    font-size: 46px;
  }

  .blog .rightside_wrapper .tags .heading,
  .blog .rightside_wrapper .recent_posts .heading {
    font-size: 20px;
  }
  
}
/* Blog End */
