.category-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO */

.category-hero {
  text-align: center;
  padding: 45px 0 35px;
  overflow: hidden;

  position: relative; /* 👈 REQUIRED for stacking */
}

.category-hero h1 {
  font-size: clamp(56px, 8vw, 88px);
  font-weight: 800;
  line-height: 0.9;
  margin: 0;

  position: relative; /* 👈 REQUIRED */
  z-index: 2;          /* 👈 ABOVE LINE */
}

.category-line {
  width: 100vw;
  height: 8px;
  background-color: var(--brand-green-light);

  position: relative;
  left: 50%;
  transform: translateX(-50%);

  margin: 1px 0 4px; /* 👈 overlap amount */
  z-index: 1;          /* 👈 BELOW TEXT but ABOVE BG */
}

.category-hero p {
  font-family: "Big Shoulders Display", Arial, sans-serif;
  font-size: 24px;
  font-weight: 500;
}

/* PROJECT ROWS */

.category-projects {
  padding: 45px 0 110px;
}

.category-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;

  padding: 0 0 70px;
  margin-bottom: 70px;

  border-bottom: 4px solid var(--brand-green-light);
}

.category-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.category-row img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  justify-self: center;

  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.category-copy {
  max-width: 430px;
}

.category-copy h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 25px;

  position: relative;
  z-index: 2;
}

.category-copy p {
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 35px;
}

/* RESPONSIVE */

@media (max-width: 850px) {
  .category-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 35px;
  }

  .category-copy {
    justify-self: center;
  }
}