/* Site polish v1.7.6: lower page readability + image layout refresh */
.bp-design .container,
.bp-design .container-wide,
.bp-design .container-narrow{max-width:none}
.bp-design .container{width:min(1320px,calc(100% - 52px))}
.bp-design .container-wide{width:min(1440px,calc(100% - 52px))}
.bp-design .container-narrow{width:min(980px,calc(100% - 52px))}
.bp-design :where(h1,h2,h3,p,li,dt,dd,figcaption,small,span){word-break:normal;overflow-wrap:anywhere}
.bp-design :where(h1,h2,.section-title){text-wrap:balance}
.bp-design .bp-hero__copy{max-width:min(760px,54vw)}
.bp-design .bp-hero__copy h1{line-height:1.35}
.bp-design .bp-hero__copy>p:last-child{max-width:58ch;line-height:1.95}
.bp-design .bp-page-title__grid{grid-template-columns:minmax(180px,.52fr) minmax(0,1.6fr);gap:clamp(32px,5vw,90px)}
.bp-design .bp-page-title__main,
.bp-design .bp-page-title__main p,
.bp-design .bp-profile__intro>p,
.bp-design .bp-gallery__lead{max-width:none}
.bp-design .bp-section__layout{grid-template-columns:minmax(220px,.72fr) minmax(0,1.45fr);column-gap:clamp(36px,5vw,96px)}
.bp-design .bp-section__heading{max-width:none}
.bp-design .bp-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.bp-design .bp-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.bp-design .bp-card,
.bp-design .bp-feature-grid article,
.bp-design .bp-next__grid a{min-height:unset}
.bp-design .bp-card h3,
.bp-design .bp-feature-grid h3,
.bp-design .bp-problem-grid h3,
.bp-design .bp-service-grid h3{line-height:1.4}
.bp-design .bp-service-grid{gap:22px;padding:0}
.bp-design .bp-service-grid figure{aspect-ratio:4/3}
.bp-design .bp-service-grid p{font-size:13px;line-height:1.85;padding-right:0;max-width:none}
.bp-design .bp-service-grid small{font-size:10px;letter-spacing:.14em}
.bp-design .bp-service-grid>a>div{padding-top:10px}
.bp-design .bp-problem-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;border:0}
.bp-design--index-diagnostic .bp-problem-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.bp-design .bp-problem-grid>a{border:1px solid var(--cl-card-border)!important;border-radius:26px;padding:0!important;min-height:100%;overflow:hidden;background:var(--cl-card-bg)}
.bp-design .bp-problem-card__media{aspect-ratio:4/3;overflow:hidden}
.bp-design .bp-problem-card__media img{width:100%;height:100%;object-fit:cover;display:block}
.bp-design .bp-problem-card__body{padding:22px 24px 54px}
.bp-design .bp-problem-grid>a>span{right:22px;bottom:18px;top:auto}
.bp-design .bp-gallery__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.bp-design .bp-gallery__card{margin:0}
.bp-design .bp-gallery__card img{aspect-ratio:4/3;object-fit:cover}
.bp-design .bp-gallery__card figcaption{line-height:1.8}
.bp-design .bp-profile__wrap{grid-template-columns:minmax(0,.95fr) minmax(0,.9fr);gap:clamp(24px,4vw,60px)}
.bp-design .bp-company__wrap dl>div{grid-template-columns:minmax(180px,.42fr) minmax(0,1fr)}
.bp-design .bp-faq__wrap,.bp-design .bp-note__inner{max-width:none}
.bp-design .bp-next__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;border:0}
.bp-design .bp-next__grid a{border:1px solid var(--cl-card-border)!important;border-radius:22px;padding:24px 22px!important}
@media (max-width: 1180px){
  .bp-design .container,
  .bp-design .container-wide,
  .bp-design .container-narrow{width:min(100%,calc(100% - 40px))}
  .bp-design .bp-hero__copy{max-width:min(720px,62vw)}
  .bp-design .bp-gallery__grid,
  .bp-design--index-diagnostic .bp-problem-grid,
  .bp-design .bp-next__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 820px){
  .bp-design .container,
  .bp-design .container-wide,
  .bp-design .container-narrow{width:min(100%,calc(100% - 28px))}
  .bp-design .bp-hero__copy{max-width:none;width:min(100%,660px)}
  .bp-design .bp-page-title__grid,
  .bp-design .bp-section__layout,
  .bp-design .bp-profile__wrap{grid-template-columns:1fr!important;gap:26px}
  .bp-design .bp-card-grid,
  .bp-design .bp-feature-grid,
  .bp-design .bp-service-grid,
  .bp-design .bp-problem-grid,
  .bp-design .bp-gallery__grid,
  .bp-design .bp-next__grid,
  .bp-design--index-diagnostic .bp-problem-grid{grid-template-columns:1fr!important}
  .bp-design .bp-problem-card__body{padding:18px 18px 46px}
}
