@font-face{font-family:PubSinhala;src:url('/assets/fonts/noto-sans-sinhala.woff2') format('woff2');font-display:swap}*{box-sizing:border-box}.pub-page{margin:0;background:#fcfbf7;color:#18333b;font:16px/1.7 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.pub-page [lang=si]{font-family:PubSinhala,"Noto Sans Sinhala",sans-serif;line-height:1.95;letter-spacing:normal;font-size:.93em}.pub-page a{color:inherit}.pub-page a:focus-visible,.pub-page summary:focus-visible{outline:3px solid #ad7800;outline-offset:5px}.pub-page h1,.pub-page h2,.pub-page h3,.pub-page h4{line-height:1.2;letter-spacing:-.025em}.pub-page h1{font-size:clamp(42px,6.8vw,76px);margin:12px 0 24px}.pub-page h1 span{font-size:.6em;display:inline-block;margin-top:12px}.pub-page h2{font-size:clamp(28px,4vw,40px);margin:12px 0 25px}.pub-page h3{font-size:24px}.pub-page h4{font-size:21px;margin:20px 0 14px}.pub-page p{margin:0 0 16px}.pub-wrap{width:min(1120px,calc(100% - 48px));margin:auto}.pub-brand{padding:27px max(24px,calc((100vw - 1120px)/2));display:flex;align-items:center;justify-content:space-between;gap:30px;background:#fff;border-top:5px solid #c59426}.pub-brand>a{flex:0 1 330px}.pub-brand img{display:block;width:100%;height:auto}.pub-brand p{font-size:14px;text-align:right;margin:0}.pub-brand p span{display:block;margin-top:6px;max-width:420px}.pub-nav{display:flex;gap:9px;padding:15px 24px;flex-wrap:wrap;justify-content:center;background:#102f43;color:#fff}.pub-nav a{text-decoration:none;padding:8px 16px;border-radius:25px;font-size:14px;font-weight:650}.pub-nav [aria-current=page]{background:#f6bf32;color:#102f43}.pub-hero{background:#f2eddf;padding:55px 0 60px;border-bottom:1px solid #dfd7c6}.pub-hero.science{background:#e6f1ec}.pub-hero.mathematics{background:#edf0fa}.pub-kicker{font-size:11px;font-weight:800;letter-spacing:.14em;color:#766024}.pub-lead{max-width:740px;font-size:21px;line-height:1.55}.pub-hero [lang=si]{max-width:760px}.pub-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:13px 20px;min-height:49px;background:#123a43;color:#fff!important;border-radius:7px;font-size:14px;font-weight:700}.pub-section{padding:55px 0}.pub-collections,.pub-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.pub-collection{border:1px solid #ddd8c9;border-radius:14px;background:#fff;padding:28px;display:flex;align-items:flex-start;flex-direction:column}.pub-collection h3{margin:12px 0 18px}.pub-collection .pub-button{margin-top:auto}.pub-collection p{font-size:15px}.pub-symbol{font:700 55px/1.2 Georgia,serif;margin:26px 0 2px;color:#a4791f}.science .pub-symbol{color:#216f59}.mathematics .pub-symbol{color:#555a9d}.pub-tag{display:inline-block;border-radius:30px;padding:5px 11px;font-size:11px;font-weight:750;background:#f2e6c5;color:#624a10;letter-spacing:.02em}.pub-tag.ready{color:#19553e;background:#dff0e5}.pub-soft{background:#eff2ec;border-block:1px solid #dfe4d8}.pub-three b{font-size:13px;color:#8d782e}.pub-three h3{margin:12px 0}.pub-three p{font-size:15px}.pub-notice{padding:20px 23px;border:1px solid #dec998;border-left:4px solid #b68a26;background:#fff8e7;border-radius:7px;margin:22px 0}.pub-notice p{margin-top:8px;font-size:14px}.pub-notice p:last-child{margin-bottom:0}.pub-notice a{font-size:13px}.pub-footer{text-align:center;background:#102f43;color:#fff;padding:36px 24px}.pub-footer strong{color:#f6bf32;font-size:22px}.pub-footer p{font-size:14px;margin:10px 0}.pub-grades{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.pub-grades a{min-height:47px;padding:9px 17px;border:1px solid #b5c8c7;border-radius:7px;text-decoration:none;font-weight:700;background:#fff}.pub-grades a:hover{background:#e3ece7}.pub-note{font-size:13px;color:#4c6465}.pub-grade{border:1px solid #ccd7cf;border-radius:10px;margin:22px 0;background:#fff;scroll-margin-top:25px}.pub-grade>summary{cursor:pointer;padding:22px 25px;font-weight:750;font-size:22px;background:#edf2ed;border-radius:10px}.pub-grade>summary span{display:block;font-size:12px;font-weight:500;margin:5px 0 0 22px;letter-spacing:0}.pub-grade-body{padding:8px 24px 20px}.pub-term{margin:28px 0 34px}.pub-term>h3{font-size:23px;border-bottom:2px solid #c39b3f;padding-bottom:12px}.pub-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pub-product{border:1px solid #d6e0d8;border-radius:9px;padding:23px;display:flex;flex-direction:column}.pub-product p{font-size:14px}.pub-product small{display:block;font-size:10px;letter-spacing:.04em;color:#5c6c67;margin:4px 0 17px}.pub-product a{font-size:13px;font-weight:750;line-height:1.7;text-decoration:none;background:#edf4ef;border:1px solid #afc7b7;border-radius:6px;padding:11px 13px;margin-top:auto}.pub-product a [lang=si]{display:block;font-weight:500}.pub-grade:target{outline:2px solid #c79d37;outline-offset:3px}@media(max-width:760px){.pub-brand{flex-direction:column;gap:18px;padding:25px 24px}.pub-brand>a{flex:auto;width:260px;max-width:100%}.pub-brand p{text-align:center}.pub-collections,.pub-products,.pub-three{grid-template-columns:1fr}.pub-wrap{width:calc(100% - 36px)}.pub-section{padding:38px 0}.pub-hero{padding:37px 0 42px}.pub-lead{font-size:18px}.pub-collection{padding:25px}.pub-grade>summary{padding:19px;font-size:20px}.pub-grade-body{padding:5px 16px 16px}.pub-product{padding:21px}.pub-nav{padding:11px 14px;gap:4px}.pub-nav a{padding:8px 10px;font-size:12px}.pub-grades{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.pub-grades a{text-align:center;padding:10px 5px;font-size:13px}.pub-notice{padding:18px}.pub-page h1{font-size:43px}}
