/* Public site: header search (disabled placeholder) */

.site-search {
  margin: 0;
  flex: 0 1 12rem;
  min-width: 0;
}

.site-search input {
  width: 100%;
  padding: 0.4rem 0.65rem;
  font: inherit;
  font-size: 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #f3f4f6;
  opacity: 0.8;
  cursor: not-allowed;
}

.site-search input::placeholder {
  color: var(--color-text-muted);
}

.site-search input:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

@media (max-width: 42rem) {
  .site-search {
    flex-basis: auto;
    max-width: none;
  }
}

/* Public pages */
.hero,
.highlights,
.page-header,
.section,
.breadcrumb {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
}

.hero h1,
.page-header h1 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.25;
}

.hero .lead {
  margin: 0.55rem 0 0;
  color: var(--color-text-muted);
}

.explore-links {
  margin-top: 0.85rem;
}

.explore-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  text-decoration: none;
}

.highlights h2,
.section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.08rem;
}

.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.card-list li a {
  display: block;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  text-decoration: none;
}

.breadcrumb {
  font-size: 0.9rem;
}

.breadcrumb .sep {
  color: var(--color-text-muted);
}

.page-header .meta,
.page-header .years,
.page-header .credits,
.page-header .based-on,
.page-header .venue {
  margin: 0.55rem 0 0;
  color: var(--color-text-muted);
}

.page-header .cover {
  margin: 0 0 0.75rem;
}

.page-header .cover img {
  max-width: min(12rem, 100%);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  display: block;
}

.badge {
  display: inline-flex;
  margin: 0 0 0.5rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: #e8eef4;
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 600;
}

.prose {
  color: var(--color-text);
}

.prose.notes {
  color: var(--color-text-muted);
}

.empty,
.sub {
  color: var(--color-text-muted);
}

.section ul {
  margin: 0;
  padding-left: 1.1rem;
}

.section li + li {
  margin-top: 0.35rem;
}

.track-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
  font-size: 0.92rem;
}

.track-table th,
.track-table td {
  padding: 0.5rem 0.55rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.track-table th {
  text-align: left;
  font-size: 0.79rem;
  letter-spacing: 0.01em;
  color: var(--color-text-muted);
  background: #f8fafc;
}

.work-block + .work-block {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--color-border);
}

.work-head {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.work-head .type {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.1rem 0.4rem;
}
