/* Presentation only: scoped to the PressBook theme on the personal website. */
body.wp-theme-pressbook.custom-background {
    background-image: none !important;
    background-color: #0b0b0b !important;
}

body.wp-theme-pressbook #masthead .site-branding {
    background-image: none !important;
}

body.wp-theme-pressbook .entry-content {
    color: #e2e2e2;
}

body.wp-theme-pressbook .entry-content a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .18em;
}

body.wp-theme-pressbook .wp-block-details {
    border-top: 1px solid #505050;
    margin-block: .4rem;
}

body.wp-theme-pressbook .wp-block-details > summary {
    box-sizing: border-box;
    min-height: 48px;
    padding: .7rem .3rem;
    color: #fff;
    cursor: pointer;
}

body.wp-theme-pressbook .wp-block-details[open] > summary {
    font-weight: bold;
}

body.wp-theme-pressbook .wp-block-details > :not(summary) {
    margin-inline: .3rem;
}

body.wp-theme-pressbook a:focus-visible,
body.wp-theme-pressbook summary:focus-visible,
body.wp-theme-pressbook button:focus-visible,
body.wp-theme-pressbook input:focus-visible,
body.wp-theme-pressbook textarea:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

body.wp-theme-pressbook #masthead .primary-menu-toggle,
body.wp-theme-pressbook #masthead .search-submit {
    background-image: none !important;
    background-color: #333;
    color: #fff;
}

@media (max-width: 600px) {
    body.wp-theme-pressbook .entry-content {
        overflow-wrap: anywhere;
    }

    body.wp-theme-pressbook .entry-content h2 {
        font-size: 1.65rem;
        line-height: 1.25;
    }
}
