/* ===============================
   ðŸŒ¹ Rosary Page â€“ Premium Layout
   =============================== */

.rosary-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #fdf8f0;
  padding: 2rem;
  border: 1px solid #d4c7a1;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-family: "Crimson Pro", "Cormorant Garamond", serif;
}

/* === MYSTERY HEADER === */
.mystery-header {
  text-align: center;
  background: radial-gradient(circle at center, #fffdf6 0%, #f8eed0 85%, #e8d697 100%);
  border-radius: 14px;
  border: 2px solid #c7a855;
  box-shadow:
    0 0 20px rgba(190,160,80,0.25),
    inset 0 0 15px rgba(255,255,200,0.25);
  margin-bottom: 1.5rem;
  padding: 1rem 0 0 0;  /* tighter top, remove bottom space */
}

.mystery-image-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 18px rgba(168,140,66,0.4);
  border: 1px solid #d6c48f;
}

.mystery-image {
  display: block;
  width: 100%;
  height: 300px; /* 🔽 reduced from 500px for balance */
  object-fit: cover;
  object-position: center 70%; /* keeps Mary centered */
  border-radius: 10px;
}

.mystery-image-wrap::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  background: radial-gradient(circle at center,
    rgba(255, 248, 210, 0.35) 0%,
    rgba(212, 179, 85, 0.25) 50%,
    rgba(180, 150, 60, 0.05) 80%,
    transparent 100%);
  box-shadow:
    inset 0 0 20px rgba(255, 250, 220, 0.35),
    inset 0 0 35px rgba(200,170,80,0.25);
  border-radius: 10px;
}

/* === TITLE === */
.mystery-title {
  font-family: "Cinzel Decorative", serif;
  font-size: 2rem;
  color: #4b3b1a;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  text-shadow:
    0 1px 0 #fff8e1,
    0 0 10px rgba(180,140,60,0.4);
}


/* === INTENTIONS === */
.intentions-box {
  background: #faf6ee;
  border: 1px solid #e3d7b5;
  padding: 1rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.intentions-box h3 {
  margin-top: 0;
  color: #7b6535;
}

.intentions-box textarea {
  width: 100%;
  height: 80px;
  border: none;
  resize: none;
  padding: 0.5rem;
  background: #fffdf7;
  font-size: 1rem;
  border-radius: 6px;
}

/* === PRAYER TEXT COLUMNS === */
.prayer-columns {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.prayer-columns div {
  flex: 1;
  padding: 1rem;
  border-left: 2px solid #e6d3a2;
}

.prayer-columns h4 {
  font-family: "Cinzel", serif;
  color: #7b6535;
  border-bottom: 1px solid #d4c7a1;
  padding-bottom: 0.25rem;
}

/* === HAIL MARY PROGRESS === */
.hailmary-progress {
  text-align: center;
  margin: 2rem 0;
  font-size: 1.2rem;
  color: #a6935a;
  letter-spacing: 0.25rem;
}

.hailmary-progress span.active {
  color: #c5a44a;
  font-weight: bold;
  text-shadow: 0 0 6px rgba(197,164,74,0.6);
}

/* === NAVIGATION === */
.rosary-nav {
  text-align: center;
  margin-top: 2rem;
}

.nav-btn {
  background: #c5a44a;
  color: #fffdf7;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  margin: 0 0.5rem;
  cursor: pointer;
  font-family: "Cinzel", serif;
  font-size: 1rem;
  transition: background 0.3s;
}

.nav-btn:hover {
  background: #b28f3e;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .mystery-title {
    font-size: 1.6rem;
  }
  .mystery-image-wrap {
    max-width: 100%;
  }
  .prayer-columns {
    flex-direction: column;
  }
}
.mystery-title {
  position: relative;
  margin-bottom: 1rem;
}

.mystery-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  background: linear-gradient(to right, #d6b85f, #fff8e1, #d6b85f);
  margin: 0.75rem auto 0;
  border-radius: 3px;
}