/* Shared FoodMart section texture + soft white edge fades (home hero, PDF voyage). */

.hk-pattern-section {
  position: relative;
  background-color: #ffffff;
  background-image: url("hk-pdf-voyage-section-bg.jpg");
  background-repeat: repeat;
  background-size: 680px auto;
  background-position: center top;
}

.hk-pattern-section > .container-fluid {
  position: relative;
  z-index: 2;
}

.hk-pattern-section::before,
.hk-pattern-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(4rem, 14vh, 8.5rem);
  pointer-events: none;
  z-index: 1;
}

.hk-pattern-section::before {
  top: 0;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    rgba(255, 255, 255, 0.92) 22%,
    rgba(255, 255, 255, 0.62) 48%,
    rgba(255, 255, 255, 0.22) 72%,
    rgba(255, 255, 255, 0.04) 90%,
    rgba(255, 255, 255, 0) 100%
  );
}

.hk-pattern-section::after {
  bottom: 0;
  background: linear-gradient(
    to top,
    #ffffff 0%,
    rgba(255, 255, 255, 0.92) 22%,
    rgba(255, 255, 255, 0.62) 48%,
    rgba(255, 255, 255, 0.22) 72%,
    rgba(255, 255, 255, 0.04) 90%,
    rgba(255, 255, 255, 0) 100%
  );
}

@media (min-width: 992px) {
  .hk-pattern-section {
    background-size: 860px auto;
  }
}