/* S13C technology presentation: real LMS evidence, responsive phone captures. */
.lms-feat-media{background:#f5f7fb;border-radius:16px;overflow:hidden;display:grid;place-items:center;min-height:180px}
.lms-feat-media img{display:block;width:100%;height:210px;object-fit:cover;object-position:center}
.lms-feat-card .lms-feat-media img{border-radius:0}
.lms-stat-card img{display:block;width:100%;height:240px;object-fit:cover;object-position:center}
.lms-phone-frame{display:flex;align-items:center;justify-content:center}
.lms-phone-screen{display:flex;align-items:center;justify-content:center;overflow:hidden}
.lms-phone-screen img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center!important}
@media (max-width:700px){
 .lms-feat-media img{height:180px}
 .lms-stat-card img{height:auto;max-height:260px;object-fit:contain}
 .lms-phone-screen{min-height:390px;padding:10px 5px}
 .lms-phone-screen img{max-height:370px}
}
.s13c-lib-enhanced{position:relative;min-height:280px!important;display:block!important}
.s13c-lib-enhanced:before,.s13c-lib-enhanced:after{content:"";position:absolute;inset:22px 12px 10px;border-radius:18px;background:linear-gradient(135deg,#fff,#eaf0ff);border:1px solid #d8e0f5;box-shadow:0 18px 30px #10245b18;transform:rotate(-7deg)}
.s13c-lib-enhanced:after{transform:rotate(6deg);background:linear-gradient(135deg,#fffdf3,#fff);inset:12px 28px 18px}
.s13c-lib-enhanced .hin-card{position:relative;z-index:2;margin:18px auto!important;max-width:210px!important;padding:28px 20px!important;background:#fff!important;box-shadow:0 20px 34px #10245b22!important}
.s13c-lib-icon{width:36px;height:36px;display:block;color:#c39a2d;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hin-library-icon{display:grid!important;place-items:center;gap:5px}.hin-library-icon span{font-size:.7rem;font-weight:800}.s13c-lib-feature-icon{float:right;margin:0 0 10px 16px;padding:10px;border-radius:12px;background:#fff8dd}.s13c-lib-index{font-size:.72rem;font-weight:800;color:#9a7a21;margin-right:8px}.s13c-library-tools{position:relative;z-index:2}
@media(max-width:700px){.s13c-lib-enhanced{min-height:220px!important}.s13c-lib-enhanced .hin-card{max-width:170px!important;padding:20px 14px!important}.s13c-lib-icon{width:30px;height:30px}}
/* Schedule proof and image-ratio guard, route module only. */
.s13c-schedule-icon{display:inline-grid;place-items:center;width:30px;height:30px;margin-right:10px;vertical-align:middle;border-radius:9px;background:#fff3c4;color:#10245b}.s13c-schedule-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.s13c-local-illustration{display:flex;justify-content:center;margin-bottom:12px;color:#d2ad3b}.s13c-local-illustration svg{width:120px;height:80px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.s13c-lib-enhanced img,.s13c-library-tools img{object-fit:contain!important;height:auto!important;max-height:420px}
.s13c-cogni-icon{width:42px;height:42px;display:block;margin-bottom:12px;color:#d0a93c;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.s13b-five-stairs>li,.s13b-track-grid .hin-card{position:relative}.s13b-five-stairs>li .s13c-cogni-icon,.s13b-track-grid .hin-card .s13c-cogni-icon{margin-inline:auto}
.s13c-lms-story{max-width:1160px;margin:0 auto;padding:40px 24px}.s13c-lms-chapter{padding:70px 0;scroll-margin-top:100px;border-bottom:1px solid #10245b18}.s13c-lms-heading{display:flex;gap:18px;align-items:center;margin-bottom:28px}.s13c-lms-heading>span{font-size:36px;font-weight:800;color:#c39a2d}.s13c-lms-heading h2{margin:0}.s13c-lms-chapter .hin-v2-panel{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:48px;align-items:center}.s13c-lms-chapter:nth-child(even) .hin-v2-panel>figure{order:2}.s13c-lms-chapter figure{margin:0;min-width:0}.s13c-lms-chapter video,.s13c-lms-chapter img{width:100%;height:auto!important;object-fit:contain!important}.s13c-lms-chapter .hin-v2-panel>div{min-width:0}.s13c-cogni-icon{width:96px;height:96px}.s13c-lib-feature-icon .s13c-lib-icon{width:70px;height:70px}.hin-library-icon .s13c-lib-icon{width:55px;height:55px}
@media(max-width:700px){.s13c-lms-story{padding:20px}.s13c-lms-chapter{padding:40px 0}.s13c-lms-chapter .hin-v2-panel{grid-template-columns:1fr;gap:24px}.s13c-lms-chapter:nth-child(even) .hin-v2-panel>figure{order:0}.s13c-lms-heading>span{font-size:28px}}
main[data-s13b-route="/gioi-thieu-cognipath"] .s13c-cogni-cover{margin:0;background:#fffaf0;border:1px solid #e5dcc7;border-radius:20px;overflow:hidden;box-shadow:0 12px 32px #10245b0d}main[data-s13b-route="/gioi-thieu-cognipath"] .s13c-cogni-cover a{display:block}main[data-s13b-route="/gioi-thieu-cognipath"] .s13c-cogni-cover img{display:block;width:100%;height:auto!important;aspect-ratio:1672/941!important;object-fit:contain!important;border-radius:0!important}main[data-s13b-route="/gioi-thieu-cognipath"] .s13c-cogni-cover figcaption{padding:14px 18px;line-height:1.6;color:#52627b}main[data-s13b-route="/gioi-thieu-cognipath"] .s13c-cognipath-hero .s13b-hero-inner{grid-template-columns:1fr 1fr;gap:40px;align-items:center}main[data-s13b-route="/gioi-thieu-cognipath"] .s13c-cognipath-hero h1{font-size:clamp(34px,3.6vw,52px)}@media(max-width:800px){main[data-s13b-route="/gioi-thieu-cognipath"] .s13c-cognipath-hero .s13b-hero-inner{grid-template-columns:1fr;gap:28px}main[data-s13b-route="/gioi-thieu-cognipath"] .s13c-cogni-cover figcaption{font-size:13px}}
.s13c-cogni-route-example{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center;margin:48px 0;padding:32px;background:#fffaf0;border:1px solid #e6dfcf;border-radius:20px}.s13c-cogni-route-example figure{margin:0}.s13c-cogni-route-example img{width:100%;height:auto!important;object-fit:contain!important;border-radius:12px}.s13c-cogni-route-example p{line-height:1.8}.s13c-cogni-route-example figcaption{font-size:13px;line-height:1.6;margin-top:12px;color:#52627b}@media(max-width:800px){.s13c-cogni-route-example{grid-template-columns:1fr;padding:20px;gap:24px}}
/* Keep the resource type illustration and its label inside their own row. */
.hin-library-page .hin-library-resource .hin-library-icon{height:auto!important;min-height:110px!important;padding:12px!important;box-sizing:border-box;overflow:hidden;flex-shrink:0}
.hin-library-page .hin-library-resource .hin-library-icon span{position:static!important;display:block;line-height:1.4;margin:0}
.hin-library-page .hin-library-resource .hin-library-icon .s13c-lib-icon{height:48px!important;width:48px!important;flex-shrink:0}
/* Keep the decorative CTA drawing inside the copy column. */
.s13b-final-cta > .s13c-local-illustration{display:none}

/* Visual QA: video captions sit on the navy preview frame. */
main[data-s13b-route="/nen-tang-cong-nghe"] .hin-vslot > figcaption {
  color: #fffaf0 !important;
  opacity: 1 !important;
}

/* Schedule + classroom polish: structured rhythm, legible type, no detached white islands. */
main[data-s13b-route="/schedule"] .s13-section { padding: clamp(52px,7vw,92px) clamp(18px,4vw,54px); background: linear-gradient(180deg,#fbfaf6 0%,#f1f4fa 100%); }
main[data-s13b-route="/schedule"] .s13-section + .s13-section { border-top: 1px solid rgba(18,35,91,.08); }
main[data-s13b-route="/schedule"] .s13-section > h2 { max-width: 760px; margin: 0 0 28px; color: #10245b; font-size: clamp(30px,4vw,48px); line-height: 1.08; letter-spacing: -.035em; }
main[data-s13b-route="/schedule"] .s13-section > .hin-v2-kicker { margin-bottom: 12px; }
main[data-s13b-route="/schedule"] .s13-section .hin-v2-grid { align-items: stretch; gap: clamp(16px,2.2vw,26px); }
main[data-s13b-route="/schedule"] .s13-section .hin-v2-grid > .hin-card { display:flex; flex-direction:column; min-height:230px; padding: clamp(22px,2.4vw,32px); background:rgba(255,255,255,.78); border:1px solid rgba(18,35,91,.14); box-shadow:0 16px 34px rgba(18,35,91,.08); }
main[data-s13b-route="/schedule"] .s13-section .hin-v2-grid > .hin-card h3 { color:#10245b; font-size:clamp(20px,2.2vw,28px); line-height:1.18; }
main[data-s13b-route="/schedule"] .s13-section .hin-v2-grid > .hin-card p { color:#445271; line-height:1.7; }
main[data-s13b-route="/schedule"] .s13-section .hin-v2-grid > .hin-card .hin-v2-btn { margin-top:auto; align-self:flex-start; }
main[data-s13b-route="/schedule"] .s13b-classroom-proof, main[data-s13b-route="/schedule"] .s13b-tech-grid { gap:clamp(22px,4vw,56px); align-items:center; }
main[data-s13b-route="/schedule"] .s13b-classroom-proof > div, main[data-s13b-route="/schedule"] .s13b-tech-grid > .hin-card { background:rgba(255,255,255,.7); border:1px solid rgba(18,35,91,.12); border-radius:20px; padding:clamp(20px,3vw,32px); }
main[data-s13b-route="/schedule"] .s13b-classroom-proof h3, main[data-s13b-route="/schedule"] .s13b-tech-grid h3 { color:#10245b; margin-top:0; font-size:clamp(22px,2.5vw,32px); }
main[data-s13b-route="/schedule"] .s13b-classroom-proof li, main[data-s13b-route="/schedule"] .s13b-tech-grid p { color:#445271; line-height:1.7; }
main[data-s13b-route="/schedule"] .s13b-class-rules { background:#12235b; color:#fff; }
main[data-s13b-route="/schedule"] .s13b-class-rules > h2, main[data-s13b-route="/schedule"] .s13b-class-rules h3 { color:#fff; }
main[data-s13b-route="/schedule"] .s13b-class-rules .hin-card { height:100%; background:#1b3478; border-color:rgba(255,255,255,.18); }
main[data-s13b-route="/schedule"] .s13b-class-rules .hin-card p { color:#dce4fa; }
@media(max-width:700px){main[data-s13b-route="/schedule"] .s13-section{padding:46px 18px} main[data-s13b-route="/schedule"] .s13-section .hin-v2-grid > .hin-card{min-height:0} main[data-s13b-route="/schedule"] .s13b-classroom-proof > div,main[data-s13b-route="/schedule"] .s13b-tech-grid > .hin-card{padding:20px} }

/* Technology page: alternate paper/navy bands keep LMS evidence grounded. */
main[data-s13b-route="/nen-tang-cong-nghe"] .s13-section { padding: clamp(50px,7vw,90px) clamp(18px,4vw,54px); background:linear-gradient(180deg,#fbfaf6,#eef2f8); }
main[data-s13b-route="/nen-tang-cong-nghe"] .s13-section:nth-of-type(even) { background:#12235b; color:#fff; }
main[data-s13b-route="/nen-tang-cong-nghe"] .s13-section:nth-of-type(even) h2, main[data-s13b-route="/nen-tang-cong-nghe"] .s13-section:nth-of-type(even) h3 { color:#fff; }
main[data-s13b-route="/nen-tang-cong-nghe"] .s13-section:nth-of-type(even) p { color:#dce4fa; }
main[data-s13b-route="/nen-tang-cong-nghe"] .s13-card-grid, main[data-s13b-route="/nen-tang-cong-nghe"] .hin-v2-grid { gap:clamp(16px,2.2vw,26px); }
main[data-s13b-route="/nen-tang-cong-nghe"] .hin-card { height:100%; padding:clamp(22px,2.4vw,32px); background:rgba(255,255,255,.82); border:1px solid rgba(18,35,91,.14); }
main[data-s13b-route="/nen-tang-cong-nghe"] .s13-section:nth-of-type(even) .hin-card { background:#1b3478; border-color:rgba(255,255,255,.2); }
main[data-s13b-route="/nen-tang-cong-nghe"] .s13c-lms-chapter { padding-block:clamp(48px,7vw,86px); }
