/* ════════════════════════════════════════════════ */
/* ▶ SECTION STYLING                                */
/* ════════════════════════════════════════════════ */

.section1 { background-color: #04a7d9; }
.section2 { background-color: #f17fb2; }
.section3 { background-color: #3aba9b; }
.section4 { background-color: #ee3a37; }




/* ════════════════════════════════════════════════ */
/* ▶ NAVBAR STYLING: ACTIVE PAGE                    */
/* ════════════════════════════════════════════════ */

li .nav-button-agenda {
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: 6px;
}

li .nav-button-agenda:hover {
    color: #0051a4;
}


.subtitle2 {
  margin-top: 5vh;
}

/* ════════════════════════════════════════════════ */
/* ▶ EVENT ITEM STYLING TEST                        */
/* ════════════════════════════════════════════════ */

.event-item {
  display: flex;
  flex-wrap: wrap;
  color: black;
  background-color: white;
  align-items: stretch;
  gap: 50px;
  border: 3px solid transparent;
  border-radius: 16px;
  width: 80vw;
  max-width: 1050px;
  min-height: 120px;
  max-height: 220px;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 15px;
  padding-bottom: 15px;
  box-shadow: 5px 15px 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  margin-bottom: 20px;
  transition: all ease-in 0.2s;
  box-sizing: border-box;
}

.event-date {
    display: inline-block;
    align-content: center;
    /* border: 2px solid #37ee4f; */
}

.event-weekday {
    font-weight:lighter;
    font-size: 20px;
}

.event-day {
    font-weight: bold;
    font-size: 30px
}

.event-month {
    font-weight: lighter;
    font-size: 20px
}

.event-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-around;
    /* border: 2px solid #3740ee; */
    text-align: left;
}

.event-header {
    display: flex;
    flex-direction: row;         /* Place title and time on the same line */
    align-items: center;         /* Vertically center them */
    justify-content: space-between; /* Push time to the right */
    width: 100%;
    gap: 2em;                    /* Optional: space between title and time */
}

.event-title {
    /* border: 2px solid #37e8ee; */
    font-size: 1.4rem;
    font-weight: 700;
}

.event-description {
    /* border: 2px solid #eeb437; */
    font-size: 1.1rem;
    font-weight: lighter;
    line-height: 1.5;
    margin-top: 10px;
    margin-bottom: 5px;
}

.event-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px; /* optional: space between time and location */
}

.event-time {
    font-weight: lighter;
    color: #5f5f5f;
    /* background-color: #f5defff5; */
    font-size: 20px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 5px;
    text-align: left;
    width: 70px;
}

.event-location {
    font-weight: lighter;
    color: #5f5f5f;
    /* background-color: #d5def7; */
    font-size: 20px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 5px;
    text-align: left;
    width: 200px;
}

.tag.recurring-tag {
    background-color: #f5e9fa;
    color: #a023d6;
}

.tag.extra-dates-tag {
    background-color: #1b79c611;
    color: #1876c3;
}



a:hover {
    text-decoration: none;
}


@media (max-width: 700px) {
  .event-item {
    width: 96vw;
    min-width: 0;
    max-width: 100vw;
    height: auto;
    min-height: 0;
    max-height: none;
    padding-left: 10px;
    padding-right: 10px;
    gap: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .event-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
  }

  .event-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .event-time, .event-location {
    min-width: 0;
    width: 100%;
    text-align: left;
  }

}