/* Adelaide Fringe list + show pages. Shared by every page under /adelaide-fringe/.
   After editing, bump fringe.css?v= in all the pages. */
.af-wrap { padding: 120px 0 80px; }
.af-h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 6px 0 10px; }
.af-intro { max-width: 640px; color: var(--text-muted); margin-bottom: 36px; }
.af-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.af-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; color: var(--text); text-decoration: none; transition: transform .2s, border-color .2s; }
.af-card:hover, .af-card:focus-visible { transform: translateY(-3px); border-color: var(--gold); }
/* Card thumbnails are 1200x600 (2:1). Make new ones at that size and save them as img/thumb-<show>.jpg */
.af-card-img { display: block; width: 100%; height: auto; aspect-ratio: 2/1; object-fit: cover; }
.af-card-title { display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; background: radial-gradient(110% 120% at 50% 0%, #8f1f22, #4a0f10 70%); }
.af-card-title span { font: 700 1.35rem/1.15 "Playfair Display", Georgia, serif; color: #F3E9D2; }
.af-card-text { padding: 14px 16px 16px; }
.af-card-text h2 { font-size: 1.25rem; margin: 0 0 4px; }
.af-by { margin: 0; color: var(--text-muted); font-style: italic; }
.af-dates { margin: 6px 0 0; font: 600 .78rem/1.3 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.af-show-by { font-size: 1.2rem; font-style: italic; color: var(--text-muted); margin: 0 0 24px; }
.af-media { margin-bottom: 32px; border-radius: 6px; overflow: hidden; background: #140d0b; }
.af-show .article-back { display: block; margin-bottom: 14px; }
.af-hero-img { display: block; width: 100%; max-height: 460px; object-fit: contain; }
.af-hero-img.af-card-title { display: flex; aspect-ratio: auto; height: min(56vw, 400px); max-height: none; }
.af-hero-img.af-card-title span { font-size: clamp(2rem, 7vw, 4rem); }
.af-trailer { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }
.af-cols { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.af-about p { font-size: 1.15rem; }
.af-box { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 22px; }
.af-box p { margin: 0 0 14px; }
.af-label { font: 600 .75rem/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px !important; }
.af-tickets { display: block; text-align: center; margin-top: 8px; white-space: normal; padding-left: 12px; padding-right: 12px; font-size: .85rem; line-height: 1.3; }
.af-small { font-size: .85rem; color: var(--text-muted); margin: 10px 0 0 !important; text-align: center; }
.af-all-dates { margin: 32px 0 56px; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 16px 22px; }
.af-all-dates summary { cursor: pointer; font-weight: 600; }
.af-all-dates ul { list-style: none; padding: 0; margin: 14px 0 0; columns: 2; column-gap: 32px; }
.af-all-dates li { padding: 4px 0; break-inside: avoid; }
.af-all-dates li span { display: inline-block; min-width: 96px; color: var(--text-muted); }
.af-more-h { font-size: 1.8rem; margin-bottom: 18px; }

/* ===== Adelaide Fringe colours (from their logo): pink #EF509D, berry #8A1E61 ===== */
body:has(.af-wrap) { background: #24091A; }
.af-wrap { --af-pink: #EF509D; --af-berry: #8A1E61; --af-ink: #3A0A26;
  --surface: #38102B; --border: #5E1C47; --gold: #F57DB5; --gold-hover: #FFA3CC; --text: #FCEAF3; --text-muted: #E7BCD3;
  background: #24091A; color: var(--text); }
.af-wrap h1, .af-wrap h2 { color: #fff; text-shadow: -0.02em 0.05em 0 var(--af-pink), -0.04em 0.09em 0 var(--af-berry); }
.af-wrap .article-back { color: var(--gold); }
.af-list { padding-top: 0; }
.af-head { position: relative; overflow: hidden; background: var(--af-pink); color: var(--af-ink); padding: 130px 0 48px; margin-bottom: 40px; text-align: center; }
.af-head::before, .af-head::after { content: "\2731"; position: absolute; color: var(--af-berry); opacity: .35; line-height: 1; pointer-events: none; }
.af-head::before { font-size: 240px; left: -40px; top: 40px; transform: rotate(12deg); }
.af-head::after { font-size: 160px; right: -20px; bottom: -50px; transform: rotate(-18deg); }
.af-head .container { position: relative; }
.af-head .af-h1 { text-shadow: -0.02em 0.05em 0 var(--af-berry), -0.04em 0.09em 0 var(--af-ink); }
.af-head .af-intro { color: var(--af-ink); font-weight: 500; margin: 0 auto; }
.af-logo { display: block; width: min(420px, 82%); height: auto; margin: 0 auto 22px; }
.af-logo-small { display: block; width: 190px; height: auto; margin: 4px 0 8px; }
.af-card:hover, .af-card:focus-visible { border-color: var(--af-pink); }
.af-card-title { background: radial-gradient(110% 120% at 50% 0%, #EF509D, #8A1E61 75%); }
.af-card-title span { color: #fff; text-shadow: 0 2px 8px rgba(58,10,38,.45); }
.af-media { background: #1A0613; }
.af-wrap .btn-primary { background: var(--af-pink); border-color: var(--af-pink); color: var(--af-ink); box-shadow: 0 3px 0 var(--af-berry); }
.af-wrap .btn-primary:hover { background: #F57DB5; border-color: #F57DB5; }
.af-wrap .af-box { border-color: var(--af-pink); }

@media (max-width: 760px) {
  .af-wrap.af-list { padding-top: 0; }
  .af-head { padding: 108px 0 36px; margin-bottom: 28px; }
  .af-head::before { font-size: 160px; }
  .af-wrap { padding: 96px 0 56px; }
  .af-cols { grid-template-columns: 1fr; }
  .af-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .af-card-text { padding: 10px 12px 12px; }
  .af-card-text h2 { font-size: 1.05rem; }
  .af-card-title span { font-size: 1.05rem; }
  .af-all-dates ul { columns: 1; }
}
