/* =========================================================
   EVENTS PAGE (Single column, bordered months + right photos)
   Uses .btn styles from main.css (kept here since you already use it)
========================================================= */

.page-content {
  padding-bottom: 2.25rem;
}

/* (Keeping your button styles as-is, since your page uses them) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn.primary {
  background: #23407c;
  color: white;
}

.btn.primary:hover {
  filter: brightness(0.95);
}

.btn.secondary {
  background: white;
  color: #23407c;
  border-color: #cdd6ea;
}

.btn.secondary:hover {
  background: #f2f5fb;
}

/* HERO */

.page-hero {
  padding: 2rem 0 1.25rem;
  background: #f3f5f9;
  border-bottom: 1px solid #e7e7e7;
}

.hero-inner {
  max-width: 75ch;
}

.page-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.15;
  color: #091024;
}

.herop {
  margin: 0 0 1.15rem;
  line-height: 1.65;
  color: #4c556a;
}

.intro-eyebrow {
  margin: 0 0 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
  opacity: 0.8;
  color: #23407c;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* SECTION WRAPPERS */
.section {
  padding: 1.5rem 0;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: #091024;
}

.section-subtitle {
  margin: 0;
  color: #4c556a;
  line-height: 1.6;
  max-width: 85ch;
}

.calendar-header {
  border: 1px solid #e7e7e7;
  background: #ffffff;
  padding: 1.1rem 1.1rem;
  box-shadow: 0 10px 30px rgba(10, 20, 40, 0.06);
}

.calendar-actions {
  margin-top: 0.95rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* MONTH LIST */
.months {
  display: grid;
  gap: 0.95rem;
}

/* Month card */
.month-block {
  background: #ffffff;
  border: 1px solid #e7e7e7;
  box-shadow: 0 10px 30px rgba(10, 20, 40, 0.06);
  overflow: hidden;
  border-radius: 14px;
}

/* NEW: two-column layout inside the month card */
.month-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  align-items: stretch;
}

/* Left content */
.month-content {
  min-width: 0;
}

/* Header stays exactly your style */
.month-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #e7e7e7;
  background: linear-gradient(to bottom, #ffffff, #fbfcff);
}

.month-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #091024;
  line-height: 1.2;
}

.month-note {
  font-size: 0.9rem;
  color: #6b7488;
  white-space: nowrap;
}

/* small label pill */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #23407c;
  background: rgba(35, 64, 124, 0.08);
  margin-left: 0.5rem;
}

/* Events list */
.event-list {
  list-style: none;
  margin: 0;
  padding: 0.85rem 1.1rem 1.05rem;
  display: grid;
  gap: 0.85rem;
}

.event-title {
  color: #12213f;
  line-height: 1.35;
}

.event-meta {
  color: #6b7488;
  font-weight: 500;
  margin-left: 0.25rem;
}

.event-date{
  color: #960202;
  font-weight: 900;
  margin-left: 0.25rem;
  
}

/* Sub bullets under a specific event */
.event-sublist {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: #4c556a;
  line-height: 1.6;
}

/* Tags */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-left: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.tag.confirmed {
  background: rgba(34, 197, 94, 0.10);
  color: #166534;
  border-color: rgba(34, 197, 94, 0.25);
}

.tag.flagship {
  background: rgba(59, 130, 246, 0.10);
  color: #1e3a8a;
  border-color: rgba(59, 130, 246, 0.25);
}

/* RIGHT: Month media */
.month-media {
  border-left: 1px solid #e7e7e7;
  background: #f3f5f9;
  display: grid;
  place-items: center;
  padding: 0.9rem;
}

.month-photo {
  width: 100%;
  height: 100%;
  max-height: 220px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  object-fit: cover;
  display: block;
}

/* Bottom callout */
.events-callout {
  margin-top: 1.25rem;
  border: 1px solid #e7e7e7;
  background: #ffffff;
  padding: 1.15rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(10, 20, 40, 0.06);
  border-radius: 14px;
}

.events-callout p {
  margin: 0;
  color: #4c556a;
  line-height: 1.6;
  max-width: 70ch;
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 980px) {
  .month-grid {
    grid-template-columns: 1fr;
  }

  .month-media {
    border-left: none;
    border-top: 1px solid #e7e7e7;
    padding: 0.95rem;
  }

  .month-photo {
    max-height: 260px;
  }
}

@media (max-width: 720px) {
  .month-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .month-note {
    white-space: normal;
  }

  .calendar-header,
  .month-header,
  .event-list,
  .events-callout {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  .month-media {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }
}

@media (max-width: 420px) {
  .pill {
    display: block;
    width: fit-content;
    margin-left: 0;
    margin-top: 0.45rem;
  }
}
