/* Academic Events Widget Styles */
.academic-events-widget {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.events-title {
    font-size: 36px;
    font-weight: 300;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    padding-bottom: 0;
    line-height: 1.2;
}

.events-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.view-all-container {
    flex-shrink: 0;
    margin-top: 0;
    padding-top: 0;
    min-width: 140px;
}

.view-all-btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #333;
    color: #333;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: transparent;
    white-space: nowrap;
}

.view-all-btn:hover {
    background: #333;
    color: #fff;
}

.events-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: flex-start;
    flex: 1;
}

.event-item {
    display: flex;
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    padding: 0 20px;
    border-top: 1px solid #333;
    margin-bottom: 30px;
    position: relative;
}

.event-item:first-child {
    padding-left: 0;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 50px;
    padding-top: 12px;
    margin-right: 15px;
}

.event-month {
    font-size: 11px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.event-day {
    font-size: 36px;
    font-weight: 700;
    color: #005a8c;
    line-height: 1;
    margin-top: 4px;
}

.event-details {
    flex: 1;
    padding-top: 8px;
}

.event-category {
    font-size: 10px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.event-title {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    line-height: 1.3;
    margin: 0 0 5px 0;
}

.event-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-title a:hover {
    color: #005a8c;
}

.event-date-range {
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

.no-events {
    font-size: 16px;
    color: #666;
    padding: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .events-wrapper {
        flex-direction: column;
    }

    .events-container {
        flex-direction: column;
    }

    .event-item {
        max-width: 100%;
        padding: 0;
        margin-bottom: 25px;
    }

    .event-title {
        font-size: 15px;
    }

    .view-all-container {
        margin-bottom: 20px;
    }
}
