.staking-card-gradient {
  display: flex;
  position: relative;
  flex-direction: row;
  align-items: center;
  border-radius: 15px;
  width: fit-content;
  box-sizing: border-box;
  padding: 15px;
  gap: 20px;
  z-index: 1;
  overflow: hidden;
  width: fit-content;
  align-items: stretch;
}

.staking-card-gradient::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  background: linear-gradient(154deg, #f23d4c 16.07%, #f99f38 83.87%);
  z-index: -1;
}

.staking-card-gradient::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  background: #0e1821;
  border-radius: 13px;
  z-index: -1;
}

.staking-img {
  width: var(--image-width) !important;
  height: auto !important;
  border-radius: 15px !important;
}

.staking-text-container {
  font-family: "poppins", sans-serif;
  display: flex;
  flex-direction: column;
  width: 270px;
  justify-content: space-between;
  flex: 1;
}

.staking-text-container > div {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.staking-text-container a {
  color: #fff;
  text-decoration: none;
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.staking-text-container h4,
.staking-text-container p {
  color: #fff !important;
  margin: 0;
}

.staking-text-container p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width: 768px) {
  .staking-card-gradient {
    flex-direction: column;
    gap: 20px;
    padding: 10px;
  }

  .staking-text-container {
    width: 100%;
  }

  .staking-img {
    width: 100% !important;
    height: auto !important;
  }
  .staking-text-container a {
    margin-top: 10px;
  }
}
