/* Book List 2026 — page-specific styles. */

.bl-lead {
    max-width: 78ch;
    margin-bottom: 1.8rem;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.75;
}

.bl-print-title { display: none; }

.bl-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .9rem 1rem;
    margin: 0 0 1.5rem;
}

.bl-search {
    position: relative;
    display: flex;
    flex: 1 1 280px;
    align-items: center;
}

.bl-search i {
    position: absolute;
    left: 14px;
    color: var(--muted);
    pointer-events: none;
}

.bl-search input {
    width: 100%;
    padding: .7rem .95rem .7rem 2.5rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    color: var(--ink);
    font: inherit;
    font-size: .92rem;
}

.bl-search input:focus {
    outline: 2px solid rgba(245, 184, 61, .45);
    outline-offset: 2px;
    border-color: var(--gold);
}

.bl-meta {
    color: var(--muted);
    font-size: .8rem;
}

.bl-print {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .95rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    color: var(--ink);
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
}

.bl-print:hover {
    border-color: var(--gold);
    background: rgba(245, 184, 61, .12);
}

.bl-jumps {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0 0 2rem;
}

.bl-jumps a {
    display: inline-block;
    padding: .3rem .72rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .18s;
}

.bl-jumps a:hover,
.bl-jumps a:focus {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
}

.bl-stage { margin-top: 2.4rem; scroll-margin-top: 96px; }
.bl-stage:first-of-type { margin-top: 0; }

.bl-stage__head {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1rem;
    padding-bottom: .8rem;
    border-bottom: 2px solid var(--gold);
}

.bl-stage__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: var(--gold);
    font-size: 1.05rem;
    box-shadow: 0 8px 20px rgba(11, 31, 58, .18);
}

.bl-stage__head h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.2rem;
    line-height: 1.25;
}

.bl-stage__head p {
    margin: .15rem 0 0;
    color: var(--muted);
    font-size: .82rem;
}

.bl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.bl-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding: 1.15rem 1.2rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--card);
    box-shadow: 0 8px 22px rgba(11, 31, 58, .05);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.bl-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.2rem;
    width: 40px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--gold);
}

.bl-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 184, 61, .55);
    box-shadow: 0 16px 34px rgba(11, 31, 58, .1);
}

.bl-card__name {
    margin: .2rem 0 0;
    color: var(--ink);
    font-size: 1.02rem;
    font-weight: 800;
}

.bl-card__note {
    margin: 0;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.5;
}

.bl-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    margin-top: auto;
    padding: .55rem .85rem;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
}

.bl-card__btn:hover {
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
}

.bl-card__soon {
    display: inline-block;
    margin-top: auto;
    padding: .55rem .85rem;
    border: 1px dashed var(--line);
    border-radius: 10px;
    background: var(--bg);
    color: var(--muted);
    font-size: .8rem;
    font-weight: 700;
    text-align: center;
}

.bl-card[hidden],
.bl-stage[hidden] { display: none !important; }

.bl-no-results {
    display: none;
    margin: 1.4rem 0;
    padding: 1rem 1.2rem;
    border: 1px dashed var(--line);
    border-radius: 14px;
    color: var(--muted);
    text-align: center;
}

.bl-no-results.is-visible { display: block; }

.bl-note {
    margin-top: 2.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .86rem;
}

.bl-note i {
    margin-right: .35rem;
    color: var(--gold);
}

[data-theme="dark"] .bl-card { box-shadow: none; }
[data-theme="dark"] .bl-card__btn { background: var(--gold); color: var(--navy); }
[data-theme="dark"] .bl-card__btn:hover { background: #ffd77a; }

@media (max-width: 575.98px) {
    .bl-grid { grid-template-columns: 1fr; }
    .bl-print { width: 100%; justify-content: center; }
}

@media print {
    .h-topbar,
    .h-header,
    .site-nav,
    .notice-bar,
    .page-banner,
    .side-card,
    .site-footer,
    .fab-stack,
    .bl-toolbar,
    .bl-jumps,
    .bl-note { display: none !important; }

    .content-wrap { padding: 0 !important; }
    .article {
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
    }
    .bl-print-title {
        display: block;
        margin: 0 0 1rem;
        color: #000;
        font-size: 1.4rem;
    }
    .bl-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .bl-card { break-inside: avoid; box-shadow: none; }
    .bl-card__btn {
        border: 1px solid #ccc;
        background: transparent;
        color: #000;
    }
}
