/* WP grid. Status colors reproduce the legacy page:
   gray = closed issue; black = issue still active. */
.wp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 12px;
    width: 100%;
    margin: 20px 0 28px;
}

.wp-grid .wp-button {
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-width: 0;
    min-height: 45px;
    padding: 8px 12px !important;
    background: #fff !important;
    text-align: center;
    text-decoration: none !important;
    line-height: 1.2;
}

/* Закрытые */
.wp-grid .wp-button.wp-closed {
    color: #b1b8c7 !important;
    border: 3px solid #b1b8c7 !important;
}

/* Действующие */
.wp-grid .wp-button.wp-active {
    color: #000 !important;
    border: 3px solid #000 !important;
}

.wp-grid .wp-button:hover {
    opacity: .72;
}

@media (max-width: 900px) {
    .wp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .wp-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
