/* Match the approved home page column without cropping full-width heroes. */
body:not(.home){--ag-page-width:1000px;--ag-page-gutter:max(28px,calc((100% - var(--ag-page-width))/2))}
body:not(.home) #main>:is(.page-title,.article-body,.archive-list,.ag-detail-layout,.ag-detail-contact,.ag-sector-directory){box-sizing:border-box;width:100%;max-width:none;margin-inline:0;padding-inline:var(--ag-page-gutter)}
body:not(.home) #main>.ag-detail-layout>.article-body{width:100%;min-width:0;max-width:none;margin:0;padding:0}
body:not(.home) #main>.ag-detail-layout{gap:36px}
body:not(.home) #main .ag-sector-directory ul{max-width:1000px;gap:20px}
body:not(.home) #main :is(.ag-about-hero-copy,.ag-strategy-hero>div,.ag-sector-hero-copy){inset-inline-start:var(--ag-page-gutter)}
body:not(.home) #main .ag-contact-layout{gap:40px}
body:not(.home) #main .ag-strategy-focus{gap:44px}
/* Give the service sidebar room, and keep vertical spacing compact. */
body.single-ag_service{--ag-page-width:1100px}
body:not(.home) #main>.page-title{padding-block:32px}
body:not(.home):not(.ag-about-page) #main>:is(.article-body,.archive-list,.ag-detail-layout){padding-block:36px 48px}
body.ag-about-page #main>.article-body{padding-bottom:24px}
body:not(.home) #main>.ag-detail-contact{padding-block:30px}
@media(max-width:760px){
 body:not(.home) #main .ag-sector-hero-copy{padding-inline:var(--ag-page-gutter)}
 body:not(.home) #main .ag-contact-layout{gap:28px}
}
@media(max-width:650px){body:not(.home){--ag-page-gutter:24px}}
