/**
 * Event Hub (/eventhub) — Namaste Life interactive hub layout.
 * Classes are prefixed with eventhub-* to avoid colliding with the main theme.
 */

.eventhub-page.site-main {
  min-height: 0;
}

.eventhub-page {
  font-family: "DM Sans", "Segoe UI", Roboto, Arial, sans-serif;
  background: #f6f8fb;
  color: #203040;
  line-height: 1.4;
}

.eventhub-page *,
.eventhub-page *::before,
.eventhub-page *::after {
  box-sizing: border-box;
}

.eventhub-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #111;
  color: white;
  text-align: center;
  padding: 32px 20px;
}

.eventhub-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.eventhub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 2;
}

.eventhub-hero-inner {
  position: relative;
  z-index: 3;
  width: min(760px, 94vw);
}

.eventhub-brand-line {
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  font-weight: 800;
  text-transform: uppercase;
  opacity: 0.88;
  margin-bottom: 20px;
}

.eventhub-hero h1 {
  font-size: clamp(3rem, 12vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  font-weight: 300;
  text-transform: uppercase;
}

.eventhub-headline-accent {
  display: block;
  font-size: clamp(2.4rem, 10vw, 5.5rem);
  line-height: 0.95;
  text-transform: none;
  font-style: italic;
  color: #ff8fa3;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 4px;
}

.eventhub-subtitle {
  font-size: clamp(1.35rem, 5vw, 2.6rem);
  font-weight: 900;
  margin-top: 26px;
}

.eventhub-dateline {
  display: inline-block;
  font-size: clamp(1.25rem, 4.5vw, 2rem);
  font-weight: 900;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 5px solid #ff8fc5;
}

.eventhub-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 36px;
}

@media (min-width: 720px) {
  .eventhub-cta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.eventhub-hub-btn {
  display: block;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  background: #c6ec6d;
  color: #111;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 18px 22px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  text-align: center;
}

.eventhub-hub-btn:active {
  transform: scale(0.98);
}

.eventhub-panel {
  width: min(1120px, 94vw);
  margin: 0 auto;
  padding: 44px 0;
}

.eventhub-panel-head {
  text-align: center;
  margin-bottom: 24px;
}

.eventhub-panel-head h2 {
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1.05;
  font-weight: 800;
  color: #203040;
}

.eventhub-panel-head p {
  margin-top: 10px;
  font-size: 1.05rem;
  color: #667789;
  font-weight: 600;
}

.eventhub-day-switch {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.eventhub-pill {
  border: 2px solid #dce5eb;
  background: white;
  color: #203040;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.eventhub-pill.active {
  background: #203040;
  color: white;
  border-color: #203040;
}

.eventhub-schedule-shell {
  overflow-x: auto;
  background: white;
  border: 1px solid #e4ebf1;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(32, 48, 64, 0.08);
}

.eventhub-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

.eventhub-table th {
  background: #203040;
  color: white;
  padding: 14px 10px;
  font-size: 0.95rem;
  position: sticky;
  top: 0;
  z-index: 3;
}

.eventhub-table th.eventhub-time-col {
  width: 14%;
}

.eventhub-table td {
  border-bottom: 1px solid #edf1f4;
  border-right: 1px solid #edf1f4;
  padding: 12px 10px;
  vertical-align: middle;
  min-height: 72px;
  font-size: 0.95rem;
}

.eventhub-cell-time {
  background: #eef5ff;
  text-align: center;
  font-weight: 800;
  color: #203040;
}

.eventhub-cell-program {
  font-weight: 800;
  color: #245eaa;
  cursor: pointer;
  line-height: 1.25;
}

.eventhub-cell-speaker {
  display: block;
  margin-top: 5px;
  color: #657487;
  font-size: 0.82rem;
  font-weight: 700;
}

.eventhub-cell-empty {
  color: #b0bac4;
  text-align: center;
}

.eventhub-map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 900px) {
  .eventhub-map-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.eventhub-map-card {
  background: white;
  border-radius: 20px;
  border: 1px solid #e4ebf1;
  box-shadow: 0 10px 28px rgba(32, 48, 64, 0.08);
  overflow: hidden;
}

.eventhub-map-card h3 {
  font-size: 1.35rem;
  padding: 18px 20px;
  background: #203040;
  color: white;
  font-weight: 800;
}

.eventhub-map-card img {
  width: 100%;
  display: block;
  height: auto;
}

.eventhub-feedback {
  background: white;
  border-radius: 24px;
  padding: 34px 24px;
  border: 1px solid #e4ebf1;
  box-shadow: 0 10px 28px rgba(32, 48, 64, 0.08);
  text-align: center;
}

.eventhub-feedback p {
  color: #667789;
  font-size: 1.1rem;
  font-weight: 600;
  max-width: 720px;
  margin: 0 auto 24px;
}

.eventhub-feedback-btn {
  display: inline-block;
  text-decoration: none;
  background: #9b59b6;
  color: white;
  border-radius: 999px;
  padding: 16px 28px;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(155, 89, 182, 0.24);
}

.eventhub-footnote {
  text-align: center;
  padding: 32px 20px 46px;
  color: #718094;
  font-weight: 600;
}

.eventhub-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(8, 16, 24, 0.72);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.eventhub-modal-backdrop.active {
  display: flex;
}

.eventhub-modal-card {
  width: min(720px, 94vw);
  max-height: 82vh;
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.eventhub-modal-header {
  background: #203040;
  color: white;
  padding: 22px;
}

.eventhub-modal-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.eventhub-modal-title {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
}

.eventhub-modal-meta {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.eventhub-modal-close {
  border: none;
  background: #ef4444;
  color: white;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}

.eventhub-modal-body {
  padding: 22px;
  overflow: auto;
  max-height: 52vh;
  color: #2f3e4e;
  font-size: 1.05rem;
  line-height: 1.55;
}

.eventhub-modal-speaker {
  color: #245eaa;
  font-weight: 800;
  margin-bottom: 14px;
}

.eventhub-msg-error {
  padding: 30px;
  text-align: center;
  color: #7d1622;
  font-weight: 800;
}
