.page-house {
  background: #f5f5f5;
  color: #3f3f3f;
}

/* Header overlay and hero tweaks for House of Prayer */
.page-house .site-header__overlay {
  background: linear-gradient(135deg, rgba(63, 63, 63, 0.72) 0%, rgba(63, 63, 63, 0.6) 50%, rgba(63, 63, 63, 0.72) 100%);
}

.page-house .hero__eyebrow {
  color: #fadcb6;
}

/* Use index peach palette for headings and text */
.page-house .hope-section__title {
  color: #3f3f3f;
  text-shadow: 0 20px 40px rgba(63, 63, 63, 0.12);
}

.page-house .hope-section__lead {
  color: rgba(63, 63, 63, 0.78);
}

.page-house .hope-eyebrow {
  color: #fadcb6;
}

/* Buttons use the index peach palette */
.page-house .button--primary {
  background: #fadcb6;
  color: #3f3f3f;
  box-shadow: 0 12px 28px rgba(63, 63, 63, 0.16);
}

.page-house .button--primary:hover,
.page-house .button--primary:focus {
  background: #fce6ca;
  color: #3f3f3f;
  box-shadow: 0 16px 36px rgba(63, 63, 63, 0.2);
}

/* Sections: softer neutral/peach backgrounds */

.page-house .hope-section--vision {
  background: #f5f5f5;
}

.page-house .hope-section--cta {
  background: linear-gradient(130deg, rgba(0, 0, 0, 0.9) 0%, rgba(63, 63, 63, 0.9) 45%, rgba(250, 220, 182, 0.9) 100%);
  color: #ffffff;
}

/* Connect section overrides for House of Prayer page */

/* Refactored gradient with fallback color for production compatibility */
.page-house .section__inner--connect {
  min-height: 60vh;
  padding: 80px 20px;
  /* Fallback solid color for browsers that don't support gradients or if gradient fails */
  background-color: #242f4a;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-house .connect-summary {
  color: #f6f6f6;
}

.page-house .connect-summary .section__eyebrow {
  color: rgba(250, 220, 182, 0.9);
}

.page-house .section__inner--connect .section__title {
  color: #ffffff;
}

.page-house .section__inner--connect .section__lead {
  color: rgba(245, 245, 245, 0.9);
}

.page-house .section--connect .button--primary {
  background: #fadcb6;
  color: #111111;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.page-house .section--connect .button--primary:hover,
.page-house .section--connect .button--primary:focus {
  background: #ffe7c9;
  color: #111111;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.6);
}
/* Intercession / Trainings / Sending sections (used as slides inside scroll-stage) */
.page-house .hope-section--intercession,
.page-house .hope-section--trainings,
.page-house .hope-section--sending {
  background: #f5f5f5;
  padding: clamp(80px, 12vw, 120px) 0;
}

.page-house .hope-section--intercession .hope-section__inner,
.page-house .hope-section--trainings .hope-section__inner,
.page-house .hope-section--sending .hope-section__inner {
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
}

.page-house .house-block--intercession,
.page-house .house-block--trainings,
.page-house .house-block--sending {
  border-radius: 24px;
  overflow: hidden;

  background-color: #252f4a;
}
.page-house .hope-section--intercession .house-block__main,
.page-house .hope-section--trainings .house-block__main,
.page-house .hope-section--sending .house-block__main {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  min-height: 500px;
  gap: 0;
}
.page-house .hope-section--intercession .house-block__content,
.page-house .hope-section--trainings .house-block__content,
.page-house .hope-section--sending .house-block__content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 8vw, 64px);
  background-color: #252f4a;
}
.page-house .hope-section--intercession .house-block__image,
.page-house .hope-section--trainings .house-block__image,
.page-house .hope-section--sending .house-block__image {
  flex: 1 1 50%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-house .house-block__image--intercession {
  background-image: url("../assets/house-of-prayer/house-1.webp");
}

.page-house .house-block__image--trainings {
  background-image: url("../assets/house-of-prayer/house-2.webp");
}

.page-house .house-block__image--sending {
  background-image: url("../assets/house-of-prayer/house-3.webp");
}

.page-house .hope-section__content--intercession {
  align-items: flex-start;
  gap: 20px;
}

/* Typography and schedule colors for intercession layout */
.page-house .hope-section--intercession .house-block__content .hope-eyebrow,
.page-house .hope-section--trainings .house-block__content .hope-eyebrow,
.page-house .hope-section--sending .house-block__content .hope-eyebrow,
.page-house .hope-section--intercession .house-block__content .hope-eyebrow--sub {
  color: rgba(255, 255, 255, 0.7);
}
.page-house .hope-section--intercession .house-block__content .hope-section__title,
.page-house .hope-section--trainings .house-block__content .hope-section__title,
.page-house .hope-section--sending .house-block__content .hope-section__title {
  color: #ffffff;
}
.page-house .hope-section--intercession .house-block__content .hope-section__lead,
.page-house .hope-section--trainings .house-block__content .hope-section__lead,
.page-house .hope-section--sending .house-block__content .hope-section__lead,
.page-house .hope-section--sending .house-block__content .hope-section__lead--secondary {
  color: rgba(255, 255, 255, 0.85);
}

.page-house .hope-section--intercession .hope-schedule__list {
  color: rgba(255, 255, 255, 0.9);
}

.page-house .hope-section--intercession .hope-schedule__list li::before {
  background: linear-gradient(135deg, #f4e1b8 0%, #ffffff 100%);
  box-shadow: 0 4px 10px rgba(244, 225, 184, 0.7);
}

@media (max-width: 720px) {
  .page-house .hope-section--intercession .house-block__main,
  .page-house .hope-section--trainings .house-block__main,
  .page-house .hope-section--sending .house-block__main {
    flex-direction: column;
    min-height: auto;
  }

  .page-house .hope-section--intercession .house-block__image,
  .page-house .hope-section--trainings .house-block__image,
  .page-house .hope-section--sending .house-block__image {
    min-height: 260px;
  }
}

.page-house .hope-section__lead--secondary {
  margin-top: 4px;
}

.page-house .hope-schedule {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-house .hope-eyebrow--sub {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(63, 63, 63, 0.6);
}

.page-house .hope-schedule__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(63, 63, 63, 0.9);
}

.page-house .hope-schedule__list li {
  position: relative;
  padding-left: 20px;
}

.page-house .hope-schedule__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fadcb6 0%, #ffffff 100%);
  box-shadow: 0 4px 10px rgba(250, 220, 182, 0.6);
  transform: translateY(-50%);
}

/* Impact background and cards with darker neutral look */
.page-house .hope-impact__background {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.88), rgba(63, 63, 63, 0.9)),
    url("../assets/img/foto-3.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.95;
  pointer-events: none;
}

.page-house .hope-impact-card {
  background: rgba(0, 0, 0, 0.62);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(250, 220, 182, 0.6);
}

.page-house .hope-impact-card::after {
  background: radial-gradient(circle at top left, rgba(250, 220, 182, 0.32), transparent 55%);
}

.page-house .hope-impact-card:hover,
.page-house .hope-impact-card:focus-visible {
  border-color: rgba(250, 220, 182, 0.95);
}

.page-house .hope-impact-card__eyebrow {
  color: rgba(250, 220, 182, 0.9);
}

.page-house .hope-impact-card__cta {
  color: rgba(250, 220, 182, 0.95);
}

/* Impact modal and slider accents in neutral/peach */
.page-house .hope-impact-modal__backdrop {
  background: rgba(0, 0, 0, 0.8);
}

.page-house .hope-impact-modal__dialog {
  background: radial-gradient(circle at top left, rgba(250, 220, 182, 0.18), rgba(0, 0, 0, 0.96));
}

.page-house .hope-impact-slider__viewport {
  background: #111111;
  border: 1px solid rgba(250, 220, 182, 0.5);
}

.page-house .hope-impact-slider__dots {
  background: rgba(0, 0, 0, 0.7);
}

.page-house .hope-impact-slider__dot {
  background: rgba(250, 220, 182, 0.35);
}

.page-house .hope-impact-slider__dot.is-active {
  background: rgba(250, 220, 182, 0.95);
}

/* Generic scroll-stage sticky scrollytelling container */
.scroll-stage {
  position: relative;
}

.scroll-stage__spacer {
  --scroll-stage-slides: 3;
  position: relative;
  height: calc(var(--scroll-stage-slides) * 100dvh);
}

.sticky-panel {
  position: sticky;
  top: 0;
  height: 100dvh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scroll-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.scroll-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
