/* Activities page: two activity groups (SPE Section, Young Professionals)
   separated by a light rule, with a full-width card for the single Section item. */
.activity-group + .activity-group {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.activity-group-head {
  margin-bottom: 24px;
  max-width: 720px;
}

.activity-group-title {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.activity-group-head p {
  margin: 0;
  color: var(--muted);
}

/* One card in the group: image beside the copy on wide screens. */
.program-grid.activity-grid-single {
  grid-template-columns: 1fr;
}

@media (min-width: 861px) {
  .activity-grid-single .program-card {
    flex-direction: row;
    align-items: stretch;
  }
  .activity-grid-single .program-media {
    flex: 0 0 42%;
    width: 42%;
    aspect-ratio: auto;
    min-height: 300px;
  }
  .activity-grid-single .program-body {
    flex: 1 1 auto;
    justify-content: center;
  }
}
