/* Shared integration layer for location landings */
:root{
  --dsk-location-shell-max:var(--dsk-layout-shell-max,1240px);
  --dsk-location-shell-gutter:var(--dsk-layout-shell-gutter,20px);
  --dsk-location-content-max:var(--dsk-layout-content-max,1100px);
  --dsk-location-copy-max:var(--dsk-layout-copy-max,1040px);
}

.dsk-page-location .dsk-loc-page,
.dsk-page-location .dsk-loc-page *{
  box-sizing:border-box;
}

.dsk-page-location .dsk-loc-page :where(p,li,a,h1,h2,h3,h4,h5,h6,blockquote,figcaption,code,strong,em){
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:break-word;
  hyphens:auto;
}

.dsk-page-location .dsk-loc-page :where(img,svg,video,iframe,canvas,figure,table,pre){
  max-width:100% !important;
}

.dsk-page-location .dsk-loc-page :where(table,pre){
  display:block;
  overflow-x:auto;
}

.dsk-page-location .dsk-loc-page code{
  white-space:normal !important;
}

.dsk-page-location .dsk-loc-section__inner,
.dsk-page-location .dsk-loc-info-grid,
.dsk-page-location .dsk-loc-services-grid,
.dsk-page-location .dsk-loc-faq-list,
.dsk-page-location .dsk-loc-access-grid,
.dsk-page-location .dsk-loc-pills,
.dsk-page-location .dsk-loc-cta-band__inner,
.dsk-page-location .dsk-loc-access-copy,
.dsk-page-location .dsk-loc-map-wrap,
.dsk-page-location .dsk-loc-map-shell,
.dsk-page-location .dsk-loc-hero__content{
  min-width:0;
}

.dsk-page-location .dsk-loc-copy{
  max-width:min(820px,var(--dsk-location-copy-max));
}

.dsk-page-location .dsk-loc-section__head{
  max-width:min(780px,var(--dsk-location-copy-max));
}

.dsk-page-location .dsk-loc-faq-list{
  max-width:min(920px,var(--dsk-location-copy-max));
}

@media (min-width:1024px){
  /* Stage 19 — location landing readability parity: keep the shared wide shell for the page container, but do not upsize the copy/head/FAQ measure from their existing 1040/820/780/920 system to the full 1320px shell on desktop. */
  :root{
    --dsk-location-shell-max:var(--dsk-layout-shell-max,var(--site-max-width,1320px));
    --dsk-location-shell-gutter:var(--dsk-layout-shell-gutter,var(--mobile-gutter,20px));
    --dsk-location-content-max:var(--dsk-layout-content-max,1100px);
    --dsk-location-copy-max:var(--dsk-layout-copy-max,1040px);
  }

  .dsk-page-location .dsk-loc-copy,
  .dsk-page-location .dsk-loc-section__head,
  .dsk-page-location .dsk-loc-faq-list{
    width:100%;
  }
}

@media (min-width:769px){
  body.dsk-page-location main .container.sb-container-fixed.sb-container{
    width:min(var(--dsk-location-shell-max),calc(100% - (var(--dsk-location-shell-gutter) * 2))) !important;
    max-width:var(--dsk-location-shell-max) !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:var(--dsk-location-shell-gutter) !important;
    padding-right:var(--dsk-location-shell-gutter) !important;
  }
}

@media (min-width:821px){
  /* Stage 57 pass 4 — Bialoleka location landing: FAQ cards and the bottom CTA
     must share the same inner 1280px band as the footer grid, not mixed 920px and
     full-container widths. Keep the readable copy inside each card unchanged; only
     normalize the section wrappers. */
  body.dsk-page-location-bialoleka .dsk-loc-faq-list,
  body.dsk-page-location-bialoleka .dsk-loc-cta-band__inner,
  body.dsk-page-location-bialoleka .dsk-loc-faq .dsk-loc-section__inner,
  body.dsk-page-location-bialoleka .dsk-loc-cta-band > .container,
  body.dsk-page-location-bialoleka .dsk-loc-cta-band .container.dsk-loc-cta-band__inner,
  body.dsk-page-location-bialoleka .dsk-loc-faq > .container,
  body.dsk-page-location-bialoleka .dsk-loc-faq .container.dsk-loc-section__inner,
  body.dsk-page-location-bialoleka .dsk-loc-page .dsk-loc-wrap,
  body.dsk-page-location-bialoleka .dsk-loc-page .dsk-wrap,
  body.dsk-page-location-bialoleka .dsk-loc-page .dsk-wrap--shell{
    width:min(calc(var(--dsk-location-shell-max) - (var(--dsk-location-shell-gutter) * 2)),calc(100% - (var(--dsk-location-shell-gutter) * 4))) !important;
    max-width:calc(var(--dsk-location-shell-max) - (var(--dsk-location-shell-gutter) * 2)) !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
    box-sizing:border-box !important;
  }

  body.dsk-page-location-bialoleka .dsk-loc-faq-list{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    box-sizing:border-box !important;
  }

  body.dsk-page-location-bialoleka .dsk-loc-cta-band__inner,
  body.dsk-page-location-bialoleka .container.dsk-loc-cta-band__inner{
    width:min(calc(var(--dsk-location-shell-max) - (var(--dsk-location-shell-gutter) * 2)),calc(100% - (var(--dsk-location-shell-gutter) * 4))) !important;
    max-width:calc(var(--dsk-location-shell-max) - (var(--dsk-location-shell-gutter) * 2)) !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }
}
