/*
 * Social Stardom India homepage layout stabiliser.
 *
 * The homepage view shares the .nl utility vocabulary, but it is rendered by
 * the PHP site rather than the original utility build. Keep these rules
 * unlayered and page-scoped so the page has deterministic rhythm at every
 * breakpoint without changing any other route.
 */

.site-main > section {
  width: 100%;
  padding: 72px 0;
}

.site-main > section > .container {
  width: min(100%, 1060px);
  margin-inline: auto;
  padding-inline: 30px;
}

.site-main > section:first-of-type {
  padding: 80px 0 56px;
}

.site-main > section:first-of-type > .container {
  max-width: 640px !important;
}

.site-main > section:nth-of-type(2) {
  padding: 0 0 80px;
}

.site-main > section:nth-of-type(3) > .container {
  max-width: 960px !important;
}

.site-main .p-2\.5 { padding: 10px; }
.site-main .p-5 { padding: 20px; }
.site-main .px-7\.5 { padding-inline: 30px; }
.site-main .py-12\.5 { padding-block: 50px; }
.site-main .mb-15 { margin-bottom: 60px; }
.site-main .mt-15 { margin-top: 60px; }
.site-main .gap-7\.5 { gap: 30px; }
.site-main .space-y-7\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 30px; }

.site-main .max-w-160\! { max-width: 640px !important; }
.site-main .max-w-180\! { max-width: 960px !important; }

.site-main .relative.flex.items-center.justify-center.gap-5 {
  flex-wrap: wrap;
}

.site-main .rounded-2xl {
  border-radius: 16px;
}

.site-main .inset-shadow {
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .site-main .md\:py-15 { padding: 60px 0; }
  .site-main .md\:pt-37\.5 { padding-top: 150px; }
  .site-main .md\:grid { display: grid; }
}

@media (min-width: 1024px) {
  .site-main > section {
    padding: 80px 0;
  }

  .site-main > section:first-of-type {
    padding: 96px 0 64px;
  }

  .site-main .lg\:py-20 { padding: 80px 0; }
  .site-main .lg\:pt-32 { padding-top: 128px; }
  .site-main .lg\:pb-20 { padding-bottom: 80px; }
}

@media (max-width: 767px) {
  .site-main > section {
    padding: 56px 0;
  }

  .site-main > section:first-of-type {
    padding: 48px 0 40px;
  }

  .site-main > section:nth-of-type(2) {
    padding-bottom: 56px;
  }

  .site-main > section > .container {
    padding-inline: 20px;
  }

  .site-main h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
    line-height: 1.06;
  }

  .site-main h2 {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    line-height: 1.12;
  }

  .site-main > section:nth-of-type(2) .group {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    touch-action: pan-x;
  }

  .site-main > section:nth-of-type(2) .group::-webkit-scrollbar {
    display: none;
  }

  .site-main > section:nth-of-type(2) .group > div {
    min-width: max-content;
  }

  .site-main .grid-cols-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-main .px-7\.5 {
    padding-inline: 20px;
  }

  .site-main .relative.flex.items-center.justify-center.gap-5 > a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-main * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
