/* «Что нового» (centre_releases). Tokens: theme.css (--cx-*). */

/* `.cr` too: the base `ol[class] { padding: 0 }` outranks a single class and took the room above the cards, so the dots hung above the line. */
.cr .cr__list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
    margin: 2rem 0 0;
    padding: 1.6rem 0 0;
    list-style: none;
}

.cr__list::before {
    content: '';
    position: absolute;
    top: 0.45rem;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cx-accent), var(--cx-violet), transparent);
    opacity: 0.4;
}

.cr__item {
    position: relative;
    padding: 1.3rem 1.3rem 1.4rem;
    border: 1px solid var(--cx-line);
    border-radius: var(--cx-r);
    background: var(--cx-surface);
}

.cr__item::before {
    content: '';
    position: absolute;
    top: -1.55rem;
    left: 1.3rem;
    width: 0.9rem;
    height: 0.9rem;
    border: 3px solid var(--cx-bg);
    border-radius: 50%;
    background: var(--cx-ink-3);
}

.cr__item--latest::before {
    background: var(--cx-accent);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--cx-accent) 20%, transparent);
}

.cr__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.6rem;
    margin: 0;
    font-size: 0.8rem;
}

.cr__version {
    font-family: var(--cx-display);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--cx-ink);
}

.cr__date {
    color: var(--cx-ink-3);
}

.cr__tag {
    margin-left: auto;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--cx-accent) 10%, #fff);
    color: var(--cx-accent);
    font-weight: 700;
}

.cr__title {
    margin: 0.75rem 0 0;
    font-family: var(--cx-display);
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.cr__title a {
    color: var(--cx-ink);
    text-decoration: none;
}

.cr__title a:hover {
    color: var(--cx-accent);
}

.cr__points {
    display: grid;
    gap: 0.35rem;
    margin: 0.7rem 0 0;
    padding: 0 0 0 1.1rem;
    color: var(--cx-ink-2);
    font-size: 0.9rem;
    line-height: 1.45;
}

.cr__points li::marker {
    color: var(--cx-accent);
}

.cr__more {
    margin: 1.5rem 0 0;
}
