/*
 * CumbriaGuru — listing.css
 * Page-specific styles for listing.php
 * Requires: global.css (tokens, nav, footer, suggest bar)
 * Path: /assets/css/listing.css
 */

/* ============================================================
   HERO IMAGE STRIP
   ============================================================ */

.hero-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 300px;
  gap: 4px;
  overflow: hidden;
  background: var(--ink);
}

.hero-strip > div {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.hero-strip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-strip > div:hover .hero-strip-img {
  transform: scale(1.04);
}

/* Gradient placeholder fallback (no images) */
.hero-strip-placeholder {
  width: 100%;
  height: 100%;
}

.g-hero1 { background: linear-gradient(145deg, #3b5240 0%, #2e5f7a 60%, #506a55 100%); }
.g-hero2 { background: linear-gradient(145deg, #6b3e1e 0%, #3b5240 100%); }
.g-hero3 { background: linear-gradient(145deg, #2e4a5a 0%, #3b5240 100%); }
.g-moss  { background: linear-gradient(145deg, #3b5240 0%, #506a55 60%, #8aaa8a 100%); }

.gallery-trigger { position: relative; }

.gallery-count {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(20, 20, 20, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
  pointer-events: none;
}

/* ============================================================
   PAGE LAYOUT — two-column grid
   ============================================================ */

.page-body {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 2.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

/* ============================================================
   LISTING HEADER
   ============================================================ */

.listing-header {
  margin-bottom: 2rem;
  animation: fadeUp 0.45s ease 0.05s both;
}

/* Breadcrumb */
.crumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--quiet);
  margin-bottom: 1rem;
  flex-wrap: wrap;
  font-family: var(--sans);
}

.crumb a {
  color: var(--quiet);
  text-decoration: none;
  transition: color 0.15s;
}
.crumb a:hover { color: var(--ink); }

.crumb-sep { opacity: 0.35; }

/* Title */
.listing-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: 0.6rem;
}

/* Location line */
.listing-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--quiet);
  margin-bottom: 1.2rem;
  font-family: var(--sans);
}

.listing-location svg {
  color: var(--copper);
  flex-shrink: 0;
}

/* Meta row — tags + rating */
.meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  font-family: var(--sans);
  white-space: nowrap;
}

.tag-category {
  background: var(--ink);
  color: var(--white);
}

.tag-verdict-yes {
  background: var(--verdict-bg);
  color: var(--moss);
  border: 1px solid #c4d6c7;
}

.tag-verdict-no {
  background: #fdf0ea;
  color: var(--copper);
  border: 1px solid #e8c8b0;
}

.tag-verdict-unverified {
  background: #f5f3ee;
  color: var(--quiet);
  border: 1px solid var(--rule);
}

.rating-display {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--mid);
  font-family: var(--sans);
}

.rating-num {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.stars {
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  color: var(--amber);
}

/* ============================================================
   VERDICT BLOCK
   ============================================================ */

.verdict-block {
  background: var(--verdict-bg);
  border-left: 3px solid var(--moss);
  border-radius: 0 12px 12px 0;
  padding: 1.3rem 1.6rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.45s ease 0.12s both;
}

.verdict-block .vb-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.45rem;
  font-family: var(--sans);
}

.verdict-block p {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}

/* ============================================================
   INTERACTION BAR
   ============================================================ */

.interact-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  animation: fadeUp 0.45s ease 0.18s both;
}

.ibar-btn {
  background: var(--white);
  border: 1.5px solid var(--rule);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: border-color 0.18s, color 0.18s, transform 0.18s;
  line-height: 1;
}

.ibar-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

.ibar-btn.active {
  background: var(--verdict-bg);
  border-color: #c4d6c7;
  color: var(--moss);
}

.ibar-btn.is-saved {
  background: var(--verdict-bg);
  border-color: #c4d6c7;
  color: var(--moss);
}

.ibar-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.write-review-btn {
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 0.5rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.18s, transform 0.18s;
  line-height: 1;
}

.write-review-btn:hover {
  background: var(--moss);
  transform: translateY(-1px);
}

/* ============================================================
   SECTION BLOCKS — shared
   ============================================================ */

.section-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.section-block:last-of-type { border-bottom: none; }

.block-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.8rem;
  font-family: var(--sans);
}

.block-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.body-text {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.75;
  font-family: var(--sans);
}

.body-text + .body-text { margin-top: 0.85rem; }

/* ============================================================
   VIDEO BLOCK
   ============================================================ */

.video-block { animation: fadeUp 0.45s ease 0.22s both; }

.video-wrap {
  position: relative;
  background: var(--ink);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.video-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #2e4a3e 0%, #3b5240 50%, #506a55 100%);
}

.video-play-outer {
  width: 68px;
  height: 68px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.video-wrap:hover .video-play-outer,
.video-play-outer:focus .video-play-outer {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.08);
}

.video-play-outer svg { margin-left: 3px; }

.video-caption {
  font-size: 0.78rem;
  color: var(--quiet);
  margin-top: 0.6rem;
  text-align: center;
  font-family: var(--sans);
}

/* ============================================================
   HIGHLIGHTS
   ============================================================ */

.highlights {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.55;
  font-family: var(--sans);
}

.hi-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moss);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* ============================================================
   PHOTO GALLERY GRID
   ============================================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 0.75rem;
}

.gallery-cell {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--rule);
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-cell:hover img,
.gallery-cell:focus img {
  transform: scale(1.07);
}

/* ============================================================
   REVIEWS
   ============================================================ */

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.big-rating {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  min-width: 70px;
}

.rating-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.rbar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  color: var(--quiet);
  font-family: var(--sans);
}

.rbar-track {
  flex: 1;
  height: 4px;
  background: var(--rule);
  border-radius: 100px;
  overflow: hidden;
}

.rbar-fill {
  height: 100%;
  background: var(--amber);
  border-radius: 100px;
  transition: width 0.4s ease;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.review-item:last-child { border-bottom: none; padding-bottom: 0; }

.review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.reviewer-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  font-family: var(--sans);
}

.review-stars {
  color: var(--amber);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.review-date {
  font-size: 0.72rem;
  color: var(--quiet);
  margin-top: 0.1rem;
  font-family: var(--sans);
}

.review-text {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.65;
  font-family: var(--sans);
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0; /* gap handled by margin-bottom on cards */
}

.sidebar-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--rule);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.sc-head {
  padding: 1.1rem 1.4rem 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--quiet);
  margin-bottom: 0.85rem;
  font-family: var(--sans);
}

.sc-body { padding: 0 1.4rem 1.4rem; }

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
}

.info-row:last-child { border-bottom: none; }

.info-icon {
  width: 32px;
  height: 32px;
  background: var(--bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--moss);
}

.info-label {
  font-size: 0.65rem;
  color: var(--quiet);
  margin-bottom: 0.1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  font-family: var(--sans);
  text-transform: uppercase;
}

.info-val {
  font-size: 0.84rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
  font-family: var(--sans);
}

.info-val a {
  color: var(--moss);
  text-decoration: none;
  transition: color 0.15s;
}

.info-val a:hover { color: var(--ink); text-decoration: underline; }

/* Map */
.map-wrap {
  margin-bottom: 0.75rem;
  border-radius: 10px;
  overflow: hidden;
}

.map-placeholder {
  height: 160px;
  background: linear-gradient(145deg, #d8e4d8 0%, #c8d8c8 50%, #b8ccc0 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--moss);
  font-weight: 500;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: var(--sans);
}

.map-placeholder:hover { opacity: 0.85; }

.directions-link {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--moss);
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.18s;
  font-family: var(--sans);
}

.directions-link:hover { background: var(--verdict-bg); }

/* Opening times */
.times-list {
  display: flex;
  flex-direction: column;
}

.time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--mid);
  font-family: var(--sans);
  gap: 0.5rem;
}

.time-row:last-child { border-bottom: none; }

.time-row .day {
  font-weight: 500;
  color: var(--ink);
  min-width: 90px;
}

.time-row.today {
  color: var(--moss);
  font-weight: 600;
}

.time-row.today .day { color: var(--moss); }

.time-row .closed { color: var(--quiet); }

/* Affiliate card */
.affiliate-card {
  background: linear-gradient(135deg, #1e1e1e 0%, #2e3a30 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 1.4rem;
  margin-bottom: 1.25rem;
}

.aff-label {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.45rem;
  font-family: var(--sans);
}

.aff-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.aff-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
  line-height: 1.45;
  font-family: var(--sans);
}

.aff-btn {
  display: block;
  background: var(--white);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  transition: opacity 0.18s;
  font-family: var(--sans);
}

.aff-btn:hover { opacity: 0.88; }

/* Social links */
.social-links-list {
  display: flex;
  flex-direction: column;
}

.social-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--sans);
  transition: color 0.15s;
}

.social-link-row:last-child { border-bottom: none; }
.social-link-row:hover { color: var(--moss); }
.social-arrow { color: var(--quiet); font-size: 0.8rem; }

/* ============================================================
   RELATED PLACES
   ============================================================ */

.related-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2.5rem 5rem;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.section-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.35rem;
  font-family: var(--sans);
}

.see-all {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--quiet);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  transition: color 0.18s, gap 0.18s;
  font-family: var(--sans);
}

.see-all::after { content: '→'; }
.see-all:hover { color: var(--ink); gap: 0.55rem; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.related-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--rule);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

.related-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.related-card:hover .related-img { transform: scale(1.04); }

.related-body { padding: 0.85rem 1rem 1rem; }

.related-cat {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.2rem;
  font-family: var(--sans);
}

.related-title {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.3rem;
}

.related-loc {
  font-size: 0.75rem;
  color: var(--quiet);
  font-family: var(--sans);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .page-body {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 2rem 1.5rem 4rem;
  }

  /* On mobile, sidebar flows naturally after main content */
  .sidebar {
    position: static;
    margin-top: 1rem;
  }

  .hero-strip {
    grid-template-rows: 240px;
  }

  .related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .related-section {
    padding: 0 1.5rem 4rem;
  }
}

@media (max-width: 640px) {
  .hero-strip {
    grid-template-columns: 1fr;
    grid-template-rows: 280px;
  }

  /* Show only first image on mobile */
  .hero-strip > div:not(:first-child) { display: none; }

  .listing-title { font-size: 1.75rem; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .related-grid { grid-template-columns: 1fr; }

  .interact-bar { gap: 0.5rem; }

  .write-review-btn { margin-left: 0; width: 100%; justify-content: center; margin-top: 0.25rem; }

  .reviews-summary { flex-direction: column; gap: 1rem; }

  .page-body { padding: 1.5rem 1rem 3rem; }

  .related-section { padding: 0 1rem 3rem; }
}

/* ============================================================
   Cumbria Guru — Verification System Styles
   Add to: /assets/css/listing.css  (or paste into global.css)
   ============================================================ */


/* ── VERDICT TAGS ─────────────────────────────────────────── */

.tag-verdict-yes {
  background: #e8f5ec;
  color: #2a7a42;
  border: 1px solid #b5dbbf;
}

.tag-verdict-no {
  background: #fdf0ef;
  color: #c0392b;
  border: 1px solid #f5c6c3;
}

.tag-verdict-maybe {
  background: #fef9ec;
  color: #9a6e00;
  border: 1px solid #f5e3a5;
}

.tag-verdict-unverified {
  background: #f2f2f2;
  color: #888;
  border: 1px solid #ddd;
}


/* ── GURU VERIFIED BADGE (meta-row) ───────────────────────── */

.tag-guru-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff8f2;
  color: var(--copper, #b5651d);
  border: 1px solid #e8c49a;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 9px 3px 7px;
  line-height: 1;
  white-space: nowrap;
}

.tag-guru-verified svg {
  flex-shrink: 0;
}


/* ── GURU VERIFIED BANNER ─────────────────────────────────── */

.guru-verified-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, #fff8f2 0%, #fdf5ec 100%);
  border: 1px solid #e8c49a;
  border-left: 4px solid var(--copper, #b5651d);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.gvb-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.gvb-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  font-size: 0.88rem;
  color: var(--ink, #1a1a1a);
  line-height: 1.5;
}

.gvb-text strong {
  font-weight: 700;
  color: var(--copper, #b5651d);
  font-size: 0.92rem;
}

.gvb-date {
  color: var(--quiet, #777);
  font-size: 0.83rem;
}

.gvb-note {
  width: 100%;
  color: var(--quiet, #777);
  font-size: 0.8rem;
  font-style: italic;
  margin-top: 2px;
}


/* ── UNVERIFIED NOTICE ────────────────────────────────────── */

.unverified-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #f8f8f8;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.83rem;
  color: var(--quiet, #777);
  line-height: 1.5;
}

.unverified-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.6;
}

.unverified-notice a {
  color: var(--copper, #b5651d);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}

.unverified-notice a:hover {
  text-decoration-color: currentColor;
}


/* ── SIDEBAR VISIT CARD ───────────────────────────────────── */

.sidebar-card--visit {
  background: linear-gradient(135deg, #fff8f2 0%, #fdf5ec 100%);
  border-color: #e8c49a;
}

.sidebar-card--visit .sc-head {
  border-bottom-color: #e8c49a;
}

.visit-disclaimer {
  font-size: 0.74rem;
  color: var(--quiet, #777);
  line-height: 1.45;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e8c49a;
  font-style: italic;
}


/* ── PLACE CARD BADGES (category / listing grids) ─────────── */

.place-card__badge--verified {
  background: var(--copper, #b5651d);
  color: #fff;
}


/* ── MOBILE ───────────────────────────────────────────────── */

@media (max-width: 600px) {
  .guru-verified-banner {
    padding: 12px 14px;
    gap: 10px;
  }

  .gvb-icon svg {
    width: 22px;
    height: 22px;
  }

  .gvb-text {
    font-size: 0.83rem;
  }
}

/* ─────────────────────────────────────────────
   Event page additions
───────────────────────────────────────────── */

.page-event .tag-category {
    background: #eef6ff;
    color: #165a96;
}

.tag-verdict-yes {
    background: #e9f8ef;
    color: #157347;
}

.tag-verdict-maybe {
    background: #fff4d8;
    color: #8a5a00;
}

.tag-verdict-no {
    background: #fdecec;
    color: #b42318;
}

.tag-verdict-unverified {
    background: #f1f3f5;
    color: #495057;
}

.key-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.info-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 0.9rem;
}

.info-card strong {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.3rem;
}

.info-card span {
    font-weight: 700;
    color: #111827;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

.map-wrap {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    margin-top: 1rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.related-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.related-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}

.related-card div {
    padding: 0.85rem;
}

.related-card strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.25;
}

.related-card span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #64748b;
}

@media (max-width: 900px) {
    .related-grid {
        grid-template-columns: 1fr;
    }

    .key-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ─────────────────────────────────────────────
   Events hub page
───────────────────────────────────────────── */

.page-body-wide {
    align-items: flex-start;
}

.main-col-wide {
    max-width: none;
}

.event-filter-form {
    margin-top: 0.5rem;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    align-items: end;
}

.filter-row label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #475569;
}

.filter-row select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #dbe1ea;
    border-radius: 14px;
    padding: 0.65rem 0.75rem;
    background: #fff;
    color: #111827;
    font: inherit;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.event-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
}

.event-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.event-card-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #f1f5f9;
    overflow: hidden;
}

.event-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-card-body {
    padding: 1rem;
}

.event-card-title {
    font-size: 1.12rem;
    line-height: 1.2;
    margin: 0.65rem 0 0.45rem;
    color: #111827;
}

.event-card-meta {
    margin: 0;
    font-weight: 800;
    color: #0f172a;
}

.event-card-location {
    margin: 0.35rem 0 0;
    font-size: 0.92rem;
    color: #64748b;
}

.event-card-excerpt {
    margin: 0.75rem 0 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #475569;
}

.empty-state {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
}

.empty-state h2 {
    margin: 0 0 0.4rem;
}

.empty-state p {
    margin: 0 0 1rem;
    color: #64748b;
}

@media (max-width: 1100px) {
    .filter-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .filter-row,
    .event-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   CLEAN SINGLE EVENT PAGE OVERRIDES
   Added for public/event.php
   ============================================================ */

.hero-strip-single {
  display: block;
  grid-template-columns: none;
  grid-template-rows: none;
  height: 300px;
  position: relative;
  background: var(--ink);
}

.hero-strip-single > div {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.event-strip .hero-strip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.event-hero-overlay-light {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.68) 100%);
  pointer-events: none;
}

.event-hero-inner-light {
  width: min(1120px, calc(100% - 5rem));
  margin: 0 auto;
  padding: 1.6rem 0;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.event-date-badge {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.8rem;
  border-radius: 100px;
  font-size: 0.72rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
  white-space: nowrap;
}

.event-hero-text h1 {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.38);
}

.event-hero-text p {
  margin: 0.25rem 0 0;
  color: rgba(255,255,255,0.9);
  font-family: var(--sans);
  font-size: 0.9rem;
}

.event-decision-card {
  background: var(--verdict-bg);
  border-left: 3px solid var(--moss);
  border-radius: 0 14px 14px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.45s ease 0.12s both;
}

.event-decision-kicker {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.4rem;
  font-family: var(--sans);
}

.event-decision-card h2 {
  font-family: var(--serif);
  color: var(--ink);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  line-height: 1.2;
}

.event-decision-card p {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}

.event-cta-row {
  margin-top: 1rem;
}

.event-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.event-btn:hover {
  transform: translateY(-1px);
  border-color: var(--ink);
}

.event-btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.event-btn-primary:hover {
  background: var(--moss);
  border-color: var(--moss);
}

.event-btn-full {
  width: 100%;
  margin-top: 0.75rem;
}

.event-date-mini {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--rule);
  margin-bottom: 1rem;
  font-family: var(--sans);
}

.event-date-mini span {
  display: block;
  background: var(--ink);
  color: var(--white);
  padding: 0.55rem 0.7rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.event-date-mini strong {
  display: block;
  background: var(--white);
  color: var(--ink);
  padding: 0.45rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
}

.sidebar-card--event {
  border-color: #e8c49a;
  background: linear-gradient(135deg, #fffdf9 0%, #fff8f2 100%);
}

.event-sidebar-text {
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--mid);
  line-height: 1.55;
  margin: 0 0 0.75rem;
}

.event-map-wrap {
  margin-top: 1rem;
  border-radius: 14px;
  border: 1px solid var(--rule);
  overflow: hidden;
}

@media (max-width: 960px) {
  .event-hero-inner-light {
    width: min(100% - 3rem, 1120px);
  }
}

@media (max-width: 640px) {
  .hero-strip-single {
    height: 260px;
  }

  .event-hero-inner-light {
    width: calc(100% - 2rem);
    align-items: flex-start;
    flex-direction: column;
    padding: 1.25rem 0;
  }

  .event-hero-text h1 {
    font-size: 1.55rem;
  }

  .event-date-badge {
    font-size: 0.68rem;
  }
}

/* ─────────────────────────────────────────────
   Events hub premium update
───────────────────────────────────────────── */

.events-hero {
  background: linear-gradient(135deg, #1e1e1e 0%, #2e3a30 100%);
  color: #fff;
  padding: 4rem 2rem;
}

.events-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
}

.events-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0.5rem 0;
}

.events-hero p {
  max-width: 560px;
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.6;
}

.events-hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 1.2rem 1.4rem;
  text-align: center;
  min-width: 150px;
}

.events-hero-card strong {
  display: block;
  font-size: 2.3rem;
  line-height: 1;
}

.events-hero-card span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.65);
}

.event-filter-panel {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 1.2rem;
}

.event-card-premium {
  border-radius: 18px;
}

.event-card-img-wrap {
  position: relative;
}

.event-card-date {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  min-width: 58px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.16);
}

.event-card-date span {
  display: block;
  background: var(--ink);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.45rem;
}

.event-card-date strong {
  display: block;
  color: var(--ink);
  font-size: 1.25rem;
  padding: 0.35rem 0.45rem;
}

.event-card-tags {
  gap: 0.45rem;
}

.event-card-cta {
  display: inline-flex;
  margin-top: 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.event-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #3b5240 0%, #506a55 100%);
}

@media (max-width: 800px) {
  .events-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .events-hero-card {
    width: 100%;
  }
}

/* ─────────────────────────────────────────────
   Events hub layout fix
───────────────────────────────────────────── */

.page-events .page-body {
  max-width: 1120px;
  grid-template-columns: 1fr 260px;
  gap: 3rem;
}

.page-events .main-col-wide {
  width: 100%;
}

.page-events .event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1.25rem;
}

.page-events .event-card {
  width: 100%;
}

.page-events .event-card-title {
  font-size: 1rem;
}

.page-events .event-card-img-wrap {
  aspect-ratio: 16 / 10;
}

.page-events .filter-row {
  grid-template-columns: 1.1fr 1.1fr 1.1fr auto;
}

.page-events .side-col {
  width: 260px;
}

.page-events .side-card a,
.page-events .side-card .btn {
  display: flex;
  justify-content: center;
  text-align: center;
}

@media (max-width: 1100px) {
  .page-events .page-body {
    grid-template-columns: 1fr;
  }

  .page-events .side-col {
    width: 100%;
  }

  .page-events .event-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 700px) {
  .page-events .event-grid {
    grid-template-columns: 1fr;
  }

  .page-events .filter-row {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────
   Events hub sidebar fix
───────────────────────────────────────────── */

.page-events .side-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-events .side-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 1.2rem;
}

.page-events .side-card .block-label {
  margin-bottom: 1rem;
}

.page-events .side-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--mid);
  margin: 0 0 1rem;
}

.page-events .side-card .btn,
.page-events .side-card a.btn,
.page-events .side-card > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 0.55rem;
}

.page-events .side-card .btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.page-events .side-card > a:hover,
.page-events .side-card .btn:hover {
  transform: translateY(-1px);
  border-color: var(--ink);
}

.page-events .side-card + .side-card {
  margin-top: 0;
}

/* Featured event compact cards */

.featured-event-list {
  display: grid;
  gap: 0.85rem;
}

.featured-event-card {
  display: grid;
  grid-template-columns: 160px 70px 1fr;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 0.75rem;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.featured-event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}

.featured-event-card img {
  width: 160px;
  height: 105px;
  object-fit: cover;
  border-radius: 14px;
}

.featured-event-date {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.featured-event-date span {
  display: block;
  background: var(--ink);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.3rem;
}

.featured-event-date strong {
  display: block;
  font-size: 1.6rem;
  padding: 0.45rem;
  color: var(--ink);
}

.featured-event-info h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin: 0.45rem 0 0.25rem;
  color: var(--ink);
}

.featured-event-info p {
  margin: 0;
  color: var(--quiet);
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .featured-event-card {
    grid-template-columns: 90px 58px 1fr;
    gap: 0.65rem;
  }

  .featured-event-card img {
    width: 90px;
    height: 72px;
  }

  .featured-event-info h3 {
    font-size: 1rem;
  }
}