/* Bien manger style CSS */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
  background: linear-gradient(135deg, #fff7ef 0%, #effbf7 100%);
}

.page-hero::after {
  position: absolute;
  right: -8rem;
  bottom: -12rem;
  width: 26rem;
  height: 26rem;
  border: 4rem solid rgba(242, 140, 91, .14);
  border-radius: 50%;
  content: "";
}

.page-hero-food {
  background: linear-gradient(135deg, #fff5ec 0%, #f3fbf8 74%);
}

.narrow-content,
.reading-width {
  position: relative;
  z-index: 1;
}

.narrow-content {
  max-width: 780px;
}

.page-hero h1 {
  max-width: 800px;
  font-size: clamp(2.65rem, 6vw, 4.8rem);
}

.lead {
  max-width: 700px;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.topic-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(19, 74, 67, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.topic-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.2rem;
  border-radius: 1rem;
  background: #fff0e7;
  font-size: 1.55rem;
}

.topic-card h2 {
  font-size: 1.35rem;
}

.topic-card p {
  min-height: 78px;
  margin: 1rem 0 1.4rem;
  color: var(--muted);
}

.highlight-section {
  padding: 1rem 0 5.5rem;
  background: var(--white);
}

.highlight-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
  border-radius: var(--radius);
  background: var(--mint);
}

.highlight-box h2 {
  color: var(--teal-dark);
}

.highlight-box p:not(.eyebrow) {
  max-width: 650px;
  margin: 1rem 0 0;
  color: var(--muted);
}

.article-content {
  background: var(--white);
}

.reading-width {
  max-width: 840px;
}

.article-content p,
.article-content li {
  color: var(--muted);
  font-size: 1.06rem;
}

.article-content h2 {
  margin: 2.8rem 0 1rem;
  color: var(--teal-dark);
  font-size: 2rem;
}

.article-content h2:first-child {
  margin-top: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.info-card {
  padding: 1.3rem 1.5rem;
  border-left: 4px solid var(--teal);
  border-radius: .75rem;
  background: var(--mint-soft);
}

.info-card h3 {
  font-size: 1.1rem;
}

.info-card p {
  margin: .5rem 0 0;
  font-size: .96rem;
}

.check-list,
.step-list {
  padding-left: 1.4rem;
}

.check-list li,
.step-list li {
  margin: .7rem 0;
}

.check-list li::marker {
  color: var(--teal);
}

.step-list li::marker {
  color: var(--orange);
  font-weight: 800;
}

.article-note {
  margin: 2rem 0;
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--orange);
  border-radius: .75rem;
  color: var(--muted);
  background: #fffaf0;
}

.article-note strong {
  color: var(--ink);
}

.back-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--orange);
}

@media (max-width: 850px) {
  .article-grid {
    grid-template-columns: 1fr;
  }

  .topic-card p {
    min-height: auto;
  }

  .highlight-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .page-hero {
    padding: 4.5rem 0 3.8rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}