/* Archival recreation of the EdFringe *show listing* layout (not festival chrome).
   Colours and card structure follow the 2026 listing; fonts are public substitutes
   for EdFringe’s proprietary Cambon / MierA. */

:root {
  --ef-navy: #002b49;
  --ef-cyan: #008fbe;
  --ef-cyan-soft: #bdefff;
  --ef-ice: #e3ecf3;
  --ef-muted: #5b7383;
  --ef-text: #1a1a1a;
  --ef-white: #fff;
  --ef-radius: 12px;
  --ef-sans: Helvetica, Arial, sans-serif;
  --ef-serif: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.edfringe-archive {
  background: var(--ef-white);
  color: var(--ef-text);
  font-family: var(--ef-sans);
  font-size: 1.125rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

a {
  color: var(--ef-cyan);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.archive-banner {
  background: var(--ef-navy);
  color: #c7dae7;
  font-size: 0.875rem;
  padding: 0.65rem 1.25rem;
  text-align: center;
}

.archive-banner a {
  color: #fff;
}

.listing-wrap {
  max-width: 1568px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

@media (min-width: 48em) {
  .listing-wrap {
    padding: 4rem 4rem 5rem;
  }
}

/* --- Title card --- */
.title-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 48em) {
  .title-card {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
}

.title-card-image {
  position: relative;
  background: #000;
  border-radius: var(--ef-radius);
  overflow: hidden;
  width: 100%;
  height: 220px;
  flex: 0 0 auto;
}

@media (min-width: 48em) {
  .title-card-image {
    width: 250px;
    height: 250px;
    flex: 0 0 250px;
  }
}

.title-card-image img.blur {
  position: absolute;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  object-fit: cover;
  opacity: 0.6;
  filter: blur(8px);
}

.title-card-image img.hero {
  position: relative;
  z-index: 1;
  display: block;
  height: 220px;
  width: 220px;
  margin: 0 auto;
  object-fit: cover;
}

@media (min-width: 48em) {
  .title-card-image img.blur {
    display: none;
  }
  .title-card-image img.hero {
    height: 100%;
    width: 100%;
  }
}

.title-card-body {
  flex: 1 1 auto;
  min-width: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-navy {
  background: var(--ef-ice);
  color: var(--ef-navy);
}

.tag-muted {
  background: #f3f6f8;
  color: var(--ef-muted);
}

.title-card h1 {
  margin: 0 0 0.75rem;
  font-family: var(--ef-serif);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ef-navy);
}

.event-details {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  color: var(--ef-navy);
  font-size: 1rem;
}

.event-details span:not(:first-child) {
  padding-left: 0.75rem;
  position: relative;
}

.event-details span:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ef-cyan);
}

.ticket-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding: 0.85rem 1.35rem;
  background: var(--ef-navy);
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 4px;
  text-decoration: none !important;
}

.ticket-btn:hover {
  background: #003d66;
}

/* --- Tabs --- */
.tabs {
  margin-top: 0.5rem;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--ef-ice);
}

.tab-list button {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin: 0 1.25rem 0 0;
  padding: 0.65rem 0;
  font: inherit;
  font-weight: 700;
  color: var(--ef-muted);
  cursor: pointer;
}

.tab-list button[aria-selected="true"] {
  color: var(--ef-navy);
  border-bottom-color: var(--ef-cyan);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.about-copy {
  max-width: 46rem;
}

.about-copy h2,
.dates-list-wrap h2,
.venue-copy h2 {
  font-family: var(--ef-serif);
  color: var(--ef-navy);
  font-size: 1.35rem;
  margin: 1.75rem 0 0.6rem;
}

.about-copy h2:first-child {
  margin-top: 0;
}

.meta-block {
  background: var(--ef-ice);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin: 0.75rem 0;
}

.dates-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 28rem;
}

.dates-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--ef-ice);
}

/* --- Reviews --- */
.reviews-well {
  background: #f4f7fa;
  margin: 0 -1.25rem;
  padding: 2rem 1.25rem 2.5rem;
}

@media (min-width: 48em) {
  .reviews-well {
    margin: 0;
    padding: 3rem 1.5rem;
    border-radius: 8px;
  }
}

.review-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-label {
  font-weight: 700;
  font-size: 0.95rem;
}

.filter-btn {
  appearance: none;
  background: #fff;
  border: 2px solid var(--ef-navy);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ef-navy);
  cursor: pointer;
}

.filter-btn[aria-pressed="true"] {
  background: var(--ef-navy);
  color: #fff;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1184px;
  margin: 0 auto;
}

.review-card {
  background: #fff;
  border-radius: var(--ef-radius);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.04);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-card.is-hidden {
  display: none;
}

.review-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.review-card-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quote-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ef-cyan-soft);
  color: var(--ef-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-card--featured .quote-icon {
  background: var(--ef-cyan);
  color: var(--ef-cyan-soft);
}

.quote-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.review-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.45rem;
  align-items: baseline;
}

.review-byline strong {
  color: var(--ef-navy);
}

.review-role {
  color: var(--ef-muted);
}

.review-date {
  color: var(--ef-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.review-body {
  white-space: pre-wrap;
  margin: 0;
  text-align: left;
}

.review-body.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-body p {
  margin: 0 0 0.85rem;
}

.review-body p:last-child {
  margin-bottom: 0;
}

.review-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.review-more,
.review-link {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--ef-navy);
  cursor: pointer;
  text-decoration: none;
}

.review-more:hover,
.review-link:hover {
  color: var(--ef-cyan);
}

.review-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ef-muted);
}

.archive-colophon {
  max-width: 46rem;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ef-ice);
  color: var(--ef-muted);
  font-size: 0.95rem;
}
