body {
  background-color: #f2f6fe !important;
}
.main-wrapper {
  overflow: initial !important;
}
.header-page,
.header-page .header-nav {
  height: auto !important;
}

svg {
  cursor: pointer !important;
}

.archive-social {
  padding: 30px 1rem;
  max-width: 1024px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.archive-social .group-posts-social {
  width: 100%;
}

/* start sort */
.archive-social .sort {
  display: flex;
  align-items: center;
  column-gap: 5px;
  max-width: 650px;
  justify-content: flex-end;
  position: relative;
  width: 61%;
}

.archive-social .sort p {
  font-weight: 600;
  margin-bottom: 0;
}
.archive-social .sort .toggle-filter-btn {
  padding: 5px;
  width: 30px;
  height: 30px;
}
.archive-social .sort .toggle-filter-btn.active {
  background-color: #fff;
  border-color: #d9d9d9;
  box-shadow: 0px -5px 10px rgb(0 0 0 / 15%);
  border: 1px solid #d9d9d9;
  border-bottom: none;
  z-index: 10;
  border-radius: 20px 20px 0 0;
}

.archive-social .sort .buttons {
  box-shadow: 0px 0px 10px rgb(0 0 0 / 15%);
  display: flex;
  align-items: flex-start;
  column-gap: 5px;
  background-color: #fff;
  border-radius: 20px 0 20px 20px;
  border: 1px solid #d9d9d9;
  position: absolute;
  width: fit-content;
  flex-direction: column;
  padding: 1rem;
  top: 28px;
  z-index: 9;
}
.archive-social .sort .buttons a {
  font-size: 14px;
  font-weight: 600 !important;
  margin-bottom: 10px;
}
.archive-social .sort .buttons a:hover {
  color: #61ce70 !important;
}
/* End sort */

.archive-social .top-trending .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2rem 0;
}
.archive-social .top-trending .open-upload-form-profile {
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 5px;
}

.archive-social .top-trending .header,
.archive-social .lists-social .header {
  background-color: transparent;
}
.archive-social .lists-social .header {
  margin: 3rem 0 2rem;
}
.archive-social .top-trending .header h4 {
  font-weight: 600;
}
.archive-social .top-trending {
  width: 61%;
}
.archive-social .top-trending,
.archive-social .lists-social {
  max-width: 650px;
  /* margin: auto; */
}

/* Start Phần Cup TOP RANKING */

.archive-social .body-content .left {
  width: 61%;
  max-width: 650px;
  border-radius: 20px;
}

.archive-social .body-content {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.archive-social .body-content .rank-top-trending {
  position: absolute;
  top: -10px;
  left: -10px;
  transform: rotate(-10deg);
}

.archive-social .body-content .rank-top-trending img {
  width: 35px;
  height: 35px;
}

/* End Phần Cup TOP RANKING */
.archive-social .group-1 .avatar {
  flex: 1;
}
.archive-social .item {
  padding: 30px 20px;
  background-color: #fff;
  border-radius: 10px;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.archive-social .item:hover {
  box-shadow: 0px 0px 30px rgb(22 249 14 / 20%);
}

.archive-social .meta-data {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 5px 10px;
}

.archive-social .group-1 {
  display: flex;
  align-items: center;
  gap: 10px 15px;
  flex: 1;
}

.archive-social .meta-data .avatar img,
.single-social .meta-data .avatar img {
  width: 60px;
  object-fit: cover;
  border-radius: 50%;
}

.archive-social .meta-data .information {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 3px;
}

.archive-social .meta-data .information .name,
.archive-social .meta-data .information .age {
  margin-bottom: 0px;
  position: relative;
}

.archive-social .meta-data .information .name {
  color: #0062da;
  font-weight: 500;
  margin-left: 4px;
}

.archive-social .meta-data .information .age::before {
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background-color: #000;
  margin: 2px 5px;
  display: inline-block;
}

.archive-social .group-information-time .time {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-weight: 500;
  font-size: 13px;
  gap: 5px 10px;
}

.archive-social .group-information-time .time h4 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
}

.archive-social .meta-data .btn {
  background-color: #61ce70;
  border-color: #61ce70;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  position: relative;
  border-radius: 40px;
  width: auto;
}

.archive-social .btn-primary:hover {
  color: #fff !important;
}

.archive-social .item .item-game {
  display: flex;
  align-items: flex-end;
}

.archive-social .item .item-game .thumbnail {
  width: 87%;
}

.archive-social .item .item-game .thumbnail img {
  border-radius: 15px;
  max-height: 390px;
  width: 100%;
  object-fit: cover;
}

.archive-social .action-control {
  display: grid;
  row-gap: 10px;
  width: 13%;
}

.action-control span {
  font-size: 12px;
  font-weight: 700;
}

.archive-social .item-game .action-control .favourite,
.archive-social .item-game .action-control .comment-count,
.archive-social .item-game .action-control .group-share {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.action-control .favourite .box-svg,
.action-control .comment-count .box-svg,
.action-control .group-share .box-svg {
  background-color: #f0f9ff;
  padding: 9px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-control .favourite .box-svg:hover {
  border-color: #ff6e6e;
}

.action-control .comment-count .box-svg:hover {
  border-color: #ffa800;
}

.action-control .group-share .box-svg:hover {
  border-color: #50b4f0;
}

.action-control .box-svg:hover {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

.group-share .dropdown {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5 ease;
  transform: translate(-50%, -50%);
  right: 5%;
  width: auto;
  background-color: #fff;
  padding: 15px 20px 10px;
  border-radius: 0 15px 15px 15px;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 19%);
  transition: all 0.4s ease;
}

.group-share .dropdown a {
  display: flex;
  align-items: center;
  column-gap: 5px;
  margin-bottom: 10px;
  cursor: pointer;
}

.group-share .dropdown span {
  cursor: pointer;
}

.group-share .dropdown.active {
  opacity: 1;
  visibility: visible;
}

.board-score-social {
  width: 35%;
  height: fit-content;
  border-radius: 20px;
  position: sticky;
  top: 5rem;
}
.top-user-coins,
.top-posts-social {
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 20px;
  margin-bottom: 25px;
}
.top-posts-social {
  margin-bottom: initial;
}
.top-user-coins .title,
.top-posts-social .title {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 10px;
}
.top-user-coins .title h2,
.top-posts-social .title h2 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
}
.top-user-coins ul li,
.top-posts-social ul li {
  list-style: none;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.top-user-coins ul li:last-child {
  margin-bottom: 0;
}
.top-user-coins ul li span:first-child {
  flex: 2;
  border-right: 1px solid;
}
.top-user-coins ul li span:last-child {
  flex: 1;
  padding-left: 10px;
}
.top-user-coins .title img {
   width: 35px;
  height: 35px;
  object-fit: cover;
}
.top-user-coins ul li span img {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

.top-posts-social ul li {
  gap: 10px;
}
.top-posts-social ul li img {
  width: 40px;
  height: 35px;
  object-fit: cover;
  border-radius: 5px;
}
.top-posts-social .content {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.top-posts-social .count-social {
  display: flex;
  gap: 5px;
}
.top-posts-social .content .stack-title-social {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.top-posts-social .content .stack-title-social .a {
  font-size: 11px;
  width: calc(65% / 3);
  display: flex;
  color: #c49d10;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.top-posts-social .content .stack-title-social a:hover,
.top-user-coins ul li a:hover {
  color: #0d6efd !important;
}

/* SINGLE */
.single-social {
  margin-top: 40px;
  padding: 15px 0;
}

.single-social .container .group-content {
  max-width: 1200px;
  margin: auto;
}

.single-social .group-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.single-social .project-box {
  width: 64%;
}

.single-social .project-main,
.single-social .gallery,
.single-social .project-intro,
.single-social .comment {
  background-color: #fff;
  border-radius: 30px;
  padding: 30px;
  margin-bottom: 25px;
}

.single-social .project-intro p {
  margin-bottom: 5px;
}

.single-social .project-box .head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.single-social .head .author {
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: 0.2px;
  margin-bottom: 5px;
}

.single-social .head .author span {
  color: #0062da !important;
  font-size: 14px;
  font-weight: 600;
}

.single-social .head .title h4 {
  font-size: 26px;
  font-weight: 600;
}

.single-social .head .action-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 15px;
}

.single-social .head .action-control .favourite,
.single-social .head .action-control .comment-count {
  display: flex;
  align-items: center;
  column-gap: 5px;
}

.single-social .head .action-control .group-share {
  position: relative;
}

/* .single-social .box-svg {
  padding: 6px 10px !important;
} */

.single-social .action-control .group-share .box-svg {
  border-radius: initial;
  border-radius: 20px 20px 0 0;
  transition: initial;
}

.action-control .group-share .box-svg:hover {
  box-shadow: 0px 0px 10px rgb(0 0 0 / 19%);
  border-bottom: none;
}

.single-social .action-control .group-share .box-svg.active {
  background-color: #fff;
  box-shadow: 0px -2px 6px rgb(0 0 0 / 16%);
  z-index: 10;
  position: relative;
  border-color: #e5f1fd !important;
  border-bottom: none;
}

.single-social .action-control .dropdown {
  right: initial;
  top: 74px;
  left: -78%;
  border-radius: 15px;
  z-index: 2;
  border-radius: 20px 0 20px 20px;
  transition: initial;
}

.single-social .project-box .project-main .project .embed-content iframe {
  width: 100%;
  height: 390px;
  max-width: 100%;
}

.single-social .project-intro {
  position: relative;
  margin-bottom: 20px;
}

/* BODY PROJECT BOX */

.single-social .project-box .project {
  margin-top: 25px;
}

.single-social .project-box .project img {
  max-width: 750px;
  width: 100%;
  max-height: 650px;
  object-fit: cover;
}

.single-social .project-box .gallery h4,
.single-social .project-box .project-intro h4,
.single-social .sidebar .profile h4,
.single-social .sidebar .author-post h4 {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 1rem;
}

.single-social .project-box .gallery .lists a {
  display: inline-block;
  width: calc(98% / 3);
  overflow: hidden;
}

.single-social .project-box .gallery .lists img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.single-social .project-box .gallery .lists img:hover {
  transform: scale(1.05);
}

/* START SIDEBAR */
.single-social .sidebar {
  width: 35%;
}

.single-social .profile {
  padding: 20px;
  background-color: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}

.single-social .profile-head {
  padding-bottom: 20px;
  border-bottom: 1px solid #d9d9d9;
}

.single-social .meta-data {
  display: flex;
  align-items: center;
}

.single-social .meta-data .information {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
}

.single-social .meta-data .information .info-head {
  display: flex;
  justify-content: center;
}

.single-social .meta-data .information .info-head a {
  color: #0654ba !important;
  font-size: 16px;
  font-weight: 600;
}

.single-social .meta-data .information .info-head p {
  margin-bottom: 0;
}

.single-social .meta-data .information .info-rank p {
  font-weight: 400;
  letter-spacing: 0.2px;
}

.single-social .meta-data .information .info-rank span {
  font-weight: 600;
  color: #000 !important;
}

.single-social .meta-data .age:before {
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background-color: #000;
  margin: 2px 5px;
  display: inline-block;
}

.single-social .profile-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-footer .group-project-score {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.single-social .profile-footer .project-mini,
.single-social .profile-footer .score {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.single-social .profile-footer .group-project-score span {
  font-size: 13px;
  font-weight: 700;
}

.single-social .profile-footer .project-mini svg {
  width: 25px;
  height: 25px;
}

.single-social .profile-footer .score img {
  width: 25px;
  height: 25px;
}

.single-social .author-post {
  padding: 20px;
  margin: 25px 0;
  background-color: #fff;
  border-radius: 20px;
}

.single-social .sidebar .author-post .post-auhtor-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  height: 65px;
}
.single-social .sidebar .author-post .post-author-thumb {
  height: 100%;
  overflow: hidden;
}
.single-social .sidebar .author-post .post-author-thumb img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: all 0.5s ease;
}
.single-social .sidebar .author-post .product-name {
  font-size: 14px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* Số dòng tối đa */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.single-social .sidebar .post-auhtor-item:hover {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border-radius: 15px;
}
.single-social .sidebar .author-post .post-auhtor-item:hover .product-name {
  color: #0654ba !important;
  font-weight: 600;
}
.single-social
  .sidebar
  .author-post
  .post-auhtor-item:hover
  .post-author-thumb
  img {
  transform: scale(1.05);
}
/* End Side bar */

/* END SINGLE */

/* Comment */
.comments-soial .logged-in-as,
.comments-soial .comment-form-comment label {
  display: none !important;
}

.comments-soial textarea#comment {
  font-size: 13px;
  padding-top: 1rem;
  height: 90px;
  border-radius: 20px;
}

.comments-soial .toggle-replies {
  cursor: pointer;
  color: #002058 !important;
  margin: 10px 0 1rem;
  font-size: 12px;
  font-weight: 500;
}

.comments-soial .form-submit .submit {
  padding: 10px 15px !important;
  width: fit-content;
  font-size: 13px !important;
  margin: 10px 0 !important;
  border-radius: 20px !important;
}

.comments-soial p.form-submit {
  display: flex;
  align-items: center;
  gap: 16px;
  /* hoặc dùng justify-content nếu muốn đẩy ra 2 bên */
}

.comments-soial #reply-title {
  display: none;
}

.comments-soial .comment-item {
  margin-bottom: 15px;
  padding: 0;
  list-style: none;
}
.comments-soial #cancel-comment-reply-link {
  font-size: 13px;
  font-weight: 500;
}

.comments-soial .comment-list .avatar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comments-soial .comment-list .avatar .group-1 {
  display: flex;
  align-items: center;
}

.comments-soial .comment-list .avatar .comment-author,
.comments-soial .comment-list .avatar .comment-date {
  font-size: 14px;
  font-weight: 600;
  margin-left: 10px;
  margin-bottom: 0;
}

.comments-soial .comment-list .avatar .comment-date {
  font-size: 12px !important;
}

.comments-soial .comment-list .avatar img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}

.comments-soial .comment-text {
  margin-bottom: 0;
  margin-top: 5px;
}

.comments-soial .comment-content {
  background: aliceblue;
  padding: 15px;
  border-radius: 15px;
  width: fit-content;
}

.comments-soial .comment-content .reply a {
  color: #0654ba;
  font-weight: 600;
  font-size: 12px;
}

.comments-soial .comment-list .children {
  padding-left: 35px;
  margin-top: 10px;
  margin-bottom: 0;
}

@media screen and (max-width: 992px) {
  .archive-social .sort,
  .archive-social .top-trending {
    width: 100%;
    margin: auto;
  }
  .archive-social .body-content {
    justify-content: center;
  }
  .archive-social .body-content .left {
    width: 100%;
  }
  .archive-social .group-posts-social {
    width: 100%;
  }

  .board-score-social {
    width: 100%;
    border-radius: 20px;
    position: initial;
    margin-top: 25px;
  }

  .archive-social .meta-data .avatar img,
  .single-social .meta-data .avatar img {
    height: auto;
  }
  .archive-social .group-posts-social {
    padding: 5px;
  }

  .single-social .project-box {
    width: 100%;
  }
  .single-social .sidebar {
    width: 100%;
    margin-top: 20px;
  }
  .single-social .head .title h4 {
    font-size: 18px;
    font-weight: 600;
  }
}

@media screen and (max-width: 768px) {
  .archive-social .group-information-time .time h4 {
    font-size: 16px;
  }
  .archive-social .group-information-time .time .time-ago {
    display: none;
  }

  .archive-social .sort {
    padding-right: 20px;
  }

  .single-social .project-box .gallery .lists a {
    width: calc(98% / 2);
  }
  .single-social .project-box .gallery .lists img {
    height: 150px;
  }
}
@media screen and (max-width: 568px) {
  .archive-social .meta-data .information {
    font-size: 12px;
  }
  .archive-social .top-trending .header h4,
  .archive-social .lists-social .header h4 {
    font-size: 20px;
  }
}
@media screen and (max-width: 468px) {
  .archive-social .item {
    padding: 20px;
    margin-bottom: 20px;
  }
  .archive-social .meta-data {
    /* flex-wrap: wrap; */
  }
  .archive-social .group-1 {
    /* flex: initial; */
  }
  .archive-social .group-information-time .time h4 {
    font-size: 14px;
  }
  .archive-social .group-1 .avatar {
    position: relative;
    top: 10px;
  }
  .archive-social .meta-data .btn {
    /* margin: 10px 75px 0; */
  }
  .archive-social .meta-data .btn {
    font-size: 10px;
  }

  .archive-social .top-trending .open-upload-form-profile {
    font-size: 12px;
  }

  .single-social .comment {
    padding: 10px;
  }
  .single-social ol,
  ul {
    padding-left: 15px;
  }
  .comments-soial .comment-content {
    width: 100%;
  }

  .group-share .dropdown {
    right: -20px;
  }
}
