/* Game Dev Graz: keep the look of AccessPress Parallax 1.66 where version 2.0+ changed it.
   Loaded after the parent's style.css and responsive.css; the site's own CSS stays in Customizer → Additional CSS. */

/* content width 1170px (since 2.0: 1200px); below 1201px the parent's responsive.css makes it 100% as before */
@media screen and (min-width: 1201px) {
    .mid-content {
        width: 1170px;
    }
}

/* no extra space behind menu items with a submenu (the arrow icons are removed in functions.php) */
.main-navigation li.menu-item-has-children {
    margin-right: 0;
}

.main-navigation > ul > li:last-child > a {
    padding-right: 10px;
}

/* current page in the menu highlighted as before */
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a {
    color: #E66432;
}

/* phones: page content full width with the sidebar below it, as before
   (since 2.0 pages get the class "rightsidebar", and ".rightsidebar #primary" keeps 69% width on phones) */
@media screen and (max-width: 768px) {
    .rightsidebar #primary {
        float: none;
        width: 100%;
    }
}

/* lists in posts and pages without the extra 6px spacing added in 2.0 (values as in 1.66) */
.entry-content ol {
    margin-bottom: 15px;
}

.entry-content li,
.entry-content ol li,
.entry-content ul li {
    margin-bottom: 0;
}

.entry-content ul li ul,
.entry-content ol li ol {
    margin-top: 0;
    margin-bottom: 0;
}

ol li ol {
    margin-top: 0;
}

/* buttons from the block editor without the extra space below them added in 2.0 */
.wp-block-button__link,
.wp-block-button.aligncenter {
    margin-bottom: 0;
}
