/* Small, reversible site-wide corrections found during the September 2026 audit. */

@media (max-width: 991px) {
  /* Classic 9 makes every carousel 100vw wide. Inside the 15px mobile gutter,
     that creates a horizontal scroll and shifts the homepage slider. */
  #index #carousel {
    left: 0;
    right: auto;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  /* Keep the Inspirations case studies inside the viewport on phones. */
  #cms .block_img.left,
  #cms .block_text.right {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  #cms .block_text.right .s_block1 {
    padding-right: 24px;
    padding-left: 24px;
  }

  #cms .block_text.right .img_sblock1 {
    float: none;
    width: 100%;
    max-width: 100%;
  }

  #cms .refl_util {
    padding-right: 0;
    overflow-wrap: anywhere;
  }
}
