/* ==========================================================
   Life topical quote page additions.
   Builds on /css/quote.css.
   ========================================================== */

.page-quote.page-quote-life .life-quote-topic-context {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  margin: 0 auto 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--quote-line);
  border-radius: var(--quote-radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--quote-shadow-soft);
}

.page-quote.page-quote-life .life-quote-topic-context > div {
  min-width: 0;
}

.page-quote.page-quote-life .life-quote-topic-context strong,
.page-quote.page-quote-life .life-quote-topic-context span {
  display: block;
}

.page-quote.page-quote-life .life-quote-topic-context strong {
  margin-bottom: 0.2rem;
  color: var(--quote-deep);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
}

.page-quote.page-quote-life .life-quote-topic-context span {
  color: var(--quote-ink-soft);
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
}

.page-quote.page-quote-life .life-quote-topic-context a {
  flex: 0 0 auto;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .page-quote.page-quote-life .life-quote-topic-context {
    display: block;
  }

  .page-quote.page-quote-life .life-quote-topic-context a {
    display: inline-block;
    margin-top: 0.65rem;
    white-space: normal;
  }
}
