/* meal-sets.css — /meal-sets index + detail pages. Nav, footer, .btn-primary
   and the base reset come from index.css (loaded first). */

.ms-main {
  max-width: 1060px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.ms-hero,
.ms-detail-head {
  text-align: center;
  padding: 32px 0 8px;
}
.ms-hero h1,
.ms-detail-head h1 {
  font-size: 40px;
  font-weight: 900;
  color: #083463;
  line-height: 1.1;
}
.ms-hero p,
.ms-detail-tagline {
  margin: 14px auto 0;
  max-width: 620px;
  color: #3b5568;
  font-size: 17px;
}

.ms-breadcrumb {
  font-size: 14px;
  font-weight: 700;
  color: #6b7f92;
  margin-bottom: 8px;
}
.ms-breadcrumb a {
  color: #0d4fa8;
  text-decoration: none;
}

.ms-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #eaf2fb;
  color: #0d4fa8;
  font-size: 22px;
  margin-bottom: 12px;
}

.ms-card-meta {
  color: #6b7f92;
  font-weight: 700;
  font-size: 13px;
  margin-top: 6px;
}

/* ── Index grid ─────────────────────────────────────────────────────────── */
.ms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}
.ms-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid #cfe0f2;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(8, 52, 99, 0.07);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.ms-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(8, 52, 99, 0.13);
}
.ms-card h2 {
  font-size: 20px;
  font-weight: 800;
  color: #083463;
}
.ms-card-tagline {
  margin-top: 6px;
  color: #3b5568;
  font-size: 14.5px;
  line-height: 1.45;
}
.ms-diet {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1aa179;
}

/* ── Detail ─────────────────────────────────────────────────────────────── */
.ms-add-btn {
  display: inline-block;
  margin-top: 22px;
}
.ms-add-note {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #6b7f92;
}

.ms-recipes {
  margin-top: 40px;
  display: grid;
  gap: 20px;
}
.ms-recipe {
  background: #fff;
  border: 1px solid #cfe0f2;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(8, 52, 99, 0.06);
}
.ms-recipe h3 {
  font-size: 20px;
  font-weight: 800;
  color: #083463;
}
.ms-recipe-meta {
  margin-top: 4px;
  color: #6b7f92;
  font-weight: 700;
  font-size: 13px;
}
.ms-recipe-cols {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 26px;
  margin-top: 16px;
}
.ms-recipe-cols h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0d4fa8;
  margin-bottom: 8px;
}
.ms-recipe-cols ul,
.ms-recipe-cols ol {
  padding-left: 20px;
  color: #234;
  line-height: 1.55;
}
.ms-recipe-cols li {
  margin-bottom: 4px;
}

/* ── CTA band + footer link ────────────────────────────────────────────── */
.ms-cta-band {
  margin-top: 48px;
  text-align: center;
  background: #eaf2fb;
  border-radius: 18px;
  padding: 44px 24px;
}
.ms-cta-band h2 {
  font-size: 26px;
  font-weight: 900;
  color: #083463;
}
.ms-cta-band p {
  margin: 10px 0 20px;
  color: #3b5568;
}
.ms-related {
  margin-top: 28px;
  text-align: center;
}
.ms-related a {
  color: #0d4fa8;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .ms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .ms-hero h1,
  .ms-detail-head h1 {
    font-size: 30px;
  }
  .ms-grid {
    grid-template-columns: 1fr;
  }
  .ms-recipe-cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
