/* hero section code */
.text-span {
  font-weight: 275;
}

.text-span-two {
  font-weight: 400;
}

.category-hero {
  width: 100%;
  height: 550px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

.category-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

.category-hero img.bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.category-hero-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.category-hero-heading {
  text-align: center;
  color: #ffffff;
  margin-bottom: auto;
  margin-top: auto;
}

.category-hero-heading h1 {
  font-size: 40px;
  letter-spacing: 4.4px;
}

.hero-dec {
  font-weight: 400;
  font-size: 15px;
  margin-top: 15px;
}

.category-search-sort-container {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 727px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-search-bar {
  flex: 1;
  position: relative;
  height: 52px;
}

.category-search-bar input {
  width: 100%;
  padding: 15px 50px 15px 60px;
  font-size: 1rem;
  background-color: #060606cc;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 5px;
}

.category-search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.6px;
}

.category-search-bar input:focus {
  border: 1px solid rgba(255, 255, 255, 0.5);
  outline: 1px solid rgba(255, 255, 255, 0.5);
}

.category-search-icon {
  position: absolute;
  height: 100%;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-search-icon img {
  object-fit: contain;
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .category-hero-heading h1 {
    font-size: 2.2rem;
  }

  .category-search-sort-container {
    flex-direction: column;
    gap: 15px;
  }

  .category-search-bar {
    width: 100%;
  }

  .category-search-bar input {
    padding: 14px 45px 14px 38px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {

  .asset-card {
    width: 384px !important;
  }

  .category-hero {
    height: 556px;
  }

  .category-search-bar input {
    padding: 12px 40px 12px 34px;
    font-size: 0.9rem;
  }

  .category-search-icon {
    left: 10px;
    top: 50%;
  }

  .category-search-icon img {
    width: 15px;
    height: 15px;
  }

  .text-span-two {
    font-weight: 500;
  }

  .category-hero-heading h1 {
    font-size: 30px;
  }

  .hero-dec {
    font-size: 14px;
  }

  .mobile-only {
    display: block;
  }

}

@media (max-width: 415px) {
  .category-hero-heading h1 {
    font-size: 25px;
  }
}

@media (max-width: 321px) {
  .mobile-only {
    display: none;
  }
}

/************************** card section code  ********************************/

.cards-container {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
}

.asset-card {
  width: 330px;
  overflow: hidden;
  background: #000;
  display: flex;
  flex-direction: column;
}

.asset-media {
  height: 327px;
  position: relative;
}

.asset-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.asset-body {
  flex: 1;
  background: #191919;
  color: #fff;
  padding: 16px 0px 16px 0px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.asset-title {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1.87px;
  text-transform: uppercase;
  margin-bottom: -6px;
  padding: 0px 16px;
  color: #ffffff;
}

.asset-location {
  font-size: 16px;
  font-weight: 300;
  padding: 0px 16px;
  color: #ffffff;
}

.asset-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 55px;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 16px;
  background: #222222;
}

.asset-meta .label {
  font-size: 14px;
  font-weight: 300;
  color: #9A9A9A;
  margin-bottom: -5px;
}

.asset-meta .value {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 300;
}

.btn-card {
  outline: 0;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  background: #474747;
  padding: 5px 6px 6px 5px;
  height: 26px;
}

.btn-card .ico-wrap {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  color: #fff;
}

.btn-all {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 15px;
  margin: 10px 16px !important;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  color: #fff !important;
}

.btn-all .ico {
  width: 16px;
  height: 16px;
  margin-bottom: 4px;
}

@media (max-width: 450px) {
  .cards-container {
    padding-bottom: 60px !important;
  }
}


/********************* pagination section code  **********************/
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  padding: 10px 20px;
  gap: 10px;
  padding: 50px 0px 30px 0px;
  border-bottom: 1px solid #fff;
}

.page-num,
.prev,
.next {
  color: #fff;
  padding: 5px 10px;
  cursor: pointer;
  user-select: none;
}

.page-num.active {
  font-weight: bold;
  text-decoration: underline;
}

.ellipsis {
  color: #fff;
  padding: 5px;
  cursor: default;
}

.prev,
.next {
  background: none;
  border: none;
  font-size: 16px;
}

@media (max-width: 450px) {
  .pagination {
    border-bottom: none;
    display: none;
  }
}

/************8 popup code  *************/
.assets-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .72);
  z-index: 9999;
}

.assets-overlay.show {
  display: flex;
}

.assets-modal {
  position: relative;
  width: 602px;
  max-height: 95vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: #191919;
  color: #fff;
  border: 1px solid #191919;
  border-radius: 4px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .6);
  padding: 36px 49px;
  display: flex;
  flex-direction: column;
}

.assets-modal::-webkit-scrollbar {
  display: none;
}

.assets-title {
  width: 90%;
  margin-bottom: 40px;
  margin-top: 10px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1.87px;
  text-transform: uppercase;
  line-height: 1.5;
  color: #fff;
}

.assets-close {
  position: absolute;
  top: 35px;
  right: 50px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #ffffff;
  opacity: .9;
  cursor: pointer;
}

.assets-close:hover {
  opacity: 1;
}

.assets-content {
  padding-right: 4px;
}

.assets-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.assets-item {
  background: #222222;
  border: 1px solid #6F6F6F;
  border-radius: 4px;
  padding: 16px 16px 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset;
}

.assets-left {
  padding-right: 16px;
  min-width: 0;
}

.assets-name {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.4;
  color: #ffffff;
  margin: 0 0 8px 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.assets-meta {
  display: flex;
  gap: 15px;
  font-size: 11px;
  font-weight: 300;
  line-height: 1;
  color: #9A9A9A;
  letter-spacing: .2px;
}

.assets-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  background: #474747;
  color: #ffffff !important;
  font-weight: 400;
  font-size: 14px;
  border: none;
  outline: none;
}

.assets-btn-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-bottom: 4px;
}

.assets-footer {
  margin-top: 35px;
}

.assets-download-all {
  width: 100%;
  height: 48px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 1.65px;
  font-weight: 600;
  font-size: 11px;
}

@media (max-width: 640px) {
  .assets-modal {
    width: 92vw;
    border-radius: 4px;
    padding: 36px 25px;
  }

  .assets-title {
    padding: 0px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1.65px;
    margin-bottom: 25px;
  }

  .assets-item {
    padding: 14px;
    gap: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .assets-btn {
    width: 100%;
    justify-content: center;
  }

  .assets-footer {
    left: 18px;
    right: 18px;
    bottom: 14px;
  }

  .assets-close {
    right: 25px;
  }
}

@media (max-width: 376px) {
  .assets-close {
    right: 10px;
    top: 10px;
  }
}

/* Slightly larger screens between mobile and desktop */
@media (min-width: 641px) and (max-width: 820px) {
  .assets-modal {
    width: 600px;
  }
}

/* project not found code  */

.no-projects-found {
  padding: 40px 0px;
  text-align: center;
  font-size: 1.3rem;
  color: #fff !important;
}