.school-rule-links {
    display: flex;
    width: 100%;
    gap: 10px;
    margin: 25px 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

.school-rule-links li {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.school-rule-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 60px;
    padding: 12px 10px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    color: #555;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.school-rule-links a:hover,
.school-rule-links a:focus-visible {
    background: #9abb4e;
    border-color: #9abb4e;
    color: #fff;
}

@media (max-width: 480px) {
    .school-rule-links a {
        min-height: 50px;
        font-size: 14px;
    }
}