* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
:root {
  --primary: #267dc0;
  --secondary: #4fb4d6;
  --title: #1a203a;
  --text: #585a5e;
  --box_shadow: 0 0 20px rgba(198, 198, 198, 0.45);
}
html {
  scroll-behavior: smooth;
  font-size: clamp(7.5px, 0.520834vw, 14px);
}
.content {
  max-width: 134rem;
  margin: 0px auto;
  position: relative;
}
body {
  font-size: 1.6rem;
  word-break: break-word;
  color: var(--title);
}
.img.img_cv {
  overflow: hidden;
}
.img.img_cv img {
  object-fit: cover;
}
.img.img_ab {
  position: relative;
}
.img.img_ab img {
  position: absolute;
  left: 0px;
  top: 0px;
}
.img img {
  width: 100%;
  height: 100%;
  display: block;
  transition: 0.5s;
  aspect-ratio: inherit;
}
.head h2 {
  font-size: 5rem;
  line-height: 6.4rem;
  font-weight: 600;
}
.head h2::after {
  width: 3.8rem;
  height: 3.8rem;
  background: url("https://walmay.sytech.site/wp-content/plugins/sytech-fronteditor/sytpl/product5-product_workshop/assets/img/subtitle-icon.svg") center bottom / contain no-repeat;
}
.product_workshop {
  background: url("https://walmay.sytech.site/wp-content/plugins/sytech-fronteditor/sytpl/product5-product_workshop/assets/img/product-bg3.svg") right bottom / 70% no-repeat
    rgba(248, 248, 248, 0.48);
  padding: 7.6rem 0px 13.5rem;
}
.product_workshop .head {
  max-width: 65rem;
}
.product_workshop .items {
  margin-top: 6.1rem;
}
.product_workshop .items > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.8rem 1.8657%;
}
.product_workshop .item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.product_workshop .item:hover img {
  transform: scale(1.02);
}
.product_workshop .item.active .title {
  opacity: 1;
  pointer-events: all;
}
.product_workshop .item.active .title p {
  transform: translateY(0px);
  opacity: 1;
}
.product_workshop .item .img {
  padding-bottom: 63.6364%;
}
.product_workshop .item .title {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  content: "";
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.65);
  overflow-y: auto;
  display: flex;
  align-items: center;
  padding: 2rem;
  pointer-events: none;
  opacity: 0;
  transition: 0.3s;
}
.product_workshop .item .title p {
  font-size: 2.2rem;
  line-height: 2.6rem;
  font-weight: 600;
  color: rgb(255, 255, 255);
  max-width: 25.6rem;
  text-align: center;
  margin: 0px auto;
  transform: translateY(2rem);
  transition:
    0.3s,
    transform 0.4s;
  opacity: 0;
  padding-bottom: 0.7rem;
}
@media screen and (min-width: 769px) and (max-width: 1220px) {
  .content {
    padding: 0px 2rem;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .content,
  .swiper_content {
    max-width: 896px;
  }
}

@media screen and (min-width: 769px) and (max-width: 896px) {
  .content,
  .swiper_content {
    max-width: 768px;
  }
}

@media screen and (min-width: 769px) {
  div::-webkit-scrollbar {
    width: 4px;
  }
  div::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: rgb(139, 139, 139);
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 16px;
  }
  body {
    font-size: 1rem;
  }
  .content {
    padding: 0px 20px;
  }
  div.head h2 {
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: unset;
    word-spacing: unset;
    max-width: unset;
  }
  div.head h2::after {
    width: 20px;
    height: 20px;
  }
  .product_workshop {
    padding: 4rem 0px;
  }
  .product_workshop .head {
    max-width: unset;
  }
  .product_workshop .items {
    margin-top: 2rem;
  }
  .product_workshop .items > div {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .product_workshop .item .title {
    transform: translateY(0px);
    opacity: 1;
    pointer-events: all;
  }
  .product_workshop .item .title::-webkit-scrollbar {
    display: none;
  }
  .product_workshop .item .title p {
    font-size: 18px;
    line-height: 1.5;
    max-width: unset;
    transform: translateY(0px);
    opacity: 1;
    padding: 0px;
  }
}

@media screen and (max-width: 576px) {
  div.head h2 {
    font-size: 22px;
  }
  .product_workshop .items > div {
    grid-template-columns: 1fr;
  }
}
