.cew-post-list {
    --cew-post-accent: #af8c38;
    --cew-post-text: #414042;
    --cew-post-muted: #777;
}

.cew-post-list__items {
    border-top: 1px solid var(--cew-post-accent);
}

.cew-post-list__item {
    border-bottom: 1px solid var(--cew-post-accent);
    padding: 34px 0 38px;
}

.cew-post-list__title {
    color: var(--cew-post-text);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
}

.cew-post-list__title a {
    color: inherit;
    text-decoration: none;
}

.cew-post-list__title a:hover,
.cew-post-list__title a:focus-visible {
    color: var(--cew-post-accent);
}

.cew-post-list__date {
    color: var(--cew-post-muted);
    font-size: 25px;
    line-height: 1.4;
    margin: 10px 0 0;
}

.cew-post-list__pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 38px 0 0;
}

.cew-post-list__pagination .page-numbers {
    appearance: none;
    align-items: center;
    background: transparent;
    border: 1px solid var(--cew-post-accent);
    border-radius: 999px;
    box-sizing: border-box;
    color: #111;
    display: inline-flex;
    font-size: 25px;
    height: 56px;
    justify-content: center;
    line-height: 1;
    min-width: 56px;
    padding: 0 20px;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.cew-post-list__pagination .page-numbers:disabled {
    cursor: default;
}

.cew-post-list__pagination .page-numbers.current,
.cew-post-list__pagination .page-numbers:hover,
.cew-post-list__pagination .page-numbers:focus-visible {
    background: var(--cew-post-accent);
    border-color: var(--cew-post-accent);
    color: #fff;
}

.cew-post-list__empty {
    margin: 0;
}

@media (max-width: 767px) {
    .cew-post-list__item {
        padding: 25px 0;
    }

    .cew-post-list__title {
        font-size: 24px;
    }

    .cew-post-list__date {
        font-size: 20px;
    }

    .cew-post-list__pagination {
        margin-top: 28px;
    }
}
