/* MindShala-only styles. Shared section styles are in /css/sections.css. */

/* Hero: warm wash behind the copy. The photo is 4:3 with a lot of ceiling: keep the facilitator and the
   students (lower two thirds) in view when it is cropped. */
[data-page="mindshala"] .s-hero {
  background: radial-gradient(circle at 0 0, #fdf1e0 0, transparent 60%);
}

[data-page="mindshala"] .s-hero .hero-photo img {
  object-position: 50% 78%;
}

/* Pillar cards. The Emotion Lab drawing is portrait and the Chali Kahaaniya banner has its title baked in:
   pick the part of each that should survive the crop. */
[data-page="mindshala"] .s-cards .card:nth-child(1) .card-media img {
  object-position: 60% 55%;
}

[data-page="mindshala"] .s-cards .card:nth-child(2) .card-media img {
  object-position: 50% 62%;
}

[data-page="mindshala"] .s-cards .card:nth-child(3) .card-media img {
  object-position: 50% 50%;
}

[data-page="mindshala"] .s-cards .card:nth-child(4) .card-media img {
  object-position: 80% 20%;
}

/* The films follow the session clips as one "watch" area. */
[data-page="mindshala"] .s-youtube {
  padding-top: 0;
}

/* Request Brochure sits on the tinted CTA band: give the outline button a solid ground. */
[data-page="mindshala"] .s-cta .btn-outline {
  background: var(--paper);
}

@media (min-width: 700px) and (max-width: 999px) {
  /* Five pillar cards as 3 + 2 rather than 2 + 2 + 1. */
  [data-page="mindshala"] .s-cards .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  /* Five pillar cards beside the heading: a slightly narrower heading column keeps the cards readable. */
  [data-page="mindshala"] .s-cards.is-split > .wrap {
    grid-template-columns: minmax(200px, 250px) minmax(0, 1fr);
    gap: 32px;
  }

  [data-page="mindshala"] .s-cards .cards {
    gap: 12px;
  }

  [data-page="mindshala"] .s-cards .card-body {
    padding-inline: 16px;
  }

  /* Four figures as 2 x 2 beside the quote. */
  [data-page="mindshala"] .s-stats .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }
}
