/* Zajednički stilovi aplikacije i postojeća tamna književna tema. */
:root
{
    --bg: #0f0f0f;
    --gold: #d4af37;
    --text: #f5f5f5;
    --card: #1a1a1a;
}

body
{
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, sans-serif;
    margin: 0;
    line-height: 1.5;
}

.container
{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header
{
    background: #111;
    padding: 1rem 0;
    border-bottom: 1px solid #222;
}

.header .container
{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo
{
    color: var(--gold);
    font-weight: bold;
    text-decoration: none;
    font-size: 1.5rem;
}

.nav a
{
    color: #ccc;
    margin: 0 1rem;
    text-decoration: none;
}

.btn-gold
{
    background: var(--gold);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.hero
{
    padding: 3rem 0;
}

.hero-content
{
    display: flex;
    gap: 3rem;
    align-items: center;
}

.hero-book img
{
    max-width: 280px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
}

.eyebrow
{
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.section
{
    padding: 2rem 0;
}

.section-header
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.books-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
}

.book-card
{
    background: var(--card);
    border-radius: 8px;
    padding: 0.75rem;
}

.book-card img
{
    width: 100%;
    border-radius: 4px;
    aspect-ratio: 2/3;
    object-fit: cover;
}

.profile-header
{
    padding: 2rem 0;
    border-bottom: 1px solid #222;
}

.profile-top
{
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.avatar
{
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
}

.profile-actions
{
    margin-left: auto;
    display: flex;
    gap: 1rem;
}

.stats
{
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat
{
    text-align: center;
}

.stat strong
{
    display: block;
    font-size: 1.5rem;
    color: var(--gold);
}

.profile-tabs
{
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid #222;
}

.profile-tabs a
{
    padding: 1rem 0;
    text-decoration: none;
    color: #ccc;
}

.profile-tabs a.active
{
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
}

.toolbar
{
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    align-items: center;
}

.badge
{
    background: #333;
    color: var(--gold);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.footer
{
    background: #111;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    border-top: 1px solid #222;
}

.footer-columns
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-col h3
{
    color: var(--gold);
}

.footer-col a
{
    display: block;
    color: #aaa;
    text-decoration: none;
    margin: 0.4rem 0;
}

.footer-bottom
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #222;
}

.form label
{
    display: block;
    margin: 1rem 0 0.3rem;
}

.form input, .form select
{
    width: 100%;
    max-width: 400px;
    padding: 0.5rem;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    border-radius: 4px;
}

.success
{
    color: #4caf50;
}

.activity-item
{
    padding: 0.75rem 0;
    border-bottom: 1px solid #222;
}

.list-card
{
    background: var(--card);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Prijava, registracija i ujednaceni linkovi u zaglavlju */
*
{
    box-sizing: border-box;
}

.header .container
{
    gap: 1rem;
    flex-wrap: wrap;
}

.header .nav
{
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.header .nav a
{
    margin: 0;
}

.header .search-form
{
    display: flex;
    gap: .5rem;
}

.header .search-form input
{
    min-width: 0;
    max-width: 220px;
    padding: .5rem;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    border-radius: 6px;
}

.header .auth
{
    display: flex;
    align-items: center;
    gap: .65rem;
}

.header .auth-link
{
    display: inline-flex;
    align-items: center;
    padding: .5rem .75rem;
    color: var(--text);
    border: 1px solid #444;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
}

.header .auth-link:hover, .header .auth-link:focus-visible
{
    border-color: var(--gold);
    color: var(--gold);
}

.auth-page
{
    padding: 3rem 0;
}

.auth-card
{
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--card);
    border: 1px solid #353535;
    border-radius: 12px;
}

.auth-card h1
{
    margin: 0 0 .3rem;
}

.auth-intro
{
    margin: 0 0 1.25rem;
    color: #c0c0c0;
}

.auth-form input
{
    display: block;
    max-width: none;
    width: 100%;
    min-height: 43px;
}

.auth-form label
{
    font-weight: 600;
}

.auth-form .auth-submit
{
    width: 100%;
    margin-top: 1.5rem;
    font: inherit;
    font-weight: 600;
}

.auth-switch
{
    text-align: center;
    margin: 1.3rem 0 0;
}

.auth-switch a
{
    color: var(--gold);
}

.error
{
    color: #ffadad;
    background: #492525;
    padding: .75rem 1rem;
    border-radius: 6px;
}

.success
{
    background: #183624;
    padding: .75rem 1rem;
    border-radius: 6px;
}

@media (max-width: 768px)
{
    .header .container
    {
        align-items: flex-start;
        flex-direction: column;
    }

    .header .search-form
    {
        width: 100%;
    }

    .header .search-form input
    {
        flex: 1;
        max-width: none;
    }

    .auth-card
    {
        padding: 1.3rem;
    }
}

.header .logout-form
{
    margin: 0;
}

.header .logout-form button
{
    background: transparent;
    font: inherit;
    cursor: pointer;
}

/* -------------------------------------------------------------------------------------------------
 * Biblio 2.0 – usvojena tamna književna tema (korak 2)
 * Namjerno ostavljamo postojeće klase za profil i forme, dok ih ne uredimo u narednim koracima.
 * ------------------------------------------------------------------------------------------------- */
:root
{
    --bg: #11100f;
    --card: #24211e;
    --text: #f4eade;
    --gold: #e9b96f;
    --gold-muted: #b9915f;
    --border: #494139;
    --muted: #c3b9af;
    --heading-font: Georgia, 'Times New Roman', serif;
}

*
{
    box-sizing: border-box;
}

html
{
    scroll-behavior: smooth;
}

body
{
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.5;
}

a
{
    color: inherit;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible
{
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.container
{
    max-width: 1440px;
    padding-left: 32px;
    padding-right: 32px;
}

.sr-only
{
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

.skip-link
{
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    background: var(--gold);
    color: #111;
    padding: 8px 14px;
}

.skip-link:focus
{
    top: 6px;
}

/* Header i navigacija */
.header.biblio-header
{
    padding: 0;
    background: #12100f;
    border-bottom: 1px solid #493c2e;
    position: relative;
    z-index: 20;
}

.biblio-header .header-inner
{
    display: flex;
    align-items: center;
    min-height: 74px;
    gap: clamp(12px, 1.65vw, 28px);
}

.biblio-logo
{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: none;
    color: #f3c88f;
    font: bold clamp(27px, 2.4vw, 34px) var(--heading-font);
    letter-spacing: -.035em;
}

.biblio-logo span
{
    display: inline-grid;
    place-items: center;
    border: 1.5px solid var(--gold);
    width: 34px;
    height: 31px;
    font: 22px var(--heading-font);
    border-radius: 2px 12px 2px 12px;
    transform: rotate(-7deg);
}

.biblio-header .nav
{
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(9px, 1.2vw, 22px);
    white-space: nowrap;
}

.biblio-header .nav a
{
    color: #eee4d8;
    margin: 0;
    padding: 26px 0 22px;
    font-size: .9rem;
    font-weight: 550;
    border-bottom: 2px solid transparent;
}

.biblio-header .nav a:hover, .biblio-header .nav a[aria-current="page"]
{
    color: #f2c381;
    border-bottom-color: var(--gold);
}

.biblio-header .search-form
{
    margin-left: auto;
    display: flex;
    flex: 1 1 200px;
    min-width: 125px;
    max-width: 285px;
    border: 1px solid #63564b;
    border-radius: 11px;
    background: #211d1a;
    gap: 0;
}

.biblio-header .search-form input
{
    order: 2;
    background: transparent;
    border: 0;
    color: var(--text);
    width: 100%;
    max-width: none;
    padding: 10px 6px;
    font-size: .82rem;
    min-width: 0;
}

.biblio-header .search-form button
{
    order: 1;
    background: transparent;
    border: 0;
    color: var(--gold);
    padding: 7px 7px 7px 12px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.biblio-header .auth
{
    display: flex;
    flex: none;
    gap: 8px;
    align-items: center;
}

.biblio-header .auth-link
{
    border: 1px solid transparent;
    padding: 10px 11px;
    text-decoration: none;
    background: transparent;
    color: #f3e8da;
    font-size: .86rem;
    border-radius: 9px;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.biblio-header .auth-link:hover
{
    color: var(--gold);
    border-color: transparent;
}

.biblio-header .auth-register
{
    background: linear-gradient(145deg, #f8d292, #cb9550);
    border: 1px solid #d9ad6b;
    color: #211309;
    font-weight: 700;
}

.biblio-header .auth-register:hover
{
    background: #f5d6a0;
    color: #211309;
    border-color: #f4c680;
}

.biblio-header .logout-form
{
    margin: 0;
}

.biblio-header .logout-form button
{
    background: linear-gradient(145deg, #f8d292, #cb9550);
    color: #211309;
}

.nav-toggle
{
    display: none;
    flex: none;
    background: none;
    border: 1px solid #574839;
    border-radius: 7px;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle span
{
    display: block;
    width: 21px;
    height: 2px;
    background: var(--gold);
    margin: 4px 0;
}

/* Hero i osnovni elementi */
.biblio-hero
{
    background: radial-gradient(circle at 78% 35%, #4b2a17 0%, #1b1511 49%, #100f0e 86%);
    border-bottom: 1px solid #3a3129;
    overflow: hidden;
}

.biblio-hero-inner
{
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 330px;
    align-items: center;
}

.biblio-hero-copy
{
    position: relative;
    z-index: 2;
    padding: 39px 0 45px;
}

.biblio-eyebrow
{
    display: inline-block;
    color: #dbad6d;
    letter-spacing: .11em;
    text-transform: uppercase;
    font-size: .7rem;
    font-weight: 700;
    margin-bottom: 13px;
}

.biblio-hero h1
{
    margin: 0 0 15px;
    font: bold clamp(36px, 3.5vw, 57px)/1.08 var(--heading-font);
    color: #f8d9ad;
    letter-spacing: -.025em;
}

.biblio-hero h1:after
{
    content: '';
    display: block;
    width: 56px;
    height: 2px;
    background: var(--gold);
    margin-top: 16px;
}

.biblio-hero p
{
    max-width: 465px;
    margin: 0;
    color: #f0e6d8;
    font-family: Georgia,serif;
    font-size: clamp(14px, 1.25vw, 17px);
    line-height: 1.5;
}

.hero-buttons
{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.btn-gold, .btn-outline
{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    border-radius: 8px;
    padding: 10px 19px;
    font-weight: 650;
    transition: transform .2s, background-color .2s, border-color .2s;
    font-family: inherit;
}

.btn-gold
{
    background: linear-gradient(150deg, #ffda9b, #c89451);
    color: #20150d;
    border: 1px solid #d9ad6b;
}

.btn-gold:hover, .btn-outline:hover
{
    transform: translateY(-1px);
}

.btn-outline
{
    border: 1px solid #ae9578;
    background: #191614cc;
    color: #f5e1c7;
}

.btn-outline:hover
{
    border-color: var(--gold);
}

.biblio-hero-visual
{
    background: linear-gradient(90deg, #1b1511 0%, transparent 32%), url('../images/design/hero-biblioteka.webp') center center/cover no-repeat;
    height: 330px;
    align-self: stretch;
}

/* Kartice i sekcije */
.home-section.section
{
    padding: 17px 0 8px;
}

.biblio-section-heading
{
    gap: 16px;
    margin-bottom: 14px;
}

.biblio-section-heading h2
{
    font: bold clamp(23px, 2vw, 29px)/1.25 var(--heading-font);
    color: #f4d8b0;
    margin: 0;
    display: flex;
    gap: 15px;
    align-items: center;
}

.biblio-section-heading h2:after
{
    content: '';
    width: 36px;
    height: 2px;
    background: var(--gold);
    display: inline-block;
}

.biblio-section-heading > a
{
    color: #eac18a;
    font: .94rem var(--heading-font);
    white-space: nowrap;
    text-decoration: none;
}

.biblio-section-heading > a:hover
{
    text-decoration: underline;
}

.home-books-grid, .home-authors-grid, .home-genres-grid
{
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 13px;
}

.home-book-card, .home-author-card, .home-review-card
{
    min-width: 0;
    background: linear-gradient(135deg, #302b26, #201e1b);
    border: 1px solid #443d37;
    border-radius: 11px;
    box-shadow: 0 5px 18px #0003;
}

.home-book-card
{
    padding: 11px;
    display: flex;
    align-items: stretch;
    gap: 11px;
    min-height: 155px;
}

.home-cover
{
    width: 38%;
    flex: none;
    min-width: 0;
    min-height: 132px;
    display: block;
    background: #3c3025;
    border-radius: 5px;
    overflow: hidden;
}

.home-cover img
{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-fallback
{
    display: grid;
    place-items: center;
    height: 100%;
    font: bold 40px var(--heading-font);
    color: #d9b783;
}

.home-book-info
{
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.home-book-info h3
{
    font: bold clamp(14px, 1vw, 17px)/1.18 var(--heading-font);
    margin: 2px 0 5px;
}

.home-book-info h3 a
{
    text-decoration: none;
}

.home-book-info h3 a:hover
{
    color: #f2c788;
}

.home-book-info p
{
    margin: 0;
    font: 13px/1.4 var(--heading-font);
    color: #d5c7b7;
}

.home-rating
{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #eeb85d;
    margin: auto 0 8px;
}

.home-rating strong
{
    color: #fff0d8;
}

.home-rating small
{
    color: #cfc3b7;
    font-size: 11px;
}

.btn-book
{
    display: inline-block;
    border: 1px solid #be995e;
    border-radius: 6px;
    text-decoration: none;
    color: #f3cf9c;
    font: 12px var(--heading-font);
    padding: 6px 8px;
}

.btn-book:hover
{
    color: #13100e;
    background: var(--gold);
}

.home-author-card
{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    text-decoration: none;
    min-height: 79px;
}

.author-initial, .review-avatar
{
    display: grid;
    place-items: center;
    flex: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    background: linear-gradient(145deg, #8d6845, #382b23);
    border: 1px solid #a68460;
    color: #ffe3b5;
    font: bold 28px var(--heading-font);
}

.author-details
{
    flex: 1;
    min-width: 0;
}

.author-details strong
{
    display: block;
    font: bold 15px var(--heading-font);
}

.author-details small
{
    display: block;
    color: #c8b8a6;
}

.author-arrow
{
    color: var(--gold);
}

.home-author-card:hover, .home-book-card:hover, .home-review-card:hover
{
    border-color: #a88358;
}

.home-genre-card
{
    min-height: 100px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 8px;
    padding: 14px 15px;
    border: 1px solid #67503d;
    border-radius: 11px;
    text-decoration: none;
    background: linear-gradient(115deg, #43301f, #6e5031 50%, #171513);
}

.genre-2
{
    background: linear-gradient(115deg, #31261e, #644c36 60%, #1c1714);
}

.genre-3
{
    background: linear-gradient(115deg, #30251d, #65563e 60%, #171715);
}

.genre-4
{
    background: linear-gradient(115deg, #253638, #35515a 60%, #161a1b);
}

.genre-5
{
    background: linear-gradient(115deg, #262626, #4d4040 60%, #181818);
}

.genre-decoration
{
    position: absolute;
    right: 35px;
    top: -40px;
    font: 140px var(--heading-font);
    color: #ffffff0d;
    pointer-events: none;
}

.genre-details strong
{
    display: block;
    font: bold 19px var(--heading-font);
}

.genre-details small
{
    display: block;
    color: #e0d0b9;
}

.home-genre-card > span:last-child
{
    color: #e6c598;
    font-size: 22px;
}

.home-genre-card:hover
{
    border-color: var(--gold);
}

.home-reviews-grid
{
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 15px;
}

.home-review-card
{
    padding: 16px 18px;
    min-height: 157px;
}

.review-top
{
    display: flex;
    align-items: center;
    gap: 9px;
}

.review-avatar
{
    width: 37px;
    height: 37px;
    font-size: 17px;
}

.review-top > div
{
    flex: 1;
    min-width: 0;
}

.review-top strong
{
    display: block;
    font: bold 14px var(--heading-font);
}

.review-top small
{
    display: block;
    color: #cdbfb1;
    font-size: 11px;
}

.review-stars
{
    color: #eeb85d;
    letter-spacing: .035em;
    white-space: nowrap;
    font-size: 13px;
}

.review-book-title
{
    display: block;
    margin-top: 8px;
    color: #f4c891;
    font-weight: 650;
    text-decoration: none;
    font-size: 13px;
}

.home-review-card p
{
    margin: 6px 0 0;
    color: #e8dacf;
    font: 14px/1.5 var(--heading-font);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.empty-state
{
    background: #25201d;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--muted);
}

/* Footer */
.footer.biblio-footer
{
    background: linear-gradient(110deg,#231e1a,#171513);
    border-top: 1px solid #5b4631;
    padding: 30px 0 18px;
    margin-top: 34px;
}

.footer-content
{
    display: grid;
    grid-template-columns: minmax(230px,1fr) 2.2fr;
    gap: 40px;
}

.footer-brand
{
    border-right: 1px solid #604c37;
    padding-right: 28px;
}

.footer-brand p
{
    font: italic 15px/1.5 var(--heading-font);
    color: #e0d2c1;
    max-width: 230px;
}

.biblio-footer .footer-columns
{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.biblio-footer .footer-col h3
{
    margin: 4px 0 10px;
    font: bold 18px var(--heading-font);
    color: #ebbd81;
}

.biblio-footer .footer-col a
{
    color: #e3d8cd;
    margin: 5px 0;
    font-size: 13px;
}

.biblio-footer .footer-col a:hover
{
    color: var(--gold);
}

.biblio-footer .footer-bottom
{
    border-top: 1px solid #483b2e;
    margin-top: 24px;
    padding-top: 13px;
    color: #bba99a;
    display: flex;
    justify-content: space-between;
}

/* Mobilni i tablet prikaz */
@media (max-width: 1240px)
{
    .biblio-header .header-inner
    {
        flex-wrap: wrap;
        gap: 7px 18px;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .biblio-header .nav
    {
        order: 4;
        width: 100%;
        justify-content: center;
    }

    .biblio-header .nav a
    {
        padding: 8px 0;
    }

    .biblio-header .search-form
    {
        max-width: 310px;
    }

    .home-books-grid
    {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-authors-grid, .home-genres-grid
    {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 790px)
{
    .container
    {
        padding-left: 20px;
        padding-right: 20px;
    }

    .biblio-header .header-inner
    {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }

    .nav-toggle
    {
        display: inline-block;
        margin-left: auto;
    }

    .biblio-header .nav
    {
        display: none;
        order: 10;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }

    .biblio-header .nav.nav-open
    {
        display: flex;
    }

    .biblio-header .nav a
    {
        padding: 12px;
        border-bottom: 1px solid #42382c;
    }

    .biblio-header .search-form
    {
        order: 8;
        flex: 1 1 100%;
        max-width: none;
    }

    .biblio-header .auth
    {
        order: 7;
    }

    .biblio-hero-inner
    {
        grid-template-columns: 1fr;
        min-height: 0;
        position: relative;
    }

    .biblio-hero-copy
    {
        padding: 56px 0;
    }

    .biblio-hero-visual
    {
        position: absolute;
        inset: 0 -20px 0 10%;
        height: auto;
        opacity: .26;
        background-position: center;
    }

    .biblio-hero-copy
    {
        background: linear-gradient(90deg, #13100fe8, #13100f55);
    }

    .home-books-grid, .home-authors-grid, .home-genres-grid
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-reviews-grid
    {
        grid-template-columns: 1fr;
    }

    .footer-content
    {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-brand
    {
        border-right: 0;
        border-bottom: 1px solid #604c37;
        padding-bottom: 12px;
    }
}

@media (max-width: 520px)
{
    .container
    {
        padding-left: 15px;
        padding-right: 15px;
    }

    .biblio-logo
    {
        font-size: 26px;
    }

    .biblio-header .auth
    {
        width: 100%;
        justify-content: flex-end;
    }

    .home-books-grid, .home-authors-grid, .home-genres-grid
    {
        grid-template-columns: 1fr;
    }

    .home-book-card
    {
        min-height: 170px;
    }

    .home-cover
    {
        max-width: 105px;
    }

    .biblio-section-heading
    {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .biblio-section-heading h2
    {
        font-size: 24px;
    }

    .biblio-footer .footer-columns
    {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .biblio-footer .footer-bottom
    {
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }
}
