body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #2D2D2D;
}

.devotional-content {
  font-size: 1.125rem;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: #2D2D2D;
  font-family: 'Inter', sans-serif;
}

.verse-text {
  font-size: 1.25rem;
  line-height: 1.6;
  font-style: italic;
  color: #2D2D2D;
}

blockquote cite {
  font-size: 0.875rem;
  color: #4D6651;
}

.devotional-prayer,
.devotional-faithfocus {
  font-size: 1rem;
  line-height: 1.7;
  color: #4D6651;
}

.devotional-faithfocus {
  font-weight: 500;
}

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Footer placeholder: prevent layout shift on injection */
#footer-placeholder {
  min-height: 120px;
}

@media (min-width: 640px) {
  #footer-placeholder {
    min-height: 140px;
  }
}

@media (min-width: 1024px) {
  #footer-placeholder {
    min-height: 160px;
}

/* Center the last blog card if alone in row on desktop (3-column layout) */
  .grid > .blog-card:nth-child(3n+1):last-child {
    grid-column: 2 / span 1;
  }
}

#mobile-menu a.active {
  font-weight: 600;
  color: #2D2D2D;
  background-color: transparent; /* remove gray pill background */
  border-radius: 0; /* optional */
  padding: 0; /* remove padding box shape */
}

.emoji-neutral {
  all: unset;
  display: inline-block;
  margin-right: 0.4rem;
  font-size: inherit;
  line-height: 1;
  vertical-align: middle;
}

/* Modern Pop-out Tab Styles */
.tab-pop {
  animation: tabBounce 3s ease-in-out infinite;
}

@keyframes tabBounce {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

.tab-glow {
  box-shadow: 0 0 20px rgba(77, 102, 81, 0.3);
}

.tab-pop:hover {
  animation: none;
  transform: translateY(-5px);
}

/* Gradient text for blog titles (if you need it) */
.gradient-text {
  background: linear-gradient(135deg, #4D6651 0%, #2D2D2D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}