/* Travespert Events page (/events/, [travespert_events]). Uses tokens.css. */
body.tv-events-page #brx-content > h1 { display: none; }
.tv-ev { color: var(--tv-body); }
.tv-ev-wrap { max-width: var(--tv-container); margin: 0 auto; padding: 0 var(--tv-gutter); box-sizing: border-box; }
.tv-ev-sec { padding: clamp(40px, 6vw, 72px) 0; }
.tv-ev-sec--tint { background: #f6f3ec; border-top: 1px solid #efe7d4; border-bottom: 1px solid #efe7d4; }
.tv-ev-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--tv-fs-sm); font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--tv-primary-hover); margin: 0 0 12px; }
.tv-ev-eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--tv-primary); }
.tv-ev-h2 { font-size: var(--tv-fs-h2); font-weight: 800; color: var(--tv-ink); letter-spacing: var(--tv-ls-display); margin: 0 0 12px; }
.tv-ev-sub { font-size: var(--tv-fs-lead); line-height: var(--tv-lh-body); color: var(--tv-muted); max-width: 62ch; margin: 0 0 clamp(24px, 4vw, 40px); }

/* Hero */
.tv-ev-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--tv-primary-tint) 0%, #fffaf0 100%); padding: clamp(44px, 6vw, 80px) 0 clamp(36px, 5vw, 56px); }
.tv-ev-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 110' preserveAspectRatio='none'%3E%3Cpath d='M0 110 L140 50 250 85 400 22 520 80 660 34 800 92 940 44 1080 76 1200 38 1200 110 Z' fill='%23e59a1a' opacity='.10'/%3E%3C/svg%3E") bottom / 100% 110px no-repeat; }
.tv-ev-hero .tv-ev-wrap { position: relative; z-index: 1; }
.tv-ev-h1 { font-size: var(--tv-fs-h1); font-weight: 800; color: var(--tv-ink); letter-spacing: var(--tv-ls-display); line-height: var(--tv-lh-tight); margin: 0 0 16px; max-width: 20ch; }
.tv-ev-lead { font-size: var(--tv-fs-lead); line-height: var(--tv-lh-body); color: var(--tv-body); margin: 0; max-width: 60ch; }

/* Featured festival */
.tv-ev-feat { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--tv-canvas); border: 1px solid var(--tv-hairline-soft); border-radius: var(--tv-radius-lg); box-shadow: var(--tv-shadow-card); overflow: hidden; }
.tv-ev-feat__media { position: relative; display: block; min-height: 100%; background: var(--tv-surface); }
.tv-ev-feat__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tv-ev-feat__badge { position: absolute; top: 18px; left: 18px; display: flex; flex-direction: column; align-items: center; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--tv-shadow-float); line-height: 1.1; }
.tv-ev-feat__badge b { font-size: 22px; font-weight: 800; color: var(--tv-ink); }
.tv-ev-feat__badge span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--tv-primary-hover); }
.tv-ev-feat__body { padding: clamp(24px, 4vw, 44px); }
.tv-ev-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--tv-ink); background: var(--tv-primary-tint); border-radius: 999px; padding: 6px 12px; }
.tv-ev-live { width: 8px; height: 8px; border-radius: 50%; background: var(--tv-no, #dc2626); box-shadow: 0 0 0 0 rgba(220, 38, 38, .5); animation: tvEvPulse 1.8s infinite; }
@keyframes tvEvPulse { 0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .5); } 70% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); } 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); } }
.tv-ev-feat__title { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; color: var(--tv-ink); letter-spacing: var(--tv-ls-display); line-height: 1.12; margin: 0 0 14px; }
.tv-ev-meta { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.tv-ev-meta li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--tv-ink); }
.tv-ev-meta svg { width: 18px; height: 18px; color: var(--tv-primary-hover); flex-shrink: 0; }
.tv-ev-feat__txt { font-size: 15.5px; line-height: 1.7; margin: 0 0 20px; }
.tv-ev-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 24px; }
.tv-ev-facts > div { background: #fffaf0; border: 1px solid #f3e2b8; border-radius: 12px; padding: 12px; text-align: center; }
.tv-ev-facts b { display: block; font-size: 22px; font-weight: 800; color: var(--tv-ink); }
.tv-ev-facts span { font-size: 12.5px; color: var(--tv-muted); }
.tv-ev-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.tv-ev-btn2 { background: #fff; color: var(--tv-ink); border: 1px solid var(--tv-hairline-soft); }

/* Package cards */
.tv-ev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tv-ev-card { display: flex; flex-direction: column; background: var(--tv-canvas); border: 1px solid var(--tv-hairline-soft); border-radius: var(--tv-radius-lg); overflow: hidden; box-shadow: var(--tv-shadow-card); transition: transform var(--tv-transition), box-shadow var(--tv-transition); }
.tv-ev-card:hover { transform: translateY(-3px); box-shadow: var(--tv-shadow-float); }
.tv-ev-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--tv-surface); overflow: hidden; }
.tv-ev-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tv-ev-card:hover .tv-ev-card__img { transform: scale(1.04); }
.tv-ev-card__dur { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .95); color: var(--tv-ink); font-size: 13px; font-weight: 800; border-radius: 999px; padding: 6px 12px; }
.tv-ev-card__body { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 22px; flex: 1; }
.tv-ev-card__title { font-size: 20px; font-weight: 800; line-height: 1.25; margin: 0; }
.tv-ev-card__title a { color: var(--tv-ink); text-decoration: none; }
.tv-ev-card__title a:hover { color: var(--tv-primary-hover); }
.tv-ev-card__txt { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--tv-body); }
.tv-ev-card__dates { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tv-ev-card__lab { font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--tv-muted); margin-right: 4px; }
.tv-ev-date { font-size: 12.5px; font-weight: 700; color: var(--tv-ink); background: var(--tv-primary-tint); border-radius: 999px; padding: 4px 10px; }
.tv-ev-date.is-full { background: #f3f3f3; color: var(--tv-muted); text-decoration: line-through; }
.tv-ev-card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--tv-hairline-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tv-ev-card__price { font-size: 14px; color: var(--tv-muted); }
.tv-ev-card__price b { font-size: 20px; color: var(--tv-ink); }

/* Campsite strip */
.tv-ev-camp { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; background: linear-gradient(120deg, #fff4db 0%, #fffaf0 100%); border: 1px solid #f3e2b8; border-radius: var(--tv-radius-lg); padding: clamp(22px, 3vw, 32px); }
.tv-ev-camp__ic { width: 60px; height: 60px; border-radius: 16px; background: var(--tv-primary); color: var(--tv-ink); display: grid; place-items: center; }
.tv-ev-camp__ic svg { width: 30px; height: 30px; }
.tv-ev-camp h2 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; color: var(--tv-ink); margin: 0 0 6px; }
.tv-ev-camp p { margin: 0; line-height: 1.6; }

/* More festivals band */
.tv-ev-more { background: var(--tv-dark, #111); color: var(--tv-on-dark, #fff); text-align: center; padding: clamp(44px, 6vw, 72px) 0; }
.tv-ev-more h2 { color: var(--tv-on-dark, #fff); font-size: var(--tv-fs-h2); font-weight: 800; margin: 0 0 12px; }
.tv-ev-more p { max-width: 56ch; margin: 0 auto 22px; opacity: .85; line-height: 1.7; }

@media (max-width: 900px) {
  .tv-ev-feat { grid-template-columns: 1fr; }
  .tv-ev-feat__media { aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 767px) {
  .tv-ev-grid { grid-template-columns: 1fr; }
  .tv-ev-camp { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .tv-ev-ctas .tv-btn, .tv-ev-camp .tv-btn { width: 100%; justify-content: center; }
  .tv-ev-card__foot .tv-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .tv-ev-live { animation: none; } .tv-ev-card, .tv-ev-card__img { transition: none; } }

/* Full-bleed bands: break out of the #brx-content column */
body.tv-events-page { overflow-x: hidden; }
.tv-ev-hero, .tv-ev-sec--tint, .tv-ev-more { width: 100vw; margin-left: calc(50% - 50vw); }
body.tv-events-page #brx-content { padding-top: 0; }
.tv-ev-feat__img { object-position: center 65%; }
.tv-ev-feat__img { object-position: center 45%; }

/* Wellness retreat strip (external link) */
.tv-ev-sec--well { padding-top: 0; }
.tv-ev-well { background: linear-gradient(120deg, #e8f3ec 0%, #f6fbf7 100%); border-color: #cfe5d6; }
.tv-ev-well .tv-ev-camp__ic { background: #2f7d6b; color: #fff; }
