/* Gidenler Interactive Lessons 1.0.8 — scoped to .gmq; no global theme overrides */
.gmq{--gm-ink:#402c1d;--gm-brown:#865127;--gm-line:#dfbc84;box-sizing:border-box;margin:20px 0;border:1px solid #d6ad71;border-radius:14px;background:#fff9ef;color:var(--gm-ink);font:inherit;line-height:1.55;box-shadow:0 5px 20px #5a361015;overflow:hidden;max-width:100%}
.gmq *{box-sizing:border-box}.gmq [hidden]{display:none!important}
.gmq-head{display:flex;align-items:center;justify-content:space-between;gap:6px 12px;flex-wrap:wrap;padding:10px 16px;border-bottom:1px solid #dfbd8a;background:linear-gradient(105deg,#ecd1a0,#fff0d5 55%,#e9c794)}
.gmq-brand{font-size:1.2em;line-height:1.3;font-weight:800;color:#603613}.gmq-topic{font-size:.8em;font-weight:700;color:#765331}
.gmq-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(195px,31%);gap:15px;padding:16px}.gmq-main,.gmq-side{min-width:0}
/* v1.0.6: compact portrait and balanced, responsive speech bubble */
.gmq-mentor{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;column-gap:14px;margin-bottom:13px;min-width:0;border:1px solid #e1c294;border-radius:13px;background:linear-gradient(120deg,#f4e1bd,#fffaf1);padding:12px 14px}
.gmq-yola{display:block;width:90px;height:90px;max-width:100%;object-fit:cover;object-position:center 24%;aspect-ratio:1;border-radius:50%;border:3px solid #fff9ee;box-shadow:0 0 0 1px #cda772,0 3px 9px #59351520}
.gmq-mentor-text{position:relative;min-width:0;width:100%;margin:0;padding:11px 14px;border:1.5px solid #ac784b;border-radius:15px;background:#fffdf9;font-size:.9em;line-height:1.5;color:#56361e;overflow-wrap:break-word;box-shadow:0 2px 5px #5935150c}
.gmq-mentor-text:before{content:"";position:absolute;left:-11px;top:50%;transform:translateY(-50%);border-top:10px solid transparent;border-bottom:10px solid transparent;border-right:11px solid #ac784b}
.gmq-mentor-text:after{content:"";position:absolute;left:-8px;top:50%;transform:translateY(-50%);border-top:8px solid transparent;border-bottom:8px solid transparent;border-right:9px solid #fffdf9}
.gmq-mentor-text strong{color:#a34c24}
.gmq-question-wrap{border:1px solid #e3c399;border-radius:12px;background:#fffdf8;padding:15px 16px;margin-bottom:12px}
.gmq-eyebrow{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:space-between}.gmq-question-label{background:#84502a;color:white;border-radius:15px;padding:4px 12px;font-size:.84em;font-weight:700}.gmq-difficulty{font-size:.78em;color:#956d34}
.gmq-question{font-size:1.06em;font-weight:750;margin:13px 0 0;line-height:1.55;overflow-wrap:anywhere}
.gmq-choices{border:0;padding:0;margin:0;display:grid;gap:9px;min-width:0}.gmq-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.gmq-choice{display:flex;align-items:center;gap:11px;border:1px solid #e2c49c;border-radius:10px;padding:10px 13px;cursor:pointer;background:#fffdfa;transition:background .15s,border-color .15s;min-width:0}.gmq-choice:hover{background:#fff0d9;border-color:#b7884f}.gmq-choice:has(input:checked){background:#e5f0fc;border-color:#72ace0}.gmq-choice input{accent-color:#2675bd;flex-shrink:0;width:17px;height:17px}.gmq-choice-letter{display:inline-grid;place-items:center;min-width:28px;height:28px;border-radius:6px;background:#f7e4c8;font-size:.84em;font-weight:750;color:#70401f}.gmq-choice:has(input:checked) .gmq-choice-letter{background:#b6dafa;color:#154d82}
.gmq-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.gmq button{font:inherit;font-size:.85em;font-weight:700;border:1px solid #9c6738;border-radius:9px;padding:10px 12px;background:#fff9f0;color:#75451e;cursor:pointer;min-height:42px}.gmq .gmq-check{background:linear-gradient(#a56a32,#80451f);color:#fff}.gmq button:hover{filter:brightness(.95)}.gmq button:focus-visible,.gmq a:focus-visible,.gmq input:focus-visible{outline:3px solid #187ac8;outline-offset:3px}
.gmq-result{margin:10px 0;padding:14px 15px;border-radius:9px;font-weight:650}.gmq-result.gmq-good{background:#e4f3e4;border:1px solid #bddfbd;color:#185e32}.gmq-result.gmq-try{background:#fff0d9;border:1px solid #f1d19a;color:#714318}
.gmq-solution{margin:13px 0;border:1px solid #ddb782;border-radius:10px;background:#fffdfa;overflow:hidden}.gmq-solution-title{padding:11px 14px;background:#f4e0c1;font-weight:750;color:#633917}.gmq-solution ol{margin:10px 16px;padding-left:28px;counter-reset:step;list-style:none}.gmq-solution li{position:relative;margin:0 0 10px;counter-increment:step}.gmq-solution li:before{content:counter(step);position:absolute;left:-29px;top:1px;border-radius:50%;background:#87512b;color:#fff;width:22px;height:22px;display:grid;place-items:center;font-size:.8em;font-weight:700}.gmq-concept{margin:0;padding:9px 13px;background:#fff3dc;font-size:.89em}.gmq-footer{margin-top:10px}.gmq-discuss{font-weight:650;color:#81502b!important;text-decoration:underline!important}
.gmq-side{display:grid;align-content:start;gap:12px}.gmq-side-card{border:1px solid #dbb780;border-radius:11px;background:#fff8eb;overflow:hidden;box-shadow:0 2px 8px #6a42100d}.gmq-side-card h3{margin:0;padding:10px 12px;background:#f1d6a9;color:#6c3c1c;font-size:1em;font-weight:750}.gmq-side-card p,.gmq-side-card .gmq-hint{padding:10px 12px;margin:0;font-size:.89em}.gmq-hint{color:#4e341b}.gmq-side-link{display:inline-block;margin:0 12px 12px;padding:7px 12px;border-radius:8px;background:#8b5127;color:#fff!important;text-decoration:none!important;font-size:.85em}
@media(max-width:860px){.gmq-layout{grid-template-columns:1fr}.gmq-side{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.gmq-head{padding:10px 12px}.gmq-layout{padding:12px}.gmq-side{grid-template-columns:1fr}.gmq-brand{font-size:1.1em}.gmq-mentor{grid-template-columns:72px minmax(0,1fr);gap:11px;padding:10px}.gmq-yola{width:72px;height:72px}.gmq-mentor-text{font-size:.84em;padding:10px 11px}.gmq-actions button{flex:1 1 145px}.gmq-question-wrap{padding:12px}}
@media(max-width:380px){.gmq-mentor{grid-template-columns:60px minmax(0,1fr);gap:9px}.gmq-yola{width:60px;height:60px}.gmq-mentor-text{font-size:.8em;padding:9px}}

/* v1.0.8: compact sidebar headings; override MyBB theme h3 defaults only inside quiz cards */
.gmq .gmq-side .gmq-side-card > h3 {
  display:block; box-sizing:border-box; height:auto; min-height:0; max-height:none;
  margin:0; padding:7px 12px; border:0; border-radius:0;
  line-height:1.25; font-size:1em; font-weight:750;
  letter-spacing:normal; text-transform:none;
}
@media(max-width:620px){.gmq .gmq-side .gmq-side-card > h3{padding:7px 11px}}

/* v1.0.9: compact quiz controls; preserve readable touch targets */
.gmq .gmq-choices .gmq-choice {padding:6px 12px; min-height:40px; box-sizing:border-box; gap:10px;}
.gmq .gmq-choices .gmq-choice-letter {height:26px; min-width:26px;}
.gmq .gmq-actions button {padding:6px 11px; min-height:40px; line-height:1.3; box-sizing:border-box;}
@media (max-width:620px) {
  .gmq .gmq-choices .gmq-choice {padding:6px 10px;}
  .gmq .gmq-actions button {padding:7px 10px; min-height:40px;}
}

/* v1.0.10: normal-weight questions, selective emphasis only */
.gmq .gmq-question {font-weight:400;}
.gmq .gmq-question strong {font-weight:750;color:#653b20;}

.gmq-rich-list{margin:8px 0 8px 22px;padding:0}.gmq-rich-list li{margin:3px 0}.gmq-question em,.gmq-concept em,.gmq-steps em{font-style:italic}
