/* 活動一覧だけに適用し、記事ページの共通スタイルを保ちます。 */
.page-intro { padding-bottom: 36px; }
.records-layout { display: block; max-width: 960px; margin-inline: auto; }
.category-picker { margin-bottom: 22px; }
.category-picker .nav-label { margin-bottom: 12px; font-size: .85rem; letter-spacing: .04em; }
.category-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.category-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-bottom: 4px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.category-tabs a:hover { background: var(--orange-pale); color: var(--accent); }
.category-tabs a[aria-selected="true"] {
  background: var(--orange-pale);
  color: var(--accent);
  border-color: var(--accent);
}
.category-section,
.category-section:last-child {
  margin: 0 0 22px;
  padding: 28px 32px 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}
.category-sections.is-enhanced .category-section { min-height: 260px; margin-bottom: 0; }
.category-section[hidden] { display: none; }
.category-section h2 { margin-bottom: 22px; font-size: 1.35rem; }
.category-description { margin: 0 0 24px; color: var(--muted); font-size: .95rem; line-height: 2; }
.article-list li + li { margin-top: 12px; border-top: 0; }
.article-list a { padding: 18px 22px; line-height: 1.8; }
.empty-state { padding: 28px 22px; border-radius: 12px; background: #faf8f5; }
@media (max-width: 600px) {
  .page-intro { padding-bottom: 28px; }
  .category-tabs { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .category-tabs a { justify-content: flex-start; min-height: 52px; padding: 10px 16px; border-bottom-width: 1px; border-left-width: 4px; border-radius: 10px; font-size: .95rem; }
  .category-picker { margin-bottom: 18px; }
  .category-section,
  .category-section:last-child { padding: 22px 18px 24px; border-radius: 16px; }
  .category-sections.is-enhanced .category-section { min-height: 240px; }
  .category-section h2 { font-size: 1.2rem; margin-bottom: 18px; }
  .article-list a { padding: 16px; }
  .empty-state { padding: 22px 16px; }
}
@media print {
  .category-picker { display: none; }
  .category-section[hidden] { display: block; }
  .category-sections.is-enhanced .category-section { min-height: 0; margin-bottom: 20px; break-inside: avoid; }
}
