.jc-wrap{ width:100%; max-width: var(--jc-max, 100%); margin-left:auto; margin-right:auto; }
.jc-map{ width:100%; height: var(--map-h, 640px); margin: 12px 0 20px; border:1px solid #eee; border-radius:14px; overflow:hidden; }

.jc-filterbar{ display:flex; flex-direction:column; gap:14px; margin: 26px 0; }
.jc-row-top, .jc-row-2{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; align-items:stretch; }
.jc-box{ display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid #e2e8f0; border-radius:12px; background:#fff; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.jc-box label{ font-weight:700; color:#334155; margin-right:6px; }
.jc-city-input{ border:0; outline:0; min-width:240px; }
select.jc-select{ border:0; outline:0; min-width:140px; background:transparent; }

.jc-controls-row{ display:none; flex-wrap:wrap; gap:14px; justify-content:center; align-items:center; margin-top:-6px; }
.jc-btn{ display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border:1px solid #e2e8f0; border-radius:10px; background:#fff; cursor:pointer; font-weight:600; color:#084c0d; box-shadow:0 1px 2px rgba(16,24,40,.04); }
.jc-btn:hover{ background:#f7faf9; }

.jc-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap: var(--gap, 18px); }
.jc-card{
  position:relative; border:1px solid #e9eef5; border-radius:14px; overflow:hidden; background:#fdfdfd;
  background-image: radial-gradient(60% 70% at 90% 0%, rgba(8,76,13,.06), rgba(8,76,13,0) 60%),
                    radial-gradient(55% 65% at 0% 100%, rgba(216,125,51,.07), rgba(216,125,51,0) 55%);
  box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 6px 12px rgba(16,24,40,.04);
  display:flex; flex-direction:column; align-items:center; height: var(--tile-h, 560px);
  transition: box-shadow .2s ease, transform .2s ease;
}
.jc-card:hover, .jc-card:focus-within{ box-shadow:0 2px 6px rgba(16,24,40,.10), 0 10px 20px rgba(16,24,40,.08); transform: translateY(-1px); }
.jc-card-thumb{ width:100%; height: var(--thumb-h, 280px); object-fit:cover; background:#f2f2f2; display:block; }
.jc-card-body{ flex:1; min-height:0; display:flex; flex-direction:column; align-items:center; gap:10px; padding:12px; text-align:center; font-family: Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans"; }
.jc-card-title{ font-size:22px; line-height:1.3; font-weight:800; color:#084c0d; margin:0; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.jc-card-title a{ color:inherit; text-decoration:none; }
.jc-card-when{ font-size:15px; color:#334155; display:flex; align-items:center; gap:8px; }

.jc-card-desc{
  font-size:14px; line-height:18px; color:#084c0d;
  display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden;
}

.jc-card-org{ font-size:15px; color:#334155; white-space:normal; word-break:break-word; }
.jc-card-org a{ text-decoration:none; }
.jc-actions{ margin-top:auto; width:100%; text-align:center; }
.jc-readmore{ display:inline-block; font-size:15px; color:#fff; background:#8D2303; padding:6px 10px; border-radius:6px; text-decoration:none; font-weight:700; }

.jc-badges{ position:absolute; top:10px; left:10px; display:flex; gap:6px; z-index:2; }
.jc-badge{ padding:4px 8px; font-size:12px; font-weight:700; border-radius:999px; color:#fff; box-shadow:0 1px 2px rgba(0,0,0,.2); }
.jc-badge--featured{ background:#084c0d; }
.jc-badge--popular{ background:#0b75b8; }
.jc-badge--sponsored{ background:#8c2403; }

@media (max-width: 576px){
  .jc-card{ height: calc(var(--tile-h, 560px) + 60px); }
  .jc-card-desc{ -webkit-line-clamp:5; }
}

/* Load more area */
.jc-more-wrap{ display:flex; justify-content:center; margin:16px 0 8px; }
.jc-more-btn{ padding:10px 16px; border-radius:10px; border:1px solid #e2e8f0; background:#fff; cursor:pointer; font-weight:700; }
.jc-more-btn:hover{ background:#f7faf9; }

/* Leaflet pin reset */
.leaflet-container .leaflet-marker-icon.jc-pin,
.leaflet-container .leaflet-marker-shadow {
  width:auto!important; height:auto!important; border:0!important; background:none!important; box-shadow:none!important;
  filter:none!important; -webkit-filter:none!important; mix-blend-mode:normal!important; font-size:0!important; line-height:0!important;
}
