/* /v2/ — site overrides on top of Bootstrap 5 */

:root {
  --vn-accent: #ffc107;
  --vn-dark:   #1d1f23;
}

html, body { font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
h1, h2, h3, h4, .display-1, .display-2, .display-3, .display-4 {
  font-family: 'Oswald', sans-serif;
  letter-spacing: .3px;
}

/* Hero on home */
.vn-hero {
  background: linear-gradient(135deg, #1d1f23 0%, #2c3138 60%, #3a3f48 100%);
  color: #fff;
  border-radius: 1rem;
  padding: 3rem 2rem;
}

/* Channel tiles */
.vn-tile {
  display: block;
  border-radius: .75rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.vn-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.12); color: inherit; }
.vn-tile .vn-tile-icon { font-size: 2rem; color: var(--vn-accent); }

/* Ad units — make them obvious but not aggressive */
.v2-ad {
  margin: 1.5rem auto;
  max-width: 100%;
  overflow: hidden;
}
.v2-ad::before {
  content: "Advertisement";
  display: block;
  font-size: .7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9aa0a6;
  text-align: center;
  margin-bottom: .25rem;
}

/* Wrapped legacy content: contain & tidy old inline styles */
.legacy-content { line-height: 1.55; }
/* Unwrap the legacy two-column layout shells — legacy CSS not loaded so no floats apply,
   but display:contents makes them fully transparent to layout just in case. */
.legacy-content .column { display: contents; }
.legacy-content img { max-width: 100%; height: auto; }
.legacy-content table { max-width: 100%; }
.legacy-content h1 { font-size: 2rem; margin-bottom: 1rem; }
.legacy-content h2 { font-size: 1.5rem; margin-top: 1.5rem; }
.legacy-content a  { color: #0d6efd; }
.legacy-content .stars2 {
  display: inline-block; width: 80px; height: 16px;
  background: linear-gradient(to right, var(--vn-accent) 40%, #e6e6e6 40%);
  border-radius: 2px;
}
/* Hide legacy chrome that occasionally leaks through */
.legacy-content #navbg,
.legacy-content #subnavbg,
.legacy-content #header,
.legacy-content .crumb,
.legacy-content script,
.legacy-content iframe[src*="aax2"],
.legacy-content iframe[src*="intellitxt"] { display: none !important; }

/* Star ratings */
.vn-stars { color: var(--vn-accent); font-size: .85rem; letter-spacing: 1px; white-space: nowrap; }
.vn-stars .bi-star, .vn-stars .bi-star-half, .vn-stars .bi-star-fill { line-height: 1; }

/* Reviews — modern card layout */
.vn-reviews-section {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: .75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.vn-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #f0f1f3;
  flex-wrap: wrap;
}
.vn-reviews-summary {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.vn-reviews-score {
  font-family: 'Oswald', sans-serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--vn-dark);
  line-height: 1;
}
.vn-reviews-summary .vn-stars { font-size: 1rem; }

.vn-reviews-list { display: flex; flex-direction: column; gap: 1rem; }

.vn-review {
  display: flex;
  gap: .9rem;
  padding: 1rem;
  background: #fafbfc;
  border-radius: .5rem;
  border: 1px solid #f0f1f3;
}
.vn-review-avatar {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vn-dark) 0%, #2c3138 100%);
  color: var(--vn-accent);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
.vn-review-main { flex: 1; min-width: 0; }
.vn-review-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .35rem;
  flex-wrap: wrap;
}
.vn-review-name { font-size: .95rem; color: var(--vn-dark); }
.vn-review-stars .vn-stars { font-size: .8rem; }
.vn-review-body {
  font-size: .92rem;
  line-height: 1.55;
  color: #41464b;
  white-space: pre-line;
}

.vn-no-reviews {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.25rem 1.5rem;
  background: #fafbfc;
  border: 1px dashed #d1d5da;
  border-radius: .5rem;
  color: #6c757d;
}
.vn-no-reviews i { font-size: 1.75rem; color: #adb5bd; }

/* Sidebar sticky ad */
.vn-sidebar-sticky { position: sticky; top: 90px; }

@media (max-width: 991.98px) {
  .vn-sidebar-sticky { position: static; }
}

/* Venue info card (enriched data sidebar) */
.vn-venue-info-card { border: 1px solid rgba(0,0,0,.1); }

.vn-venue-logo-wrap {
  background: #f8f9fa;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vn-venue-logo {
  max-width: 180px;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.vn-info-row {
  display: flex;
  align-items: flex-start;
  gap: .1rem;
}
.vn-info-row i { margin-top: .15rem; flex-shrink: 0; }

/* ── Channel venue list (horizontal rows) ────────────────────────────── */
.vn-venue-list {
  border: 1px solid #e9ecef;
  border-radius: .75rem;
  overflow: hidden;
  background: #fff;
}

.vn-venue-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid #f0f1f3;
  text-decoration: none;
  color: inherit;
  transition: background .12s ease;
}
.vn-venue-row:last-child { border-bottom: none !important; }
.vn-venue-row:hover { background: #fafbfc; color: inherit; }

/* Avatar — coloured initials or real logo */
.vn-vr-avatar {
  width: 44px;
  height: 44px;
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  color: #fff;
  overflow: hidden;
  flex-shrink: 0;
}
.vn-vr-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8f9fa;
  padding: 2px;
}

/* Text body */
.vn-vr-body { min-width: 0; }
.vn-vr-name {
  font-weight: 600;
  font-size: .95rem;
  color: #1d1f23;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vn-venue-row:hover .vn-vr-name { color: #c79000; }
.vn-vr-meta {
  font-size: .78rem;
  color: #6c757d;
  margin-top: .1rem;
}
.vn-vr-meta .bi { font-size: .7rem; margin-right: .2rem; }
.vn-vr-addr {
  font-size: .75rem;
  color: #9aa0a6;
  margin-top: .1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Rating column */
.vn-vr-rating {
  text-align: right;
  min-width: 80px;
}
.vn-vr-rating .vn-stars { font-size: .75rem; display: block; }
.vn-vr-revcount {
  font-size: .7rem;
  color: #9aa0a6;
  margin-top: .1rem;
  white-space: nowrap;
}
.vn-vr-unrated {
  font-size: .7rem;
  color: #ced4da;
}

/* Chevron */
.vn-vr-chevron {
  color: #ced4da;
  font-size: .8rem;
  transition: color .12s, transform .12s;
}
.vn-venue-row:hover .vn-vr-chevron {
  color: var(--vn-accent);
  transform: translateX(2px);
}

@media (max-width: 575.98px) {
  .vn-vr-rating { display: none; }
  .vn-venue-row { padding: .65rem .75rem; }
  .vn-vr-avatar { width: 38px; height: 38px; font-size: .8rem; }
}

/* ── Festival cards ───────────────────────────────────────────────────── */
.vn-festival-card { transition: transform .15s ease, box-shadow .15s ease; }
.vn-festival-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1) !important; }
.vn-fest-icon {
  width: 44px; height: 44px;
  background: var(--vn-dark);
  color: var(--vn-accent);
  border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ── Information section (venue detail pages) ─────────────────────────── */
.vn-info-section {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: .75rem;
  padding: 1.25rem 1.5rem;
}
.vn-info-heading {
  font-family: 'Oswald', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #1d1f23;
  border-bottom: 2px solid #ffc107;
  padding-bottom: .5rem;
  margin-bottom: .75rem;
}
.vn-info-dl { margin: 0; }
.vn-info-pair {
  display: flex;
  gap: .75rem;
  padding: .45rem 0;
  border-bottom: 1px solid #f3f4f6;
}
.vn-info-pair:last-child { border-bottom: none; }
.vn-info-pair dt {
  flex: 0 0 110px;
  font-size: .78rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding-top: .1rem;
  margin: 0;
}
.vn-info-pair dd {
  flex: 1;
  font-size: .875rem;
  color: #343a40;
  margin: 0;
  line-height: 1.55;
  white-space: pre-line; /* honour \n from multi-line hours */
}
@media (max-width: 575.98px) {
  .vn-info-pair { flex-direction: column; gap: .15rem; }
  .vn-info-pair dt { flex: none; }
}

/* ── Hotel detail sections (Key Facilities, Travel Guide) ───────────────── */
.vn-hotel-section {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: .6rem;
  padding: 1rem 1.1rem;
}
.vn-hotel-section .vn-info-heading {
  margin-bottom: .6rem;
}
.vn-hotel-section ul li {
  padding: .2rem 0;
  color: #343a40;
}
