/* ── Works Hero ── */
.works-hero-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 80px 125px 50px 125px;
  gap: 20px;
}

/* ── Work Tags ── */
.works-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 125px 50px;
  background: #111e26;
}

.work-tag {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 20px 20px;
  background: #f3f7f4;
  border: 2px solid #f3f7f4;
  border-radius: 20px;
  cursor: pointer;
  transition: padding-left 0.3s ease;
  overflow: hidden;
  z-index: 0;
}

.work-tag::before {
  position: absolute;
  content: "";
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;

  background-image: url('../assets/paper-texture.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: repeat-y;

  opacity: 0.25;

}

@media screen and (max-width: 480px) {
  .work-tag {
    grid-template-columns: 1fr;
  }
}


.work-tag-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0d517510 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.work-tag-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1;
}

.work-tag-title {
  font-family: var(--ff-primary);
  font-size: 2.25rem;
  font-weight: 400;
  color: #000000;
  margin: 0;
  line-height: 1.2;
}

.work-tag-description {
  font-family: var(--ff-primary);
  font-size: 1rem;
  font-weight: 400;
  color: #000000;
  margin: 0;
  line-height: 1.7;
  max-width: 500px;
}

.work-tag-label {
  font-family: var(--ff-handwritten);
  font-size: var(--fs-handwritten-sm);
  color: #000000;
}

.work-tag-image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  object-fit: cover;
  background-color: #1c3657;
  z-index: 1;
  transition: transform 0.3s ease;
}

.work-tag:hover .work-tag-image {
  transform: scale(1.02);
}

.work-tag-meta {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.work-tag-pill {
  padding: 6px 16px;
  border: 1px solid #000000;
  border-radius: 100px;
  font-size: 0.75rem;
  font-family: var(--ff-primary);
  font-weight: 500;
  color: #000000;
}

