.sustain-box {
  display: flex;
}

.sustain-media {
  position: relative;
  overflow: hidden;
}

.sustain-media::before {
  content: "";
  display: block;
  padding-bottom: 75%;
}

.sustain-media video {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sustain-eyebrow {
  position: relative;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: #000000;
}

.sustain-eyebrow::after {
  content: "";
  display: block;
  position: absolute;
  top: calc(100% + 0.125rem);
  left: 0;
  width: 2rem;
  height: 0.125rem;
  background-color: #ec1c24;
}

.sustain-title {
  margin: 0;
  font-weight: 600;
  color: #00a9ac;
}

.sustain-description {
  font-size: 1rem;
  line-height: 1.5rem;
  color: #000000;
}

.sustain-description > *:last-child {
  margin-bottom: 0;
}

.sustain-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sustain-pillar {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.125rem 0.625rem 0.875rem;
  background-color: #ffffff;
  border: 2px solid #e4e4e4;
  border-radius: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.3s ease-in-out;
}

.sustain-pillar:hover,
.sustain-pillar:focus {
  border-color: #ec1c24;
  box-shadow: 0 4px 8px 0 rgba(130, 15, 20, 0.20);
  text-decoration: none;
}

.sustain-pillar-label {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: #000000;
  text-transform: capitalize;
  white-space: nowrap;
}

.sustain-pillar-icon {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
}

.sustain-pillar-icon img {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 1025px) {
  .sustain-section {
    padding-top: 1.75rem;
  }

  .sustain-box {
    gap: 2rem;
    align-items: flex-start;
  }

  /* VIDEO_ON_LEFT = false */
  .sustain-box-reverse {
    flex-direction: row-reverse;
  }

  .sustain-media,
  .sustain-content {
    flex: 0 0 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
    min-width: 0;
  }

  .sustain-content:only-child {
    flex-basis: 100%;
    max-width: 100%;
  }

  .sustain-media {
    border-radius: 1.5rem;
  }

  .sustain-content {
    padding-top: 2rem;
  }

  .sustain-eyebrow {
    margin-bottom: 1.625rem;
  }

  .sustain-title {
    font-size: 2rem;
    line-height: 2.875rem;
    margin-bottom: 1.5rem;
  }

  .sustain-description {
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 40.5rem;
  }

  .sustain-pillars {
    margin-bottom: 3rem;
  }
}

@media (max-width: 1024px) {
  .sustain-section {
    padding-bottom: 4.5rem;
  }

  .sustain-box {
    flex-direction: column;
  }

  .sustain-media {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .sustain-content {
    width: 100%;
  }

  .sustain-eyebrow {
    margin-bottom: 0.875rem;
  }

  .sustain-title {
    font-size: 1.5rem;
    line-height: 2.125rem;
    margin-bottom: 0.75rem;
  }

  .sustain-description {
    margin-bottom: 1rem;
  }

  .sustain-pillars {
    margin-bottom: 2.5rem;
  }
}
