.blog-section {
  padding: 10px 0;
  background: transparent linear-gradient(180deg, #fce0c4 0%, #ffffff 9%) 0% 0% no-repeat padding-box;
}

.blog-section .blog_title {
  font-size: 38px;
  font-weight: 800;
  font-family: Cormorant Garamond;
  color: #884200;
  margin: 0 0 30px 0;
}

.blog-section .blog-card:hover .blog_img {
  transform: scale(1.1);
}

.blog-section .blog-card:hover .overlay {
  background: transparent linear-gradient(180deg,
      #00000000 0%,
      #090c144a 38%,
      #1117258b 50%,
      #050910 100%) 0% 0% no-repeat padding-box;
  padding-bottom: 30px;
  height: 100%;
}

.blog-section .common_title .main_title {
  left: 13%;
  background: none;
}

.blog-section .blog-card {
  position: relative;
  width: 100%;
  height: 100%;
  box-shadow: 0px 3px 6px #0000006b;
  overflow: hidden;
  cursor: pointer;
}

.blog-section .blog-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  transition: all 0.5s ease;
}

.blog-section .blog-card:hover .overlay {
  height: 100%;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(9, 12, 20, 0.3) 40%,
      rgba(17, 23, 37, 0.6) 60%,
      rgba(5, 9, 16, 0.95) 100%);

  padding-bottom: 30px;
}

.blog-section .gallery_card .sidebar li * {
  position: relative;
  z-index: 2;
}

.blog-section .gallery_card .sidebar,
.blog-section .gallery_card .sidebar2 {
  width: 90%;
  background: #fce0c4;
}

.blog-section .gallery_card .sidebar h3,
.blog-section .gallery_card .sidebar2 h3 {
  background: #b5793f;
  color: #fff;
  padding: 15px;
  font-size: 16px;
  margin: 0;
  font-weight: 700;
}

.blog-section .gallery_card .sidebar ul,
.blog-section .gallery_card .sidebar2 ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* .blog-section .gallery_card .sidebar li,
.blog-section .gallery_card .sidebar2 li {
  padding: 14px 16px;
  border-bottom: 1px solid #d6b896;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
  color: #343434;
  font-weight: 600;
} */

.blog-section .gallery_card .sidebar li,
.blog-section .gallery_card .sidebar2 li {
  padding: 14px 20px;
  border-bottom: 1px solid #b873324a;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-size: 14px;
  color: #343434;
  font-weight: 700 !important;
  position: relative;
  overflow: hidden;
  z-index: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
word-break: normal;
}

.blog-section .gallery_card .sidebar li:last-child {
  border: none;
}

.blog-section .gallery_card .sidebar ul li.active {
  color: #000;
  font-weight: 600;
}

.blog-section .gallery_card .sidebar li:hover {
  border-left: 5px solid #b87332;
}

.blog-section .gallery_card .sidebar li:hover::before {
  transform: scaleX(1);
}

.blog-section .gallery_card .top-posts ul {
  padding: 0;
}

.blog-section .gallery_card .top-posts .post-item {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 14px 14px 14px 25px;
  border-bottom: 1px solid #b873324a;
}

.blog-section .gallery_card .top-posts .post-item {
  justify-content: flex-start;
}

.blog-section .gallery_card .post-number {
  background: #b87332;
  color: #fce0c4;
  font-weight: bold;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: start;
  justify-content: start;
  flex-shrink: 0;
  font-size: 23px;
  font-family: "Roboto Slab";
}

.blog-section .gallery_card .post-number .number {
  margin: -6px 0 0 4px;
}

/* .blog-section .gallery_card .post-content {
  flex: 1;
} */

.blog-section .gallery_card .post-title {
  margin: 0;
  font-size: 14px;
  color: #2b2b2b;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;

  -webkit-box-orient: vertical;
}

.blog-section .gallery_card .post-date {
  font-size: 12px;
  color: #884200;
  display: block;
  font-family: "Roboto Slab";
  margin-top: 4px;
}

.blog-section .gallery_card .top-posts .post-item:last-child {
  border-bottom: none;
}

.blog-section .sidebar .list_head {
  margin: 10px 15px;
  font-size: 16px;
  color: #222222;
  font-weight: 700;
}

.blog-section .sidebar .list_head p {
  margin-bottom: 0;
}

.blog-section .gallery_card {
  padding-bottom: 30px;
}

.blog-section .blog-card .blog_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  /* smooth zoom */
}

.blog-section .blog-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;

  padding: 20px;
  display: flex;
  align-items: flex-end;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);

  transition: all 0.5s ease;
}

.blog-section .blog-card .overlay h4 {
  color: #fff;
  font-size: 20px;
  margin: 0;
  line-height: 1.4;
  font-family: Cormorant Garamond;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
word-break: normal;
}

.blog-section .gallery_card .sidebar li::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, #f6ece2 0%, #ffffff 100%);
  transform: scaleX(0);
  transform-origin: left;
  /* transition: transform 0.1s ease; */
  z-index: -1;
}

@media (min-width: 0px) and (max-width: 574px) {
  .blog-section {
    padding: 50px 0;
  }

  .blog-section .blog_title {
    font-size: 24px;
  }

  .header_section .top-bar {
    background: transparent;
    border-bottom: none;
    padding: 6px 0;
  }

  .blog-section .sidebar .list_head {
    font-size: 14px;
    margin: 5px 8px;
  }

  .blog-section .gallery_card .sidebar h3,
  .blog-section .gallery_card .sidebar2 h3 {
    font-size: 12px;
  }

  .blog-section .gallery_card .sidebar,
  .blog-section .gallery_card .sidebar2 {
    width: 100%;
    margin-bottom: 20px;
  }

  .blog-section .gallery_card .sidebar li,
  .blog-section .gallery_card .sidebar2 li {
    font-size: 13px;
    padding: 10px;
  }

  .blog-section .gallery_card .top-posts .post-item {
    gap: 8px;
    padding: 10px;
  }

  .blog-section .gallery_card .post-number {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .blog-section .gallery_card .post-title {
    font-size: 13px;
  }

  .blog-section .gallery_card .post-date {
    font-size: 11px;
  }

  .blog-section .blog-card .image_wrapper img {
    height: 100%;
    object-fit: cover;
  }

  .blog-section .blog-card .overlay h4 {
    font-size: 16px;
  }

  .blog-section .row {
    flex-direction: column;
  }

  .blog-section .gallery_card .post-number .number {
    margin: -2px 0 0 4px;
  }

  /* .blog-section .col-lg-6,
  .blog-section .col-md-6 {
    width: 100%;
    
  } */
  .blog-section .pagination-wrapper {
    display: flex;
    justify-content: center;
  }
}

@media (min-width: 575px) and (max-width: 767.98px) {

  .blog-section .gallery_card .sidebar,
  .blog-section .gallery_card .sidebar2 {
    width: 100%;
    background: #e6c9a8;
  }

  .blog-section .blog-card {
    margin-top: 20px;
  }

  .blog-section .blog-card .overlay h4 {
    color: #fff;
    font-size: 16px;
  }

  .blog-section .sidebar .list_head {
    font-size: 15px;
  }

  .blog-section .gallery_card .sidebar li,
  .blog-section .gallery_card .sidebar2 li {
    font-size: 13px;
  }

  .blog-section .gallery_card .post-title {
    font-size: 13px;
  }

  .blog-section .gallery_card .post-date {
    font-size: 10px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {

  .blog-section .gallery_card .sidebar,
  .blog-section .gallery_card .sidebar2 {
    width: 100%;
    background: #e6c9a8;
  }

  .blog-section .blog-card {
    margin-top: 20px;
  }

  .blog-section .blog-card .overlay h4 {
    font-size: 17px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .blog-section .gallery_card .top-posts .post-item {
    padding: 14px 14px 14px 14px;
  }

  .blog-section .gallery_card .post-number {
    width: 25px;
    height: 25px;

    font-size: 20px;
  }
}