/* AIO HOME LAYOUT 2026-10-27 — loaded only on "/" when $aio_home_layout_on (layout-header.php). Rollback: set it false. */
/* hero: stronger primary CTA */
body.ng .home-hero__cta--primary{min-height:48px;font-size:17px;padding-left:26px;padding-right:26px;box-shadow:0 6px 16px rgba(0,100,159,.28)}
body.ng .home-hero__subtitle--short{max-width:34em;margin-left:auto;margin-right:auto}
/* latest questions: answered / needs-an-answer chips (markup ships with [hidden]; shown only here) */
body.ng .home-latest__status[hidden]{display:inline-block}
body.ng .home-latest__status{font-size:12px;font-weight:700;line-height:1.5;border-radius:999px;padding:1px 8px;margin-left:8px;margin-right:auto;white-space:nowrap}
body.ng .home-latest__status--ok{background:#e6f4ea;color:#1e6b34}
body.ng .home-latest__status--need{background:#fff4e0;color:#7a4300}
/* 5 items on phones */
@media (max-width:767px){body.ng .home-latest__list>.home-latest__item:nth-child(n+6){display:none}}
/* merged "Browse by Topic" card */
body.ng section.home-popular-topics.home-browse{border-radius:18px;padding:4px 14px 6px}
body.ng .home-browse .home-popular-topics__title{padding:18px 4px 12px}
body.ng .home-browse .home-popular-topics__list{display:grid !important;grid-template-columns:1fr 1fr !important;gap:10px !important;padding:0 0 14px !important;margin:0 !important;list-style:none !important}
body.ng .home-browse .home-popular-topics__list li{margin:0 !important}
body.ng .home-browse .home-popular-topics__list li a{display:flex !important;align-items:center !important;min-height:48px !important;height:100% !important;box-sizing:border-box !important;padding:10px 12px !important;border-radius:12px !important;background:#f6f8fb !important;color:#00649f !important;border:1px solid #e3e8ef !important;font-weight:700 !important;font-size:15px !important;line-height:1.25 !important;text-decoration:none !important}
body.ng .home-browse .home-popular-topics__list li a:hover{background:#f2f7ff !important;border-color:#dbeaff !important}
@media (min-width:768px){body.ng .home-browse .home-popular-topics__list{grid-template-columns:repeat(4,1fr) !important}}
body.ng .home-browse::before{display:none}
body.ng .home-browse .home-browse__all{grid-column:1/-1}
