/* Shared by /pirmsskola and /mazuli: page title, full-width photo bands, costs list. */

/* ---------- Page title ---------- */
.preschool-title { height: 17.5rem; padding-top: 2.8rem; background: var(--paper); text-align: center; }
.preschool-title h1 { font-size: 5.2rem; line-height: 6.24rem; }
.preschool-title p { margin-top: 2.6rem; font-size: 2rem; line-height: 2.8rem; color: var(--purple); }

/* ---------- Full-width photo band ---------- */
.preschool-photo { height: 50rem; overflow: hidden; background: #c2c3be; }
.preschool-photo > div, .preschool-photo picture, .preschool-photo img { width: 100%; height: 100%; }
.preschool-photo img { max-width: none; object-fit: cover; }

/* ---------- Section intro: centred heading + lead paragraph ---------- */
.preschool-intro { padding: 4.8rem 0 5.3rem; background: var(--cream); text-align: center; }
.preschool-intro h2 { font-size: 3.5rem; line-height: 4.9rem; color: var(--green-700); }
.preschool-intro > .column > p { margin-top: 1.5rem; font-size: 2rem; line-height: 2.8rem; color: var(--purple); }

/* ---------- Costs ---------- */
.preschool-costs { height: 59.6rem; padding-top: 4.5rem; background: var(--paper); }
.preschool-costs h2 { font-size: 3.5rem; line-height: 4.2rem; text-align: center; }
.preschool-costs__prices {
  margin-top: 2.1rem; font-size: 1.9rem; line-height: 2.66rem; color: var(--lilac-500); text-align: center;
}
.preschool-costs__icon { position: absolute; left: 12.1rem; top: .6rem; width: 12rem; height: 11.6rem; }
.preschool-costs__rules {
  margin: 4.15rem 0 0 1rem; padding-left: 2.4rem; list-style: decimal;
  font-size: 1.9rem; line-height: 3.61rem; color: var(--purple);
}

@media (max-width: 600px) {
  .preschool-title { height: auto; padding: 2rem 2rem 2rem; }
  .preschool-title h1 { font-size: 2.6rem; line-height: 3.12rem; }
  .preschool-title p { margin-top: .5rem; font-size: 1.7rem; line-height: 2.38rem; }

  .preschool-photo { height: 20rem; }

  .preschool-intro { padding: 2rem 2rem; }
  .preschool-intro h2 { margin: 0 -1rem; font-size: 2.4rem; line-height: 3.36rem; }
  .preschool-intro > .column > p { margin-top: 1rem; font-size: 1.5rem; line-height: 2.1rem; }

  .preschool-costs { height: auto; padding: 2rem 0 2.1rem; }
  .preschool-costs h2 { font-size: 2.3rem; line-height: 2.76rem; }
  .preschool-costs__prices { margin-top: 1rem; font-size: 1.6rem; line-height: 2.24rem; }
  .preschool-costs__rules { margin: 1rem 1.2rem 0 1.8rem; padding-left: 1.8rem; font-size: 1.4rem; line-height: 2.66rem; }
}
