/* Start Hero */
.post-template-pest-red-palm-weevil .hero-image {
  width: calc(78vw - 155px);
  transform: translateY(12.5%);
  right: 17.5vw;
  max-width: 560px;
  right: calc(35vw - 350px);
}
.hero--secondary h1 {
  max-width: 754px;
}
@media (max-width: 1280px) {
  body .hero.hero--secondary h1 {
    max-width: 575px;
    margin-bottom: 20px;
  }
  .hero__wrapper > span {
    font-size: calc(55px + 3vw);
  }
  .hero__content {
    max-width: 545px;
  }
}
@media (max-width: 850px) {
  .hero__wrapper {
    margin-bottom: 0;
  }
  .hero__wrapper > span {
    font-size: calc(34px + 4.25vw);
  }
  .post-template-pest-red-palm-weevil .hero-image {
    width: 100%;
    max-width: 530px;
  }
  .hero.hero--secondary {
    padding-bottom: 0;
  }
  .hero__wrapper .button--primary {
    margin-top: 25px;
  }
}
@media (max-width: 420px) {
  body .hero.hero--secondary h1 {
    font-size: calc(var(--textFontSizeXL) - 5px);
  }
}
/* End Hero */

/* Start bedbugs sectors */

.red-palm-weevil-intro {
  padding: 80px var(--sidePadding);
}

.red-palm-weevil-intro__wrapper {
  max-width: var(--maxScreenWidth);
  margin: 0 auto;
}

.red-palm-weevil-intro__container {
  display: flex;
}

.red-palm-weevil-intro__container > div {
  width: 50%;
}

.red-palm-weevil-intro__container-left {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 500px;
  gap: 20px;
  padding-right: calc(15px + 2vw);
}

.red-palm-weevil-intro__container-left-item {
  overflow: hidden;
}

.red-palm-weevil-intro__container img {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  object-fit: cover;
  display: block;
}

.red-palm-weevil-intro__title {
  color: var(--grayDark);
  font-size: var(--textFontSizeL);
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 25px;
}

.red-palm-weevil-intro__content {
  font-size: var(--textFontSizeS);
  font-family: var(--secondaryFont);
  font-weight: 400;
  text-align: justify;
  color: var(--grayDark);
}

.red-palm-weevil-intro__content ul {
  padding: 30px 35px;
  border-radius: 30px;
  background: var(--green3);
  color: white;
  font-size: var(--textFontSizeS);
  font-family: var(--secondaryFont);
  text-align: justify;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 25px;
}

.red-palm-weevil-intro__content ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}

.red-palm-weevil-intro__content ul li strong {
  font-weight: 600;
}

.red-palm-weevil-intro__content ul li:before {
  content: "";
  display: block;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxMSAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEuMTI1IDUuNUg5Ljg3NU05Ljg3NSA1LjVMNS41IDEuMTI1TTkuODc1IDUuNUw1LjUgOS44NzUiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K");
  width: 12px;
  height: 12px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

@media (max-width: 1050px) {
  .red-palm-weevil-intro__container {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .red-palm-weevil-intro__container > div {
    width: 100%;
  }

  .red-palm-weevil-intro__container-left {
    height: calc(350px + 20vw);
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .red-palm-weevil-intro__container {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .red-palm-weevil-intro__container > div {
    width: 100%;
  }

  .red-palm-weevil-intro__container-left {
    height: calc(350px + 20vw);
    padding-right: 0;
    gap: var(--sidePadding);
  }

  .red-palm-weevil-intro__container-left-item:last-of-type img {
    width: 100%;
  }
}

@media (max-width: 499px) {
  .red-palm-weevil-intro__container-left-item {
    min-height: calc(100px + 20vw);
  }

  .red-palm-weevil-intro__container-left-item img {
    border-radius: 20px;
  }

  .red-palm-weevil-intro__list {
    padding: 20px var(--sidePadding);
    border-radius: 15px;
  }
}

@media (max-width: 360px) {
  .red-palm-weevil-intro__container-left {
    display: flex;
    flex-direction: column;
    height: auto;
  }
}

/* End bedbugs sectors */

/* Start red-palm-weevil Treatments */
.red-palm-weevil-treatments__flex {
  width: 100%;
  display: flex;
}

.red-palm-weevil-treatments__container {
  width: calc(50% + 150px);
  padding: 60px 50px 60px var(--sidePadding);
  background: var(--green);
  color: white;
}

.red-palm-weevil-treatments__container ul {
  width: 100%;
  max-width: calc(calc(var(--maxScreenWidth) / 2) + 100px);
  margin-left: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 3.5vw;
  row-gap: 30px;
}

.red-palm-weevil-treatments__item {
  padding: 30px;
  background: var(--green3);
  border-radius: 30px;
}

.red-palm-weevil-treatments__container ul li {
  min-height: 300px;
}

.red-palm-weevil-treatments__container ul li h2 {
  font-size: var(--textFontSizeL);
  text-transform: uppercase;
  margin-bottom: 25px;
  text-align: center;
}

.red-palm-weevil-treatments__container ul li h3 {
  font-size: var(--textFontSizeM);
  font-family: var(--secondaryFont);
  font-weight: 600;
  margin-bottom: 20px;
}

.red-palm-weevil-treatments__content {
  font-family: var(--secondaryFont);
  font-size: var(--textFontSizeS);
  font-weight: 400;
  text-align: justify;
  line-height: 1.2;
}

.red-palm-weevil-treatments__cta {
  width: 100%;
  max-width: calc(calc(var(--maxScreenWidth) / 2) + 100px);
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  gap: 25px;
}

.red-palm-weevil-treatments__content-bottom {
  text-align: center;
  line-height: 1.3;
}

.red-palm-weevil-treatments__image {
  width: calc(50% - 150px);
  position: relative;
}

.red-palm-weevil-treatments__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
}

@media (max-width: 1040px) {
  .red-palm-weevil-treatments__container {
    width: 100%;
    padding: 50px var(--sidePadding);
  }

  .red-palm-weevil-treatments__container ul {
    max-width: 100%;
  }

  .red-palm-weevil-treatments__image {
    display: none;
  }

  .red-palm-weevil-treatments__cta {
    max-width: 100%;
  }
}

@media (max-width: 590px) {
  .red-palm-weevil-treatments__container ul {
    grid-template-columns: 1fr;
  }

  .red-palm-weevil-treatments__container ul li {
    min-height: initial;
  }
}

/* End red-palm-weevil Treatments */

/* Start Prevention */

.red-palm-weevil-prevention {
  margin: 0 auto;
  padding: 110px var(--sidePadding) 85px;
  overflow: hidden;
}

.red-palm-weevil-prevention h2 {
  text-align: center;
  text-transform: uppercase;
  max-width: 594px;
  font-size: var(--textFontSizeL);
  line-height: 1;
  font-weight: 400;
  margin-left: 32px;
  margin-bottom: 18px;
  color: var(--grayDark);
}

.red-palm-weevil-prevention__wrapper {
  max-width: var(--maxScreenWidth);
  margin: 0 auto;
}

.red-palm-weevil-prevention__containter {
  position: relative;
  max-width: 1270px;
  padding: 28px 80px 40px;
  transform: translateX(-80px);
}

.red-palm-weevil-prevention__containter::before {
  content: "";
  background: var(--green3);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  clip-path: polygon(0 0, calc(100% - 150px) 0, 100% 100%, 0% 100%);
  z-index: -1;
}

.red-palm-weevil-prevention__img-1 {
  position: absolute;
  object-fit: cover;
  width: 264px;
  height: 264px;
  bottom: 0;
  right: 0;
  border-radius: 50%;
  transform: translateX(48%);
}

.red-palm-weevil-prevention__img-2 {
  position: absolute;
  height: 200px;
  bottom: 5%;
  right: 11%;
  z-index: 1;
}

.red-palm-weevil-prevention__img-3 {
  position: absolute;
  right: 0;
  top: 0;
  height: 190px;
  transform: translate(105%, -48%);
  z-index: 1;
}

.red-palm-weevil-prevention__containter span {
  position: absolute;
  object-fit: cover;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background: var(--green3);
  width: 303px;
  height: 303px;
  top: 25px;
  right: -32px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.red-palm-weevil-prevention__containter span img {
  display: block;
  border-radius: 50%;
  width: 269px;
  height: 269px;
  margin-bottom: 2px;
  margin-right: 12px;
}

.red-palm-weevil-prevention__content {
  color: var(--grayDark);
  font-family: var(--secondaryFont);
  font-size: var(--textFontSizeM);
  line-height: 1;
  max-width: 666px;
  line-height: 1.3;
}

.red-palm-weevil-prevention__content strong {
  font-weight: 600;
}

.red-palm-weevil-prevention__containter p:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 1540px) {
  .red-palm-weevil-prevention__containter {
    max-width: 1100px;
  }

  .red-palm-weevil-prevention__content {
    max-width: 600px;
  }
}

@media (max-width: 1240px) {
  .red-palm-weevil-prevention__img-2 {
    object-fit: contain;
    right: 10%;
  }

  .red-palm-weevil-prevention__containter {
    width: 100%;
  }

  .red-palm-weevil-prevention__img-1 {
    width: calc(10vw + 110px);
    height: calc(10vw + 110px);
  }

  .red-palm-weevil-prevention__containter span {
    width: calc(10vw + 130px);
    height: calc(10vw + 130px);
    top: 75px;
    right: 0;
  }

  .red-palm-weevil-prevention__containter span img {
    width: 96%;
    height: 96%;
    object-fit: contain;
  }

  .red-palm-weevil-prevention__img-3 {
    height: calc(7.5vw + 60px);
    transform: translate(88%, -10%);
  }
}

@media (max-width: 1024px) {
  .red-palm-weevil-prevention__content {
    max-width: 520px;
  }

  .red-palm-weevil-prevention__containter span {
    width: 230px;
    height: 230px;
    top: 110px;
    right: 10px;
  }

  .red-palm-weevil-prevention__img-1 {
    width: 215px;
    height: 215px;
  }

  .red-palm-weevil-prevention__img-2 {
    right: 10%;
    height: 150px;
  }

  .red-palm-weevil-prevention__img-3 {
    right: 7px;
    top: 36px;
  }
}

@media (max-width: 900px) {
  .red-palm-weevil-prevention__content {
    max-width: calc(110px + 40vw);
  }
}
@media (max-width: 800px) {
  .red-palm-weevil-prevention__containter::before {
    clip-path: polygon(0 0, calc(100% - 50px) 0, 100% 100%, 0% 100%);
  }

  .red-palm-weevil-prevention__containter span {
    right: -45px;
    width: 180px;
    height: 180px;
    top: 90px;
  }

  .red-palm-weevil-prevention__img-1 {
    width: 180px;
    height: 180px;
  }

  .red-palm-weevil-prevention__img-2 {
    top: 30%;
    right: 2.5%;
    width: calc(10vw + 95px);
    height: calc(10vw + 95px);
  }

  .red-palm-weevil-prevention__img-3 {
    right: 0%;
    top: 35%;
    height: 125px;
  }
}

@media (max-width: 768px) {
  .red-palm-weevil-prevention h2 {
    margin-left: 0;
  }
}
@media (max-width: 750px) {
  .red-palm-weevil-prevention__containter {
    padding: 30px var(--sidePadding) 50px;
    transform: initial;
  }

  .red-palm-weevil-prevention__containter::before {
    clip-path: initial;
    border-radius: 20px;
  }

  .red-palm-weevil-prevention__containter span {
    display: none;
  }

  .red-palm-weevil-prevention__img-1 {
    display: none;
  }

  .red-palm-weevil-prevention__img-2 {
    width: 50%;
    max-width: 400px;
    min-width: 250px;
    margin: 0 auto;
    display: block;
    height: auto;
    position: initial;
    margin-top: 35px;
  }

  .red-palm-weevil-prevention__content {
    width: 100%;
    max-width: initial;
    text-align: justify;
  }
}

/* End Prevention */

.post-template-pest-red-palm-weevil .feedback__slider h2 {
  max-width: 699px;
}
