/* ============================================================
   EVENTS PAGE — events-style.css
   ============================================================ */

.news-page-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 80px;
  font-family: Lato, Arial, sans-serif;
}

.news-page-header {
  font-size: 2em;
  font-weight: 900;
  letter-spacing: 0.03em;
  padding: 40px 0 8px;
  color: #111;
}

.news-line {
  height: 3px;
  background: var(--ev-accent);
  margin-bottom: 32px;
}

/* ============================================================
   TICKET CARD
   ============================================================ */
.event-main {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid #e8e8e8;
}

.event-left {
  width: 28%;
  flex-shrink: 0;
  background: #f7f7f7;
  border-right: 2px dashed #ddd;
  padding: 20px 12px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  position: relative;
}

.event-left::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--ev-accent);
}

.event-stub-day {
  font-size: 2.4em;
  font-weight: 900;
  color: #111;
  line-height: 1;
  text-align: center;
  letter-spacing: -0.02em;
}

.event-stub-month {
  font-size: 0.78em;
  font-weight: 800;
  color: #111;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2px;
}

.event-stub-year {
  font-size: 0.72em;
  font-weight: 600;
  color: #888;
  text-align: center;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.event-stub-multiday {
  font-size: 0.72em;
  font-weight: 700;
  color: #555;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.4;
}

.event-stub-divider {
  width: 60%;
  height: 1px;
  background: #ddd;
  margin: 6px auto 10px;
}

.event-stub-time {
  font-size: 0.9em;
  font-weight: 700;
  color: var(--ev-accent);
  text-align: center;
  letter-spacing: 0.03em;
}

.event-location {
  font-size: 0.72em;
  color: #888;
  line-height: 1.5;
  margin-top: auto;
  padding-top: 14px;
  text-align: center;
}


.event-right {
  flex: 1;
  padding: 24px 24px 20px 28px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.event-title {
  color: var(--ev-accent);
  font-weight: 800;
  font-size: 1.05em;
  letter-spacing: 0.01em;
  line-height: 1.4;
  margin-bottom: 10px;
}

.event-description-wrap {
  margin-bottom: 16px;
}

.event-description {
  font-size: 0.88em;
  color: #444;
  line-height: 1.65;
}

.event-desc-more-btn {
  display: inline;
  background: none;
  border: none;
  padding: 0 0 0 4px;
  color: var(--ev-accent);
  font-size: 0.88em;
  font-family: Lato, Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.event-desc-more-btn:hover { opacity: 0.75; }

.event-rsvp-btn {
  display: inline-block;
  margin-top: 12px;
  background: var(--ev-accent);
  color: #fff !important;
  font-family: Lato, Arial, sans-serif;
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  text-decoration: none;
  transition: opacity 0.15s;
}
.event-rsvp-btn:hover { opacity: 0.85; }

/* ============================================================
   DESKTOP TOOLTIP
   Appended to <body> by JS so it escapes all overflow clipping
   ============================================================ */
.ev-tooltip-global {
  display: none;
  position: fixed;
  width: 380px;
  max-width: 90vw;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 99999;
  overflow: hidden;
}
.ev-tooltip-global.is-open {
  display: block;
}
.ev-tooltip-global__header {
  background: var(--ev-accent);
  color: #fff;
  font-family: Lato, Arial, sans-serif;
  font-size: 0.75em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ev-tooltip-global__close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3em;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  opacity: 0.85;
}
.ev-tooltip-global__close:hover { opacity: 1; }
.ev-tooltip-global__body {
  max-height: 260px;
  overflow-y: auto;
  padding: 14px 16px;
  font-size: 0.88em;
  color: #333;
  line-height: 1.7;
  font-family: Lato, Arial, sans-serif;
}
.ev-tooltip-global::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 20px;
  width: 13px;
  height: 13px;
  background: #fff;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  transform: rotate(45deg);
}

/* ============================================================
   BOTTOM SHEET + OVERLAY
   Always display:none — JS adds is-open
   ============================================================ */
.event-sheet-overlay {
  display: none;
}
.event-sheet-overlay.is-open {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 90000;
}

.event-sheet {
  display: none;
}
.event-sheet.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  background: #fff;
  border-radius: 16px 16px 0 0;
  z-index: 90001;
  max-height: 65vh;
  overflow: hidden;
  animation: lp-sheet-up 0.28s cubic-bezier(0.32,0.72,0,1) both;
}

@keyframes lp-sheet-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.event-sheet__handle {
  width: 36px;
  height: 4px;
  background: #ddd;
  border-radius: 2px;
  margin: 10px auto 4px;
  flex-shrink: 0;
}

.event-sheet__header {
  background: var(--ev-accent);
  color: #fff;
  font-family: Lato, Arial, sans-serif;
  font-size: 0.82em;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 44px 12px 16px;
  line-height: 1.3;
  flex-shrink: 0;
  position: relative;
}

.event-sheet__close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5em;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.event-sheet__body {
  overflow-y: auto;
  padding: 18px 16px 32px;
  font-size: 0.9em;
  color: #333;
  line-height: 1.7;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 600px) {

  .news-page-main {
    padding: 0 0 60px;
  }

  .news-page-header {
    padding: 28px 16px 6px;
    font-size: 1.6em;
  }

  .news-line {
    margin: 0 16px 20px;
  }

  .event-main {
    flex-direction: column;
    border-radius: 8px;
    margin: 0 12px 14px;
  }

  .event-left {
    width: 100%;
    border-right: none;
    border-bottom: 2px dashed #ddd;
    padding: 16px 16px 14px 16px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0 24px;
    align-items: center;
  }

  .event-stub-day { font-size: 1.8em; }

  /* On mobile show compact inline: hide the stacked year/divider/month */
  .event-stub-year,
  .event-stub-divider { display: none; }

  .event-stub-month {
    font-size: 0.7em;
    margin-bottom: 0;
  }

  .event-stub-time { font-size: 0.85em; }

  .event-location {
    width: 100%;
    margin-top: 6px;
    padding-top: 4px;
    font-size: 0.72em;
    text-align: center;
  }

  .event-left::before {
    width: 100%;
    height: 4px;
    top: 0; left: 0;
    bottom: auto;
  }

  .event-right {
    padding: 14px 16px 18px;
  }

}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.event-empty {
  color: #888;
  font-size: 0.95em;
  padding: 40px 0;
  text-align: center;
}