/* Qtech Homepage Core V1
 * Consolidated runtime CSS from legacy Site Updater V3, V6 and V7.
 * No activation-time page rewrites are included.
 */

/* ===== Legacy V3 runtime CSS ===== */
/* Qtech V3 - layout hardening and visual refinement */

/* Make all Qtech grids deterministic even when translation extensions inject spans. */
.q2-grid2,
.q2-grid3,
.q2-process{
  width:100%!important;
  align-items:stretch!important;
  grid-auto-flow:row!important;
}
.q2-grid2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.q2-grid3,.q2-process{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.q2-grid2 > *,
.q2-grid3 > *,
.q2-process > *{
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  float:none!important;
  clear:none!important;
  align-self:stretch!important;
  box-sizing:border-box!important;
}

/* Cards should always behave as block-level grid items. */
.q2-card,
.q2-article,
.q2-case,
.q2-process>div,
.q2-darkcard{
  display:block!important;
  position:relative!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  transform:none!important;
}
.q2-card{
  min-height:240px!important;
}
.q2-card:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 12px 32px rgba(10,32,53,.08)!important;
}

/* Prevent translated badge fragments from escaping their card. */
.q2-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  inset:auto!important;
  float:none!important;
  clear:both!important;
  width:auto!important;
  min-width:42px!important;
  height:34px!important;
  padding:0 10px!important;
  margin:0 0 14px 0!important;
  border-radius:999px!important;
  line-height:1!important;
  overflow:hidden!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
.q2-icon *{
  display:inline!important;
  position:static!important;
  float:none!important;
  margin:0!important;
  padding:0!important;
}

/* Cleaner capability typography. */
.q2-card h3{margin:0 0 12px!important;line-height:1.25!important}
.q2-card p{margin:0!important}

/* Header: stronger brand presence, single-line desktop navigation. */
.site-header-row-container-inner>.site-container{
  max-width:1320px!important;
  padding-left:22px!important;
  padding-right:22px!important;
}
.site-branding{
  flex:0 0 auto!important;
  min-width:max-content!important;
}
.site-title,
.site-title a{
  font-size:19px!important;
  font-weight:850!important;
  letter-spacing:-.02em!important;
  color:#0a2035!important;
  white-space:nowrap!important;
}
.main-navigation,
.primary-menu-container{
  min-width:0!important;
}
.main-navigation .primary-menu-container>ul{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:0!important;
}
.main-navigation .primary-menu-container>ul>li{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}
.main-navigation .primary-menu-container>ul>li>a{
  font-size:12.5px!important;
  padding-left:8px!important;
  padding-right:8px!important;
  min-height:62px!important;
}

/* Hero refinement */
.q2-hero{padding-top:76px!important}
.q2-hero-grid{grid-template-columns:minmax(0,1.06fr) minmax(360px,.94fr)!important;gap:48px!important}
.q2-media{
  min-height:330px!important;
  position:relative!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:
    radial-gradient(circle at 20% 20%,rgba(20,94,248,.28),transparent 35%),
    linear-gradient(145deg,#0a2035,#113b62 70%,#164f7d)!important;
}
.q2-media:before{
  content:"";
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:28px 28px;
  pointer-events:none;
}
.q2-media-inner,
.q2-media>div{
  position:relative!important;
  z-index:1!important;
  max-width:360px!important;
}
.q2-media strong{font-size:24px!important;line-height:1.25!important}
.q2-media span{font-size:14px!important;line-height:1.6!important}

/* Better spacing and consistency */
.q2-section{overflow:hidden!important}
.q2-head{align-items:flex-end!important}
.q2-case,.q2-article{height:100%!important}
.q2-case-body{display:flex!important;flex-direction:column!important;height:calc(100% - 145px)!important}
.q2-case-body a{margin-top:auto!important}

/* Desktop widths */
@media (min-width:961px){
  .q2-wrap{width:min(1180px,calc(100% - 56px))!important}
}

/* Tablet */
@media(max-width:1100px){
  .main-navigation .primary-menu-container>ul>li>a{font-size:11.5px!important;padding-left:6px!important;padding-right:6px!important}
  .q2-hero-grid{grid-template-columns:1fr 1fr!important;gap:34px!important}
}
@media(max-width:960px){
  .q2-grid3,.q2-process{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .q2-grid2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .q2-hero-grid{grid-template-columns:1fr!important}
  .q2-media{min-height:260px!important}
}
@media(max-width:680px){
 .site-header .site-main-header-wrap,.site-header-row-container-inner{min-height:68px!important}
  .q2-grid2,.q2-grid3,.q2-process{grid-template-columns:1fr!important}
  .q2-card{min-height:0!important}
  .q2-media{min-height:220px!important}
  .q2-media strong{font-size:20px!important}
}

/* ===== Legacy V6 runtime CSS ===== */
.q6-cap-section{background:#f3f7fc;padding:88px 0 96px;overflow:hidden}
.q6-wrap{width:min(1180px,calc(100% - 56px));margin:0 auto}
.q6-cap-head{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:34px}
.q6-cap-head>div:first-child{max-width:760px}
.q6-eyebrow{color:#145ef8;font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;margin-bottom:14px}
.q6-cap-head h2{margin:0;color:#071d33;font-size:clamp(34px,4vw,54px);line-height:1.03;letter-spacing:-.035em}
.q6-cap-head p{margin:16px 0 0;max-width:740px;color:#53697d;font-size:16px;line-height:1.7}
.q6-outline-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:48px;padding:0 22px;border:1px solid #b7c8dc;border-radius:999px;background:#fff;color:#071d33!important;text-decoration:none!important;font-weight:750;font-size:14px}
.q6-cap-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;width:100%!important;align-items:stretch!important}
.q6-cap-card{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:300px!important;margin:0!important;padding:28px!important;box-sizing:border-box!important;position:relative!important;float:none!important;overflow:hidden!important;border:1px solid #cad7e7!important;border-radius:18px!important;background:#fff!important;color:#071d33!important;box-shadow:none!important}
.q6-cap-card>*{max-width:100%!important;box-sizing:border-box!important}
.q6-cap-code{display:block!important;margin:0 0 26px!important;color:#145ef8!important;font-size:11px!important;font-weight:850!important;line-height:1.2!important;letter-spacing:.12em!important;text-transform:uppercase!important}
.q6-cap-card h3{margin:0 0 14px!important;color:#071d33!important;font-size:22px!important;line-height:1.16!important;letter-spacing:-.02em!important}
.q6-cap-card p{margin:0 0 24px!important;color:#53697d!important;font-size:15px!important;line-height:1.65!important}
.q6-card-foot{margin-top:auto!important;padding-top:12px!important}
.q6-card-link{display:inline-flex!important;align-items:center!important;color:#145ef8!important;text-decoration:none!important;font-size:13px!important;font-weight:800!important;line-height:1.4!important}
.q6-card-link:hover{text-decoration:underline!important}
@media(max-width:960px){.q6-cap-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.q6-cap-head{align-items:flex-start;flex-direction:column;gap:20px}}
@media(max-width:680px){.q6-cap-section{padding:64px 0 72px}.q6-wrap{width:min(100% - 32px,1180px)}.q6-cap-grid{grid-template-columns:1fr!important}.q6-cap-card{min-height:0!important;padding:24px!important}}

/* ===== Legacy V7 runtime CSS ===== */
/* Qtech V7 — brand header + hero refinement */
:root{--q7-navy:#071d33;--q7-blue:#145ef8;--q7-muted:#53697d;--q7-line:#cbd8e7}

/* Header: more deliberate brand presence. */
.site-header .site-main-header-wrap,.site-header-row-container-inner{min-height:96px!important}
.site-header-row-container-inner>.site-container{max-width:1360px!important;padding-left:28px!important;padding-right:28px!important}
.site-branding{display:flex!important;align-items:center!important;gap:14px!important;min-width:max-content!important}
.site-branding .custom-logo-link{display:inline-flex!important;align-items:center!important}
.site-branding img.custom-logo{width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important;object-fit:contain!important}
.site-title,.site-title a{font-size:26px!important;line-height:1!important;font-weight:850!important;letter-spacing:-.025em!important;color:var(--q7-navy)!important}
.site-branding:after{content:"EMS · PCBA";display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:1px solid #d7e1ed;border-radius:999px;background:#f6f9fd;color:#5d7084;font-size:11px;font-weight:850;letter-spacing:.09em;white-space:nowrap}
.main-navigation .primary-menu-container>ul>li>a{font-size:12.5px!important;font-weight:650!important;color:#40546a!important}
.main-navigation .primary-menu-container>ul>li>a:hover{color:#145ef8!important}

/* Hero: cleaner editorial proportions. */
.q2-hero{padding:82px 0 70px!important;background:linear-gradient(120deg,#f9fbff 0%,#edf4ff 55%,#f8fbff 100%)!important;overflow:hidden!important}
.q2-hero-grid{grid-template-columns:minmax(0,1.02fr) minmax(390px,.98fr)!important;gap:66px!important;align-items:center!important}
.q2-hero .q2-eyebrow{font-size:11px!important;letter-spacing:.17em!important;margin-bottom:18px!important}
.q2-hero h1{max-width:650px!important;font-size:clamp(48px,5.2vw,72px)!important;line-height:.99!important;letter-spacing:-.055em!important;margin-bottom:24px!important}
.q2-hero p{max-width:650px!important;font-size:17px!important;line-height:1.75!important;color:#53697d!important}
.q2-actions{margin-top:30px!important}
.q2-btn{min-height:48px!important;padding:0 22px!important}
.q2-pills{margin-top:22px!important;gap:8px!important}
.q2-pills span{padding:6px 10px!important;font-size:11px!important}

/* Factory media visual: looks intentional even before footage is installed. */
.q7-factory-media{position:relative;min-height:380px;border-radius:24px;overflow:hidden;padding:26px;display:flex;flex-direction:column;justify-content:space-between;color:#fff;background:
radial-gradient(circle at 85% 15%,rgba(74,147,255,.34),transparent 30%),
radial-gradient(circle at 8% 82%,rgba(20,94,248,.28),transparent 36%),
linear-gradient(145deg,#071d33 0%,#0e3559 58%,#154f7d 100%);box-shadow:0 28px 72px rgba(7,29,51,.22);border:1px solid rgba(255,255,255,.12)}
.q7-factory-media:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),rgba(0,0,0,.35));pointer-events:none}
.q7-factory-media>*{position:relative;z-index:1}
.q7-media-top,.q7-media-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:11px;letter-spacing:.05em}
.q7-media-label{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.08);font-weight:800;text-transform:uppercase;letter-spacing:.12em}
.q7-media-location{color:#b9d3ee}
.q7-media-center{display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:center;max-width:520px;margin:auto 0}
.q7-play{display:grid;place-items:center;width:74px;height:74px;border-radius:50%;background:#fff;color:#145ef8;font-size:22px;box-shadow:0 12px 28px rgba(0,0,0,.18);padding-left:4px}
.q7-media-center small{display:block;color:#9fc4ff;font-size:10px;font-weight:850;letter-spacing:.16em;margin-bottom:9px}
.q7-media-center strong{display:block;font-size:26px;line-height:1.18;letter-spacing:-.025em;margin-bottom:10px}
.q7-media-center span{display:block;color:#c5d8ea;font-size:13px;line-height:1.6}
.q7-media-foot{padding-top:18px;border-top:1px solid rgba(255,255,255,.14);color:#a9c4dd}
.q7-media-foot span:last-child{text-align:right}

/* Metrics: read as proof points, not generic boxes. */
.q2-metrics{margin-top:0!important;border-radius:0 0 18px 18px!important;border-top:0!important}
.q2-metrics>div{padding:24px 28px!important}
.q2-metrics strong{font-size:22px!important;letter-spacing:-.02em!important}
.q2-metrics span{font-size:12px!important;line-height:1.5!important}

@media(max-width:1100px){
 .site-branding:after{display:none}
 .q2-hero-grid{grid-template-columns:1fr 1fr!important;gap:38px!important}
 .q7-factory-media{min-height:330px}
 .q7-media-center strong{font-size:22px}
}
@media(max-width:960px){
 .q2-hero-grid{grid-template-columns:1fr!important}
 .q7-factory-media{min-height:310px}
}
@media(max-width:680px){
 .site-header-row-container-inner>.site-container{padding-left:16px!important;padding-right:16px!important}
 .site-branding img.custom-logo{width:46px!important;height:46px!important;max-width:46px!important;max-height:46px!important}
 .site-title,.site-title a{font-size:20px!important}
 .q2-hero{padding:58px 0 46px!important}
 .q2-hero h1{font-size:44px!important}
 .q7-factory-media{min-height:280px;padding:20px}
 .q7-media-center{grid-template-columns:1fr;gap:14px}
 .q7-play{width:58px;height:58px}
 .q7-media-center strong{font-size:21px}
 .q7-media-foot{display:none}
}


/* =========================================================
   QTECH V7.1 — FULL WIDTH HOMEPAGE IMAGE BANNER
   Reuses Settings → Qtech Hero Media (V9)
   ========================================================= */
body.qtech-full-image-banner .q2-hero{
  position:relative!important;
  padding:0!important;
  min-height:560px!important;
  background:#eef6fc!important;
  overflow:hidden!important;
}

body.qtech-full-image-banner .q2-hero .q2-wrap.q2-hero-grid{
  position:relative!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-height:560px!important;
  padding:0!important;
  margin:0!important;
}

/* Hide the old text/card hero because the uploaded banner already contains its own copy. */
body.qtech-full-image-banner .q2-hero .q2-hero-grid > div:first-child{
  display:none!important;
}

/* Make V9 media fill the entire hero. */
body.qtech-full-image-banner .q2-hero .q9-hero-media{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:560px!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#eef6fc!important;
  overflow:hidden!important;
}

body.qtech-full-image-banner .q2-hero .q9-hero-image{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  object-fit:cover!important;
  object-position:center center!important;
}

/* The banner artwork already includes its own copy, so remove V9's extra media caption and overlay. */
body.qtech-full-image-banner .q2-hero .q9-media-overlay{
  display:none!important;
}
body.qtech-full-image-banner .q2-hero .q9-hero-media:after{
  display:none!important;
}

/* Metrics remain directly below banner. */
body.qtech-full-image-banner .q2-metrics{
  margin-top:0!important;
  border-radius:0!important;
}

/* Desktop proportions for 1976x796-style banner artwork. */
@media(min-width:1200px){
  body.qtech-full-image-banner .q2-hero,
  body.qtech-full-image-banner .q2-hero .q2-wrap.q2-hero-grid,
  body.qtech-full-image-banner .q2-hero .q9-hero-media{
    min-height:clamp(500px,40vw,650px)!important;
  }
}

/* Tablet: keep readable left-side artwork while cropping some right-side factory. */
@media(max-width:960px){
  body.qtech-full-image-banner .q2-hero,
  body.qtech-full-image-banner .q2-hero .q2-wrap.q2-hero-grid,
  body.qtech-full-image-banner .q2-hero .q9-hero-media{
    min-height:480px!important;
  }
  body.qtech-full-image-banner .q2-hero .q9-hero-image{
    object-position:35% center!important;
  }
}

/* Mobile: crop toward the left where the headline lives. */
@media(max-width:680px){
  body.qtech-full-image-banner .q2-hero,
  body.qtech-full-image-banner .q2-hero .q2-wrap.q2-hero-grid,
  body.qtech-full-image-banner .q2-hero .q9-hero-media{
    min-height:420px!important;
  }
  body.qtech-full-image-banner .q2-hero .q9-hero-image{
    object-position:18% center!important;
  }
}


/* =========================================================
   QTECH V7.3 — HOMEPAGE INDUSTRIES LIGHT SECTION
   Only affects the legacy homepage section-dark block.
   ========================================================= */
body.home .section-dark,
body.front-page .section-dark,
body.qtech-full-image-banner .section-dark{
  background:#EAF5FC !important;
  color:#111111 !important;
}

body.home .section-dark h2,
body.home .section-dark h3,
body.front-page .section-dark h2,
body.front-page .section-dark h3,
body.qtech-full-image-banner .section-dark h2,
body.qtech-full-image-banner .section-dark h3{
  color:#1F6FA8 !important;
}

body.home .section-dark p,
body.front-page .section-dark p,
body.qtech-full-image-banner .section-dark p{
  color:#111111 !important;
  font-size:16px !important;
  line-height:1.7 !important;
}

body.home .section-dark .eyebrow,
body.front-page .section-dark .eyebrow,
body.qtech-full-image-banner .section-dark .eyebrow{
  color:#1478FF !important;
}

body.home .section-dark .dark-card,
body.front-page .section-dark .dark-card,
body.qtech-full-image-banner .section-dark .dark-card{
  background:#FFFFFF !important;
  border:1px solid #CFE1EE !important;
  box-shadow:none !important;
}

body.home .section-dark .dark-card h3,
body.front-page .section-dark .dark-card h3,
body.qtech-full-image-banner .section-dark .dark-card h3{
  color:#1F6FA8 !important;
  font-size:20px !important;
}

body.home .section-dark .dark-card p,
body.front-page .section-dark .dark-card p,
body.qtech-full-image-banner .section-dark .dark-card p{
  color:#111111 !important;
  font-size:15px !important;
  line-height:1.65 !important;
}


/* V7.5 reliable homepage context backup */
body.qtech-home-context .section-dark{
  background:#EAF5FC !important;
  color:#111111 !important;
}
body.qtech-home-context .section-dark h2,
body.qtech-home-context .section-dark h3{
  color:#1F6FA8 !important;
}
body.qtech-home-context .section-dark p{
  color:#111111 !important;
}
body.qtech-home-context .section-dark .dark-card{
  background:#FFFFFF !important;
  border-color:#CFE1EE !important;
}
body.qtech-home-context .section-dark .dark-card h3{
  color:#1F6FA8 !important;
}
body.qtech-home-context .section-dark .dark-card p{
  color:#111111 !important;
}

/* ===== Integrated Hero Media V9 runtime CSS ===== */

/* Qtech V9 — real WordPress media in homepage hero */
.q9-hero-media{position:relative;min-height:360px;border-radius:22px;overflow:hidden;box-shadow:0 24px 64px rgba(7,29,51,.18);background:#071d33}
.q9-hero-image,.q9-hero-video{display:block;width:100%;height:100%;min-height:360px;object-fit:cover;position:absolute;inset:0}
.q9-hero-media:has(.q9-hero-image):after,.q9-hero-media:has(.q9-hero-video):after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,20,36,.06) 35%,rgba(4,20,36,.7) 100%);pointer-events:none}
.q9-media-overlay{position:absolute;z-index:2;left:24px;right:24px;bottom:22px;color:#fff;display:grid;gap:5px}
.q9-media-overlay span{font-size:10px;font-weight:850;letter-spacing:.15em;color:#b7d2ee}
.q9-media-overlay strong{font-size:22px;line-height:1.15;letter-spacing:-.02em}
.q9-fallback{min-height:360px;border-radius:22px;padding:26px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;color:#fff;background:radial-gradient(circle at 88% 8%,rgba(65,137,246,.34),transparent 31%),linear-gradient(145deg,#071d33 0%,#0d3459 58%,#154e79 100%)}
.q9-fallback-top{display:flex;justify-content:space-between;gap:14px;font-size:10px;text-transform:uppercase;letter-spacing:.1em}
.q9-fallback-main small{display:block;color:#91baff;font-size:10px;font-weight:850;letter-spacing:.15em;margin-bottom:10px}
.q9-fallback-main strong{display:block;font-size:30px;line-height:1.16;margin-bottom:13px}
.q9-fallback-main p{margin:0!important;color:#c8d9ea!important;font-size:13px!important}
.q9-fallback-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding-top:18px;border-top:1px solid rgba(255,255,255,.14)}
.q9-fallback-proof b{display:block;font-size:18px;margin-bottom:4px}
.q9-fallback-proof span{font-size:9.5px;color:#a9c4dd;text-transform:uppercase;letter-spacing:.07em}
@media(max-width:960px){.q9-hero-media,.q9-hero-image,.q9-hero-video,.q9-fallback{min-height:300px}}
@media(max-width:680px){.q9-hero-media,.q9-hero-image,.q9-hero-video,.q9-fallback{min-height:270px}.q9-media-overlay{left:18px;right:18px;bottom:18px}.q9-media-overlay strong{font-size:19px}}


/* ===== Homepage 3-slide banner ===== */
.qthc-slider{position:relative;overflow:hidden;background:#eef5fb}
.qthc-slider-track{position:relative;width:100%;height:100%}
.qthc-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .55s ease;pointer-events:none}
.qthc-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:2}
.qthc-slide-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
.qthc-slide-overlay{position:absolute;inset:0;display:flex;align-items:center;background:linear-gradient(90deg,rgba(4,23,43,.68) 0%,rgba(4,23,43,.28) 45%,rgba(4,23,43,0) 72%)}
.qthc-slide-copy{width:min(1180px,calc(100% - 56px));margin:0 auto;color:#fff}
.qthc-slide-copy h2{max-width:700px;margin:0 0 18px;color:#fff;font-size:clamp(40px,5vw,68px);line-height:1.02;letter-spacing:-.045em}
.qthc-slide-copy p{max-width:680px;margin:0 0 26px;color:rgba(255,255,255,.92);font-size:18px;line-height:1.65}
.qthc-slide-copy a{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 22px;border-radius:8px;background:#1478ff;color:#fff!important;text-decoration:none!important;font-weight:800}
.qthc-slider-arrow{position:absolute;top:50%;z-index:5;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;background:rgba(7,29,51,.42);color:#fff;font-size:34px;line-height:1;cursor:pointer}
.qthc-prev{left:18px}.qthc-next{right:18px}
.qthc-slider-dots{position:absolute;left:50%;bottom:20px;z-index:5;display:flex;gap:8px;transform:translateX(-50%)}
.qthc-slider-dots button{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.6);cursor:pointer}
.qthc-slider-dots button.is-active{width:28px;border-radius:999px;background:#1478ff}
@media(max-width:680px){
  .qthc-slide-image{object-position:center center}
  .qthc-slider-arrow{width:36px;height:36px;font-size:28px}
  .qthc-prev{left:8px}.qthc-next{right:8px}
  .qthc-slide-copy{width:calc(100% - 40px)}
  .qthc-slide-copy h2{font-size:34px}
  .qthc-slide-copy p{font-size:15px}
}

/* ===== Homepage slider fixed 2.4:1 banner ratio (1920x800) ===== */
body.qtech-slider-banner .q2-hero{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:12/5!important;
}
body.qtech-slider-banner #qtech-home-slider,
body.qtech-slider-banner .qthc-slider-track,
body.qtech-slider-banner .qthc-slide{
  width:100%!important;
  height:100%!important;
}
body.qtech-slider-banner .qthc-slide-image{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}
