/* Keep the original 960px desktop export. Reflow the 480px variant below it. */
a:focus-visible { outline: 3px solid #25383c; outline-offset: 3px; }
@media (max-width:959px) {
  #xr_xr { width:100% !important; height:auto !important; }
  #xr_td { position:static !important; }
  #xr_td > .wl-desktop, body > .xr_strb, #xr_bph { display:none !important; }
  #xr_td > .wl-mobile { display:block !important; position:relative !important; width:100% !important; height:auto !important; }
  .wl-flow { display:flex; flex-direction:column; gap:24px; padding:0 16px 24px; box-sizing:border-box; position:static !important; width:100% !important; height:auto !important; }
  .wl-flow > .wl-block { position:relative !important; inset:auto !important; width:auto !important; max-width:100%; height:auto !important; min-width:0; overflow:visible !important; }
  .wl-text, .wl-text * { position:static !important; inset:auto !important; width:auto !important; height:auto !important; white-space:normal !important; unicode-bidi:normal !important; overflow-wrap:anywhere; line-height:1.6; text-align:left !important; }
  .wl-text > h1, .wl-text > h2, .wl-text > h3 { display:block; margin:0 0 12px !important; }
  .wl-text > span { display:inline; }
  .wl-text { font-size:16px !important; }
  .wl-flow > img { width:100% !important; height:auto !important; object-fit:contain; }
  .wl-mobile .xr_xpos { border-bottom:1px solid #ff6200; }
  .wl-mobile .xr_xpos > div { position:static !important; display:flex; flex-wrap:wrap; justify-content:center; gap:0 4px; }
  .wl-mobile .xr_nb0 { position:relative !important; }
  .wl-mobile .xr_nb0 a { display:flex; align-items:center; min-height:44px; }
  .wl-mobile .xr_nb0 img { position:static !important; }
  .wl-mobile .xr_nb0 .xr_ro, .wl-mobile .xr_nb0 .xr_rs { display:none !important; }
  .wl-mobile iframe { width:100%; max-width:100%; height:350px; }
  .wl-mobile .simpleGallery { width:100% !important; height:auto !important; }
  .wl-mobile ul.xgallery { display:flex; flex-wrap:wrap; width:100% !important; padding:0; }
  .wl-mobile ul.xgallery li { width:50% !important; margin:0 !important; height:auto !important; }
  .wl-mobile ul.xgallery img { width:100% !important; height:auto !important; }
  .wl-mobile .holder { display:flex; flex-wrap:wrap; clear:both; }
  .wl-mobile .holder a { min-width:30px; min-height:44px; line-height:44px; }
}
@media (min-width:960px) { .wl-flow { display:none; } }
@media (max-width:959px) {
  .wl-mobile > .xr_xri_, .wl-mobile > .xr_pp { display:none !important; }
  .wl-mobile [id^="xr_xo"], .wl-mobile [id^="xr_xd"] { display:none !important; }
  .wl-separator { display:none !important; } /* decorative footer dividers */
  .wl-contact-line::before { content:''; display:block; margin-top:8px; }
  .wl-mobile .holder { position:static !important; width:auto !important; height:auto !important; margin:0 0 12px !important; padding:0 !important; background:transparent !important; box-shadow:none !important; }
  .wl-mobile .holder a { position:static !important; cursor:pointer; }
  .wl-mobile .simpleGallery > div[id$="OuterDiv"] { width:100% !important; }
  .wl-mobile .simpleGallery ul { height:auto !important; min-height:0 !important; }
  .wl-mobile .simpleGallery li img { transform:none !important; }
}
@media (max-width:959px) {
  .wl-paragraph-start::before { content:''; display:block; margin-top:16px; }
}
@media (max-width:959px) {
  .highslide-container .highslide-wrapper { max-width:calc(100vw - 16px); }
  .highslide-container img.highslide-image { max-width:calc(100vw - 32px) !important; height:auto !important; box-sizing:border-box; }
}
/* On narrow screens show the complete original gallery as a wrapping grid.
   This removes dependence on fixed-height page counts; every image remains a link. */
@media (max-width:959px) {
  .wl-mobile .holder { display:none !important; }
  .wl-mobile ul.xgallery li { display:block !important; visibility:visible !important; opacity:1 !important; animation:none !important; }
  .highslide-container table { max-width:100vw; }
}
@media (max-width:959px) { .highslide-container .highslide-outline { display:none !important; } }
@media (max-width:959px) {
  .wl-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .wl-gallery img { display:block; width:100%; height:auto; box-sizing:border-box; border:4px solid #eee; }
}

@media (max-width:959px) {
  .wl-text span { display:inline !important; transform:none !important; }
  .wl-text .wl-bullet::before { content:''; display:block; margin-top:8px; }
}
