body.references .references-text ul {
    margin-top: 10px;
    list-style: none;
    padding-left: 0;
}

/* =========================================================
   References
========================================================= */

.ref-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.2rem;
}

.ref-card {
    display: flex;
    gap: 1rem;

    padding: 1.2rem;

    border-radius: 18px;

    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.06);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.03);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.ref-card:hover {
    transform: translateY(-2px);

    border-color: rgba(96,165,250,0.28);

    box-shadow:
        0 18px 42px rgba(0,0,0,0.34),
        0 0 0 1px rgba(96,165,250,0.10);
}

.ref-cover-wrap {
    flex: 0 0 88px;
}

.ref-cover {
    width: 88px;
    height: 128px;

    object-fit: cover;

    border-radius: 10px;

    box-shadow:
        0 10px 24px rgba(0,0,0,0.35);
}

.ref-body {
    min-width: 0;
}

.ref-title {
    display: block;

    font-size: 1.15rem;
    line-height: 1.3;
    font-weight: 700;

    color: #f8fafc;

    text-decoration: none;
}

.ref-title:hover {
    color: #93c5fd;
}

.ref-meta {
    margin-top: 0.35rem;

    font-size: 0.95rem;
    color: rgba(255,255,255,0.72);
}

.ref-note {
    margin-top: 0.75rem;

    font-size: 0.95rem;
    line-height: 1.55;

    color: rgba(255,255,255,0.88);
}

.ref-link {
    margin-top: 0.9rem;
}

.ref-link a {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 500;
}

.ref-link a:hover {
    color: #dbeafe;
    text-decoration: underline;
}