
.demo-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:12px}.demo-heading h2{margin:0!important;flex:1 1 auto}
button.demo-watch{display:inline-flex;align-items:center;gap:10px;background:#fffdf7;color:#234c3c;border:1px solid #789181;border-radius:999px;padding:11px 16px;min-height:46px;font:600 15px/1.3 system-ui;cursor:pointer;white-space:nowrap;box-shadow:0 2px 5px #234c3c09}button.demo-watch:hover{background:#e8eee4;border-color:#234c3c;box-shadow:0 3px 10px #234c3c16}button.demo-watch:focus-visible{outline:3px solid #b79743;outline-offset:4px}.demo-time{font-size:12px;font-weight:500;color:#627367;border-left:1px solid #c5cfc2;padding-left:10px}
#video-demo{padding:0;border:0;border-radius:18px;width:min(1000px,94vw);max-width:94vw;background:#fafbf7;box-shadow:0 25px 90px #0005}#video-demo::backdrop{background:rgba(14,32,26,.76)}.demo-toolbar{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;gap:12px}.demo-toolbar h2{margin:0;font:600 21px system-ui;color:#234c3c}.demo-close{border:1px solid #bccabc;background:transparent;border-radius:50%;width:42px;height:42px;font:27px system-ui;color:#234c3c;cursor:pointer}#demo-player{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#14291f}.demo-note{margin:0;padding:13px 20px;color:#58695c;font:14px system-ui}
@media(max-width:650px){.demo-heading{align-items:flex-start;gap:12px}.demo-heading h2{flex-basis:100%}button.demo-watch{font-size:14px}.demo-toolbar h2{font-size:18px}}


#search-by-name .demo-heading,
#resources .demo-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; width:100%; align-items:center; gap:16px; }
#resources .section-heading { display:block; width:100%; }
#resources .section-heading > div { width:100%; max-width:none; }
#resources .section-heading > p { margin:12px 0 20px; text-align:left; max-width:none; }
.demo-heading button.demo-watch { justify-self:end; margin-left:auto; }
@media(max-width:800px) {
 #search-by-name .demo-heading, #resources .demo-heading { grid-template-columns:minmax(0,1fr); }
 .demo-heading button.demo-watch { justify-self:end; }
}
