.custom-card {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 1rem;
  backdrop-filter: blur(15px);
  padding: 24px;
  border: none;
}
.section-list-top .list-top {
  --bs-gutter-x: 3.125rem;
  --bs-gutter-y: 3.125rem;
}

.section-list-top .card-body {
  padding: 0px !important;
  overflow: hidden;
}

.scroll-area {
  overflow-y: auto;
}

/* ẩn thanh scroll của scroll area */
.scroll-area::-webkit-scrollbar {
  display: none;
}

a.story-title {
  text-decoration: none;
  text-transform: capitalize;
  color: #000;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.custom-genre {
  color: #6750a4;
  border: 1px solid #6750a44d;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0 10px;
  line-height: 1.7;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
}

.list-group-item {
  background-color: transparent;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  gap: 20px;
}

.rank {
  width: 50px;
}
.rank img {
  width: 100%;
  object-fit: contain;
}

.scroll-area img.story-image {
  width: 20%;
  max-width: 71px;
  height: auto;
  aspect-ratio: 650/970;
  object-fit: cover;
}

.rank {
  text-align: center;
  font-size: 1.625rem;
  font-weight: 600;
}

.section-list-top .btn-check:checked + .btn {
  background: linear-gradient(90deg, #9dd2fa 0%, #d57bfb 100%);
  border: 1px solid #6750a44d;
}

.section-list-top .btn {
  border: 1px solid #6750a44d;
  color: #6750a4;
}

.section-list-top .btn:hover {
  color: #6750a4;
  border: 1px solid #6750a44d;
}

.section-list-top .list-group-item .story-title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 1024px) {
  .section-list-top .rank {
    width: 30px;
  }

  .section-list-top .list-top {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 2rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Reponsive */
@media screen and (max-width: 991px) {
  .scroll-area img.story-image {
    max-width: unset;
  }
}

@media (max-width: 849px) {
  /* .row {
    width: 100%;
  } */

  /* section-list-top */
  .custom-card {
    margin-bottom: 30px;
  }

  .views-story .views-icon {
    width: 14px;
  }
}

@media (max-width: 649px) {
  .list-top-lef {
    width: 240px;
    margin-right: 0px;
  }

  .section-list-top .list-top {
    --bs-gutter-x: 0;
  }
  footer > .container > .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 1.5rem;
  }
  .footer {
    margin-top: 3rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .section-good-story .list-story {
    max-width: 85vw;
    margin: 0 auto;
  }
  .section-list-top .label-item {
    flex-direction: column;
    align-items: baseline !important;
    gap: 0px !important;
    font-size: 0.9rem;
  }
  .section-list-top .list-group-item .story-title {
    -webkit-line-clamp: 2;
  }
  .custom-card {
    padding: 1.5rem 1rem;
  }
  .scroll-area img.story-image {
    width: 26%;
  }
  .list-group-item {
    gap: 1rem;
  }
}
