/* One outer frame for header, footer and every page family. */
:root{--aras-page-frame:1180px;--aras-page-frame:min(1180px,calc(100vw - 40px))}
@media(max-width:700px){:root{--aras-page-frame:calc(100vw - 24px)}}
html :is(body,#aras-layout) .aras-category-page .aras-cat-wrap,
html :is(body,#aras-layout) .aras-spp-wrap,
html :is(body,#aras-layout) .arap-soft-home-root .container,
html :is(body,#aras-layout) .aras-expo1405-wrap,
html :is(body,#aras-layout) .aras-expo1405-hero-inner,
html :is(body,#aras-layout) .preview-directory{box-sizing:border-box!important;width:var(--aras-page-frame)!important;max-width:var(--aras-page-frame)!important;margin-inline:auto!important;padding-inline:0!important}
@supports not (inset: 0){
html body .aras-category-page .aras-cat-wrap,html #aras-layout .aras-category-page .aras-cat-wrap,
html body .aras-spp-wrap,
html #aras-layout .aras-spp-wrap,
html body .arap-soft-home-root .container,
html #aras-layout .arap-soft-home-root .container,
html body .aras-expo1405-wrap,
html #aras-layout .aras-expo1405-wrap,
html body .aras-expo1405-hero-inner,
html #aras-layout .aras-expo1405-hero-inner,
html body .preview-directory,
html #aras-layout .preview-directory{box-sizing:border-box!important;width:var(--aras-page-frame)!important;max-width:var(--aras-page-frame)!important;margin-inline:auto!important;padding-inline:0!important}}
html body #aras-global-footer#aras-global-footer{box-sizing:border-box!important;width:var(--aras-page-frame)!important;max-width:var(--aras-page-frame)!important;margin-inline:auto!important}
html body.aras-agency-request-page #content,html body.aras-agency-request-page #content>.page-content,html body.aras-agency-request-page .aras-agency-page{width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important}
html body.aras-agency-request-page .aras-agency-hero{padding-inline:0!important}
html body.aras-agency-request-page .aras-agency-hero-inner,html body.aras-agency-request-page .aras-agency-wrap{box-sizing:border-box!important;width:var(--aras-page-frame)!important;max-width:var(--aras-page-frame)!important;margin-inline:auto!important;padding-inline:0!important}
html body #arasArticle#arasArticle{box-sizing:border-box!important;width:var(--aras-page-frame)!important;max-width:var(--aras-page-frame)!important;padding-inline:0!important;margin-inline:auto!important}
html body #arasArticle .article-hero{max-width:none!important;padding-inline:0!important}
html body .aras-about-embed,html body .aras-about-frame,html body .aras-contact-embed{width:100%!important;max-width:none!important;margin-inline:0!important}
html body.post-1320 #content,html body.page-id-1320 #content{width:100%!important;max-width:none!important;padding-inline:0!important}
html body.page-id-1320 .elementor-top-section>.elementor-container{width:var(--aras-page-frame)!important;max-width:var(--aras-page-frame)!important;margin-inline:auto!important}

/* Core 2.4.37 — remove legacy inner rails, so every template uses the same outer edges. */
html :is(body,#aras-layout) .aras-category-page :is(.aras-cat-hero-final,.aras-cat-grid,.cert-grid){
  box-sizing:border-box!important;width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important;min-width:0!important
}
@supports not (inset: 0){
html body .aras-category-page .aras-cat-hero-final,html body .aras-category-page .aras-cat-grid,html body .aras-category-page .cert-grid,html #aras-layout .aras-category-page .aras-cat-hero-final,html #aras-layout .aras-category-page .aras-cat-grid,html #aras-layout .aras-category-page .cert-grid{
  box-sizing:border-box!important;width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important;min-width:0!important
}}
html :is(body,#aras-layout) .aras-category-page :is(.aras-cat-hero-top,.aras-cat-hero-copy-final){padding-inline:0!important;min-width:0!important}
@supports not (inset: 0){
html body .aras-category-page .aras-cat-hero-top,html body .aras-category-page .aras-cat-hero-copy-final,html #aras-layout .aras-category-page .aras-cat-hero-top,html #aras-layout .aras-category-page .aras-cat-hero-copy-final{padding-inline:0!important;min-width:0!important}}
html :is(body,#aras-layout) .aras-category-page .aras-cat-hero-layout{min-width:0!important}
@supports not (inset: 0){
html body .aras-category-page .aras-cat-hero-layout,html #aras-layout .aras-category-page .aras-cat-hero-layout{min-width:0!important}}
html :is(body,#aras-layout) .aras-category-page :is(.aras-cat-filterbar,.cert-filters){box-sizing:border-box!important;max-width:100%!important;margin-inline:0!important;justify-self:start!important}
@supports not (inset: 0){
html body .aras-category-page .aras-cat-filterbar,html body .aras-category-page .cert-filters,html #aras-layout .aras-category-page .aras-cat-filterbar,html #aras-layout .aras-category-page .cert-filters{box-sizing:border-box!important;max-width:100%!important;margin-inline:0!important;justify-self:start!important}}
html :is(body,#aras-layout) .aras-dealers{box-sizing:border-box!important;width:var(--aras-page-frame)!important;max-width:var(--aras-page-frame)!important;margin-inline:auto!important;padding-inline:0!important}
@supports not (inset: 0){
html body .aras-dealers,html #aras-layout .aras-dealers{box-sizing:border-box!important;width:var(--aras-page-frame)!important;max-width:var(--aras-page-frame)!important;margin-inline:auto!important;padding-inline:0!important}}
html body.aras-core-design-page :is(.aras-agency-page,.aras-expo1405-page){width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important}
@supports not (inset: 0){
html body.aras-core-design-page .aras-agency-page,html body.aras-core-design-page .aras-expo1405-page{width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important}}
html body.aras-core-design-page:has(.aras-expo1405-page) :is(#content,#content>.page-content){width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important}
/* The about page uses its own document; apply the same frame inside that document. */
html body[data-aras-embedded-document="about"]>main{box-sizing:border-box!important;width:var(--aras-page-frame)!important;max-width:none!important;margin-inline:auto!important;padding-inline:0!important}
/* Card tracks must stretch with the rail; the old fixed 344px tracks left a second inset. */
html :is(body,#aras-layout) .aras-category-page:not(.aras-blog-page):not(.aras-catalogue-page) .aras-cat-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;justify-content:stretch!important;align-items:stretch!important}
@supports not (inset: 0){
html body .aras-category-page:not(.aras-blog-page):not(.aras-catalogue-page) .aras-cat-grid,html #aras-layout .aras-category-page:not(.aras-blog-page):not(.aras-catalogue-page) .aras-cat-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;justify-content:stretch!important;align-items:stretch!important}}
html :is(body,#aras-layout) .aras-category-page .aras-cat-grid>.aras-v18-card{box-sizing:border-box!important;min-width:0!important;width:100%!important;max-width:none!important;margin-inline:0!important}
@supports not (inset: 0){
html body .aras-category-page .aras-cat-grid>.aras-v18-card,html #aras-layout .aras-category-page .aras-cat-grid>.aras-v18-card{box-sizing:border-box!important;min-width:0!important;width:100%!important;max-width:none!important;margin-inline:0!important}}
@media(max-width:1000px){html :is(body,#aras-layout) .aras-category-page:not(.aras-blog-page):not(.aras-catalogue-page) .aras-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}@supports not (inset: 0){html body .aras-category-page:not(.aras-blog-page):not(.aras-catalogue-page) .aras-cat-grid,html #aras-layout .aras-category-page:not(.aras-blog-page):not(.aras-catalogue-page) .aras-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}}
@media(max-width:700px){html :is(body,#aras-layout) .aras-category-page:not(.aras-blog-page):not(.aras-catalogue-page) .aras-cat-grid{grid-template-columns:minmax(0,1fr)!important}@supports not (inset: 0){html body .aras-category-page:not(.aras-blog-page):not(.aras-catalogue-page) .aras-cat-grid,html #aras-layout .aras-category-page:not(.aras-blog-page):not(.aras-catalogue-page) .aras-cat-grid{grid-template-columns:minmax(0,1fr)!important}}}
