.cmms-projects-page {
    min-height: 100vh;
    padding: 30px 22px;
    background: linear-gradient(180deg, #f6f8fb 0%, #edf2f8 100%);
    font-family: 'Lato', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmms-projects-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.cmms-projects-heading {
    margin: 0 0 20px;
    padding: 2px 0;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #0f2749;
}

.cmms-projects-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 280px));
    gap: 16px;
    justify-content: center;
}

.cmms-project-card-link {
    text-decoration: none;
    color: inherit;
}

.cmms-project-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d8e0ea;
    border-radius: 2px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cmms-project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(13, 33, 61, 0.14);
}

.cmms-project-image-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #dae4ee;
}

.cmms-project-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cmms-project-card h3 {
    margin: 0;
    padding: 10px 12px 12px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
    color: #11233f;
}

.cmms-project-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px;
    color: #304765;
    background: #ffffff;
    border: 1px dashed #c8d2de;
}

@media (max-width: 992px) {
    .cmms-projects-grid {
        grid-template-columns: repeat(2, minmax(0, 280px));
    }
}

@media (max-width: 576px) {
    .cmms-projects-page {
        padding: 22px 12px;
    }

    .cmms-projects-heading {
        font-size: 1.2rem;
    }

    .cmms-projects-grid {
        grid-template-columns: 1fr;
    }
}
