.button-group {
    display: flex;
    flex-wrap: wrap;            /* ✅ allows wrap */
    max-width: 60%;
    /* width: 100%; */
    justify-content: flex-start; /* Aligns buttons to the left */
    gap: 10px; /* Adds spacing between buttons */
    box-sizing: border-box;
    align-items: flex-start;
}


a.butto2 {
    flex: 0 0 auto; /* calc(20% - 10px);  /* 4 per row on desktop */
    white-space: nowrap;        /* keep label on one line */
    /* max-width: 20%; */
    /* display: inline-block; */
    padding: 10px 20px;
    background: white;
    color: gray;
    border: 1px solid;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
}

/* Hover effect */
a.butto2:hover {
    color: black;
    border: 1px solid;
}




/* ===== MOBILE RULES ===== */

@media (max-width: 700px) {
    .button-group {
        max-width: 80%;      /* full width on mobile */
        flex-direction: column;
    }

    a.butto2 {
        width: 100%;          /* stacked buttons */
    }
}