.roof_banner .slider-section {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 770px;
  position: relative;
}
.roof_banner .slider-content h4 {
  width: 60%;
  font-size: 24px;
  line-height: 1.1;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 28px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.roof_banner .slider-content h2 {
  width: 47%;
  font-size: 71px;
  line-height: 1.1;
  color: #000000;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.roof_banner .slider-content p {
  font-size: 30px;
  line-height: 42px;
  color: #000000;
  font-weight: 400;
  width: 33%;
  margin: 30px 0 50px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}
/* slider btn 【改成流体goo按钮样式】 */
.roofing-btn {
  position: relative;
  padding: 1.5rem 0;
  -webkit-filter: url("#goo");
  filter: url("#goo");
  display: inline-block;
}
.roofing-btn.slider1 {
  margin: 0;
}
.roofing-btn.slider2 {
  margin-left: 14px;
}
.roofing-btn a {
  display: inline-block;
  position: relative;
  min-width: 8.23em;
  min-width: 200px;
  font-family: var(--title-font-family);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: var(--color-primary);
  border-radius: 1em;
  background-clip: padding-box;
  padding: 1.03em 1.32em;
  line-height: 1;
  z-index:1;
}
.roofing-btn.slider2 a {
  background: #fff;
  color: #0f0f0f;
}
/* 伪元素 流体圆点 */
.roofing-btn a:before,
.roofing-btn a:after {
  position: absolute;
  content: "";
  display: inline-block;
  width: 4.4em;
  height: 2.95em;
  border-radius: 50%;
  background-clip: padding-box;
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: -webkit-transform 1s ease;
  transition: transform 1s ease;
  transition: transform 1s ease, -webkit-transform 1s ease;
  z-index: -1;
}
.roofing-btn.slider1 a:before,
.roofing-btn.slider1 a:after{
  background: var(--color-primary);
}
.roofing-btn.slider2 a:before,
.roofing-btn.slider2 a:after{
  background: #fff;
}
.roofing-btn a:before {
  top: -25%;
  left: 20%;
}
.roofing-btn a:after {
  bottom: -25%;
  right: 20%;
}
.roofing-btn a:hover:before,
.roofing-btn a:hover:after {
  -webkit-transform: none;
  transform: none;
}
/* owl nav css */
.roof_banner .slider-section .owl-carousel .owl-dots.disabled,
.roof_banner .owl-carousel .owl-nav.disabled {
  display: block;
}
.roof_banner .owl-nav {
  position: absolute;
  bottom: 41%;
  right: 60px;
}
.roof_banner .owl-prev i {
  width: 62px;
  height: 62px;
  line-height: 62px;
  background: var(--color-primary);
  text-align: center;
  display: inline-block;
  border-radius: 50%;
  color: #ffffff;
  font-size: 24px;
  transition: .5s;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.roof_banner .owl-prev i:hover {
  color: var(--color-primary);
}
.roof_banner .owl-prev i::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  right: 0;
  bottom: 0;
  background: #ffffff;
  transform: scale(0);
  border-radius: 50%;
  z-index: -1;
  transition: .5s;
}
.roof_banner .owl-prev i:hover::after {
  transform: scale(1);
}
.roof_banner .owl-next i {
  width: 62px;
  height: 62px;
  line-height: 62px;
  background: #ffffff;
  text-align: center;
  display: inline-block;
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 24px;
  transition: .5s;
  position: relative;
  z-index: 1;
}
.roof_banner .owl-next i:hover {
  color: #ffffff;
}
.roof_banner .owl-next i::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  transform: scale(0);
  border-radius: 50%;
  z-index: -1;
  transition: .5s;
}
.roof_banner .owl-next i:hover::after {
  transform: scale(1);
}
@media (min-width: 992px) and (max-width: 1199px) {
  .roof_banner .slider-content h2 {
    font-size: 65px;
    width: 70%;
  }
  .roof_banner .slider-content h4,
  .roof_banner .slider-content p {
    width: 70%;
  }
  .roofing-btn {
    margin-left: 10px;
  }
  .roofing-btn a {
    font-size: 16px;
    padding: 12px 12px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .slider-list.owl-carousel.owl-loaded.owl-drag {
    display: inline-block;
  }
  .roof_banner .slider-section {
    height: 700px;
    display: block !important;
  }
  .roof_banner .slider-content {
    padding: 120px 0 0;
  }
  .roof_banner .slider-content h2 {
    width: 80%;
    font-size: 56px;
  }
  .roof_banner .slider-content h4 {
    width: 80%;
  }
  .roof_banner .slider-content p {
    width: 80%;
    margin: 29px 0 43px;
  }
}
@media only screen and (min-width: 600px) and (max-width: 767px) {
  .slider-list.owl-carousel.owl-loaded.owl-drag {
    display: inline-block;
  }
  .roof_banner .slider-section {
    height: 700px;
    display: block !important;
  }
  .roof_banner .slider-content {
    padding: 80px 0 0px;
  }
  .roof_banner .slider-content h2 {
    width: 85%;
    font-size: 50px;
  }
  .roof_banner .slider-content h4 {
    width: 85%;
  }
  .roof_banner .slider-content p {
    width: 85%;
    margin: 29px 0 43px;
  }
  /* owl nav css */
  .roof_banner .owl-nav {
    right: 8px;
  }
  .roof_banner .owl-prev i {
    width: 55px;
    height: 55px;
    line-height: 55px;
  }
  .roof_banner .owl-next i {
    width: 55px;
    height: 55px;
    line-height: 55px;
  }
}
@media only screen and (min-width: 480px) and (max-width: 599px) {
  .slider-list.owl-carousel.owl-loaded.owl-drag {
    display: inline-block;
  }
  .roof_banner .slider-section {
    height: 700px;
    display: block !important;
  }
  .roof_banner .slider-content {
    padding: 166px 0 0;
  }
  .roof_banner .slider-content h2 {
    width: 89%;
    font-size: 46px;
  }
  .roof_banner .slider-content h4 {
    width: 89%;
  }
  .roof_banner .slider-content p {
    width: 89%;
    margin: 29px 0 43px;
  }
  /* owl nav css */
  .roof_banner .owl-nav {
    right: 8px;
  }
  .roof_banner .owl-prev i {
    width: 50px;
    height: 50px;
    line-height: 50px;
  }
  .roof_banner .owl-next i {
    width: 50px;
    height: 50px;
    line-height: 50px;
  }
}
@media only screen and (max-width: 479px) {
  .slider-list.owl-carousel.owl-loaded.owl-drag {
    display: inline-block;
  }
  .roof_banner .slider-section {
    height: 600px;
    display: block !important;
  }
  .roof_banner .slider-content {
    padding: 110px 0 0;
  }
  .roof_banner .slider-content h2 {
    width: 100%;
    font-size: 28px;
  }
  .roof_banner .slider-content h4 {
    width: 100%;
    font-size: 21px;
    margin-bottom: 24px;
  }
  .roof_banner .slider-content p {
    width: 100%;
    margin: 22px 0 28px;
    font-size: 14px;
    line-height: 20px;
  }
  .roofing-btn a {
    padding: 10px 10px;
    font-size: 14px;
    min-width:auto;
  }
  /* owl nav css */
  .roof_banner .owl-nav {
    right: 50%;
    display: inline-flex;
    bottom: 25px;
    left: 38%;
    margin: auto;
  }
  .roof_banner .owl-prev i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
  }
  .roof_banner .owl-next i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    margin-left: 13px;
  }
}
/* ========== 新增：桌面端文案整体左移 ========== */
@media (min-width: 992px) {
  .roof_banner .slider-content {
   margin-left: -14%;
    margin-top: -4%;
  }
}