/* 1. Reset padding for all column types to make boxes wider */
.col-lg-3, .col-md-4, .col-sm-12, .col-xs-12, .tight-gutter {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

/* 2. Standardize the row to pull boxes to the edges */
.row {
    margin-left: -5px;
    margin-right: -5px;
    clear: both;
}

/* 3. The main Box Styling - Your hard work preserved here */
.subject-button-box h3 {
    padding: 10px 5px;
    padding-left: 15px; /* Slight increase for better text breathing room on the left */
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #ffffff;
    margin: 8px 0; /* Vertical gap only */
    transition: 0.3s;
    font-size: 17px;
    width: 100%;
    height: 75px;
    display: flex;
    align-items: center;      /* vertical centering */
    justify-content: flex-start; /* left align text */
    text-align: left;
    line-height: 1.2;
}

.subject-button-box h3:hover {
    background-color: #f8f9fa;
    border-color: #999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
}