/* Compact controls are progressively enhanced; the original links remain
   available without JavaScript. Desktop keeps its approved navigation. */
body.site-v2.page-home .home-mobile-picker { display: none; }
@media (min-width: 1101px) {
  body.site-v2.page-home .industry-filters {
    flex-wrap: nowrap;
    gap: 5px;
  }
  body.site-v2.page-home .industry-filters a {
    flex: 1 0 auto;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
    padding-inline: 6px;
  }
}
@media (min-width: 1101px) and (max-width: 1500px) {
  body.site-v2.page-home .industry-filters { gap: 4px; }
  body.site-v2.page-home .industry-filters a { padding-inline: 4px; }
  body.site-v2.page-home .industry-filters .bo-icon { display: none; }
}
@media (max-width: 1100px) {
  body.site-v2.page-home .home-carousel .banner-inner {
    flex: 0 0 auto;
    align-items: flex-start;
    padding: 28px 20px 16px;
  }
  /* Shorter copy gives space back to the photograph, not an empty text box.
     The shared carousel row still prevents the following page from jumping. */
  body.site-v2.page-home .home-carousel .visual-banner picture,
  body.site-v2.page-home .home-carousel #banner-05-manufatura .manufacturing-scenes {
    flex: 1 0 auto;
    min-height: clamp(210px,56vw,360px);
    height: auto;
  }
  body.site-v2.page-home .home-carousel .banner-copy :is(h1,h2) {
    font-size: clamp(30px, 8.2vw, 38px) !important;
    line-height: 1.1;
    margin: 0 0 16px;
  }
  body.site-v2.page-home .home-carousel .banner-copy :is(h1,h2) br { display: none; }
  body.site-v2.page-home .home-carousel .banner-copy :is(h1,h2) em { display: block; }
  body.site-v2.page-home .home-carousel .banner-copy .eyebrow { margin: 0 0 16px; }
  body.site-v2.page-home .home-carousel .banner-lead {
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 18px;
    max-width: none;
  }
  body.site-v2.page-home .home-carousel .banner-lead br { display: none; }
  body.site-v2.page-home .home-carousel .banner-copy .btn {
    min-height: 48px;
    max-width: 100%;
    white-space: normal;
  }
  body.site-v2.page-home .home-carousel .hero-controls {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 8px 16px 4px;
    min-width: 0;
  }
  body.site-v2.page-home .home-carousel:has(.home-mobile-choice) .hero-tabs { display: none; }
  body.site-v2.page-home .home-mobile-picker {
    display: block;
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 11px 30px 11px 12px;
    box-sizing: border-box;
    border: 1px solid #c9dcf4;
    border-radius: 6px;
    background: #f1f7ff;
    color: #12394e;
    font: 600 16px/1.3 Raleway, sans-serif;
  }
  body.site-v2.page-home .home-mobile-picker::after {
    content: ''; position: absolute; right: 12px; top: calc(50% - 4px);
    width: 6px; height: 6px; border-right: 2px solid; border-bottom: 2px solid;
    transform: rotate(45deg); pointer-events: none;
  }
  body.site-v2.page-home .home-mobile-picker:focus-within { outline: 2px solid #006ce5; outline-offset: 2px; }
  body.site-v2.page-home .home-choice-text { display: block; white-space: normal; overflow-wrap: anywhere; pointer-events: none; }
  body.site-v2.page-home .home-mobile-choice {
    display: block; position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0; cursor: pointer; font-size: 16px; margin: 0;
  }
  body.site-v2.page-home .hero-arrows {
    position: static;
    gap: 4px; flex: 0 0 auto; padding: 0; border-radius: 0;
    background: transparent; box-shadow: none;
  }
  body.site-v2.page-home .home-carousel .home-mobile-picker { flex: 0 0 auto; width: 100%; }
  body.site-v2.page-home .hero-arrows [data-hero-counter] { display: block; padding: 0 3px; color: #506580; font-size: 12px; }
  body.site-v2.page-home .hero-arrows button {
    width: 32px; height: 32px; min-width: 32px; min-height: 32px;
    padding: 0; border: 0; border-radius: 4px;
    background: transparent; box-shadow: none; font-size: 18px;
  }
  body.site-v2.page-home .hero-arrows button:hover { background: #eaf3ff; }
  body.site-v2.page-home .industry-toolbar button { width: 44px; height: 44px; min-width: 44px; }
  body.site-v2.page-home .has-mobile-choice .industry-filters,
  body.site-v2.page-home .has-mobile-choice .industry-toolbar > span,
  body.site-v2.page-home .has-mobile-choice .industry-count { display: none; }
  body.site-v2.page-home .has-mobile-choice .industry-toolbar {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 16px 0 12px;
    padding: 0;
  }
  body.site-v2.page-home .has-mobile-choice .industry-toolbar > div:not(.home-mobile-picker) {
    display: flex;
    flex: 0 0 auto;
    gap: 4px;
  }
}
