/* ===== Base Container & Modernization ===== */
div.tb_i1k9900 div.module-box-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
    padding: 30px !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

div.upcomingEventsContainer {
    background: transparent;
    padding: 0;
    color: #2c3e50;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ===== Modern Header Styling ===== */
div.upcomingEventsContainer h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

div.upcomingEventsContainer h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #C7BBFF, #ff6b6b);
    border-radius: 2px;
}

div.upcomingEventsContainer h2 {
    font-size: 1.75rem;
    color: #34495e;
    padding: 1.25rem 0;
    margin: 2rem 0 1.5rem 0;
    font-weight: 600;
}

/* ===== Interactive Event Cards ===== */
div.titleContainer,
div.eventContainer {
    background: #F9F9F9;
    border: none;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-left: 4px solid transparent;
}

div.titleContainer:hover,
div.eventContainer:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(178, 25, 23, 0.1);
    border-left-color: #C7BBFF;
    cursor: pointer;
    background: #F9F9F9;
}

/* ===== Typography & Links ===== */
div.upcomingEventsContainer a {
    font-size: 2rem;
    color: #C7BBFF;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

div.upcomingEventsContainer a:hover {
    color: #C7BBFF;
    text-decoration: underline;
}

/* div.upcomingEventsContainer a::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.2s ease;
} */

div.upcomingEventsContainer a:hover::after {
    transform: translateX(4px);
}

div.upcomingEventsContainer h3 {
    font-size: 1.5rem;
    color: #7f8c8d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

/* ===== Section Dividers ===== */
div.weekendsEvents,
div.next7daysEvents {
    border-left: none;
    position: relative;
    padding-left: 1.5rem;
}

div.weekendsEvents::before,
div.next7daysEvents::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #C7BBFF, #ff9f43);
    border-radius: 1.5px;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    div.tb_i1k9900 div.module-box-content {
        padding: 1.5rem !important;
        border-radius: 12px !important;
    }
    
    div.upcomingEventsContainer h1 {
        font-size: 2rem;
    }
    
    div.upcomingEventsContainer h2 {
        font-size: 1.5rem;
    }
    
    div.titleContainer,
    div.eventContainer {
        padding: 1.25rem;
    }
}