* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.semester-five-page {
    min-height: 100vh;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
}

.semester-five-page header {
    margin-bottom: 3rem;
    padding-top: 2rem;
    text-align: center;
}

.semester-five-page h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 600;
}

.card-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.card-grid ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
}

.card-grid a {
    display: block;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #2c3e50;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
}

.card-grid a:hover {
    background: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .semester-five-page {
        padding: 3rem 2rem;
    }

    .semester-five-page h1 {
        font-size: 3rem;
    }

    .card-grid ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.25rem;
    }

    .card-grid li {
        flex: 1 1 250px;
        max-width: 280px;
    }
}
