* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: inherit;
  color: inherit;
}

@font-face {
  font-family: "Inter";
  src: local("Inter Semi Bold"), local("Inter-SemiBold"),
    url("../../fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: local("Inter Medium"), local("Inter-Medium"),
    url("../../fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: local("Inter Bold"), local("Inter-Bold"),
    url("../../fonts/Inter-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: local("Inter Regular"), local("Inter-Regular"),
    url("../../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  background: #f8f9fa;
  font-family: "Inter", sans-serif;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.sideimg {
  width: 100px;
  height: 60px;
  object-fit: cover;
  background-color: #f4f3f3;
  flex-shrink: 0;
}

.navbar-brand {
  font-weight: 700;
  color: #0d6efd;
}

.navbar-nav .nav-link {
  font-weight: 500;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #343a40;
}

.sideimg {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.filter-pills {
  width: 90px;
  padding: 10px 0;
  cursor: pointer;
}

.filter-pills-active {
  color: #fff !important;
  background: #0d6efd !important;
  border-color: #0d6efd !important;
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: fit-content;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: fit-content;
}

.w-fit-content {
  width: fit-content !important;
}

.scrollbar-hidden {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrollbar-hidden::-webkit-scrollbar {
  display: none;
}

p {
  font-size: 16px;
}

.card .img-box {
  height: 13rem;
  background-color: #f4f3f3;
}

.banner-img {
  height: 32rem;
  background-color: #f4f3f3;
}

.banner-img a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

main {
  min-height: calc(100svh - 416px);
}

/* card loading */
.skeleton-loader .skeleton {
  background-color: #f4f3f3;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  color: transparent !important;
}

.skeleton-loader .skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0)
  );
  animation: skeleton-shimmer 1.6s infinite;
}

@keyframes skeleton-shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.skeleton-loader img.skeleton {
  object-fit: cover;
  background-color: #f4f3f3 !important;
}

/* card loading */

.dot-pagination {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  border-radius: 50%;
  background: #bbb;
  transition: background 0.2s;
  vertical-align: middle;
  text-indent: -9999px;
}
.dot-pagination.active {
  background: #0d6efd;
}
.dot-pagination.dot-ellipsis {
  width: auto;
  background: none;
  color: #888;
  text-indent: 0;
  font-size: 18px;
  pointer-events: none;
}
.dot-pagination-nav {
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  border-radius: 50%;
  background: #f4f3f3;
  color: #333;
  font-size: 18px;
  text-align: center;
  margin: 0 6px;
  vertical-align: middle;
  text-indent: 0;
  border: none;
  transition: background 0.2s;
}
.dot-pagination-nav.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.backward-icon {
  transform: rotate(180deg);
}
.pagination-button {
  display: flex;
  align-items: center;
  padding-block: 10px;
}

@media screen and (max-width: 1000px) {
  .card .img-box {
    height: 10rem;
  }

  .banner-img {
    height: 30rem;
  }
}

@media screen and (max-width: 991px) {
  div#navbarNav {
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    width: 100%;
    z-index: 20;
  }
}

@media screen and (max-width: 786px) {
  p {
    font-size: 14px;
  }
  p.small {
    font-size: 12px;
  }

  .card .img-box {
    height: 10rem;
  }

  .banner-img {
    height: 20rem;
  }
}
