.h2-image-section {
  width: 100%;
  background: #000;
  color: #f5f2ea;
}

.h2-image-section__inner {
  display: grid;
  width: min(100%, 80.625rem);
  margin: 0 auto;
  padding: 6rem var(--container-padding, 1.5rem);
  grid-template-columns: minmax(0, 39.375rem) minmax(0, 38.75rem);
  align-items: center;
  justify-content: space-between;
  gap: 1.875rem;
  box-sizing: border-box;
}

.h2-image-section__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.h2-image-section__title {
  width: min(100%, 39.25rem);
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: var(--fs-section-title);
  font-weight: 700;
  line-height: 1.1;
  color: #f5f2ea;
}

.h2-image-section__body {
  width: min(100%, 39.375rem);
  font-family: Inter, sans-serif;
  font-size: var(--fs-card-text);
  font-weight: 400;
  line-height: 1.6;
  color: #f5f2ea;
}

.h2-image-section__body p {
  margin: 0;
}

.h2-image-section__body p + p {
  margin-top: 1rem;
}

.h2-image-section__visual {
  min-width: 0;
  justify-self: end;
  width: min(100%, 38.75rem);
}

.h2-image-section__frame {
  position: relative;
  width: min(100%, 38.75rem);
  aspect-ratio: 1 / 1;
}

.h2-image-section__image,
.h2-image-section__frame picture,
.h2-image-section__frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h2-image-section__frame-border {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  bottom: -1.5rem;
  left: -1.5rem;
  z-index: 0;
  border: 3px solid #dc3610;
  pointer-events: none;
}

@media (max-width: 1099px) {
  .h2-image-section__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .h2-image-section__visual {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .h2-image-section__inner {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .h2-image-section__frame-border {
    top: 1rem;
    right: 1rem;
    bottom: -1rem;
    left: -1rem;
  }
}
