.work-card {
  height: 100%;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(112, 163, 10, .32);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  transition: .35s ease;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(155, 221, 34, .64);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .36);
}

.work-img {
  height: 190px;
  padding: 1rem;
  background:
    radial-gradient(circle at 80% 20%, rgba(155, 221, 34, .36), transparent 25%),
    linear-gradient(135deg, rgba(112, 163, 10, .32), rgba(255, 255, 255, .04)),
    #071007;
  border-bottom: 1px solid rgba(112, 163, 10, .26);
}

/* If the user uploads an image, it replaces the .work-browser placeholder.
   Ensure the image covers the area properly or fits nicely. */
.work-img img.img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.work-browser {
  height: 100%;
  border-radius: 22px;
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 1rem;
}

.work-browser div {
  height: 14px;
  width: 70%;
  border-radius: 99px;
  background: rgba(255, 255, 255, .16);
  margin-bottom: .65rem;
}

.work-browser div:nth-child(2) { width: 48%; }
.work-browser div:nth-child(3) { height: 72px; width: 100%; border-radius: 16px; background: rgba(255, 255, 255, .08); margin-top: 1rem; }

.work-body { padding: 1.35rem; }

.work-tag {
  display: inline-flex;
  color: #e9ffd5;
  border: 1px solid rgba(155, 221, 34, .32);
  background: rgba(112, 163, 10, .12);
  border-radius: 999px;
  padding: .42rem .66rem;
  font-weight: 950;
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.work-body h3 {
  font-size: 1.55rem;
  letter-spacing: -.05em;
  font-weight: 500;
}

.work-body p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 991px) {
  .work-card { margin-bottom: 2rem !important; }
}
