/* Monthly Roundup Component Styles */
/* Double class beats responsive.css's later `.section { padding: .. 0 }`
   shorthand at mobile widths -- equal-specificity order was how the header
   clipped the title on phones (found by QC 2026-09-05). */
.section.section-roundup {
  background-color: var(--color-white);
  /* This page opens with content, not a hero, so it must clear the fixed
     header itself; 80px matches Navigation.config.smoothScrollOffset. */
  padding-top: calc(80px + var(--spacing-xl));
}

.roundup-intro {
  max-width: 640px;
  margin: 0 auto var(--spacing-xxl);
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.125rem;
}

.roundup-month {
  margin-bottom: var(--spacing-xxl);
}

.roundup-month:last-child {
  margin-bottom: 0;
}

.roundup-month-title {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.roundup-event-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.roundup-event {
  background-color: var(--color-white);
  border: 1px solid var(--color-shadow);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  transition: box-shadow var(--transition-fast);
}

.roundup-event:hover {
  box-shadow: var(--shadow-md);
}

.roundup-event-title {
  color: var(--color-primary);
  margin-bottom: 0;
}

.roundup-event-meta {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

.roundup-event-link {
  align-self: flex-start;
  font-size: 0.875rem;
  padding: var(--spacing-xs) var(--spacing-md);
}

.roundup-back-link {
  display: inline-block;
  margin-top: var(--spacing-xl);
}

@media (max-width: 768px) {
  .roundup-event {
    padding: var(--spacing-md);
  }
}
