/*======= Blog page =======*/
.master-slider {
  height: 321px;
  overflow: hidden;
  border-radius: 10px;
}
@media (min-width: 1200px) {
  .master-slider {
    height: 400px;
  }
}
@media (max-width: 991px) {
  .master-slider {
    height: 251px;
  }
}
@media (max-width: 768px) {
  .master-slider {
    width: 100%;
    height: auto;
  }
}
 .master-slider img {
  width: 100%;
  border-radius: 10px;
}
.master-slider .slick-dots {
  position: absolute;
  bottom: 15px;
}

.master-slider .slick-dots button::before {
  font-size: 11px;
  opacity: 1;
  color: var(--white);
}
.master-slider .slick-dots .slick-active button::before {
  opacity: 1;
  color: var(--main);
}

.blog-section {
    padding-top: 15px;
    height: auto;
    background-color: transparent;
    text-align: left;
  }
  .blog-section .pages {
    text-align: center;
  }
  .news-list {
    width: calc(100% - 315px);
    margin-right: 15px;
    float: left;
  }
  .blog-section .items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
  }
  @media (max-width: 768px) {
     .news-list {
      float: none;
      width: 100%;
    }
  }
   .news-list h2 {
    margin: 0 0 20px 0;
  }
  .news-item {
    width: calc(50% - 5px);
    margin-bottom: 10px;
    border: 1px solid var(--border);
    background-color: var(--block_background);
    padding: 7px;
    border-radius: var(--block_radius);
  }
  
   .news-image {
    transition: 0.6s ease-in-out;
    display: block;
    margin-bottom: 10px;
    width: 100%;
    height: 200px !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 105%;
    border-radius: 7px;
  }
  @media(max-width: 991px){
    .news-image {
      height: 176px !important;
    }
  }
  @media(max-width: 480px){
    .news-image {
      height: 145px !important;
    }
  }
  .news-image:hover {
    background-size: 110%;
  } 
   .category-box {
    padding-top: 7px;
    overflow: hidden;
    padding-left: 3px;
    display: flex;
    flex-direction: column;
  }
    .category-wrapper{
    display: flex;
    align-items: center;
  }

   .category-box a.category {
    color: var(--main);
    font-size: 12px;
    float: left;
    font-weight: bold;
  }
   .category-box span {
    display: block;
    font-size: 12px;
    color: var(--secondary_text);
    font-weight: 400;
    font-style: normal;
    float: left;
    margin-right: 13px;
    line-height: 20px;
  }
 
  .news-item h2 {
    margin: 5px 0 0 3px;
    padding-bottom: 0;
    min-height: 32px;
    line-height: 16px;
    font-size: 14px;
    font-weight: 700;
    word-wrap: break-word;
    margin-top: 0;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    display: -webkit-box;
    border: none;
    padding-bottom: 7px;
  }
   .news-item h2 a {
    color: var(--main_text);
  }
  .news-item h2.no-header {
    line-height: 16px;
    height: 34px;
  }
  
  .blog-section .menu-side {
    width: 300px;
    float: right;
  }
  @media (max-width: 768px) {
    .blog-section .menu-side {
      float: none;
      width: 100%;
      margin-bottom: 15px;
    }
  }
  .blog-section .search-box {
    width: 100%;
    height: 40px;
    margin-bottom: 15px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    background-color: var(--white);
  } 
   .blog-section  .search-box input {
    border: none;
    outline: 0;
    height: 38px;
    display: block;
    float: left;
    padding-left: 10px;
    width: calc(100% - 35px);
    font-size: 13px;
    font-weight: 400;
    font-style: normal;
    white-space: nowrap;
    overflow: hidden;
  }
  .blog-section .search-box button {
    outline: 0;
    height: 39px;
    float: right;
    border: none;
    background-color: var(--white);
    background: 0 0;
    padding: 0 10px;
    font-size: 16px;
    color: var(--main);
    font-weight: 700;
    font-style: normal;
  }
  .blog-section .menu-box {
    border-radius: var(--block_radius);
    border: 1px solid var(--main);
    background-color: var(--block_background);
    margin-bottom: 30px;
  }
  @media (max-width:768px){
    .blog-section .menu-box{
      border-radius: 20px;
    }
  }
  .blog-section h6 {
    display: block;
    background-color: var(--main);
    width: 100.5%;
    margin: -1px 0 0 -1px;
    line-height: 40px;
    padding: 0 15px;
    font-size: 14px;
    color: var(--white);
    border-radius: 17px 17px 0 0 ;
  }
  @media (max-width: 768px) {
    .blog-section  h6 {
      cursor: pointer;
      margin: -1.5px 0 0 -0.2px;
      border-radius: 20px;
      width: 100.2%;
    }
    .blog-section h6:before {
      content: "\f0c9";
      font-family: "FontAwesome";
      float: left;
      padding-right: 10px;
    }
  }
  .blog-section .menu-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    float: left;
    width: 100%;
    background-color: var(--block_background);
    overflow: hidden;
    border-radius:0 0 20px 20px;
  }
  @media (max-width: 768px) {
    .blog-section .menu-box ul {
      display: none;
    }
  }
  .blog-section li a {
    color: var(--main_text);
    line-height: 34px;
    padding-left: 15px;
    font-size: 13px;
    cursor: pointer;
    display: block;
  }
  .blog-section .placeholder {
    width: 100%;
    margin-bottom: 15px;
  }
 
  .blog-section .placeholder img {
    width: 300px;
    height: 250px;
    border-radius: var(--block_radius);
  }
  .news-items i {
    display: none;
  }
  .placeholder-wrapper{
    margin-bottom: 15px;
  }
  @media (max-width:768px){
    .placeholder-wrapper{
      display: inline-flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .blog-section .placeholder {
      width: calc(50% - 5px);
      margin-bottom: 0%;
    }
    .blog-section .placeholder img {
      width: 100%;
      height: 40vw;
    }
  }