/* MVA Year Page Styles */
.note { color: #64748b; font-size: 0.85em; }
h2 { color: #2c5aa0; border-bottom: 1px solid #ddd; padding-bottom: 0.3em; }

.year-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1em;
    margin: 1.5em 0;
}
.year-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1em;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.year-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.year-card a {
    font-weight: 600;
    color: #1e3a5f;
    text-decoration: none;
    display: block;
}
.year-card a:hover {
    color: #3b82f6;
}

.topic-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin: 1em 0;
}
.topic-pill {
    background: #e8f4fd;
    color: #1e3a5f;
    padding: 0.4em 0.9em;
    border-radius: 20px;
    font-size: 0.9em;
    transition: transform 0.2s;
}
.topic-pill:hover {
    transform: scale(1.03);
}

.info-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5em;
    margin: 1.5em 0;
}

.lecture-grid {
    display: grid;
    gap: 1em;
    margin: 1.5em 0;
}
.lecture-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.2em 1.5em;
    transition: transform 0.2s, box-shadow 0.2s;
}
.lecture-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.lecture-card h3 {
    margin: 0 0 0.5em 0;
    color: #1e3a5f;
    font-size: 1.05em;
}
.lecture-card h3 a {
    color: #1e3a5f;
    text-decoration: none;
}
.lecture-card h3 a:hover {
    color: #2d5a8b;
}
.lecture-badge {
    display: inline-block;
    background: #1e3a5f;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    margin-right: 0.5em;
}
.lecture-badge.td {
    background: #059669;
}
.lecture-card ul {
    margin: 0;
    padding-left: 1.2em;
    color: #475569;
    font-size: 0.92em;
}
.lecture-card li {
    margin-bottom: 0.2em;
}
.deadline-card {
    background: #fef3c7;
    border: 1px solid #fcd34d;
}
.news-box {
    background: #f0fdf4;
    border-radius: 8px;
    padding: 1em 1.5em;
    margin: 1em 0;
}
.news-box li {
    margin-bottom: 0.5em;
}

@media (max-width: 768px) {
    .year-grid { grid-template-columns: repeat(2, 1fr); }
    .lecture-card { padding: 1em; }
    .info-box { padding: 1em; }
}
