.events-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.tag-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    row-gap: 16px;
    padding: 16px;
    margin: 15px 0;
    background-color: #FFF8F9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(90, 37, 43, 0.05);
    align-items: center;
}

.tag-nav__label {
    font-weight: 600;
    color: #5A252B;
    margin-right: 6px;
}

.tag-nav a {
    text-decoration: none;
    padding: 6px 16px 4px;
    border-radius: 20px;
    background-color: #F5E6E8;
    color: #5A252B;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(90, 37, 43, 0.1);
}

.tag-nav a:hover {
    background-color: #8B3E46;
    color: #FFF8F9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(90, 37, 43, 0.15);
}

.tag-nav div.selected a {
    background-color: #8B3E46;
    color: #FFF8F9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(90, 37, 43, 0.15);
    border-color: #8B3E46;
}

.tag-link {
    padding-left: 10px;
}

.events-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.events-calendar {
    width: 100%;
}

.events-calendar .events-section-title {
    margin-bottom: 0.75rem;
}

.events-calendar .simple-calendar {
    width: 100%;
}

.calendar-date {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.calendar-event a {
    color: var(--deep-blue);
    font-size: 0.9rem;
    text-decoration: none;
    display: block;
}

.calendar-event a:hover {
    text-decoration: underline;
}

.events-list {
    width: 100%;
}

.events-section-title {
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
    color: var(--dark-blue);
}

.events-table-wrapper {
    width: 100%;
    overflow-x: auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(26, 31, 38, 0.05);
    padding: 1rem;
}

.events-empty {
    margin: 1rem 0;
    color: var(--light);
    font-size: 1rem;
}

.calendar-mobile-hint {
    display: none;
    font-size: 0.9rem;
    color: var(--light);
    margin: -0.5rem 0 0;
}

.event .dollars {
  display: inline !important;
}

.event .attribute {
    display: block;
    margin-bottom: 10px;
}

#events-table a {
    text-decoration: none;
    color: var(--dark-blue);
}

#events-table a:hover {
    text-decoration: underline;
}

#events-table table {
    width: 100%;
    border-collapse: collapse;
}

#events-table th, thead {
    background-color: var(--dark-blue);
    color: var(--whitesmoke);
    padding: 10px;
}

#events-table td {
    padding: 10px;
    border: 1px solid var(--dark-blue);
}

@media screen and (max-width: 768px) {
    .events-calendar {
        display: none;
    }

    .calendar-mobile-hint {
        display: block;
    }

    .events-table-wrapper {
        padding: 0.5rem;
        box-shadow: none;
        border: 1px solid rgba(26, 31, 38, 0.1);
    }
}

@media screen and (max-width: 600px) {
    .tag-nav {
        justify-content: flex-start;
        padding: 12px;
    }

    #events-table th,
    #events-table td {
        padding: 8px;
        font-size: 0.9rem;
    }

    .events-section-title {
        font-size: 1.2rem;
    }
}
