/* Enhanced Styles for Grouped Sections */
.grouped_sections {
    padding: 60px 0;
    background: #f8fafc;
}

.grouped_title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
    color: #2d3748;
}

.grouped_title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
}

/* Accordion Styling */
.accordion_container {
    margin-bottom: 12px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.accordion {
    background: white;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #2d3748;
    transition: all 0.3s;
}

.accordion.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.accordion.active i {
    color: white !important;
}

.accordion_panel {
    background: white;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion_container.active .accordion_panel {
    max-height: 200px;
    padding: 20px;
}

.accordion_panel p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
}

/* Events Styling */
.event {
    margin-bottom: 20px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}

.event:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.event_date {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-right: 15px;
}

.event_day {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.event_month {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.event_title a {
    font-weight: 600;
    color: #2d3748;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.event_title a:hover {
    color: #667eea;
}

.event_subtitle, .event_time {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 5px;
}

.event_subtitle i, .event_time i {
    margin-right: 5px;
    color: #764ba2;
}

/* News Styling */
.news_post {
    margin-bottom: 20px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    transition: all 0.3s;
}

.news_post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.news_post_image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 15px;
}

.news_post_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news_post:hover .news_post_image img {
    transform: scale(1.1);
}

.news_post_body {
    flex: 1;
}

.news_post_date {
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 5px;
}

.news_post_date i {
    margin-right: 5px;
    color: #764ba2;
}

.news_post_title {
    margin-bottom: 5px;
}

.news_post_title a {
    font-weight: 600;
    color: #2d3748;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.news_post_title a:hover {
    color: #667eea;
}

.news_post_author {
    font-size: 0.8rem;
    color: #764ba2;
    font-weight: 500;
}

/* View All Links */
.view-all-events, .view-all-news {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 25px;
    background: white;
    box-shadow: 0 2px 10px rgba(102,126,234,0.2);
    transition: all 0.3s;
}

.view-all-events:hover, .view-all-news:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
}

.view-all-events i, .view-all-news i {
    margin-left: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .grouped_sections {
        padding: 40px 0;
    }
    
    .grouped_title {
        font-size: 1.3rem;
        margin-top: 30px;
    }
    
    .grouped_col:first-child .grouped_title {
        margin-top: 0;
    }
    
    .event, .news_post {
        padding: 12px;
    }
}