.page-category {
    background: url('../../../template-parts/modules/module-search/assets/module-search-background.webp') no-repeat center center;
}

.page-category__search {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.page-category__search-wrap {
    position: relative;
}


.page-category .module-search__bar:hover::after {
    opacity: 0;
    animation-play-state: paused;
}

.page-category .module-search__bar.is-searching::after {
    opacity: 1;
    animation-play-state: running;
}

.page-category .module-search__bar.is-searching {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.14);
}

.page-category__posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transition: opacity 200ms ease;
}

.page-category__posts.is-loading {
    opacity: 0.35;
    pointer-events: none;
}

.page-category__no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    font-size: var(--font-size-base);
    opacity: 0.55;
}

@media (max-width: 1024px) {
    .page-category__posts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .page-category__posts {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
