/* Shared section spacing */
.section {
  margin-bottom: var(--space-16);
}

.section h2 {
  margin-bottom: var(--space-6);
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

/* Card */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.card-date {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.card-title {
  font-size: var(--text-xl);
  margin-bottom: 0;
}

.card-location {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.card-link {
  margin-top: auto;
  padding-top: var(--space-4);
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--color-primary);
}

.card-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Service list */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.service-item {
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-4);
}

.service-item h2 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.service-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Event list (upcoming/previous pages) */
.social-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.social-list li::before {
  content: '|';
  color: var(--color-border);
  margin-right: var(--space-2);
}

.social-list li:last-child::after {
  content: '|';
  color: var(--color-border);
  margin-left: var(--space-2);
}

.social-list a {
  text-decoration: none;
}

.social-list a:hover {
  filter: brightness(1.2);
}

.social-platform {
  font-weight: 600;
}

.social-handle {
  color: var(--color-text);
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.event-item {
  display: flex;
  gap: var(--space-6);
  align-items: baseline;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.event-item-name {
  font-weight: 600;
  flex: 1;
}

.event-item-meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* Media kit photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.photo-grid li {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-surface);
}

.photo-grid a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 1;
}

.photo-grid span {
  display: block;
  padding: var(--space-2);
  font-size: var(--text-sm);
  text-align: center;
  color: var(--color-text-muted);
  background: var(--color-surface);
}

@media (max-width: 600px) {
  .event-item {
    flex-direction: column;
    gap: var(--space-1);
  }

  .event-item-meta {
    white-space: normal;
  }
}
