/* Front styling (red base) */
.pbcg-front{ --pbcg-red:#b30000; font-family: inherit; }
.pbcg-title{ font-size:28px; margin:10px 0 16px; border-bottom:3px solid var(--pbcg-red); display:inline-block; padding-bottom:6px; }
.pbcg-breadcrumb a{ color:var(--pbcg-red); text-decoration:none; font-weight:600; }
.pbcg-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap:14px; }
.pbcg-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:16px;
  padding:14px;
  text-decoration:none;
  color:#111;
  box-shadow:0 6px 20px rgba(0,0,0,0.06);
  transition: transform .12s ease, box-shadow .12s ease;
}
.pbcg-card:hover{ transform: translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,0.10); }
.pbcg-card-title{ font-weight:800; font-size:18px; }
.pbcg-card-sub{ color:#666; margin-top:6px; }
.pbcg-event img{ width:100%; height:160px; object-fit:cover; border-radius:12px; border:1px solid #eee; margin-bottom:10px; }
.pbcg-cover-fallback{ width:100%; height:160px; border-radius:12px; background:linear-gradient(135deg, rgba(179,0,0,.12), rgba(0,0,0,.03)); border:1px solid #eee; margin-bottom:10px; }
.pbcg-photo img{ width:100%; height:200px; object-fit:cover; border-radius:14px; border:1px solid #eee; }

.pbcg-lightbox{ position:fixed; inset:0; background:rgba(0,0,0,.88); z-index:99999; }
.pbcg-lb-inner{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.pbcg-lb-img{ max-width:92vw; max-height:82vh; transform-origin:center; border-radius:14px; }
.pbcg-lb-close{ position:absolute; top:16px; right:16px; background:var(--pbcg-red); color:#fff; border:0; width:42px; height:42px; border-radius:999px; font-size:26px; cursor:pointer; }
.pbcg-lb-prev, .pbcg-lb-next{
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.25);
  width:48px; height:48px; border-radius:999px; font-size:32px; cursor:pointer;
}
.pbcg-lb-prev{ left:16px; } .pbcg-lb-next{ right:16px; }
.pbcg-lb-tools{ position:absolute; bottom:16px; display:flex; gap:10px; }
.pbcg-lb-tools button{
  background:rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.25);
  padding:10px 12px; border-radius:999px; cursor:pointer;
}
.pbcg-gate{ background:#fff; border-radius:16px; padding:18px; max-width:420px; margin:18px auto; border-top:6px solid var(--pbcg-red); }
.pbcg-gate input{ width:100%; padding:10px; border-radius:10px; border:1px solid #ddd; margin:10px 0; }
.pbcg-gate button{ background:var(--pbcg-red); color:#fff; border:0; padding:10px 14px; border-radius:12px; cursor:pointer; }
.pbcg-notice{ padding:10px 12px; background:rgba(179,0,0,.10); border:1px solid rgba(179,0,0,.25); border-radius:12px; }
