/* V1.2.4 — shared outer edges for every V90 page type. */
body.agfv90-site{--agfv90-gutter:5vw}
body.agfv90-site #agfv90-main:is(.agfv90-design,.agfv90-mag,.agfv90-page,.agfv90-woo,.agfv90-project,.agft-page){width:100%;max-width:none;margin-inline:0;box-sizing:border-box;min-width:0}
body.agfv90-site #agfv90-main:is(.agfv90-mag,.agfv90-page,.agfv90-woo){padding-inline:var(--agfv90-gutter)}
body.agfv90-site #agfv90-main.agfv90-design{padding-inline:0}
body.agfv90-site #agfv90-main.agfv90-design :is(.hero,.section,.agfv90-portal-section){padding-inline:var(--agfv90-gutter)}
/* Standard page titles and content use the same edge, without another outer panel. */
body.agfv90-site .agfv90-page>.agfv90-content{padding-inline:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body.agfv90-site .agfv90-page>.agfv90-content:first-child{padding-top:0}
/* Editorial blocks may span the page; plain prose stays comfortable to read. */
body.agfv90-site .agfv90-mag-single :is(.agfv90-mag-article-head,.agfv90-mag-body,.agfv90-mag-article-end,.agfv90-comments){width:100%;max-width:none;margin-left:0;margin-right:0}
body.agfv90-site .agfv90-mag-body .agfv90-entry-content>:is(p,ul,ol,blockquote){max-width:100ch}
body.agfv90-site .agfv90-mag-body .agfv90-entry-content>article{width:100%;max-width:none;margin-inline:0}
body.agfv90-site .agfv90-mag-body .agfv90-entry-content>article[class^="agf-week-"] .hero-photo img{max-height:480px;object-fit:contain;background:#0b0b12}
@media(min-width:1100px){
 body.agfv90-site .agfv90-mag-body article[class^="agf-week-"]>.hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:28px;padding:38px}
 body.agfv90-site .agfv90-mag-body article[class^="agf-week-"] .intro{padding:0}
 body.agfv90-site .agfv90-mag-body article[class^="agf-week-"] .hero-photo{margin:0}
 body.agfv90-site .agfv90-mag-body article[class^="agf-week-"]>section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:36px;align-items:start}
 body.agfv90-site .agfv90-mag-body article[class^="agf-week-"]>section>:is(.section-top,h2,h3,.sources,figure){grid-column:1/-1}
}
/* Team and the known project plugins keep their own design, using the shared grid. */
body.agfv90-site .agft{width:100%;max-width:none;margin-inline:0;padding-inline:var(--agfv90-gutter)}
body.agfv90-site .agfv90-project{padding:0}
body.agfv90-site .agfv90-project .ngm-landing.ngm-fullwidth{width:100%;max-width:none;margin-inline:0}
body.agfv90-site .agfv90-project .ngm-shell{width:90%;max-width:none;margin-inline:auto}
body.agfv90-site .agfv90-project .due-shell :is(.due-header,.due-hero,.due-products,.due-footer){padding-inline:var(--agfv90-gutter)}
body.agfv90-site .agfv90-project .due-product-grid{max-width:none}
body.agfv90-site .agfv90-project .agfpw :is(.agfpw-intro,.agfpw-book,.agfpw-footer){width:100%;max-width:none;margin-inline:0;padding-inline:var(--agfv90-gutter);box-sizing:border-box}
body.agfv90-site #agfv90-main{overflow-wrap:anywhere}
body.agfv90-site .agfv90-mag-masthead>div{min-width:0;max-width:100%}
