/* gig-info.css — Layout and defaults only.
   Colors come from the page via CSS variables:
     --surface-color  card background (slightly lifted vs --bg-color)
     --border-color   dividers and card borders
     --muted-color    de-emphasised text (dates, labels)
     --link-color     link colour (standard across the site)
*/

gig-info {
  display: block;
  margin: 1rem 0 2rem 0;
}

/* --- Next Gig highlight card --- */

gig-info #next-container {
  background-color: var(--surface-color, var(--bg-color));
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
}

gig-info .next-label {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.85em;
  opacity: 0.7;
  margin: 0;
}

gig-info #next-title {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

gig-info #next-date {
  font-size: 1.1rem;
}

gig-info .next-link {
  color: var(--link-color);
}

/* --- Section headings (Upcoming / Past) --- */

gig-info .section-title {
  font-size: 1.2rem;
  color: var(--muted-color);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/* --- Gig list --- */

gig-info .gig-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

gig-info .gig-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

gig-info .gig-item:last-child {
  border-bottom: none;
}

gig-info .gig-header-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: baseline;
}

gig-info .gig-date {
  color: var(--muted-color);
  font-size: 0.9rem;
  margin-left: 1rem;
  white-space: nowrap;
}

gig-info .gig-item-blurb {
  font-size: 0.9em;
  opacity: 0.8;
  margin-top: 0.2rem;
}

gig-info #next-blurb {
  font-style: italic;
  margin-top: 1rem;
}

/* Dims the loading placeholder without picking a specific color */
gig-info .loading-text {
  opacity: 0.5;
  text-align: center;
}

/* --- Collapsible Past Gigs --- */

gig-info details {
  margin-top: 2rem;
}

gig-info summary {
  cursor: pointer;
  font-weight: bold;
  font-size: 1.17em; /* matches default h3 size */
  margin-bottom: 1rem;
}

gig-info .past-list {
  opacity: 0.6;
}
