/* Philology kind pages (/library/philology/<kind>/) and the kind headings on /library/.
   Own file, linked only from philology_kind.html and library_index.html, so the always-loaded
   style.css and its cache buster stay untouched (FX-696 part A, imp-takase takase-s1043). */

/* /library/: one linked heading per kind, its paragraph beneath. */
.library-category--philology-hub .philology-kind {
    margin-bottom: 1.25rem;
}
.library-category--philology-hub .philology-kind-heading {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0 0 0.2rem;
}
.library-category--philology-hub .philology-kind-heading a {
    color: var(--color-link);
    text-decoration: none;
}
.library-category--philology-hub .philology-kind-heading a:hover {
    text-decoration: underline;
}
.philology-kind-count {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-muted);
    white-space: nowrap;
}
.library-category--philology-hub .philology-kind-blurb {
    margin: 0;
    line-height: 1.6;
    color: #444;
}

/* The kind page: a two-column title list at desktop width, one column at 700px and below. */
.philology-kind-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.2em;
}
.philology-kind-item {
    display: flex;
    flex-direction: column;
    gap: 0.1em;
    padding: 0.55em 0;
    border-bottom: 1px solid var(--color-border);
}
.philology-kind-item-ja {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
}
.philology-kind-item-title {
    color: var(--color-link);
    text-decoration: none;
    font-weight: 700;
}
.philology-kind-item-title:hover {
    text-decoration: underline;
}
@media (max-width: 700px) {
    .philology-kind-list {
        grid-template-columns: 1fr;
    }
}
