
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 3rem 0;
}

.feature-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.feature-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: bold;
}

/* stack on phones, image on top */
@media (max-width: 700px) {
  .feature { grid-template-columns: 1fr; }
  .feature-image { order: -1; }
}

.hack .feature {
  padding: 12px;
}

/* 1st, 3rd, 5th... : white band, image on the right */
.feature:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.05);
}

/* 2nd, 4th, 6th... : no background, image on the left */
.feature:nth-of-type(even) .feature-image {
  order: -1;
}
