
/* Minimal repairs to the saved Kallyas layout; original CSS remains in place. */
html{scroll-behavior:smooth}body{margin:0!important}#wm-ipp-base,#wm-ipp-print{display:none!important}
.site-header{top:0!important}.site-header .site-logo-img{max-width:210px!important;max-height:85px!important;width:auto!important;height:auto!important;object-fit:contain!important}
.site-header .site-logo-img-sticky{max-width:180px!important;max-height:70px!important}
#main-menu .main-menu-nav>li>.main-menu-link{white-space:nowrap}
#main-menu .main-menu-nav>li .sub-menu{z-index:9999!important}
.archive-hero{position:relative;height:min(620px,58vw);min-height:350px;overflow:hidden;background:#192335}
.archive-hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .8s ease;background-position:center;background-size:cover;display:flex;align-items:center}
.archive-hero-slide.active{opacity:1;z-index:1}
.archive-hero-inner{max-width:1170px;width:100%;margin:auto;padding:20px 32px;color:white}
.archive-hero-inner h2{max-width:750px;font-size:clamp(30px,4vw,59px);line-height:1.15;font-weight:700;color:white;text-shadow:0 2px 8px #0005}
.archive-hero-controls{position:absolute;z-index:3;bottom:20px;left:0;right:0;text-align:center}
.archive-hero-controls button{border:0;background:transparent;color:#ffffff90;font-size:21px;cursor:pointer;padding:4px 8px}
.archive-hero-controls button.selected{color:white}
@media(max-width:767px){.archive-hero{height:420px}.archive-hero-inner h2{font-size:31px}.site-header .site-logo-img{max-width:155px!important}}

/* Consistent content sizing and responsive repair, without rewriting copy. */
.zn_pb_wrapper img:not(.logo-img):not(.logo-img-sticky){max-width:100%;height:auto}
.zn_pb_wrapper .container{max-width:1170px;width:calc(100% - 32px);margin-left:auto;margin-right:auto}
.zn_pb_wrapper .row{min-width:0}
.zn_pb_wrapper [class*="col-"]{min-width:0}
.zn_pb_wrapper p,.zn_pb_wrapper h1,.zn_pb_wrapper h2,.zn_pb_wrapper h3,.zn_pb_wrapper h4{overflow-wrap:break-word}
#main-menu .main-menu-nav>li .sub-menu{min-width:220px}
@media(max-width:767px){.zn_pb_wrapper .row{margin-left:-8px;margin-right:-8px}.zn_pb_wrapper [class*="col-"]{padding-left:8px;padding-right:8px}}
/* Contact page refresh: typography, alignment and cards. */
.page-contact-clean .contact-clean{background:#f5f7fa;padding:75px 0 95px!important;min-height:0!important}
.page-contact-clean .contact-clean__wrap{max-width:1170px;width:calc(100% - 36px);margin:auto}
.page-contact-clean .contact-clean__intro{text-align:center;margin:0 auto 40px}
.page-contact-clean .contact-clean__eyebrow{display:block;color:#be1e2d;font-size:12px;letter-spacing:3px;font-weight:700;margin-bottom:10px}
.page-contact-clean .contact-clean__intro h2{font-size:clamp(27px,3vw,39px);font-weight:750;color:#1c2634;line-height:1.25;margin:0 0 8px}
.page-contact-clean .contact-clean__intro p{color:#647080;font-size:15px;margin:0}
.page-contact-clean .contact-clean__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.page-contact-clean .contact-clean__card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:14px;background:white;border:1px solid #e7eaf0;border-radius:9px;box-shadow:0 12px 34px rgba(23,38,55,.06);padding:32px 28px;min-height:205px;text-decoration:none!important;transition:transform .2s,box-shadow .2s}
.page-contact-clean a.contact-clean__card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(23,38,55,.12)}
.page-contact-clean .contact-clean__icon{font-size:29px;line-height:1;color:#be1e2d}
.page-contact-clean .contact-clean__label{font-size:12px;font-weight:700;letter-spacing:1.5px;color:#7a8592}
.page-contact-clean .contact-clean__card strong{font-size:clamp(15px,1.5vw,19px);line-height:1.55;color:#202a38;font-weight:650;overflow-wrap:anywhere}
.page-contact-clean #eluid128d3dfd .dn-heading{font-size:clamp(32px,4vw,54px);line-height:1.2}
@media(max-width:850px){.page-contact-clean .contact-clean__grid{grid-template-columns:1fr}.page-contact-clean .contact-clean__card{min-height:0;padding:25px}.page-contact-clean .contact-clean{padding:50px 0 65px!important}}

/* 2026-11-05: Restore archive image cards: title over photograph, no detached gradient box. */
body.home .image-boxes.imgboxes_style4{position:relative!important;overflow:hidden!important;margin:0!important;background:#17213e!important}
body.home .image-boxes.imgboxes_style4 > a.imgboxes4_link{position:relative!important;display:block!important;height:100%!important;min-height:0!important;overflow:hidden!important;text-decoration:none!important}
body.home .image-boxes.imgboxes_style4 .image-boxes-img-wrapper{display:block!important;position:relative!important;width:100%!important;height:100%!important;overflow:hidden!important}
body.home .image-boxes.imgboxes_style4 .image-boxes-img-wrapper img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center!important;transition:transform .35s ease}
body.home .image-boxes.imgboxes_style4 > a:hover img{transform:scale(1.035)}
body.home .image-boxes.imgboxes_style4 > a::after{content:"";position:absolute!important;left:0;right:0;bottom:0;height:43%;background:linear-gradient(to top,rgba(0,0,0,.78),rgba(0,0,0,0));pointer-events:none;z-index:1}
body.home .image-boxes.imgboxes_style4 .imgboxes-title{position:absolute!important;left:15px!important;bottom:14px!important;top:auto!important;right:12px!important;margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;z-index:3!important;text-align:left!important;color:white!important;font-size:14px!important;line-height:1.3!important;font-weight:600!important;text-transform:none!important}
body.home .image-boxes.imgboxes_style4 .imgboxes-title span{color:#fff!important;background:none!important;font-size:inherit!important}
body.home .image-boxes.imgboxes_style4 .imgboxes-title::after{content:"";display:block;width:35px;height:2px;margin-top:8px;background:#fff;opacity:.8}
body.home .image-boxes.imgboxes_style4 .imgboxes-border-helper{display:none!important}
/* Both homepage card rows have uniform archive-style proportions. */
body.home #eluid1a096724 .image-boxes.imgboxes_style4{height:clamp(165px,14vw,245px)!important}
body.home #eluid1a096724 .image-boxes.imgboxes_style4 .image-boxes-img-wrapper{height:100%!important}
body.home .image-boxes.imgboxes_style4:has(a[href="abkant-bukum.html"]),body.home .image-boxes.imgboxes_style4:has(a[href="cnc-lazer-kesim.html"]),body.home .image-boxes.imgboxes_style4:has(a[href="kaynakli-imalat.html"]),body.home .image-boxes.imgboxes_style4:has(a[href="firma-taleplerine-ozel-tasarim-ve-imalat.html"]){height:clamp(155px,13vw,230px)!important}
/* Faaliyet Alanlarımız: make title banner clear the sticky navigation. */
body.page-faaliyet-repaired .zn_pb_wrapper > section:first-child{padding-top:95px!important;padding-bottom:55px!important;min-height:245px!important;box-sizing:border-box!important}
body.page-faaliyet-repaired .zn_pb_wrapper > section:first-child .zn_section_size{min-height:120px!important;height:auto!important;display:flex!important;align-items:center!important;justify-content:center!important}
body.page-faaliyet-repaired .zn_pb_wrapper > section:first-child .zn_section_size > .row{width:100%!important}
@media(max-width:767px){body.page-faaliyet-repaired .zn_pb_wrapper > section:first-child{padding-top:105px!important;padding-bottom:40px!important;min-height:220px!important}body.home .image-boxes.imgboxes_style4{height:210px!important}}

/* 312 Metal: repair saved masonry gallery, which no longer has its original JS layout. */
body.home .gridPhotoGallery.eluid894ab3b3{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:0!important;width:100%!important;height:clamp(340px,36vw,530px)!important;position:relative!important;overflow:hidden!important}
body.home .gridPhotoGallery.eluid894ab3b3>.gridPhotoGallery__item--sizer{display:none!important}
body.home .gridPhotoGallery.eluid894ab3b3>.gridPhotoGallery__item{position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;float:none!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
body.home .gridPhotoGallery.eluid894ab3b3>.gridPhotoGalleryItem--w2{grid-column:span 2!important;grid-row:span 2!important}
body.home .gridPhotoGallery.eluid894ab3b3 .gridPhotoGallery__link,body.home .gridPhotoGallery.eluid894ab3b3 .gridPhotoGallery__imgAnimWrapper{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;overflow:hidden!important}
body.home .gridPhotoGallery.eluid894ab3b3 img.gridPhotoGallery__img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center 75%!important;transform:none!important}
body.home .gridPhotoGallery.eluid894ab3b3 .gridPhotoGallery__item:nth-child(3) img,body.home .gridPhotoGallery.eluid894ab3b3 .gridPhotoGallery__item:nth-child(4) img{object-position:center 90%!important}
body.home .gridPhotoGallery.eluid894ab3b3 .gridPhotoGallery__item:nth-child(5) img{object-position:center 90%!important}
body.home .gridPhotoGallery.eluid894ab3b3 .gridPhotoGallery__item:last-child img{object-fit:contain!important;object-position:center!important;background:#fff}
body.home .gridPhotoGallery.eluid894ab3b3 .gridPhotoGallery__link::after{display:none!important}
/* Keep the company logo inside its own tile and eliminate the displaced tiles. */
body.page-faaliyet-repaired #eluid128d3dfd{padding-top:0!important;padding-bottom:0!important;min-height:0!important;overflow:hidden!important}
body.page-faaliyet-repaired #eluid128d3dfd>.zn_section_size{height:270px!important;min-height:270px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding-top:65px!important;box-sizing:border-box!important}
body.page-faaliyet-repaired #eluid128d3dfd .zn-bgSource{height:100%!important}
body.page-faaliyet-repaired #eluid8fb5d4bf{padding-top:65px!important;clear:both!important}
body.page-faaliyet-repaired #eluid8fb5d4bf .zn_section_size{padding-top:0!important}
@media(max-width:767px){body.home .gridPhotoGallery.eluid894ab3b3{height:430px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(4,minmax(0,1fr))!important}body.home .gridPhotoGallery.eluid894ab3b3>.gridPhotoGalleryItem--w2{grid-column:span 2!important;grid-row:span 2!important}body.page-faaliyet-repaired #eluid128d3dfd>.zn_section_size{height:220px!important;min-height:220px!important;padding-top:70px!important}body.page-faaliyet-repaired #eluid8fb5d4bf{padding-top:45px!important}}

/* Final homepage slider crop: shorter, favor machinery over faces. */
body.home .archive-hero{
  height:clamp(270px,27vw,390px)!important;
  min-height:270px!important;
}
body.home .archive-hero-slide{
  background-position:center bottom!important;
  background-size:cover!important;
}
@media(max-width:767px){
  body.home .archive-hero{height:290px!important;min-height:290px!important}
  body.home .archive-hero-slide{background-position:center bottom!important}
}

/* Final mobile pass: preserve content, prevent heading wraps and overflow. */
@media(max-width:767px){
 html,body{max-width:100%;overflow-x:clip}
 .site-header{position:relative!important;z-index:1000!important}
 .site-header .siteheader-container{width:100%!important;max-width:100%!important;padding-left:16px!important;padding-right:16px!important}
 .site-header .site-logo-img{max-width:145px!important;max-height:55px!important}
 .zn_pb_wrapper .tbk__title{font-size:clamp(20px,5.5vw,27px)!important;line-height:1.2!important;letter-spacing:1px!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
 body.home .eluid217d8d57 .tbk__title{white-space:nowrap!important;font-size:clamp(19px,5.4vw,25px)!important;letter-spacing:.6px!important}
 body.home .eluid217d8d57{width:100%!important;max-width:100%!important}
 body.home .eluid217d8d57 .tbk__subtitle{font-size:14px!important;line-height:1.7!important}
 .zn_pb_wrapper .container{width:calc(100% - 24px)!important}
 body.home .gridPhotoGallery.eluid894ab3b3{height:auto!important;aspect-ratio:1/1.18;min-height:0!important;grid-template-rows:repeat(4,minmax(0,1fr))!important}
 body.home .gridPhotoGallery.eluid894ab3b3 .gridPhotoGallery__item:last-child img{object-fit:contain!important}
 body.home .archive-hero{height:250px!important;min-height:250px!important}
 body.home .archive-hero-inner h2{font-size:clamp(22px,6vw,30px)!important}
 body.home .image-boxes.imgboxes_style4{height:205px!important}
 body.page-faaliyet-repaired #eluid128d3dfd>.zn_section_size{height:auto!important;min-height:205px!important;padding-top:75px!important;padding-bottom:35px!important}
 body.page-faaliyet-repaired #eluid8fb5d4bf{padding-top:38px!important}
 .contact-clean__grid{grid-template-columns:minmax(0,1fr)!important}
 img{max-width:100%}
}
@media(max-width:380px){body.home .eluid217d8d57 .tbk__title{font-size:18px!important;letter-spacing:0!important}}
/* Responsive navigation fallback for saved archive pages. */
@media(max-width:991px){
 .site-header .zn-res-menuwrapper{display:block!important;position:relative!important;z-index:10003!important}
 .site-header #main-menu{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;width:100%!important;background:#fff!important;box-shadow:0 12px 24px #0002!important;z-index:10002!important;max-height:75vh!important;overflow-y:auto!important}
 body.mobile-menu-open .site-header #main-menu{display:block!important}
 .site-header #main-menu .main-menu-nav{display:block!important;width:100%!important;margin:0!important;padding:8px 15px!important}
 .site-header #main-menu .main-menu-nav>li{display:block!important;width:100%!important;float:none!important;margin:0!important}
 .site-header #main-menu .main-menu-nav>li>a{display:block!important;color:#17213e!important;padding:12px 10px!important;white-space:normal!important}
 .site-header #main-menu .sub-menu{position:static!important;display:block!important;opacity:1!important;visibility:visible!important;transform:none!important;box-shadow:none!important;background:#f7f8fb!important;padding:0 0 0 15px!important;min-width:0!important}
 .site-header #main-menu .sub-menu a{color:#17213e!important;display:block!important;padding:9px 12px!important}
}
