/* Developer notes — staging cream card */

.notes {
  position: relative;
  background: #fff;
}

.back-to-top {
  position: absolute;
  inset: auto 22px 48px auto;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #e0bb7f;
  border-radius: 100%;
  background-color: transparent;
  transition: background-color 0.2s;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background-color: #e0bb7f1a;
}

.back-to-top img {
  width: 32px;
  height: 32px;
  transform: rotate(180deg);
}

.notes .container {
  display: flex;
  justify-content: center;
}

.notes__card {
  position: relative;
  background-color: #efe8dd;
  width: 928px;
  max-width: 100%;
  min-height: 457px;
  margin: 0 auto;
  padding: 26px 36px;
  box-sizing: border-box;
}

.notes__quotes {
  position: absolute;
  top: 42px;
  right: 50px;
  width: auto;
  height: auto;
  pointer-events: none;
}

.notes__logo {
  position: absolute;
  inset: auto 36px 54px auto;
  display: block;
  width: 132px;
  height: auto;
  max-width: 36vw;
  margin: 0;
  filter: brightness(0);
}

.notes__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 655px;
  max-width: 100%;
  align-items: flex-start;
}

.notes__title-block {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.notes__title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 46px;
  color: #121212;
  margin: 0;
}

.notes__divider {
  background-color: #e0bb7f;
  height: 3px;
  width: 100%;
}

.notes__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.notes__quote {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  font-style: italic;
  line-height: 160%;
  color: #121212;
  margin: 0;
}

.notes__cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: #121212;
}

@media screen and (max-width: 991px) {
  .notes__card {
    width: 100%;
    min-height: 0;
    padding: 24px;
  }

  .notes__logo {
    inset: auto auto 16px 24px;
    width: 118px;
    max-width: 40vw;
  }

  .notes__quotes {
    width: 56px;
    max-width: 56px;
  }

  .notes__content {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .back-to-top {
    inset: auto 16px 24px auto;
    width: 40px;
    height: 40px;
  }

  .notes__card {
    height: 380px;
    min-height: 380px;
    padding: 20px 16px;
  }

  .notes__quotes {
    top: 16px;
    right: 16px;
    width: 40px;
    max-width: 40px;
  }

  .notes__logo {
    width: 108px;
    max-width: 48vw;
  }

  .notes__content {
    padding-right: 36px;
  }

  .notes__title {
    font-size: 24px;
    line-height: 1.2em;
  }

  .notes__quote {
    font-size: 18px;
    line-height: 1.45em;
  }

  .notes__cite {
    font-size: 16px;
  }
}

@media screen and (max-width: 479px) {
  .notes__card {
    height: 540px;
    min-height: 540px;
    padding: 16px;
  }

  .notes__logo {
    left: 16px;
  }
}
