/* Events list, filters, calendar */
/* ---------- events ---------- */
.month-head{ display:flex; align-items:center; gap:22px; margin:54px 0 4px; }
.month-head:first-of-type{ margin-top:14px; }
.month-head span{ font-family:var(--serif); font-weight:700; font-size:1.1rem; color:var(--navy); white-space:nowrap; }
.month-head .rule{ flex:1; height:1px; background:var(--gold-deep); opacity:.5; }

.event-card{
  position:relative;
  display:grid; grid-template-columns:78px 1fr 250px; gap:40px;
  padding:52px 0; align-items:start;
}
/* stronger separation: a full rule plus a short gold tick at the start */
.event-card + .event-card::before,
.month-head + .event-card + .event-card::before{
  content:""; position:absolute; top:0; left:0; right:0;
  height:1px; background:var(--line);
}
.event-card + .event-card::after{
  content:""; position:absolute; top:-1px; left:0;
  width:78px; height:3px; background:var(--gold);
}
.event-card:last-of-type{ border-bottom:1px solid var(--line); }
@media (max-width:900px){
  .event-card{ grid-template-columns:62px 1fr; gap:22px; }
  .event-card .event-photo{ grid-column:1/-1; max-width:270px; margin-top:6px; }
}
@media (max-width:560px){
  .event-card{ grid-template-columns:1fr; gap:14px; padding:34px 0; }
  .event-card::after{ width:48px !important; }
  .event-date{ display:flex; align-items:baseline; gap:8px; padding-top:0; }
  .event-date .num{ font-size:1.7rem; }
  .event-body h3{ font-size:1.1rem; }
  .event-foot{ gap:12px; }
  .event-foot .btn-sm{ flex:1 1 auto; justify-content:center; }
  .event-card .event-photo{ max-width:100%; }
}
.event-date{ padding-top:6px; }
.event-date .dow{ display:block; font-size:.76rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:rgba(31,42,51,.5); }
.event-date .num{ display:block; font-family:var(--serif); font-weight:700; font-size:2.2rem; color:var(--navy); line-height:1.05; }

.event-body .datetime{ font-size:.92rem; color:rgba(31,42,51,.58); margin-bottom:10px; }
.event-body h3{ font-family:var(--serif); font-weight:700; font-size:1.26rem; line-height:1.36; margin:0 0 14px; }
.event-body h3 a{
  color:var(--navy); text-decoration:none;
  background-image:linear-gradient(var(--gold-deep), var(--gold-deep));
  background-size:0 2px; background-repeat:no-repeat;
  background-position:0 100%;
  transition:background-size .3s cubic-bezier(.19,1,.22,1);
}
.event-body h3 a:hover{ background-size:100% 2px; }
/* small brand sparkle marking the title */
.event-body h3 .spark{
  display:inline-block; width:.58em; height:.68em;
  color:var(--gold-deep); margin-right:.4em;
  vertical-align:.02em;
}

.event-foot{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; }

.event-body .venue{ font-size:.95rem; margin-bottom:14px; color:rgba(31,42,51,.82); }
.event-body .venue b{ color:var(--navy); }
.event-body .desc{ font-size:.96rem; line-height:1.7; color:rgba(31,42,51,.72); margin-bottom:16px; max-width:64ch; }
.event-body .price{ font-family:var(--serif); font-weight:700; color:var(--navy); font-size:1.1rem; }

.events-foot{ display:flex; justify-content:center; margin-top:50px; }

/* ---------- event filters + calendar ---------- */
.filter-bar{
  display:grid; grid-template-columns:1fr 300px; gap:48px;
  margin-top:44px; align-items:start;
}
@media (max-width:900px){ .filter-bar{ grid-template-columns:1fr; gap:32px; } }

.filter-label{ font-size:.8rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:rgba(31,42,51,.5); margin-bottom:14px; }
.chips{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:26px; }
.chip{
  background:var(--paper); border:1.5px solid var(--line);
  border-radius:100px; padding:9px 20px;
  font-family:var(--sans); font-weight:600; font-size:.9rem; color:var(--ink);
  cursor:pointer; transition:background .18s ease, border-color .18s ease, color .18s ease;
}
.chip:hover{ border-color:var(--ink); }
.chip.on{ background:var(--gold); border-color:var(--ink); color:var(--ink); }

.cal{
  background:var(--paper); border:1px solid var(--line);
  border-radius:0 32px 0 32px; padding:24px;
}
.cal-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.cal-top b{ font-family:var(--serif); font-size:1.02rem; color:var(--navy); }
.cal-nav{ display:flex; gap:6px; }
.cal-nav button{
  width:30px; height:30px; border-radius:50%;
  border:1px solid var(--line); background:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.cal-nav button:hover{ background:var(--ink); border-color:var(--ink); }
.cal-nav svg{ width:12px; height:12px; stroke:var(--ink); fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.cal-nav button:hover svg{ stroke:var(--cream); }
.cal-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.cal-grid .dow{
  font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
  color:rgba(31,42,51,.42); text-align:center; padding-bottom:6px;
}
.cal-day{
  aspect-ratio:1; display:flex; align-items:center; justify-content:center;
  font-size:.86rem; font-weight:600; color:rgba(31,42,51,.6);
  border-radius:50%; border:none; background:none;
}
.cal-day.empty{ visibility:hidden; }
.cal-day.has-event{
  background:var(--gold); color:var(--ink); font-weight:700;
  cursor:pointer; border:1.5px solid var(--ink);
}
.cal-day.has-event:hover{ background:var(--ink); color:var(--gold); }
.cal-legend{ display:flex; align-items:center; gap:9px; margin-top:16px; font-size:.82rem; color:rgba(31,42,51,.6); }
.cal-legend i{ width:14px; height:14px; border-radius:50%; background:var(--gold); border:1.5px solid var(--ink); display:block; flex:none; }

.no-results{ padding:48px 0; text-align:center; color:rgba(31,42,51,.6); display:none; }
.no-results.on{ display:block; }

.event-photo a{ display:block; }
.event-photo a img{ transition:transform .4s cubic-bezier(.19,1,.22,1); }
.event-photo a:hover img{ transform:scale(1.03); }

.invite-link{
  display:inline-flex; align-items:center; gap:7px;
  font-size:.88rem; font-weight:600; color:rgba(31,42,51,.66);
  text-decoration:none; border-bottom:1px solid transparent;
}
.invite-link svg{ width:14px; height:16px; color:var(--gold-deep); flex:none; }
.invite-link:hover{ color:var(--navy); border-bottom-color:var(--gold-deep); }


/* selected day in calendar (was inline style in the prototype) */
.cal-day.is-selected{ background:var(--ink); color:var(--gold); }
.event-card[hidden], .month-head[hidden]{ display:none; }
.shot-event--empty{ display:block; }
