/**
 * PathCraft LMS - Quiz Page Clean UI
 * Hides blog/theme UI elements on quiz and course pages for a clean LMS experience
 * Only affects post types: eaa_quiz, eaa_course (not lessons or other content)
 */

/* Hide theme sidebar on quiz & course pages */
body.single-eaa_quiz .sidebar,
body.single-eaa_quiz .widgets,
body.single-eaa_quiz .widget-area,
body.single-eaa_course .sidebar,
body.single-eaa_course .widgets,
body.single-eaa_course .widget-area {
	display: none !important;
}

/* Hide post/author metadata */
body.single-eaa_quiz .entry-meta,
body.single-eaa_quiz .post-meta,
body.single-eaa_quiz .meta-tags,
body.single-eaa_quiz .entry-author,
body.single-eaa_quiz .author-bio,
body.single-eaa_course .entry-meta,
body.single-eaa_course .post-meta,
body.single-eaa_course .meta-tags,
body.single-eaa_course .entry-author,
body.single-eaa_course .author-bio {
	display: none !important;
}

/* Hide post navigation (next/prev post links) */
body.single-eaa_quiz .post-navigation,
body.single-eaa_quiz .navigation,
body.single-eaa_quiz .posts-navigation,
body.single-eaa_course .post-navigation,
body.single-eaa_course .navigation,
body.single-eaa_course .posts-navigation {
	display: none !important;
}

/* Hide related posts / suggested posts blocks */
body.single-eaa_quiz .related-posts,
body.single-eaa_quiz .related-items,
body.single-eaa_quiz .jetpack_related_posts,
body.single-eaa_quiz .wp-block-query,
body.single-eaa_course .related-posts,
body.single-eaa_course .related-items,
body.single-eaa_course .jetpack_related_posts,
body.single-eaa_course .wp-block-query {
	display: none !important;
}

/* Hide "More Posts" and "Hello World" default content loops */
body.single-eaa_quiz .posts,
body.single-eaa_quiz .blog,
body.single-eaa_quiz main > article ~ article,
body.single-eaa_course .posts,
body.single-eaa_course .blog,
body.single-eaa_course main > article ~ article {
	display: none !important;
}

/* Hide comments section on quiz pages */
body.single-eaa_quiz .comments-area,
body.single-eaa_quiz .comment-form,
body.single-eaa_quiz #respond,
body.single-eaa_course .comments-area,
body.single-eaa_course .comment-form,
body.single-eaa_course #respond {
	display: none !important;
}

/* Make main content area full-width if sidebar is hidden */
body.single-eaa_quiz main,
body.single-eaa_quiz .content,
body.single-eaa_quiz .entry-content,
body.single-eaa_course main,
body.single-eaa_course .content,
body.single-eaa_course .entry-content {
	max-width: 100% !important;
	width: 100% !important;
}

/* Adjust container width for quiz pages if wrapped */
body.single-eaa_quiz .container,
body.single-eaa_quiz .page-content,
body.single-eaa_course .container,
body.single-eaa_course .page-content {
	max-width: 1000px !important;
	margin: 0 auto !important;
}
