/* =========================================================
   My Little Boss Our Food
   Uses mlb-design-system.css
   ========================================================= */

.section-head {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head .mlb-copy {
  margin-top: 12px;
}

.section-spark {
  position: relative;
  display: inline-block;
}

.section-spark::after {
  content: "";
  position: absolute;
  top: 4px;
  right: -38px;
  width: 28px;
  height: 24px;
  border-radius: 12px;
  transform: rotate(25deg);
  background:
    linear-gradient(var(--mlb-red-500), var(--mlb-red-500)) 7px 1px / 6px 15px no-repeat,
    linear-gradient(var(--mlb-red-500), var(--mlb-red-500)) 21px 6px / 6px 16px no-repeat;
}

.mlb-nav-links a[aria-current="page"] {
  color: var(--mlb-green-700);
}

.food-hero {
  position: relative;
  padding: 40px 0 58px;
  background:
    linear-gradient(90deg, #fff 0 58%, var(--mlb-rice-100) 58% 100%);
}

.food-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--mlb-border-soft);
}

.food-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 48px;
  align-items: center;
  min-height: 620px;
}

.food-hero-story .food-hero-grid > div:last-child {
  padding: 34px 0 28px;
}

.food-hero-title {
  max-width: 610px;
  color: var(--mlb-green-900);
  font-family: var(--mlb-font-thai);
  font-size: 58px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.food-hero-title .red {
  color: var(--mlb-red-600);
}

.food-hero-copy {
  max-width: 590px;
  margin-top: 20px;
  color: var(--mlb-green-900);
  font-family: var(--mlb-font-thai);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.68;
}

.food-hero-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  max-width: 620px;
}

.food-hero-notes article {
  min-height: 108px;
  padding: 16px 14px;
  border: 1px solid var(--mlb-border-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(6, 61, 44, 0.06);
}

.food-hero-notes span {
  display: block;
  margin-bottom: 18px;
  color: var(--mlb-red-600);
  font-family: var(--mlb-font-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.food-hero-notes strong {
  display: block;
  color: var(--mlb-green-900);
  font-family: var(--mlb-font-thai);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.food-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.food-hero-media {
  position: relative;
  overflow: hidden;
  border-radius: 32px 32px 8px 32px;
  box-shadow: var(--mlb-shadow-soft);
}

.food-hero-media img {
  width: 100%;
  min-height: 580px;
  max-height: 640px;
  object-fit: cover;
  object-position: 50% 45%;
}

.food-hero-note {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: min(330px, calc(100% - 52px));
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(6, 61, 44, 0.12);
  color: var(--mlb-green-900);
  font-weight: 800;
  line-height: 1.45;
}

.child-first {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.child-photo {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--mlb-shadow-card);
}

.child-photo img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
}

.check-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.check-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--mlb-green-900);
}

.check-dot {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mlb-green-100);
  color: var(--mlb-green-800);
  font-weight: 800;
}

.check-item h3 {
  font-family: var(--mlb-font-thai);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.check-item p {
  margin-top: 4px;
  color: var(--mlb-muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.principle-card {
  overflow: hidden;
  min-height: 314px;
  padding: 22px 20px 0;
  color: var(--mlb-green-900);
}

.principle-index {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mlb-line);
  color: #fff;
  font-family: var(--mlb-font-display);
  font-weight: 800;
}

.principle-card h3 {
  margin-top: 16px;
  font-family: var(--mlb-font-thai);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.principle-card p {
  margin-top: 8px;
  color: var(--mlb-muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.principle-card img {
  width: calc(100% + 40px);
  height: 138px;
  margin: 20px -20px 0;
  object-fit: cover;
  border-top: 1px solid var(--mlb-border-soft);
}

.veg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.veg-card {
  overflow: hidden;
  padding: 28px 28px 0;
  text-align: center;
}

.veg-card h3 {
  color: var(--mlb-green-900);
  font-family: var(--mlb-font-thai);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
}

.veg-card p {
  max-width: 430px;
  margin: 8px auto 0;
  color: var(--mlb-muted);
  font-weight: 650;
  line-height: 1.65;
}

.veg-card img {
  width: calc(100% + 56px);
  height: 260px;
  margin: 24px -28px 0;
  object-fit: cover;
  border-top: 1px solid var(--mlb-border-soft);
}

.ingredient-band {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 38px;
  align-items: center;
  overflow: hidden;
  padding: 28px;
}

.ingredient-band > img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 22px;
}

.ingredient-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.ingredient-point {
  color: var(--mlb-green-900);
}

.ingredient-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--mlb-rice-100);
  font-size: 31px;
}

.ingredient-point h3 {
  font-family: var(--mlb-font-thai);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}

.ingredient-point p {
  margin-top: 5px;
  color: var(--mlb-muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.promise-card {
  padding: 22px 18px;
  text-align: center;
  color: var(--mlb-green-900);
}

.promise-card .mlb-icon-box {
  margin: 0 auto 12px;
}

.promise-card h3 {
  font-family: var(--mlb-font-thai);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.promise-card p {
  margin-top: 7px;
  color: var(--mlb-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.faq-card {
  padding: 24px;
  color: var(--mlb-green-900);
}

.faq-card h3 {
  font-family: var(--mlb-font-thai);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.faq-card p {
  margin-top: 10px;
  color: var(--mlb-muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.65;
}

.faq-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.line-help {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px 40px;
  border-radius: 26px;
  background: linear-gradient(180deg, #fffdf8, #fff7e8);
  border: 1px solid var(--mlb-border-soft);
  box-shadow: 0 12px 30px rgba(6, 61, 44, 0.08);
}

.line-help h2 {
  color: var(--mlb-green-900);
  font-family: var(--mlb-font-thai);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.22;
}

.line-help p {
  margin-top: 9px;
  color: var(--mlb-muted);
  font-weight: 650;
  line-height: 1.65;
}

.closing-wave {
  position: relative;
  padding: 0;
  background: var(--mlb-green-900);
  color: #fff;
}

.closing-wave::before {
  content: "";
  position: absolute;
  top: -23px;
  right: 0;
  left: 0;
  height: 34px;
  background:
    radial-gradient(28px 24px at 28px 24px, var(--mlb-green-900) 98%, transparent 100%) 0 0 / 56px 34px repeat-x;
}

.closing-inner {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 36px;
  align-items: center;
  min-height: 170px;
  padding: 28px 0 30px;
}

.closing-logo {
  width: 130px;
}

.closing-title {
  color: #fff;
  font-family: var(--mlb-font-thai);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
}

.closing-title .spoon {
  color: var(--mlb-yellow-500);
}

.closing-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.mlb-footer {
  padding: 28px 0 30px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 160px repeat(5, 1fr);
  gap: 28px;
  align-items: start;
}

.footer-grid img {
  width: 92px;
}

.footer-col h3 {
  margin-bottom: 9px;
  color: var(--mlb-green-900);
  font-size: 13px;
  font-weight: 800;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-top: 5px;
  color: var(--mlb-muted);
  font-size: 12px;
  font-weight: 700;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-row span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mlb-green-100);
  color: var(--mlb-green-900);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .food-hero-grid,
  .child-first,
  .ingredient-band,
  .line-help,
  .closing-inner {
    grid-template-columns: 1fr;
  }

  .food-hero-grid {
    min-height: auto;
    padding: 18px 0 36px;
  }

  .food-hero-media img {
    min-height: 460px;
  }

  .principle-grid,
  .promise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .closing-inner,
  .line-help {
    text-align: center;
  }

  .closing-logo {
    margin: 0 auto;
  }

  .closing-mini {
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .food-hero-title {
    font-size: 45px;
  }

  .food-hero-copy {
    font-size: 19px;
  }

  .food-hero {
    background: #fff;
  }

  .food-hero-notes {
    grid-template-columns: 1fr;
  }

  .food-hero-notes article {
    min-height: auto;
  }

  .food-hero-notes span {
    margin-bottom: 8px;
  }

  .veg-grid,
  .ingredient-points,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .section-spark::after {
    display: none;
  }

  .food-hero {
    padding-top: 24px;
  }

  .food-hero-grid {
    gap: 28px;
    padding-bottom: 22px;
  }

  .food-hero-title {
    font-size: 34px;
    line-height: 1.18;
  }

  .food-hero-copy {
    margin-top: 12px;
    font-size: 17px;
  }

  .food-hero-actions,
  .principle-grid,
  .promise-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .food-hero-media img {
    min-height: 270px;
    max-height: none;
  }

  .food-hero-note {
    position: static;
    width: auto;
    margin-top: 14px;
    border-radius: 0;
  }

  .child-photo img {
    height: 310px;
  }

  .veg-card,
  .ingredient-band,
  .line-help {
    padding: 22px;
  }

  .veg-card img {
    height: 210px;
    margin-right: -22px;
    margin-left: -22px;
    width: calc(100% + 44px);
  }

  .ingredient-band > img {
    min-height: 260px;
  }

  .line-help h2,
  .closing-title {
    font-size: 31px;
  }

  .faq-actions {
    display: grid;
  }

  .faq-actions .mlb-btn {
    width: 100%;
  }
}
