.book-menu {
    text-transform: capitalize;
    padding-left: 12px;

    nav ul {
        padding: 0;
        margin: 0;
        list-style: none;

        li {
            margin: 1em 0;
        }

        a {
            display: block;
        }

        a:hover {
            opacity: .5;
        }

        ul {
            padding-left: $padding-16;
        }
    }

    .section {
        .section-link {
            display: flex;
            align-items: center;

            .section-icon {
                width: 12px;
                height: 12px;
                transform: rotateZ(90deg);
                opacity: 0.5;
                margin-left: -15px;
                margin-right: 3px;
                cursor: pointer;
                transition: opacity 0.2s;

                &:hover {
                    opacity: 0.9;
                }

                &.expanded {
                    transform: rotateZ(180deg);
                }
            }

            a {
                flex: 1;
            }
        }
        > ul {
            max-height: 0px;
            overflow: hidden;

            &.expanded {
                max-height: initial;
                > li:last-child {
                    margin-bottom: 0;
                }
            }
        }
    }
    .version {
        text-transform: none;
        font-size: 12px;
        color: $gray-500;
        border-top: 1px dotted $gray-300;
        display: inline-block;
        padding-top: 12px;
        a {
            color: $gray-500;
        }
        a:hover {
            color: $gray-700;
        }
    }
}
