.my-custom-menu .et-menu {
  display: flex;
  gap: 16px;        /* space between items */
  align-items: center;
  flex-wrap: nowrap; /* prevent menu wrapping to a new row */
}

/* Polished Highlight Reveal */
.highlight-reveal {
  display: inline-block;
  position: relative;
  overflow: hidden;
  padding: 4px 8px; /* 4px top/bottom, 8px left/right */
}

/* Background bar */
.highlight-reveal::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2;
  
  /* dynamic width controlled by JS */
  width: 0%;
  height: 100%;

  /* color with optional opacity animation */
  background-color: var(--hr-color, #f77e56);
  opacity: 0;

  /* premium styling */
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08); /* optional glow */

  z-index: -1;

  /* polished animation timing */
  transition:
    width 1.8s cubic-bezier(.25,.8,.25,1),
    opacity 0.6s ease;
}

/* Revealed state */
.highlight-reveal.in-view::before {
  width: 100%;
  opacity: 1;
}

/* Video Mask Styling */
.masked-video {
  width: 100%;
  height: auto;
  -webkit-mask-image: url('/wp-content/uploads/2025/12/Mask-Alpha.png');
  mask-image: url('/wp-content/uploads/2025/12/Mask-Alpha.png');

  -webkit-mask-size: contain;
  mask-size: contain;

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  display: block;
}

/* Improve spacing on Small Laptop Screens */
@media (max-width: 1200px) and (min-width: 981px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .et_pb_row { padding-top: 40px; padding-bottom: 40px; }
}