/* Basic print adjustments */
:root { color-scheme: light; }
html, body { background: #fff !important; color: #000 !important; }
* { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

/* Hide interactive/irrelevant elements */
body > header, body > footer, .form-label, h1 .studio-location, .page-title.shows,
.rehearsal .reh-expand, .rehearsal .reh-badges, .rehearsal .more, .rehearsal .purple.badge,
.rehearsal .reh-actions,
.no-print, nav, .site-header, .site-footer, .btn, .ads, .hidden-print { display: none !important; }

/* Make images and tables adapt to page width */
img, video { max-width: 100% !important; height: auto !important; }
table { width: 100% !important; border-collapse: collapse; }

/* Show elements meant only for print */
.print-only,
.rehearsal .attendees,
.rehearsal .reh-more,
.rehearsal .attendee-badges { display: block !important; }

/* Show link destinations after links */
a[href]:after { content: " (" attr(href) ")"; font-size: 90%; }

/* Page breaks helpers */
.page-break { page-break-after: always; break-after: page; }
@page { margin: 15mm; }

.section-title {font-size:20pt;}
.section-title small {display:flex; gap:20px;}
.dayblock h3 {background:#444;}
.rehearsal .reh-meta {
  display: grid;
  grid-template-columns: 200px 1fr; /* two columns */
  grid-auto-rows: auto;           /* rows grow to content */
  position:relative;
}

/* first three children in the first column */
.rehearsal .reh-row {
  max-width: none !important;
  padding: 0 !important;
}
.rehearsal .reh-meta > * {
  grid-column: 1;
}
/* fourth child in the second column, spanning the three rows */
.rehearsal .reh-meta > .reh-more {
  grid-column: 1 / span 2; /* span across 2 grid columns */
  display: grid !important;
  grid-template-columns: 200px 1fr;
  margin: 0;
}
.rehearsal .reh-meta > .reh-more .reh-notes {
  grid-column: 1;
}
.rehearsal .reh-meta > .reh-more .attendee-badges {
  font-size:0.8rem;
  grid-column: 2;
  margin: -2rem 0 0;
}
