.itemFluid {
  flex: 0 0 auto;
  margin: auto 0 1%;
  box-sizing: border-box;
  position: relative;
  display: block;
}

.itemSquare {
  flex: 0 0 24%;
  margin: 0 1% 1% 0;

  @media screen and (width >= 1000px) {
    flex: 0 0 16%;
  }

  @media screen and (width >= 1440px) {
    flex: 0 0 13%;
  }

  position: relative;
  display: block;
  width: 100%;

  .inner {
    padding-bottom: 100%;
  }
}

.inner {
  border-radius: 2px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  &:hover {
    box-shadow: 0 2px 2px rgb(0 0 0 / 10%);

    .details {
      opacity: 1;
    }
  }
}

.details {
  align-items: flex-end;
  position: absolute;
  background: linear-gradient(180deg, transparent 0, rgb(0 0 0 / 40%));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s;
  cursor: pointer;
}

.detailsInner {
  margin-right: 15px;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.title {
  margin: 10px 15px;
  color: #fff;
}

.features {
  position: absolute;
  right: 8px;
  top: 10px;
  font-size: 12px;
  line-height: 12px;
  z-index: 7;
}

.featureImported,
.featureOther {
  box-sizing: border-box;
  pointer-events: none;
  text-transform: uppercase;
  background-color: #555;
  color: #f1f1f1;
  padding: 2px 4px;
  font-size: 11px;
  border-radius: 2px;
  margin-right: 5px;
}
{"id":7,"date":"2022-01-03T08:18:46","date_gmt":"2022-01-03T08:18:46","guid":{"rendered":"https:\/\/el4.thembaydev.com\/fana\/shop\/"},"modified":"2022-01-03T08:18:46","modified_gmt":"2022-01-03T08:18:46","slug":"shop-2","status":"publish","type":"page","link":"https:\/\/stwimmigrationconsultancy.com\/kanchan\/shop-2\/","title":{"rendered":"Shop"},"content":{"rendered":"","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-7","page","type-page","status-publish","hentry"],"_hostinger_reach_plugin_has_subscription_block":false,"_hostinger_reach_plugin_is_elementor":false,"_links":{"self":[{"href":"https:\/\/stwimmigrationconsultancy.com\/kanchan\/wp-json\/wp\/v2\/pages\/7","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stwimmigrationconsultancy.com\/kanchan\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/stwimmigrationconsultancy.com\/kanchan\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/stwimmigrationconsultancy.com\/kanchan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stwimmigrationconsultancy.com\/kanchan\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":0,"href":"https:\/\/stwimmigrationconsultancy.com\/kanchan\/wp-json\/wp\/v2\/pages\/7\/revisions"}],"wp:attachment":[{"href":"https:\/\/stwimmigrationconsultancy.com\/kanchan\/wp-json\/wp\/v2\/media?parent=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}