.a-frame-hero > img {
  object-position: center 42%;
}

.a-frame-benefit-grid,
.a-frame-steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.a-frame-benefit-grid article,
.a-frame-steps article {
  min-width: 0;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.a-frame-benefit-grid svg {
  width: 26px;
  height: 26px;
  margin-bottom: 26px;
  color: var(--forest);
}

.a-frame-benefit-grid h3,
.a-frame-steps h3 {
  font-size: 1.2rem;
}

.a-frame-benefit-grid p,
.a-frame-steps p {
  margin: 13px 0 0;
  font-size: 0.82rem;
}

.a-frame-climate .seo-split-copy {
  order: 1;
}

.a-frame-climate .seo-split-media {
  order: 2;
}

.a-frame-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding: 16px;
  color: var(--forest-deep);
  background: #eaf3fa;
  border-left: 3px solid var(--forest);
  border-radius: 3px;
  font-size: 0.76rem;
}

.a-frame-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.a-frame-steps article {
  position: relative;
  padding-top: 66px;
}

.a-frame-steps span {
  position: absolute;
  top: 25px;
  left: 30px;
  color: var(--rust);
  font-size: 0.68rem;
  font-weight: 700;
}

.a-frame-gallery-section {
  background: var(--white) !important;
}

.a-frame-gallery {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.a-frame-gallery-item {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 0;
  color: var(--white);
  background: var(--forest-deep);
  border: 0;
  border-radius: 4px;
  cursor: zoom-in;
}

.a-frame-gallery-item.is-feature {
  aspect-ratio: auto;
  grid-column: span 2;
  grid-row: span 2;
}

.a-frame-gallery-item::after {
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(7, 31, 57, 0.78));
  content: "";
}

.a-frame-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.a-frame-gallery-item:hover img,
.a-frame-gallery-item:focus-visible img {
  transform: scale(1.025);
}

.a-frame-gallery-item span {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 14px;
  left: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: left;
}

.a-frame-lightbox {
  width: min(calc(100% - 40px), 1100px);
  max-width: none;
  height: min(calc(100% - 40px), 900px);
  max-height: none;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: #071f39;
  border: 0;
  border-radius: 6px;
}

.a-frame-lightbox::backdrop {
  background: rgba(3, 16, 28, 0.88);
  backdrop-filter: blur(4px);
}

.a-frame-lightbox figure {
  display: grid;
  width: 100%;
  height: 100%;
  margin: 0;
  place-items: center;
}

.a-frame-lightbox figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.a-frame-lightbox figcaption {
  position: absolute;
  right: 74px;
  bottom: 18px;
  left: 74px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
  text-align: center;
}

.a-frame-lightbox .icon-button {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: rgba(7, 31, 57, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}

.a-frame-lightbox-close {
  top: 14px;
  right: 14px;
}

.a-frame-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.a-frame-lightbox-nav.is-previous {
  left: 14px;
}

.a-frame-lightbox-nav.is-next {
  right: 14px;
}

@media (max-width: 1000px) {
  .a-frame-benefit-grid,
  .a-frame-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .a-frame-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .a-frame-hero > img {
    object-position: 53% center;
  }

  .a-frame-benefit-grid,
  .a-frame-steps {
    grid-template-columns: 1fr;
  }

  .a-frame-benefit-grid article,
  .a-frame-steps article {
    padding: 24px;
  }

  .a-frame-steps article {
    padding-top: 58px;
  }

  .a-frame-steps span {
    top: 22px;
    left: 24px;
  }

  .a-frame-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .a-frame-gallery-item.is-feature {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }

  .a-frame-gallery-item span {
    right: 10px;
    bottom: 10px;
    left: 10px;
    font-size: 0.66rem;
  }

  .a-frame-lightbox {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
  }

  .a-frame-lightbox .icon-button {
    width: 40px;
    height: 40px;
  }

  .a-frame-lightbox-nav.is-previous {
    left: 8px;
  }

  .a-frame-lightbox-nav.is-next {
    right: 8px;
  }
}
