/* Single Event + Events archive components */
.vh-event-cover-section {
  background: #fff;
  padding: clamp(1.5rem, 4vw, 3rem) 0 0;
}
.vh-event-cover {
  border-radius: 0;
  overflow: hidden;
  background: #f2f2f5;
  box-shadow: 0 18px 60px rgba(15, 23, 42, .14);
  aspect-ratio: 16 / 9;
  max-height: 560px;
}
.vh-event-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vh-event-main-section {
  background: #fff;
  color: #111827;
  padding-top: clamp(4.5rem, 7vw, 7rem);
  padding-bottom: clamp(4.5rem, 7vw, 7rem);
}
.vh-event-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}
.vh-event-organizer-mini {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: #1f2937;
}
.vh-event-avatar-sm,
.vh-event-organizer-avatar {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #f1eef6;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, .08);
}
.vh-event-avatar-sm {
  width: 64px;
  height: 64px;
}
.vh-event-organizer-avatar {
  width: 88px;
  height: 88px;
}
.vh-event-avatar-sm img,
.vh-event-organizer-avatar img,
.vh-event-avatar-sm span,
.vh-event-organizer-avatar span {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vh-event-muted-meta {
  color: #667085;
  font-size: .95rem;
}
.vh-event-fact-list {
  display: grid;
  gap: .7rem;
  color: #111827;
}
.vh-event-fact-list > div {
  display: flex;
  gap: .65rem;
  align-items: center;
}
.vh-event-fact-list svg,
.vh-event-fact-list i { color: var(--vh-link, #5b63ff); }
.vh-event-overview,
.vh-event-good,
.vh-event-location,
.vh-event-organizer-block {
  border-top: 1px solid rgba(17,24,39,.08);
  padding-top: 2rem;
}
.vh-event-overview h2,
.vh-event-good h2,
.vh-event-location h2,
.vh-event-organizer-block h2 {
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  font-weight: 850;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}
.vh-event-info-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: .7rem;
}
.vh-event-info-card {
  min-width: min(330px, 80vw);
  border: 1px solid rgba(17,24,39,.1);
  border-radius: 1rem;
  background: #fff;
  padding: 1.5rem;
  min-height: 180px;
}
.vh-event-info-card h3,
.vh-event-location h3,
.vh-event-transport h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: .9rem;
}
.vh-event-info-card ul,
.vh-event-transport ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .7rem;
}
.vh-event-info-card li,
.vh-event-transport li {
  display: flex;
  gap: .7rem;
  align-items: center;
  color: #3f3a52;
}
.vh-event-info-card svg,
.vh-event-info-card i,
.vh-event-transport svg,
.vh-event-transport i { color: var(--vh-link, #5b63ff); }
/* Desktop event location stays in one horizontal row: venue, travel options, map. */
.vh-event-location-layout {
  display: grid;
  grid-template-columns: minmax(11rem, .8fr) minmax(13rem, 1fr) minmax(19rem, 1.6fr);
  gap: clamp(1rem, 2.6vw, 2rem);
  align-items: start;
}
.vh-event-location-summary,
.vh-event-transport,
.vh-event-location-map {
  min-width: 0;
}
.vh-event-location-summary p {
  margin: 0;
  white-space: pre-line;
  color: #3f3a52;
}
.vh-event-transport {
  margin: 0;
}
.vh-event-location-map .vh-event-map {
  height: 100%;
}

.vh-event-map {
  position: relative;
  min-height: 310px;
  border-radius: .9rem;
  overflow: hidden;
  background: linear-gradient(135deg,#f8fafc,#edf2f7);
  display: grid;
  place-items: center;
}
.vh-event-map img,
.vh-event-map-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.75) opacity(.82);
}
.vh-event-map-placeholder {
  background: radial-gradient(circle at 20% 20%, rgba(98, 120, 255, .12), transparent 24%), linear-gradient(135deg,#f1f5f9,#e2e8f0);
}
.vh-event-map-button { position: relative; z-index: 2; font-weight: 800; }
.vh-event-organizer-card {
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 1rem;
  background: #f7f5fa;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.3rem;
  align-items: center;
}
.vh-event-organizer-main h3 { font-size: 1.2rem; font-weight: 850; margin-bottom: .6rem; }
.vh-event-organizer-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: #4b5563;
}
.vh-event-organizer-stats span { display: grid; gap: .1rem; }
.vh-event-organizer-stats strong { color: #111827; font-size: 1.05rem; }
.vh-event-organizer-actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: flex-end; }
.vh-event-ticket-card {
  position: sticky;
  top: calc(var(--vh-nav-height, 72px) + 1.5rem);
  border: 1px solid rgba(17,24,39,.08);
  border-radius: .4rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}
.vh-event-ticket-price span { display: block; color: #4b5563; font-weight: 700; font-size: .9rem; }
.vh-event-ticket-price strong { display: block; font-size: 1.5rem; font-weight: 900; }
.vh-event-ticket-date { color: #4b5563; font-weight: 700; }
.vh-event-ticket-card .btn { width: 100%; justify-content: center; }
.vh-event-card {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.vh-event-card:hover { transform: translateY(-3px); box-shadow: 0 18px 45px rgba(15, 23, 42, .14); }
.vh-event-card__media { aspect-ratio: 16 / 9; background: #111827; }
.vh-event-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vh-event-card__body { padding: 1.25rem; }
.vh-event-card__badge {
  display: inline-flex;
  align-items: center;
  padding: .32rem .65rem;
  border-radius: 999px;
  background: rgba(178,22,200,.1);
  color: #a111b4;
  font-weight: 900;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .7rem;
}
.vh-event-card__title { font-size: 1.25rem; font-weight: 900; letter-spacing: -.03em; margin-bottom: .55rem; }
.vh-event-card__meta { display: grid; gap: .4rem; margin-top: 1rem; color: #4b5563; font-size: .95rem; }
.vh-event-card__meta span { display: flex; gap: .5rem; align-items: center; }
.vh-event-card__meta svg,
.vh-event-card__meta i { color: var(--vh-link, #5b63ff); }
@media (max-width: 991.98px) {
  .vh-event-location-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vh-event-location-map {
    grid-column: 1 / -1;
  }
  .vh-event-location-map .vh-event-map {
    min-height: 280px;
  }
  .vh-event-ticket-card { position: static; }
  .vh-event-organizer-card { grid-template-columns: auto 1fr; }
  .vh-event-organizer-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 640px) {
  .vh-event-location-layout {
    grid-template-columns: 1fr;
  }
  .vh-event-location-map {
    grid-column: auto;
  }
  .vh-event-location-map .vh-event-map {
    min-height: 240px;
  }
  .vh-event-info-cards { grid-template-columns: 1fr; }
  .vh-event-organizer-card { grid-template-columns: 1fr; text-align: center; }
  .vh-event-organizer-avatar { margin: 0 auto; }
  .vh-event-organizer-stats, .vh-event-organizer-actions { justify-content: center; }
}

/* Event single sidebar additions */
.vh-event-sidebar {
  position: sticky;
  top: calc(var(--vh-nav-height, 72px) + 1.5rem);
  display: grid;
  gap: 1rem;
}
.vh-event-sidebar .vh-event-ticket-card {
  position: static;
}
.vh-event-sidebar-card {
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: .8rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
  padding: 1.25rem;
  color: #111827;
}
.vh-event-sidebar-card h3 {
  margin: 0 0 .9rem;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.02em;
}
.vh-event-sidebar-card h4 {
  margin: 1rem 0 .55rem;
  font-size: .78rem;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #667085;
}
.vh-event-sidebar-card h4:first-of-type {
  margin-top: 0;
}
.vh-event-sidebar-card p {
  margin: 0;
  color: #3f3a52;
}
.vh-event-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .7rem;
}
.vh-event-sidebar-list li {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: .65rem;
  align-items: start;
  color: #3f3a52;
}
.vh-event-sidebar-list svg,
.vh-event-sidebar-list i {
  color: var(--vh-link, #5b63ff);
  margin-top: .18rem;
}
.vh-event-sidebar-organizer-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .85rem;
  align-items: center;
}
.vh-event-sidebar-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin-top: 1rem;
}
.vh-event-sidebar-actions .btn {
  justify-content: center;
}
@media (max-width: 991.98px) {
  .vh-event-sidebar {
    position: static;
  }
}
@media (max-width: 520px) {
  .vh-event-sidebar-actions {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Single Event sidebar + full-width location (v1.4.2)
   --------------------------------------------------------------------------
   Good to know cards live below the ticket/detail cards in the sidebar.
   Location remains a dedicated full-width section below the main two-column
   content + ticket row.
*/

.vh-event-overview .vh-event-organizer-block--content {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0 !important;
}

.vh-event-sidebar-good {
  display: grid;
  gap: 1rem;
}

.vh-event-sidebar-group-title {
  margin: .35rem 0 0;
  color: #111827;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.025em;
}

.vh-event-sidebar-good .vh-event-sidebar-card { margin: 0; }
.vh-event-sidebar-good .vh-event-sidebar-list li { white-space: normal; }
.vh-event-sidebar-good .vh-event-sidebar-list li > span { min-width: 0; overflow-wrap: anywhere; }

/* Location is the single full-width supplemental section below the top row. */
.vh-event-main-section > .container > .vh-event-supplemental-grid--location-only {
  margin-top: clamp(2.75rem, 6vw, 5rem);
  display: block;
}

.vh-event-main-section > .container > .vh-event-supplemental-grid--location-only > .vh-event-location {
  min-width: 0;
  margin: 0;
  border-top: 1px solid rgba(17, 24, 39, .08);
  padding-top: clamp(1.5rem, 2.6vw, 2rem);
}

.vh-event-main-section > .container > .vh-event-supplemental-grid--location-only .vh-event-location-layout {
  display: grid;
  grid-template-columns: minmax(18rem, .82fr) minmax(22rem, 1.18fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: start;
}

.vh-event-main-section > .container > .vh-event-supplemental-grid--location-only .vh-event-location-details,
.vh-event-main-section > .container > .vh-event-supplemental-grid--location-only .vh-event-location-map { min-width: 0; }

.vh-event-main-section > .container > .vh-event-supplemental-grid--location-only .vh-event-location-details {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.vh-event-main-section > .container > .vh-event-supplemental-grid--location-only .vh-event-map {
  min-height: clamp(17rem, 24vw, 22rem);
}

/* Stable icon + wrapping text rows. */
.vh-event-main-section > .container > .vh-event-supplemental-grid--location-only .vh-event-transport ul {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: .8rem;
  width: 100%;
  margin: 0;
  padding: 0;
}

.vh-event-main-section > .container > .vh-event-supplemental-grid--location-only .vh-event-transport li {
  display: grid !important;
  grid-template-columns: 1.2rem minmax(0, 1fr) !important;
  column-gap: .7rem;
  align-items: start;
  width: 100%;
  min-width: 0;
  line-height: 1.45;
  white-space: normal !important;
}

.vh-event-main-section > .container > .vh-event-supplemental-grid--location-only .vh-event-transport li > i { margin-top: .16em; }

.vh-event-main-section > .container > .vh-event-supplemental-grid--location-only .vh-event-transport li > span,
.vh-event-main-section > .container > .vh-event-supplemental-grid--location-only .vh-event-location-summary p {
  display: block;
  min-width: 0;
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

/* Contact must remain readable on its light button. */
.vh-event-contact-btn,
.vh-event-contact-btn:visited {
  --bs-btn-color: #111827;
  --bs-btn-border-color: rgba(17, 24, 39, .2);
  --bs-btn-hover-color: #111827;
  --bs-btn-hover-bg: #f8fafc;
  --bs-btn-hover-border-color: rgba(17, 24, 39, .35);
  color: #111827 !important;
  background: #fff !important;
  border-color: rgba(17, 24, 39, .2) !important;
  text-decoration: none;
}

.vh-event-contact-btn:hover,
.vh-event-contact-btn:focus {
  color: #111827 !important;
  background: #f8fafc !important;
  border-color: rgba(17, 24, 39, .35) !important;
}

@media (max-width: 991.98px) {
  .vh-event-main-section > .container > .vh-event-supplemental-grid--location-only .vh-event-location-layout {
    grid-template-columns: minmax(0, .9fr) minmax(14rem, 1.1fr);
  }
}

@media (max-width: 680px) {
  .vh-event-main-section > .container > .vh-event-supplemental-grid--location-only .vh-event-location-layout { grid-template-columns: 1fr; }
  .vh-event-main-section > .container > .vh-event-supplemental-grid--location-only .vh-event-map { min-height: 15rem; }
}


/* --------------------------------------------------------------------------
   VH 1.4.93: event organizer placement + stable card contract
   --------------------------------------------------------------------------
   The full organizer card now lives below the content/sidebar row so it uses
   the same full-width rhythm as service/demo-gallery sections instead of being
   squeezed inside the overview column.
*/
.vh-event-organizer-block--wide {
  margin-top: clamp(2.75rem, 6vw, 5rem);
  border-top: 1px solid rgba(17, 24, 39, .08);
  padding-top: clamp(1.5rem, 2.6vw, 2rem);
}

.vh-event-organizer-card {
  width: 100%;
  min-width: 0;
  background: var(--vh-event-card-bg, #f8f6fb);
  border: 1px solid rgba(17, 24, 39, .10);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .07);
}

.vh-event-organizer-avatar,
.vh-event-avatar-sm {
  display: grid;
  place-items: center;
}

.vh-event-organizer-initials {
  display: grid !important;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(178, 22, 200, .18), rgba(90, 99, 255, .16));
  color: #191023;
  font-weight: 900;
  letter-spacing: .04em;
}

.vh-event-organizer-main,
.vh-event-organizer-main h3,
.vh-event-organizer-stats,
.vh-event-organizer-actions {
  min-width: 0;
}

.vh-event-organizer-main h3 {
  overflow-wrap: anywhere;
}

.vh-event-organizer-stats span {
  min-width: max-content;
}

.vh-event-organizer-actions .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .vh-event-organizer-block--wide .vh-event-organizer-card {
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 640px) {
  .vh-event-organizer-block--wide .vh-event-organizer-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .vh-event-organizer-block--wide .vh-event-organizer-actions,
  .vh-event-organizer-block--wide .vh-event-organizer-stats {
    justify-content: center;
  }
}
