/* Narrow-screen repair for the legacy home carousel; desktop stays original. */
.cms-business{width:calc(100% - 64px)!important;max-width:1240px!important;margin:0 auto!important;padding:64px 0 80px!important;box-sizing:border-box}
.cms-business .sec3{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px!important;width:100%!important}
.cms-business .sec3 .sec3__item{display:flex!important;flex-direction:column!important;width:auto!important;min-width:0;margin:0!important;overflow:hidden;border:1px solid #e3e9ed;border-radius:20px;background:#fff;box-shadow:0 12px 36px #10283f0a}
.cms-business .sec3 .item__img{order:-1;position:relative!important;inset:auto!important;width:100%!important;height:220px!important;min-height:0!important;flex:none!important;overflow:hidden;margin:0!important;background:#edf2f5}
.cms-business .sec3 .item__img img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;position:static!important;transform:none!important}
.cms-business .sec3 .item__img img[src*="1777522972.png"]{object-fit:contain!important;background:#f3f5f7;padding:16px;box-sizing:border-box}
.cms-business .sec3 .item__info{width:auto!important;flex:1!important;padding:32px 36px 36px!important;box-sizing:border-box}
.cms-business .sec3 .info__title{font-size:30px!important;line-height:1.4!important;letter-spacing:0!important;color:#142c3b!important;margin:0!important}
.cms-business .sec3 .info__title:after{content:"";display:block;width:40px;height:4px;border-radius:4px;background:#00a9d9;margin-top:16px}
.cms-business .sec3 .info__desc{width:100%!important;margin:22px 0 0!important;font-size:17px!important;line-height:2.15!important;text-align:left!important;color:#52616c!important;overflow-wrap:anywhere}
.cms-business .sec3 .info__desc p{font-size:inherit!important;line-height:inherit!important;margin:0!important}
@media(max-width:767px){.cms-business{width:calc(100% - 36px)!important;padding:28px 0 40px!important}.cms-business .sec3{grid-template-columns:minmax(0,1fr);gap:24px!important}.cms-business .sec3 .item__img{height:180px!important}.cms-business .sec3 .item__info{padding:24px!important}.cms-business .sec3 .info__title{font-size:25px!important}.cms-business .sec3 .info__desc{font-size:16px!important;line-height:2!important;margin-top:18px!important}}
.cms-business .sec3{grid-template-columns:minmax(0,1fr);gap:28px!important}
.cms-business .sec3 .sec3__item{display:grid!important;grid-template-columns:minmax(260px,.85fr) minmax(0,1.65fr);border-radius:18px}
.cms-business .sec3 .item__img{height:100%!important;min-height:300px!important;background:linear-gradient(145deg,#eff5f8,#e3ecf2)}
.cms-business .sec3 .item__img img{object-fit:contain!important;padding:24px;box-sizing:border-box;background:transparent!important}
.cms-business .sec3 .item__info{padding:36px!important}
.cms-business .sec3 .info__desc{margin-top:24px!important}
.cms-business-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0!important;padding:0!important;list-style:none!important}
.cms-business-points li{display:flex;align-items:flex-start;gap:12px;padding:16px 14px;background:#f5f8fa;border:1px solid #eaf0f3;border-radius:10px;color:#354a58;font-size:15px;line-height:1.8;min-width:0;box-sizing:border-box}
.cms-business-number{display:flex;align-items:center;justify-content:center;flex:0 0 28px;height:28px;border-radius:8px;background:#e1f3fa;color:#087da5;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1}
.cms-business-point-title{display:block;margin-bottom:7px;font-size:16px;font-weight:700;color:#173e53;line-height:1.6}
@media(max-width:1000px){.cms-business .sec3 .sec3__item{grid-template-columns:minmax(200px,.7fr) minmax(0,1.3fr)}.cms-business-points{grid-template-columns:minmax(0,1fr)}}
@media(max-width:767px){.cms-business .sec3 .sec3__item{grid-template-columns:minmax(0,1fr)}.cms-business .sec3 .item__img{height:190px!important;min-height:0!important}.cms-business .sec3 .item__info{padding:24px!important}.cms-business-points li{font-size:15px;padding:14px}.cms-business .sec3 .info__desc{margin-top:20px!important}}
.cms-mobile-content{display:none}.cms-video-dialog{position:fixed;inset:0;background:#000c;display:grid;place-items:center;z-index:1000000;padding:20px}.cms-video-dialog>div{width:min(1000px,95vw);color:white}.cms-video-dialog video{width:100%;max-height:80vh;background:#000}.cms-video-dialog button{display:block;margin-left:auto;padding:10px 20px;font-size:16px}.cms-video-dialog p{text-align:center;font-size:16px}
@media (max-width: 767px) {
  .cms-mobile-content{display:block}.cms-desktop-content:has(+.cms-mobile-content){display:none}
  .ibanner_box { width: 100% !important; height: auto !important; background: #000; }
  .ibanner_box > .ibanner { width: 100% !important; height: auto !important; padding: 0 !important; margin: 0 !important; inset: auto !important; }
  .ibanner_box > .ibanner > .owl-carousel { width: 100% !important; margin: 0 !important; }
  .ibanner_box .video__container { height: 580px; }
  .ibanner_box .product__pic { width: 100% !important; height: 580px !important; object-fit: cover; object-position: center; }
  .ibanner_box .video__mask { padding: 40px 18px 48px !important; text-align: center; }
  .ibanner_box .video__mask .block { width: 100%; height: 185px; display: flex; align-items: center; justify-content: center; }
  .ibanner_box .video__mask .block img { width: auto !important; max-width: 95% !important; height: auto !important; max-height: 180px; object-fit: contain; }
  .ibanner_box .video__title { font-size: 20px !important; line-height: 1.5 !important; letter-spacing: 1px !important; margin-top: 20px !important; }
  .ibanner_box .video__desc { font-size: 25px !important; line-height: 1.55 !important; letter-spacing: 1px !important; margin-top: 12px !important; }
  .ibanner_box .video__more { margin-top: 20px !important; }
  .ibanner_box .owl-nav { display: none !important; }
  .ibanner_box .owl-dots { bottom: 18px !important; }
}

.cms-gallery{display:grid;gap:12px}.cms-gallery img{display:block;max-width:100%;height:auto;margin:auto}
.cms-product-subnav{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;padding:22px 20px;background:#f4f5f6;border-bottom:1px solid #ddd}
.cms-product-subnav a{display:block;padding:10px 20px;border:1px solid #ccc;border-radius:4px;background:white;color:#333;font-size:16px;line-height:1.5;text-align:center}
.cms-product-subnav a:hover,.cms-product-subnav a[aria-current=page]{background:#27bf99;color:#fff;border-color:#27bf99}
.cms-product-nav{height:auto!important}.cms-product-nav .wrap{width:100%!important;max-width:1400px;box-sizing:border-box}.cms-product-nav ul{display:flex!important;flex-wrap:wrap;justify-content:center;width:100%!important}.cms-product-nav ul:before,.cms-product-nav ul:after{display:none!important}.cms-product-nav li{float:none!important;width:auto!important;flex:1 1 160px;height:auto!important}.cms-product-nav a{display:block!important;padding:16px 12px!important;font-size:16px!important;line-height:1.5!important;height:auto!important;text-align:center;white-space:normal!important}
@media(max-width:767px){.cms-product-nav li{flex:1 1 45%}.cms-product-nav a{font-size:14px!important;padding:12px 8px!important}}
@media(max-width:767px){.cms-product-subnav{padding:16px 12px;gap:10px}.cms-product-subnav a{padding:8px 12px;font-size:14px;flex:1 1 auto}}
.home-knx-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;max-width:1200px;margin:48px auto 0;padding:0 24px 56px;box-sizing:border-box}
.home-knx-products>a{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:32px 24px;background:#f5f5f5;color:#111;text-decoration:none;min-width:0}
.home-knx-products img{display:block;width:100%;height:360px;object-fit:contain;transition:transform .2s}
.cms-home-feature{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:1440px;width:calc(100% - 64px);margin:40px auto 0;gap:24px;text-align:center}
.cms-home-feature>a{display:block;min-width:0;overflow:hidden;background:#f5f5f5;color:#111;text-decoration:none}
.cms-home-feature .cms-home-scene img{display:block;width:100%;height:100%;min-height:360px;object-fit:cover}
.cms-home-product-image{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4/3;overflow:hidden}
.cms-home-product-image img{width:82%!important;height:82%!important;max-width:82%!important;max-height:82%!important;object-fit:contain!important;transform:scale(var(--image-optical-scale,1)) translate(var(--image-shift-x,0%),var(--image-shift-y,0%));transform-origin:center}
.cms-home-feature .cms-home-product h3{font-size:22px;line-height:1.5;margin:0;padding:0 24px 28px;overflow-wrap:anywhere}
@media(max-width:767px){.cms-home-feature{width:calc(100% - 32px);gap:16px;margin-top:24px;grid-template-columns:minmax(0,1fr)}.cms-home-feature .cms-home-scene img{height:230px;min-height:0}.cms-home-product-image{max-height:320px}.cms-home-feature .cms-home-product h3{font-size:18px;padding:0 18px 22px}}
.home-knx-products a:hover img{transform:scale(1.03)}
.home-knx-products h3{font-size:24px;line-height:1.5;margin:24px 0 0;text-align:center;overflow-wrap:break-word}
.about_us .cms-about-products{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:48px;align-items:center;background:#0b0d10!important;height:auto!important;min-height:0!important;padding:72px max(32px,calc((100vw - 1440px)/2))!important;box-sizing:border-box;overflow:hidden}
.about_us .cms-about-products .sec__info{position:static!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;transform:none!important;box-sizing:border-box}
.about_us .cms-about-products .sec__title{font-size:clamp(24px,2.1vw,36px)!important;line-height:1.65!important;margin-bottom:28px!important;white-space:normal!important}
.about_us .cms-about-products .sec__text{width:100%!important;font-size:16px!important;line-height:1.9!important;margin:0!important;white-space:normal!important;overflow-wrap:break-word}
.about_us .cms-about-products .sec__text p{margin:0 0 18px!important}
.about_us .cms-about-products .sec__icon{display:none!important}
.about_us .cms-about-products .btns{margin-top:24px!important}
.cms-about-product-images{display:flex;flex-direction:column;align-items:center;gap:28px;min-width:0}
.cms-about-product-images img{display:block;width:100%!important;height:auto!important;max-width:100%!important;object-fit:contain}
.cms-about-product-images img+img{width:56%!important;max-width:300px!important}
@media(max-width:900px){.about_us .cms-about-products{grid-template-columns:1fr;gap:32px;padding:40px 22px!important}.about_us .cms-about-products .sec__title{font-size:24px!important}.cms-about-product-images{gap:24px}.cms-about-product-images img+img{width:60%!important;max-width:280px!important}}
.ibanner_box .second .block img{object-fit:contain!important;max-width:95%!important;width:4rem!important;height:auto!important;max-height:4rem}
@media(max-width:767px){.ibanner_box .second .block img{width:auto!important;height:auto!important;max-width:95%!important;max-height:180px!important}}
@media(max-width:767px){.home-knx-products{gap:14px;padding:0 16px 32px;margin-top:28px}.home-knx-products>a{padding:16px 10px}.home-knx-products img{height:190px}.home-knx-products h3{font-size:16px;margin-top:16px}}
.cms-languages{position:fixed;right:16px;bottom:20px;z-index:99999;display:flex;gap:0;background:#fff;border:1px solid #ddd;border-radius:20px;box-shadow:0 2px 10px #0002;overflow:hidden;font:14px/1.4 Arial,sans-serif}.cms-languages a{padding:8px 12px;color:#333}.cms-languages a[aria-current=true]{background:#222;color:#fff}
@media(max-width:767px){
 .product_index_page .con{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px!important}
 .product_index_page .con:before,.product_index_page .con:after{display:none!important}
 .product_index_page .case{width:auto!important;min-width:0;float:none!important;height:auto!important;margin:0!important;padding:0!important}
 .product_index_page .case .img{display:flex!important;align-items:center;justify-content:center;height:220px!important;width:100%!important;background:#f6f6f6}
 .product_index_page .case .img img{width:auto!important;height:auto!important;max-width:100%!important;max-height:220px!important;object-fit:contain}
 .product_index_page .case .subtitle{display:block!important;position:static!important;height:auto!important;min-height:0!important;line-height:1.4!important;font-size:17px!important;margin:12px 0 6px!important;white-space:normal!important;overflow-wrap:break-word!important}
 .product_index_page .case .buyWrapper{position:static!important;height:auto!important;margin:0!important}
 .product_index_page .case .desc{position:static!important;height:auto!important;line-height:1.5!important;font-size:14px!important;margin:0!important;white-space:normal!important;overflow-wrap:break-word!important}
 .mobile_key{cursor:pointer}
 #contForm .row{display:block!important;margin:0!important;width:100%!important}
 #contForm .row>[class*=span-]{float:none!important;width:100%!important;max-width:100%!important;padding:0!important;margin-bottom:14px!important;box-sizing:border-box}
 #contForm input:not([type=hidden]),#contForm textarea{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
 #contForm input[name=validate]{width:110px!important}
 #contForm{width:100%!important;max-width:100%!important;box-sizing:border-box}
 .foot .foot_top{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px!important;padding:28px 16px!important;box-sizing:border-box}
 .foot .foot_top>.link_list{float:none!important;width:auto!important;margin:0!important;padding:0!important;min-width:0}
 .foot .foot_top>.link_list ul{width:100%!important}
 .foot .foot_top a{white-space:normal!important;overflow-wrap:break-word;line-height:1.6!important}
 .foot .foot_middle{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:20px;padding:20px 16px!important}
 .foot .foot_middle>div{float:none!important;width:100%!important;margin:0!important}
 .foot .foot_middle .telphone{display:flex;flex-wrap:wrap;gap:8px;line-height:1.6!important}
 .foot .foot_middle .contact{display:flex!important;flex-wrap:wrap;gap:12px!important}
 .foot .foot_middle .contact .service{display:inline-flex!important;width:auto!important;min-width:130px;margin:0!important;height:auto!important}
 .foot .foot_middle .contact .service a{padding:8px!important;line-height:1.5!important;box-sizing:border-box}
}
@media(max-width:767px){html,body{max-width:100%;overflow-x:clip}img,video{max-width:100%}.cms-desktop-content img,.cms-mobile-content img{height:auto!important}.cms-languages{right:10px;bottom:12px}.cms-languages a{padding:8px 10px}input,textarea,select{max-width:100%;box-sizing:border-box}}

/* Main carousel title and supporting copy hierarchy. */
.ibanner_box .video__title{font-size:clamp(30px,3.2vw,56px)!important;line-height:1.35!important;letter-spacing:1px!important;font-weight:700!important}
.ibanner_box .video__desc{font-size:clamp(18px,1.6vw,26px)!important;line-height:1.65!important;letter-spacing:0!important;font-weight:400!important;margin-top:18px!important}
@media(max-width:767px){.ibanner_box .video__title{font-size:28px!important;line-height:1.4!important}.ibanner_box .video__desc{font-size:17px!important;line-height:1.6!important;margin-top:14px!important}}

/* First carousel: editable large product on the left, content on the right. */
.ibanner_box .cms-slide-split .video__mask{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:center!important;gap:48px!important;padding:100px max(40px,5vw) 70px!important;box-sizing:border-box;text-align:left!important}
.ibanner_box .cms-slide-split .block{width:100%!important;height:100%!important;min-height:0;display:flex!important;align-items:center;justify-content:center;margin:0!important}
.ibanner_box .cms-slide-split .block img{width:var(--slide-product-scale,88%)!important;max-width:520px!important;height:auto!important;max-height:380px!important;object-fit:contain!important;aspect-ratio:auto!important;background:transparent!important}
.ibanner_box .cms-slide-split .block img[src*="f12pro-knx-home"]{clip-path:inset(0 round 7px)}
.ibanner_box .cms-slide-split .block img[src*="indexbanner_first_12"]{clip-path:inset(2px)}
.cms-hero-product-frame{position:relative;width:var(--slide-product-scale,88%);max-width:520px;aspect-ratio:4/3;background:transparent}
.ibanner_box .cms-slide-split .cms-hero-product-frame img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;transform:scale(var(--image-optical-scale,1)) translate(var(--image-shift-x,0%),var(--image-shift-y,0%));transform-origin:center}
@media(max-width:767px){.cms-hero-product-frame{max-width:300px}}
.ibanner_box .cms-slide-split .cms-slide-copy{min-width:0;width:100%!important;align-self:center}
.ibanner_box .cms-slide-split .video__title{font-size:var(--slide-title-size,48px)!important;line-height:1.3!important;margin:0!important;letter-spacing:0!important;white-space:normal!important;overflow-wrap:anywhere}
.ibanner_box .cms-slide-split .video__desc{font-size:var(--slide-description-size,24px)!important;line-height:1.65!important;margin-top:24px!important;letter-spacing:0!important;white-space:normal!important;overflow-wrap:anywhere;max-width:100%;width:100%!important}
.ibanner_box .cms-slide-split .video__more{margin:32px 0 0!important;min-width:140px}
@media(max-width:900px){.ibanner_box .cms-slide-split .video__mask{gap:24px!important;padding:80px 24px 50px!important}.ibanner_box .cms-slide-split .video__title{font-size:clamp(26px,4vw,40px)!important}.ibanner_box .cms-slide-split .video__desc{font-size:clamp(17px,2vw,22px)!important}}
@media(max-width:767px){.ibanner_box .cms-slide-split .video__mask{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:240px auto;gap:20px!important;padding:64px 22px 54px!important;text-align:center!important}.ibanner_box .cms-slide-split .block{height:240px!important}.ibanner_box .cms-slide-split .block img{max-height:240px!important;width:var(--slide-product-scale,100%)!important;max-width:100%!important}.ibanner_box .cms-slide-split .video__title{font-size:clamp(24px,6vw,30px)!important}.ibanner_box .cms-slide-split .video__desc{font-size:17px!important;margin-top:14px!important}.ibanner_box .cms-slide-split .video__more{margin:22px auto 0!important}.ibanner_box .cms-slide-split{height:650px!important}.ibanner_box .cms-slide-split>.product__pic{height:650px!important}}

.cms-product-documents{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap;padding:20px 24px;background:#f7f8fa;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;font:16px/1.5 Arial,sans-serif;color:#333}
.cms-product-documents .cms-document-item{display:flex;flex-direction:column;gap:3px}.cms-product-documents a{display:block;color:#fff;background:#222;padding:10px 22px;border-radius:4px}.cms-product-documents a:hover{background:#159d7c}.cms-product-documents small{font-size:12px;color:#777}.cms-product-documents span{color:#777;font-size:14px}.cms-document-top{position:sticky;top:90px;z-index:90}
@media(max-width:767px){.cms-product-documents{gap:12px;padding:14px 12px;font-size:14px}.cms-product-documents strong{width:100%;text-align:center}.cms-product-documents a{padding:9px 16px}.cms-document-top{top:50px}}

/* Consistent product thumbnail frames and optical size. */
.product_index_page .content .case .img{display:flex!important;align-items:center;justify-content:center;aspect-ratio:4/3;height:auto!important;line-height:normal!important;overflow:hidden;background:#f5f5f5}
.product_index_page .content .case .img img{display:block;width:82%!important;height:82%!important;max-width:82%!important;max-height:82%!important;object-fit:contain!important;transform:scale(var(--list-image-scale,1));transition:transform .2s}
.product_index_page .content .case .img:hover img{transform:scale(calc(var(--list-image-scale,1)*1.03))!important}
.product_index_page .content .case .img img{transform:scale(calc(var(--image-optical-scale,1)*var(--list-image-scale,1))) translate(var(--image-shift-x,0%),var(--image-shift-y,0%));transform-origin:center}
.product_index_page .content .case .img:hover img{transform:scale(calc(var(--image-optical-scale,1)*var(--list-image-scale,1)*1.03)) translate(var(--image-shift-x,0%),var(--image-shift-y,0%))!important}
