/* OAF Modern Forum 1.0.28: opt-in geometry for standard XenForo 1.5 styles.
 * The base sheet leaves the selected style's logo/header dimensions intact.
 * This sheet is never loaded for the existing Open Arts Forum layout.
 */
.oafModernStandard #content.forum_list .pageContent {
    padding-top: 10px !important;
}

.oafModernStandard #content.forum_list .oafQuickActions {
    box-sizing: border-box;
    margin: 0 0 12px;
    position: static;
    width: 100%;
    right: auto;
    top: auto;
    z-index: auto;
}

.oafModernStandard #content.forum_list .oafQuickAction {
    box-sizing: border-box;
    height: auto !important;
    min-width: 0;
    white-space: normal;
}

.oafModernStandard #content.forum_list .sidebar::before {
    display: none;
}

@media (min-width: 801px) {
    /* Featured Work and the sidebar actions begin on the same baseline. The
     * standalone title is redundant in this compact Standard-profile lead. */
    .oafModernStandard #content.forum_list .mainContent > .ctaFtTitleForumList {
        display: none !important;
    }

    .oafModernStandard #content.forum_list .mainContent > .ctaFtContainer,
    .oafModernStandard #content.forum_list .mainContent > .ctaFtBlock,
    .oafModernStandard #content.forum_list .mainContent > .featuredWork,
    .oafModernStandard #content.forum_list .mainContent > .featuredThread {
        margin-top: 0 !important;
    }

    /* Hide the main-column copy only when a real sidebar row exists. With
     * no sidebar, the early row remains usable above the forum categories.
     */
    .oafModernStandard #content.forum_list:has(.sidebar .oafQuickActions) .oafQuickActions--early,
    .oafModernStandard.oafStandardHasSidebar #content.forum_list .oafQuickActions--early {
        display: none;
    }
}

@media (max-width: 800px) {
    /* Keep actions near the top when XenForo hides or stacks the sidebar. */
    .oafModernStandard #content.forum_list .sidebar .oafQuickActions {
        display: none;
    }
}
