/* Scoped to the health_articles Page List template. */
.section.section--health-articles {
  padding-block: 140px;
  background: #f7f2ea;
  color: #2f2418;
}
.section--health-articles .section__header {
  margin-bottom: 68px;
  text-align: center;
}
.section--health-articles .section__header h2 {
  margin: 0 0 28px;
  color: #2f2418;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.4;
}
.section--health-articles .section__header .lead {
  margin: 0;
  color: #2f2418;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
}
.health-articles {
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  font-family: 'Noto Sans Thai Looped', 'Noto Sans Thai', sans-serif;
  color: #2f2418;
}
.health-articles, .health-articles * { box-sizing: border-box; }
.health-articles__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.health-articles__card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 30px;
  min-height: 400px;
  padding: 30px;
  border-radius: 24px;
  background: #fff;
}
.health-articles__image {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: 24px;
}
.health-articles__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .6));
  pointer-events: none;
}
.health-articles__image img {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.health-articles__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 8px 12px 30px 0;
}
.health-articles__title {
  margin: 0 0 12px;
  font-family: inherit;
  color: #2f2418;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.health-articles__text {
  margin: 0 0 28px;
  color: #77736b;
  font-size: 24px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.health-articles__link, .health-articles__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 9999px;
  background: #b4794c;
  color: #f7f2ea;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease;
}
.health-articles__link {
  align-self: flex-end;
  margin-top: auto;
}
.health-articles__link:hover { background: #986640; color: #fff; }
.health-articles__link:focus-visible, .health-articles__all:focus-visible {
  outline: 3px solid #173b35;
  outline-offset: 4px;
}
.health-articles__footer { display: flex; justify-content: center; margin-top: 68px; }
.health-articles__all { background: #173b35; }
.health-articles__all:hover { background: #0e2521; color: #fff; }
.health-articles__empty { text-align: center; font-size: 24px; }
@media (max-width: 991px) {
  .health-articles__card { grid-template-columns: minmax(220px, 35%) minmax(0, 1fr); gap: 24px; padding: 24px; }
  .health-articles__title { font-size: 30px; }
  .health-articles__text { font-size: 20px; }
  .health-articles__body { padding-right: 0; }
}
@media (max-width: 767px) {
  .section.section--health-articles { padding-block: 64px; }
  .section--health-articles .section__header { margin-bottom: 36px; }
  .section--health-articles .section__header h2 { font-size: 36px; margin-bottom: 20px; }
  .section--health-articles .section__header .lead { font-size: 18px; }
  .health-articles__list { gap: 24px; }
  .health-articles__card { grid-template-columns: minmax(0, 1fr); gap: 20px; min-height: 0; padding: 20px; }
  .health-articles__image { min-height: 0; aspect-ratio: 1 / 1; border-radius: 18px; }
  .health-articles__body { padding: 0; }
  .health-articles__title { font-size: 28px; }
  .health-articles__text { font-size: 18px; }
  .health-articles__footer { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .health-articles__link, .health-articles__all { transition: none; }
}
