.post {
  background-color: #f6f6f6;
  border-radius: 8px;
  margin: 10px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.post-header {
  display: flex;
  align-items: start;
  margin-bottom: 10px;
}
.post-header img {
  border-radius: 50%;
  margin-right: 10px;
}
.post-header .name {
  font-weight: bold;
}
.post-header .time {
  color: #65676b;
  font-size: 0.8rem;
}
.post-content {
  margin-bottom: 10px;
}
.post-content .post-text {
  white-space: break-spaces;
  word-break: break-word;
}
.post-footer {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  font-size: 0.9rem;
  color: #65676b;
  margin-top: 10px;
}
.post-footer .likes,
.post-footer .comments {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 50%;
  padding: 5px;
}

.read-more {
  text-decoration: none;
  font-weight: bold;
}

.avatar {
  width: 40px;
  height: 40px;
}

.custom-btn-readmore {
  background: none;
  border: none; 
  padding: 0;
  color: #ffc107;
}
a {
  color:#ffc107;
}

.span-like-comment {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 5px;
}
.post_title {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.post-images-1 {
  display: grid;
  grid-gap: 10px;
  max-height: 308px;
}
.post-images-2 {
  display: grid;
  grid-gap: 10px;
}
.post-images-3 {
  display: grid;
  grid-template-columns: calc(66% - 5px) calc(34% - 5px);
  grid-template-rows: calc(50% - 5px) calc(50% - 5px);
  grid-gap: 10px;
}
.post-images-item-1 {
  max-height: 308px;
  overflow: hidden;
  border-radius: 14px
}
.post-images-item-2-1 {
  grid-column: 1/1;
  grid-row: 1/span 2;
  margin-bottom: 10px;
}
.post-images-item-2-2 {
  grid-column: 2/2;
  grid-row: 1/span 2;
  margin-bottom: 10px;
}
.post-images-item-3-1 {
  grid-column: 1/2;
  grid-row: 1/span 2;
}
.post-images-item-3-2 {
  grid-column: 2/2;
  grid-row: 1/2;
}
.post-images-item-3-3 {
  grid-column: 2/2;
  grid-row: 2/2;
  position: relative;
}
.post_photo_wrapper .post_photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  cursor: pointer;
}
.image-background-opacity {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  opacity: .4;
  background: #000;
  z-index: 1;
  border-radius: 14px;
  cursor: pointer;
}
.image-camera-white-icon {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}
.image-camera-white-icon .icon-camera {
  width: 30px;
  background-image: url("/assets/images/community/camera.svg");
  background-repeat: no-repeat;
  display: block;
  line-height: 20px;
}
.comment_section p, .comment_section h3{
  margin: 0px;
  padding: 0px; 
 }
.label_user{
   background-color: rgb(17, 165, 80);
   margin-left: 5px;
   font-size: 12px;
   display: flex;
   align-items: center;
   padding: 0px 10px 2px 10px;
   border-radius: 12px;
 }
 .label_teacher{
   background-color: rgb(249, 201, 1);
 }
 .comment_section .show_view{
   display: flex;
   justify-content: center;
   align-items: center;
   position: relative;
   background-color: #ffffff;
   width: 100%;
   height: 90vh;
   padding: 0px;
 }
 .comment_section .show_view img{
   max-width: 100%; 
   max-height: 100%;
   width: auto;
 }
 .comment_section .modal_show_img{
   background: none !important;
   border: none;
 }
 .comment_section .comment_text p{
   font-size: 14px; 
   margin-left: 40px;
   white-space: break-spaces;
 }
 .comment_section .comment_text .img_content{
  overflow-x: scroll;
  overflow: auto;
  white-space: nowrap;
}
 .comment_section .item_reply{
   margin-left: 40px;
 }
 .comment_section .img_cmt{
   border-radius: 10px;
   width: auto;
   height: 168px;
 }
 .comment_section .user_avatar img {
  width: 32px;
  height: 32px;
 }
 .comment_section .user_text h3 {
  text-transform: unset;
 }
.pagination .page-item.active .page-link {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #000;
}
.pagination .page-link {
  font-size: 15px;
}
.selected-image {
  max-width: 100%;
  max-height: 100%;
}
.close-selected-image {
  position: absolute;
  top: 10px;
  right: 10px;
}