/* "Review your past readings" near the top of the monthly, daily and yearly sign pages
   (template-parts/reading-review.php) */

.rr {
  --rr-night: #1a0f2e;
  --rr-night-2: #2a1845;
  --rr-gold: #D4A574;
  --rr-gold-light: #E8C9A1;

  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 32px;
  margin: 0 0 36px;
  padding: 26px 30px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(212, 165, 116, 0.26), transparent 60%),
    linear-gradient(145deg, var(--rr-night-2), var(--rr-night));
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(26, 15, 46, 0.18);
}

/* Large faint sign glyph behind the text */
.rr__glyph {
  position: absolute;
  right: 18px;
  bottom: -34px;
  font-size: 9.5rem;
  color: rgba(212, 165, 116, 0.09);
  pointer-events: none;
}

.rr__body,
.rr__actions { position: relative; }

.rr__eyebrow {
  margin: 0 0 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rr-gold);
}

.rr .rr__title {
  margin: 0 0 10px;
  padding: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
  border: 0;
  text-wrap: balance;
}

.rr .rr__title::before,
.rr .rr__title::after { content: none; }

.rr .rr__text {
  margin: 0;
  max-width: 60ch;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.rr__text strong { color: #fff; }

.rr__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.rr .rr__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--rr-night);
  text-decoration: none;
  background: var(--rr-gold);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(212, 165, 116, 0.35);
  transition: background 0.15s, transform 0.15s;
}

.rr .rr__btn:hover {
  color: var(--rr-night);
  text-decoration: none;
  background: var(--rr-gold-light);
  transform: translateY(-1px);
}

.rr .rr__btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.rr .rr__note {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
}

.rr .rr__note a {
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rr .rr__note a:hover { color: var(--rr-gold-light); }

@media (max-width: 760px) {
  .rr {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 20px;
    margin-bottom: 28px;
  }
  .rr__glyph { right: 4px; bottom: -26px; font-size: 7rem; }
  .rr__actions { align-items: stretch; }
  .rr .rr__btn { justify-content: center; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .rr .rr__btn { transition: none; }
}
