/* ---------------------------------------------------------------------------
 * Obarun news, the rules specific to this site.
 *
 * The shared adapter covers what every Obarun Material site has in common. What
 * lives here is what the blog plugin brings and the adapter does not know
 * about: post excerpts, their action link, and pagination.
 *
 * Colours come from obarun-tokens.css only.
 * ------------------------------------------------------------------------- */

/* An excerpt is a card, on the home page, the archives and the categories. */
.md-post--excerpt {
    background-color: var(--ob-ink-700);
    border: 1px solid var(--ob-line);
    border-radius: var(--ob-radius);
    margin-bottom: 1.6rem;
    padding: 1rem 1.2rem 1.2rem;
    transition: border-color 0.18s;
}

.md-post--excerpt:hover {
    border-color: var(--ob-line-strong);
}

/* The excerpt title is an h2; inside a card it needs no rule above or below. */
.md-post--excerpt .md-post__content > h2 {
    border-bottom: none;
    margin-top: 0;
    padding-bottom: 0;
}

.md-post__action a {
    font-weight: 600;
}

/* The current page number, the adapter maps Material's default to a border
 * tint that all but disappears on the dark ground. */
.md-pagination__current {
    background-color: var(--ob-ink-600);
    color: var(--ob-text);
}
