.elementor-kit-6{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS */.team-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* fade */
.team-marquee::before,
.team-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.team-marquee::before {
  left: 0;
  background: linear-gradient(to right, #fff, rgba(255,255,255,0));
}

.team-marquee::after {
  right: 0;
  background: linear-gradient(to left, #fff, rgba(255,255,255,0));
}

.team-track img {
  pointer-events: none;
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
}



.team-track:active {
  cursor: grabbing;
}

/* การ์ด = 5 ใบ */
.team-track .elementor-widget-text-editor {
  flex: 0 0 calc((100vw - 120px) / 5); /* 👈 ปรับตรงนี้ */
  max-width: 260px; /* กันใหญ่เกิน */
}

.team-track {
  will-change: transform;
  transform: translateZ(0);
}

.jaf-container,
.jaf-container > .elementor-widget-container {
  overflow: visible !important;
  width: 100% !important;
  max-width: 100% !important;
}/* End custom CSS */