.omal-project-filter {
    width: 100%;
}

.omal-filter-controls {
    margin-bottom: 32px;
}

.omal-category-select {
    display: inline-block;
    padding: 10px 36px 10px 14px;
    font-size: 15px;
    line-height: 1.4;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    min-width: 240px;
    transition: border-color 0.2s;
}

.omal-category-select:focus {
    outline: none;
    border-color: #0073aa;
}

.omal-projects-results {
    transition: opacity 0.25s ease;
}

.omal-projects-results.omal-loading {
    opacity: 0.4;
    pointer-events: none;
}

.omal-projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.omal-project-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.omal-project-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 12px;
}

.omal-project-card__image--placeholder {
    background-color: #e8e8e8;
}

.omal-project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.omal-project-card__link:hover .omal-project-card__image img {
    transform: scale(1.04);
}

.omal-project-card__title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    color: #222;
    transition: color 0.2s;
}

.omal-project-card__link:hover .omal-project-card__title {
    color: #0073aa;
}

.omal-no-results {
    font-size: 16px;
    color: #666;
    padding: 24px 0;
}

.omal-pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.omal-pagination__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    color: #333;
}

.omal-pagination__btn:hover {
    background: #f4f4f4;
    border-color: #999;
}

.omal-pagination__num--active {
    background: #222;
    color: #fff;
    border-color: #222;
    cursor: default;
}

.omal-pagination__num--active:hover {
    background: #222;
    border-color: #222;
    color: #fff;
}

@media (max-width: 980px) {
    .omal-projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .omal-projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .omal-category-select {
        width: 100%;
        min-width: unset;
    }
}
