* {
    box-sizing: border-box;
}
body {
    margin: 0;
    color: #1e293b;
}
a {
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6, p, span, li, a {
    color: #1e293b;
}
p {
    margin-bottom: 0px;
}
.p-12 {
    padding: 12px;
}
.px-30 {
    padding-left: 30px;
    padding-right: 30px;
}
.py-20 {
    padding-top: 20px;
    padding-bottom: 20px;
}
.pt-40 {
    padding-top: 40px;
}
img {
    max-width: 100%;
}
.header {
    border-bottom: 1px solid #e2e8f0;
}
.logo-cls {
    width: 110px;
}
.card {
    border-radius: 12px;
    border-color: #e2e8f0;
}
.fs-14 {
    font-size: 14px;
}
.fs-12 {
    font-size: 12px;
}
.hover-card:hover {
    background-color: #f8fafc;
}
.text-seondary {
    color: #64748b;
}
.title {
    border-bottom: 2px solid #2563eb;
}
.divider-space {
    height: 1px;
    background-color: #e2e8f0;
    width: 100%;
}
.live-post-card {
    padding: 12px;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.2s all linear;
}
.live-post-card:hover {
    background-color: #f1f5f9;
}
.aspect-ratio {
    aspect-ratio: 192 / 280;
}
.grid {
    display: grid;
    /* grid-template-columns: repeat(7, 1fr); */
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.inset-0 {
    inset: 0;
}
.bg-grey {
    background-color: rgba(0, 0, 0, .32);
}
.size-md {
    width: 30px;
    height: 30px;
}
.size-lg {
    width: 35px;
    height: 35px;
}
.overlay-bg {
    background: linear-gradient(to top, rgb(0 0 0 / 58%) 0%, rgb(197 196 196 / 0%) 50%);
    border-radius: 12px;
}
.zindex-10 {
    z-index: 10;
}
.c-pointer {
    cursor: pointer;
}
.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}
.live-post-card:hover .username-txt {
    color: #2563eb;
}
.to-bottom {
    opacity: 0;
    transition: 0.2s all linear;
}
.live-post-card:hover .overlay-bg.to-bottom {
    opacity: 1;
    background: linear-gradient(to bottom, rgb(255 255 255 / 0%) 0%, rgb(0 0 0 / 39%) 100%);
}
.w-50 {
    width: 50%;
}
.post-button {
    padding: 6px;
    border-radius: 10px;
    background-color: rgba(0,0,0,.32);
    backdrop-filter: blur(12px);
    border: none;
}
.custom-tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.custom-tooltip .custom-tooltip-text {
  visibility: hidden;
  white-space: nowrap;
  background-color: #0f172a;
  color: #fff;
  text-align: center;
  padding: 14px 16px;
  border-radius: 15px;
  position: absolute;
  z-index: 10;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  transition: 0.3s ease;
  font-size: 14px;
  font-weight: 600;
}
.custom-tooltip:hover .custom-tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0px);
}
.hidden {
    display: none;
}
.live-post-card:hover .hidden {
    display: block;
}
.live-post-card:hover .show {
    display: none;
}
/* Loader at bottom center */
.infinite-loader {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 20px;        /* above loader */
  right: 20px;
  z-index: 1050;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
}

.d-none {
  display: none !important;
}
/* responsive */
@media (min-width: 1600px) {
    .columns-5 {
        flex: 0 0 20%;
        width: 20%;
    }
     .grid {
       grid-template-columns: repeat(7, minmax(0px, 1fr));
    }
}
@media (max-width: 1599px) {
    .grid {
       grid-template-columns: repeat(6, minmax(0px, 1fr));
    }
}
@media (max-width: 1200px) {
    .grid {
        grid-template-columns: repeat(5, minmax(0px, 1fr));
    }
}
@media (max-width: 991px) {
    .grid {
        grid-template-columns: repeat(3, minmax(0px, 1fr));
    }
}
@media (max-width: 767px) {
    .grid {
        grid-template-columns: repeat(3, minmax(0px, 1fr));
    }
    .px-30 {
        padding-left: 10px;
        padding-right: 10px;
    }
}
@media (max-width: 600px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0px, 1fr));
    }
}