:root {
    --bs-primary: #467900;
    --bs-primary-rgb: 70, 121, 0;
}

body {
    font-family: "Palatino Linotype", Palatino, "Palatino LT STD", "Book Antiqua", Georgia, serif;
    background: url('/images/bg.jpg') repeat top center fixed;
}

.navbar-nav {
    text-transform: lowercase;
    font-size: 2.8em;
    letter-spacing: -2px;
}

.navbar-nav .nav-link {
    text-decoration: none;
}

.navbar-nav .nav-link.active {
    font-weight: bold;
    text-decoration: underline;
}

.doc-row {
    font-size: 1.2rem;
}

/* Subtle sort toggle on doctype list pages (/aieux/, /recits/, etc.) */
.sort-toggle a {
    color: #999;
    text-decoration: none;
    padding: 0 0.15rem;
}

.sort-toggle a:hover {
    color: #333;
}

.sort-toggle a.active {
    color: #333;
    font-weight: 600;
}

.doc-body {
    font-size: 1.2rem;
    padding: 24px;
    text-align: justify;
    background: #EEE;
    border-radius: 5px;
}

.doc-body p {
    text-align: justify;
}

/* Home doctype cards — fill the card with the image (no black bars) */
.doctype-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 160px;
}

/* Citations list page ("Mes citations préférées") */
.citations-list .citation-item {
    max-width: 46rem;
    margin: 2.5rem auto;
    padding: 0 0 2rem 0;
    border-bottom: 1px solid #e9e9e9;
}

.citations-list .citation-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.citations-list .citation-text {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 0.9rem;
    color: #2d2d2d;
}

.citations-list .citation-author {
    text-align: right;
    font-size: 0.95rem;
    color: #777;
}

.citations-list .citation-author cite {
    font-style: normal;
    font-weight: 500;
    color: #555;
}
