.section-wrap {
  margin-top: 20px;
  padding: 0;
  height: 100%;
}

.section-wrap .title {
  width: 95%;
  margin: 0 auto;
  text-align: center;
}

.section-wrap .title h1,
.section-wrap .title h1 a,
.section-wrap .title h2,
.section-wrap .title h2 a,
.section-wrap .title h3,
.section-wrap .title h3 a,
.section-wrap .title h4,
.section-wrap .title h4 a,
.section-wrap .title h5,
.section-wrap .title h5 a {
  font-size: 36px;
  letter-spacing: 2px;
  color: #000009;
}

.section-wrap .title b {
  display: block;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 17px;
  font-family: var(--font-family);
  letter-spacing: 0;
}

.section-wrap .title p {
  margin-top: 20px;
}

.section-wrap .videos {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  z-index: 999;
  overflow: hidden;
}

.section-wrap .videos #video {
  position: absolute;
  transform: translate(-50%,-50%);
  left: 50%;
  top: 50%;
  width: 90%;
  max-height: 80vh;
  aspect-ratio: 16/9;
  z-index: 999;
}

.section-wrap .vclose {
  position: absolute;
  right: 3%;
  top: 5%;
  width: auto;
  cursor: pointer;
}

.roasted-video {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center; 
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover; 
  min-height: 500px; 
}

.roasted-video .title h3,
.roasted-video .title p {
  color: #fff !important;
}

.roasted-bofang {
  position: relative;
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    width: 60px; 
    height: 60px;
    margin-top: 0;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease; 
}

.roasted-bofang:hover {
    transform: scale(1.1);
}

.roasted-bofang span::after {
    display: none;
    content: "";
    position: absolute;
    top: -10px; 
    right: -10px;
    bottom: -10px;
    left: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    animation: scale2 2s ease-in-out infinite;
}

.roasted-bofang img {
  margin-left: 3px;
}


@keyframes scale2 {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.4);
    transform: scale(1.4);
  }
  to {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.roasted-video:hover .roasted-bofang span::after {
  display: block;
}

@media screen and (max-width: 1280px) {
  .section-wrap {
    padding: 60px 0;
  }
}

@media screen and (max-width: 960px) {
  .section-wrap {
    padding: 40px 0;
  }
  .roasted-video {
        background-image: url("../images/m-bg08.jpg");
        background-size: cover;
        background-position: center;
        min-height: 300px; 
    }
}
@media screen and (max-width: 480px) {
    .roasted-video {
        min-height: 250px;
    }
    
    .roasted-bofang {
        width: 50px;
        height: 50px;
    }
}