

/* =====================================
   LATO FONT
===================================== */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;500;600;700;800;900&display=swap');


/* =====================================
   MELORS EVA & PE FOAM SHEET FACTORY
===================================== */

#melors-factory-video-hero {
  width: 100vw;
  max-width: none;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  overflow: hidden;

  background: linear-gradient(
    115deg,
    #092638 0%,
    #0b3650 55%,
    #105071 100%
  );

  color: #ffffff;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

#melors-factory-video-hero * {
  box-sizing: border-box;
  font-family: 'Lato', Arial, Helvetica, sans-serif !important;
}


/* =====================================
   MAIN CONTAINER
   1360px CONTENT WIDTH
===================================== */

#melors-factory-video-hero .melors-inner {
  width: calc(100% - 48px);
  max-width: 1360px;
  margin: 0 auto;
  padding: 36px 0 28px;
}


/* =====================================
   MAIN TWO COLUMN LAYOUT
===================================== */

#melors-factory-video-hero .melors-main {
  display: grid;

  grid-template-columns: minmax(0, 1fr) 540px;

  gap: 64px;
  align-items: start;
}


/* =====================================
   LEFT TEXT AREA
===================================== */

#melors-factory-video-hero .melors-content {
  width: 100%;
  min-width: 0;
  max-width: 756px;
}


/* Main Title */

#melors-factory-video-hero .melors-title {
  max-width: 700px;

  color: #ffffff !important;

  font-size: clamp(36px, 3.1vw, 44px) !important;
  line-height: 1.12 !important;
  font-weight: 800 !important;
  letter-spacing: -1.1px;

  margin: 0 0 22px !important;
  padding: 0 !important;
}


/* Blue Subtitle */

#melors-factory-video-hero .melors-title span {
  display: block;
  color: #48c6f5 !important;
  margin-top: 5px;
  font-weight: 800 !important;
}


/* Description */

#melors-factory-video-hero .melors-description {
  max-width: 650px;

  color: #d2e2eb !important;

  font-size: 16px !important;
  line-height: 1.75 !important;
  font-weight: 400 !important;

  margin: 0 0 27px !important;
  padding: 0 !important;
}


/* =====================================
   BUTTONS
===================================== */

#melors-factory-video-hero .melors-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}


#melors-factory-video-hero .melors-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding: 12px 23px;

  border-radius: 9px;

  font-size: 13px;
  font-weight: 700 !important;
  line-height: 1.4;

  text-decoration: none !important;
  transition: all .25s ease;
}


/* Primary Button */

#melors-factory-video-hero .melors-btn-primary {
  background: #13a9ed;
  color: #ffffff !important;
  border: 1px solid #13a9ed;
}

#melors-factory-video-hero .melors-btn-primary:hover {
  background: #078bc9;
  border-color: #078bc9;
  color: #ffffff !important;
  transform: translateY(-2px);
}


/* Secondary Button */

#melors-factory-video-hero .melors-btn-outline {
  background: transparent;
  color: #ffffff !important;
  border: 1px solid #7898aa;
}

#melors-factory-video-hero .melors-btn-outline:hover {
  background: #ffffff;
  color: #10364d !important;
  border-color: #ffffff;
}


/* =====================================
   RIGHT VIDEO
   KEEP ORIGINAL 540px WIDTH
===================================== */

#melors-factory-video-hero .melors-video-box {
  width: 540px;
  max-width: 100%;
  min-width: 0;

  margin-top: 15px;
}


#melors-factory-video-hero .melors-video-frame {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 9;

  overflow: hidden;
  border-radius: 15px;

  background: #061a27;

  box-shadow: 0 12px 35px rgba(0,0,0,.22);
}


/* Video iframe */

#melors-factory-video-hero .melors-video-frame iframe {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: none;
}


/* Video Cover */

#melors-factory-video-hero .melors-video-cover {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  padding: 0;
  border: 0;

  cursor: pointer;
  background: #061a27;
  overflow: hidden;
}


#melors-factory-video-hero .melors-video-cover img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  transition: transform .4s ease;
}


#melors-factory-video-hero .melors-video-cover:hover img {
  transform: scale(1.035);
}


/* Play Button */

#melors-factory-video-hero .melors-play-button {
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 70px;
  height: 70px;

  background: rgba(255,255,255,.97);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 5px 25px rgba(0,0,0,.2);
}


#melors-factory-video-hero .melors-play-button:after {
  content: "";

  width: 0;
  height: 0;

  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #079fe5;

  margin-left: 5px;
}


/* =====================================
   FACTORY STATISTICS
===================================== */

#melors-factory-video-hero .melors-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;

  width: 100%;

  border-top: 1px solid rgba(255,255,255,.2);

  margin-top: 37px;
  padding-top: 23px;
}


#melors-factory-video-hero .melors-stat {
  min-width: 0;
}


#melors-factory-video-hero .melors-stat-number {
  color: #ffffff !important;

  font-size: 29px;
  font-weight: 800 !important;
  line-height: 1.2;

  margin-bottom: 6px;
}


#melors-factory-video-hero .melors-stat-label {
  color: #c7dce8 !important;

  font-size: 12px;
  font-weight: 400 !important;
  line-height: 1.5;
}


/* =====================================
   TABLET
===================================== */

@media (max-width: 1100px) {

  #melors-factory-video-hero .melors-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 48%);
    gap: 36px;
  }

  #melors-factory-video-hero .melors-video-box {
    width: 100%;
  }

  #melors-factory-video-hero .melors-title {
    font-size: 36px !important;
  }

  #melors-factory-video-hero .melors-description {
    font-size: 15px !important;
  }

}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 900px) {

  #melors-factory-video-hero .melors-inner {
    width: calc(100% - 36px);
    padding: 28px 0;
  }

  #melors-factory-video-hero .melors-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #melors-factory-video-hero .melors-content {
    max-width: 100%;
  }

  #melors-factory-video-hero .melors-title {
    max-width: 100%;
    font-size: 34px !important;
    line-height: 1.14 !important;
    letter-spacing: -.6px;
  }

  #melors-factory-video-hero .melors-description {
    max-width: 100%;
    font-size: 15px !important;
    line-height: 1.75 !important;
  }

  #melors-factory-video-hero .melors-buttons {
    gap: 10px;
  }

  #melors-factory-video-hero .melors-btn {
    min-height: 46px;
    padding: 12px 18px;
  }

  #melors-factory-video-hero .melors-video-box {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
  }

  #melors-factory-video-hero .melors-play-button {
    width: 60px;
    height: 60px;
  }

  #melors-factory-video-hero .melors-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 15px;

    margin-top: 30px;
    padding-top: 22px;
  }

  #melors-factory-video-hero .melors-stat-number {
    font-size: 25px;
  }

  #melors-factory-video-hero .melors-stat-label {
    font-size: 12px;
  }

}


/* Small Mobile */

@media (max-width: 420px) {

  #melors-factory-video-hero .melors-title {
    font-size: 30px !important;
  }

  #melors-factory-video-hero .melors-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  #melors-factory-video-hero .melors-btn {
    width: 100%;
  }

}

