.gssv-resource{max-width:850px;margin:0 auto;font:17px/1.7 system-ui,sans-serif;color:#183e60;overflow-wrap:anywhere}.gssv-resource h1{font-size:clamp(26px,3vw,36px);line-height:1.3}.gssv-resource h2{font-size:clamp(20px,2.4vw,25px);line-height:1.4;margin:24px 0 10px}.gssv-resource :is(p,li){margin:8px 0}.gssv-resource :is(img,svg){max-width:100%;height:auto}.gssv-resource details{padding:12px 14px;border:1px solid #cfdfeb;border-radius:10px;margin:14px 0}.gssv-resource summary{cursor:pointer;font-weight:700;min-height:32px}.gssv-resource-source{font-size:13px;color:#526d80}.gssv-next-step{box-sizing:border-box;max-width:920px;margin:24px auto;padding:18px;background:#f2f8fc;border:1px solid #d2e3ee;border-radius:12px;color:#173e62;font:15px/1.6 system-ui,sans-serif}.gssv-next-step>strong{display:block;font-size:18px}.gssv-next-step>div{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.gssv-next-step a{box-sizing:border-box;min-height:44px;display:inline-flex;align-items:center;padding:9px 12px;border:1px solid #b9d6e8;border-radius:8px;background:#fff;color:#075c9e!important;text-decoration:none!important}.gssv-next-step a:hover{text-decoration:underline!important}.gssv-next-step a:focus-visible,.gssv-resource :is(a,summary,button):focus-visible{outline:3px solid #d69a24;outline-offset:3px}.gssv-next-step small{display:block;font-size:12px;color:#4d687d}body.gssv-standard-resource .block>h2.block-title{display:none}body.gssv-standard-resource .block:has(>h2.block-title):not(:has(.gssv-resource)){display:none}body.gssv-standard-resource .gg-inline-teaser{display:none!important}@media(max-width:600px){.gssv-resource{font-size:16px}.gssv-next-step{padding:13px;margin:18px auto}.gssv-next-step>div{display:grid;gap:8px}.gssv-next-step a{width:100%}}
body.home .sv-home-study-links[aria-label="Ba thư viện học tập"]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}body.home .sv-home-study-links[aria-label="Ba thư viện học tập"] a{min-width:0;min-height:94px;display:flex;flex-direction:column;justify-content:center;gap:5px}body.home .sv-home-study-links[aria-label="Ba thư viện học tập"] small{font-size:13px;line-height:1.5}body.home .sv-home-study-mascot img{max-width:88px;height:auto;object-fit:contain}@media(max-width:640px){body.home .sv-home-study-links[aria-label="Ba thư viện học tập"]{grid-template-columns:1fr}body.home .sv-home-study-links[aria-label="Ba thư viện học tập"] a{min-height:76px}}

/* Shared lesson layout: preserve the theme content wrapper; hide only its repeated heading. */
.gssv-resource{box-sizing:border-box;padding:22px 24px 32px;background:#fff}.gssv-resource *{box-sizing:border-box}.gssv-resource nav{display:flex;gap:8px;flex-wrap:wrap;font-size:14px}.gssv-resource .lesson-topic{font-size:13px;color:#24709a;font-weight:700}.gssv-resource .lesson-figure{margin:22px 0;padding:16px;background:#f5faff;border:1px solid #d6e6f0;border-radius:12px}.gssv-resource .lesson-figure svg{display:block;width:100%;max-width:560px;margin:auto}.gssv-resource figcaption{font-size:14px;color:#4b687e;margin-top:10px}.gssv-resource .gssv-formula{max-width:100%;overflow-x:auto;overflow-y:hidden;padding:9px 3px 12px;margin:9px 0;overscroll-behavior-x:contain}.gssv-resource .gssv-formula math{width:max-content;min-width:100%;max-width:none;font-size:1.05em}.gssv-resource .lesson-example{border-left:3px solid #1676b5;padding:2px 0 2px 15px;margin:18px 0}.gssv-resource .lesson-cover{display:block;width:100%;height:auto;border-radius:12px;margin:20px 0}.gssv-resource table{display:block;max-width:100%;overflow-x:auto}.gssv-resource .lesson-next{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.gssv-resource .lesson-next a{min-height:44px;padding:8px 12px;border:1px solid #bdd6e7;border-radius:8px;text-decoration:none}.gssv-resource .lesson-next a:focus-visible{outline:3px solid #d49a30;outline-offset:3px}@media(max-width:600px){.gssv-resource{padding:15px 14px 24px}.gssv-resource .lesson-figure{padding:9px}.gssv-resource .lesson-example{padding-left:11px}.gssv-resource .lesson-next{display:grid}.gssv-resource .lesson-next a{width:100%}}

/* Keep the lesson figure cap against the legacy global !important SVG rule. */
body.gssv-standard-resource .post_content>.editor .gssv-resource .lesson-figure>svg,body.gssv-standard-resource .post_content>.editor .gssv-resource .lesson-figure>button>svg{max-width:500px!important}
