/* Closing invitation in the three-tool article. Style the paragraph containing the signup link. WordPress can append an empty paragraph. */
body.wn-librarian-journey-guide #page #content #post-5670577 .wn-studio-journey > .journey-finish {
  --finish-gutter: clamp(1rem, 3vw, 2rem);
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: start;
  gap: 0;
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  padding: 0 !important;
  border: 1px solid #dfd5df !important;
  border-radius: 15px !important;
  background: linear-gradient(105deg, #fff, #fdfbf8 55%, #f6eff6) !important;
  box-shadow: 0 2px 3px rgb(57 38 59 / 3%), 0 10px 24px -17px rgb(68 39 65 / 26%) !important;

  & > p:empty { display: none !important; }
  & > h2 {
    grid-column: 1;
    margin: 0 !important;
    padding: clamp(1.15rem, 2.8vw, 1.7rem) var(--finish-gutter) 0 !important;
    color: #243b53 !important;
    text-align: start !important;
    font: normal clamp(1.42rem, 2.65vw, 1.8rem)/1.15 "Times New Roman", Times, serif !important;
    letter-spacing: -.018em;
  }
  & > p:not(:has(a.signup)):not(:empty) {
    grid-column: 1;
    min-width: 0;
    max-width: 65ch;
    margin: 0 !important;
    padding: .55rem var(--finish-gutter) clamp(1.2rem, 2.9vw, 1.7rem) !important;
    box-sizing: border-box;
    color: #334e68 !important;
    text-align: start !important;
    font: normal clamp(1rem, 1.7vw, 1.12rem)/1.47 "Times New Roman", Times, serif !important;
  }
  & > p:has(a.signup) {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    margin: 0 !important;
    padding: 1rem var(--finish-gutter) !important;
    border-inline-start: 1px solid #dfd5df;
    background: linear-gradient(100deg, rgb(248 244 245 / 76%), rgb(244 236 244 / 86%));
  }
  & a.button.signup {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: .8rem !important;
    box-sizing: border-box;
    min-height: 44px;
    width: auto !important;
    margin: 0 !important;
    padding: .67rem 1.05rem !important;
    border: 1px solid #82247f !important;
    border-radius: 7px !important;
    background: #92278f !important;
    color: #fff !important;
    box-shadow: 0 1px 2px rgb(68 24 65 / 12%) !important;
    text-decoration: none !important;
    white-space: nowrap;
    font: normal 1.08rem/1.25 "Times New Roman", Times, serif !important;
  }
  & a.button.signup:hover { background: #772077 !important; }
  & a.button.signup:focus-visible { outline: 2px solid #772077 !important; outline-offset: 3px !important; }
  & a.button.signup::after { content: "↗" / ""; display: inline; font-size: 1.12em; line-height: 1; }

  @media (max-width: 680px) {
    grid-template-columns: minmax(0,1fr);
    & > p:has(a.signup) {
      grid-column: 1;
      grid-row: auto;
      justify-content: flex-start;
      padding: .75rem var(--finish-gutter) !important;
      border-inline-start: 0;
      border-top: 1px solid #dfd5df;
    }
  }
}
