.chapter-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    margin: 3rem 0 2rem 0;
    background: var(--warm-gray-50);
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    /* Art Deco pattern background if possible, or just clean */
}

.chapter-nav-prev, .chapter-nav-next {
    display: inline-block;
    color: var(--warm-gray-900);
    text-decoration: none;
    font-family: var(--font-ui);
    font-weight: 500; /* Changed from 600 to 500 (available weight) */
    font-size: 0.6rem;
    line-height: 1.6; /* Increased line height */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem; /* Slightly more padding */
    border: 1px solid var(--primary);
    background: white;
    transition: all 0.3s ease;
    position: relative;
}

/* Increase specificity to override .content a styles */
.content .chapter-nav-prev,
.content .chapter-nav-next {
    border-bottom: 1px solid var(--primary); /* Match the border */
    color: var(--warm-gray-900);
}

.chapter-nav-prev:hover, .chapter-nav-next:hover {
    background: var(--primary);
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

/* Ensure hover state also overrides .content a:hover */
.content .chapter-nav-prev:hover,
.content .chapter-nav-next:hover {
    border-bottom: 1px solid var(--primary);
    color: white;
}

.chapter-nav-current {
    font-family: var(--font-display);
    font-size: 0.75rem;
    line-height: 1.6; /* Increased line height */
    color: var(--primary-dark);
    text-align: center;
    flex: 1;
    padding: 0 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .chapter-nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .chapter-nav-prev, .chapter-nav-next {
        width: 100%;
        text-align: center;
    }
}
