/* ===== Overzicht / Home (shortcode) ===== */
.ep-events-heading { margin: 0 0 16px; }

.ep-events-filters { margin-bottom: 16px; }
.ep-filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ep-filter-row label { font-weight: 600; }

.ep-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.ep-event-card {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 0 16px 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  transition: transform .12s ease, box-shadow .12s ease;
}
.ep-event-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.08); }

.ep-card-thumb-wrap { margin: 0 -16px 12px; overflow: hidden; }
.ep-card-thumb-wrap img.ep-card-thumb {
  width: 100%; height: auto; display: block;
  transition: transform .55s ease;
}
/* Hover zoom effect */
.ep-event-card:hover .ep-card-thumb { transform: scale(1.06); }

.ep-event-title { margin: 0 0 6px; line-height: 1.25; }

.ep-event-meta {
  list-style: none; padding: 0; margin: 0 0 10px; font-size: 14px; color: #4b5563;
}
.ep-event-meta i { margin-right: 6px; }
.ep-meta-sep { margin: 0 8px; opacity: .6; }

.ep-event-excerpt { margin: 0 0 12px; color: #333; }
.ep-event-actions .button { display: inline-block; position: relative; z-index: 2; }

/* Hele kaart klikbaar */
.ep-card-hitarea {
  position: absolute; inset: 0; z-index: 1;
  text-indent: -9999px; overflow: hidden;
}

/* ===== Single event – HERO (full-width/bleed) ===== */
body.ep-single .ep-hero.ep-hero--fullbleed {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  background-size: cover;
  background-position: center center;

  /* full-bleed: volle viewport breedte */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  overflow: hidden;
  margin-bottom: 32px;
}
body.ep-single .ep-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.45));
}
body.ep-single .ep-hero__inner {
  position: relative; z-index: 1;
  text-align: center; color: #fff;
  padding: 32px 24px;
  max-width: 1100px; width: 100%;
}
body.ep-single .ep-hero__cat {
  display: inline-block;
  font-size: 13px;
  padding: 6px 10px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  margin-bottom: 12px;
  backdrop-filter: blur(2px);
}
body.ep-single .ep-hero__title {
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 12px;
  letter-spacing: .2px;
  font-weight: 800;
}
body.ep-single .ep-hero__meta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; opacity: .98;
}
body.ep-single .ep-hero__meta i { margin-right: 6px; }
body.ep-single .ep-meta-sep { opacity: .85; }

/* Archive polishing */
body.ep-archive .page-title,
body.post-type-archive-eventpilot_event .page-title { margin-bottom: 12px; }


/* zelf */
.single-eventpilot_event .heading-title.hentry {
	display: none;
}
.single-eventpilot_event .container-wrap.no-sidebar {
	padding-top: 0px;
}
.single-eventpilot_event .ep-hero__title {
	color: white !important;
}