@import url(./page-bottom-decor.css);
@import url(./icons.css);

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.sustainability {
  position: relative;
  z-index: 1;
  padding-top: 2rem;
}

.section-message {
  color: #001529;
  font-weight: 500;
}

.section-message .highlight {
  color: #004099;
  font-size: clamp(24px,2.22vw,32px);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  margin-right: 0.5rem;
}

.card-sustain {
  --bs-card-spacer-y: 1.25rem;
  --bs-card-spacer-x: 1.25rem;
  --bs-card-title-spacer-y: 0.62rem;
  --bs-card-title-color: #004099;
  --bs-card-color: #001529;
  --bs-card-bg: #FFF;
  --bs-card-border-width: 0;
  --bs-card-border-radius: 1.875rem;
  --bs-card-inner-border-radius: 1rem;
  margin-top: 1rem;
}

.card-sustain .card-img-top {
  display: block;
  width: 100%;
  height: 7.5rem;
  overflow: hidden;
  padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x) 0 var(--bs-card-spacer-y);
}

.card-sustain .card-img-top > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
  border-radius: var(--bs-card-inner-border-radius);
}

.card-sustain .card-body {
  display: flex;
  font-weight: 500;
}
.card-sustain .card-body > * {
  flex: 1 0 50%;
}

.card-sustain .card-content {
  display: flex;
  flex-flow: column;
  margin-bottom: 0.75rem;
}

.card-sustain .card-title {
  color: #004099;
  font-size: clamp(24px,2.22vw,32px);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.sustainable-goals {
  display: flex;
  flex-flow: row;
  gap: 0.5rem;
}

.sustainable-goals > img {
  width: 3.125rem;
  height: 3.125rem;
}

.card-links {
  display: flex;
  flex-flow: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

.link-sustain {
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.5rem;
  border: 1px solid #FFF;
  width: 100%;
  padding: 0.62rem 1.25rem;
  text-decoration: none;
}
.link-sustain .link-content {
  display: flex;
  flex-flow: column;
  justify-content: center;
}
.link-sustain .card-icon {
  width: 2rem;
  height: 2rem;
}
.link-sustain .link-text {
  color: #FFF;
  font-weight: 700;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.link-sustain.bg-1 {
  background: linear-gradient(282deg, #91F17E -4.75%, #005BD8 41.57%);
}
.link-sustain.bg-2 {
  background: linear-gradient(77deg, #91F17E -4.25%, #005BD8 38.29%);
}
.link-sustain.bg-3 {
  background: linear-gradient(252deg, #91F17E -7.93%, #005BD8 38.08%);
}
.link-sustain.bg-4 {
  background: linear-gradient(101deg, #91F17E -0.83%, #005BD8 40.8%);
}

@media screen and (min-width: 992px) {
  .sustainability {
    padding-bottom: 2rem;
  }

  .card-sustain {
    --bs-card-spacer-y: 1.88rem;
    --bs-card-spacer-x: 1.88rem;
  }
  .card-sustain .card-img-top {
    height: 17.5rem;
  }
  .card-sustain .card-body {
    gap: 2rem;
  }
  .card-sustain .card-body > * {
    flex: 1 0 auto;
  }
  .card-sustain .card-content {
    margin-bottom: 1rem;
  }

  .sustainable-goals {
    gap: 0.75rem;
  }
  .sustainable-goals > img {
    width: 6.25rem;
    height: 6.25rem;
  }

  .card-links {
    padding-top: 1rem;
    gap: 0.75rem;
  }

  .link-sustain {
    padding: 1rem 1.87rem;
  }
  .link-sustain .card-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}