/* milltechistanbul fix overlay — load AFTER main.min.css */

/* Force sliders visible even if Jssor JS fails (jQuery missing) */
#jssor_1, #jssor_3,
#jssor_1 .main-slider-2, #jssor_3 .news-slider-2,
#jssor_1 .main-slider-2 > div:first-child,
#jssor_3 .news-slider-2 > div:first-child {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Hide jssor loading overlay (no loading.gif) */
.main-slider-loading, .news-slider-loading { display: none !important; }

/* Show first slide content properly */
#jssor_1 { min-height: 360px; position: relative; background: #1a1a1a; overflow: hidden; }
#jssor_1 .main-slider-2 { position: relative; width: 100%; height: 100%; }
#jssor_1 .main-slider-2 > div { display: none; width: 100% !important; height: auto !important; }
#jssor_1 .main-slider-2 > div.fb-active,
#jssor_1 .main-slider-2 > div:first-child { display: block !important; }
#jssor_1 .main-slider-2 > div img,
#jssor_1 .main-slider-2 > div [data-u="image"] {
  width: 100% !important; height: auto !important; display: block;
}
#jssor_1 .main-content {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(0,0,0,.6); color: #fff;
  padding: 16px 22px; border-radius: 4px; max-width: 480px;
}
#jssor_1 .main-content .th-title { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
#jssor_1 .main-content .th-desc { font-size: 14px; line-height: 1.5; opacity: .92; }

#jssor_3 { min-height: 340px; position: relative; background: #f4f4f4; }
#jssor_3 .news-slider-2 { position: relative; width: 100%; }
#jssor_3 .news-slider-2 > div { display: none; }
#jssor_3 .news-slider-2 > div.fb-active,
#jssor_3 .news-slider-2 > div:first-child { display: block !important; }
#jssor_3 img { max-width: 100%; height: auto; display: block; }

/* Better header — logo background visible */
header #head-md .head-md-wrap div.logo {
  background-image: url(/images/logo.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
header #head-md .head-md-wrap div.logo a#logo {
  display: block; width: 100%; height: 120px;
}

/* Mobile drawer logo */
.drawer-brand .logo.logomobile1 {
  display: inline-block;
  width: 220px; height: 60px;
  background: url(/images/logo.png) no-repeat center/contain;
}

/* Spacing for content sections */
.container-wrap { padding: 16px 0; }
.section-wrap { padding: 8px 0 24px; }
.list-center .page-content { padding: 20px 28px; background: #fff; border: 1px solid #eee; border-radius: 4px; }
.paragraph-text { line-height: 1.65; font-size: 15px; color: #333; }
.paragraph-text p { margin-bottom: 12px; }

/* Hero stats strip (added below slider) */
.mt-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: #c8102e; margin: 24px 0;
  border-radius: 4px; overflow: hidden;
}
.mt-stats .mt-stat {
  background: #fff; padding: 22px 16px; text-align: center;
}
.mt-stats .mt-stat .n { font-size: 30px; font-weight: 800; color: #c8102e; line-height: 1; }
.mt-stats .mt-stat .l { font-size: 12px; color: #555; margin-top: 8px; text-transform: uppercase; letter-spacing: .5px; }
@media (max-width: 768px) { .mt-stats { grid-template-columns: repeat(2, 1fr); } }

/* Footer cleanup */
#footer-box { background: #1a1a1a; color: #ccc; padding: 28px 0; margin-top: 40px; }
#footer-box a { color: #ddd; }
#footer-box a:hover { color: #fff; }

/* Hide the broken ie8 link target */
link[href*="ie8.css"] { display: none; }

/* Safety: don't allow horizontal scroll */
html, body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* Hide stray IFM placeholder logo that overlaps Mill Tech logo */
img[src*="ifm-logo"], img[src*="ifm-logo-en"],
.fair-center1, li.fair-center1 { display: none !important; }

/* Bump cache for fix.js */
/* v7 */

/* Fix broken form#form1 capping page height to viewport */
form#form1, form { height: auto !important; min-height: 0 !important; }
html, body { height: auto !important; min-height: 100vh; }
#wrapper { height: auto !important; min-height: 0 !important; }
.container { height: auto !important; min-height: 0 !important; }

