/*--------------------------------------Comment loop css start------------------------------------------*/
.comments-loop h5.child_name {
  margin-bottom: 0px;
  font-size: 20px;
  line-height: 24px;
  margin-top: 0;
}
.comments-loop h4.award_title {
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.2;
  font-size: 20px;
  font-weight: 600;
}

.comments-loop {
    gap: 30px 15px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .comments-loop .comment-entry .comment_img {
    height: 277px;
    overflow: hidden;
    text-align: center;
    border-radius: 10px 10px 0px 0px;
    border: 1px solid #ffffff78;
}
.comments-loop .comment-entry .comment_document {
  height: 150px;
  overflow: hidden;
  text-align: center;
  border-radius: 10px 10px 0px 0px;
  border: 1px solid #ffffff78;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comments-loop .comment-entry .comment_document a {
  background-color: #17a2b8;
  color: #fff;
  text-decoration: none !important;
  padding: 15px 25px;
  margin: 0;
  border-radius: 5px; 
}
.comments-loop .comment-entry .comment_document a:hover {
  opacity: 0.7;
  cursor: pointer;
}

  .notable_entry_page .comments-loop {
    gap: 30px 15px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }
  .notable_entry_page .comments-loop .comment-entry  .comment_img { 
    height: 200px;
    overflow: hidden; 
    text-align: center;
  }
  .comments-loop .comment-entry .comment_img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
   /*   border-radius: 20px 20px 0px 0px;*/
     
  }
  .comments-loop .comment_caption {
   text-align: center;
  }
 
  
   .comments-loop .comment_caption {
   text-align: center;
   background-color: #e6f0ff;
   padding: 12px 10px;
  }
  .comments-loop h5.child_name { 
    margin-bottom: 0px;
  }
  
  input.mailpoet_submit { 
    border: 0;
  }
  
  /* Center-align pagination and add margin from top */
  .pagination {
    display: flex;
    justify-content: center; 
    margin-top: 20px !important; 
  }
  
  .pagination a, .pagination span {
    margin: 0 5px; 
    padding: 5px 10px;
    border: 1px solid #ddd; 
    border-radius: 3px; 
    text-decoration: none; 
    color: #333; 
    font-family: "Hind Siliguri";
    background-color: #f4f4f4;
    line-height: 1.0;
  }
  
  .pagination a:hover {
    background-color: #fc7629; 
    color: #fff; 
    font-family: "Hind Siliguri";
  }
  .pagination a:hover span
  {
    color:#fff;
  }
  
  .pagination .current {
    font-weight: bold; 
    background-color: #fc7629; 
    color: #fff; 
    font-family: "Hind Siliguri";
  }
  .pagination a.prev, .pagination a.next {
    font-weight: bold; 
    font-family: "Hind Siliguri"; 
  }
  .page-numbers span { 
    border: 0;
    padding: 0;
    margin: 0;
    background-color: transparent;
  }

 @media(max-width:1023px)
{
    .notable_entry_page .comments-loop {
        grid-template-columns: repeat(3, 1fr);    
        background-color:#fff6ef;
        padding:30px 0px;    
    }
    .notable_entry_page .comments-loop .comment-entry
    {
        margin: 0px auto;
    }
    .wp-block-group.in_c_pad {
    padding: 0 15px !important;
    padding-top: 25px !important;
    padding-bottom: 50px !important;
    }
    .comments-loop {
        gap: 0;
        width: 100%;
        display: block;
    }
    .comments-loop .comment-entry {
    width: 100%;
    max-width: 550px;
    margin: 35px auto;
    } 

}

@media(max-width:768px)
{
  .notable_entry_page .comments-loop {
    grid-template-columns: repeat(2, 1fr);
  }
  .pagination {
    margin-top: 10px !important; /* Reduce margin on smaller screens */
  }
  .page-numbers span {
    display: none;
  }
  .pagination a, .pagination span {   
      font-size: 14px; /* Smaller font size on mobile */
  }
}
@media (max-width: 480px) {
    .pagination {
        margin-top: 5px !important; /* Further reduce margin on very small screens */
    }
  
    .pagination a, .pagination span {
        padding: 4px 4px; /* Even smaller padding */
        font-size: 12px; /* Further reduce font size on very small screens */
    }
    .notable_entry_page .comments-loop {
      grid-template-columns: repeat(1, 1fr);
    }
  } 