/* ---------- Base & centering ---------- */
.observances-page {
  font-family: 'Caudex', serif;
  color: #f4f4f4;
}
.observances-page.container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.centered {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- Wheel hero ---------- */
.wheel-figure { margin: 0; }
.wheel-image {
  width: 100%;
  max-width: 700px;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(80,200,120,0.28);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35), 0 0 20px rgba(80,200,120,0.25);
}
.wheel-caption {
  margin-top: 0.75rem;
  font-size: 0.98rem;
  opacity: 0.9;
}

/* ---------- Section titles & notes ---------- */
.section-title {
  color: #50C878;
  text-align: center;
  font-size: 1.9rem;
  margin: 1rem auto 1rem;
  text-shadow: 0 0 8px rgba(38, 166, 75, 0.6);
}
.nh-note {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

/* ---------- Sabbats grid ---------- */
.sabbats { margin-top: 1.25rem; }

.sabbats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
@media (max-width: 992px) {
  .sabbats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sabbats-grid { grid-template-columns: 1fr; }
}

.sabbat-card {
  background: radial-gradient(120% 120% at 10% 0%, rgba(80,200,120,0.18) 0%, rgba(20,50,35,0.55) 60%, rgba(10,20,15,0.65) 100%);
  border: 1px solid rgba(80,200,120,0.28);
  padding: 1.1rem 1rem;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sabbat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.36);
  border-color: rgba(80,200,120,0.45);
}

.sabbat-card h3 {
  color: #bdf4d2;
  font-size: 1.2rem;
  margin: 0 0 0.2rem 0;
}
.sabbat-card h3 .sub {
  display: block;
  font-size: 0.9rem;
  color: #9be9c8;
  opacity: 0.9;
}
.sabbat-card .date {
  color: #50C878;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 0.25rem;
}
.sabbat-card .desc {
  font-size: 0.95rem;
  opacity: 0.95;
  margin: 0;
}

/* ---------- Moon phases ---------- */
.moon-phases { margin-top: 2.25rem; }

.phases-figure { margin: 0 0 0.75rem; }
.phases-image {
  width: 100%;
  max-width: 680px;
  display: block;
  margin: 0.25rem auto 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(80,200,120,0.28);
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
}

.phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  max-width: 900px;
  margin: 0.75rem auto 0;
}
@media (max-width: 992px) {
  .phases-grid { grid-template-columns: 1fr; }
}

.phase {
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(80,200,120,0.28);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
}
.phase img {
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto 0.5rem;
  filter: drop-shadow(0 0 8px rgba(80,200,120,0.35));
}
.phase figcaption {
  color: #e7f9f0;
  font-size: 1rem;
}

.phases-figure {
  margin: 0 auto 0.75rem;
  text-align: center;
}

.phases-image {
  display: block;
  margin: 0 auto;
}


/* ---------- CTA Buttons (exact match to Beliefs page) ---------- */
.cta-container { margin: 40px 0; }
.cta-container:not(.bottom-nav) { text-align: center; }

.cta-container.bottom-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  max-width: 700px;
  margin: 2rem auto 4rem;
  padding: 0;
}

.cta-button {
  flex: 1 1 0;
  padding: 14px 0;
  min-width: 160px;
  text-align: center;
  font-size: 1.1rem;
  font-family: 'Cinzel', serif;
  color: #eaeaea;
  background: linear-gradient(135deg, #0a0f0a, #133d29);
  border: 2px solid #2ecc71;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.4), inset 0 0 8px rgba(46, 204, 113, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
}
.cta-button:hover::before { animation: shimmer 1.5s ease forwards; }

@keyframes shimmer {
  0% { left: -75%; }
  100% { left: 125%; }
}

.cta-button:hover {
  color: #fff;
  background: linear-gradient(135deg, #133d29, #1a6b47);
  box-shadow: 0 0 20px rgba(46, 204, 113, 0.8), inset 0 0 12px rgba(46, 204, 113, 0.5);
  transform: translateY(-2px);
}
.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 0 10px rgba(46, 204, 113, 0.6), inset 0 0 6px rgba(46, 204, 113, 0.4);
}

@media (max-width: 600px) {
  .cta-container.bottom-nav {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .cta-button {
    width: 100%;
    padding: 0.75rem 1rem;
    line-height: 1.4;
    min-height: 48px;
    display: flex; align-items: center; justify-content: center;
  }
}
