/* NGA FIX2836: restore natural flow and isolate the cheat-sheet hero from inherited .pagehead rules */
/* Important: older .section / .wrap page styles impose sizes. Scope all overrides to this page. */
body .nga2835-library.nga2832-library { display:block !important; height:auto !important; min-height:0 !important; overflow:visible !important; padding:28px 0 58px !important; }
body .nga2835-library.nga2832-library > .wrap { display:block !important; width:calc(100% - 36px) !important; max-width:1240px !important; margin:0 auto !important; padding:0 !important; overflow:visible !important; }
body .nga2835-library .nga2835-hero { position:relative !important; display:grid !important; grid-template-columns:minmax(0,1fr) minmax(280px,360px) !important; gap:30px !important; align-items:center !important; width:100% !important; max-width:100% !important; height:auto !important; min-height:0 !important; margin:0 0 28px !important; padding:30px 34px !important; box-sizing:border-box !important; overflow:visible !important; }
body .nga2835-library .nga2835-hero-copy { display:flex !important; flex-direction:column !important; align-items:flex-start !important; position:static !important; width:auto !important; min-width:0 !important; height:auto !important; max-height:none !important; margin:0 !important; padding:0 !important; transform:none !important; }
body .nga2835-library .nga2835-hero .eyebrow { display:block !important; position:static !important; margin:0 0 10px !important; font-size:11px !important; line-height:1.6 !important; letter-spacing:.12em !important; white-space:normal !important; }
body .nga2835-library .nga2835-hero h1 { display:block !important; position:static !important; width:auto !important; height:auto !important; max-height:none !important; margin:0 0 10px !important; padding:0 !important; font-size:clamp(28px,3vw,42px) !important; line-height:1.18 !important; letter-spacing:-.025em !important; overflow-wrap:break-word !important; }
body .nga2835-library .nga2835-hero p { display:block !important; position:static !important; height:auto !important; margin:0 !important; padding:0 !important; max-width:65ch !important; line-height:1.65 !important; font-size:15px !important; overflow-wrap:anywhere !important; }
body .nga2835-library .nga2835-hero-stats { position:static !important; height:auto !important; margin:15px 0 0 !important; line-height:1.5 !important; align-items:center !important; }
body .nga2835-library .nga2835-search-label { position:static !important; display:flex !important; flex-direction:column !important; width:auto !important; height:auto !important; min-width:0 !important; margin:0 !important; padding:0 !important; align-self:center !important; }
body .nga2835-library .nga2835-search-label input { display:block !important; width:100% !important; min-width:0 !important; height:48px !important; box-sizing:border-box !important; padding:10px 13px !important; }
body .nga2835-library .nga2836-intro-details { margin:0 0 22px !important; padding:0 !important; }
body .nga2835-library .nga2836-intro-details>summary { cursor:pointer; width:max-content; max-width:100%; border:1px solid #d4e4f4; border-radius:9px; padding:10px 14px; font-size:13px; color:#315779; background:#fff; }
body .nga2835-library .nga2836-intro-details .resource-preserved-intro { margin:12px 0 0 !important; max-width:100% !important; }
body .nga2835-library .nga2835-category-nav { display:flex !important; flex-wrap:wrap !important; align-items:center !important; height:auto !important; min-height:0 !important; margin:0 0 24px !important; padding:0 !important; position:static !important; }
body .nga2835-library .nga2835-list { position:static !important; display:block !important; height:auto !important; min-height:0 !important; margin:0 !important; padding:0 !important; }
body .nga2835-library .cheat-category-section { display:block !important; position:static !important; height:auto !important; min-height:0 !important; margin:0 0 30px !important; padding:0 !important; clear:both !important; }
body .nga2835-library .labs-category-title { display:block !important; height:auto !important; min-height:0 !important; margin:0 0 16px !important; padding:0 !important; position:static !important; }
body .nga2835-library .labs-category-title h2 { display:block !important; height:auto !important; position:static !important; font-size:26px !important; line-height:1.25 !important; margin:0 0 7px !important; padding:0 !important; }
body .nga2835-library .labs-category-title p { display:block !important; margin:0 0 10px !important; line-height:1.65 !important; font-size:14px !important; height:auto !important; }
body .nga2835-library .nga2833-category-notes { display:block; margin:0 0 18px !important; clear:both !important; }
body .nga2835-library .cheat-card-grid { clear:both !important; margin-top:16px !important; width:100% !important; }
@media(max-width:900px){body .nga2835-library .nga2835-hero{grid-template-columns:1fr !important;gap:18px !important;padding:24px !important}}
@media(max-width:560px){body .nga2835-library.nga2832-library>.wrap{width:calc(100% - 24px) !important}body .nga2835-library .nga2835-hero{padding:20px !important;margin-bottom:20px !important}body .nga2835-library .nga2835-hero h1{font-size:28px !important}body .nga2835-library .labs-category-title h2{font-size:22px !important}}
