/* Search + slider hero: blended Indian tricolor (no hard column edges) */

.home-masthead {
  position: relative;
  overflow: hidden;
}

.home-masthead__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  height: 100%;
  min-height: 16rem;
  pointer-events: none;
  isolation: isolate;
  contain: paint;
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}

.home-masthead--with-slider .home-masthead__backdrop {
  height: 72%;
  min-height: 20rem;
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 92%);
}

@media (min-width: 640px) {
  .home-masthead--with-slider .home-masthead__backdrop {
    height: 68%;
    min-height: 24rem;
  }
}

@media (min-width: 1024px) {
  .home-masthead--with-slider .home-masthead__backdrop {
    height: 65%;
    min-height: 28rem;
  }
}

/* Single smooth saffron → white → green blend (no separate center block) */
.home-masthead__tricolor {
  position: relative;
  display: block;
  height: 100%;
  min-height: 100%;
  background-color: #fafaf9;
  background-image: linear-gradient(
    100deg,
    rgb(255 165 75 / 0.2) 0%,
    rgb(255 195 130 / 0.14) 14%,
    rgb(255 225 195 / 0.08) 28%,
    rgb(255 250 245 / 0.05) 42%,
    rgb(248 252 249 / 0.05) 58%,
    rgb(210 235 215 / 0.08) 72%,
    rgb(130 195 145 / 0.12) 86%,
    rgb(19 136 8 / 0.14) 100%
  );
  background-size: 220% 100%;
  background-position: 50% 50%;
}

.home-masthead__col {
  display: none;
}

/* Soft moving color washes over the blend */
.home-masthead__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.35;
  pointer-events: none;
}

.home-masthead__glow--saffron {
  top: 5%;
  left: -4%;
  width: min(42vw, 22rem);
  height: min(36vw, 16rem);
  background: rgb(255 153 51 / 0.35);
}

.home-masthead__glow--green {
  top: 0;
  right: -6%;
  width: min(44vw, 22rem);
  height: min(38vw, 17rem);
  background: rgb(56 142 72 / 0.3);
}

.home-masthead__glow--soft {
  top: 25%;
  left: 28%;
  width: min(50vw, 26rem);
  height: min(28vw, 12rem);
  background: rgb(255 200 150 / 0.15);
  filter: blur(64px);
}

/* Static soft highlight — no sliding animation (prevents hero flicker) */
.home-masthead__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgb(255 255 255 / 0.08) 45%,
    rgb(255 255 255 / 0.14) 50%,
    rgb(255 255 255 / 0.08) 55%,
    transparent 100%
  );
  pointer-events: none;
}

.home-masthead__content {
  position: relative;
  z-index: 1;
  transform: translateZ(0);
}
