/* ============================================================
   LUNCHBOX.KIDS — HOME TABLET (769px–1024px)
   Loads AFTER /home.css. Refines the homepage on iPad.
   ============================================================ */

@media (min-width: 769px) and (max-width: 1024px) {

  /* Hero formula top: keep side-by-side but rebalance */
  .formula-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 28px;
  }

  /* Pillar strip: 4 pillars fit in one row on tablet */
  .pillar-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  /* About split: keep 2-col, tighten */
  .about-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  /* Recipe grid: 2 cols on tablet */
  .recipe-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Newsletter inner: keep side-by-side but rebalance */
  .newsletter-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .nl-photo img { max-width: 100%; }

  /* Formula CTA: keep form + note on one row */
  .formula-cta-form { max-width: 480px; }

  /* Proof doodle can crowd — hide */
  .proof-doodle { display: none; }

  /* Phone wall handled in its own wider media query below */
}

/* Phone wall: 4 phones → 2×2 on tablet + narrow desktop widths */
@media (min-width: 769px) and (max-width: 1400px) {
  .phone-wall {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px 32px !important;
    justify-items: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
  .phone-wall > .phone {
    grid-column: auto !important;
    width: min(100%, 280px);
    margin: 0 !important;
    transform: none !important;
  }
}


