.mcq-guide-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.mcq-guide-product { margin: 0; padding: 12px; border: 1px solid #d9dfd5; background: #fff; border-radius: 20px; box-shadow: 0 16px 44px #183b2810; min-width: 0; }
.mcq-guide-product img { display: block; width: 100%; height: auto; border-radius: 12px; }
.mcq-guide-product figcaption { padding: 16px 10px 6px; font-size: .875rem; line-height: 1.7; color: #44594f; }
.mcq-guide-product figcaption strong { display: block; color: #20392e; }
/* A readable guide layout; content and navigation work without JavaScript. */
.mcq-guide-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: clamp(28px,4vw,64px); align-items: start; }
.mcq-guide-toc { position: sticky; top: 100px; display: grid; gap: 4px; padding: 20px; border: 1px solid #dfded6; border-radius: 16px; background: #fff; font-size: .875rem; }
.mcq-guide-toc strong { padding: 0 6px 12px; }
.mcq-guide-toc a { display: flex; align-items: center; min-height: 44px; padding: 6px; color: #34584e; line-height: 1.5; text-decoration: none; border-radius: 6px; }
.mcq-guide-toc a:hover { background: #edf7f3; text-decoration: underline; }
.mcq-guide-article { min-width: 0; max-width: 840px; }
.mcq-guide-article h2[id] { scroll-margin-top: 100px; }
.mcq-guide-example { padding: clamp(20px,3vw,30px); margin: 28px 0; border: 1px solid #b9d5ca; border-radius: 20px; background: #f0f8f4; }
.mcq-guide-example-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: .8rem; color: #446056; }
.mcq-guide-example h3 { font-size: 1.25rem; line-height: 1.5; margin-top: 20px; }
.mcq-guide-options { padding-left: 28px; }
.mcq-guide-options li { padding: 8px; border-bottom: 1px solid #cddfd5; }
.mcq-guide-key { display: inline-block; color: #086257; font-size: .8rem; padding: 2px 8px; background: #d4ede0; border-radius: 6px; }
.mcq-guide-article .mcq-guide-example p, .mcq-guide-note p { font-size: 1rem; }
.mcq-guide-note { padding: 24px; border-left: 3px solid #0f766e; background: #f3f1eb; margin: 28px 0; border-radius: 0 14px 14px 0; }
.mcq-guide-note p:last-child, .mcq-guide-example p:last-child { margin-bottom: 0; }
.mcq-guide-table-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid #d8ddd5; border-radius: 14px; }
.mcq-guide-table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.65; }
.mcq-guide-table caption { padding: 18px; text-align: left; font-weight: 700; background: #f0f8f4; }
.mcq-guide-table th, .mcq-guide-table td { padding: 16px; vertical-align: top; text-align: left; border-top: 1px solid #d8ddd5; overflow-wrap: anywhere; }
.mcq-guide-table thead { background: #fff; }
.mcq-guide-table tbody th { font-weight: 600; }
.mcq-guide-next { display: grid; justify-items: start; gap: 16px; padding: clamp(24px,3vw,36px); border-radius: 20px; background: #e6f2ec; margin: 36px 0; }
.mcq-guide-article .mcq-guide-next h3, .mcq-guide-article .mcq-guide-next p { margin: 0; }
.mcq-guide-next .btn { font-size: 1rem; text-decoration: none; }
.mcq-guide-next .btn-primary { color: #fff; }
.mcq-guide-next a { overflow-wrap: anywhere; }
.mcq-guide-layout :focus-visible { outline: 3px solid #0f766e; outline-offset: 4px; }
@media(max-width:960px) { .mcq-guide-hero { grid-template-columns: minmax(0,1fr); gap: 28px; } .mcq-guide-layout { grid-template-columns: minmax(0,1fr); } .mcq-guide-toc { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); } .mcq-guide-toc strong { grid-column: 1/-1; } }
@media(max-width:520px) { .mcq-guide-toc { grid-template-columns: minmax(0,1fr); } .mcq-guide-table th, .mcq-guide-table td { padding: 10px 8px; overflow-wrap: normal; } .mcq-guide-table { font-size: .84rem; table-layout: fixed; } .mcq-guide-table tr > :first-child { width: 26%; } }
