/* TBG Places */
.tbg-places-wrap{margin:18px 0}
.tbg-places-filters form{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.tbg-places-filters select{padding:10px;border-radius:10px;border:1px solid var(--tbg-border);background:var(--tbg-bg);color:var(--tbg-text)}
.tbg-places-cols{display:grid;grid-template-columns:1.4fr .8fr;gap:18px;align-items:start}
.tbg-map{border-radius:14px;border:1px solid var(--tbg-border);z-index:1}
.tbg-places-list{display:flex;flex-direction:column;gap:10px;max-height:520px;overflow:auto;padding-right:4px}
.tbg-places-cols.tbg-single-col{grid-template-columns:1fr}
.tbg-places-wrap.tbg-no-list .tbg-places-cols{grid-template-columns:1fr}
@media (max-width:1024px){.tbg-places-cols{grid-template-columns:1fr}}

/* Category chips (live filter) */
.tbg-chips{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.tbg-chip{border:1px solid var(--tbg-border);background:var(--tbg-bg);color:var(--tbg-text);border-radius:999px;padding:7px 14px;font-weight:600;font-size:13px;cursor:pointer}
.tbg-chip:hover{border-color:var(--tbg-accent)}
.tbg-chip.is-active{background:var(--tbg-accent);border-color:var(--tbg-accent);color:#fff}

/* Hero chips bar above the map */
.tbg-chips-bar .tbg-chip{padding:9px 16px}
@media (max-width:640px){
  .tbg-chips-bar{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin}
  .tbg-chips-bar .tbg-chip{flex:none}
}

/* Beer-mug pins */
.tbg-beer-pin-wrap{background:none;border:0}
.tbg-beer-pin{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:3px solid #fff;box-shadow:0 4px 14px rgba(10,15,40,.35);font-size:17px;transition:transform .15s}
.leaflet-marker-icon:hover .tbg-beer-pin{transform:scale(1.15)}

/* Rich popups */
.tbg-popup-pane .leaflet-popup-content{margin:0;line-height:1.45}
.tbg-popup{width:230px;font-family:var(--tbg-font)}
.tbg-popup img{width:100%;height:110px;object-fit:cover;border-radius:8px 8px 0 0}
.tbg-popup-body{padding:10px 12px}
.tbg-popup-kind{display:inline-block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--tbg-accent)}
.tbg-popup-body strong{display:block;font-size:14.5px;margin:2px 0}
.tbg-popup-meta{font-size:12.5px;color:var(--tbg-muted);font-weight:600}
.tbg-popup-addr{font-size:12.5px;color:var(--tbg-muted)}
.tbg-popup-body p{font-size:13px;margin:6px 0}
.tbg-popup-link{font-weight:700;font-size:13px}

/* Hero overlay layout (front page) */
.tbg-hero-map .tbg-map-holder{position:relative;border-radius:16px;overflow:hidden;border:1px solid var(--tbg-border);box-shadow:var(--tbg-shadow)}
.tbg-hero-map .tbg-map{border:0;border-radius:0}
.tbg-map-overlay{position:absolute;top:16px;left:16px;z-index:500;max-width:330px;background:color-mix(in srgb,var(--tbg-bg) 82%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid var(--tbg-border);border-radius:14px;padding:16px;box-shadow:var(--tbg-shadow)}
.tbg-map-eyebrow{font-size:13px;text-transform:uppercase;letter-spacing:.06em}
.tbg-map-count{color:var(--tbg-muted);margin:2px 0 0}
.tbg-map-preview{margin-top:10px;padding-top:10px;border-top:1px solid var(--tbg-border);font-size:13px}
.tbg-map-preview strong{font-size:14px}
.tbg-legend{margin-top:8px;font-size:12px;color:var(--tbg-muted)}

/* Directory page: header, stats, app split view */
.tbg-dir-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:22px 0 6px}
.tbg-dir-stats{display:flex;gap:18px;flex-wrap:wrap;color:var(--tbg-muted);font-size:13.5px}
.tbg-dir-stats strong{color:var(--tbg-text);font-size:16px}
.tbg-dir-toolbar{display:flex;flex-direction:column;gap:10px;margin:12px 0 14px}
.tbg-area-pills .tbg-chip{text-decoration:none}
.tbg-dir-split{display:grid;grid-template-columns:1.6fr 1fr;gap:18px;align-items:start}
.tbg-map-dir{position:sticky;top:90px;border-radius:16px}
.tbg-dir-results{max-height:calc(70vh + 40px);min-height:420px;overflow-y:auto;display:flex;flex-direction:column;gap:14px;padding-right:6px;scrollbar-width:thin}
.tbg-dir-count{margin:0;color:var(--tbg-muted);font-size:13px}
.tbg-dir-empty{border:1px dashed var(--tbg-border);border-radius:14px;padding:30px 20px;text-align:center}
@media (max-width:1024px){
  .tbg-dir-split{grid-template-columns:1fr}
  .tbg-map-dir{position:static;height:320px!important;min-height:320px!important}
  .tbg-dir-results{max-height:none;overflow:visible}
}
@media (max-width:640px){
  .tbg-map-overlay{position:static;max-width:none;border-radius:0 0 14px 14px;margin-top:-6px}
  .tbg-hero-map .tbg-map-holder{display:flex;flex-direction:column}
}

/* Hero spot cards: 7-across photo grid (scoped — nearby keeps its own grid) */
.tbg-spot-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:16px}
.tbg-hero-map .tbg-spot-grid{grid-template-columns:repeat(7,1fr);gap:12px}
.tbg-hero-map .tbg-spot-body{padding:10px 11px}
.tbg-hero-map .tbg-spot-body h6{font-size:13px}
@media (max-width:1024px){.tbg-hero-map .tbg-spot-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:640px){.tbg-hero-map .tbg-spot-grid{grid-template-columns:repeat(2,1fr)}}
.tbg-spot-card{background:var(--tbg-bg);border:1px solid var(--tbg-border);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.tbg-spot-card:hover{transform:translateY(-3px);box-shadow:var(--tbg-shadow)}
.tbg-spot-photo{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:var(--tbg-surface)}
.tbg-spot-photo img{width:100%;height:100%;object-fit:cover}
.tbg-spot-fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:44px;color:#fff}
.tbg-spot-badge{position:absolute;right:10px;bottom:10px;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;border:2px solid #fff;box-shadow:0 4px 12px rgba(10,15,40,.35);font-size:16px}
.tbg-spot-body{padding:12px 13px}
.tbg-spot-kind{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--tbg-accent)}
.tbg-spot-body h6{margin:2px 0 4px;font-size:14px;line-height:1.3}
.tbg-spot-body small{color:var(--tbg-muted);font-size:12.5px}
.tbg-spot-more{align-items:center;justify-content:center;text-align:center;padding:26px 14px;gap:6px;font-weight:700}
.tbg-spot-more-num{font-size:30px;color:var(--tbg-accent)}
@media (max-width:1024px){.tbg-spot-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:640px){.tbg-spot-grid{grid-template-columns:repeat(2,1fr)}}

/* Dimmed nearby pins + mini map */
.tbg-beer-pin-wrap.is-dim{opacity:.55}
.tbg-map-mini{border-radius:12px}

/* Single place hero */
body.single-tbg_place .tbg-place-hero{margin-top:-14px}
.tbg-place-hero{position:relative;overflow:hidden;min-height:300px;display:flex;align-items:flex-end;margin-bottom:26px;background:var(--tbg-surface)}
.tbg-place-hero-img{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:cover;object-position:center 60%}
.tbg-place-hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,8,20,.15) 20%,rgba(5,8,20,.82))}
.tbg-place-hero-inner{position:relative;z-index:2;padding-top:36px;padding-bottom:100px;color:#fff}
.tbg-place-hero-cats{color:#dfe3ef;font-size:13.5px;margin:0 0 8px;max-width:70ch}
.tbg-place-hero-cats a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.tbg-place-hero-inner h1{color:#fff;font-size:36px;margin:0 0 16px;max-width:22ch}
.tbg-place-chips{display:flex;flex-wrap:wrap;gap:10px;margin:6px -10px 4px 0}
.tbg-place-chip{display:inline-block;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.35);color:#fff;font-weight:600;font-size:14px;line-height:1.5;padding:9px 17px;margin:0 10px 10px 0;border-radius:999px;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);box-shadow:0 2px 10px rgba(0,0,0,.25)}
header.tbg-place-hero .tbg-place-chips{gap:10px;margin:6px -10px 4px 0}
header.tbg-place-hero .tbg-place-chip{margin:0 10px 10px 0;padding:9px 17px}
.tbg-place-tags{display:flex;flex-wrap:wrap;gap:8px;margin:14px -8px -8px 0}
.tbg-place-tag{display:inline-block;background:var(--tbg-accent);color:#fff;font-weight:600;font-size:12.5px;padding:5px 12px;margin:0 8px 8px 0;border-radius:999px}
/* Breadcrumb bar is redundant on place pages (hero carries the pills) */
body.single-tbg_place .tbg-crumbs{display:none}
/* Responsive article grids (theme companion provides these too; fallback here) */
.tbg-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.tbg-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media (max-width:640px){.tbg-grid-2,.tbg-grid-3{grid-template-columns:1fr}}
.tbg-place-hero-emoji{position:absolute;right:6%;top:50%;transform:translateY(-50%);font-size:120px;opacity:.5;z-index:1;pointer-events:none}
@media (max-width:640px){.tbg-place-hero{min-height:220px}body.single-tbg_place .tbg-place-hero{margin-top:-10px}.tbg-place-hero-inner{padding-bottom:64px}.tbg-place-hero-inner h1{font-size:27px}.tbg-place-hero-emoji{font-size:64px;right:4%}}

/* Info card */
.tbg-info-card .tbg-map{margin:-18px -18px 14px;border-radius:12px 12px 0 0;border:0}
.tbg-info-addr{font-weight:600;margin:0 0 10px}
.tbg-info-known{font-size:13.5px;color:var(--tbg-muted);margin:8px 0 0}
.tbg-info-highlights{background:var(--tbg-surface);border:1px solid var(--tbg-border);border-radius:12px;padding:14px 15px;font-size:14px;line-height:1.65;margin:12px 0 4px}
.tbg-content + .tbg-info-highlights{margin:18px 0 6px;font-size:15px}
.tbg-info-btns{display:flex;flex-direction:column;gap:8px;margin-bottom:6px}
.tbg-info-btns .tbg-btn{text-align:center}
.tbg-hours{width:100%;border-collapse:collapse;font-size:13.5px;margin-top:6px}
.tbg-hours td{padding:7px 2px;border-bottom:1px solid var(--tbg-border)}
.tbg-hours td:last-child{text-align:right;color:var(--tbg-muted);font-weight:600}
.tbg-hours tr.is-closed td{opacity:.55}
.tbg-hours tr.is-closed td:last-child{text-transform:uppercase;font-size:12px;letter-spacing:.04em}
.tbg-spot-grid-4{grid-template-columns:repeat(4,1fr)}
@media (max-width:1024px){.tbg-spot-grid-4{grid-template-columns:repeat(2,1fr)}}
