/* 21 Days Hub & Responsive Cards */
.devotional-hub {
  margin-bottom: 2rem;
  background: var(--bg-card);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.days-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
  gap: 0.45rem;
  margin-top: 1rem;
}

.day-btn {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.day-btn:hover {
  border-color: var(--color-gold);
  background: var(--color-gold-bg);
}

.day-btn.active {
  background: var(--color-terracotta);
  color: #FFFFFF;
  border-color: var(--color-terracotta);
}

.day-btn.completed::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 5px;
  height: 5px;
  background: var(--color-gold);
  border-radius: 50%;
}

.day-btn.active.completed::after {
  background: #FFFFFF;
}

/* Devotional Card Detail with Wider Mobile Width */
.day-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

@media (max-width: 640px) {
  .day-card {
    padding: 1.25rem 0.85rem;
    border-radius: var(--radius-md);
  }
  .devotional-hub {
    padding: 1rem 0.75rem;
  }
}

.day-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
}

.day-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.day-card-title {
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  color: var(--color-navy);
}

/* Reflection & Journal Area */
.journal-section {
  background: var(--bg-card-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  margin-top: 1.75rem;
  border: 1px solid var(--border-light);
}

.journal-prompt {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-terracotta);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
}

.journal-textarea {
  width: 100%;
  min-height: 130px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  font-family: var(--font-serif-text);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
  resize: vertical;
}

.journal-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
}

.journal-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.75rem;
}

/* Challenge Checklist */
.challenge-box {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--color-gold-bg);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin-top: 1.5rem;
  border-left: 4px solid var(--color-gold);
}

.challenge-checkbox {
  width: 1.35rem;
  height: 1.35rem;
  accent-color: var(--color-terracotta);
  cursor: pointer;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.challenge-text {
  font-size: 0.925rem;
  line-height: 1.6;
  cursor: pointer;
}

.challenge-text strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 0.2rem;
}
