/* ============================================================
   BKK Events + Zeffy  —  v4.0.0
   ============================================================ */

/* ── Events list wrapper ──────────────────────────────────── */

.bkk-events-wrap  { margin: 18px 0; }
.bkk-events-empty { opacity: .8; margin: 0; }

/* ── Category filter chips ────────────────────────────────── */

.bkk-events-filters {
  margin: 10px 0 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.bkk-events-filter-label { opacity: .75; margin-right: 4px; font-size: .9em; }
.bkk-filter-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.15);
  text-decoration: none;
  font-size: .88em;
  transition: background .15s, border-color .15s;
}
.bkk-filter-chip:hover { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.25); }

/* ── Responsive grid ──────────────────────────────────────── */

.bkk-events-grid { display: grid; gap: 18px; }
@media (min-width: 720px)  { .bkk-events-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .bkk-events-grid { grid-template-columns: 1fr 1fr 1fr; } }

/* ── Event card ───────────────────────────────────────────── */

.bkk-event-card {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.bkk-event-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.11);
  transform: translateY(-3px);
}

.bkk-event-img-link { display: block; }
.bkk-event-img img  { width: 100%; height: 200px; object-fit: cover; display: block; }

.bkk-event-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bkk-event-name { margin: 0 0 6px; }
.bkk-event-name a {
  text-decoration: none;
  color: inherit;
  font-size: 1.1em;
  font-weight: 700;
}
.bkk-event-name a:hover { text-decoration: underline; }

.bkk-badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
  border: 1px solid rgba(0,0,0,.15);
  background: rgba(255,215,0,.15);
  text-transform: uppercase;
}

.bkk-event-cats { margin: 4px 0 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.bkk-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(0,0,0,.13);
  background: rgba(0,0,0,.03);
}

.bkk-event-meta       { font-size: .92em; opacity: .8; line-height: 1.65; }
.bkk-event-meta > div { margin-bottom: 2px; }
.bkk-meta-icon        { font-size: .85em; }
.bkk-event-excerpt    { margin: 10px 0 0; font-size: .93em; opacity: .8; flex: 1; line-height: 1.55; }

.bkk-event-actions { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }

.bkk-btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.15);
  text-decoration: none;
  font-size: .88em;
  font-weight: 500;
  transition: background .15s, transform .1s;
  white-space: nowrap;
}
.bkk-btn:hover { transform: translateY(-1px); }

.bkk-btn-details   { background: #1e40af; color: #fff; border-color: #1e40af; }
.bkk-btn-details:hover { background: #1e3a8a; }

.bkk-btn-primary   { background: #166534; color: #fff; border-color: #166534; }
.bkk-btn-primary:hover { background: #14532d; }

.bkk-btn-secondary { background: transparent; }
.bkk-btn-secondary:hover { background: rgba(0,0,0,.05); }

.bkk-btn-vendor    { border-color: #86efac; background: #f0fdf4; color: #166534; }
.bkk-btn-vendor:hover { background: #dcfce7; }

.bkk-event-calendar { margin-top: 12px; font-size: .82em; opacity: .75; }
.bkk-event-calendar a { text-decoration: none; color: inherit; }
.bkk-event-calendar a:hover { text-decoration: underline; }


/* ================================================================
   SINGLE EVENT DETAIL PAGE  —  v4.0.0
   ================================================================ */

.bkk-single-event {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 0 56px;
  font-size: 1em;
  line-height: 1.7;
}

/* ── Hero image ──────────────────────────────────────────── */

.bkk-single-hero { margin: 0 0 30px; border-radius: 14px; overflow: hidden; background: #f1f5f9; }
.bkk-single-hero-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
  height: auto;
}

/* ── Info panel (date / time / location) ─────────────────── */

.bkk-single-info-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 0 0 26px;
}
.bkk-single-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 190px;
  flex: 1 1 190px;
  padding: 5px 0;
}
.bkk-single-info-icon  { font-size: 22px; line-height: 1.2; flex-shrink: 0; margin-top: 1px; }
.bkk-single-info-label { font-size: 11px; text-transform: uppercase; letter-spacing: .7px; opacity: .55; font-weight: 700; margin-bottom: 3px; }
.bkk-single-info-value { font-weight: 600; font-size: 1.02em; }
.bkk-single-tz         { font-weight: 400; font-size: .85em; opacity: .65; }

/* ── Description callout ─────────────────────────────────── */

.bkk-single-description {
  font-size: 1.06em;
  line-height: 1.72;
  margin: 0 0 26px;
  padding: 20px 26px;
  background: #fefce8;
  border-left: 4px solid #facc15;
  border-radius: 0 12px 12px 0;
  color: #44403c;
}
.bkk-single-description p:last-child { margin-bottom: 0; }

/* ── Full editor content ─────────────────────────────────── */

.bkk-single-content { margin: 0 0 28px; }

/* ── Action buttons row ──────────────────────────────────── */

.bkk-single-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 30px;
  padding: 22px 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.bkk-single-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 1em;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: opacity .18s, transform .12s, box-shadow .18s;
  white-space: nowrap;
  cursor: pointer;
}
.bkk-single-btn:hover {
  opacity: .88;
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(0,0,0,.18);
}

.bkk-single-btn-tickets  { background: #1e40af; color: #fff; border-color: #1e40af; }
.bkk-single-btn-rsvp     { background: #166534; color: #fff; border-color: #166534; }
.bkk-single-btn-secondary { background: transparent; color: inherit; border-color: rgba(0,0,0,.2); }
.bkk-single-btn-vendor   { background: #f0fdf4; color: #166534; border-color: #86efac; }

/* ── Calendar links ──────────────────────────────────────── */

.bkk-single-calendar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 20px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  margin: 0 0 26px;
  font-size: .95em;
}
.bkk-single-cal-label {
  font-weight: 700;
  font-size: .82em;
  text-transform: uppercase;
  letter-spacing: .5px;
  opacity: .6;
  white-space: nowrap;
}
.bkk-single-cal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 600;
  color: #0369a1;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid #7dd3fc;
  background: #fff;
  font-size: .92em;
  transition: background .15s;
  white-space: nowrap;
}
.bkk-single-cal-link:hover { background: #e0f2fe; }

/* ── Back link ───────────────────────────────────────────── */

.bkk-single-back { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(0,0,0,.08); }
.bkk-single-back-link {
  text-decoration: none;
  font-weight: 600;
  opacity: .65;
  font-size: .95em;
  transition: opacity .15s;
}
.bkk-single-back-link:hover { opacity: 1; }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 640px) {
  .bkk-single-info-panel  { padding: 14px 16px; }
  .bkk-single-actions     { gap: 8px; padding: 16px; }
  .bkk-single-btn         { padding: 11px 18px; font-size: .95em; }
  .bkk-single-calendar    { gap: 8px 12px; padding: 12px 16px; }
  .bkk-single-description { padding: 16px 18px; }
}


/* ================================================================
   v4.3.0 — Single event page: featured image + duplicate panel fix
   ================================================================ */

/* v4.5.1 — remove THEME duplicate meta strip entirely (prevents blank beige panel) */
.single-bkk_event .event-meta-info{
  display:none !important;
}

/* Round + shrink the theme-rendered featured image above the_content */
.single-bkk_event .wp-post-image,
.single-bkk_event .entry-thumbnail img,
.single-bkk_event .post-thumbnail img,
.single-bkk_event .event-featured-image img,
.single-bkk_event figure.wp-block-post-featured-image img,
.single-bkk_event .featured-image img {
  max-width: 72% !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto 28px !important;
  border-radius: 18px !important;
}

/* Round the wrapper figure too if the theme wraps the image */
.single-bkk_event .wp-block-post-featured-image,
.single-bkk_event .post-thumbnail,
.single-bkk_event .entry-thumbnail,
.single-bkk_event .event-featured-image {
  max-width: 72%;
  margin: 0 auto 28px;
  border-radius: 18px;
  overflow: hidden;
}


/* ── Single event: make hero image match RSVP style (smaller + rounded) ── */
.single-bkk_event .wp-post-image,
.single-bkk_event .post-thumbnail img,
.single-bkk_event .wp-block-post-featured-image img,
.single-bkk_event .attachment-post-thumbnail {
  max-width: 720px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 22px;
  border-radius: 14px;
  overflow: hidden;
}

/* If theme wraps featured image, keep wrapper centered */
.single-bkk_event .post-thumbnail,
.single-bkk_event .wp-block-post-featured-image {
  max-width: 720px;
  margin: 0 auto 22px;
  border-radius: 14px;
  overflow: hidden;
}

/* Keep plugin hero image rounded/smaller too */
.single-bkk_event .bkk-single-hero { max-width: 720px; margin: 0 auto 22px; border-radius: 14px; }
.single-bkk_event .bkk-single-hero-img { border-radius: 14px; }
