:root {
    --bs-primary: #2c3e50;
    --bs-secondary: #34495e;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.navbar-brand {
    font-weight: 700;
}

.site-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.site-brand-link:hover,
.site-brand-link:focus {
    color: inherit;
    text-decoration: none;
}

.site-brand-link--static {
    pointer-events: none;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.site-brand__icon {
    font-size: 1.15rem;
    color: #ffc107;
}

.site-brand__read {
    color: #fff;
}

.site-brand__fb2 {
    color: #ffc107;
}

.site-brand__tld {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    font-size: 0.92em;
}

.site-brand--footer .site-brand__read,
.site-brand--footer .site-brand__tld {
    color: #fff;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.book-cover {
    max-height: 400px;
    object-fit: contain;
}

.rights-badge {
    font-size: 0.75rem;
}

.rights-public { background-color: #27ae60; }
.rights-licensed { background-color: #3498db; }
.rights-copyrighted { background-color: #e74c3c; }
.rights-unknown { background-color: #f39c12; }
.rights-pending { background-color: #95a5a6; }

footer {
    background-color: var(--bs-primary);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}
