body {line-height: 1.6;}

.font-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 5px;
}
.control-label {
    font-size: 14px;
    color: #666;
}

.font-btn {
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 2px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    color: #333;
    height: 28px;
}
.font-btn:hover {border-color: #999;}

.font-select {
    height: 28px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 5px;
    font-size: 14px;
    color: #333;
    background-color: white;
    cursor: pointer;
    outline: none;
}
.font-select:hover {border-color: #999;}

.nav-button {
    color: black;
    text-decoration: none;
    padding: 4px 15px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}
.nav-button:hover {
    background: rgba(255,255,255,0.1);
}

.chapter-content {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
    font-size: 22px;
    color: #333;
}

.chapter-text h2, 
.chapter-text p {font-family: inherit; }

.chapter-text {
    text-align: justify;
    line-height: 1.8;
    margin-bottom: 2em;
}
.chapter-text p {
    margin-bottom: 1.5em;
    text-indent: 2em;
}

@media (max-width: 768px) {
    .font-controls {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
    .footer-button {
        flex: 1;
        min-width: 100px;
        padding: 10px;
    }
    .control-label {display: none;}
}