/* STYLE2 CSS */
.demo {
  background: #585858;
  padding: 30px 40px;
  box-sizing: border-box;
}

.lrwp-testimonial-slider-style2 {
  position: relative;
  width: 100%;
}

.lrwp-testimonial-slider-style2 .testimonial {
  display: flex;
  align-items: center;
  position: relative;
  padding: 10px 0;
  box-sizing: border-box;
}

/* --- Left Image Column & Golden Accents --- */
.testimonial .pic {
  width: 25%;
  min-width: 180px;
  margin: 20px 5% 20px 2%;
  float: left;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.testimonial .pic:before,
.testimonial .pic:after {
  content: "";
  width: 85%;
  height: 80%;
  background: #e1c37d;
  position: absolute;
  z-index: -1;
  border-radius: 2px;
}

.testimonial .pic:before {
  top: -12px;
  right: -15px;
}

.testimonial .pic:after {
  bottom: -12px;
  left: -15px;
}

.testimonial .pic img {
  width: 100%;
  height: auto;
  min-height: 280px;
  max-height: 360px;
  object-fit: cover;
  border: 3px solid #e1c37d;
  display: block;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  border-radius: 2px;
}

/* --- Right Content Column --- */
.testimonial .testimonial-content {
  width: 70%;
  float: right;
  position: relative;
  padding-bottom: 60px; /* Space reserved for navigation arrows */
  box-sizing: border-box;
}

.lrwp-testimonial-slider-style2 .testimonial-content {
  align-self: center;
}

/* Client Name */
.testimonial .title {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-top: 0;
  padding-left: 0;
}

/* Company / Position */
.testimonial .post {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #e1c37d !important;
  text-transform: capitalize;
  margin-bottom: 18px;
  padding-left: 0;
}

/* Quote Icon & Description Box */
.testimonial .description {
  font-size: 15px;
  line-height: 1.7;
  color: #f0f0f0 !important;
  padding: 0;
  margin: 0;
  position: relative;
}

/* Top Quote Icon (Opening Quote “) */
.testimonial .description:before {
  content: "\f10d";
  font-family: "FontAwesome";
  font-size: 24px;
  color: #e1c37d;
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}

/* End Quote Icon (Closing Quote ”) */
.testimonial .description:after {
  content: "\f10e";
  font-family: "FontAwesome";
  font-size: 22px;
  color: #e1c37d;
  display: inline-block;
  margin-left: 8px;
  line-height: 1;
  vertical-align: middle;
}

/* Typography override for elements generated by WordPress editor inside description */
.testimonial .description p,
.testimonial .description span,
.testimonial .description div,
.testimonial .description li {
  display: inline;
  color: #f0f0f0 !important;
  font-size: 15px;
  line-height: 1.7;
}

.testimonial .description h1,
.testimonial .description h2,
.testimonial .description h3,
.testimonial .description h4,
.testimonial .description h5,
.testimonial .description h6 {
  display: block;
  color: #ffffff !important;
  font-size: 22px;
  font-weight: 600;
  margin-top: 5px;
  margin-bottom: 12px;
  line-height: 1.3;
}

/* Remove bottom margin on last child in description */
.testimonial .description > *:last-child,
.testimonial .description p:last-child {
  margin-bottom: 0;
}

/* --- Owl Carousel Navigation (< / >) --- */
.owl-theme .owl-dots .owl-dot span {
  background: #fff;
  border: 2px solid #0c4767;
  opacity: 1;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  border: 2px solid #fa7921;
}

.lrwp-testimonial-slider-style2.owl-theme .owl-dots {
  display: none !important;
}

.lrwp-testimonial-slider-style2.owl-theme .owl-nav {
  position: absolute;
  bottom: 0;
  left: 32%;
  margin: 0;
  display: flex;
  align-items: center;
  z-index: 10;
}

.lrwp-testimonial-slider-style2.owl-theme .owl-nav button.owl-prev,
.lrwp-testimonial-slider-style2.owl-theme .owl-nav button.owl-next {
  margin: 0;
  padding: 0 4px !important;
  color: #ffffff;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.lrwp-testimonial-slider-style2.owl-theme .owl-nav button.owl-next:before {
  content: "/";
  display: inline-block;
  margin: 0 14px 0 6px;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  vertical-align: middle;
}

.lrwp-testimonial-slider-style2.owl-theme .owl-nav button.owl-prev:hover,
.lrwp-testimonial-slider-style2.owl-theme .owl-nav button.owl-next:hover {
  color: #e1c37d;
  background: transparent;
}

/* --- Responsive Layout --- */
@media only screen and (max-width: 990px) {
  .demo {
    padding: 24px 15px;
  }

  .lrwp-testimonial-slider-style2 {
    padding: 0;
  }

  .lrwp-testimonial-slider-style2 .testimonial {
    display: block;
    text-align: center;
  }

  .testimonial .pic {
    width: 200px;
    margin: 15px auto 25px auto;
    float: none;
  }

  .testimonial .pic:before,
  .testimonial .pic:after {
    width: 85%;
    height: 80%;
  }

  .testimonial .pic img {
    min-height: 220px;
    max-height: 260px;
  }

  .testimonial .testimonial-content {
    width: 100%;
    float: none;
    padding-bottom: 50px;
  }

  .testimonial .title {
    padding: 0;
    font-size: 18px;
  }

  .testimonial .post {
    padding: 0;
    margin-bottom: 12px;
  }

  .testimonial .description:before {
    margin: 0 auto 10px auto;
  }

  .lrwp-testimonial-slider-style2.owl-theme .owl-nav {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .lrwp-testimonial-slider-style2.owl-theme .owl-nav button.owl-prev,
  .lrwp-testimonial-slider-style2.owl-theme .owl-nav button.owl-next {
    font-size: 30px;
  }

  .lrwp-testimonial-slider-style2.owl-theme .owl-nav button.owl-next:before {
    font-size: 22px;
    margin: 0 10px 0 4px;
  }
}