/* How It Works Component Styles */

.block-feature-three {
  z-index: 1;
}
.block-feature-three:before {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  top: 34%;
  bottom: 0;
  background: #EBF3EE;
  z-index: -1;
}
.block-feature-three.no-bg:before {
  display: none;
}
.block-feature-three .section-btn {
  position: absolute;
  right: 0;
  top: 68px;
}
.block-feature-three .block-title div {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.25em;
  color: #19352D;
}
.block-feature-three .round-btn {
  font-size: 18px;
  font-weight: 900;
  color: #29594B;
  width: 38px;
  height: 38px;
  border: 1px solid #29594B;
}
.block-feature-three .round-btn:hover {
  background: #ccf080;
  border-color: #ccf080;
  color: #19352D;
}
.block-feature-three .block-one {
  overflow: hidden;
}
.block-feature-three .block-one img {
  width: 100%;
}
.block-feature-three .block-one .tag {
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 17px;
  white-space: nowrap;
  width: min-content;
  height: min-content;
  color: #000;
  line-height: 25px;
  border: 1px solid #000;
  padding: 0 16px;
  margin-left: 16px;
}
.block-feature-three .block-one .block-title {
  background: #fff;
  border-radius: 25px;
  padding: 12px;
}
.block-feature-three .block-two {
  overflow: hidden;
  flex-direction: column-reverse;
  background-color: #fff;

  @media (min-width: 768px) {
    flex-direction: row;
    background-color: unset;
  }
}
.block-feature-three .block-two .img-wrapper {
  background-color: #fff;
  display: flex;
  justify-content: center;

  @media (min-width: 768px) {
    width: 42%;
  }
}
.block-feature-three .block-two .img-wrapper img {
  width: 218px;
}
.block-feature-three .block-two .text-wrapper {
  padding: 30px 30px 35px 60px;

  @media (min-width: 768px) {
    width: 58%;
  }
}
.block-feature-three .block-two .tag {
  font-size: 13px;
  letter-spacing: 1px;
  color: white;
  line-height: 27px;
  border-radius: 17px;
  background: #292929;
  padding: 0 17px;
}
.block-feature-three .block-three {
  background: #ccf080;
}
.block-feature-three .block-three .image-wrapper {
  position: relative;
  display: block;
  width: 100%;
}
.block-feature-three .block-three .image-wrapper img {
  border-radius: 30px;
  width: 100%;
  height: auto;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
.block-feature-three .block-three .tag {
  font-size: 13px;
  letter-spacing: 1px;
  color: white;
  line-height: 27px;
  border-radius: 17px;
  background: #29594B;
  padding: 0 17px;
}
.block-feature-three .block-three .round-btn {
  background: #fff;
  border-color: #fff;
}
.block-feature-three .block-three .round-btn:hover {
  background: #29594B;
  border-color: #29594B;
  color: #fff;
}
.block-feature-three .block-four {
  position: relative;
  min-height: auto;
  padding: 0;
}
.block-feature-three .block-four .image-wrapper {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  display: block;
  width: 100%;
}
.block-feature-three .block-four .image-wrapper img {
  border-radius: 30px;
  width: 100%;
  height: auto;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
.block-feature-three .block-four .block-title {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  background: #fff;
  border-radius: 18px;
  padding: 12px;
}
.block-feature-three .block-four .block-title div {
  font-size: 28px;
}
.block-feature-three .block-four .tag {
  font-size: 13px;
  letter-spacing: 1px;
  color: #29594B;
  line-height: 27px;
  border-radius: 17px;
  background: #fff;
  padding: 0 17px;
}
.block-feature-three .block-four .round-btn {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.block-feature-three .block-four .round-btn:hover {
  background: #ccf080;
  border-color: #ccf080;
  color: #000;
}
.block-feature-three .block-five {
  background: #fff;
  height: 358px;
}
.block-feature-three .block-five .tag {
  font-size: 14px;
  letter-spacing: 1px;
  color: #000;
  line-height: 25px;
  border: 1px solid #000;
  padding: 0 10px;
}
.block-feature-three .block-five .block-title {
  background: #fff;
  border-radius: 15px;
  padding: 12px;
}

/* Blog section specific styles */
.blog-section-four.block-feature-three:before {
  display: none;
}
.blog-section-four.block-feature-three .block-one {
  background: #fff;
  height: 666px;
}

/* Responsive Styles */

/* Large screens (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .block-feature-three .block-title div,
  .block-feature-three .block-four .block-title div {font-size: 26px;}
  .blog-section-four.block-feature-three .block-one {height: 655px;}
  .block-feature-three .block-five {height: 334px;}
}

/* Medium-large screens (992px - 1199px) */
@media (max-width: 1199px) {
  .block-feature-three .block-title div {font-size: 24px;}
  .block-feature-three .block-four .block-title div {font-size: 20px;}
  .block-feature-three .block-two .text-wrapper {padding: 30px 15px 30px 30px;}
}

/* Medium screens (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .block-feature-three .section-btn {top:45px;}
  .block-feature-three .block-one {height: 370px;}
  .blog-section-four.block-feature-three .block-one {height: 540px;}
  .block-feature-three .block-five {height: 289px;}
}

/* Small-medium screens (max-width: 991px) */
@media (max-width: 991px) {
  .block-feature-three .block-one .tag {font-size: 12px;}
  .block-feature-three .block-one .block-title {margin-top: 20px;}
  .block-feature-three:before {top:15%;}
  .block-feature-three .block-five .block-title {margin-top: 20px;}
}

/* Medium screens (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .block-feature-three .section-btn {top:38px;}
}

/* Small screens (max-width: 767px) */
@media (max-width: 767px) {
  .block-feature-three .section-btn {position: relative; width: 100%; text-align: center; top:0;}
}
