/*
Theme Name: Edumall Child
Theme URI: https://edumall.thememove.com/
Author: ThemeMove
Author URI: https://thememove.com/
Version: 1.0.1
Template: edumall
Text Domain:  edumall-child
Tags: editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/

/* 隔离考试兼容：防止代码题被 flex 横排挤窄；仅限 Tutor 题目区域。 */
.tutor-quiz-question-title { display: block; min-width: 0; }
.tutor-quiz-question pre { box-sizing: border-box; width: 100%; max-width: 100%; padding: 12px; white-space: pre; overflow-x: auto; overflow-wrap: normal; word-break: normal; }

/* 通知可关闭；只记录当前会话，不把关闭当作 Cookie 授权。 */
.page-top-bar.top-bar-02 { position: relative; }
.page-top-bar.top-bar-02[hidden] { display: none !important; }
.page-top-bar.top-bar-02 .container { padding-right: 48px; padding-left: 48px; }
.brightrung-notice-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font-size: 28px; line-height: 1; }
.brightrung-notice-close:hover, .brightrung-notice-close:focus-visible { background: rgba(255,255,255,.15); color: inherit; }

/* 认证标识共用展示框，完整包含原图，避免拉伸或裁字。 */
.brightrung-topic-marks .image { display: flex; align-items: center; justify-content: center; min-height: 120px; }
.brightrung-topic-marks img { width: 110px; height: 100px; max-width: 100%; object-fit: contain; object-position: center; }

@media (max-width: 767px) {
 .tutor-quiz-question-header { flex-wrap: wrap; }
 .tutor-quiz-question-title { flex: 1 1 100%; order: 2; }
}
/* 免费样题按行对齐，覆盖Tutor为横排相邻选项设置的缩进。 */
.br-preview-stage .tutor-form-group > .tutor-form-check {
	display: flex !important;
	align-items: flex-start;
	gap: 8px;
	margin-left: 0;
	margin-right: 0;
}
.br-preview-stage .tutor-form-check input.tutor-form-check-input {
	margin-right: 0;
}
.br-preview-stage .tutor-form-check-label {
	flex: 1;
	min-width: 0;
}
.br-preview-stage .tutor-form-check-label > :last-child {
	margin-bottom: 0;
}
