/* Quotes frame — Cormorant for English, Nastaliq for Urdu.
   Mood drives layout subtly. */

.quote-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.quote-content {
  max-width: 440px;
  padding: 4px 12px;
  display: flex;
  flex-direction: column;
}

.frame[data-text-side="left"] .quote-content {
  margin-right: auto;
  text-align: left;
}

.frame[data-text-side="right"] .quote-content {
  margin-left: auto;
  text-align: right;
}

.frame[data-text-side="center"] .quote-content {
  margin: 0 auto;
  text-align: center;
}

.quote-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--splash-text-3);
  text-shadow: var(--splash-shadow);
  margin-bottom: 10px;
}

.quote-eyebrow .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(216, 180, 106, 0.6);
}

.quote-english {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.32;
  letter-spacing: -0.005em;
  color: var(--splash-text);
  text-shadow: var(--splash-shadow);
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.quote-urdu {
  font-family: var(--font-urdu);
  font-size: 22px;
  line-height: 1.95;
  font-weight: 400;
  color: var(--splash-text);
  text-shadow: var(--splash-shadow);
  direction: rtl;
  text-align: right;
  margin: 0 0 6px;
}

.quote-roman {
  font-style: italic;
  font-size: var(--t-body);
  color: var(--splash-text-2);
  text-shadow: var(--splash-shadow);
  margin: 0 0 4px;
  letter-spacing: 0.01em;
}

.quote-translation {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: var(--splash-text-2);
  text-shadow: var(--splash-shadow);
  margin: 0 0 8px;
}

.quote-source {
  font-size: var(--t-caption);
  letter-spacing: 0.04em;
  color: var(--splash-text-3);
  text-shadow: var(--splash-shadow);
  font-style: italic;
  margin-bottom: 4px;
}

.quote-author {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 11px;
  color: var(--splash-text-2);
  margin-top: 2px;
}

.frame[data-text-side="right"] .quote-author {
  justify-content: flex-end;
}

.frame[data-text-side="center"] .quote-author {
  justify-content: center;
}

.quote-author .name {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--splash-text);
  text-shadow: var(--splash-shadow);
  text-transform: uppercase;
  font-size: 10px;
}

.quote-author .dates {
  font-family: var(--font-editorial);
  font-style: italic;
  color: var(--splash-text-2);
  text-shadow: var(--splash-shadow);
  font-size: 11px;
  letter-spacing: 0.01em;
}

/* Mood tints — subtle accent shift */
.frame[data-mood="hopeful"] .quote-eyebrow .dot { background: #f0c674; }
.frame[data-mood="contemplative"] .quote-eyebrow .dot { background: #6ea7c7; }
.frame[data-mood="reverent"] .quote-eyebrow .dot { background: #a584d3; }
.frame[data-mood="poetic"] .quote-eyebrow .dot { background: #e57e7e; }
.frame[data-mood="peaceful"] .quote-eyebrow .dot { background: #92c2a8; }

@media (max-width: 512px) and (max-height: 320px) {
  .quote-english {
    font-size: 18px;
  }

  .quote-urdu {
    font-size: 19px;
    line-height: 1.85;
  }

  .quote-content {
    padding: 4px 8px;
    max-width: 92%;
  }
}
