/* Page shell */
.ep-page { color:#fff; background:#000; padding:2rem 1rem; margin-top:100px; }
.ep-header { text-align:center; margin-bottom:1.5rem; }
.ep-title { font-size:clamp(28px,2.5vw,40px); margin:0; }
.ep-subtitle { opacity:.8; margin-top:.25rem; }

/* ---------- FILTERS ---------- */
.ep-filters { margin:1.5rem auto 2rem; max-width:1100px; position: relative;}
.ep-filters-row {
  display:grid;
  grid-template-columns:repeat(5, minmax(0,1fr));
  gap:.75rem;
  align-items:end;
}
.ep-filter { min-width:0; }
.ep-filter label { display:block; opacity:.8; margin-bottom:.25rem; line-height:1.2; white-space:nowrap; }
.ep-filter input[type="date"], .ep-filter select {
  width:100%; font-size:15px; line-height:1.25;
  padding:.55rem .6rem; border-radius:.5rem;
  border:1px solid #222; color:#fff; background:#111;
  appearance:none; -webkit-appearance:none;
  background-clip:padding-box; overflow:hidden; position:relative; box-sizing:border-box;
}
.ep-filter select::-ms-expand { display:none; }
.ep-filter input[type="date"]::-webkit-calendar-picker-indicator { filter:invert(1); opacity:.8; cursor:pointer; }
.ep-filter input[type="date"]::-moz-calendar-picker-indicator { filter:invert(1); opacity:.8; cursor:pointer; }
.ep-filter input[type="date"]::-webkit-datetime-edit,
.ep-filter input[type="date"]::-webkit-date-and-time-value { color:#fff; }
.ep-filter input:-webkit-autofill,
.ep-filter select:-webkit-autofill {
  -webkit-text-fill-color:#fff!important;
  -webkit-box-shadow:0 0 0px 1000px #111 inset!important;
  box-shadow:0 0 0px 1000px #111 inset!important;
}
.ep-filter.ep-actions { display:flex; align-items:end; gap:.5rem; }
.ep-btn-apply, .ep-btn-reset {
  background:#fff; color:#000; padding:.55rem .9rem; border-radius:.5rem;
  border:none; cursor:pointer; white-space:nowrap; text-decoration:none;
}
.ep-btn-reset { background:#222; color:#fff; }

/* List view */
.ep-list-view { max-width:1200px; margin:0 auto; }
.ep-cards .rumours-events-list {
  display:grid!important; grid-template-columns:repeat(auto-fill, minmax(220px,1fr))!important;
  gap:16px!important; max-width:1200px; margin:0 auto;

}
.ep-cards .rumours-event-item {
  display:flex!important; flex-direction:column!important;
  background:#0b0b0b; border:1px solid #151515; border-radius:12px; overflow:hidden;
}
.ep-cards .event-image img { width:100%; height:auto; object-fit:cover; display:block; }
.ep-cards .rumours-event-content { padding:1rem; text-align:center; }
.ep-cards .event-title { margin:.25rem 0 .35rem; }
.ep-cards .event-date { opacity:.8; margin-bottom:.4rem; }
.ep-cards .event-time-box, .ep-cards .event-tag-box {
  border:1px solid #222; padding:.2rem .45rem; border-radius:.35rem; background:#111;
}
.ep-cards .rumours-event-item.past { opacity:.5; filter:grayscale(1); }
.ep-cards .rumours-events-list > * { min-width:0; }

/* Responsive */
@media (max-width:900px) {
  .ep-filters-row { grid-template-columns:repeat(2, minmax(0,1fr)); }

}

/* Below ~730px: allow a smaller min so 2 columns survive longer */
@media (max-width: 730px) {
  .ep-cards .rumours-events-list {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  }

  .ep-cards .event-title {
    font-size: 20px !important;
  }
}

/* Keep EXACTLY two columns down to 550px to avoid big gutters */
@media (max-width: 550px) {
.ep-cards .rumours-events-list {

        max-width: 100% !important;

    }

}

@media (max-width: 447px) {
.ep-cards .rumours-event-item {

        width: 80% !important;

    }

   .ep-cards .event-image{
        width:80%!important;
    }

    .ep-cards .rumours-event-content{
        width:80%!important;
    }

    .ep-cards .event-cta-btn{
margin-top:0px!important;
    }

}


