/* Styles for `diplomas.html`, loaded after `app.css` so the shared tokens and
 * components are already in scope. Rules written the same way in three or
 * more pages belong in `app.css` instead: `tests/test_shared_styles.py`
 * fails when one is copied that far.
 */
.page-header {
    text-align: center;
    padding: 32px 24px 20px;
}
.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #d4a54a;
    margin: 0 0 8px;
}
.page-header p { color: #9aa2af; margin: 0; }.tab-link.active { color: #d4a54a; border-bottom-color: #d4a54a; }

.diplomas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
    padding: 0 24px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.diploma-card {
    background: #12151b;
    border: 1px solid #252a35;
    border-radius: 2px;
    padding: 16px;
    transition: border-color .15s, background .15s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.diploma-card:hover {
    background: #181c24;
    border-color: #d4a54a;
}
.diploma-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #d6d9e0;
    margin: 0 0 4px;
}
.diploma-card-subtitle {
    font-size: .82rem;
    color: #9aa2af;
    margin: 0 0 10px;
}
.diploma-card-desc {
    font-size: .82rem;
    color: #aeb5c1;
    margin: 0 0 12px;
    line-height: 1.5;
}
.diploma-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
    color: #6b7280;
}
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: .72rem;
    font-weight: 600;
    border: 1px solid #252a35;
}body.light-mode .page-header h1 { color: #4338ca; }
body.light-mode .page-header p { color: #6b7280; }body.light-mode .tab-link.active { color: #4338ca; border-bottom-color: #4338ca; }
body.light-mode .diploma-card {
    background: #ffffff;
    border-color: #d7dce6;
}
body.light-mode .diploma-card:hover {
    background: #f8faff;
    border-color: #4338ca;
}
body.light-mode .diploma-card-title { color: #1f2937; }
body.light-mode .diploma-card-subtitle { color: #6b7280; }
body.light-mode .diploma-card-desc { color: #374151; }
body.light-mode .diploma-card-footer { color: #6b7280; }
body.light-mode .badge { border-color: #d7dce6; }
