/*
Theme Name: Area Marketer® Website Production OS
Template: bricks
Version: 1.0.0
*/

/* AM QA chrome parity fix: Bricks wrapper geometry + native footer sections */
@media (min-width:901px){#brx-header{height:70px!important;position:absolute!important;top:0;left:0;width:100%;}}
#brx-footer .am-footer-brand,#brx-footer .am-footer-map,#brx-footer .am-footer-hours{display:block!important;}

/* AM exact-clone typography normalization: neutralize Bricks frontend defaults */
body.bricks-is-frontend{font-size:16px!important;line-height:normal!important;}
body.bricks-is-frontend h1,body.bricks-is-frontend h2,body.bricks-is-frontend h3,body.bricks-is-frontend h4,body.bricks-is-frontend h5,body.bricks-is-frontend h6{line-height:normal!important;}

/* AM Blog: completed archive/page loop */
.am-blog-page-editor{padding:clamp(64px,8vw,100px) 24px;}
.am-blog-page-inner{width:min(1180px,100%);margin-inline:auto;}
.am-post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(28px,4vw,48px);margin-top:32px;}
.am-post-card{display:flex;flex-direction:column;gap:14px;min-width:0;}
.am-post-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;}
.am-post-card h2,.am-post-card p{margin:0;}
.am-post-card h2{font-size:clamp(1.35rem,2.2vw,2rem);}
.am-post-card h2 a{color:inherit;text-decoration:none;}
.am-post-card h2 a:hover{text-decoration:underline;text-underline-offset:.18em;}
.am-post-card p{line-height:1.6;}
.am-blog-page-inner>.brxe-pagination{margin-top:40px;}
@media(max-width:700px){.am-blog-page-editor{padding:56px 20px;}.am-post-grid{grid-template-columns:1fr;gap:32px;}}

/* Area Marketer - image framing remediation 2026-10-02 */
@media (min-width:901px){
  .v5-hero{height:auto!important;aspect-ratio:1920/900!important;background:#111!important;}
  .v5-hero img{object-fit:cover!important;object-position:center 42%!important;}
  .am-page-hero>img{object-position:center 42%!important;}
  .am-slider{height:min(57.2917vw,900px)!important;min-height:420px!important;}
  .am-slide img{object-position:center 35%!important;}
}
@media (max-width:900px){
  .v5-hero,.am-page-hero{height:auto!important;min-height:0!important;aspect-ratio:16/9!important;background:#111!important;overflow:hidden!important;width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;}
  .v5-hero img,.am-page-hero>img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center 32%!important;background:#111!important;}
  .v5-hero h1,.am-page-hero-title h1{font-size:clamp(24px,8vw,34px)!important;line-height:1.05!important;padding:0 16px!important;}
  .am-slider{height:auto!important;min-height:0!important;aspect-ratio:16/9!important;background:#111!important;overflow:hidden!important;width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;}
  .am-slide img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center 32%!important;background:#111!important;}
}
.v12-team-img,.v5-team-img,.v5-founder-img,.v12-quote-thumb,.v5-quote-img{object-position:center 20%!important;}
.v5-story-img{object-position:center 35%!important;}
/* Keep the instructor faces visible instead of placing the title over them. */
#brxe-b70c7j{place-items:end center!important;padding-bottom:clamp(18px,3vw,34px)!important;}

/* Full-frame remediation for content images that were heavily cropped. */
.v5-founder-img{height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;}
.v5-story-media{min-height:0!important;align-self:center!important;aspect-ratio:800/537!important;}
.v5-story-img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;}
.am-post-card img{object-fit:contain!important;object-position:center center!important;background:#f3f3f3!important;}
@media (min-width:1570px){.am-slide img{object-fit:cover!important;object-position:center 35%!important;background:#111!important;}}

@media (min-width:901px){#brxe-db7h1n img{object-fit:cover!important;object-position:center 38%!important;background:#111!important;}}

/* Homepage slider: viewport-height without distorting source framing */
@media (min-width:901px){
  body.home.bricks-is-frontend .am-slider{
    height:min(100vh,57.2917vw)!important;
    height:min(100svh,57.2917vw)!important;
    min-height:0!important;
    max-height:none!important;
  }
  body.home.bricks-is-frontend .am-slide img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center 35%!important;
  }
}
@media (min-width:901px) and (min-aspect-ratio:3/2){
  body.home.bricks-is-frontend .am-slider{
    height:100vh!important;
    height:100svh!important;
  }
}

/* Homepage mobile slider: full visible viewport below 70px sticky header - 2026-10-02 */
@media (max-width:900px){
  body.home.bricks-is-frontend .am-slider{
    height:calc(100vh - 70px)!important;
    height:calc(100svh - 70px)!important;
    height:calc(100dvh - 70px)!important;
    min-height:calc(100vh - 70px)!important;
    min-height:calc(100svh - 70px)!important;
    min-height:calc(100dvh - 70px)!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    overflow:hidden!important;
  }
  body.home.bricks-is-frontend .am-slide img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    background:#111!important;
  }
  body.home.bricks-is-frontend .am-slide:nth-child(1) img{object-position:50% 45%!important;}
  body.home.bricks-is-frontend .am-slide:nth-child(2) img{object-position:74% 42%!important;}
  body.home.bricks-is-frontend .am-slide:nth-child(3) img{object-position:55% 45%!important;}
  body.home.bricks-is-frontend .am-slide:nth-child(4) img{object-position:54% 42%!important;}
  body.home.bricks-is-frontend .am-slide:nth-child(5) img{object-position:56% 44%!important;}
  body.home.bricks-is-frontend .am-slide:nth-child(6) img{object-position:62% 42%!important;}
}

/* Preserve intrinsic image ratios for Lighthouse/Best Practices without changing card design. */
.v12-event-img{height:auto!important;aspect-ratio:1300/1317!important;}
.v12-event-img img{width:100%!important;height:auto!important;aspect-ratio:1300/1317!important;object-fit:cover!important;}
.v12-services a{aspect-ratio:1/1!important;}
.v12-services a img{width:100%!important;height:100%!important;aspect-ratio:1/1!important;object-fit:cover!important;}
