/* Clip viewport-fixed photographs to their own section. Unlike fixed CSS
   backgrounds, this also works with mobile browsers and responsive <img> assets. */
@supports (clip-path: inset(0)) {
  @media screen and (prefers-reduced-motion: no-preference) {
    [data-fixed-background] {
      clip-path: inset(0);
    }
    [data-fixed-background] > .scene-image {
      position: fixed;
      inset: 0;
      margin: 0 auto;
      width: min(100%, 2000px);
      height: 100vh;
      /* Stable height prevents jumps as the mobile address bar appears. */
      height: 100lvh;
      max-width: none;
      object-fit: cover;
      pointer-events: none;
    }
  }
  @media screen and (min-width: 768px) and (prefers-reduced-motion: no-preference) {
    .india-intro .shade-right {
      background: linear-gradient(
        90deg,
        transparent 25%,
        rgba(8, 20, 15, 0.12) 42%,
        rgba(8, 20, 15, 0.65) 57%,
        rgba(8, 20, 15, 0.88) 100%
      );
    }
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: var(--kala-admin-offset, 46px);
  }
}
