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

.section1 { background-color: #ffce00; }
.section2 { background-color: #f17fb2; }
.section3 { background-color: #f17fb2; }
.section4 { background-color: #ee3a37; }


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

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

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


/* ════════════════════════════════════════════════ */
/* ▶ NEWS FLEXBOX                                   */
/* ════════════════════════════════════════════════ */

.event-container {
    background: white;
    color: #222;
    border-radius: 16px;
    box-shadow: 5px 15px 10px rgba(0, 0, 0, 0.1);
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}



.event-title {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.event-subtitle {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-align: left;
}

.event-date {
    display: block;
    font-size: 1.1rem;
    color: #666;
    font-weight: lighter;
    margin-top: 10px;
}

.date-day {
    margin-right: 0.5em;
}

.event-time {
    margin-left: 0.5em;
}

.event-location {
    display: inline;
    font-size: 1.2rem;
    color: #666;
    font-weight: lighter;
}

.event-description {
    font-weight: lighter;
    line-height: 1.5;
    color: #333;
    font-size: 1.2rem;
    text-align: justify;
    margin-top: 20px;
    /* word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto; */
}

.event-description ul, .event-description ol {
    margin-left: 0.5em;   /* Increase for more indent */
    padding-left: 1em;
}

.event-description li {
    margin-bottom: 0.3em; /* Optional: space between items */

}

.address-label {
    font-weight: normal;
    line-height: 1.5;
    color: #333;
    font-size: 1.2rem;
    text-align: center;
    margin-top: 10vh;
    text-align: left;
}

.address {
    font-weight: lighter;
    line-height: 1.5;
    color: #333;
    font-size: 1.2rem;
    text-align: left;
}

.normal-button {
    margin-top: 30px
}

.table-title {
    font-weight: normal;
    line-height: 1.5;
    color: #333;
    font-size: 1.2rem;
    text-align: center;
    margin-top: 10vh;
    margin-bottom: 2vh;
    text-align: left;
}

/* Minimalist table styling */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  font-weight: lighter;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}

table.events-table th, table.events-table td {
  padding: 0.5em 0.75em;
  text-align: left;
  border-bottom: 1px solid #eee;
}

table.events-table th {
  background: #f7f7f7;
  font-weight: 400;
  letter-spacing: 0.03em;
}

table.events-table tr.exception-row {
  background: #ffecec;
}

table.events-table tr.empty-row td {
  text-align: center;
  color: #aaa;
  font-style: italic;
}

table.events-table td span.date-day {
    font-weight:400;
    margin-right: 1em;
}

.date-time {
    margin-left: 1em;
}

/* Halloween event decorations */
.halloween-event {
    position: relative;
    overflow: visible;
}

.halloween-event::before {
    content: "🕸️";
    position: absolute;
    top: -10px;
    right: 15px;
    font-size: 30px;
    z-index: 10;
    opacity: 0.7;
}

.halloween-event::after {
    content: "🕷️";
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 18px;
    z-index: 11;
    animation: spider-swing 4s ease-in-out infinite;
}

@keyframes spider-swing {
    0%, 100% { 
        transform: rotate(-5deg) translateY(0px); 
    }
    50% { 
        transform: rotate(5deg) translateY(2px); 
    }
}