/* =========================================
   JESUS PAGE SPECIFIC STYLES (Matching Events Stack Layout)
========================================= */

.jesus-content-wrapper {
  position: relative;
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.jesus-story-card {
  position: sticky;
  top: 110px;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 1.05fr);
  min-height: 440px;
  margin-bottom: 80px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  transform-origin: center top;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.4s ease;
}

.jesus-story-card:nth-child(1) { background: rgba(30, 21, 12, 0.72); }
.jesus-story-card:nth-child(2) { background: rgba(24, 30, 21, 0.72); }
.jesus-story-card:nth-child(3) { background: rgba(30, 18, 25, 0.72); }

.jesus-story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--border-light);
}

.jesus-story-card:nth-child(1) { top: 110px; z-index: 1; }
.jesus-story-card:nth-child(2) { top: 125px; z-index: 2; }
.jesus-story-card:nth-child(3) { top: 140px; z-index: 3; }

/* Alternating Layout */
.jesus-story-card:nth-child(even) {
  grid-template-columns: minmax(300px, 1.05fr) minmax(300px, 0.95fr);
}

.jesus-story-card:nth-child(even) .jesus-image-wrapper { order: 2; }
.jesus-story-card:nth-child(even) .jesus-content { order: 1; }

/* Image Wrapper */
.jesus-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 440px;
  overflow: hidden;
  background: transparent;
}

.jesus-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  border-radius: 20px;
  background: transparent;
}

.jesus-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 35%, rgba(15, 10, 5, 0.3));
  pointer-events: none;
}

.jesus-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(15, 10, 5, 0.6));
  z-index: 2;
  pointer-events: none;
}

.jesus-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.75;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 0.9s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.6s ease,
              filter 0.6s ease;
}

.jesus-story-card:hover .jesus-image img {
  transform: scale(1.07);
  opacity: 0.9;
  filter: saturate(1) contrast(1.1);
}

/* Content */
.jesus-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px 60px;
  background: transparent;
}

.jesus-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.jesus-content h3 {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.jesus-date-main {
  margin: 0 0 12px;
  color: var(--accent-primary);
  font-size: 1.05rem;
  font-weight: 600;
}

.jesus-location-main {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.8;
}

.jesus-location-main em {
  color: var(--text-primary);
  font-style: italic;
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .jesus-story-card,
  .jesus-story-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .jesus-story-card:nth-child(even) .jesus-image-wrapper { order: 1; }
  .jesus-story-card:nth-child(even) .jesus-content { order: 2; }

  .jesus-image-wrapper { min-height: 240px; padding: 16px; }

  .jesus-content {
    min-height: auto;
    padding: 32px;
  }
}

@media (max-width: 600px) {
  .jesus-story-card {
    top: 70px !important;
    margin-bottom: 24px;
    border-radius: 18px;
    min-height: auto;
  }

  .jesus-story-card:nth-child(1) { top: 100px !important; }
  .jesus-story-card:nth-child(2) { top: 108px !important; }
  .jesus-story-card:nth-child(3) { top: 116px !important; }

  .jesus-image-wrapper { min-height: 180px; padding: 12px; }

  .jesus-content {
    min-height: auto;
    padding: 24px 20px 40px;
  }

  .jesus-content h3 { font-size: 1.5rem; margin-bottom: 8px; text-align: center; }
  .jesus-date-main { font-size: 0.9rem; margin-bottom: 8px; text-align: center; }
  .jesus-location-main { font-size: 0.85rem; text-align: center; }
}