/* Общие стили для книги */
.book-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Заголовки */
.book-content h1,
.book-content h2,
.book-content h3 {
    color: #2a2a2a;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.book-content h1 {
    font-size: 2em;
}

.book-content h2 {
    font-size: 1.5em;
}

.book-content h3 {
    font-size: 1.2em;
}

/* Абзацы и lead */
.book-content p,
.book-content .lead {
    margin-bottom: 1em;
}

/* Кнопка "Начать читать" */
.book-content .start-reading {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.book-content .start-reading:hover {
    background-color: #004999;
}

/* Навигация и оглавление */
.book-content nav.toc {
    margin-top: 2em;
    margin-bottom: 2em;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.book-content nav.toc h2 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

.book-content nav.toc section {
    margin-bottom: 1.5em;
}

.book-content nav.toc ul {
    list-style: none;
    padding-left: 0;
}

.book-content nav.toc ul li {
    margin-bottom: 0.5em;
}

/* Хлебные крошки */
.book-content nav.breadcrumbs {
    font-size: 0.9em;
    margin-bottom: 1em;
}

.book-content nav.breadcrumbs a {
    text-decoration: none;
    color: #0066cc;
}

.book-content nav.breadcrumbs span {
    color: #555;
}

/* Секция о книге */
.book-content .about-book {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-top: 2em;
}

/* Адаптивность */
@media (max-width: 600px) {
    .book-content {
        padding: 10px;
    }
    .book-content h1 {
        font-size: 1.5em;
    }
    .book-content h2 {
        font-size: 1.2em;
    }
}
