/* Category pages v2 (/c/{slug}) — same look as css/venue/venue-v2.css */
.tgc2 {
  --tg-ink: #0B2338;
  --tg-muted: #5b6776;
  --tg-line: #e3e8ef;
  --tg-soft: #f5f8fc;
  --tg-blue: #1a8cff;
  --tg-blue-dark: #0a6fd6;
  --tg-grad: linear-gradient(90deg, #7ee8a2 0%, #10c8f0 100%);
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--tg-ink);
  background: #fff;
  padding: 0 0 48px;
}
.tgc2 *, .tgc2 *::before, .tgc2 *::after { box-sizing: border-box; }
.tgc2 h1, .tgc2 h2, .tgc2 h3 { font-family: inherit; color: var(--tg-ink); margin: 0; text-transform: none; }
.tgc2 a { color: var(--tg-blue-dark); }
.tgc2-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Breadcrumb */
.tgc2-crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 16px 0 0; margin: 0; font-size: 13px; color: var(--tg-muted); }
.tgc2-crumbs li + li::before { content: '›'; margin-right: 6px; color: #9aa5b1; }

/* Hero: answer-first intro + key facts */
.tgc2-hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; margin-top: 12px; align-items: start; }
.tgc2-hero h1 { font-size: 34px; font-weight: 700; line-height: 1.2; }
.tgc2-answer { font-size: 16px; line-height: 1.65; color: #22313f; margin: 12px 0 6px; }
.tgc2-updated { font-size: 12px; color: var(--tg-muted); }
.tgc2-facts { border: 1px solid var(--tg-line); border-radius: 14px; background: var(--tg-soft); padding: 16px 18px; }
.tgc2-facts h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--tg-muted); margin-bottom: 8px; font-weight: 600; }
.tgc2-facts dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.tgc2-facts dt { color: var(--tg-muted); font-weight: 500; }
.tgc2-facts dd { margin: 0; font-weight: 600; }

/* Filter chips (real links) */
.tgc2-chips { display: flex; flex-wrap: wrap; gap: 0 8px; padding: 18px 0 0; margin-top: 8px; border-bottom: 1px solid var(--tg-line); -webkit-overflow-scrolling: touch; }
.tgc2-chip { white-space: nowrap; border: 1px solid #cfd8e3; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 500; color: var(--tg-ink) !important; text-decoration: none !important; background: #fff; margin-bottom: 12px; }
.tgc2-chip:hover { border-color: var(--tg-blue); }
.tgc2-chip.is-on { background: var(--tg-ink); color: #fff !important; border-color: var(--tg-ink); }
.tgc2-chip small { color: var(--tg-muted); margin-left: 4px; font-size: 12px; }
.tgc2-chip.is-on small { color: #c9d6e3; }

/* List header + search */
.tgc2-bar { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 12px; gap: 12px; flex-wrap: wrap; }
.tgc2-bar h2 { font-size: 20px; font-weight: 600; }
.tgc2-search { display: flex; gap: 8px; }
.tgc2-search input { height: 40px; border: 1px solid #cfd8e3; border-radius: 8px; padding: 0 12px; font: inherit; font-size: 14px; width: 240px; color: var(--tg-ink); }
.tgc2-search button { height: 40px; border: 0; border-radius: 8px; padding: 0 14px; background: var(--tg-ink); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.tgc2-note { font-size: 14px; color: var(--tg-muted); margin: -4px 0 12px; }

/* Event grid */
.tgc2-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.tgc2-card { border: 1px solid var(--tg-line); border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.tgc2-card:hover { box-shadow: 0 6px 20px rgba(11, 35, 56, .10); transform: translateY(-2px); }
.tgc2-media { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(135deg, #eef5ff, #e6fbf2); display: block; overflow: hidden; }
.tgc2-media img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: center top; display: block; }
.tgc2-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 56px; font-weight: 700; color: #c5d3e3; }
.tgc2-date { position: absolute; left: 10px; top: 10px; background: #fff; border-radius: 10px; text-align: center; padding: 4px 10px; line-height: 1.1; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.tgc2-date span { display: block; font-size: 11px; font-weight: 600; color: var(--tg-blue-dark); }
.tgc2-date b { display: block; font-size: 20px; color: #d6336c; }
.tgc2-like { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); display: flex; align-items: center; justify-content: center; cursor: pointer; color: #d6336c; font-size: 16px; padding: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.tgc2-like .fa-heart { display: none; }
.tgc2-like.is-liked .fa-heart { display: inline; }
.tgc2-like.is-liked .fa-heart-o { display: none; }
.tgc2-status { position: absolute; left: 10px; bottom: 10px; font-size: 12px; font-weight: 600; color: #b42318; background: #fef3f2; padding: 2px 8px; border-radius: 999px; }
.tgc2-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tgc2-when { font-size: 12px; font-weight: 600; color: var(--tg-blue-dark); text-transform: uppercase; letter-spacing: .03em; }
.tgc2-body h3 { font-size: 16px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tgc2-body h3 a { color: var(--tg-ink); text-decoration: none; }
.tgc2-venue { font-size: 13px; color: var(--tg-muted); }
.tgc2-venue a { color: var(--tg-muted); text-decoration: underline dotted; }
.tgc2-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; }
.tgc2-price { font-size: 14px; font-weight: 600; }
.tgc2-free { display: inline-block; background: #e7f8ee; color: #0f7a3d; border: 1px solid #b7e8c9; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; line-height: 1.4; margin-right: 4px; }
.tgc2-btn { display: inline-block; background: var(--tg-grad); color: var(--tg-ink) !important; font-weight: 600; font-size: 13px; padding: 8px 14px; border-radius: 8px; text-decoration: none !important; white-space: nowrap; border: 0; }
.tgc2-btn:hover { filter: brightness(.97); }
.tgc2-btn-outline { background: #fff; border: 1px solid var(--tg-blue); color: var(--tg-blue-dark) !important; }

/* Empty state */
.tgc2-empty { border: 1px dashed #cfd8e3; border-radius: 12px; padding: 28px; text-align: center; color: var(--tg-muted); }
.tgc2-empty p { margin: 0 0 14px; font-size: 15px; }

/* Pager */
.tgc2-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 28px 0 8px; }
.tgc2-pager a, .tgc2-pager span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--tg-line); border-radius: 8px; color: var(--tg-ink); text-decoration: none; padding: 0 12px; font-size: 14px; }
.tgc2-pager .is-on { background: var(--tg-ink); color: #fff; border-color: var(--tg-ink); }
.tgc2-pager .gap { border: 0; min-width: 20px; padding: 0; }

/* Sections */
.tgc2-sec { margin-top: 40px; }
.tgc2-sec > h2 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.tgc2-faq details { border: 1px solid var(--tg-line); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; background: #fff; }
.tgc2-faq summary { font-weight: 600; cursor: pointer; font-size: 15px; }
.tgc2-faq p { margin: 10px 0 0; color: #22313f; line-height: 1.6; font-size: 15px; }
.tgc2-about { color: #22313f; font-size: 15px; line-height: 1.7; }
.tgc2-about img { max-width: 100%; height: auto; }
.tgc2-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tgc2-links h2 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.tgc2-links ul { list-style: none; padding: 0; margin: 0; }
.tgc2-links li { padding: 5px 0; font-size: 14px; }
.tgc2-links small { color: var(--tg-muted); }

/* Not found */
.tgc2-notfound { padding: 40px 0 20px; }
.tgc2-notfound h1 { font-size: 30px; margin-bottom: 10px; }
.tgc2-notfound .tgc2-chips { border: 0; flex-wrap: wrap; }

@media (max-width: 991px) {
  .tgc2-grid { grid-template-columns: repeat(3, 1fr); }
  .tgc2-hero { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .tgc2-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tgc2-hero h1 { font-size: 26px; }
  .tgc2-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tgc2-chips::-webkit-scrollbar { display: none; }
  .tgc2-links { grid-template-columns: 1fr; }
  .tgc2-search, .tgc2-search input { width: 100%; }
  .tgc2-body h3 { font-size: 14px; }
  .tgc2-foot { flex-direction: column; align-items: flex-start; }
  .tgc2-btn { width: 100%; text-align: center; }
}
.tgc2-mediawrap { position: relative; }

/* Hub: /c/allcategories */
.tgc2-hero-single { grid-template-columns: 1fr; max-width: 820px; }
.tgc2 .tgc2-hub-h { font-size: 20px; font-weight: 600; margin: 28px 0 14px; }
.tgc2-hub { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.tgc2-hub-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--tg-line); border-radius: 12px; overflow: hidden; background: #fff; color: var(--tg-ink) !important; text-decoration: none !important; transition: box-shadow .15s, transform .15s; }
.tgc2-hub-card:hover { box-shadow: 0 6px 20px rgba(11, 35, 56, .10); transform: translateY(-2px); }
.tgc2-hub-media { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #eef5ff, #e6fbf2); overflow: hidden; }
.tgc2-hub-media img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
.tgc2-hub-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.tgc2-hub-name { font-size: 17px; font-weight: 600; }
.tgc2-hub-count { font-size: 13px; color: var(--tg-blue-dark); font-weight: 600; }
.tgc2-chips-plain { border: 0; flex-wrap: wrap; padding-top: 4px; }
@media (max-width: 991px) { .tgc2-hub { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) {
  .tgc2-hub { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tgc2-chips-plain { flex-wrap: wrap; overflow: visible; }
}
