.about-image {

    border-radius: 5%;

}


.product-video {

    height: 450px;
    width: 100%;
}


.card-title {
    text-align: center;
    /* 文字居中 */
}


.video-container {
    border-radius: 10px;
    /* 圆角大小，可以改成你喜欢的数字 */
    overflow: hidden;
    /* 防止视频超出圆角 */
}

video {
    border-radius: 10px;
    /* 直接给视频加圆角 */
}


.video-container {
    position: relative;
    /* 让按钮可以定位 */
    border-radius: 10px;
    overflow: hidden;
}

.play-button {
    position: absolute;
    /* 按钮浮在视频上 */
    top: 50%;
    /* 垂直居中 */
    left: 50%;
    /* 水平居中 */
    transform: translate(-50%, -50%);
    /* 精确居中 */
    background-color: #09aff4;
    /* 蓝色背景 */
    color: white;
    /* 白色播放符号 */
    border: none;
    /* 无边框 */
    border-radius: 50%;
    /* 圆形按钮 */
    width: 50px;
    /* 按钮大小 */
    height: 50px;
    font-size: 20px;
    /* 播放符号大小 */
    cursor: pointer;
    /* 鼠标变手型 */
    transition: all 0.3s;
    /* 动画效果 */
}

.play-button:hover {
    background-color: #ff4800;
    /* 鼠标悬停时变亮 */
    transform: translate(-50%, -50%) scale(1.1);
    /* 稍微放大 */
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* color: #09aff4; */
    background: rgba(0, 149, 255, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: opacity 0.5s ease;
    z-index: 10;
}

.play-button.blinking {
    animation: blink 1.2s infinite ease-in-out;
}

.play-button.playing {
    opacity: 0.3;
    animation: none;
    /* 播放时取消闪烁 */
}

.play-button:hover {
    opacity: 1;
}

.factory{

    min-height: 680px!important;



}

html {
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  html::-webkit-scrollbar {
    display: none;
  }




  /* ------------------------------- */


  /* Image Wall Styles */
.factory-display {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.image-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 0;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.image-item {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 25px;
  padding: 5px;
}

.image-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.image-item.medium {
  grid-column: span 1;
  grid-row: span 2;
}

.image-item.small {
  grid-column: span 1;
  grid-row: span 1;
}

.image-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 25px;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-item:hover img {
  transform: scale(1.1);
}

.post-date {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  z-index: 2;
}

.post-date .day {
  font-size: 18px;
  font-weight: bold;
  margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .image-wall {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }
}

@media (max-width: 768px) {
  .image-wall {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  
  .image-item.large, 
  .image-item.medium {
    grid-column: span 1;
    grid-row: span 1;
  }
}