/* Forum 2024 — shared Participants panel (all forum-* pages) */

html[data-daab-page-id^="forum-"] .forum-participants-shell{
  width: 100%;
  max-width: var(--max, 1180px);
  margin: 24px auto 8px;
  padding: 0 24px;
  box-sizing: border-box;
}

html[data-daab-page-id="forum-2024"] .forum-participants-shell{
  margin: 0;
  padding: 0;
}

html[data-daab-page-id^="forum-"] .forum-participants-panel{
  width: 100%;
  max-width: var(--max, 1180px);
  margin: 0 auto 24px;
  padding: 18px 20px;
  box-sizing: border-box;
  background: linear-gradient(145deg, #f7fbff, #eef6fc);
  border: 1px solid var(--color-border-blue-faint);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 45, 82, 0.06);
}

html[data-daab-page-id="forum-2024"] .forum-participants-panel{
  margin-top: 0;
  margin-bottom: 24px;
}

html[data-daab-page-id^="forum-"] header.page-hero + .forum-participants-panel,
html[data-daab-page-id^="forum-"] header.hero + .forum-participants-panel{
  margin-top: 0;
  margin-bottom: 20px;
}

html[data-daab-page-id^="forum-"] .forum-participants-panel__title{
  margin: 0 0 6px;
  color: var(--color-heading-blue);
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.2;
}

html[data-daab-page-id^="forum-"] .forum-participants-panel__lead{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  max-width: 62ch;
}

html[data-daab-page-id^="forum-"] .forum-participants-panel__cards{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* Hub — match forum section page-card grid (4-up desktop) */
html[data-daab-page-id="forum-2024"] .forum-participants-panel__cards.cards-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

@media (max-width: 1180px) {
  html[data-daab-page-id="forum-2024"] .forum-participants-panel__cards.cards-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1060px) {
  html[data-daab-page-id="forum-2024"] .forum-participants-panel__cards.cards-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

html[data-daab-page-id^="forum-"] .forum-participants-card{
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 105, 180, 0.14);
  border-radius: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
  html[data-daab-page-id^="forum-"] .forum-participants-card:hover,
  html[data-daab-page-id^="forum-"] .forum-participants-card:focus-visible{
    border-color: rgba(0, 105, 180, 0.28);
    box-shadow: 0 10px 24px rgba(0, 45, 82, 0.1);
    transform: translateY(-1px);
  }
}

html[data-daab-page-id^="forum-"] .forum-participants-card__icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 22px;
  background: #e8f4fc;
  border-radius: 12px;
}

html[data-daab-page-id^="forum-"] .forum-participants-card__body{
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

html[data-daab-page-id^="forum-"] .forum-participants-card__title{
  color: var(--blue-700);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

html[data-daab-page-id^="forum-"] .forum-participants-card__desc{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 720px) {
  html[data-daab-page-id^="forum-"] .forum-participants-panel__cards{
    grid-template-columns: minmax(0, 1fr);
  }
}
