/* ——— Closing ——— */

.closing {
  --layout-ref-w: 798;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  container-type: inline-size;
  overflow: hidden;
  background-color: #2f6b2a;
}

.closing__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.closing__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.closing__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  padding: calc(64 * 100cqw / var(--layout-ref-w)) 0 0;
  box-sizing: border-box;
}

.closing__card {
  position: relative;
  width: min(100%, calc(760 * 100cqw / var(--layout-ref-w)));
  margin: 0;
}

.closing__envelope {
  display: block;
  width: 100%;
  height: auto;
}

.closing__quote {
  position: absolute;
  top: 12%;
  right: 30%;
  bottom: 43%;
  left: 14%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75em;
  margin: 0;
  color: #373e42;
  font-family: "Times New Roman", Times, serif;
  font-size: calc(16 * 100cqw / var(--layout-ref-w));
  font-weight: 400;
  line-height: 1.42;
  text-align: center;
}

.closing__quote p {
  margin: 0;
}

.closing__quote b {
  font-weight: 400;
  color: #903b3d;
}

@media (max-width: 767px) {
  .closing__inner {
    padding-top: 1.75rem;
  }

  .closing__card {
    width: 100%;
  }

  .closing__quote {
    font-size: 0.68rem;
    line-height: 1.38;
  }
}
