.xperia-portfolio-grid {
  column-count: 2;
  column-gap: 28px;
  padding-top: 80px;
}

@media (max-width: 900px) {
  .xperia-portfolio-grid {
    column-count: 1;
  }
}

.xperia-portfolio-card:hover {
  transform: translateY(-8px);
}

.xperia-portfolio-card {
  break-inside: avoid;
  margin-bottom: 28px;
  position: relative;
  padding: 33px 33px 0 33px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s ease;
  isolation: isolate;
  height: fit-content;
background-image: url('../images/smallCardBg.png');
    background-size: cover;       
    background-position: center top; 
    background-repeat: no-repeat;
    
    position: relative;
    color: #fff;

}
.xperia-portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background:
    linear-gradient(
      95.03deg,
      rgba(94, 218, 206, 0.2) 2.29%,
      rgba(255, 255, 255, 0.02) 47.61%,
      rgba(94, 218, 206, 0.2) 93.15%
    ),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.mockup-wrapper img {
  width: 100%;
}

.xperia-portfolio-card p {
  margin: 0px !important;
}

.mockup-wrapper {
  margin-bottom: -30px;
}

.xperia-card-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  margin: 0px;
  margin-bottom: 8px;
}

.xperia-card-meta {
  font-size: 14px;
  color: #ffffff80;
  margin-bottom: 16px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.card-tag {
  background-color: #ffffff1a;
  font-size: 14px;
  padding: 5px 12px;
  border-radius: 99px;
}

.card-content p {
  font-size: 14px;
  line-height: 160%;
  color: #ffffff80;
}
.mockup-wrapper {
  margin-top: 48px;
}
