/* =========================================================
   EVENTS PAGE ONLY
   File: events-page.css
   Page: events.html

   FUTURE CHANGE NOTE:
   Keep styles.css as the shared site stylesheet.
   This file should only style the Events page body content.
========================================================= */

.events-body .events-calendar-section,
.events-body .events-calendar-section *,
.events-body .events-intro-section,
.events-body .events-intro-section *,
.events-body .events-detail-section,
.events-body .events-detail-section * {
  box-sizing: border-box;
}

.events-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 900;
  color: #ffcc00;
  margin-bottom: 10px;
}

/* =========================================================
   HERO
========================================================= */
.events-hero-wrap {
  padding-bottom: 0.75rem;
}

/* =========================================================
   INTRO
========================================================= */
.events-intro-section {
  padding: 0.5rem 0 1.25rem;
  color: #ffffff;
}

.events-intro-card {
  background:
    radial-gradient(circle at top right, rgba(255, 204, 0, 0.20), transparent 35%),
    linear-gradient(135deg, #2b0c36 0%, #540070 55%, #9900ce 100%);
  border-radius: 24px;
  padding: 36px 40px;
  text-align: center;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.events-intro-card h1 {
  font-family: Byington, Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.95;
  margin-bottom: 14px;
}

.events-intro-card p {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.58;
}

/* =========================================================
   CALENDAR
========================================================= */
.events-calendar-section {
  padding: 0 0 1.4rem;
}

.events-calendar-card {
  background: #ffffff;
  color: #1d1d1d;
  border-radius: 22px;
  border: 8px solid #ffcc00;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.events-calendar-toolbar {
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #540070 0%, #2b0c36 100%);
  color: #ffffff;
  padding: 22px;
}

.events-month-title {
  text-align: center;
}

.events-month-title h2 {
  font-family: Byington, Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  margin: 0 0 6px;
}

.events-month-title p {
  margin: 0;
  color: #ffcc00;
  font-weight: 800;
}

.events-month-btn {
  border: none;
  border-radius: 14px;
  background: #ffcc00;
  color: #111111;
  font-size: 2rem;
  font-weight: 900;
  height: 56px;
  cursor: pointer;
}

.events-month-btn:hover {
  background: #ffffff;
  color: #540070;
}

.events-weekday-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #ffcc00;
  color: #1d1d1d;
  font-weight: 900;
  text-align: center;
}

.events-weekday-row div {
  padding: 12px 6px;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.events-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #f5eff8;
}

.events-day {
  min-height: 138px;
  padding: 10px;
  background: #ffffff;
  border-right: 1px solid #eadfee;
  border-bottom: 1px solid #eadfee;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.events-day:hover {
  background: #fff9d8;
}

.events-day.is-muted {
  background: #f2eef4;
  color: #9c8ca5;
}

.events-day.is-today {
  outline: 3px solid #540070;
  outline-offset: -3px;
}

.events-day.is-selected {
  background: #ffe987;
}

.events-day-number {
  font-weight: 900;
  color: #540070;
  margin-bottom: 8px;
}

.events-day.is-muted .events-day-number {
  color: #9c8ca5;
}

.events-pill {
  display: block;
  background: #540070;
  color: #ffffff;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 5px;
  line-height: 1.2;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.events-pill-time {
  color: #ffcc00;
  margin-right: 4px;
}

.events-more-count {
  font-size: 0.78rem;
  color: #540070;
  font-weight: 900;
}

/* =========================================================
   EVENT DETAIL PANEL
========================================================= */
.events-detail-section {
  padding: 0 0 1.5rem;
  color: #ffffff;
}

.events-detail-card {
  background: linear-gradient(180deg, #cb00ff 0%, #9900ce 100%);
  border-radius: 20px;
  padding: 34px 38px;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.events-detail-card h2 {
  font-family: Byington, Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.events-detail-list {
  display: grid;
  gap: 14px;
}

.events-detail-item {
  background: #ffffff;
  color: #1d1d1d;
  border-left: 8px solid #ffcc00;
  border-radius: 14px;
  padding: 18px;
}

.events-detail-item h3 {
  color: #540070;
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.events-detail-meta {
  font-weight: 800;
  margin-bottom: 8px;
}

.events-detail-item p {
  margin-bottom: 8px;
  line-height: 1.5;
}

.events-detail-item a {
  color: #540070;
  font-weight: 900;
}

/* =========================================================
   RESPONSIVE DESIGN
========================================================= */
@media (max-width: 991.98px) {
  .events-day {
    min-height: 116px;
    padding: 8px;
  }

  .events-pill {
    font-size: 0.68rem;
  }
}

@media (max-width: 767.98px) {
  .events-intro-card,
  .events-detail-card {
    padding: 26px 22px;
  }

  .events-calendar-toolbar {
    grid-template-columns: 48px 1fr 48px;
    padding: 16px;
  }

  .events-month-btn {
    height: 48px;
    font-size: 1.5rem;
  }

  .events-weekday-row div {
    font-size: 0.75rem;
    padding: 10px 2px;
  }

  .events-day {
    min-height: 92px;
    padding: 6px;
  }

  .events-day-number {
    font-size: 0.85rem;
    margin-bottom: 5px;
  }

  .events-pill {
    font-size: 0.62rem;
    padding: 4px 6px;
  }
}
