:root{
  --bg:#f6f4ef;
  --card:#ffffff;
  --text:#12131a;
  --muted:#5b6070;
  --border:rgba(18,19,26,.10);
  --shadow:0 12px 28px rgba(18,19,26,.08);
  --radius:18px;
  --accent:#b6862c;
  --accent-dark:#1b1b1b;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  background:
    radial-gradient(circle at top, rgba(182,134,44,.08), transparent 28%),
    linear-gradient(180deg, #f7f6f2 0%, #f1efea 100%);
  color:var(--text);
  font-family:Inter, system-ui, Segoe UI, Arial, sans-serif;
}

a{ color:inherit; }

.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 18px;
}

.topbar{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(247,246,242,.90);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.brand-mark{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  font-weight:700;
  font-family:Fraunces, Georgia, serif;
}

.brand-name{
  font-weight:700;
  letter-spacing:.2px;
}

.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.nav-link{
  text-decoration:none;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
  color:var(--muted);
  font-weight:600;
  transition:.18s ease;
}

.nav-link:hover{
  border-color:var(--border);
  background:#fff;
  color:var(--text);
}

.nav-link.active{
  border-color:var(--border);
  background:#fff;
  color:var(--text);
  box-shadow:0 4px 12px rgba(18,19,26,.05);
}

.hero{
  padding:28px 0 14px;
}

h1{
  margin:10px 0 10px;
  font-family:Fraunces, Georgia, serif;
  font-size:clamp(30px, 4vw, 46px);
  letter-spacing:.2px;
  line-height:1.05;
}

.pill-wrap{
  margin:10px 0 18px;
}

.pill{
  display:inline-flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--border);
  box-shadow:0 8px 18px rgba(18,19,26,.06);
  font-size:14px;
}

.pill-sep{ color:var(--muted); }

.pill-link{
  text-decoration:none;
  font-weight:700;
  border-bottom:1px solid rgba(18,19,26,.25);
}

.controls{
  display:grid;
  grid-template-columns:1fr 180px 180px;
  gap:12px;
  margin:8px 0 10px;
}

.control label{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin:0 0 6px 2px;
  font-weight:700;
}

.control input,
.control select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  outline:none;
  font-size:14px;
  transition:border-color .18s ease, box-shadow .18s ease;
}

.control input:focus,
.control select:focus{
  border-color:rgba(18,19,26,.25);
  box-shadow:0 0 0 4px rgba(18,19,26,.05);
}

.subtext{
  margin:8px 0 0;
  color:var(--muted);
  font-size:14px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
  padding:16px 0 26px;
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  min-height:360px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 32px rgba(18,19,26,.11);
  border-color:rgba(18,19,26,.16);
}

/* IMAGE AREA */
.thumb{
  position:relative;
  width:100%;
  height:205px;
  overflow:hidden;
  background:
    linear-gradient(135deg, #222 0%, #474747 55%, #9f7424 100%);
  border-bottom:1px solid var(--border);
}

.thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
  position:absolute;
  inset:0;
  background:#111;
  padding:0;
}

/* subtle cinematic darkening so mixed flyers/photos feel more consistent */
.thumb::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to top, rgba(0,0,0,.42) 0%, rgba(0,0,0,.10) 45%, rgba(0,0,0,0) 100%);
  pointer-events:none;
}

.thumb-fallback{
  position:relative;
  z-index:1;
  padding:16px;
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  color:#fff;
}

.sm-mini{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.20);
  font-weight:700;
  margin-bottom:12px;
}

.fallback-kicker{
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:6px;
  opacity:.95;
}

.fallback-title{
  font-size:22px;
  line-height:1.12;
  font-weight:800;
  max-width:90%;
  font-family:Fraunces, Georgia, serif;
}

.card-body{
  padding:14px 14px 12px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}

.meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}

.badge{
  font-size:11px;
  font-weight:800;
  padding:5px 9px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  letter-spacing:.01em;
}

.date{
  color:var(--muted);
  font-weight:700;
  font-size:12.5px;
}

.title{
  font-size:18px;
  font-weight:800;
  line-height:1.22;
}

.location{
  color:var(--muted);
  font-size:14px;
  line-height:1.4;
}

.actions{
  margin-top:auto;
  display:flex;
  gap:10px;
}

.btn{
  flex:1;
  text-align:center;
  text-decoration:none;
  padding:11px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  font-weight:800;
  background:#fff;
  transition:.18s ease;
}

.btn.primary{
  background:#111;
  color:#fff;
  border-color:#111;
}

.btn:hover{
  transform:translateY(-1px);
}

.footer{
  padding:10px 0 30px;
}

.fineprint{
  color:var(--muted);
  font-size:12.5px;
  line-height:1.5;
  border-top:1px solid var(--border);
  padding-top:14px;
}

/* helps very text-heavy flyer images feel less chaotic */
.thumb img[src*="flyer"],
.thumb img[src*="poster"]{
  object-position:center top;
}

@media (max-width: 920px){
  .grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .controls{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width: 560px){
  .grid{
    grid-template-columns:1fr;
  }

  .controls{
    grid-template-columns:1fr;
  }

  .thumb{
    height:220px;
  }
}