.pg-section {
  position: relative;
  padding-block: var(--pg-section-y);
}

.pg-section-sm {
  position: relative;
  padding-block: var(--pg-section-y-sm);
}

.pg-section-dark {
  background: var(--pg-green-900);
  color: var(--pg-cream-light);
}

.pg-section-dark h1,
.pg-section-dark h2,
.pg-section-dark h3,
.pg-section-dark h4,
.pg-section-dark h5,
.pg-section-dark h6,
.pg-section-dark p,
.pg-section-dark li {
  color: var(--pg-cream-light);
}

.pg-container {
  width: min(100% - 40px, var(--pg-container));
  margin-inline: auto;
}

.pg-container-wide {
  width: min(100% - 40px, var(--pg-container-wide));
  margin-inline: auto;
}

.pg-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.pg-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.pg-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 32px);
}

.pg-stack-sm > * + * {
  margin-top: 12px;
}

.pg-stack-md > * + * {
  margin-top: 24px;
}

.pg-stack-lg > * + * {
  margin-top: 40px;
}

.pg-center {
  text-align: center;
}

.pg-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

@media (max-width: 1024px) {
  .pg-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .pg-container,
  .pg-container-wide {
    width: min(100% - 28px, var(--pg-container));
  }

  .pg-grid-2,
  .pg-grid-3,
  .pg-grid-4 {
    grid-template-columns: 1fr;
  }

  .pg-split {
    flex-direction: column;
    align-items: flex-start;
  }
}