body.page-template-page-celebration-of-life .hero-content,
body.page-template-page-celebration-of-life>footer>section.white-black-grad-top,
body.page-template-page-celebration-of-life>footer>section:first-of-type {
  display: none;
}

body.page-template-page-celebration-of-life .celebration-slider-section {
  position: relative;
}

body.page-template-page-celebration-of-life .celebration-slider-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 123px;
  background: linear-gradient(180deg, #fff 0%, #000 80%);
  z-index: 0;
}

body.page-template-page-celebration-of-life .wp-block-media-text__content {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media only screen and (min-width: 601px) {
  body.page-template-page-celebration-of-life .wp-block-media-text__content {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  body.page-template-page-celebration-of-life .wp-block-media-text {
    align-items: stretch;
  }

  body.page-template-page-celebration-of-life .wp-block-media-text .wp-block-media-text__media {
    height: 100%;
  }

  body.page-template-page-celebration-of-life .wp-block-media-text .wp-block-media-text__media img {
    height: 100%;
    object-fit: cover;
  }
}



/* =============================================================================
   Celebration of Life — Swiper Coverflow Slider
   ============================================================================= */

/* Slider heading */
.celebration-slider-heading {
  color: #007073;
  text-align: center;
  text-transform: uppercase !important;
  padding-top: 3rem;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* Slider section */
.celebration-slider-section {
  padding: 5rem 0 3.5rem;
  background: #000;
  overflow: hidden;
}

/* Swiper container */
.celebration-swiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

/* Slides — fixed width so coverflow shows neighbours */
.celebration-swiper .swiper-slide {
  width: 320px;
}

@media only screen and (min-width: 768px) {
  .celebration-swiper .swiper-slide {
    width: 480px;
  }
}

@media only screen and (min-width: 1024px) {
  .celebration-swiper .swiper-slide {
    width: 600px;
  }
}

@media only screen and (min-width: 1280px) {
  .celebration-swiper .swiper-slide {
    width: 720px;
  }
}

@media only screen and (min-width: 1536px) {
  .celebration-swiper .swiper-slide {
    width: 927px;
  }
}

.celebration-slide-inner {
  border-radius: 6px;
  overflow: hidden;
}

.celebration-slide-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Controls row: ← 3/36 → */
.celebration-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem 0 2rem;
}

.celebration-prev,
.celebration-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.celebration-prev:hover,
.celebration-next:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.celebration-prev svg,
.celebration-next svg {
  width: 18px;
  height: 18px;
}

/* Fraction pagination: "3 / 36" */
.celebration-fraction.swiper-pagination {
  position: static;
  width: auto;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  min-width: 80px;
  text-align: center;
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .celebration-slide-img {
    aspect-ratio: 3 / 2;
  }

  .celebration-fraction.swiper-pagination {
    font-size: 0.95rem;
  }
}