/* page inset ของหน้าแรกยังเป็น .container เดิม; section owns panel inset */
.knowledge-home {
  margin-top: 56px;
  padding: 24px;
  border: 1px solid var(--health-border, #dce5df);
  border-radius: 20px;
  background: var(--health-surface, #fff);
  color: var(--health-ink, #203b35);
}
.knowledge-home .knowledge-home-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.knowledge-home .knowledge-home-head > div {
  min-width: 0;
}
.knowledge-home h2 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.4;
}
.knowledge-home .knowledge-home-head p {
  margin: 6px 0 0;
}
.knowledge-home .knowledge-home-head .knowledge-home-kicker {
  margin: 0 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-weight: 700;
}
.knowledge-home .knowledge-home-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  flex-shrink: 0;
}
.knowledge-home .knowledge-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.knowledge-home .knowledge-home-story {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-top: 2px solid var(--health-ink, #203b35);
  padding-top: 20px;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.knowledge-home .knowledge-home-story img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 16px;
}
.knowledge-home .knowledge-home-number {
  font-size: 3rem;
  line-height: 1;
  opacity: 0.45;
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.knowledge-home .knowledge-home-category {
  font-size: 0.8rem;
}
.knowledge-home h3 {
  margin: 10px 0;
  font-size: 1.25rem;
  line-height: 1.5;
}
.knowledge-home .knowledge-home-story p {
  margin: 0 0 20px;
  line-height: 1.7;
}
.knowledge-home .knowledge-home-views {
  margin-top: auto;
  font-size: 0.8rem;
}
.knowledge-home .knowledge-home-read {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--health-border, #dce5df);
  font-weight: 600;
}
.knowledge-home a:hover {
  color: var(--health-primary, #2d6a4f);
}
.knowledge-home :focus-visible {
  outline: 3px solid var(--health-primary, #2d6a4f);
  outline-offset: 4px;
}
.knowledge-home .knowledge-home-status {
  margin: 20px 0 0;
}
.knowledge-home .knowledge-home-status button {
  min-height: 44px;
  padding: 8px 12px;
}
@media (max-width: 700px) {
  .knowledge-home {
    margin-top: 40px;
    padding: 20px;
  }
  .knowledge-home .knowledge-home-head {
    flex-wrap: wrap;
  }
  .knowledge-home .knowledge-home-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
