/* AVENIA 3.7 targeted visual corrections — original section master files untouched. */
/* Header: approved wordmark + left-aligned supporting descriptor */
#home .site-header .brand-text {align-items:flex-start!important;text-align:left!important;}
#home .site-header .brand-wordmark {margin:0 0 2px 0!important;align-self:flex-start!important;}
#home .site-header .brand-positioning {align-self:flex-start!important;text-align:left!important;margin:0!important;max-width:100%;}
/* Solution: make the main heading a centered, balanced composition. */
#our-solution .inner > h2.serif {text-align:center!important;margin-left:auto!important;margin-right:auto!important;max-width:1100px;}
#our-solution .inner > h2.serif span {display:block;text-align:center!important;margin-left:auto!important;margin-right:auto!important;}
/* Common photo rail keeps the line at exactly one-third of page width. */
@media(min-width:731px){
 #about.about-v2,#faq.faq-next-v2{grid-template-columns:minmax(0,33.333333%) minmax(0,66.666667%)!important;column-gap:0!important;}
 #about .about-pic,#faq .faq-photo{min-width:0!important;width:100%!important;box-sizing:border-box!important;overflow:hidden;}
}
/* FAQ: frozen-size scenery; accordion changes NEVER resize/re-crop the picture. */
#faq .faq-photo {isolation:isolate;background:#f8f1e7!important;position:relative!important;align-self:stretch!important;}
#faq .faq-photo::before{height:calc(100vw * 0.45404)!important;background-image:url('assets/faq-office.webp')!important;background-position:top center!important;background-size:100% auto!important;background-repeat:no-repeat!important;mask-image:linear-gradient(to bottom,#000 0%,#000 83%,transparent 100%)!important;-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 83%,transparent 100%)!important;}
#faq .faq-photo::after{content:none!important;}
/* Giving both photographic rails the same intentional edge unifies the seam. */
#about .about-pic,#faq .faq-photo{border-right:1px solid rgba(196,158,109,.25)!important;}
@media(max-width:730px){
 #home .site-header .brand-positioning{text-align:left!important;align-self:flex-start!important;}
 #faq .faq-photo{height:258px!important;min-height:258px!important;}
 #faq .faq-photo::before{height:258px!important;background-size:cover!important;background-position:center 38%!important;mask-image:none!important;-webkit-mask-image:none!important;}
}
/* The FAQ photo should occupy the whole normal page section, not stop abruptly
   above a large beige void. Fixed-height photography is independent of accordion growth. */
@media(min-width:731px){
 #faq .faq-photo::before{
   height:clamp(930px,70vw,1130px)!important;
   background-size:auto 100%!important;
   background-position:center top!important;
   -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 91%,transparent 100%)!important;
   mask-image:linear-gradient(to bottom,#000 0%,#000 91%,transparent 100%)!important;
 }
}
