.ielts-review-question.has-half-video .mks-half-solution{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;min-width:0}
.mks-half-written,.mks-half-video{min-width:0}
.mks-half-written h3,.mks-half-video h3{margin:0 0 14px;color:#14283d;font:700 16px/1.4 Arial,sans-serif}
.mks-half-written{overflow-wrap:anywhere}
.mks-half-written .katex-display{max-width:100%;overflow-x:auto;overflow-y:hidden}
.has-half-video .mks-half-written .katex,.has-half-video .ielts-review-question-copy-body .katex,.has-half-video .mks-half-written mjx-container,.has-half-video .ielts-review-question-copy-body mjx-container{display:inline-block;max-width:100%;overflow-x:auto;overflow-y:hidden;vertical-align:middle}
.mks-half-video{font:15px/1.5 Arial,sans-serif}
.mks-half-video video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:12px;background:#101e32}
.mks-half-chapters{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.mks-half-chapters button,.mks-half-video-error button{min-height:38px;padding:7px 12px;border:1px solid #71859b;border-radius:8px;background:#f1f6fc;color:#14283d;font:600 13px/1.3 Arial,sans-serif;cursor:pointer}
.mks-half-chapters button:focus-visible,.mks-half-video-error button:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.mks-half-video-error[hidden]{display:none}
.mks-half-video-error{color:#991b1b}
@media(max-width:900px){
 .ielts-review-question.has-half-video .mks-half-solution{grid-template-columns:minmax(0,1fr);gap:24px}
 /* One scroll surface contains question, written solution, then complete video controls. */
 .ielts-review-shell .ielts-reading-test-main:has(.has-half-video:not([hidden])){overflow:auto!important;-webkit-overflow-scrolling:touch}
 .ielts-review-shell .ielts-review-question.has-half-video{display:block!important;height:auto!important;min-height:100%!important}
 .ielts-review-shell .ielts-review-question.has-half-video[hidden]{display:none!important}
 .ielts-review-shell .has-half-video .ielts-review-main{overflow:visible!important;height:auto!important}
 .ielts-review-shell .has-half-video .ielts-review-explanation{max-height:none!important;height:auto!important;overflow:visible;margin:0 10px 16px;border-radius:16px}
 .ielts-review-shell .has-half-video .ielts-review-explanation-body{max-height:none!important;height:auto!important;overflow:visible!important;padding:16px 16px calc(48px + env(safe-area-inset-bottom, 0px))!important}
}
