/* ============================================================
   Catalogue — game-like library browsing
   Layers on top of card.css, reusing .card, .suggestions, etc.
   ============================================================ */

/* --- Narrative text: serif for richer reading feel --- */

.catalogue .normal {
    font-family: "Libre Baskerville", serif;
    font-size: 1em;
    line-height: 1.6;
    padding: 14px 14px 10px;
}

.catalogue .normal::first-line {
    font-variant: small-caps;
    letter-spacing: 0.04em;
}

/* --- Navigation suggestions: icon + pill links --- */

.catalogue .suggestions.nav::before {
    background-image: url('icons/dungeon-solid.svg');
}

.catalogue .suggestions.nav a,
.catalogue .suggestions.nav x-instruction {
    border: 2px solid var(--white-smoke);
    border-radius: 7px;
    padding: 6px 7px 6px 6px;
    flex-grow: 1;
    text-align: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    font-weight: 700;
}

.catalogue .suggestions.nav a:hover,
.catalogue .suggestions.nav x-instruction:hover {
    text-decoration: none;
    background-color: var(--white-smoke);
    color: var(--eerie-black);
}

/* --- Search form --- */

/* --- Scene card: push below sticky bar --- */

.catalogue .scene-card {
    margin-top: calc(38px + var(--border-size) + var(--padding));
}

.catalogue .window.grid + .scene-card,
.catalogue .window.grid + .window.buffer .card:first-child {
    margin-top: calc(56px + var(--border-size) + var(--padding));
}
