.single-tribe_events .container-wrap {
  padding-top: 0 !important;
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.single-tribe_events .main-content,
.single-tribe_events .main-content > .row,
.single-tribe_events #post-area,
.single-tribe_events .post-area,
.single-tribe_events .content-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single-tribe_events #footer-outer,
.single-tribe_events #footer-secondary-outer {
  /* display: none !important; */
}

.vb-event-single {
  --vb-event-primary: #005e1a;
  --vb-event-primary-dark: #017a24;
  --vb-event-secondary: #446e00;
  --vb-event-accent: #e8841e;
  --vb-event-bg: #f9f9fc;
  --vb-event-surface: #ffffff;
  --vb-event-surface-soft: #f3f7f3;
  --vb-event-border: #d8e0d4;
  --vb-event-border-strong: #becab9;
  --vb-event-text: #1a1c1e;
  --vb-event-text-soft: #556154;
  --vb-event-shadow: 0 24px 60px rgba(14, 39, 20, 0.12);
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  /* background: var(--vb-event-bg); */
  color: var(--vb-event-text);
  font-family: "Atkinson Hyperlegible Next", "Segoe UI", sans-serif;
  overflow: hidden;
}

.vb-event-single *,
.vb-event-single *::before,
.vb-event-single *::after {
  box-sizing: border-box;
}

.vb-event-single h1,
.vb-event-single h2,
.vb-event-single h3,
.vb-event-single h4 {
  color: var(--vb-event-text);
  font-family: "Montserrat", "Trebuchet MS", sans-serif;
  line-height: 1.2;
}

.vb-event-single p,
.vb-event-single li,
.vb-event-single a,
.vb-event-single span,
.vb-event-single strong {
  font-family: "Atkinson Hyperlegible Next", "Segoe UI", sans-serif;
}

.vb-event-shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.vb-event-skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 99;
  padding: 12px 16px;
  background: var(--vb-event-accent);
  color: #fff;
  font-weight: 700;
}

.vb-event-skip-link:focus {
  top: 12px;
}

.vb-event-hero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(119, 220, 121, 0.38), transparent 40%),
    linear-gradient(135deg, #005e1a 0%, #017a24 55%, #0d5836 100%);
}

.vb-event-hero__media,
.vb-event-hero__media img,
.vb-event-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vb-event-hero__media img {
  object-fit: cover;
}

.vb-event-hero__overlay {
  background: linear-gradient(90deg, rgba(0, 41, 11, 0.88) 0%, rgba(0, 94, 26, 0.6) 55%, rgba(0, 94, 26, 0.2) 100%);
}

.vb-event-hero__content {
  position: relative;
  z-index: 1;
  padding: 120px 0 88px;
}

.vb-event-hero__inner {
  max-width: 720px;
  color: #fff;
}

.vb-event-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 24px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--vb-event-accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vb-event-title {
  margin: 0 0 24px;
  color: #fff !important;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 800;
}

.vb-event-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(2, 58, 18, 0.28);
  backdrop-filter: blur(8px);
}

.vb-event-meta-pill {
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
}

.vb-event-meta-pill__label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vb-event-hero__actions,
.vb-event-sidebar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.vb-event-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.vb-event-button:hover,
.vb-event-button:focus {
  transform: translateY(-1px);
}

.vb-event-button--primary {
  background: #fff;
  color: var(--vb-event-primary) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.vb-event-button--ghost {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

.vb-event-button--outline {
  width: 100%;
  border-color: var(--vb-event-primary);
  color: var(--vb-event-primary) !important;
  background: transparent;
}

.vb-event-button--outline:hover,
.vb-event-button--outline:focus {
  background: rgba(0, 94, 26, 0.06);
}

.vb-event-section {
  padding: 80px 0;
}

.vb-event-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: start;
}

.vb-event-main {
  min-width: 0;
}

.vb-event-copy {
  margin-bottom: 40px;
}

.vb-event-copy h2,
.vb-event-location h2,
.vb-event-gallery-section h2 {
  margin: 0 0 24px;
  color: var(--vb-event-primary);
  font-size: clamp(1.85rem, 2.4vw, 2.5rem);
}

.vb-event-copy p,
.vb-event-copy li,
.vb-event-location p {
  color: var(--vb-event-text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.vb-event-copy--native > *:first-child {
  margin-top: 0;
}

.vb-event-card {
  padding: 32px;
  border: 1px solid var(--vb-event-border);
  border-radius: 24px;
  background: var(--vb-event-surface);
  box-shadow: var(--vb-event-shadow);
}

.vb-event-card--accent {
  margin-bottom: 40px;
  background: linear-gradient(180deg, #fbfefb 0%, #f3f7f3 100%);
}

.vb-event-card--accent h3,
.vb-event-sidebar h3 {
  margin: 0 0 20px;
  color: var(--vb-event-primary);
  font-size: 1.55rem;
}

.vb-event-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vb-event-checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--vb-event-text);
  font-size: 1rem;
  line-height: 1.7;
}

.vb-event-checklist li + li {
  margin-top: 18px;
}

.vb-event-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--vb-event-primary-dark) 0%, var(--vb-event-primary) 100%);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.75);
}

.vb-event-location {
  margin-bottom: 16px;
}

.vb-event-map {
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--vb-event-border-strong);
  border-radius: 24px;
  background: var(--vb-event-surface-soft);
}

.vb-event-map iframe {
  display: block;
  width: 100%;
  min-height: 340px;
  border: 0;
}

.vb-event-map__fallback {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(119, 220, 121, 0.28), transparent 35%),
    linear-gradient(180deg, #f9fbf8 0%, #edf3ed 100%);
}

.vb-event-map__fallback strong {
  color: var(--vb-event-primary);
  font-family: "Montserrat", "Trebuchet MS", sans-serif;
  font-size: 1.3rem;
}

.vb-event-location__details {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 24px 28px;
  border: 1px solid var(--vb-event-border);
  border-radius: 20px;
  background: var(--vb-event-surface);
  box-shadow: 0 14px 36px rgba(14, 39, 20, 0.08);
}

.vb-event-location__details h3,
.vb-event-sidebar h4 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.vb-event-location__note {
  margin-top: 10px;
}

.vb-event-location__action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid var(--vb-event-primary);
  border-radius: 14px;
  background: rgba(0, 94, 26, 0.04);
  color: var(--vb-event-primary);
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.vb-event-card--sticky {
  position: sticky;
  top: 110px;
}

.vb-event-sidebar__group + .vb-event-sidebar__group {
  margin-top: 24px;
}

.vb-event-detail + .vb-event-detail {
  margin-top: 20px;
}

.vb-event-detail__label {
  display: block;
  margin-bottom: 6px;
  color: #72806f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vb-event-detail strong,
.vb-event-organizer__name {
  display: block;
  color: var(--vb-event-text);
  font-size: 1.02rem;
}

.vb-event-detail span:not(.vb-event-detail__label) {
  color: var(--vb-event-text-soft);
}

.vb-event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vb-event-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef2ec;
  color: var(--vb-event-text-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.vb-event-tag--category {
  background: rgba(186, 240, 116, 0.35);
  color: var(--vb-event-secondary);
}

.vb-event-sidebar__divider {
  height: 1px;
  margin: 28px 0;
  background: var(--vb-event-border);
}

.vb-event-organizer__meta {
  display: grid;
  gap: 12px;
}

.vb-event-contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--vb-event-border);
  border-radius: 14px;
  background: var(--vb-event-surface-soft);
  color: var(--vb-event-text-soft) !important;
  font-weight: 600;
  text-decoration: none !important;
  text-align: center;
  word-break: break-word;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.vb-event-contact-button__text {
  display: inline-block;
  color: inherit !important;
  opacity: 1 !important;
  visibility: visible !important;
  line-height: 1.4;
}

.vb-event-contact-button:hover,
.vb-event-contact-button:focus,
.vb-event-location__action a:hover,
.vb-event-location__action a:focus {
  transform: translateY(-1px);
  border-color: var(--vb-event-primary);
  background: rgba(0, 94, 26, 0.08);
  color: var(--vb-event-primary) !important;
}

.vb-event-gallery-section {
  padding: 80px 0;
  background:
    linear-gradient(180deg, #f3f7f3 0%, #eef3ee 100%);
}

.vb-event-gallery-section h2 {
  margin-bottom: 28px;
  text-align: center;
}

.vb-event-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 16px;
}

.vb-event-gallery__item {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(14, 39, 20, 0.12);
}

.vb-event-gallery__item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.vb-event-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.vb-event-gallery__item:hover img,
.vb-event-gallery__item:focus-within img {
  transform: scale(1.06);
}

@media (max-width: 1199px) {
  .vb-event-shell {
    width: min(100% - 40px, 1120px);
  }

  .vb-event-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.95fr);
    gap: 24px;
  }
}

@media (max-width: 999px) {
  .vb-event-hero {
    min-height: 560px;
  }

  .vb-event-hero__content {
    padding: 104px 0 72px;
  }

  .vb-event-grid {
    grid-template-columns: 1fr;
  }

  .vb-event-card--sticky {
    position: static;
  }

  .vb-event-sidebar {
    order: 2;
  }

  .vb-event-main {
    order: 1;
  }

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

@media (max-width: 767px) {
  .vb-event-shell {
    width: min(100% - 24px, 1200px);
  }

  .vb-event-hero {
    min-height: 520px;
  }

  .vb-event-hero__content {
    padding: 96px 0 64px;
  }

  .vb-event-title {
    font-size: clamp(2rem, 10vw, 2.9rem);
  }

  .vb-event-hero__meta,
  .vb-event-location__details,
  .vb-event-hero__actions,
  .vb-event-sidebar__actions {
    flex-direction: column;
  }

  .vb-event-meta-pill {
    min-width: 0;
  }

  .vb-event-button,
  .vb-event-contact-button,
  .vb-event-location__action a {
    width: 100%;
  }

  .vb-event-card,
  .vb-event-location__details {
    padding: 24px;
  }

  .vb-event-section,
  .vb-event-gallery-section {
    padding: 56px 0;
  }

  .vb-event-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .vb-event-gallery__item--featured {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 479px) {
  .vb-event-shell {
    width: calc(100% - 20px);
  }

  .vb-event-hero {
    min-height: 460px;
  }

  .vb-event-hero__content {
    padding: 88px 0 52px;
  }

  .vb-event-badge {
    font-size: 0.82rem;
    padding: 7px 12px;
  }

  .vb-event-hero__meta {
    gap: 12px;
    padding: 16px;
  }

  .vb-event-section,
  .vb-event-gallery-section {
    padding: 44px 0;
  }

  .vb-event-card,
  .vb-event-location__details {
    padding: 20px;
    border-radius: 20px;
  }

  .vb-event-map,
  .vb-event-map iframe,
  .vb-event-map__fallback {
    min-height: 280px;
  }
}
