/* OEM / ODM section — styles for the "OEM or ODM" HTML Block (Elementor).
   Hooked to CSS classes set on the block's containers and widgets. */
.elementor .e-con.qst-models {
  --qst-md-bg: #f2f4f3;
  --qst-md-ink: #0a0a0a;
  --qst-md-accent: #c8102e;
  --qst-md-font: 'Bebas Neue', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--qst-md-bg);
  padding: clamp(3rem, 8vh, 6.5rem) clamp(1.25rem, 3vw, 4rem);
}
.qst-models .elementor-widget { margin: 0; width: 100%; }

.qst-models .qst-models__eyebrow .elementor-heading-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 1.2rem;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--qst-md-ink);
  opacity: 0.75;
}
.qst-models .qst-models__eyebrow .elementor-heading-title::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.qst-models .qst-models__title .elementor-heading-title {
  margin: 0;
  padding: 0;
  font-family: var(--qst-md-font);
  font-weight: 400;
  font-size: clamp(2.8rem, 8.5vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--qst-md-ink);
}
.qst-models .qst-models__title2 .elementor-heading-title { color: var(--qst-md-accent); }

.elementor .e-con.qst-models__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.4vw, 1.6rem);
  padding: 0;
  margin-top: clamp(2rem, 6vh, 4.5rem);
  width: 100%;
}
.elementor .e-con.qst-models__card {
  --qst-md-cut: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  min-height: clamp(18rem, 44vh, 30rem);
  padding: clamp(1.6rem, 3.4vw, 4rem);
  background: #0a0a0a;
  clip-path: polygon(var(--qst-md-cut) 0, 100% 0, 100% calc(100% - var(--qst-md-cut)), calc(100% - var(--qst-md-cut)) 100%, 0 100%, 0 var(--qst-md-cut));
}
.elementor .e-con.qst-models__card--alt { background: #16181b; }

.qst-models .qst-models__label .elementor-heading-title {
  margin: 0 0 0.9rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff4d5e;
}
.qst-models .qst-models__name .elementor-heading-title {
  margin: 0 0 1.1rem;
  padding: 0;
  font-family: var(--qst-md-font);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
}
.qst-models .qst-models__text,
.qst-models .qst-models__text p {
  max-width: 36em;
  margin: 0;
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
}
.qst-models .qst-models__text { margin-bottom: 1.8rem; }
.qst-models .qst-models__link { margin-top: auto; width: auto; }
.qst-models .qst-models__link .elementor-button {
  padding: 0 0 0.3rem;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  fill: #fff;
  transition: border-color 0.25s ease;
}
.qst-models .qst-models__link .elementor-button-text::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.5em;
  transition: transform 0.25s ease;
}
.qst-models .qst-models__link .elementor-button:hover,
.qst-models .qst-models__link .elementor-button:focus-visible { background: transparent; color: #fff; border-color: #ff4d5e; }
.qst-models .qst-models__link .elementor-button:hover .elementor-button-text::after { transform: translateX(5px); }

@media (max-width: 768px) {
  .elementor .e-con.qst-models__grid { grid-template-columns: 1fr; }
  .elementor .e-con.qst-models__card { min-height: 0; --qst-md-cut: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .qst-models .qst-models__link .elementor-button,
  .qst-models .qst-models__link .elementor-button-text::after { transition: none; }
}
